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

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
@@ -335,6 +335,7 @@ type EmitterType = Emittery<EmitterEvent>;
335
335
  declare class CursorManager {
336
336
  private manager;
337
337
  private enableCursor;
338
+ static readonly kind = "CursorManager";
338
339
  containerRect?: DOMRect;
339
340
  wrapperRect?: DOMRect;
340
341
  cursorInstances: Map<string, Cursor>;
@@ -433,6 +434,7 @@ type ISize = Size & {
433
434
  };
434
435
  declare class AttributesDelegate {
435
436
  private context;
437
+ static readonly kind = "AttributesDelegate";
436
438
  constructor(context: StoreContext);
437
439
  setContext(context: StoreContext): void;
438
440
  get attributes(): any;
@@ -551,6 +553,7 @@ type BoxManagerContext = {
551
553
  declare class BoxManager {
552
554
  private context;
553
555
  private createTeleBoxManagerConfig?;
556
+ static readonly kind = "BoxManager";
554
557
  teleBoxManager: TeleBoxManager;
555
558
  constructor(context: BoxManagerContext, createTeleBoxManagerConfig?: CreateTeleBoxManagerConfig | undefined);
556
559
  private get mainView();
@@ -625,6 +628,7 @@ declare class AppContext<TAttributes extends {} = any, TMagixEventPayloads = any
625
628
  appId: string;
626
629
  private appProxy;
627
630
  private appOptions?;
631
+ static readonly kind = "AppContext";
628
632
  readonly emitter: Emittery<AppEmitterEvent<TAttributes>>;
629
633
  readonly mobxUtils: {
630
634
  autorun: any;
@@ -698,6 +702,7 @@ type AppEmitter = Emittery<AppEmitterEvent>;
698
702
  declare class AppProxy implements PageRemoveService {
699
703
  private params;
700
704
  private manager;
705
+ static readonly kind = "AppProxy";
701
706
  kind: string;
702
707
  id: string;
703
708
  scenePath?: string;
@@ -847,6 +852,7 @@ declare class ReconnectRefresher {
847
852
 
848
853
  declare class AppManager {
849
854
  windowManger: WindowManager;
855
+ static readonly kind = "AppManager";
850
856
  displayer: Displayer;
851
857
  viewManager: ViewManager;
852
858
  appProxies: Map<string, AppProxy>;
@@ -1267,7 +1273,7 @@ type MountParams = {
1267
1273
  };
1268
1274
  declare const reconnectRefresher: ReconnectRefresher;
1269
1275
  declare class WindowManager extends InvisiblePlugin<WindowMangerAttributes, any> implements PageController {
1270
- static kind: string;
1276
+ static readonly kind = "WindowManager";
1271
1277
  static displayer: Displayer;
1272
1278
  static wrapper?: HTMLElement;
1273
1279
  static sizer?: HTMLElement;