1/** 2 * Copyright (c) 2021-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 16/** 17 * drag item info 18 */ 19export class LauncherDragItemInfo { 20 isDragging: boolean = false; 21 22 constructor(isDragging?: boolean) { 23 this.isDragging = isDragging ? isDragging : false; 24 } 25 26 cardId: number | undefined; 27 folderId: string | undefined; 28 folderName: string | undefined; 29 appList: string[] | undefined; 30 keyName: string | undefined; 31 bundleName: string | undefined; 32 abilityName: string | undefined; 33 moduleName: string | undefined; 34 cardName: string | undefined; 35 cardDimension: number | undefined; 36 area: number[] | undefined; 37 description = ''; 38 formConfigAbility: string | undefined; 39 appLabelId: number | undefined; 40 appName: string | undefined; 41 supportDimensions: number[] | undefined; 42 appId: string | undefined; 43 appIconId: number | undefined; 44 isSystemApp: boolean | undefined; 45 isUninstallAble: boolean | undefined; 46 badgeNumber: number | undefined; 47 checked: boolean | undefined; 48 installTime: string | undefined; 49 typeId: number | undefined; 50 page: number | undefined; 51 column: number | undefined; 52 row: number | undefined; 53 bundleType: number | undefined; 54 totalDimensionCount: number | undefined; 55}