@openfin/core 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/mock.js CHANGED
@@ -1232,6 +1232,15 @@ class LayoutNode {
1232
1232
  /**
1233
1233
  * Creates a new TabStack adjacent to the given TabStack or ColumnOrRow. Inputs can be new views to create, or existing views.
1234
1234
  *
1235
+ * Known Issue: If the number of views to add overflows the tab-container, the added views will be set as active
1236
+ * during each render, and then placed at the front of the tab-stack, while the underlying order of tabs will remain unchanged.
1237
+ * This means the views you pass to createAdjacentStack() may not render in the order given by the array.
1238
+ * Until fixed, this problem can be avoided only if your window is wide enough to fit creating all the views in the tabstack.
1239
+ *
1240
+ * @param views The views that will populate the new TabStack.
1241
+ * @param options Additional options that control new TabStack creation.
1242
+ * @returns The newly-created TabStack.
1243
+ *
1235
1244
  * @example
1236
1245
  * ```js
1237
1246
  * if (!fin.me.isView) {
@@ -1266,13 +1275,16 @@ class LayoutNode {
1266
1275
  * console.log(`A new TabStack created to the right has ${newStack.length} views in it`);
1267
1276
  *
1268
1277
  * ```
1278
+ * @experimental
1269
1279
  */
1270
1280
  this.createAdjacentStack = async (views, options) => {
1271
1281
  const entityId = await __classPrivateFieldGet$e(this, _LayoutNode_client, "f").createAdjacentStack(this.entityId, views, options);
1272
1282
  return LayoutNode.getEntity({ entityId, type: 'stack' }, __classPrivateFieldGet$e(this, _LayoutNode_client, "f"));
1273
1283
  };
1274
1284
  /**
1275
- * Retrieves the adjacent TabStacks of the given TabStack or ColumnOrRow
1285
+ * Retrieves the adjacent TabStacks of the given TabStack or ColumnOrRow.
1286
+ *
1287
+ * @param edge Edge whose adjacent TabStacks will be returned.
1276
1288
  *
1277
1289
  * @example
1278
1290
  * ```js
@@ -1292,6 +1304,7 @@ class LayoutNode {
1292
1304
  * console.log(`The entity has ${rightStacks.length} stacks to the right, and ${leftStacks.length} stacks to the left`);
1293
1305
  *
1294
1306
  * ```
1307
+ * @experimental
1295
1308
  */
1296
1309
  this.getAdjacentStacks = async (edge) => {
1297
1310
  const adjacentStacks = await __classPrivateFieldGet$e(this, _LayoutNode_client, "f").getAdjacentStacks({
@@ -1335,74 +1348,10 @@ LayoutNode.getEntity = (definition, client) => {
1335
1348
  throw new Error(`Unrecognised Layout Entity encountered ('${JSON.stringify(definition)})`);
1336
1349
  }
1337
1350
  };
1338
- /**
1339
- * @typedef {string} LayoutPosition
1340
- * @summary Represents the position of an item in a layout relative to another. Possible values are 'top', 'bottom', 'left' and 'right'.
1341
- */
1342
- /**
1343
- * @typedef {object} StackCreationOptions
1344
- * @summary Stack creation options.
1345
- * @property {LayoutPosition} [position] - The position to create the new {@link TabStack} in, relative to the given adjacent {@link TabStack}. Defaults to 'right'.
1346
- */
1347
- /**
1348
- * @typedef {object} TabStack~AddViewOptions
1349
- * @summary Options to use when adding a view to a {@link TabStack}
1350
- * @property {number} [index] - Insertion index when adding the view. Defaults to 0.
1351
- */
1352
1351
  /**
1353
1352
  * A TabStack is used to manage the state of a stack of tabs within an OpenFin Layout.
1354
1353
  */
1355
1354
  class TabStack extends LayoutNode {
1356
- /**
1357
- * Determines if this {@link TabStack} is the top level content item in the current layout.
1358
- * @function isRoot
1359
- * @memberof TabStack
1360
- * @instance
1361
- * @tutorial TabStack.isRoot
1362
- * @returns Resolves true if this TabStack is the top level content item, or false if it is not.
1363
- */
1364
- /**
1365
- * Determines if this {@link TabStack} exists.
1366
- * @function exists
1367
- * @instance
1368
- * @memberof TabStack
1369
- * @tutorial TabStack.exists
1370
- * @returns Resolves true if this is the TabStack exists, or false if it has been destroyed.
1371
- */
1372
- /**
1373
- * Retrieves the parent {@link ColumnOrRow} of this {@link TabStack}, if one exists.
1374
- * @function getParent
1375
- * @instance
1376
- * @memberof TabStack
1377
- * @tutorial TabStack.getParent
1378
- * @returns is the root content item or does not exist.
1379
- */
1380
- /**
1381
- * Returns all the adjacent stacks that share an edge with the given {@link TabStack}.
1382
- * @function getAdjacentStacks
1383
- * @instance
1384
- * @memberof TabStack
1385
- * @param {LayoutPosition} edge - Edge to check for any adjacent stacks.
1386
- *
1387
- * @tutorial TabStack.getAdjacentStacks
1388
- */
1389
- /**
1390
- * Given a list of view creation options or references and a layout position, creates a {@link TabStack} adjacent to the current {@link TabStack}
1391
- *
1392
- * Known Issue: If the number of views to add overflows the tab-container, the added views will be set as active
1393
- * during each render, and then placed at the front of the tab-stack, while the underlying order of tabs will remain unchanged.
1394
- * This means the views you pass to createAdjacentStack() may not render in the order given by the array.
1395
- * Until fixed, this problem can be avoided only if your window is wide enough to fit creating all the views in the tabstack.
1396
- *
1397
- * @function createAdjacentStack
1398
- * @instance
1399
- * @memberof TabStack
1400
- * @param views - List of identities or view creation options of the views to include in the stack
1401
- * @param options - Creation options.
1402
- * @returns The created TabStack.
1403
- * @tutorial TabStack.createAdjacentStack
1404
- * @experimental
1405
- */
1406
1355
  /** @internal */
1407
1356
  constructor(client, entityId) {
1408
1357
  super(client, entityId);
@@ -1535,57 +1484,6 @@ _TabStack_client = new WeakMap();
1535
1484
  * A ColumnOrRow is used to manage the state of Column and Rows within an OpenFin Layout.
1536
1485
  */
1537
1486
  class ColumnOrRow extends LayoutNode {
1538
- /**
1539
- * Determines if this {@link ColumnOrRow} is the top level content item in the current layout.
1540
- * @function isRoot
1541
- * @memberof ColumnOrRow
1542
- * @instance
1543
- * @tutorial ColumnOrRow.isRoot
1544
- * @returns Resolves true if this TabStack is the top level content item, or false if it is not.
1545
- */
1546
- /**
1547
- * Determines if this {@link ColumnOrRow} exists.
1548
- * @function exists
1549
- * @instance
1550
- * @memberof ColumnOrRow
1551
- * @tutorial ColumnOrRow.exists
1552
- * @returns Resolves true if the TabStack exists, or false if it has been destroyed.
1553
- */
1554
- /**
1555
- * Retrieves the parent {@link ColumnOrRow} of this {@link ColumnOrRow}, if one exists.
1556
- * @function getParent
1557
- * @instance
1558
- * @memberof ColumnOrRow
1559
- * @tutorial ColumnOrRow.getParent
1560
- * @returns Promise resolving with the {@link ColumnOrRow} that contains this item, or undefined if
1561
- * this {@link ColumnOrRow}does not exist or is the root content item.
1562
- */
1563
- /**
1564
- * Returns all the adjacent stacks that share an edge with the given {@link ColumnOrRow}.
1565
- * @function getAdjacentStacks
1566
- * @instance
1567
- * @memberof ColumnOrRow
1568
- * @param {LayoutPosition} edge - Edge to check for any adjacent stacks.
1569
- *
1570
- * @tutorial ColumnOrRow.getAdjacentStacks
1571
- */
1572
- /**
1573
- * Given a list of view creation options or references and a layout position, creates a {@link TabStack} adjacent to the given {@link ColumnOrRow}
1574
- *
1575
- * Known Issue: If the number of views to add overflows the tab-container, the added views will be set as active
1576
- * during each render, and then placed at the front of the tab-stack, while the underlying order of tabs will remain unchanged.
1577
- * This means the views you pass to createAdjacentStack() may not render in the order given by the array.
1578
- * Until fixed, this problem can be avoided only if your window is wide enough to fit creating all the views in the tabstack.
1579
- *
1580
- * @function createAdjacentStack
1581
- * @instance
1582
- * @memberof ColumnOrRow
1583
- * @param views - List of identities or view creation options of the views to include in the stack
1584
- * @param options - Creation options.
1585
- * @returns The created TabStack
1586
- * @tutorial ColumnOrRow.createAdjacentStack
1587
- * @experimental
1588
- */
1589
1487
  /**
1590
1488
  * @internal
1591
1489
  */
@@ -1631,7 +1529,8 @@ var layout_constants = {};
1631
1529
  Object.defineProperty(layout_constants, "__esModule", { value: true });
1632
1530
  layout_constants.DEFAULT_LAYOUT_KEY = layout_constants.LAYOUT_CONTROLLER_ID = void 0;
1633
1531
  layout_constants.LAYOUT_CONTROLLER_ID = 'layout-entities';
1634
- layout_constants.DEFAULT_LAYOUT_KEY = 'default';
1532
+ // TODO: eventually export this somehow
1533
+ layout_constants.DEFAULT_LAYOUT_KEY = '__default__';
1635
1534
 
1636
1535
  var main = {};
1637
1536
 
@@ -3463,7 +3362,7 @@ function requireView () {
3463
3362
  * * {@link ViewModule} contains static members of the `View` API, accessible through `fin.View`.
3464
3363
  * * {@link View} describes an instance of an OpenFin View, e.g. as returned by `fin.View.getCurrent`.
3465
3364
  *
3466
- * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
3365
+ * 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),
3467
3366
  * both of these were documented on the same page.
3468
3367
  *
3469
3368
  * @packageDocumentation
@@ -4604,7 +4503,7 @@ function requireApplication () {
4604
4503
  * * {@link ApplicationModule} contains static members of the `Application` API, accessible through `fin.Application`.
4605
4504
  * * {@link Application} describes an instance of an OpenFin Application, e.g. as returned by `fin.Application.getCurrent`.
4606
4505
  *
4607
- * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
4506
+ * 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),
4608
4507
  * both of these were documented on the same page.
4609
4508
  *
4610
4509
  * @packageDocumentation
@@ -6661,7 +6560,7 @@ function requireWindow () {
6661
6560
  * * {@link _WindowModule} contains static members of the `Window` API, accessible through `fin.Window`.
6662
6561
  * * {@link _Window} describes an instance of an OpenFin Window, e.g. as returned by `fin.Window.getCurrent`.
6663
6562
  *
6664
- * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
6563
+ * 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),
6665
6564
  * both of these were documented on the same page.
6666
6565
  *
6667
6566
  * Underscore prefixing of OpenFin types that alias DOM entities will be fixed in a future version.
@@ -11415,7 +11314,7 @@ Factory$5.ExternalApplicationModule = ExternalApplicationModule;
11415
11314
  * * {@link ExternalApplicationModule} contains static members of the `ExternalApplication` type, accessible through `fin.ExternalApplication`.
11416
11315
  * * {@link ExternalApplication} describes an instance of an OpenFin ExternalApplication, e.g. as returned by `fin.ExternalApplication.getCurrent`.
11417
11316
  *
11418
- * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
11317
+ * 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),
11419
11318
  * both of these were documented on the same page.
11420
11319
  *
11421
11320
  * @packageDocumentation
@@ -11666,7 +11565,7 @@ Factory$4._FrameModule = _FrameModule;
11666
11565
  * * {@link _FrameModule} contains static members of the `Frame` API, accessible through `fin.Frame`.
11667
11566
  * * {@link _Frame} describes an instance of an OpenFin Frame, e.g. as returned by `fin.Frame.getCurrent`.
11668
11567
  *
11669
- * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
11568
+ * 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),
11670
11569
  * both of these were documented on the same page.
11671
11570
  *
11672
11571
  * Underscore prefixing of OpenFin types that alias DOM entities will be fixed in a future version.
@@ -13012,7 +12911,6 @@ class Layout extends base_1$6.Base {
13012
12911
  // don't expose
13013
12912
  });
13014
12913
  const client = await this.platform.getClient();
13015
- console.log(`Layout::toConfig() called!`);
13016
12914
  return client.dispatch('get-frame-snapshot', {
13017
12915
  target: this.identity
13018
12916
  });
@@ -13062,7 +12960,7 @@ class Layout extends base_1$6.Base {
13062
12960
  // don't expose
13063
12961
  });
13064
12962
  const client = await __classPrivateFieldGet$5(this, _Layout_layoutClient, "f").getValue();
13065
- const root = await client.getRoot(this.identity);
12963
+ const root = await client.getRoot('layoutName' in this.identity ? this.identity : undefined);
13066
12964
  return layout_entities_1.LayoutNode.getEntity(root, client);
13067
12965
  }
13068
12966
  }
