@netless/window-manager 1.0.7-beta.1 → 1.0.7-beta.2

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
@@ -1,10 +1,10 @@
1
1
  import * as lodash from 'lodash';
2
2
  import * as white_web_sdk from 'white-web-sdk';
3
- import { RoomMember, View, ApplianceNames, Camera, Size, SceneDefinition, SceneState, DisplayerState, ViewVisionMode, CameraState, MagixEventListenerOptions as MagixEventListenerOptions$1, Event as Event$1, Scope, EventPhase, autorun, reaction, toJS, listenUpdated, unlistenUpdated, listenDisposed, unlistenDisposed, Room, ViewMode, Displayer, MemberState, AnimationMode, Player, InvisiblePlugin, InvisiblePluginContext, Rectangle, Point, CameraBound, ImageInformation } from 'white-web-sdk';
3
+ import { SceneDefinition, SceneState, DisplayerState, View, ApplianceNames, ViewVisionMode, CameraState, Event as Event$1, Scope, EventPhase, MagixEventListenerOptions as MagixEventListenerOptions$1, toJS, listenUpdated, unlistenUpdated, listenDisposed, unlistenDisposed, Room, RoomMember, Camera, Size, ViewMode, Displayer, MemberState, AnimationMode, InvisiblePlugin, InvisiblePluginContext, Player, Rectangle, Point, CameraBound, ImageInformation } from 'white-web-sdk';
4
4
  export { AnimationMode, Displayer, Player, Room, SceneDefinition, SceneState, View } from 'white-web-sdk';
5
- import Emittery from 'emittery';
6
- import { TELE_BOX_STATE, TeleBoxRect, TeleBoxColorScheme, TeleBoxManager, ReadonlyTeleBox, TeleBoxManagerUpdateConfig, TeleBoxConfig, TeleBoxState } from '@netless/telebox-insider';
5
+ import { TELE_BOX_STATE, TeleBoxRect, TeleBoxColorScheme, TeleBoxManager, TeleBoxState, NotMinimizedBoxState, ReadonlyTeleBox, TeleBoxManagerUpdateConfig, TeleBoxConfig } from '@netless/telebox-insider';
7
6
  export { ReadonlyTeleBox, TeleBoxRect } from '@netless/telebox-insider';
7
+ import Emittery from 'emittery';
8
8
 
