@openfin/node-adapter 35.78.11 → 35.78.14
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.
@@ -5066,12 +5066,10 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
5066
5066
|
} : never;
|
5067
5067
|
|
5068
5068
|
declare interface Environment {
|
5069
|
-
|
5070
|
-
singleInstance: any | undefined;
|
5071
|
-
layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>;
|
5072
|
-
}>;
|
5069
|
+
initLayoutManager(fin: OpenFin.Fin<OpenFin.EntityType>, wire: Transport, options: OpenFin.InitLayoutOptions): Promise<OpenFin.LayoutManager<OpenFin.LayoutSnapshot>>;
|
5073
5070
|
createLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, options: OpenFin.CreateLayoutOptions): Promise<void>;
|
5074
5071
|
destroyLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<void>;
|
5072
|
+
resolveLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<any>;
|
5075
5073
|
initPlatform(fin: OpenFin.Fin<OpenFin.EntityType>, ...args: Parameters<OpenFin.Fin['Platform']['init']>): ReturnType<OpenFin.Fin['Platform']['init']>;
|
5076
5074
|
observeBounds(element: Element, onChange: (bounds: DOMRect) => Promise<void> | void): () => void;
|
5077
5075
|
writeToken(path: string, token: string): Promise<string>;
|
@@ -8852,11 +8850,12 @@ declare type LayoutIdentity = Identity_5 & {
|
|
8852
8850
|
};
|
8853
8851
|
|
8854
8852
|
/**
|
8855
|
-
* Generated when
|
8853
|
+
* Generated when the window and all of its layout's views have either finished or failed navigation, once per layout.
|
8856
8854
|
* @interface
|
8857
8855
|
*/
|
8858
8856
|
declare type LayoutInitializedEvent = BaseEvent_5 & {
|
8859
8857
|
type: 'layout-initialized';
|
8858
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
8860
8859
|
ofViews: (OpenFin.Identity & {
|
8861
8860
|
entityType: 'view';
|
8862
8861
|
})[];
|
@@ -8889,7 +8888,7 @@ declare type LayoutItemConfig = {
|
|
8889
8888
|
*
|
8890
8889
|
* **NOTE**: Internal use only. This type is reserved for Workspace Browser implementation.
|
8891
8890
|
*
|
8892
|
-
* Responsible for
|
8891
|
+
* Responsible for aggregating all layout snapshots and storing layout instances
|
8893
8892
|
*/
|
8894
8893
|
declare interface LayoutManager<T extends LayoutSnapshot> {
|
8895
8894
|
/**
|
@@ -9197,11 +9196,12 @@ declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
9197
9196
|
declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
|
9198
9197
|
|
9199
9198
|
/**
|
9200
|
-
* Generated when
|
9199
|
+
* Generated when the layout and all of the its views have been created and can receive API calls.
|
9201
9200
|
* @interface
|
9202
9201
|
*/
|
9203
9202
|
declare type LayoutReadyEvent = BaseEvent_5 & {
|
9204
9203
|
type: 'layout-ready';
|
9204
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
9205
9205
|
views: (OpenFin.Identity & {
|
9206
9206
|
success: boolean;
|
9207
9207
|
})[];
|
@@ -16419,7 +16419,7 @@ declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCr
|
|
16419
16419
|
*/
|
16420
16420
|
declare type ViewDetachedEvent = BaseEvent_5 & {
|
16421
16421
|
type: 'view-detached';
|
16422
|
-
target: OpenFin.Identity;
|
16422
|
+
target: OpenFin.Identity | null;
|
16423
16423
|
previousTarget: OpenFin.Identity;
|
16424
16424
|
viewIdentity: OpenFin.Identity;
|
16425
16425
|
};
|
@@ -5066,12 +5066,10 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
5066
5066
|
} : never;
|
5067
5067
|
|
5068
5068
|
declare interface Environment {
|
5069
|
-
|
5070
|
-
singleInstance: any | undefined;
|
5071
|
-
layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>;
|
5072
|
-
}>;
|
5069
|
+
initLayoutManager(fin: OpenFin.Fin<OpenFin.EntityType>, wire: Transport, options: OpenFin.InitLayoutOptions): Promise<OpenFin.LayoutManager<OpenFin.LayoutSnapshot>>;
|
5073
5070
|
createLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, options: OpenFin.CreateLayoutOptions): Promise<void>;
|
5074
5071
|
destroyLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<void>;
|
5072
|
+
resolveLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<any>;
|
5075
5073
|
initPlatform(fin: OpenFin.Fin<OpenFin.EntityType>, ...args: Parameters<OpenFin.Fin['Platform']['init']>): ReturnType<OpenFin.Fin['Platform']['init']>;
|
5076
5074
|
observeBounds(element: Element, onChange: (bounds: DOMRect) => Promise<void> | void): () => void;
|
5077
5075
|
writeToken(path: string, token: string): Promise<string>;
|
@@ -8852,11 +8850,12 @@ declare type LayoutIdentity = Identity_5 & {
|
|
8852
8850
|
};
|
8853
8851
|
|
8854
8852
|
/**
|
8855
|
-
* Generated when
|
8853
|
+
* Generated when the window and all of its layout's views have either finished or failed navigation, once per layout.
|
8856
8854
|
* @interface
|
8857
8855
|
*/
|
8858
8856
|
declare type LayoutInitializedEvent = BaseEvent_5 & {
|
8859
8857
|
type: 'layout-initialized';
|
8858
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
8860
8859
|
ofViews: (OpenFin.Identity & {
|
8861
8860
|
entityType: 'view';
|
8862
8861
|
})[];
|
@@ -8889,7 +8888,7 @@ declare type LayoutItemConfig = {
|
|
8889
8888
|
*
|
8890
8889
|
* **NOTE**: Internal use only. This type is reserved for Workspace Browser implementation.
|
8891
8890
|
*
|
8892
|
-
* Responsible for
|
8891
|
+
* Responsible for aggregating all layout snapshots and storing layout instances
|
8893
8892
|
*/
|
8894
8893
|
declare interface LayoutManager<T extends LayoutSnapshot> {
|
8895
8894
|
/**
|
@@ -9197,11 +9196,12 @@ declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
9197
9196
|
declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
|
9198
9197
|
|
9199
9198
|
/**
|
9200
|
-
* Generated when
|
9199
|
+
* Generated when the layout and all of the its views have been created and can receive API calls.
|
9201
9200
|
* @interface
|
9202
9201
|
*/
|
9203
9202
|
declare type LayoutReadyEvent = BaseEvent_5 & {
|
9204
9203
|
type: 'layout-ready';
|
9204
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
9205
9205
|
views: (OpenFin.Identity & {
|
9206
9206
|
success: boolean;
|
9207
9207
|
})[];
|
@@ -16419,7 +16419,7 @@ declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCr
|
|
16419
16419
|
*/
|
16420
16420
|
declare type ViewDetachedEvent = BaseEvent_5 & {
|
16421
16421
|
type: 'view-detached';
|
16422
|
-
target: OpenFin.Identity;
|
16422
|
+
target: OpenFin.Identity | null;
|
16423
16423
|
previousTarget: OpenFin.Identity;
|
16424
16424
|
viewIdentity: OpenFin.Identity;
|
16425
16425
|
};
|
@@ -5066,12 +5066,10 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
5066
5066
|
} : never;
|
5067
5067
|
|
5068
5068
|
declare interface Environment {
|
5069
|
-
|
5070
|
-
singleInstance: any | undefined;
|
5071
|
-
layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>;
|
5072
|
-
}>;
|
5069
|
+
initLayoutManager(fin: OpenFin.Fin<OpenFin.EntityType>, wire: Transport, options: OpenFin.InitLayoutOptions): Promise<OpenFin.LayoutManager<OpenFin.LayoutSnapshot>>;
|
5073
5070
|
createLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, options: OpenFin.CreateLayoutOptions): Promise<void>;
|
5074
5071
|
destroyLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<void>;
|
5072
|
+
resolveLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<any>;
|
5075
5073
|
initPlatform(fin: OpenFin.Fin<OpenFin.EntityType>, ...args: Parameters<OpenFin.Fin['Platform']['init']>): ReturnType<OpenFin.Fin['Platform']['init']>;
|
5076
5074
|
observeBounds(element: Element, onChange: (bounds: DOMRect) => Promise<void> | void): () => void;
|
5077
5075
|
writeToken(path: string, token: string): Promise<string>;
|
@@ -8852,11 +8850,12 @@ declare type LayoutIdentity = Identity_5 & {
|
|
8852
8850
|
};
|
8853
8851
|
|
8854
8852
|
/**
|
8855
|
-
* Generated when
|
8853
|
+
* Generated when the window and all of its layout's views have either finished or failed navigation, once per layout.
|
8856
8854
|
* @interface
|
8857
8855
|
*/
|
8858
8856
|
declare type LayoutInitializedEvent = BaseEvent_5 & {
|
8859
8857
|
type: 'layout-initialized';
|
8858
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
8860
8859
|
ofViews: (OpenFin.Identity & {
|
8861
8860
|
entityType: 'view';
|
8862
8861
|
})[];
|
@@ -8889,7 +8888,7 @@ declare type LayoutItemConfig = {
|
|
8889
8888
|
*
|
8890
8889
|
* **NOTE**: Internal use only. This type is reserved for Workspace Browser implementation.
|
8891
8890
|
*
|
8892
|
-
* Responsible for
|
8891
|
+
* Responsible for aggregating all layout snapshots and storing layout instances
|
8893
8892
|
*/
|
8894
8893
|
declare interface LayoutManager<T extends LayoutSnapshot> {
|
8895
8894
|
/**
|
@@ -9197,11 +9196,12 @@ declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
9197
9196
|
declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
|
9198
9197
|
|
9199
9198
|
/**
|
9200
|
-
* Generated when
|
9199
|
+
* Generated when the layout and all of the its views have been created and can receive API calls.
|
9201
9200
|
* @interface
|
9202
9201
|
*/
|
9203
9202
|
declare type LayoutReadyEvent = BaseEvent_5 & {
|
9204
9203
|
type: 'layout-ready';
|
9204
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
9205
9205
|
views: (OpenFin.Identity & {
|
9206
9206
|
success: boolean;
|
9207
9207
|
})[];
|
@@ -16419,7 +16419,7 @@ declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCr
|
|
16419
16419
|
*/
|
16420
16420
|
declare type ViewDetachedEvent = BaseEvent_5 & {
|
16421
16421
|
type: 'view-detached';
|
16422
|
-
target: OpenFin.Identity;
|
16422
|
+
target: OpenFin.Identity | null;
|
16423
16423
|
previousTarget: OpenFin.Identity;
|
16424
16424
|
viewIdentity: OpenFin.Identity;
|
16425
16425
|
};
|
package/out/node-adapter.d.ts
CHANGED
@@ -5165,12 +5165,10 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
5165
5165
|
} : never;
|
5166
5166
|
|
5167
5167
|
declare interface Environment {
|
5168
|
-
|
5169
|
-
singleInstance: any | undefined;
|
5170
|
-
layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>;
|
5171
|
-
}>;
|
5168
|
+
initLayoutManager(fin: OpenFin.Fin<OpenFin.EntityType>, wire: Transport, options: OpenFin.InitLayoutOptions): Promise<OpenFin.LayoutManager<OpenFin.LayoutSnapshot>>;
|
5172
5169
|
createLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, options: OpenFin.CreateLayoutOptions): Promise<void>;
|
5173
5170
|
destroyLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<void>;
|
5171
|
+
resolveLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<any>;
|
5174
5172
|
initPlatform(fin: OpenFin.Fin<OpenFin.EntityType>, ...args: Parameters<OpenFin.Fin['Platform']['init']>): ReturnType<OpenFin.Fin['Platform']['init']>;
|
5175
5173
|
observeBounds(element: Element, onChange: (bounds: DOMRect) => Promise<void> | void): () => void;
|
5176
5174
|
writeToken(path: string, token: string): Promise<string>;
|
@@ -9027,11 +9025,12 @@ declare type LayoutIdentity = Identity_5 & {
|
|
9027
9025
|
};
|
9028
9026
|
|
9029
9027
|
/**
|
9030
|
-
* Generated when
|
9028
|
+
* Generated when the window and all of its layout's views have either finished or failed navigation, once per layout.
|
9031
9029
|
* @interface
|
9032
9030
|
*/
|
9033
9031
|
declare type LayoutInitializedEvent = BaseEvent_5 & {
|
9034
9032
|
type: 'layout-initialized';
|
9033
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
9035
9034
|
ofViews: (OpenFin.Identity & {
|
9036
9035
|
entityType: 'view';
|
9037
9036
|
})[];
|
@@ -9064,7 +9063,7 @@ declare type LayoutItemConfig = {
|
|
9064
9063
|
*
|
9065
9064
|
* **NOTE**: Internal use only. This type is reserved for Workspace Browser implementation.
|
9066
9065
|
*
|
9067
|
-
* Responsible for
|
9066
|
+
* Responsible for aggregating all layout snapshots and storing layout instances
|
9068
9067
|
*/
|
9069
9068
|
declare interface LayoutManager<T extends LayoutSnapshot> {
|
9070
9069
|
/**
|
@@ -9529,11 +9528,12 @@ declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
9529
9528
|
declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
|
9530
9529
|
|
9531
9530
|
/**
|
9532
|
-
* Generated when
|
9531
|
+
* Generated when the layout and all of the its views have been created and can receive API calls.
|
9533
9532
|
* @interface
|
9534
9533
|
*/
|
9535
9534
|
declare type LayoutReadyEvent = BaseEvent_5 & {
|
9536
9535
|
type: 'layout-ready';
|
9536
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
9537
9537
|
views: (OpenFin.Identity & {
|
9538
9538
|
success: boolean;
|
9539
9539
|
})[];
|
@@ -16962,7 +16962,7 @@ declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCr
|
|
16962
16962
|
*/
|
16963
16963
|
declare type ViewDetachedEvent = BaseEvent_5 & {
|
16964
16964
|
type: 'view-detached';
|
16965
|
-
target: OpenFin.Identity;
|
16965
|
+
target: OpenFin.Identity | null;
|
16966
16966
|
previousTarget: OpenFin.Identity;
|
16967
16967
|
viewIdentity: OpenFin.Identity;
|
16968
16968
|
};
|
package/out/node-adapter.js
CHANGED
@@ -12859,7 +12859,7 @@ var __classPrivateFieldSet$4 = (commonjsGlobal && commonjsGlobal.__classPrivateF
|
|
12859
12859
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
12860
12860
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
12861
12861
|
};
|
12862
|
-
var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_throwIfLayoutManagerNotInitialized;
|
12862
|
+
var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_getBackCompatLayoutManager, _LayoutModule_throwIfLayoutManagerNotInitialized;
|
12863
12863
|
Object.defineProperty(Factory$2, "__esModule", { value: true });
|
12864
12864
|
Factory$2.LayoutModule = void 0;
|
12865
12865
|
const base_1$5 = base$1;
|
@@ -12922,38 +12922,53 @@ class LayoutModule extends base_1$5.Base {
|
|
12922
12922
|
throw new Error('Layout.init was already called, please use Layout.create to add additional layouts.');
|
12923
12923
|
}
|
12924
12924
|
__classPrivateFieldSet$4(this, _LayoutModule_layoutInitializationAttempted, true, "f");
|
12925
|
-
|
12926
|
-
|
12927
|
-
|
12925
|
+
__classPrivateFieldSet$4(this, _LayoutModule_layoutManager, await this.wire.environment.initLayoutManager(this.fin, this.wire, options), "f");
|
12926
|
+
// apply the initial snapshot which in turn will call fin.Platform.Layout.create()
|
12927
|
+
const platformClient = await this.fin.Platform.getCurrentSync().getClient();
|
12928
|
+
const snapshot = await platformClient.dispatch('get-initial-layout-snapshot');
|
12929
|
+
await __classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f").applyLayoutSnapshot(snapshot);
|
12928
12930
|
if (!options.layoutManagerOverride) {
|
12929
|
-
|
12930
|
-
// Backward compat - undocumented / not typed openfin-layout as layoutManager
|
12931
|
-
return Object.assign(layout, { layoutManager: result.singleInstance });
|
12931
|
+
return __classPrivateFieldGet$4(this, _LayoutModule_getBackCompatLayoutManager, "f").call(this, this.fin);
|
12932
12932
|
}
|
12933
|
-
//
|
12933
|
+
// warn user if they do not call create() in the next 30 seconds
|
12934
12934
|
setTimeout(() => {
|
12935
12935
|
if (__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f").size() === 0) {
|
12936
|
-
console.warn(`[Layout.init] Layout.init was called but no layouts have been created yet. Make sure you ` +
|
12936
|
+
console.warn(`[Layout.init] Layout.init was called 30s ago, but no layouts have been created yet. Make sure you ` +
|
12937
12937
|
`override LayoutManager.applyLayoutSnapshot, and then call fin.Platform.Layout.create()`);
|
12938
12938
|
}
|
12939
|
-
},
|
12939
|
+
}, 30000);
|
12940
12940
|
return this.wrapSync(this.fin.me.identity);
|
12941
12941
|
};
|
12942
|
+
_LayoutModule_getBackCompatLayoutManager.set(this, async (fin) => {
|
12943
|
+
let layoutManager;
|
12944
|
+
let resolve;
|
12945
|
+
const layoutResolved = new Promise((r) => {
|
12946
|
+
resolve = r;
|
12947
|
+
});
|
12948
|
+
// wait for a layout to be created
|
12949
|
+
await fin.me.once('layout-ready', async ({ layoutIdentity }) => {
|
12950
|
+
layoutManager = await this.wire.environment.resolveLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), layoutIdentity);
|
12951
|
+
// Backward compat - undocumented / not typed openfin-layout as layoutManager
|
12952
|
+
// TODO: eventually deprecate this
|
12953
|
+
resolve(Object.assign(this.wrapSync(layoutIdentity), { layoutManager }));
|
12954
|
+
});
|
12955
|
+
return layoutResolved;
|
12956
|
+
});
|
12942
12957
|
/**
|
12943
12958
|
* Returns the layout manager for the current window
|
12944
12959
|
* @returns
|
12945
12960
|
*/
|
12946
12961
|
this.getCurrentLayoutManagerSync = () => {
|
12947
|
-
__classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this);
|
12962
|
+
__classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this, `fin.Platform.Layout.getCurrentLayoutManagerSync()`);
|
12948
12963
|
// @ts-expect-error User may have implemented their own snapshot type when overriding LayoutManager
|
12949
12964
|
return __classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f");
|
12950
12965
|
};
|
12951
12966
|
this.create = async (options) => {
|
12952
|
-
__classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this);
|
12967
|
+
__classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this, `fin.Platform.Layout.create()`);
|
12953
12968
|
return this.wire.environment.createLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), options);
|
12954
12969
|
};
|
12955
12970
|
this.destroy = async (layoutIdentity) => {
|
12956
|
-
__classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this);
|
12971
|
+
__classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this, `fin.Platform.Layout.destroy()`);
|
12957
12972
|
return this.wire.environment.destroyLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), layoutIdentity);
|
12958
12973
|
};
|
12959
12974
|
}
|
@@ -13052,9 +13067,9 @@ class LayoutModule extends base_1$5.Base {
|
|
13052
13067
|
}
|
13053
13068
|
}
|
13054
13069
|
Factory$2.LayoutModule = LayoutModule;
|
13055
|
-
_LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_throwIfLayoutManagerNotInitialized = function _LayoutModule_throwIfLayoutManagerNotInitialized() {
|
13070
|
+
_LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_getBackCompatLayoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_throwIfLayoutManagerNotInitialized = function _LayoutModule_throwIfLayoutManagerNotInitialized(method) {
|
13056
13071
|
if (!__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f")) {
|
13057
|
-
throw new Error(
|
13072
|
+
throw new Error(`You must call init before using the API ${method}`);
|
13058
13073
|
}
|
13059
13074
|
};
|
13060
13075
|
|
@@ -17500,7 +17515,7 @@ function requireNodeEnv () {
|
|
17500
17515
|
getRtcPeer() {
|
17501
17516
|
throw new Error('Method not implemented.');
|
17502
17517
|
}
|
17503
|
-
async
|
17518
|
+
async initLayoutManager() {
|
17504
17519
|
throw new Error('Method not implemented.');
|
17505
17520
|
}
|
17506
17521
|
async createLayout() {
|
@@ -17509,6 +17524,9 @@ function requireNodeEnv () {
|
|
17509
17524
|
async destroyLayout() {
|
17510
17525
|
throw new Error('Method not implemented.');
|
17511
17526
|
}
|
17527
|
+
async resolveLayout() {
|
17528
|
+
throw new Error('Method not implemented.');
|
17529
|
+
}
|
17512
17530
|
async initPlatform() {
|
17513
17531
|
throw new Error('Method not implemented.');
|
17514
17532
|
}
|