@openfin/node-adapter 35.79.3 → 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.
@@ -4366,6 +4366,32 @@ declare type CreateLayoutOptions = {
|
|
4366
4366
|
container: HTMLElement;
|
4367
4367
|
layoutName: string;
|
4368
4368
|
layout: LayoutOptions;
|
4369
|
+
/**
|
4370
|
+
* @defaultValue 'default'
|
4371
|
+
*
|
4372
|
+
* Controls the View behavior for the given `layout` property. Note
|
4373
|
+
* that the selected behavior only applies to unnamed Views or
|
4374
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
4375
|
+
* View in the `layout` does not already exist, it will be created
|
4376
|
+
* with a name that starts with `internal-generated-`.
|
4377
|
+
*
|
4378
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
4379
|
+
* be reparented to the current Window and added to this new Layout.
|
4380
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
4381
|
+
*
|
4382
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
4383
|
+
* be duplicated with new generated names. Use this option when you need
|
4384
|
+
* to clone a Layout to any Window.
|
4385
|
+
*
|
4386
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
4387
|
+
* existing Views only if they are attached to the current Window or
|
4388
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
4389
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
4390
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
4391
|
+
* attached to the Provider while the Window is being created, so it's
|
4392
|
+
* important to not 'duplicate' Views in this workflow.
|
4393
|
+
*/
|
4394
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
4369
4395
|
};
|
4370
4396
|
|
4371
4397
|
/**
|
@@ -7458,7 +7484,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
7458
7484
|
* @interface
|
7459
7485
|
*/
|
7460
7486
|
declare type InteropBrokerOptions = {
|
7461
|
-
contextGroups?: ContextGroupInfo;
|
7487
|
+
contextGroups?: ContextGroupInfo[];
|
7462
7488
|
logging?: InteropLoggingOptions;
|
7463
7489
|
};
|
7464
7490
|
|
@@ -9268,6 +9294,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_8 & OpenFin.MonitorInfo & {
|
|
9268
9294
|
type: 'monitor-info-changed';
|
9269
9295
|
};
|
9270
9296
|
|
9297
|
+
/**
|
9298
|
+
* @experimental
|
9299
|
+
*
|
9300
|
+
* Used to control view behavior for Layout.create API
|
9301
|
+
*/
|
9302
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
9303
|
+
|
9271
9304
|
/**
|
9272
9305
|
* @interface
|
9273
9306
|
*/
|
@@ -9987,6 +10020,7 @@ declare namespace OpenFin {
|
|
9987
10020
|
LayoutManagerOverride,
|
9988
10021
|
LayoutManager,
|
9989
10022
|
CreateLayoutOptions,
|
10023
|
+
MultiInstanceViewBehavior,
|
9990
10024
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
9991
10025
|
ResultBehavior,
|
9992
10026
|
PopupBaseBehavior,
|
@@ -4366,6 +4366,32 @@ declare type CreateLayoutOptions = {
|
|
4366
4366
|
container: HTMLElement;
|
4367
4367
|
layoutName: string;
|
4368
4368
|
layout: LayoutOptions;
|
4369
|
+
/**
|
4370
|
+
* @defaultValue 'default'
|
4371
|
+
*
|
4372
|
+
* Controls the View behavior for the given `layout` property. Note
|
4373
|
+
* that the selected behavior only applies to unnamed Views or
|
4374
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
4375
|
+
* View in the `layout` does not already exist, it will be created
|
4376
|
+
* with a name that starts with `internal-generated-`.
|
4377
|
+
*
|
4378
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
4379
|
+
* be reparented to the current Window and added to this new Layout.
|
4380
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
4381
|
+
*
|
4382
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
4383
|
+
* be duplicated with new generated names. Use this option when you need
|
4384
|
+
* to clone a Layout to any Window.
|
4385
|
+
*
|
4386
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
4387
|
+
* existing Views only if they are attached to the current Window or
|
4388
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
4389
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
4390
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
4391
|
+
* attached to the Provider while the Window is being created, so it's
|
4392
|
+
* important to not 'duplicate' Views in this workflow.
|
4393
|
+
*/
|
4394
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
4369
4395
|
};
|
4370
4396
|
|
4371
4397
|
/**
|
@@ -7458,7 +7484,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
7458
7484
|
* @interface
|
7459
7485
|
*/
|
7460
7486
|
declare type InteropBrokerOptions = {
|
7461
|
-
contextGroups?: ContextGroupInfo;
|
7487
|
+
contextGroups?: ContextGroupInfo[];
|
7462
7488
|
logging?: InteropLoggingOptions;
|
7463
7489
|
};
|
7464
7490
|
|
@@ -9268,6 +9294,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_8 & OpenFin.MonitorInfo & {
|
|
9268
9294
|
type: 'monitor-info-changed';
|
9269
9295
|
};
|
9270
9296
|
|
9297
|
+
/**
|
9298
|
+
* @experimental
|
9299
|
+
*
|
9300
|
+
* Used to control view behavior for Layout.create API
|
9301
|
+
*/
|
9302
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
9303
|
+
|
9271
9304
|
/**
|
9272
9305
|
* @interface
|
9273
9306
|
*/
|
@@ -9987,6 +10020,7 @@ declare namespace OpenFin {
|
|
9987
10020
|
LayoutManagerOverride,
|
9988
10021
|
LayoutManager,
|
9989
10022
|
CreateLayoutOptions,
|
10023
|
+
MultiInstanceViewBehavior,
|
9990
10024
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
9991
10025
|
ResultBehavior,
|
9992
10026
|
PopupBaseBehavior,
|
@@ -4366,6 +4366,32 @@ declare type CreateLayoutOptions = {
|
|
4366
4366
|
container: HTMLElement;
|
4367
4367
|
layoutName: string;
|
4368
4368
|
layout: LayoutOptions;
|
4369
|
+
/**
|
4370
|
+
* @defaultValue 'default'
|
4371
|
+
*
|
4372
|
+
* Controls the View behavior for the given `layout` property. Note
|
4373
|
+
* that the selected behavior only applies to unnamed Views or
|
4374
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
4375
|
+
* View in the `layout` does not already exist, it will be created
|
4376
|
+
* with a name that starts with `internal-generated-`.
|
4377
|
+
*
|
4378
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
4379
|
+
* be reparented to the current Window and added to this new Layout.
|
4380
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
4381
|
+
*
|
4382
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
4383
|
+
* be duplicated with new generated names. Use this option when you need
|
4384
|
+
* to clone a Layout to any Window.
|
4385
|
+
*
|
4386
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
4387
|
+
* existing Views only if they are attached to the current Window or
|
4388
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
4389
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
4390
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
4391
|
+
* attached to the Provider while the Window is being created, so it's
|
4392
|
+
* important to not 'duplicate' Views in this workflow.
|
4393
|
+
*/
|
4394
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
4369
4395
|
};
|
4370
4396
|
|
4371
4397
|
/**
|
@@ -7458,7 +7484,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
7458
7484
|
* @interface
|
7459
7485
|
*/
|
7460
7486
|
declare type InteropBrokerOptions = {
|
7461
|
-
contextGroups?: ContextGroupInfo;
|
7487
|
+
contextGroups?: ContextGroupInfo[];
|
7462
7488
|
logging?: InteropLoggingOptions;
|
7463
7489
|
};
|
7464
7490
|
|
@@ -9268,6 +9294,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_8 & OpenFin.MonitorInfo & {
|
|
9268
9294
|
type: 'monitor-info-changed';
|
9269
9295
|
};
|
9270
9296
|
|
9297
|
+
/**
|
9298
|
+
* @experimental
|
9299
|
+
*
|
9300
|
+
* Used to control view behavior for Layout.create API
|
9301
|
+
*/
|
9302
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
9303
|
+
|
9271
9304
|
/**
|
9272
9305
|
* @interface
|
9273
9306
|
*/
|
@@ -9987,6 +10020,7 @@ declare namespace OpenFin {
|
|
9987
10020
|
LayoutManagerOverride,
|
9988
10021
|
LayoutManager,
|
9989
10022
|
CreateLayoutOptions,
|
10023
|
+
MultiInstanceViewBehavior,
|
9990
10024
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
9991
10025
|
ResultBehavior,
|
9992
10026
|
PopupBaseBehavior,
|
package/out/node-adapter.d.ts
CHANGED
@@ -4409,6 +4409,32 @@ declare type CreateLayoutOptions = {
|
|
4409
4409
|
container: HTMLElement;
|
4410
4410
|
layoutName: string;
|
4411
4411
|
layout: LayoutOptions;
|
4412
|
+
/**
|
4413
|
+
* @defaultValue 'default'
|
4414
|
+
*
|
4415
|
+
* Controls the View behavior for the given `layout` property. Note
|
4416
|
+
* that the selected behavior only applies to unnamed Views or
|
4417
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
4418
|
+
* View in the `layout` does not already exist, it will be created
|
4419
|
+
* with a name that starts with `internal-generated-`.
|
4420
|
+
*
|
4421
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
4422
|
+
* be reparented to the current Window and added to this new Layout.
|
4423
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
4424
|
+
*
|
4425
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
4426
|
+
* be duplicated with new generated names. Use this option when you need
|
4427
|
+
* to clone a Layout to any Window.
|
4428
|
+
*
|
4429
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
4430
|
+
* existing Views only if they are attached to the current Window or
|
4431
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
4432
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
4433
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
4434
|
+
* attached to the Provider while the Window is being created, so it's
|
4435
|
+
* important to not 'duplicate' Views in this workflow.
|
4436
|
+
*/
|
4437
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
4412
4438
|
};
|
4413
4439
|
|
4414
4440
|
/**
|
@@ -7573,7 +7599,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
7573
7599
|
* @interface
|
7574
7600
|
*/
|
7575
7601
|
declare type InteropBrokerOptions = {
|
7576
|
-
contextGroups?: ContextGroupInfo;
|
7602
|
+
contextGroups?: ContextGroupInfo[];
|
7577
7603
|
logging?: InteropLoggingOptions;
|
7578
7604
|
};
|
7579
7605
|
|
@@ -9567,6 +9593,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_8 & OpenFin.MonitorInfo & {
|
|
9567
9593
|
type: 'monitor-info-changed';
|
9568
9594
|
};
|
9569
9595
|
|
9596
|
+
/**
|
9597
|
+
* @experimental
|
9598
|
+
*
|
9599
|
+
* Used to control view behavior for Layout.create API
|
9600
|
+
*/
|
9601
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
9602
|
+
|
9570
9603
|
/**
|
9571
9604
|
* @interface
|
9572
9605
|
*/
|
@@ -10308,6 +10341,7 @@ declare namespace OpenFin {
|
|
10308
10341
|
LayoutManagerOverride,
|
10309
10342
|
LayoutManager,
|
10310
10343
|
CreateLayoutOptions,
|
10344
|
+
MultiInstanceViewBehavior,
|
10311
10345
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
10312
10346
|
ResultBehavior,
|
10313
10347
|
PopupBaseBehavior,
|
package/out/node-adapter.js
CHANGED
@@ -37,7 +37,7 @@ function getDefaultExportFromCjs (x) {
|
|
37
37
|
|
38
38
|
var main$1 = {};
|
39
39
|
|
40
|
-
var fin = {};
|
40
|
+
var fin$1 = {};
|
41
41
|
|
42
42
|
var system$1 = {};
|
43
43
|
|
@@ -11959,6 +11959,9 @@ class PlatformModule extends base_1$4.Base {
|
|
11959
11959
|
* @experimental
|
11960
11960
|
*/
|
11961
11961
|
async init(options) {
|
11962
|
+
if (!fin.__internal_.isPlatform || fin.me.name !== fin.me.uuid) {
|
11963
|
+
throw new Error('fin.Platform.init should only be called from a custom platform provider running in the main window of the application.');
|
11964
|
+
}
|
11962
11965
|
return this.wire.environment.initPlatform(this.fin, options);
|
11963
11966
|
}
|
11964
11967
|
/**
|
@@ -15233,8 +15236,8 @@ Factory.SnapshotSourceModule = SnapshotSourceModule;
|
|
15233
15236
|
__exportStar(Instance, exports);
|
15234
15237
|
} (snapshotSource));
|
15235
15238
|
|
15236
|
-
Object.defineProperty(fin, "__esModule", { value: true });
|
15237
|
-
fin.Fin = void 0;
|
15239
|
+
Object.defineProperty(fin$1, "__esModule", { value: true });
|
15240
|
+
fin$1.Fin = void 0;
|
15238
15241
|
const events_1$3 = require$$0;
|
15239
15242
|
// Import from the file rather than the directory in case someone consuming types is using module resolution other than "node"
|
15240
15243
|
const index_1 = system$1;
|
@@ -15280,7 +15283,7 @@ class Fin extends events_1$3.EventEmitter {
|
|
15280
15283
|
});
|
15281
15284
|
}
|
15282
15285
|
}
|
15283
|
-
fin.Fin = Fin;
|
15286
|
+
fin$1.Fin = Fin;
|
15284
15287
|
|
15285
15288
|
var wire = {};
|
15286
15289
|
|
@@ -16625,7 +16628,7 @@ function requireMain () {
|
|
16625
16628
|
(function (exports) {
|
16626
16629
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16627
16630
|
exports.ChannelProvider = exports.ChannelClient = exports.Frame = exports.View = exports.System = exports.Window = exports.Application = exports.Fin = exports.launch = exports.connect = void 0;
|
16628
|
-
const fin_1 = fin;
|
16631
|
+
const fin_1 = fin$1;
|
16629
16632
|
Object.defineProperty(exports, "Fin", { enumerable: true, get: function () { return fin_1.Fin; } });
|
16630
16633
|
const index_1 = requireApplication();
|
16631
16634
|
Object.defineProperty(exports, "Application", { enumerable: true, get: function () { return index_1.Application; } });
|