@openfin/node-adapter 34.78.9 → 34.78.11
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 +205 -90
- package/out/node-adapter-beta.d.ts +205 -90
- package/out/node-adapter-public.d.ts +205 -90
- package/out/node-adapter.d.ts +210 -73
- package/out/node-adapter.js +69 -20
- package/package.json +1 -1
package/out/node-adapter.js
CHANGED
@@ -3547,9 +3547,9 @@ function requireView () {
|
|
3547
3547
|
};
|
3548
3548
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3549
3549
|
/**
|
3550
|
-
* Entry points for the OpenFin `View` API.
|
3550
|
+
* Entry points for the OpenFin `View` API (`fin.View`).
|
3551
3551
|
*
|
3552
|
-
* * {@link ViewModule} contains static
|
3552
|
+
* * {@link ViewModule} contains static members of the `View` API, accessible through `fin.View`.
|
3553
3553
|
* * {@link View} describes an instance of an OpenFin View, e.g. as returned by `fin.View.getCurrent`.
|
3554
3554
|
*
|
3555
3555
|
* 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),
|
@@ -4685,9 +4685,9 @@ function requireApplication () {
|
|
4685
4685
|
};
|
4686
4686
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4687
4687
|
/**
|
4688
|
-
* Entry points for the OpenFin `Application` API.
|
4688
|
+
* Entry points for the OpenFin `Application` API (`fin.Application`).
|
4689
4689
|
*
|
4690
|
-
* * {@link ApplicationModule} contains static
|
4690
|
+
* * {@link ApplicationModule} contains static members of the `Application` API, accessible through `fin.Application`.
|
4691
4691
|
* * {@link Application} describes an instance of an OpenFin Application, e.g. as returned by `fin.Application.getCurrent`.
|
4692
4692
|
*
|
4693
4693
|
* 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),
|
@@ -6468,6 +6468,7 @@ function requireInstance () {
|
|
6468
6468
|
return this.wire.sendAction('close-popup-menu', { ...this.identity }).then(() => undefined);
|
6469
6469
|
}
|
6470
6470
|
/**
|
6471
|
+
* @PORTED
|
6471
6472
|
* @typedef {object} PopupOptions
|
6472
6473
|
* @property {string} [name] - If a window with this `name` exists, it will be shown as a popup. Otherwise, a new window with this `name` will be created. If this `name` is undefined, `initialOptions.name` will be used. If this `name` and `intialOptions.name` are both undefined, a `name` will be generated.
|
6473
6474
|
* @property {string} [url] - Navigates to this `url` if showing an existing window as a popup, otherwise the newly created window will load this `url`.
|
@@ -6485,6 +6486,7 @@ function requireInstance () {
|
|
6485
6486
|
* @property {boolean} [hideOnClose] - Hide the popup window instead of closing whenever `close` is called on it. Note: if this is `true` and `blurBehavior` and/or `resultDispatchBehavior` are set to `close`, the window will be hidden.
|
6486
6487
|
*/
|
6487
6488
|
/**
|
6489
|
+
* @PORTED
|
6488
6490
|
* @typedef {object} PopupResult
|
6489
6491
|
* @property {Identity} identity - `name` and `uuid` of the popup window that called dispatched this result.
|
6490
6492
|
* @property {'clicked' | 'dismissed'} result - Result of the user interaction with the popup window.
|
@@ -6736,9 +6738,9 @@ function requireWindow () {
|
|
6736
6738
|
};
|
6737
6739
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6738
6740
|
/**
|
6739
|
-
* Entry points for the OpenFin `Window` API.
|
6741
|
+
* Entry points for the OpenFin `Window` API (`fin.Window`).
|
6740
6742
|
*
|
6741
|
-
* * {@link _WindowModule} contains static
|
6743
|
+
* * {@link _WindowModule} contains static members of the `Window` API, accessible through `fin.Window`.
|
6742
6744
|
* * {@link _Window} describes an instance of an OpenFin Window, e.g. as returned by `fin.Window.getCurrent`.
|
6743
6745
|
*
|
6744
6746
|
* 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),
|
@@ -6754,6 +6756,11 @@ function requireWindow () {
|
|
6754
6756
|
return window$1;
|
6755
6757
|
}
|
6756
6758
|
|
6759
|
+
/**
|
6760
|
+
* Entry point for the OpenFin `System` API (`fin.System`).
|
6761
|
+
*
|
6762
|
+
* * {@link System} contains static members of the `System` API (available under `fin.System`)
|
6763
|
+
*/
|
6757
6764
|
Object.defineProperty(system, "__esModule", { value: true });
|
6758
6765
|
system.System = void 0;
|
6759
6766
|
const base_1$j = base;
|
@@ -10463,6 +10470,15 @@ class ConnectionManager extends base_1$g.Base {
|
|
10463
10470
|
connectionManager.ConnectionManager = ConnectionManager;
|
10464
10471
|
_ConnectionManager_messageReceiver = new WeakMap(), _ConnectionManager_rtcConnectionManager = new WeakMap();
|
10465
10472
|
|
10473
|
+
/**
|
10474
|
+
* Entry points for the `Channel` subset of the `InterApplicationBus` API (`fin.InterApplicationBus.Channel`).
|
10475
|
+
*
|
10476
|
+
* * {@link Channel} contains static members of the `Channel` API, accessible through `fin.InterApplicationBus.Channel`.
|
10477
|
+
* * {@link OpenFin.ChannelClient} describes a client of a channel, e.g. as returned by `fin.InterApplicationBus.Channel.connect`.
|
10478
|
+
* * {@link OpenFin.ChannelProvider} describes a provider of a channel, e.g. as returned by `fin.InterApplicationBus.Channel.create`.
|
10479
|
+
*
|
10480
|
+
* @packageDocumentation
|
10481
|
+
*/
|
10466
10482
|
var __classPrivateFieldSet$5 = (commonjsGlobal && commonjsGlobal.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
10467
10483
|
if (kind === "m") throw new TypeError("Private method is not writable");
|
10468
10484
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
@@ -10798,6 +10814,13 @@ _Channel_connectionManager = new WeakMap(), _Channel_internalEmitter = new WeakM
|
|
10798
10814
|
|
10799
10815
|
Object.defineProperty(interappbus, "__esModule", { value: true });
|
10800
10816
|
interappbus.InterAppPayload = interappbus.InterApplicationBus = void 0;
|
10817
|
+
/**
|
10818
|
+
* Entry point for the OpenFin `InterApplicationBus` API (`fin.InterApplicationBus`).
|
10819
|
+
*
|
10820
|
+
* * {@link InterApplicationBus} contains static members of the `InterApplicationBus` API, accessible through `fin.InterApplicationBus`.
|
10821
|
+
*
|
10822
|
+
* @packageDocumentation
|
10823
|
+
*/
|
10801
10824
|
const events_1$4 = eventsExports;
|
10802
10825
|
const base_1$e = base;
|
10803
10826
|
const ref_counter_1 = refCounter;
|
@@ -11006,6 +11029,13 @@ function createKey(...toHash) {
|
|
11006
11029
|
|
11007
11030
|
var clipboard = {};
|
11008
11031
|
|
11032
|
+
/**
|
11033
|
+
* Entry point for the OpenFin `Clipboard` API (`fin.Clipboard`).
|
11034
|
+
*
|
11035
|
+
* * {@link Clipboard} contains static members of the `Clipboard` API, accessible through `fin.Clipboard`.
|
11036
|
+
*
|
11037
|
+
* @packageDocumentation
|
11038
|
+
*/
|
11009
11039
|
Object.defineProperty(clipboard, "__esModule", { value: true });
|
11010
11040
|
clipboard.Clipboard = void 0;
|
11011
11041
|
const base_1$d = base;
|
@@ -11396,9 +11426,9 @@ Factory$5.ExternalApplicationModule = ExternalApplicationModule;
|
|
11396
11426
|
};
|
11397
11427
|
Object.defineProperty(exports, "__esModule", { value: true });
|
11398
11428
|
/**
|
11399
|
-
* Entry points for the OpenFin `ExternalApplication` API.
|
11429
|
+
* Entry points for the OpenFin `ExternalApplication` API (`fin.ExternalApplication`).
|
11400
11430
|
*
|
11401
|
-
* * {@link ExternalApplicationModule} contains static
|
11431
|
+
* * {@link ExternalApplicationModule} contains static members of the `ExternalApplication` type, accessible through `fin.ExternalApplication`.
|
11402
11432
|
* * {@link ExternalApplication} describes an instance of an OpenFin ExternalApplication, e.g. as returned by `fin.ExternalApplication.getCurrent`.
|
11403
11433
|
*
|
11404
11434
|
* 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),
|
@@ -11647,9 +11677,9 @@ Factory$4._FrameModule = _FrameModule;
|
|
11647
11677
|
|
11648
11678
|
(function (exports) {
|
11649
11679
|
/**
|
11650
|
-
* Entry points for the OpenFin `Frame` API.
|
11680
|
+
* Entry points for the OpenFin `Frame` API (`fin.Frame`).
|
11651
11681
|
*
|
11652
|
-
* * {@link _FrameModule} contains static
|
11682
|
+
* * {@link _FrameModule} contains static members of the `Frame` API, accessible through `fin.Frame`.
|
11653
11683
|
* * {@link _Frame} describes an instance of an OpenFin Frame, e.g. as returned by `fin.Frame.getCurrent`.
|
11654
11684
|
*
|
11655
11685
|
* 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),
|
@@ -12196,12 +12226,11 @@ class Platform extends base_1$7.EmitterBase {
|
|
12196
12226
|
});
|
12197
12227
|
}
|
12198
12228
|
/**
|
12199
|
-
* ***DEPRECATED - please use Platform.createView.***
|
12229
|
+
* ***DEPRECATED - please use {@link Platform.createView Platform.createView}.***
|
12200
12230
|
* Reparents a specified view in a new target window.
|
12201
12231
|
* @param viewIdentity View identity
|
12202
12232
|
* @param target new owner window identity
|
12203
12233
|
*
|
12204
|
-
* @tutorial Platform.createView
|
12205
12234
|
*/
|
12206
12235
|
async reparentView(viewIdentity, target) {
|
12207
12236
|
var _a;
|
@@ -13212,9 +13241,9 @@ _LayoutModule_layoutInitializationAttempted = new WeakMap();
|
|
13212
13241
|
|
13213
13242
|
(function (exports) {
|
13214
13243
|
/**
|
13215
|
-
* Entry point for the OpenFin `Layout`
|
13244
|
+
* Entry point for the OpenFin `Layout` subset of the `Platform` API (`fin.Platform.Layout`).
|
13216
13245
|
*
|
13217
|
-
* * {@link LayoutModule} contains static
|
13246
|
+
* * {@link LayoutModule} contains static members of the `Layout` API, accessible through `fin.Platform.Layout`.
|
13218
13247
|
* * {@link Layout} describes an instance of an OpenFin Layout, e.g. as returned by `fin.Platform.Layout.getCurrent`.
|
13219
13248
|
*
|
13220
13249
|
* 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),
|
@@ -13493,9 +13522,9 @@ Factory$3.PlatformModule = PlatformModule;
|
|
13493
13522
|
};
|
13494
13523
|
Object.defineProperty(exports, "__esModule", { value: true });
|
13495
13524
|
/**
|
13496
|
-
* Entry points for the OpenFin `Platform` API.
|
13525
|
+
* Entry points for the OpenFin `Platform` API (`fin.Platform`)
|
13497
13526
|
*
|
13498
|
-
* * {@link PlatformModule} contains static
|
13527
|
+
* * {@link PlatformModule} contains static members of the `Platform` API, accessible through `fin.Platform`.
|
13499
13528
|
* * {@link Platform} describes an instance of an OpenFin Platform, e.g. as returned by `fin.Platform.getCurrent`.
|
13500
13529
|
*
|
13501
13530
|
* 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),
|
@@ -16426,9 +16455,9 @@ function requireInterop () {
|
|
16426
16455
|
hasRequiredInterop = 1;
|
16427
16456
|
(function (exports) {
|
16428
16457
|
/**
|
16429
|
-
* Entry point for the OpenFin Interop
|
16458
|
+
* Entry point for the OpenFin `Interop` API (`fin.Interop`).
|
16430
16459
|
*
|
16431
|
-
* * {@link InteropModule} contains static members of the `Interop`
|
16460
|
+
* * {@link InteropModule} contains static members of the `Interop` API (available under `fin.Interop`)
|
16432
16461
|
* * {@link InteropClient} and {@link InteropBroker} document instances of their respective classes.
|
16433
16462
|
*
|
16434
16463
|
* @packageDocumentation
|
@@ -16490,6 +16519,8 @@ const connectionMap = new Map();
|
|
16490
16519
|
/**
|
16491
16520
|
* Enables configuring a SnapshotSource with custom getSnapshot and applySnapshot methods.
|
16492
16521
|
*
|
16522
|
+
* @typeParam Snapshot Implementation-defined shape of an application snapshot. Allows
|
16523
|
+
* custom snapshot implementations for legacy applications to define their own snapshot format.
|
16493
16524
|
*/
|
16494
16525
|
class SnapshotSource extends base_1$1.Base {
|
16495
16526
|
/**
|
@@ -16635,6 +16666,9 @@ class SnapshotSourceModule extends base_1.Base {
|
|
16635
16666
|
/**
|
16636
16667
|
* Initializes a SnapshotSource with the getSnapshot and applySnapshot methods defined.
|
16637
16668
|
*
|
16669
|
+
* @typeParam Snapshot Implementation-defined shape of an application snapshot. Allows
|
16670
|
+
* custom snapshot implementations for legacy applications to define their own snapshot format.
|
16671
|
+
*
|
16638
16672
|
* @example
|
16639
16673
|
* ```js
|
16640
16674
|
* const snapshotProvider = {
|
@@ -16650,6 +16684,7 @@ class SnapshotSourceModule extends base_1.Base {
|
|
16650
16684
|
*
|
16651
16685
|
* await fin.SnapshotSource.init(snapshotProvider);
|
16652
16686
|
* ```
|
16687
|
+
*
|
16653
16688
|
*/
|
16654
16689
|
async init(provider) {
|
16655
16690
|
this.wire.sendAction('snapshot-source-init').catch((e) => {
|
@@ -16704,9 +16739,9 @@ Factory.SnapshotSourceModule = SnapshotSourceModule;
|
|
16704
16739
|
|
16705
16740
|
(function (exports) {
|
16706
16741
|
/**
|
16707
|
-
* Entry points for the OpenFin `SnapshotSource` API.
|
16742
|
+
* Entry points for the OpenFin `SnapshotSource` API (`fin.SnapshotSource`).
|
16708
16743
|
*
|
16709
|
-
* * {@link SnapshotSourceModule} contains static
|
16744
|
+
* * {@link SnapshotSourceModule} contains static members of the `SnapshotSource` API, accessible through `fin.SnapshotSource`.
|
16710
16745
|
* * {@link SnapshotSource} describes an instance of an OpenFin SnapshotSource, e.g. as returned by `fin.SnapshotSource.wrap`.
|
16711
16746
|
*
|
16712
16747
|
* 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),
|
@@ -16750,6 +16785,9 @@ const index_10 = platform;
|
|
16750
16785
|
const me_1$1 = me;
|
16751
16786
|
const interop_1 = requireInterop();
|
16752
16787
|
const snapshot_source_1 = snapshotSource;
|
16788
|
+
/**
|
16789
|
+
* @internal
|
16790
|
+
*/
|
16753
16791
|
class Fin extends events_1$3.EventEmitter {
|
16754
16792
|
/**
|
16755
16793
|
* @internal
|
@@ -18130,6 +18168,17 @@ var mainExports = requireMain();
|
|
18130
18168
|
|
18131
18169
|
var OpenFin$1 = {};
|
18132
18170
|
|
18171
|
+
/**
|
18172
|
+
* Top-level namespace for types referenced by the OpenFin API. Contains:
|
18173
|
+
*
|
18174
|
+
* * The type of the global `fin` entry point ({@link FinApi})
|
18175
|
+
* * Classes that act as static namespaces returned from the `fin` global (e.g. {@link ApplicationModule}, accessible via `fin.Application`)
|
18176
|
+
* * Instance classes that are returned from API calls (e.g. {@link Application}, accessible via `fin.Application.getCurrentSync()`)
|
18177
|
+
* * Parameter shapes for API methods (e.g. {@link ApplicationOptions}, used in `fin.Application.start()`)
|
18178
|
+
* * Event namespaces and payload union types (e.g. {@link ApplicationEvents} and {@link ApplicationEvent})
|
18179
|
+
*
|
18180
|
+
* @packageDocumentation
|
18181
|
+
*/
|
18133
18182
|
Object.defineProperty(OpenFin$1, "__esModule", { value: true });
|
18134
18183
|
|
18135
18184
|
var OpenFin = /*#__PURE__*/_mergeNamespaces({
|