@netless/window-manager 1.0.7-beta.5 → 1.0.7-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -505,6 +505,9 @@ type CreateBoxParams = {
505
505
  canOperate?: boolean;
506
506
  smartPosition?: boolean;
507
507
  boxStatus?: TeleBoxState;
508
+ forceTop?: boolean;
509
+ forceNormal?: boolean;
510
+ isDragContent?: boolean;
508
511
  };
509
512
  type AppId = {
510
513
  appId: string;
@@ -561,9 +564,7 @@ declare class BoxManager {
561
564
  createBox(params: CreateBoxParams): void;
562
565
  setBoxInitState(appId: string): void;
563
566
  setBoxesStatus(status?: Record<string, TeleBoxState>): void;
564
- setBoxStatus(appId: string, status?: TeleBoxState): void;
565
567
  setLastNotMinimizedBoxesStatus(status?: Record<string, NotMinimizedBoxState>): void;
566
- setLastNotMinimizedBoxStatus(appId: string, status?: NotMinimizedBoxState): void;
567
568
  setupBoxManager(createTeleBoxManagerConfig?: CreateTeleBoxManagerConfig): TeleBoxManager;
568
569
  setCollectorContainer(container: HTMLElement): void;
569
570
  getBox(appId: string): ReadonlyTeleBox | undefined;
@@ -1182,6 +1183,9 @@ type AddAppParams<TAttributes = any> = {
1182
1183
  src?: string;
1183
1184
  options?: AddAppOptions;
1184
1185
  attributes?: TAttributes;
1186
+ forceTop?: boolean;
1187
+ forceNormal?: boolean;
1188
+ isDragContent?: boolean;
1185
1189
  };
1186
1190
  type BaseInsertParams = {
1187
1191
  kind: string;
@@ -1189,6 +1193,9 @@ type BaseInsertParams = {
1189
1193
  options?: AddAppOptions;
1190
1194
  attributes?: any;
1191
1195
  isDynamicPPT?: boolean;
1196
+ forceTop?: boolean;
1197
+ forceNormal?: boolean;
1198
+ isDragContent?: boolean;
1192
1199
  };
1193
1200
  type AppSyncAttributes = {
1194
1201
  kind: string;
@@ -1198,6 +1205,9 @@ type AppSyncAttributes = {
1198
1205
  isDynamicPPT?: boolean;
1199
1206
  fullPath?: string;
1200
1207
  createdAt?: number;
1208
+ forceTop?: boolean;
1209
+ forceNormal?: boolean;
1210
+ isDragContent?: boolean;
1201
1211
  };
1202
1212
  type AppInitState = {
1203
1213
  id: string;
@@ -1216,6 +1226,9 @@ type AppInitState = {
1216
1226
  boxStatus?: TeleBoxState;
1217
1227
  /** 上次非最小化窗口状态 */
1218
1228
  lastNotMinimizedBoxStatus?: NotMinimizedBoxState;
1229
+ forceTop?: boolean;
1230
+ forceNormal?: boolean;
1231
+ isDragContent?: boolean;
1219
1232
  };
1220
1233
  type CursorMovePayload = {
1221
1234
  uid: string;