@@ -13080,7 +12978,7 @@ var __classPrivateFieldSet$4 = (commonjsGlobal && commonjsGlobal.__classPrivateF
13080
12978
  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");
13081
12979
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
13082
12980
  };
13083
- var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_throwIfLayoutManagerNotInitialized;
12981
+ var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_getBackCompatLayoutManager, _LayoutModule_throwIfLayoutManagerNotInitialized;
13084
12982
  Object.defineProperty(Factory$2, "__esModule", { value: true });
13085
12983
  Factory$2.LayoutModule = void 0;
13086
12984
  const base_1$5 = base;
@@ -13143,39 +13041,53 @@ class LayoutModule extends base_1$5.Base {
13143
13041
  throw new Error('Layout.init was already called, please use Layout.create to add additional layouts.');
13144
13042
  }
13145
13043
  __classPrivateFieldSet$4(this, _LayoutModule_layoutInitializationAttempted, true, "f");
13146
- __classPrivateFieldSet$4(this, _LayoutModule_layoutManager, await this.wire.environment.initLayout(this.fin, this.wire, options), "f");
13147
- // back-compat ONLY if layoutManagerOverride not provided
13044
+ __classPrivateFieldSet$4(this, _LayoutModule_layoutManager, await this.wire.environment.initLayoutManager(this.fin, this.wire, options), "f");
13045
+ // apply the initial snapshot which in turn will call fin.Platform.Layout.create()
13046
+ const platformClient = await this.fin.Platform.getCurrentSync().getClient();
13047
+ const snapshot = await platformClient.dispatch('get-initial-layout-snapshot');
13048
+ await __classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f").applyLayoutSnapshot(snapshot);
13148
13049
  if (!options.layoutManagerOverride) {
13149
- const layoutInstance = await __classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f").resolveLayout();
13150
- const layout = this.wrapSync(layoutInstance.identity);
13151
- // Backward compat - undocumented / not typed layoutInstance as layoutManager
13152
- return Object.assign(layout, { layoutManager: layoutInstance });
13050
+ return __classPrivateFieldGet$4(this, _LayoutModule_getBackCompatLayoutManager, "f").call(this, this.fin);
13153
13051
  }
