• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * Copyright (c) 2022 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16export class ConfigData {
17
18  WH_100_100 = '100%';
19  WH_3_100 = '3%';
20  WH_4_100 = '4%';
21  WH_20_100 = '20%';
22  WH_25_100 = '25%';
23  WH_30_100 = '30%';
24  WH_33_100 = '33%';
25  WH_35_100 = '35%';
26  WH_40_100 = '40%';
27  WH_43_100 = '43%';
28  WH_45_100 = '45%';
29  WH_50_100 = '50%';
30  WH_53_100 = '53%';
31  WH_55_100 = '55%';
32  WH_60_100 = '60%';
33  WH_65_100 = '65%';
34  WH_70_100 = '70%';
35  WH_75_100 = '75%';
36  WH_80_100 = '80%';
37  WH_85_100 = '85%';
38  WH_88_100 = '88%';
39  WH_90_100 = '90%';
40  WH_92_100 = '92%';
41  WH_93_100 = '93%';
42  WH_94_100 = '94%';
43
44  value_20 = 20;
45  font_20 = 20;
46
47  TAG = 'CertManager Fa '
48  SWITCH_BUTTON_X_OFFSET = '-4vp'
49  DIALOG_DY_OFFSET = '-16vp'
50
51  PWD_MAX_LENGTH = 64;
52  ALIAS_MAX_LENGTH = 64;
53  MAX_LINES_1 = 1;
54  MAX_LINES_2 = 2;
55  MAX_LINES_3 = 3;
56  DURATION_TIME = 200;
57  FUNCTION_TYPE_HDC = 4;
58  APP_AUTH_MAX_LENGTH = 4;
59  REQUEST_AUTH_MAX_LENGTH = 5;
60  VERTICAL_DIVIDER_WIDTH = 1;
61
62}
63
64let configData = new ConfigData();
65export default configData as ConfigData;