9
9
  declare enum Events {
10
10
  AppMove = "AppMove",
@@ -36,153 +36,6 @@ declare enum AppStatus {
36
36
  StartCreate = "StartCreate"
37
37
  }
38
38
 
39
- declare class CursorManager {
40
- private manager;
41
- private enableCursor;
42
- containerRect?: DOMRect;
43
- wrapperRect?: DOMRect;
44
- cursorInstances: Map<string, Cursor>;
45
- roomMembers?: readonly RoomMember[];
46
- userApplianceIcons: ApplianceIcons;
47
- private mainViewElement?;
48
- private sideEffectManager;
49
- private store;
50
- private leaveFlag;
51
- private _style;
52
- constructor(manager: AppManager, enableCursor: boolean, cursorOptions?: CursorOptions, applianceIcons?: ApplianceIcons);
53
- get applianceIcons(): ApplianceIcons;
54
- get style(): "default" | "custom";
55
- set style(value: "default" | "custom");
56
- private onCursorMove;
57
- private initCursorInstance;
58
- private enableCustomCursor;
59
- private canMoveCursor;
60
- setupWrapper(wrapper: HTMLElement): void;
61
- setMainViewDivElement(div: HTMLDivElement): void;
62
- get boxState(): any;
63
- get focusView(): View | undefined;
64
- private mouseMoveListener_;
65
- private mouseMoveTimer;
66
- private mouseMoveListener;
67
- private mouseLeaveListener;
68
- private showPencilEraserIfNeeded;
69
- private updateCursor;
70
- private getPoint;
71
- /**
72
- * 因为窗口内框在不同分辨率下的大小不一样,所以这里通过来鼠标事件的 target 来判断是在主白板还是在 APP 中
73
- */
74
- private getType;
75
- updateContainerRect(): void;
76
- deleteCursor(uid: string): void;
77
- hideCursor(uid: string): void;
78
- destroy(): void;
79
- }
80
-
81
- declare class Cursor {
82
- private manager;
83
- private memberId;
84
- private cursorManager;
85
- private wrapper?;
86
- private member?;
87
- private timer?;
88
- private component?;
89
- private style;
90
- constructor(manager: AppManager, memberId: string, cursorManager: CursorManager, wrapper?: HTMLElement | undefined);
91
- move: (position: Position) => void;
92
- setStyle: (style: typeof this.style) => void;
93
- leave: () => void;
94
- private moveCursor;
95
- get memberApplianceName(): ApplianceNames | undefined;
96
- get memberColor(): string;
97
- get memberColorHex(): string;
98
- private get payload();
99
- get memberCursorName(): any;
100
- private get memberTheme();
101
- private get memberCursorTextColor();
102
- private get memberCursorTagBackgroundColor();
103
- private get memberAvatar();
104
- private get memberOpacity();
105
- private get memberTagName();
106
- private autoHidden;
107
- private createCursor;
108
- private initProps;
109
- private getIcon;
110
- private isCustomIcon;
111
- updateMember(): RoomMember | undefined;
112
- private updateComponent;
113
- destroy(): void;
114
- hide(): void;
115
- }
116
-
117
- type Apps = {
118
- [key: string]: AppSyncAttributes;
119
- };
120
- type Position = {
121
- x: number;
122
- y: number;
123
- type: PositionType;
124
- id?: string;
125
- };
126
- type PositionType = "main" | "app";
127
- type StoreContext = {
128
- getAttributes: () => any;
129
- safeUpdateAttributes: (keys: string[], value: any) => void;
130
- safeSetAttributes: (attributes: any) => void;
131
- };
132
- type ICamera = Camera & {
133
- id: string;
134
- };
135
- type ISize = Size & {
136
- id: string;
137
- };
138
- declare class AttributesDelegate {
139
- private context;
140
- constructor(context: StoreContext);
141
- setContext(context: StoreContext): void;
142
- get attributes(): any;
143
- apps(): Apps;
144
- get focus(): string | undefined;
145
- getAppAttributes(id: string): AppSyncAttributes;
146
- getAppState(id: string): any;
147
- getMaximized(): any;
148
- getMinimized(): any;
149
- setupAppAttributes(params: AddAppParams, id: string, isDynamicPPT: boolean): void;
150
- updateAppState(appId: string, stateName: AppAttributes, state: any): void;
151
- cleanAppAttributes(id: string): void;
152
- cleanFocus(): void;
153
- getAppSceneIndex(id: string): any;
154
- getAppScenePath(id: string): any;
155
- getMainViewScenePath(): string | undefined;
156
- getMainViewSceneIndex(): any;
157
- getBoxState(): any;
158
- setMainViewScenePath(scenePath: string): void;
159
- setMainViewSceneIndex(index: number): void;
160
- getMainViewCamera(): MainViewCamera;
161
- getMainViewSize(): MainViewSize;
162
- setMainViewCamera(camera: ICamera): void;
163
- setMainViewSize(size: ISize): void;
164
- setMainViewCameraAndSize(camera: ICamera, size: ISize): void;
165
- setAppFocus: (appId: string, focus: boolean) => void;
166
- updateCursor(uid: string, position: Position): void;
167
- updateCursorState(uid: string, cursorState: string | undefined): void;
168
- getCursorState(uid: string): any;
169
- cleanCursor(uid: string): void;
170
- setMainViewFocusPath(mainView: View): void;
171
- getIframeBridge(): any;
172
- setIframeBridge(data: any): void;
173
- }
174
- type MainViewSize = {
175
- id: string;
176
- width: number;
177
- height: number;
178
- };
179
- type MainViewCamera = {
180
- id: string;
181
- centerX: number;
182
- centerY: number;
183
- scale: number;
184
- };
185
-
186
39
  type StorageEventListener<T> = (event: T) => void;
187
40
  declare class StorageEvent<TMessage> {
188
41
  listeners: Set<StorageEventListener<TMessage>>;
@@ -205,6 +58,7 @@ type StorageStateChangedListenerDisposer = () => void;
205
58
 
206
59
  declare class Storage<TState extends Record<string, any> = any> implements Storage<TState> {
207
60
  readonly id: string | null;
61
+ readonly maxIllusionQueueSize = 500;
208
62
  private readonly _context;
209
63
  private readonly _sideEffect;
210
64
  private _state;
@@ -246,6 +100,9 @@ type BoxMovePayload = {
246
100
  type BoxFocusPayload = {
247
101
  appId: string;
248
102
  };
103
+ type BoxBlurredPayload = {
104
+ appId: string;
105
+ };
249
106
  type BoxResizePayload = {
250
107
  appId: string;
251
108
  width: number;
@@ -267,6 +124,7 @@ type BoxEvent = {
267
124
  resize: BoxResizePayload;
268
125
  close: BoxClosePayload;
269
126
  boxStateChange: BoxStateChangePayload;
127
+ blurred: BoxBlurredPayload;
270
128
  };
271
129
  type BoxEmitterType = Emittery<BoxEvent>;
272
130
 
@@ -423,6 +281,7 @@ type PublicEvent = {
423
281
  onBoxMove: BoxMovePayload;
424
282
  onBoxResize: BoxResizePayload;
425
283
  onBoxFocus: BoxFocusPayload;
284
+ onBoxBlurred: BoxBlurredPayload;
426
285
  onBoxClose: BoxClosePayload;
427
286
  onBoxStateChange: BoxStateChangePayload;
428
287
  onMainViewMounted: View;
@@ -473,6 +332,7 @@ type CreateBoxParams = {
473
332
  options?: AddAppOptions;
474
333
  canOperate?: boolean;
475
334
  smartPosition?: boolean;
335
+ boxStatus?: TeleBoxState;
476
336
  };
477
337
  type AppId = {
478
338
  appId: string;
@@ -497,11 +357,14 @@ type CreateTeleBoxManagerConfig = {
497
357
  collectorContainer?: HTMLElement;
498
358
  collectorStyles?: Partial<CSSStyleDeclaration>;
499
359
  prefersColorScheme?: TeleBoxColorScheme;
360
+ useBoxesStatus?: boolean;
500
361
  };
501
362
  type BoxManagerContext = {
502
363
  safeSetAttributes: (attributes: any) => void;
503
364
  getMainView: () => View;
504
365
  updateAppState: (appId: string, field: AppAttributes, value: any) => void;
366
+ setBoxStatus: (appId: string, status?: TeleBoxState) => void;
367
+ setLastNotMinimizedBoxStatus: (appId: string, status?: NotMinimizedBoxState) => void;
505
368
  emitter: EmitterType;
506
369
  boxEmitter: BoxEmitterType;
507
370
  callbacks: CallbacksType;
@@ -517,7 +380,7 @@ declare class BoxManager {
517
380
  constructor(context: BoxManagerContext, createTeleBoxManagerConfig?: CreateTeleBoxManagerConfig | undefined);
518
381
  private get mainView();
519
382
  private get canOperate();
520
- get boxState(): "maximized" | "minimized" | "normal";
383
+ get boxState(): "normal" | "minimized" | "maximized";
521
384
  get maximized(): boolean;
522
385
  get minimized(): boolean;
523
386
  get darkMode(): boolean;
@@ -525,6 +388,10 @@ declare class BoxManager {
525
388
  get boxSize(): number;
526
389
  createBox(params: CreateBoxParams): void;
527
390
  setBoxInitState(appId: string): void;
391
+ setBoxesStatus(status?: Record<string, TeleBoxState>): void;
392
+ setBoxStatus(appId: string, status?: TeleBoxState): void;
393
+ setLastNotMinimizedBoxesStatus(status?: Record<string, NotMinimizedBoxState>): void;
394
+ setLastNotMinimizedBoxStatus(appId: string, status?: NotMinimizedBoxState): void;
528
395
  setupBoxManager(createTeleBoxManagerConfig?: CreateTeleBoxManagerConfig): TeleBoxManager;
529
396
  setCollectorContainer(container: HTMLElement): void;
530
397
  getBox(appId: string): ReadonlyTeleBox | undefined;
@@ -587,8 +454,8 @@ declare class AppContext<TAttributes extends {} = any, TMagixEventPayloads = any
587
454
  private appOptions?;
588
455
  readonly emitter: Emittery<AppEmitterEvent<TAttributes>>;
589
456
  readonly mobxUtils: {
590
- autorun: typeof autorun;
591
- reaction: typeof reaction;
457
+ autorun: any;
458
+ reaction: any;
592
459
  toJS: typeof toJS;
593
460
  };
594
461
  readonly objectUtils: {
@@ -600,8 +467,12 @@ declare class AppContext<TAttributes extends {} = any, TMagixEventPayloads = any
600
467
  private store;
601
468
  readonly isAddApp: boolean;
602
469
  readonly isReplay: boolean;
603
- constructor(manager: AppManager, boxManager: BoxManager, appId: string, appProxy: AppProxy, appOptions?: TAppOptions | (() => TAppOptions) | undefined);
470
+ constructor(manager: AppManager, boxManager: BoxManager, appId: string, appProxy: AppProxy, appOptions?: (TAppOptions | (() => TAppOptions)) | undefined);
471
+ getManager: () => AppManager;
472
+ getBoxManager: () => BoxManager;
473
+ getWindowManager: () => WindowManager;
604
474
  getDisplayer: () => white_web_sdk.Displayer<white_web_sdk.DisplayerCallbacks>;
475
+ getAppProxy: () => AppProxy;
605
476
  /** @deprecated Use context.storage.state instead. */
606
477
  getAttributes: () => TAttributes | undefined;
607
478
  getScenes: () => SceneDefinition[] | undefined;
@@ -708,6 +579,167 @@ declare class AppProxy implements PageRemoveService {
708
579
  close(): Promise<void>;
709
580
  }
710
581
 
582
+ declare class CursorManager {
583
+ private manager;
584
+ private enableCursor;
585
+ containerRect?: DOMRect;
586
+ wrapperRect?: DOMRect;
587
+ cursorInstances: Map<string, Cursor>;
588
+ roomMembers?: readonly RoomMember[];
589
+ userApplianceIcons: ApplianceIcons;
590
+ private mainViewElement?;
591
+ private sideEffectManager;
592
+ private store;
593
+ private leaveFlag;
594
+ private _style;
595
+ constructor(manager: AppManager, enableCursor: boolean, cursorOptions?: CursorOptions, applianceIcons?: ApplianceIcons);
596
+ get applianceIcons(): ApplianceIcons;
597
+ get style(): "default" | "custom";
598
+ set style(value: "default" | "custom");
599
+ private onCursorMove;
600
+ private initCursorInstance;
601
+ private enableCustomCursor;
602
+ private canMoveCursor;
603
+ setupWrapper(wrapper: HTMLElement): void;
604
+ setMainViewDivElement(div: HTMLDivElement): void;
605
+ get boxState(): any;
606
+ get focusView(): View | undefined;
607
+ private mouseMoveListener_;
608
+ private mouseMoveTimer;
609
+ private mouseMoveListener;
610
+ private mouseLeaveListener;
611
+ private showPencilEraserIfNeeded;
612
+ private updateCursor;
613
+ private getPoint;
614
+ /**
615
+ * 因为窗口内框在不同分辨率下的大小不一样,所以这里通过来鼠标事件的 target 来判断是在主白板还是在 APP 中
616
+ */
617
+ private getType;
618
+ updateContainerRect(): void;
619
+ deleteCursor(uid: string): void;
620
+ hideCursor(uid: string): void;
621
+ destroy(): void;
622
+ }
623
+
624
+ declare class Cursor {
625
+ private manager;
626
+ private memberId;
627
+ private cursorManager;
628
+ private wrapper?;
629
+ private member?;
630
+ private timer?;
631
+ private component?;
632
+ private style;
633
+ constructor(manager: AppManager, memberId: string, cursorManager: CursorManager, wrapper?: HTMLElement | undefined);
634
+ move: (position: Position) => void;
635
+ setStyle: (style: typeof this.style) => void;
636
+ leave: () => void;
637
+ private moveCursor;
638
+ get memberApplianceName(): ApplianceNames | undefined;
639
+ get memberColor(): string;
640
+ get memberColorHex(): string;
641
+ private get payload();
642
+ get memberCursorName(): any;
643
+ private get memberTheme();
644
+ private get memberCursorTextColor();
645
+ private get memberCursorTagBackgroundColor();
646
+ private get memberAvatar();
647
+ private get memberOpacity();
648
+ private get memberTagName();
649
+ private autoHidden;
650
+ private createCursor;
651
+ private initProps;
652
+ private getIcon;
653
+ private isCustomIcon;
654
+ updateMember(): RoomMember | undefined;
655
+ private updateComponent;
656
+ destroy(): void;
657
+ hide(): void;
658
+ }
659
+
660
+ type ExtendClass = {
661
+ AppManager?: typeof AppManager;
662
+ BoxManager?: typeof BoxManager;
663
+ AttributesDelegate?: typeof AttributesDelegate;
664
+ CursorManager?: typeof CursorManager;
665
+ AppProxy?: typeof AppProxy;
666
+ };
667
+
668
+ type Apps = {
669
+ [key: string]: AppSyncAttributes;
670
+ };
671
+ type Position = {
672
+ x: number;
673
+ y: number;
674
+ type: PositionType;
675
+ id?: string;
676
+ };
677
+ type PositionType = "main" | "app";
678
+ type StoreContext = {
679
+ getAttributes: () => any;
680
+ safeUpdateAttributes: (keys: string[], value: any) => void;
681
+ safeSetAttributes: (attributes: any) => void;
682
+ };
683
+ type ICamera = Camera & {
684
+ id: string;
685
+ };
686
+ type ISize = Size & {
687
+ id: string;
688
+ };
689
+ declare class AttributesDelegate {
690
+ private context;
691
+ constructor(context: StoreContext);
692
+ setContext(context: StoreContext): void;
693
+ get attributes(): any;
694
+ apps(): Apps;
695
+ get focus(): string | undefined;
696
+ getAppAttributes(id: string): AppSyncAttributes;
697
+ getAppState(id: string): any;
698
+ getMaximized(): any;
699
+ getMinimized(): any;
700
+ getBoxesStatus(): Record<string, TELE_BOX_STATE> | undefined;
701
+ getBoxStatus(id: string): TELE_BOX_STATE | undefined;
702
+ setBoxStatus(id: string, status?: TeleBoxState): void;
703
+ getLastNotMinimizedBoxesStatus(): Record<string, NotMinimizedBoxState> | undefined;
704
+ getLastNotMinimizedBoxStatus(id: string): NotMinimizedBoxState | undefined;
705
+ setLastNotMinimizedBoxStatus(id: string, status?: NotMinimizedBoxState): void;
706
+ setupAppAttributes(params: AddAppParams, id: string, isDynamicPPT: boolean): void;
707
+ updateAppState(appId: string, stateName: AppAttributes, state: any): void;
708
+ cleanAppAttributes(id: string): void;
709
+ cleanFocus(): void;
710
+ getAppSceneIndex(id: string): any;
711
+ getAppScenePath(id: string): any;
712
+ getMainViewScenePath(): string | undefined;
713
+ getMainViewSceneIndex(): any;
714
+ getBoxState(): any;
715
+ setMainViewScenePath(scenePath: string): void;
716
+ setMainViewSceneIndex(index: number): void;
717
+ getMainViewCamera(): MainViewCamera;
718
+ getMainViewSize(): MainViewSize;
719
+ setMainViewCamera(camera: ICamera): void;
720
+ setMainViewSize(size: ISize): void;
721
+ setMainViewCameraAndSize(camera: ICamera, size: ISize): void;
722
+ setAppFocus: (appId: string, focus: boolean) => void;
723
+ updateCursor(uid: string, position: Position): void;
724
+ updateCursorState(uid: string, cursorState: string | undefined): void;
725
+ getCursorState(uid: string): any;
726
+ cleanCursor(uid: string): void;
727
+ setMainViewFocusPath(mainView: View): void;
728
+ getIframeBridge(): any;
729
+ setIframeBridge(data: any): void;
730
+ }
731
+ type MainViewSize = {
732
+ id: string;
733
+ width: number;
734
+ height: number;
735
+ };
736
+ type MainViewCamera = {
737
+ id: string;
738
+ centerX: number;
739
+ centerY: number;
740
+ scale: number;
741
+ };
742
+
711
743
  declare class MainViewProxy {
712
744
  private manager;
713
745
  /** Refresh the view's camera in an interval of 1.5s. */
@@ -819,6 +851,9 @@ declare class AppManager {
819
851
  private sideEffectManager;
820
852
  sceneState: SceneState | null;
821
853
  rootDirRemoving: boolean;
854
+ private _useBoxesStatus;
855
+ get useBoxesStatus(): boolean;
856
+ set useBoxesStatus(value: boolean);
822
857
  constructor(windowManger: WindowManager);
823
858
  getMemberState(): MemberState;
824
859
  private onRemoveScenes;
@@ -850,8 +885,10 @@ declare class AppManager {
850
885
  private onBoxMove;
851
886
  private onBoxResize;
852
887
  private onBoxFocus;
888
+ private onBoxBlurred;
853
889
  private onBoxClose;
854
890
  private onBoxStateChange;
891
+ addBoxesStatusChangeListener: () => void;
855
892
  addAppsChangeListener: () => void;
856
893
  addAppCloseListener: () => void;
857
894
  private onMainViewIndexChange;
@@ -1147,8 +1184,13 @@ type AppInitState = {
1147
1184
  maximized?: boolean;
1148
1185
  minimized?: boolean;
1149
1186
  sceneIndex?: number;
1187
+ /** 所有box的基本状态 */
1150
1188
  boxState?: TeleBoxState;
1151
1189
  zIndex?: number;
1190
+ /** 扩展版本,单个box的状态 */
1191
+ boxStatus?: TeleBoxState;
1192
+ /** 上次非最小化窗口状态 */
1193
+ lastNotMinimizedBoxStatus?: NotMinimizedBoxState;
1152
1194
  };
1153
1195
  type CursorMovePayload = {
1154
1196
  uid: string;
@@ -1182,6 +1224,8 @@ type MountParams = {
1182
1224
  fullscreen?: boolean;
1183
1225
  polling?: boolean;
1184
1226
  supportAppliancePlugin?: boolean;
1227
+ /** 是否使用 boxesStatus 状态 */
1228
+ useBoxesStatus?: boolean;
1185
1229
  };
1186
1230
  declare const reconnectRefresher: ReconnectRefresher;
1187
1231
  declare class WindowManager extends InvisiblePlugin<WindowMangerAttributes, any> implements PageController {
@@ -1211,12 +1255,13 @@ declare class WindowManager extends InvisiblePlugin<WindowMangerAttributes, any>
1211
1255
  private _cursorUIDsStyleDOM?;
1212
1256
  private boxManager?;
1213
1257
  private static params?;
1258
+ static extendClass?: ExtendClass;
1214
1259
  private containerResizeObserver?;
1215
1260
  containerSizeRatio: number;
1216
1261
  private extendPluginManager?;
1217
1262
  constructor(context: InvisiblePluginContext);
1218
1263
  static onCreate(manager: WindowManager): void;
1219
- static mount(params: MountParams): Promise<WindowManager>;
1264
+ static mount(params: MountParams, extendClass?: ExtendClass): Promise<WindowManager>;
1220
1265
  private static initManager;
1221
1266
  private static initContainer;
1222
1267
  static get registered(): Map<string, RegisterParams>;
@@ -1292,6 +1337,10 @@ declare class WindowManager extends InvisiblePlugin<WindowMangerAttributes, any>
1292
1337
  setBoxState(boxState: TeleBoxState): void;
1293
1338
  setMaximized(maximized: boolean): void;
1294
1339
  setMinimized(minimized: boolean): void;
1340
+ /** 设置指定 box 的状态, 如果为 undefined, 则移除状态*/
1341
+ setBoxStatus(boxId: string, boxStatus?: TELE_BOX_STATE): void;
1342
+ /** 设置指定 box 的非最小化状态, 如果为 undefined, 则移除状态 */
1343
+ setLastNotMinimizedBoxStatus(boxId: string, lastNotMinimizedBoxStatus?: NotMinimizedBoxState): void;
1295
1344
  setFullscreen(fullscreen: boolean): void;
1296
1345
  get cursorUIDs(): string[];
1297
1346
  setCursorUIDs(cursorUIDs?: string[] | null): void;
@@ -1300,6 +1349,8 @@ declare class WindowManager extends InvisiblePlugin<WindowMangerAttributes, any>
1300
1349
  get cameraState(): CameraState;
1301
1350
  get apps(): Apps | undefined;
1302
1351
  get boxState(): TeleBoxState | undefined;
1352
+ get boxStatus(): Record<string, TELE_BOX_STATE> | undefined;
1353
+ get lastNotMinimizedBoxStatus(): Record<string, NotMinimizedBoxState> | undefined;
1303
1354
  get darkMode(): boolean;
1304
1355
  get prefersColorScheme(): TeleBoxColorScheme | undefined;
1305
1356
  get focused(): string | undefined;
@@ -1371,4 +1422,5 @@ declare class WindowManager extends InvisiblePlugin<WindowMangerAttributes, any>
1371
1422
  useExtendPlugin(extend: ExtendPluginInstance<any>): void;
1372
1423
  }
1373
1424
 
1374
- export { type AddAppOptions, type AddAppParams, type AddPageParams, AppContext, AppCreateError, type AppEmitterEvent, type AppInitState, type AppListenerKeys, AppManagerNotInitError, AppNotRegisterError, type AppPayload, type AppSyncAttributes, type ApplianceIcons, type BaseInsertParams, BindContainerRoomPhaseInvalidError, BoxManagerNotFoundError, BoxNotCreatedError, BuiltinApps, type CursorMovePayload, type CursorOptions, DomEvents, type ExtendContext, type ExtendManagerOptions, ExtendPlugin, type ExtendPluginInstance, ExtendPluginManager, IframeBridge, type IframeBridgeAttributes, type IframeBridgeEvents, IframeEvents, type IframeSize, type InsertOptions, InvalidScenePath, type MountParams, type NetlessApp, type OnCreateInsertOption, type PageController, type PageRemoveService, type PageState, ParamsInvalidError, type PublicEvent, type RegisterEventData, type RegisterEvents, type RegisterParams, Storage, type StorageStateChangedEvent, type StorageStateChangedListener, WhiteWebSDKInvalidError, WindowManager, type WindowMangerAttributes, type apps, calculateNextIndex, reconnectRefresher, type setAppOptions };
1425
+ export { AppContext, AppCreateError, AppManagerNotInitError, AppNotRegisterError, BindContainerRoomPhaseInvalidError, BoxManagerNotFoundError, BoxNotCreatedError, BuiltinApps, DomEvents, ExtendPlugin, ExtendPluginManager, IframeBridge, IframeEvents, InvalidScenePath, ParamsInvalidError, Storage, WhiteWebSDKInvalidError, WindowManager, calculateNextIndex, reconnectRefresher };
1426
+ export type { AddAppOptions, AddAppParams, AddPageParams, AppEmitterEvent, AppInitState, AppListenerKeys, AppPayload, AppSyncAttributes, ApplianceIcons, BaseInsertParams, CursorMovePayload, CursorOptions, ExtendContext, ExtendManagerOptions, ExtendPluginInstance, IframeBridgeAttributes, IframeBridgeEvents, IframeSize, InsertOptions, MountParams, NetlessApp, OnCreateInsertOption, PageController, PageRemoveService, PageState, PublicEvent, RegisterEventData, RegisterEvents, RegisterParams, StorageStateChangedEvent, StorageStateChangedListener, WindowMangerAttributes, apps, setAppOptions };