13154
- // Warn user if they do not create any layouts in the next 10 seconds
13052
+ // warn user if they do not call create() in the next 30 seconds
13155
13053
  setTimeout(() => {
13156
- const layoutSize = Object.keys(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f").getLayouts()).length;
13157
- if (layoutSize === 0) {
13158
- console.warn(`[Layout.init] Layout.init was called but no layouts have been created yet. Make sure you ` +
13054
+ if (__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f").size() === 0) {
13055
+ console.warn(`[Layout.init] Layout.init was called 30s ago, but no layouts have been created yet. Make sure you ` +
13159
13056
  `override LayoutManager.applyLayoutSnapshot, and then call fin.Platform.Layout.create()`);
13160
13057
  }
13161
- }, 10000);
13058
+ }, 30000);
13162
13059
  return this.wrapSync(this.fin.me.identity);
13163
13060
  };
13061
+ _LayoutModule_getBackCompatLayoutManager.set(this, async (fin) => {
13062
+ let layoutManager;
13063
+ let resolve;
13064
+ const layoutResolved = new Promise((r) => {
13065
+ resolve = r;
13066
+ });
13067
+ // wait for a layout to be created
13068
+ await fin.me.once('layout-ready', async ({ layoutIdentity }) => {
13069
+ layoutManager = await this.wire.environment.resolveLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), layoutIdentity);
13070
+ // Backward compat - undocumented / not typed openfin-layout as layoutManager
13071
+ // TODO: eventually deprecate this
13072
+ resolve(Object.assign(this.wrapSync(layoutIdentity), { layoutManager }));
13073
+ });
13074
+ return layoutResolved;
13075
+ });
13164
13076
  /**
13165
13077
  * Returns the layout manager for the current window
13166
13078
  * @returns
13167
13079
  */
