1/** 2 * Copyright (c) 2024-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 class ComponentConfig { 17 public WH_100_100 = '100%'; 18 19 public WH_30_100 = '30%'; 20 21 public WH_33_100 = '33%'; 22 23 public WH_35_100 = '35%'; 24 25 public WH_40_100 = '40%'; 26 27 public WH_45_100 = '45%'; 28 29 public WH_50_100 = '50%'; 30 31 public WH_55_100 = '55%'; 32 33 public WH_83_100 = '83%'; 34 35 public WH_90_100 = '90%'; 36 37 public value_20 = 20; 38 39 public font_20 = 20; 40 41 public MAX_LINES_1 = 1; 42 43 public MAX_LINES_2 = 2; 44 45 public MAX_LINES_3 = 3; 46 47 public DURATION_TIME = 200; 48} 49 50let componentConfig = new ComponentConfig(); 51 52export default componentConfig as ComponentConfig;