/** * Copyright (c) 2022-2024 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 enum WidthPercent { WH_AUTO = 'auto', 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%' }; export enum LocationChoice { SWITCH_BUTTON_X_OFFSET = '-4vp', DIALOG_DY_OFFSET = '-16vp' }; export enum ConfigValue { PWD_MAX_LENGTH = 64, ALIAS_MAX_LENGTH = 16, APP_AUTH_MAX_LENGTH = 4, REQUEST_AUTH_MAX_LENGTH = 5 };