161847f8eSopenharmony_ci#!/usr/bin/env python
261847f8eSopenharmony_ci# -*- coding: utf-8 -*-
361847f8eSopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd.
461847f8eSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
561847f8eSopenharmony_ci# you may not use this file except in compliance with the License.
661847f8eSopenharmony_ci# You may obtain a copy of the License at
761847f8eSopenharmony_ci#
861847f8eSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
961847f8eSopenharmony_ci#
1061847f8eSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
1161847f8eSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
1261847f8eSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1361847f8eSopenharmony_ci# See the License for the specific language governing permissions and
1461847f8eSopenharmony_ci# limitations under the License.
1561847f8eSopenharmony_ci
1661847f8eSopenharmony_ci
1761847f8eSopenharmony_cimutex_label_dist = {
1861847f8eSopenharmony_ci    'isAtomicService': ['deprecatedVersion', 'isSystemApi']
1961847f8eSopenharmony_ci}
2061847f8eSopenharmony_ci
2161847f8eSopenharmony_ci
2261847f8eSopenharmony_cione_to_many_function = ['off', 'on', 'emit', 'once']
2361847f8eSopenharmony_ci
2461847f8eSopenharmony_ci
2561847f8eSopenharmony_cilabel_name_dist = {
2661847f8eSopenharmony_ci    'isAtomicService': '@atomicservice',
2761847f8eSopenharmony_ci    'deprecatedVersion': '@deprecated',
2861847f8eSopenharmony_ci    'isSystemApi': '@systemapi',
2961847f8eSopenharmony_ci    'isForm': '@form',
3061847f8eSopenharmony_ci    'isCrossPlatForm': '@crossplatform'
3161847f8eSopenharmony_ci}
3261847f8eSopenharmony_ci
3361847f8eSopenharmony_ci
3461847f8eSopenharmony_cilabel_comparison_dist = {
3561847f8eSopenharmony_ci    'atomicservice': 'isAtomicService',
3661847f8eSopenharmony_ci    'form': 'isForm',
3761847f8eSopenharmony_ci    'crossplatform': 'isCrossPlatForm'
3861847f8eSopenharmony_ci}
3961847f8eSopenharmony_ci
4061847f8eSopenharmony_ci
4161847f8eSopenharmony_cicontrast_function = {
4261847f8eSopenharmony_ci    'add': 'remove',
4361847f8eSopenharmony_ci    'increase': 'decrease',
4461847f8eSopenharmony_ci    'open': 'close',
4561847f8eSopenharmony_ci    'begin': 'end',
4661847f8eSopenharmony_ci    'insert': 'delete',
4761847f8eSopenharmony_ci    'show': 'hide',
4861847f8eSopenharmony_ci    'create': 'destroy',
4961847f8eSopenharmony_ci    'lock': 'unlock',
5061847f8eSopenharmony_ci    'source': 'target',
5161847f8eSopenharmony_ci    'first': 'last',
5261847f8eSopenharmony_ci    'min': 'max',
5361847f8eSopenharmony_ci    'start': 'stop',
5461847f8eSopenharmony_ci    'get': 'set',
5561847f8eSopenharmony_ci    'next': 'previous',
5661847f8eSopenharmony_ci    'up': 'down',
5761847f8eSopenharmony_ci    'new': 'old',
5861847f8eSopenharmony_ci    'on': 'off',
5961847f8eSopenharmony_ci    'once': 'emit',
6061847f8eSopenharmony_ci
6161847f8eSopenharmony_ci    "remove": "add",
6261847f8eSopenharmony_ci    "decrease": "increase",
6361847f8eSopenharmony_ci    "close": "open",
6461847f8eSopenharmony_ci    "end": "begin",
6561847f8eSopenharmony_ci    "delete": "insert",
6661847f8eSopenharmony_ci    "hide": "show",
6761847f8eSopenharmony_ci    "destroy": "create",
6861847f8eSopenharmony_ci    "unlock": "lock",
6961847f8eSopenharmony_ci    "target": "source",
7061847f8eSopenharmony_ci    "last": "first",
7161847f8eSopenharmony_ci    "max": "min",
7261847f8eSopenharmony_ci    "stop": "start",
7361847f8eSopenharmony_ci    "set": "get",
7461847f8eSopenharmony_ci    "previous": "next",
7561847f8eSopenharmony_ci    "down": "up",
7661847f8eSopenharmony_ci    "old": "new",
7761847f8eSopenharmony_ci    "off": "on",
7861847f8eSopenharmony_ci    "emit": "once"
7961847f8eSopenharmony_ci}
80