Files
security_privacy_center/CertificateManager/common/util/ConfigData.ts
T
zhanzeyi 1cc581d380 init code
Signed-off-by: zhanzeyi <zhanzeyi@huawei.com>
2022-09-20 17:33:05 +08:00

65 lines
1.6 KiB
TypeScript

/**
* Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export class ConfigData {
WH_100_100 = '100%';
WH_3_100 = '3%';
WH_4_100 = '4%';
WH_20_100 = '20%';
WH_25_100 = '25%';
WH_30_100 = '30%';
WH_33_100 = '33%';
WH_35_100 = '35%';
WH_40_100 = '40%';
WH_43_100 = '43%';
WH_45_100 = '45%';
WH_50_100 = '50%';
WH_53_100 = '53%';
WH_55_100 = '55%';
WH_60_100 = '60%';
WH_65_100 = '65%';
WH_70_100 = '70%';
WH_75_100 = '75%';
WH_80_100 = '80%';
WH_85_100 = '85%';
WH_88_100 = '88%';
WH_90_100 = '90%';
WH_92_100 = '92%';
WH_93_100 = '93%';
WH_94_100 = '94%';
value_20 = 20;
font_20 = 20;
TAG = 'CertManager Fa '
SWITCH_BUTTON_X_OFFSET = '-4vp'
DIALOG_DY_OFFSET = '-16vp'
PWD_MAX_LENGTH = 64;
ALIAS_MAX_LENGTH = 64;
MAX_LINES_1 = 1;
MAX_LINES_2 = 2;
MAX_LINES_3 = 3;
DURATION_TIME = 200;
FUNCTION_TYPE_HDC = 4;
APP_AUTH_MAX_LENGTH = 4;
REQUEST_AUTH_MAX_LENGTH = 5;
VERTICAL_DIVIDER_WIDTH = 1;
}
let configData = new ConfigData();
export default configData as ConfigData;