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_AUTO = 'auto', 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 45export enum LocationChoice { 46 SWITCH_BUTTON_X_OFFSET = '-4vp', 47 DIALOG_DY_OFFSET = '-16vp' 48}; 49 50export enum ConfigValue { 51 PWD_MAX_LENGTH = 64, 52 ALIAS_MAX_LENGTH = 16, 53 APP_AUTH_MAX_LENGTH = 4, 54 REQUEST_AUTH_MAX_LENGTH = 5 55};