13168
13080
  this.getCurrentLayoutManagerSync = () => {
13169
- __classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this);
13081
+ __classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this, `fin.Platform.Layout.getCurrentLayoutManagerSync()`);
13170
13082
  // @ts-expect-error User may have implemented their own snapshot type when overriding LayoutManager
13171
13083
  return __classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f");
13172
13084
  };
13173
13085
  this.create = async (options) => {
13174
- __classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this);
13086
+ __classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this, `fin.Platform.Layout.create()`);
13175
13087
  return this.wire.environment.createLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), options);
13176
13088
  };
13177
13089
  this.destroy = async (layoutIdentity) => {
13178
- __classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this);
13090
+ __classPrivateFieldGet$4(this, _LayoutModule_instances, "m", _LayoutModule_throwIfLayoutManagerNotInitialized).call(this, `fin.Platform.Layout.destroy()`);
13179
13091
  return this.wire.environment.destroyLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), layoutIdentity);
13180
13092
  };
13181
13093
  }
@@ -13274,9 +13186,9 @@ class LayoutModule extends base_1$5.Base {
13274
13186
  }
13275
13187
  }
13276
13188
  Factory$2.LayoutModule = LayoutModule;
13277
- _LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_throwIfLayoutManagerNotInitialized = function _LayoutModule_throwIfLayoutManagerNotInitialized() {
13189
+ _LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_getBackCompatLayoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_throwIfLayoutManagerNotInitialized = function _LayoutModule_throwIfLayoutManagerNotInitialized(method) {
13278
13190
  if (!__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f")) {
13279
- throw new Error('You must call init before using this API');
13191
+ throw new Error(`You must call init before using the API ${method}`);
13280
13192
  }
13281
13193
  };
13282
13194
 
@@ -13287,7 +13199,7 @@ _LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layou
13287
13199
  * * {@link LayoutModule} contains static members of the `Layout` API, accessible through `fin.Platform.Layout`.
13288
13200
  * * {@link Layout} describes an instance of an OpenFin Layout, e.g. as returned by `fin.Platform.Layout.getCurrent`.
13289
13201
  *
13290
- * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
13202
+ * 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),
13291
13203
  * both of these were documented on the same page.
