@openfin/core 35.79.2 → 35.79.4
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-alpha.d.ts +35 -1
- package/out/mock-beta.d.ts +35 -1
- package/out/mock-public.d.ts +35 -1
- package/out/mock.d.ts +35 -1
- package/out/mock.js +8 -5
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
@@ -4362,6 +4362,32 @@ declare type CreateLayoutOptions = {
|
|
4362
4362
|
container: HTMLElement;
|
4363
4363
|
layoutName: string;
|
4364
4364
|
layout: LayoutOptions;
|
4365
|
+
/**
|
4366
|
+
* @defaultValue 'default'
|
4367
|
+
*
|
4368
|
+
* Controls the View behavior for the given `layout` property. Note
|
4369
|
+
* that the selected behavior only applies to unnamed Views or
|
4370
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
4371
|
+
* View in the `layout` does not already exist, it will be created
|
4372
|
+
* with a name that starts with `internal-generated-`.
|
4373
|
+
*
|
4374
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
4375
|
+
* be reparented to the current Window and added to this new Layout.
|
4376
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
4377
|
+
*
|
4378
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
4379
|
+
* be duplicated with new generated names. Use this option when you need
|
4380
|
+
* to clone a Layout to any Window.
|
4381
|
+
*
|
4382
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
4383
|
+
* existing Views only if they are attached to the current Window or
|
4384
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
4385
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
4386
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
4387
|
+
* attached to the Provider while the Window is being created, so it's
|
4388
|
+
* important to not 'duplicate' Views in this workflow.
|
4389
|
+
*/
|
4390
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
4365
4391
|
};
|
4366
4392
|
|
4367
4393
|
/**
|
@@ -7450,7 +7476,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
7450
7476
|
* @interface
|
7451
7477
|
*/
|
7452
7478
|
declare type InteropBrokerOptions = {
|
7453
|
-
contextGroups?: ContextGroupInfo;
|
7479
|
+
contextGroups?: ContextGroupInfo[];
|
7454
7480
|
logging?: InteropLoggingOptions;
|
7455
7481
|
};
|
7456
7482
|
|
@@ -9258,6 +9284,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_8 & OpenFin_2.MonitorInfo & {
|
|
9258
9284
|
type: 'monitor-info-changed';
|
9259
9285
|
};
|
9260
9286
|
|
9287
|
+
/**
|
9288
|
+
* @experimental
|
9289
|
+
*
|
9290
|
+
* Used to control view behavior for Layout.create API
|
9291
|
+
*/
|
9292
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
9293
|
+
|
9261
9294
|
/**
|
9262
9295
|
* @interface
|
9263
9296
|
*/
|
@@ -9977,6 +10010,7 @@ declare namespace OpenFin_2 {
|
|
9977
10010
|
LayoutManagerOverride,
|
9978
10011
|
LayoutManager,
|
9979
10012
|
CreateLayoutOptions,
|
10013
|
+
MultiInstanceViewBehavior,
|
9980
10014
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
9981
10015
|
ResultBehavior,
|
9982
10016
|
PopupBaseBehavior,
|
package/out/mock-beta.d.ts
CHANGED
@@ -4362,6 +4362,32 @@ declare type CreateLayoutOptions = {
|
|
4362
4362
|
container: HTMLElement;
|
4363
4363
|
layoutName: string;
|
4364
4364
|
layout: LayoutOptions;
|
4365
|
+
/**
|
4366
|
+
* @defaultValue 'default'
|
4367
|
+
*
|
4368
|
+
* Controls the View behavior for the given `layout` property. Note
|
4369
|
+
* that the selected behavior only applies to unnamed Views or
|
4370
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
4371
|
+
* View in the `layout` does not already exist, it will be created
|
4372
|
+
* with a name that starts with `internal-generated-`.
|
4373
|
+
*
|
4374
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
4375
|
+
* be reparented to the current Window and added to this new Layout.
|
4376
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
4377
|
+
*
|
4378
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
4379
|
+
* be duplicated with new generated names. Use this option when you need
|
4380
|
+
* to clone a Layout to any Window.
|
4381
|
+
*
|
4382
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
4383
|
+
* existing Views only if they are attached to the current Window or
|
4384
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
4385
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
4386
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
4387
|
+
* attached to the Provider while the Window is being created, so it's
|
4388
|
+
* important to not 'duplicate' Views in this workflow.
|
4389
|
+
*/
|
4390
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
4365
4391
|
};
|
4366
4392
|
|
4367
4393
|
/**
|
@@ -7450,7 +7476,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
7450
7476
|
* @interface
|
7451
7477
|
*/
|
7452
7478
|
declare type InteropBrokerOptions = {
|
7453
|
-
contextGroups?: ContextGroupInfo;
|
7479
|
+
contextGroups?: ContextGroupInfo[];
|
7454
7480
|
logging?: InteropLoggingOptions;
|
7455
7481
|
};
|
7456
7482
|
|
@@ -9258,6 +9284,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_8 & OpenFin_2.MonitorInfo & {
|
|
9258
9284
|
type: 'monitor-info-changed';
|
9259
9285
|
};
|
9260
9286
|
|
9287
|
+
/**
|
9288
|
+
* @experimental
|
9289
|
+
*
|
9290
|
+
* Used to control view behavior for Layout.create API
|
9291
|
+
*/
|
9292
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
9293
|
+
|
9261
9294
|
/**
|
9262
9295
|
* @interface
|
9263
9296
|
*/
|
@@ -9977,6 +10010,7 @@ declare namespace OpenFin_2 {
|
|
9977
10010
|
LayoutManagerOverride,
|
9978
10011
|
LayoutManager,
|
9979
10012
|
CreateLayoutOptions,
|
10013
|
+
MultiInstanceViewBehavior,
|
9980
10014
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
9981
10015
|
ResultBehavior,
|
9982
10016
|
PopupBaseBehavior,
|
package/out/mock-public.d.ts
CHANGED
@@ -4362,6 +4362,32 @@ declare type CreateLayoutOptions = {
|
|
4362
4362
|
container: HTMLElement;
|
4363
4363
|
layoutName: string;
|
4364
4364
|
layout: LayoutOptions;
|
4365
|
+
/**
|
4366
|
+
* @defaultValue 'default'
|
4367
|
+
*
|
4368
|
+
* Controls the View behavior for the given `layout` property. Note
|
4369
|
+
* that the selected behavior only applies to unnamed Views or
|
4370
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
4371
|
+
* View in the `layout` does not already exist, it will be created
|
4372
|
+
* with a name that starts with `internal-generated-`.
|
4373
|
+
*
|
4374
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
4375
|
+
* be reparented to the current Window and added to this new Layout.
|
4376
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
4377
|
+
*
|
4378
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
4379
|
+
* be duplicated with new generated names. Use this option when you need
|
4380
|
+
* to clone a Layout to any Window.
|
4381
|
+
*
|
4382
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
4383
|
+
* existing Views only if they are attached to the current Window or
|
4384
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
4385
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
4386
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
4387
|
+
* attached to the Provider while the Window is being created, so it's
|
4388
|
+
* important to not 'duplicate' Views in this workflow.
|
4389
|
+
*/
|
4390
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
4365
4391
|
};
|
4366
4392
|
|
4367
4393
|
/**
|
@@ -7450,7 +7476,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
7450
7476
|
* @interface
|
7451
7477
|
*/
|
7452
7478
|
declare type InteropBrokerOptions = {
|
7453
|
-
contextGroups?: ContextGroupInfo;
|
7479
|
+
contextGroups?: ContextGroupInfo[];
|
7454
7480
|
logging?: InteropLoggingOptions;
|
7455
7481
|
};
|
7456
7482
|
|
@@ -9258,6 +9284,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_8 & OpenFin_2.MonitorInfo & {
|
|
9258
9284
|
type: 'monitor-info-changed';
|
9259
9285
|
};
|
9260
9286
|
|
9287
|
+
/**
|
9288
|
+
* @experimental
|
9289
|
+
*
|
9290
|
+
* Used to control view behavior for Layout.create API
|
9291
|
+
*/
|
9292
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
9293
|
+
|
9261
9294
|
/**
|
9262
9295
|
* @interface
|
9263
9296
|
*/
|
@@ -9977,6 +10010,7 @@ declare namespace OpenFin_2 {
|
|
9977
10010
|
LayoutManagerOverride,
|
9978
10011
|
LayoutManager,
|
9979
10012
|
CreateLayoutOptions,
|
10013
|
+
MultiInstanceViewBehavior,
|
9980
10014
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
9981
10015
|
ResultBehavior,
|
9982
10016
|
PopupBaseBehavior,
|
package/out/mock.d.ts
CHANGED
@@ -4405,6 +4405,32 @@ declare type CreateLayoutOptions = {
|
|
4405
4405
|
container: HTMLElement;
|
4406
4406
|
layoutName: string;
|
4407
4407
|
layout: LayoutOptions;
|
4408
|
+
/**
|
4409
|
+
* @defaultValue 'default'
|
4410
|
+
*
|
4411
|
+
* Controls the View behavior for the given `layout` property. Note
|
4412
|
+
* that the selected behavior only applies to unnamed Views or
|
4413
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
4414
|
+
* View in the `layout` does not already exist, it will be created
|
4415
|
+
* with a name that starts with `internal-generated-`.
|
4416
|
+
*
|
4417
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
4418
|
+
* be reparented to the current Window and added to this new Layout.
|
4419
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
4420
|
+
*
|
4421
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
4422
|
+
* be duplicated with new generated names. Use this option when you need
|
4423
|
+
* to clone a Layout to any Window.
|
4424
|
+
*
|
4425
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
4426
|
+
* existing Views only if they are attached to the current Window or
|
4427
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
4428
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
4429
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
4430
|
+
* attached to the Provider while the Window is being created, so it's
|
4431
|
+
* important to not 'duplicate' Views in this workflow.
|
4432
|
+
*/
|
4433
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
4408
4434
|
};
|
4409
4435
|
|
4410
4436
|
/**
|
@@ -7543,7 +7569,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
7543
7569
|
* @interface
|
7544
7570
|
*/
|
7545
7571
|
declare type InteropBrokerOptions = {
|
7546
|
-
contextGroups?: ContextGroupInfo;
|
7572
|
+
contextGroups?: ContextGroupInfo[];
|
7547
7573
|
logging?: InteropLoggingOptions;
|
7548
7574
|
};
|
7549
7575
|
|
@@ -9535,6 +9561,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_8 & OpenFin_2.MonitorInfo & {
|
|
9535
9561
|
type: 'monitor-info-changed';
|
9536
9562
|
};
|
9537
9563
|
|
9564
|
+
/**
|
9565
|
+
* @experimental
|
9566
|
+
*
|
9567
|
+
* Used to control view behavior for Layout.create API
|
9568
|
+
*/
|
9569
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
9570
|
+
|
9538
9571
|
/**
|
9539
9572
|
* @interface
|
9540
9573
|
*/
|
@@ -10276,6 +10309,7 @@ declare namespace OpenFin_2 {
|
|
10276
10309
|
LayoutManagerOverride,
|
10277
10310
|
LayoutManager,
|
10278
10311
|
CreateLayoutOptions,
|
10312
|
+
MultiInstanceViewBehavior,
|
10279
10313
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
10280
10314
|
ResultBehavior,
|
10281
10315
|
PopupBaseBehavior,
|
package/out/mock.js
CHANGED
@@ -257,7 +257,7 @@ events.WindowEvents = WindowEvents;
|
|
257
257
|
__exportStar(events, exports);
|
258
258
|
} (OpenFin$1));
|
259
259
|
|
260
|
-
var fin = {};
|
260
|
+
var fin$1 = {};
|
261
261
|
|
262
262
|
var system = {};
|
263
263
|
|
@@ -12179,6 +12179,9 @@ class PlatformModule extends base_1$4.Base {
|
|
12179
12179
|
* @experimental
|
12180
12180
|
*/
|
12181
12181
|
async init(options) {
|
12182
|
+
if (!fin.__internal_.isPlatform || fin.me.name !== fin.me.uuid) {
|
12183
|
+
throw new Error('fin.Platform.init should only be called from a custom platform provider running in the main window of the application.');
|
12184
|
+
}
|
12182
12185
|
return this.wire.environment.initPlatform(this.fin, options);
|
12183
12186
|
}
|
12184
12187
|
/**
|
@@ -15453,8 +15456,8 @@ Factory.SnapshotSourceModule = SnapshotSourceModule;
|
|
15453
15456
|
__exportStar(Instance, exports);
|
15454
15457
|
} (snapshotSource));
|
15455
15458
|
|
15456
|
-
Object.defineProperty(fin, "__esModule", { value: true });
|
15457
|
-
fin.Fin = void 0;
|
15459
|
+
Object.defineProperty(fin$1, "__esModule", { value: true });
|
15460
|
+
fin$1.Fin = void 0;
|
15458
15461
|
const events_1$3 = require$$0;
|
15459
15462
|
// Import from the file rather than the directory in case someone consuming types is using module resolution other than "node"
|
15460
15463
|
const index_1 = system;
|
@@ -15500,7 +15503,7 @@ class Fin extends events_1$3.EventEmitter {
|
|
15500
15503
|
});
|
15501
15504
|
}
|
15502
15505
|
}
|
15503
|
-
fin.Fin = Fin;
|
15506
|
+
fin$1.Fin = Fin;
|
15504
15507
|
|
15505
15508
|
var transport = {};
|
15506
15509
|
|
@@ -15955,7 +15958,7 @@ mockWire.MockWire = MockWire;
|
|
15955
15958
|
Object.defineProperty(mock, "__esModule", { value: true });
|
15956
15959
|
exports.fin = mock.fin = void 0;
|
15957
15960
|
const OpenFin = OpenFin$1;
|
15958
|
-
const fin_1 = fin;
|
15961
|
+
const fin_1 = fin$1;
|
15959
15962
|
const transport_1 = transport;
|
15960
15963
|
const mockEnvironment_1 = mockEnvironment;
|
15961
15964
|
const mockWire_1 = mockWire;
|