16e80583aSopenharmony_ci/**
26e80583aSopenharmony_ci * Copyright (c) 2021-2022 Huawei Device Co., Ltd.
36e80583aSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
46e80583aSopenharmony_ci * you may not use this file except in compliance with the License.
56e80583aSopenharmony_ci * You may obtain a copy of the License at
66e80583aSopenharmony_ci *
76e80583aSopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
86e80583aSopenharmony_ci *
96e80583aSopenharmony_ci * Unless required by applicable law or agreed to in writing, software
106e80583aSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
116e80583aSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
126e80583aSopenharmony_ci * See the License for the specific language governing permissions and
136e80583aSopenharmony_ci * limitations under the License.
146e80583aSopenharmony_ci */
156e80583aSopenharmony_ciimport { AppItemInfo } from './AppItemInfo';
166e80583aSopenharmony_ci
176e80583aSopenharmony_ci/**
186e80583aSopenharmony_ci * drag item info
196e80583aSopenharmony_ci */
206e80583aSopenharmony_ciexport class LauncherDragItemInfo {
216e80583aSopenharmony_ci  isDragging: boolean = false;
226e80583aSopenharmony_ci
236e80583aSopenharmony_ci  constructor(isDragging?: boolean) {
246e80583aSopenharmony_ci    this.isDragging = isDragging ? isDragging : false;
256e80583aSopenharmony_ci  }
266e80583aSopenharmony_ci
276e80583aSopenharmony_ci  cardId?: number | undefined;
286e80583aSopenharmony_ci  folderId?: string | undefined;
296e80583aSopenharmony_ci  folderName?: string | undefined;
306e80583aSopenharmony_ci  appList?: string[] | undefined;
316e80583aSopenharmony_ci  keyName: string | undefined;
326e80583aSopenharmony_ci  bundleName: string | undefined;
336e80583aSopenharmony_ci  abilityName: string | undefined;
346e80583aSopenharmony_ci  moduleName: string | undefined;
356e80583aSopenharmony_ci  cardName?: string | undefined;
366e80583aSopenharmony_ci  cardDimension?: number | undefined;
376e80583aSopenharmony_ci  area: number[] | undefined;
386e80583aSopenharmony_ci  description?: string = '';
396e80583aSopenharmony_ci  formConfigAbility?: string | undefined;
406e80583aSopenharmony_ci  appLabelId: number | undefined;
416e80583aSopenharmony_ci  appName: string | undefined;
426e80583aSopenharmony_ci  supportDimensions?: number[] | undefined;
436e80583aSopenharmony_ci  appId: string | undefined;
446e80583aSopenharmony_ci  appIconId: number | undefined;
456e80583aSopenharmony_ci  isSystemApp: boolean | undefined;
466e80583aSopenharmony_ci  isUninstallAble: boolean | undefined;
476e80583aSopenharmony_ci  badgeNumber: number | undefined;
486e80583aSopenharmony_ci  checked?: boolean | undefined;
496e80583aSopenharmony_ci  installTime?: string | undefined;
506e80583aSopenharmony_ci  typeId: number | undefined;
516e80583aSopenharmony_ci  page: number | undefined;
526e80583aSopenharmony_ci  column: number | undefined;
536e80583aSopenharmony_ci  row: number | undefined;
546e80583aSopenharmony_ci  bundleType?: number | undefined;
556e80583aSopenharmony_ci  totalDimensionCount?: number | undefined;
566e80583aSopenharmony_ci  layoutInfo?: AppItemInfo[][];
576e80583aSopenharmony_ci  itemType?: number;
586e80583aSopenharmony_ci  editable?: boolean;
596e80583aSopenharmony_ci  enterEditing?: boolean;
606e80583aSopenharmony_ci}