13292
13204
  *
13293
13205
  * @packageDocumentation
@@ -13568,7 +13480,7 @@ Factory$3.PlatformModule = PlatformModule;
13568
13480
  * * {@link PlatformModule} contains static members of the `Platform` API, accessible through `fin.Platform`.
13569
13481
  * * {@link Platform} describes an instance of an OpenFin Platform, e.g. as returned by `fin.Platform.getCurrent`.
13570
13482
  *
13571
- * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
13483
+ * 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),
13572
13484
  * both of these were documented on the same page.
13573
13485
  *
13574
13486
  * @packageDocumentation
@@ -14975,7 +14887,7 @@ function requireInteropBroker () {
14975
14887
  * // }
14976
14888
  * ```
14977
14889
  *
14978
- * More information on the IntentResolution type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/IntentResolution).
14890
+ * More information on the IntentResolution type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/Metadata#intentresolution).
14979
14891
  *
14980
14892
  * @param contextForIntent Data passed between entities and applications.
14981
14893
  * @param clientIdentity Identity of the Client making the request.
@@ -16778,7 +16690,7 @@ Factory.SnapshotSourceModule = SnapshotSourceModule;
16778
16690
  * * {@link SnapshotSourceModule} contains static members of the `SnapshotSource` API, accessible through `fin.SnapshotSource`.
16779
16691
  * * {@link SnapshotSource} describes an instance of an OpenFin SnapshotSource, e.g. as returned by `fin.SnapshotSource.wrap`.
16780
16692
  *
16781
- * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
16693
+ * 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),
16782
16694
  * both of these were documented on the same page.
16783
16695
  *
16784
16696
  * @packageDocumentation
@@ -17212,7 +17124,7 @@ class MockEnvironment {
17212
17124
  getRtcPeer() {
17213
17125
  throw new Error(me_1.environmentUnsupportedMessage);
17214
17126
  }
17215
- initLayout() {
17127
+ initLayoutManager() {
17216
17128
  throw new Error(me_1.environmentUnsupportedMessage);
17217
17129
  }
17218
17130
  async createLayout() {
@@ -17221,6 +17133,9 @@ class MockEnvironment {
17221
17133
  async destroyLayout() {
17222
17134
  throw new Error(me_1.environmentUnsupportedMessage);
17223
17135
  }
17136
+ async resolveLayout() {
17137
+ throw new Error(me_1.environmentUnsupportedMessage);
17138
+ }
17224
17139
  initPlatform() {
17225
17140
  throw new Error(me_1.environmentUnsupportedMessage);
17226
17141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "34.78.54",
3
+ "version": "34.78.57",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.MD",
6
6
  "main": "out/mock.js",