• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * Copyright (c) 2022-2024 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 enum WidthPercent {
17  WH_100_100 = '100%',
18  WH_3_100 = '3%',
19  WH_4_100 = '4%',
20  WH_20_100 = '20%',
21  WH_25_100 = '25%',
22  WH_30_100 = '30%',
23  WH_33_100 = '33%',
24  WH_35_100 = '35%',
25  WH_40_100 = '40%',
26  WH_43_100 = '43%',
27  WH_45_100 = '45%',
28  WH_50_100 = '50%',
29  WH_53_100 = '53%',
30  WH_55_100 = '55%',
31  WH_60_100 = '60%',
32  WH_65_100 = '65%',
33  WH_70_100 = '70%',
34  WH_75_100 = '75%',
35  WH_80_100 = '80%',
36  WH_85_100 = '85%',
37  WH_88_100 = '88%',
38  WH_90_100 = '90%',
39  WH_92_100 = '92%',
40  WH_93_100 = '93%',
41  WH_94_100 = '94%'
42};
43
44export enum LocationChoice {
45  SWITCH_BUTTON_X_OFFSET = '-4vp',
46  DIALOG_DY_OFFSET = '-16vp'
47};
48
49export enum ConfigValue {
50  PWD_MAX_LENGTH = 64,
51  ALIAS_MAX_LENGTH = 16,
52  APP_AUTH_MAX_LENGTH = 4,
53  REQUEST_AUTH_MAX_LENGTH = 5
54};