@openfin/node-adapter 34.78.54 → 34.78.57
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/out/node-adapter-alpha.d.ts +76 -55
- package/out/node-adapter-beta.d.ts +76 -55
- package/out/node-adapter-public.d.ts +76 -55
- package/out/node-adapter.d.ts +91 -178
- package/out/node-adapter.js +61 -146
- package/package.json +1 -1
package/out/node-adapter.js
CHANGED
@@ -1012,6 +1012,15 @@ class LayoutNode {
|
|
1012
1012
|
/**
|
1013
1013
|
* Creates a new TabStack adjacent to the given TabStack or ColumnOrRow. Inputs can be new views to create, or existing views.
|
1014
1014
|
*
|
1015
|
+
* Known Issue: If the number of views to add overflows the tab-container, the added views will be set as active
|
1016
|
+
* during each render, and then placed at the front of the tab-stack, while the underlying order of tabs will remain unchanged.
|
1017
|
+
* This means the views you pass to createAdjacentStack() may not render in the order given by the array.
|
1018
|
+
* Until fixed, this problem can be avoided only if your window is wide enough to fit creating all the views in the tabstack.
|
1019
|
+
*
|
1020
|
+
* @param views The views that will populate the new TabStack.
|
1021
|
+
* @param options Additional options that control new TabStack creation.
|
1022
|
+
* @returns The newly-created TabStack.
|
1023
|
+
*
|
1015
1024
|
* @example
|
1016
1025
|
* ```js
|
1017
1026
|
* if (!fin.me.isView) {
|
@@ -1046,13 +1055,16 @@ class LayoutNode {
|
|
1046
1055
|
* console.log(`A new TabStack created to the right has ${newStack.length} views in it`);
|
1047
1056
|
*
|
1048
1057
|
* ```
|
1058
|
+
* @experimental
|
1049
1059
|
*/
|
1050
1060
|
this.createAdjacentStack = async (views, options) => {
|
1051
1061
|
const entityId = await __classPrivateFieldGet$e(this, _LayoutNode_client, "f").createAdjacentStack(this.entityId, views, options);
|
1052
1062
|
return LayoutNode.getEntity({ entityId, type: 'stack' }, __classPrivateFieldGet$e(this, _LayoutNode_client, "f"));
|
1053
1063
|
};
|
1054
1064
|
/**
|
1055
|
-
* Retrieves the adjacent TabStacks of the given TabStack or ColumnOrRow
|
1065
|
+
* Retrieves the adjacent TabStacks of the given TabStack or ColumnOrRow.
|
1066
|
+
*
|
1067
|
+
* @param edge Edge whose adjacent TabStacks will be returned.
|
1056
1068
|
*
|
1057
1069
|
* @example
|
1058
1070
|
* ```js
|
@@ -1072,6 +1084,7 @@ class LayoutNode {
|
|
1072
1084
|
* console.log(`The entity has ${rightStacks.length} stacks to the right, and ${leftStacks.length} stacks to the left`);
|
1073
1085
|
*
|
1074
1086
|
* ```
|
1087
|
+
* @experimental
|
1075
1088
|
*/
|
1076
1089
|
this.getAdjacentStacks = async (edge) => {
|
1077
1090
|
const adjacentStacks = await __classPrivateFieldGet$e(this, _LayoutNode_client, "f").getAdjacentStacks({
|
@@ -1115,74 +1128,10 @@ LayoutNode.getEntity = (definition, client) => {
|
|
1115
1128
|
throw new Error(`Unrecognised Layout Entity encountered ('${JSON.stringify(definition)})`);
|
1116
1129
|
}
|
1117
1130
|
};
|
1118
|
-
/**
|
1119
|
-
* @typedef {string} LayoutPosition
|
1120
|
-
* @summary Represents the position of an item in a layout relative to another. Possible values are 'top', 'bottom', 'left' and 'right'.
|
1121
|
-
*/
|
1122
|
-
/**
|
1123
|
-
* @typedef {object} StackCreationOptions
|
1124
|
-
* @summary Stack creation options.
|
1125
|
-
* @property {LayoutPosition} [position] - The position to create the new {@link TabStack} in, relative to the given adjacent {@link TabStack}. Defaults to 'right'.
|
1126
|
-
*/
|
1127
|
-
/**
|
1128
|
-
* @typedef {object} TabStack~AddViewOptions
|
1129
|
-
* @summary Options to use when adding a view to a {@link TabStack}
|
1130
|
-
* @property {number} [index] - Insertion index when adding the view. Defaults to 0.
|
1131
|
-
*/
|
1132
1131
|
/**
|
1133
1132
|
* A TabStack is used to manage the state of a stack of tabs within an OpenFin Layout.
|
1134
1133
|
*/
|
1135
1134
|
class TabStack extends LayoutNode {
|
1136
|
-
/**
|
1137
|
-
* Determines if this {@link TabStack} is the top level content item in the current layout.
|
1138
|
-
* @function isRoot
|
1139
|
-
* @memberof TabStack
|
1140
|
-
* @instance
|
1141
|
-
* @tutorial TabStack.isRoot
|
1142
|
-
* @returns Resolves true if this TabStack is the top level content item, or false if it is not.
|
1143
|
-
*/
|
1144
|
-
/**
|
1145
|
-
* Determines if this {@link TabStack} exists.
|
1146
|
-
* @function exists
|
1147
|
-
* @instance
|
1148
|
-
* @memberof TabStack
|
1149
|
-
* @tutorial TabStack.exists
|
1150
|
-
* @returns Resolves true if this is the TabStack exists, or false if it has been destroyed.
|
1151
|
-
*/
|
1152
|
-
/**
|
1153
|
-
* Retrieves the parent {@link ColumnOrRow} of this {@link TabStack}, if one exists.
|
1154
|
-
* @function getParent
|
1155
|
-
* @instance
|
1156
|
-
* @memberof TabStack
|
1157
|
-
* @tutorial TabStack.getParent
|
1158
|
-
* @returns is the root content item or does not exist.
|
1159
|
-
*/
|
1160
|
-
/**
|
1161
|
-
* Returns all the adjacent stacks that share an edge with the given {@link TabStack}.
|
1162
|
-
* @function getAdjacentStacks
|
1163
|
-
* @instance
|
1164
|
-
* @memberof TabStack
|
1165
|
-
* @param {LayoutPosition} edge - Edge to check for any adjacent stacks.
|
1166
|
-
*
|
1167
|
-
* @tutorial TabStack.getAdjacentStacks
|
1168
|
-
*/
|
1169
|
-
/**
|
1170
|
-
* Given a list of view creation options or references and a layout position, creates a {@link TabStack} adjacent to the current {@link TabStack}
|
1171
|
-
*
|
1172
|
-
* Known Issue: If the number of views to add overflows the tab-container, the added views will be set as active
|
1173
|
-
* during each render, and then placed at the front of the tab-stack, while the underlying order of tabs will remain unchanged.
|
1174
|
-
* This means the views you pass to createAdjacentStack() may not render in the order given by the array.
|
1175
|
-
* Until fixed, this problem can be avoided only if your window is wide enough to fit creating all the views in the tabstack.
|
1176
|
-
*
|
1177
|
-
* @function createAdjacentStack
|
1178
|
-
* @instance
|
1179
|
-
* @memberof TabStack
|
1180
|
-
* @param views - List of identities or view creation options of the views to include in the stack
|
1181
|
-
* @param options - Creation options.
|
1182
|
-
* @returns The created TabStack.
|
1183
|
-
* @tutorial TabStack.createAdjacentStack
|
1184
|
-
* @experimental
|
1185
|
-
*/
|
1186
1135
|
/** @internal */
|
1187
1136
|
constructor(client, entityId) {
|
1188
1137
|
super(client, entityId);
|
@@ -1315,57 +1264,6 @@ _TabStack_client = new WeakMap();
|
|
1315
1264
|
* A ColumnOrRow is used to manage the state of Column and Rows within an OpenFin Layout.
|
1316
1265
|
*/
|
1317
1266
|
class ColumnOrRow extends LayoutNode {
|
1318
|
-
/**
|
1319
|
-
* Determines if this {@link ColumnOrRow} is the top level content item in the current layout.
|
1320
|
-
* @function isRoot
|
1321
|
-
* @memberof ColumnOrRow
|
1322
|
-
* @instance
|
1323
|
-
* @tutorial ColumnOrRow.isRoot
|
1324
|
-
* @returns Resolves true if this TabStack is the top level content item, or false if it is not.
|
1325
|
-
*/
|
1326
|
-
/**
|
1327
|
-
* Determines if this {@link ColumnOrRow} exists.
|
1328
|
-
* @function exists
|
1329
|
-
* @instance
|
1330
|
-
* @memberof ColumnOrRow
|
1331
|
-
* @tutorial ColumnOrRow.exists
|
1332
|
-
* @returns Resolves true if the TabStack exists, or false if it has been destroyed.
|
1333
|
-
*/
|
1334
|
-
/**
|
1335
|
-
* Retrieves the parent {@link ColumnOrRow} of this {@link ColumnOrRow}, if one exists.
|
1336
|
-
* @function getParent
|
1337
|
-
* @instance
|
1338
|
-
* @memberof ColumnOrRow
|
1339
|
-
* @tutorial ColumnOrRow.getParent
|
1340
|
-
* @returns Promise resolving with the {@link ColumnOrRow} that contains this item, or undefined if
|
1341
|
-
* this {@link ColumnOrRow}does not exist or is the root content item.
|
1342
|
-
*/
|
1343
|
-
/**
|
1344
|
-
* Returns all the adjacent stacks that share an edge with the given {@link ColumnOrRow}.
|
1345
|
-
* @function getAdjacentStacks
|
1346
|
-
* @instance
|
1347
|
-
* @memberof ColumnOrRow
|
1348
|
-
* @param {LayoutPosition} edge - Edge to check for any adjacent stacks.
|
1349
|
-
*
|
1350
|
-
* @tutorial ColumnOrRow.getAdjacentStacks
|
1351
|
-
*/
|
1352
|
-
/**
|
1353
|
-
* Given a list of view creation options or references and a layout position, creates a {@link TabStack} adjacent to the given {@link ColumnOrRow}
|
1354
|
-
*
|
1355
|
-
* Known Issue: If the number of views to add overflows the tab-container, the added views will be set as active
|
1356
|
-
* during each render, and then placed at the front of the tab-stack, while the underlying order of tabs will remain unchanged.
|
1357
|
-
* This means the views you pass to createAdjacentStack() may not render in the order given by the array.
|
1358
|
-
* Until fixed, this problem can be avoided only if your window is wide enough to fit creating all the views in the tabstack.
|
1359
|
-
*
|
1360
|
-
* @function createAdjacentStack
|
1361
|
-
* @instance
|
1362
|
-
* @memberof ColumnOrRow
|
1363
|
-
* @param views - List of identities or view creation options of the views to include in the stack
|
1364
|
-
* @param options - Creation options.
|
1365
|
-
* @returns The created TabStack
|
1366
|
-
* @tutorial ColumnOrRow.createAdjacentStack
|
1367
|
-
* @experimental
|
1368
|
-
*/
|
1369
1267
|
/**
|
1370
1268
|
* @internal
|
1371
1269
|
*/
|
@@ -1411,7 +1309,8 @@ var layout_constants = {};
|
|
1411
1309
|
Object.defineProperty(layout_constants, "__esModule", { value: true });
|
1412
1310
|
layout_constants.DEFAULT_LAYOUT_KEY = layout_constants.LAYOUT_CONTROLLER_ID = void 0;
|
1413
1311
|
layout_constants.LAYOUT_CONTROLLER_ID = 'layout-entities';
|
1414
|
-
|
1312
|
+
// TODO: eventually export this somehow
|
1313
|
+
layout_constants.DEFAULT_LAYOUT_KEY = '__default__';
|
1415
1314
|
|
1416
1315
|
var main = {};
|
1417
1316
|
|
@@ -3243,7 +3142,7 @@ function requireView () {
|
|
3243
3142
|
* * {@link ViewModule} contains static members of the `View` API, accessible through `fin.View`.
|
3244
3143
|
* * {@link View} describes an instance of an OpenFin View, e.g. as returned by `fin.View.getCurrent`.
|
3245
3144
|
*
|
3246
|
-
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/
|
3145
|
+
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/32.114.76.10/index.html),
|
3247
3146
|
* both of these were documented on the same page.
|
3248
3147
|
*
|
3249
3148
|
* @packageDocumentation
|
@@ -4384,7 +4283,7 @@ function requireApplication () {
|
|
4384
4283
|
* * {@link ApplicationModule} contains static members of the `Application` API, accessible through `fin.Application`.
|
4385
4284
|
* * {@link Application} describes an instance of an OpenFin Application, e.g. as returned by `fin.Application.getCurrent`.
|
4386
4285
|
*
|
4387
|
-
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/
|
4286
|
+
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/32.114.76.10/index.html),
|
4388
4287
|
* both of these were documented on the same page.
|
4389
4288
|
*
|
4390
4289
|
* @packageDocumentation
|
@@ -6441,7 +6340,7 @@ function requireWindow () {
|
|
6441
6340
|
* * {@link _WindowModule} contains static members of the `Window` API, accessible through `fin.Window`.
|
6442
6341
|
* * {@link _Window} describes an instance of an OpenFin Window, e.g. as returned by `fin.Window.getCurrent`.
|
6443
6342
|
*
|
6444
|
-
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/
|
6343
|
+
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/32.114.76.10/index.html),
|
6445
6344
|
* both of these were documented on the same page.
|
6446
6345
|
*
|
6447
6346
|
* Underscore prefixing of OpenFin types that alias DOM entities will be fixed in a future version.
|
@@ -11195,7 +11094,7 @@ Factory$5.ExternalApplicationModule = ExternalApplicationModule;
|
|
11195
11094
|
* * {@link ExternalApplicationModule} contains static members of the `ExternalApplication` type, accessible through `fin.ExternalApplication`.
|
11196
11095
|
* * {@link ExternalApplication} describes an instance of an OpenFin ExternalApplication, e.g. as returned by `fin.ExternalApplication.getCurrent`.
|
11197
11096
|
*
|
11198
|
-
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/
|
11097
|
+
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/32.114.76.10/index.html),
|
11199
11098
|
* both of these were documented on the same page.
|
11200
11099
|
*
|
11201
11100
|
* @packageDocumentation
|
@@ -11446,7 +11345,7 @@ Factory$4._FrameModule = _FrameModule;
|
|
11446
11345
|
* * {@link _FrameModule} contains static members of the `Frame` API, accessible through `fin.Frame`.
|
11447
11346
|
* * {@link _Frame} describes an instance of an OpenFin Frame, e.g. as returned by `fin.Frame.getCurrent`.
|
11448
11347
|
*
|
11449
|
-
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/
|
11348
|
+
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/32.114.76.10/index.html),
|
11450
11349
|
* both of these were documented on the same page.
|
11451
11350
|
*
|
11452
11351
|
* Underscore prefixing of OpenFin types that alias DOM entities will be fixed in a future version.
|
@@ -12792,7 +12691,6 @@ class Layout extends base_1$6.Base {
|
|
12792
12691
|
// don't expose
|
12793
12692
|
});
|
12794
12693
|
const client = await this.platform.getClient();
|
12795
|
-
console.log(`Layout::toConfig() called!`);
|
12796
12694
|
return client.dispatch('get-frame-snapshot', {
|
12797
12695
|
target: this.identity
|
12798
12696
|
});
|
@@ -12842,7 +12740,7 @@ class Layout extends base_1$6.Base {
|
|
12842
12740
|
// don't expose
|
12843
12741
|
});
|
12844
12742
|
const client = await __classPrivateFieldGet$5(this, _Layout_layoutClient, "f").getValue();
|
12845
|
-
const root = await client.getRoot(this.identity);
|
12743
|
+
const root = await client.getRoot('layoutName' in this.identity ? this.identity : undefined);
|
12846
12744
|
return layout_entities_1.LayoutNode.getEntity(root, client);
|
12847
12745
|
}
|
12848
12746
|
}
|
@@ -12860,7 +12758,7 @@ var __classPrivateFieldSet$4 = (commonjsGlobal && commonjsGlobal.__classPrivateF
|
|
12860
12758
|
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");
|
12861
12759
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
12862
12760
|
};
|
12863
|
-
var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_throwIfLayoutManagerNotInitialized;
|
12761
|
+
var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_getBackCompatLayoutManager, _LayoutModule_throwIfLayoutManagerNotInitialized;
|
12864
12762
|
Object.defineProperty(Factory$2, "__esModule", { value: true });
|
12865
12763
|
Factory$2.LayoutModule = void 0;
|
12866
12764
|
const base_1$5 = base$1;
|
@@ -12923,39 +12821,53 @@ class LayoutModule extends base_1$5.Base {
|
|
12923
12821
|
throw new Error('Layout.init was already called, please use Layout.create to add additional layouts.');
|
12924
12822
|
}
|
12925
12823
|
__classPrivateFieldSet$4(this, _LayoutModule_layoutInitializationAttempted, true, "f");
|
12926
|
-
__classPrivateFieldSet$4(this, _LayoutModule_layoutManager, await this.wire.environment.
|
12927
|
-
//
|
12824
|
+
__classPrivateFieldSet$4(this, _LayoutModule_layoutManager, await this.wire.environment.initLayoutManager(this.fin, this.wire, options), "f");
|
12825
|
+
// apply the initial snapshot which in turn will call fin.Platform.Layout.create()
|
12826
|
+
const platformClient = await this.fin.Platform.getCurrentSync().getClient();
|
12827
|
+
const snapshot = await platformClient.dispatch('get-initial-layout-snapshot');
|
12828
|
+
await __classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f").applyLayoutSnapshot(snapshot);
|
12928
12829
|
if (!options.layoutManagerOverride) {
|
12929
|
-
|
12930
|
-
const layout = this.wrapSync(layoutInstance.identity);
|
12931
|
-
// Backward compat - undocumented / not typed layoutInstance as layoutManager
|
12932
|
-
return Object.assign(layout, { layoutManager: layoutInstance });
|
12830
|
+
return __classPrivateFieldGet$4(this, _LayoutModule_getBackCompatLayoutManager, "f").call(this, this.fin);
|
12933
12831
|
}
|
12934
|
-
//
|
12832
|
+
// warn user if they do not call create() in the next 30 seconds
|
12935
12833
|
setTimeout(() => {
|
12936
|
-
|
12937
|
-
|
12938
|
-
console.warn(`[Layout.init] Layout.init was called but no layouts have been created yet. Make sure you ` +
|
12834
|
+
if (__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f").size() === 0) {
|
12835
|
+
console.warn(`[Layout.init] Layout.init was called 30s ago, but no layouts have been created yet. Make sure you ` +
|
12939
12836
|
`override LayoutManager.applyLayoutSnapshot, and then call fin.Platform.Layout.create()`);
|
12940
12837
|
}
|
12941
|
-
},
|
12838
|
+
}, 30000);
|
12942
12839
|
return this.wrapSync(this.fin.me.identity);
|
12943
12840
|
};
|
12841
|
+
_LayoutModule_getBackCompatLayoutManager.set(this, async (fin) => {
|
12842
|
+
let layoutManager;
|
12843
|
+
let resolve;
|
12844
|
+
const layoutResolved = new Promise((r) => {
|
12845
|
+
resolve = r;
|
12846
|
+
});
|
12847
|
+
// wait for a layout to be created
|
12848
|
+
await fin.me.once('layout-ready', async ({ layoutIdentity }) => {
|
12849
|
+
layoutManager = await this.wire.environment.resolveLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), layoutIdentity);
|
12850
|
+
// Backward compat - undocumented / not typed openfin-layout as layoutManager
|
12851
|
+
// TODO: eventually deprecate this
|
12852
|
+
resolve(Object.assign(this.wrapSync(layoutIdentity), { layoutManager }));
|
12853
|
+
});
|
12854
|
+
return layoutResolved;
|
12855
|
+
});
|
12944
12856
|
/**
|
12945
12857
|
* Returns the layout manager for the current window
|
12946
12858
|
* @returns
|
12947
12859
|
*/
|
12948
12860
|
this.getCurrentLayoutManagerSync = () => {
|
12949
|
-
__classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this);
|
12861
|
+
__classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this, `fin.Platform.Layout.getCurrentLayoutManagerSync()`);
|
12950
12862
|
// @ts-expect-error User may have implemented their own snapshot type when overriding LayoutManager
|
12951
12863
|
return __classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f");
|
12952
12864
|
};
|
12953
12865
|
this.create = async (options) => {
|
12954
|
-
__classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this);
|
12866
|
+
__classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this, `fin.Platform.Layout.create()`);
|
12955
12867
|
return this.wire.environment.createLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), options);
|
12956
12868
|
};
|
12957
12869
|
this.destroy = async (layoutIdentity) => {
|
12958
|
-
__classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this);
|
12870
|
+
__classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this, `fin.Platform.Layout.destroy()`);
|
12959
12871
|
return this.wire.environment.destroyLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), layoutIdentity);
|
12960
12872
|
};
|
12961
12873
|
}
|
@@ -13054,9 +12966,9 @@ class LayoutModule extends base_1$5.Base {
|
|
13054
12966
|
}
|
13055
12967
|
}
|
13056
12968
|
Factory$2.LayoutModule = LayoutModule;
|
13057
|
-
_LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_throwIfLayoutManagerNotInitialized = function _LayoutModule_throwIfLayoutManagerNotInitialized() {
|
12969
|
+
_LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_getBackCompatLayoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_throwIfLayoutManagerNotInitialized = function _LayoutModule_throwIfLayoutManagerNotInitialized(method) {
|
13058
12970
|
if (!__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f")) {
|
13059
|
-
throw new Error(
|
12971
|
+
throw new Error(`You must call init before using the API ${method}`);
|
13060
12972
|
}
|
13061
12973
|
};
|
13062
12974
|
|
@@ -13067,7 +12979,7 @@ _LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layou
|
|
13067
12979
|
* * {@link LayoutModule} contains static members of the `Layout` API, accessible through `fin.Platform.Layout`.
|
13068
12980
|
* * {@link Layout} describes an instance of an OpenFin Layout, e.g. as returned by `fin.Platform.Layout.getCurrent`.
|
13069
12981
|
*
|
13070
|
-
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/
|
12982
|
+
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/32.114.76.10/index.html),
|
13071
12983
|
* both of these were documented on the same page.
|
13072
12984
|
*
|
13073
12985
|
* @packageDocumentation
|
@@ -13348,7 +13260,7 @@ Factory$3.PlatformModule = PlatformModule;
|
|
13348
13260
|
* * {@link PlatformModule} contains static members of the `Platform` API, accessible through `fin.Platform`.
|
13349
13261
|
* * {@link Platform} describes an instance of an OpenFin Platform, e.g. as returned by `fin.Platform.getCurrent`.
|
13350
13262
|
*
|
13351
|
-
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/
|
13263
|
+
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/32.114.76.10/index.html),
|
13352
13264
|
* both of these were documented on the same page.
|
13353
13265
|
*
|
13354
13266
|
* @packageDocumentation
|
@@ -14755,7 +14667,7 @@ function requireInteropBroker () {
|
|
14755
14667
|
* // }
|
14756
14668
|
* ```
|
14757
14669
|
*
|
14758
|
-
* More information on the IntentResolution type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/
|
14670
|
+
* More information on the IntentResolution type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/Metadata#intentresolution).
|
14759
14671
|
*
|
14760
14672
|
* @param contextForIntent Data passed between entities and applications.
|
14761
14673
|
* @param clientIdentity Identity of the Client making the request.
|
@@ -16558,7 +16470,7 @@ Factory.SnapshotSourceModule = SnapshotSourceModule;
|
|
16558
16470
|
* * {@link SnapshotSourceModule} contains static members of the `SnapshotSource` API, accessible through `fin.SnapshotSource`.
|
16559
16471
|
* * {@link SnapshotSource} describes an instance of an OpenFin SnapshotSource, e.g. as returned by `fin.SnapshotSource.wrap`.
|
16560
16472
|
*
|
16561
|
-
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/
|
16473
|
+
* These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/32.114.76.10/index.html),
|
16562
16474
|
* both of these were documented on the same page.
|
16563
16475
|
*
|
16564
16476
|
* @packageDocumentation
|
@@ -17502,7 +17414,7 @@ function requireNodeEnv () {
|
|
17502
17414
|
getRtcPeer() {
|
17503
17415
|
throw new Error('Method not implemented.');
|
17504
17416
|
}
|
17505
|
-
async
|
17417
|
+
async initLayoutManager() {
|
17506
17418
|
throw new Error('Method not implemented.');
|
17507
17419
|
}
|
17508
17420
|
async createLayout() {
|
@@ -17511,6 +17423,9 @@ function requireNodeEnv () {
|
|
17511
17423
|
async destroyLayout() {
|
17512
17424
|
throw new Error('Method not implemented.');
|
17513
17425
|
}
|
17426
|
+
async resolveLayout() {
|
17427
|
+
throw new Error('Method not implemented.');
|
17428
|
+
}
|
17514
17429
|
async initPlatform() {
|
17515
17430
|
throw new Error('Method not implemented.');
|
17516
17431
|
}
|