@openfin/node-adapter 34.78.1 → 34.78.3
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.js +112 -93
- package/package.json +1 -1
package/out/node-adapter.js
CHANGED
@@ -909,6 +909,7 @@ function requireFactory$3 () {
|
|
909
909
|
if (hasRequiredFactory$3) return Factory$6;
|
910
910
|
hasRequiredFactory$3 = 1;
|
911
911
|
Object.defineProperty(Factory$6, "__esModule", { value: true });
|
912
|
+
Factory$6.ViewModule = void 0;
|
912
913
|
const base_1 = base;
|
913
914
|
const validate_1 = validate;
|
914
915
|
const index_1 = requireView();
|
@@ -1047,7 +1048,7 @@ function requireFactory$3 () {
|
|
1047
1048
|
return this.wrapSync({ uuid, name });
|
1048
1049
|
}
|
1049
1050
|
}
|
1050
|
-
Factory$6.
|
1051
|
+
Factory$6.ViewModule = ViewModule;
|
1051
1052
|
return Factory$6;
|
1052
1053
|
}
|
1053
1054
|
|
@@ -3619,16 +3620,17 @@ function requireView () {
|
|
3619
3620
|
};
|
3620
3621
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3621
3622
|
/**
|
3622
|
-
* Entry
|
3623
|
+
* Entry points for the OpenFin `View` API.
|
3623
3624
|
*
|
3624
|
-
*
|
3625
|
-
*
|
3626
|
-
*
|
3625
|
+
* In the previous version of the API documentation, both static methods involving `View` and instance properties of the
|
3626
|
+
* `View` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
3627
|
+
*
|
3628
|
+
* * {@link ViewModule} contains static methods relating to the `View` type, accessible through `fin.View`.
|
3629
|
+
* * {@link View} describes an instance of an OpenFin View, e.g. as returned by `fin.View.getCurrent`.
|
3627
3630
|
*
|
3628
3631
|
* @packageDocumentation
|
3629
3632
|
*/
|
3630
|
-
|
3631
|
-
exports.default = Factory_1.default;
|
3633
|
+
__exportStar(requireFactory$3(), exports);
|
3632
3634
|
__exportStar(requireInstance$2(), exports);
|
3633
3635
|
} (view));
|
3634
3636
|
return view;
|
@@ -4468,6 +4470,7 @@ function requireFactory$2 () {
|
|
4468
4470
|
if (hasRequiredFactory$2) return Factory$7;
|
4469
4471
|
hasRequiredFactory$2 = 1;
|
4470
4472
|
Object.defineProperty(Factory$7, "__esModule", { value: true });
|
4473
|
+
Factory$7.ApplicationModule = void 0;
|
4471
4474
|
const base_1 = base;
|
4472
4475
|
const validate_1 = validate;
|
4473
4476
|
const Instance_1 = requireInstance$1();
|
@@ -4743,7 +4746,7 @@ function requireFactory$2 () {
|
|
4743
4746
|
});
|
4744
4747
|
}
|
4745
4748
|
}
|
4746
|
-
Factory$7.
|
4749
|
+
Factory$7.ApplicationModule = ApplicationModule;
|
4747
4750
|
return Factory$7;
|
4748
4751
|
}
|
4749
4752
|
|
@@ -4769,17 +4772,18 @@ function requireApplication () {
|
|
4769
4772
|
};
|
4770
4773
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4771
4774
|
/**
|
4772
|
-
* Entry
|
4775
|
+
* Entry points for the OpenFin `Application` API.
|
4776
|
+
*
|
4777
|
+
* In the previous version of the API documentation, both static methods involving `Application` and instance properties of the
|
4778
|
+
* `Application` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
4773
4779
|
*
|
4774
|
-
*
|
4775
|
-
*
|
4776
|
-
* instances of the OpenFin `Application` class.
|
4780
|
+
* * {@link ApplicationModule} contains static methods relating to the `Application` type, accessible through `fin.Application`.
|
4781
|
+
* * {@link Application} describes an instance of an OpenFin Application, e.g. as returned by `fin.Application.getCurrent`.
|
4777
4782
|
*
|
4778
4783
|
* @packageDocumentation
|
4779
4784
|
*/
|
4780
|
-
|
4785
|
+
__exportStar(requireFactory$2(), exports);
|
4781
4786
|
__exportStar(requireInstance$1(), exports);
|
4782
|
-
exports.default = Factory_1.default;
|
4783
4787
|
} (application));
|
4784
4788
|
return application;
|
4785
4789
|
}
|
@@ -6652,6 +6656,7 @@ function requireFactory$1 () {
|
|
6652
6656
|
if (hasRequiredFactory$1) return Factory$8;
|
6653
6657
|
hasRequiredFactory$1 = 1;
|
6654
6658
|
Object.defineProperty(Factory$8, "__esModule", { value: true });
|
6659
|
+
Factory$8._WindowModule = void 0;
|
6655
6660
|
const base_1 = base;
|
6656
6661
|
const validate_1 = validate;
|
6657
6662
|
const Instance_1 = requireInstance();
|
@@ -6791,7 +6796,7 @@ function requireFactory$1 () {
|
|
6791
6796
|
return this.wrapSync({ uuid, name });
|
6792
6797
|
}
|
6793
6798
|
}
|
6794
|
-
Factory$8.
|
6799
|
+
Factory$8._WindowModule = _WindowModule;
|
6795
6800
|
return Factory$8;
|
6796
6801
|
}
|
6797
6802
|
|
@@ -6817,24 +6822,26 @@ function requireWindow () {
|
|
6817
6822
|
};
|
6818
6823
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6819
6824
|
/**
|
6820
|
-
* Entry
|
6825
|
+
* Entry points for the OpenFin `Window` API.
|
6821
6826
|
*
|
6822
|
-
*
|
6823
|
-
*
|
6824
|
-
* instances of the OpenFin `Window` class.
|
6827
|
+
* In the previous version of the API documentation, both static methods involving `Window` and instance properties of the
|
6828
|
+
* `Window` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
6825
6829
|
*
|
6826
|
-
*
|
6830
|
+
* * {@link _WindowModule} contains static methods relating to the `Window` type, accessible through `fin.Window`.
|
6831
|
+
* * {@link _Window} describes an instance of an OpenFin Window, e.g. as returned by `fin.Window.getCurrent`.
|
6832
|
+
*
|
6833
|
+
* Underscore prefixing of OpenFin types that alias DOM entities will be fixed in a future version.
|
6827
6834
|
*
|
6828
6835
|
* @packageDocumentation
|
6829
6836
|
*/
|
6830
|
-
|
6831
|
-
exports.default = Factory_1.default;
|
6837
|
+
__exportStar(requireFactory$1(), exports);
|
6832
6838
|
__exportStar(requireInstance(), exports);
|
6833
6839
|
} (window$1));
|
6834
6840
|
return window$1;
|
6835
6841
|
}
|
6836
6842
|
|
6837
6843
|
Object.defineProperty(system, "__esModule", { value: true });
|
6844
|
+
system.System = void 0;
|
6838
6845
|
const base_1$j = base;
|
6839
6846
|
const transport_errors_1$2 = transportErrors;
|
6840
6847
|
const window_1 = requireWindow();
|
@@ -8681,7 +8688,7 @@ class System extends base_1$j.EmitterBase {
|
|
8681
8688
|
await this.wire.sendAction('set-domain-settings', { domainSettings, ...this.identity });
|
8682
8689
|
}
|
8683
8690
|
}
|
8684
|
-
system.
|
8691
|
+
system.System = System;
|
8685
8692
|
|
8686
8693
|
var interappbus = {};
|
8687
8694
|
|
@@ -9092,6 +9099,7 @@ var __classPrivateFieldSet$b = (commonjsGlobal && commonjsGlobal.__classPrivateF
|
|
9092
9099
|
};
|
9093
9100
|
var _ChannelClient_protectedObj, _ChannelClient_strategy, _ChannelClient_close;
|
9094
9101
|
Object.defineProperty(client, "__esModule", { value: true });
|
9102
|
+
client.ChannelClient = void 0;
|
9095
9103
|
const channel_1$1 = channel;
|
9096
9104
|
const channelClientsByEndpointId = new Map();
|
9097
9105
|
/**
|
@@ -9257,7 +9265,7 @@ class ChannelClient extends channel_1$1.ChannelBase {
|
|
9257
9265
|
});
|
9258
9266
|
}
|
9259
9267
|
}
|
9260
|
-
client.
|
9268
|
+
client.ChannelClient = ChannelClient;
|
9261
9269
|
_ChannelClient_protectedObj = new WeakMap(), _ChannelClient_strategy = new WeakMap(), _ChannelClient_close = new WeakMap();
|
9262
9270
|
|
9263
9271
|
var connectionManager = {};
|
@@ -10182,7 +10190,7 @@ class MessageReceiver extends base_1$h.Base {
|
|
10182
10190
|
const endpointIdFromPreviousConnection = this.latestEndpointIdByChannelId.get(channelId);
|
10183
10191
|
if (endpointIdFromPreviousConnection) {
|
10184
10192
|
// Not convinced by this way of doing things, but pushing up for now.
|
10185
|
-
client_1$1.
|
10193
|
+
client_1$1.ChannelClient.closeChannelByEndpointId(endpointIdFromPreviousConnection);
|
10186
10194
|
// eslint-disable-next-line no-console
|
10187
10195
|
console.warn('You have created a second connection to an older provider. First connection has been removed from the clientMap');
|
10188
10196
|
// eslint-disable-next-line no-console
|
@@ -10603,7 +10611,7 @@ class Channel extends base_1$f.EmitterBase {
|
|
10603
10611
|
_Channel_readyToConnect.set(this, new lazy_1$1.AsyncRetryableLazy(async () => {
|
10604
10612
|
await Promise.all([
|
10605
10613
|
this.on('disconnected', (eventPayload) => {
|
10606
|
-
client_1.
|
10614
|
+
client_1.ChannelClient.handleProviderDisconnect(eventPayload);
|
10607
10615
|
}),
|
10608
10616
|
this.on('connected', (...args) => {
|
10609
10617
|
__classPrivateFieldGet$7(this, _Channel_internalEmitter, "f").emit('connected', ...args);
|
@@ -10794,7 +10802,7 @@ class Channel extends base_1$f.EmitterBase {
|
|
10794
10802
|
};
|
10795
10803
|
const routingInfo = await this.safeConnect(channelName, opts.wait, connectPayload);
|
10796
10804
|
const strategy = await __classPrivateFieldGet$7(this, _Channel_connectionManager, "f").createClientStrategy(rtcPacket, routingInfo);
|
10797
|
-
const channel = new client_1.
|
10805
|
+
const channel = new client_1.ChannelClient(routingInfo, this.wire, strategy);
|
10798
10806
|
// It is the client's responsibility to handle endpoint disconnection to the provider.
|
10799
10807
|
// If the endpoint dies, the client will force a disconnection through the core.
|
10800
10808
|
// The provider does not care about endpoint disconnection.
|
@@ -10806,7 +10814,7 @@ class Channel extends base_1$f.EmitterBase {
|
|
10806
10814
|
console.warn(`Something went wrong during disconnect for client with uuid: ${routingInfo.uuid} / name: ${routingInfo.name} / endpointId: ${routingInfo.endpointId}.`);
|
10807
10815
|
}
|
10808
10816
|
finally {
|
10809
|
-
client_1.
|
10817
|
+
client_1.ChannelClient.handleProviderDisconnect(routingInfo);
|
10810
10818
|
}
|
10811
10819
|
});
|
10812
10820
|
return channel;
|
@@ -10877,7 +10885,7 @@ channel$1.Channel = Channel;
|
|
10877
10885
|
_Channel_connectionManager = new WeakMap(), _Channel_internalEmitter = new WeakMap(), _Channel_readyToConnect = new WeakMap();
|
10878
10886
|
|
10879
10887
|
Object.defineProperty(interappbus, "__esModule", { value: true });
|
10880
|
-
interappbus.InterAppPayload = void 0;
|
10888
|
+
interappbus.InterAppPayload = interappbus.InterApplicationBus = void 0;
|
10881
10889
|
const events_1$4 = eventsExports;
|
10882
10890
|
const base_1$e = base;
|
10883
10891
|
const ref_counter_1 = refCounter;
|
@@ -11069,7 +11077,7 @@ class InterApplicationBus extends base_1$e.Base {
|
|
11069
11077
|
return true;
|
11070
11078
|
}
|
11071
11079
|
}
|
11072
|
-
interappbus.
|
11080
|
+
interappbus.InterApplicationBus = InterApplicationBus;
|
11073
11081
|
/**
|
11074
11082
|
* @internal
|
11075
11083
|
*/
|
@@ -11087,6 +11095,7 @@ function createKey(...toHash) {
|
|
11087
11095
|
var clipboard = {};
|
11088
11096
|
|
11089
11097
|
Object.defineProperty(clipboard, "__esModule", { value: true });
|
11098
|
+
clipboard.Clipboard = void 0;
|
11090
11099
|
const base_1$d = base;
|
11091
11100
|
/**
|
11092
11101
|
* @PORTED
|
@@ -11284,7 +11293,7 @@ class Clipboard extends base_1$d.Base {
|
|
11284
11293
|
return payload.data;
|
11285
11294
|
}
|
11286
11295
|
}
|
11287
|
-
clipboard.
|
11296
|
+
clipboard.Clipboard = Clipboard;
|
11288
11297
|
|
11289
11298
|
var externalApplication = {};
|
11290
11299
|
|
@@ -11410,6 +11419,7 @@ class ExternalApplication extends base_1$c.EmitterBase {
|
|
11410
11419
|
Instance$4.ExternalApplication = ExternalApplication;
|
11411
11420
|
|
11412
11421
|
Object.defineProperty(Factory$5, "__esModule", { value: true });
|
11422
|
+
Factory$5.ExternalApplicationModule = void 0;
|
11413
11423
|
const base_1$b = base;
|
11414
11424
|
const Instance_1$4 = Instance$4;
|
11415
11425
|
class ExternalApplicationModule extends base_1$b.Base {
|
@@ -11454,18 +11464,9 @@ class ExternalApplicationModule extends base_1$b.Base {
|
|
11454
11464
|
return new Instance_1$4.ExternalApplication(this.wire, { uuid });
|
11455
11465
|
}
|
11456
11466
|
}
|
11457
|
-
Factory$5.
|
11467
|
+
Factory$5.ExternalApplicationModule = ExternalApplicationModule;
|
11458
11468
|
|
11459
11469
|
(function (exports) {
|
11460
|
-
/**
|
11461
|
-
* Entry point for the OpenFin ExternalApplication namespace.
|
11462
|
-
*
|
11463
|
-
* Because TypeDoc does not currently support multiple modules with the same name, the module alias "ExternalApplicationModule" is used for
|
11464
|
-
* the module containing static members of the `ExternalApplication` namespace (available under `fin.ExternalApplication`), while `ExternalApplication`
|
11465
|
-
* documents instances of the OpenFin `ExternalApplication` class.
|
11466
|
-
*
|
11467
|
-
* @packageDocumentation
|
11468
|
-
*/
|
11469
11470
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
11470
11471
|
if (k2 === undefined) k2 = k;
|
11471
11472
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
@@ -11481,8 +11482,18 @@ Factory$5.default = ExternalApplicationModule;
|
|
11481
11482
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
11482
11483
|
};
|
11483
11484
|
Object.defineProperty(exports, "__esModule", { value: true });
|
11484
|
-
|
11485
|
-
|
11485
|
+
/**
|
11486
|
+
* Entry points for the OpenFin `ExternalApplication` API.
|
11487
|
+
*
|
11488
|
+
* In the previous version of the API documentation, both static methods involving `ExternalApplication` and instance properties of the
|
11489
|
+
* `ExternalApplication` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
11490
|
+
*
|
11491
|
+
* * {@link ExternalApplicationModule} contains static methods relating to the `ExternalApplication` type, accessible through `fin.ExternalApplication`.
|
11492
|
+
* * {@link ExternalApplication} describes an instance of an OpenFin ExternalApplication, e.g. as returned by `fin.ExternalApplication.getCurrent`.
|
11493
|
+
*
|
11494
|
+
* @packageDocumentation
|
11495
|
+
*/
|
11496
|
+
__exportStar(Factory$5, exports);
|
11486
11497
|
__exportStar(Instance$4, exports);
|
11487
11498
|
} (externalApplication));
|
11488
11499
|
|
@@ -11636,6 +11647,7 @@ class _Frame extends base_1$a.EmitterBase {
|
|
11636
11647
|
Instance$3._Frame = _Frame;
|
11637
11648
|
|
11638
11649
|
Object.defineProperty(Factory$4, "__esModule", { value: true });
|
11650
|
+
Factory$4._FrameModule = void 0;
|
11639
11651
|
const base_1$9 = base;
|
11640
11652
|
const validate_1$2 = validate;
|
11641
11653
|
const Instance_1$3 = Instance$3;
|
@@ -11719,17 +11731,19 @@ class _FrameModule extends base_1$9.Base {
|
|
11719
11731
|
return new Instance_1$3._Frame(this.wire, this.wire.environment.getCurrentEntityIdentity());
|
11720
11732
|
}
|
11721
11733
|
}
|
11722
|
-
Factory$4.
|
11734
|
+
Factory$4._FrameModule = _FrameModule;
|
11723
11735
|
|
11724
11736
|
(function (exports) {
|
11725
11737
|
/**
|
11726
|
-
* Entry
|
11738
|
+
* Entry points for the OpenFin `Frame` API.
|
11727
11739
|
*
|
11728
|
-
*
|
11729
|
-
*
|
11730
|
-
* instances of the OpenFin `Frame` class.
|
11740
|
+
* In the previous version of the API documentation, both static methods involving `Frame` and instance properties of the
|
11741
|
+
* `Frame` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
11731
11742
|
*
|
11732
|
-
*
|
11743
|
+
* * {@link _FrameModule} contains static methods relating to the `Frame` type, accessible through `fin.Frame`.
|
11744
|
+
* * {@link _Frame} describes an instance of an OpenFin Frame, e.g. as returned by `fin.Frame.getCurrent`.
|
11745
|
+
*
|
11746
|
+
* Underscore prefixing of OpenFin types that alias DOM entities will be fixed in a future version.
|
11733
11747
|
*
|
11734
11748
|
* @packageDocumentation
|
11735
11749
|
*/
|
@@ -11748,14 +11762,14 @@ Factory$4.default = _FrameModule;
|
|
11748
11762
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
11749
11763
|
};
|
11750
11764
|
Object.defineProperty(exports, "__esModule", { value: true });
|
11751
|
-
|
11752
|
-
exports.default = Factory_1.default;
|
11765
|
+
__exportStar(Factory$4, exports);
|
11753
11766
|
__exportStar(Instance$3, exports);
|
11754
11767
|
} (frame));
|
11755
11768
|
|
11756
11769
|
var globalHotkey = {};
|
11757
11770
|
|
11758
11771
|
Object.defineProperty(globalHotkey, "__esModule", { value: true });
|
11772
|
+
globalHotkey.GlobalHotkey = void 0;
|
11759
11773
|
const base_1$8 = base;
|
11760
11774
|
/**
|
11761
11775
|
* The GlobalHotkey module can register/unregister a global hotkeys.
|
@@ -11885,7 +11899,7 @@ class GlobalHotkey extends base_1$8.EmitterBase {
|
|
11885
11899
|
return data;
|
11886
11900
|
}
|
11887
11901
|
}
|
11888
|
-
globalHotkey.
|
11902
|
+
globalHotkey.GlobalHotkey = GlobalHotkey;
|
11889
11903
|
|
11890
11904
|
var platform = {};
|
11891
11905
|
|
@@ -13314,6 +13328,7 @@ _LayoutModule_layoutInitializationAttempted = new WeakMap();
|
|
13314
13328
|
} (layout));
|
13315
13329
|
|
13316
13330
|
Object.defineProperty(Factory$3, "__esModule", { value: true });
|
13331
|
+
Factory$3.PlatformModule = void 0;
|
13317
13332
|
const base_1$4 = base;
|
13318
13333
|
const Instance_1$1 = Instance$2;
|
13319
13334
|
const index_1$1 = layout;
|
@@ -13551,18 +13566,9 @@ class PlatformModule extends base_1$4.Base {
|
|
13551
13566
|
});
|
13552
13567
|
}
|
13553
13568
|
}
|
13554
|
-
Factory$3.
|
13569
|
+
Factory$3.PlatformModule = PlatformModule;
|
13555
13570
|
|
13556
13571
|
(function (exports) {
|
13557
|
-
/**
|
13558
|
-
* Entry point for the OpenFin Platform namespace.
|
13559
|
-
*
|
13560
|
-
* Because TypeDoc does not currently support multiple modules with the same name, the module alias "PlatformModule" is used for
|
13561
|
-
* the module containing static members of the `Platform` namespace (available under `fin.Platform`), while `Platform` documents
|
13562
|
-
* instances of the OpenFin `Platform` class.
|
13563
|
-
*
|
13564
|
-
* @packageDocumentation
|
13565
|
-
*/
|
13566
13572
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
13567
13573
|
if (k2 === undefined) k2 = k;
|
13568
13574
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
@@ -13578,8 +13584,18 @@ Factory$3.default = PlatformModule;
|
|
13578
13584
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
13579
13585
|
};
|
13580
13586
|
Object.defineProperty(exports, "__esModule", { value: true });
|
13581
|
-
|
13582
|
-
|
13587
|
+
/**
|
13588
|
+
* Entry points for the OpenFin `Platform` API.
|
13589
|
+
*
|
13590
|
+
* In the previous version of the API documentation, both static methods involving `Platform` and instance properties of the
|
13591
|
+
* `Platform` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
13592
|
+
*
|
13593
|
+
* * {@link PlatformModule} contains static methods relating to the `Platform` type, accessible through `fin.Platform`.
|
13594
|
+
* * {@link Platform} describes an instance of an OpenFin Platform, e.g. as returned by `fin.Platform.getCurrent`.
|
13595
|
+
*
|
13596
|
+
* @packageDocumentation
|
13597
|
+
*/
|
13598
|
+
__exportStar(Factory$3, exports);
|
13583
13599
|
__exportStar(Instance$2, exports);
|
13584
13600
|
} (platform));
|
13585
13601
|
|
@@ -16385,6 +16401,7 @@ function requireFactory () {
|
|
16385
16401
|
if (hasRequiredFactory) return Factory$1;
|
16386
16402
|
hasRequiredFactory = 1;
|
16387
16403
|
Object.defineProperty(Factory$1, "__esModule", { value: true });
|
16404
|
+
Factory$1.InteropModule = void 0;
|
16388
16405
|
const lodash_1 = require$$3;
|
16389
16406
|
const inaccessibleObject_1 = inaccessibleObject;
|
16390
16407
|
const base_1 = base;
|
@@ -16488,7 +16505,7 @@ function requireFactory () {
|
|
16488
16505
|
return new InteropClient_1.InteropClient(this.wire, name, interopConfig);
|
16489
16506
|
}
|
16490
16507
|
}
|
16491
|
-
Factory$1.
|
16508
|
+
Factory$1.InteropModule = InteropModule;
|
16492
16509
|
return Factory$1;
|
16493
16510
|
}
|
16494
16511
|
|
@@ -16501,8 +16518,8 @@ function requireInterop () {
|
|
16501
16518
|
/**
|
16502
16519
|
* Entry point for the OpenFin Interop namespace.
|
16503
16520
|
*
|
16504
|
-
*
|
16505
|
-
*
|
16521
|
+
* * {@link InteropModule} contains static members of the `Interop` namespace (available under `fin.Interop`)
|
16522
|
+
* * {@link InteropClient} and {@link InteropBroker} document instances of their respective classes.
|
16506
16523
|
*
|
16507
16524
|
* @packageDocumentation
|
16508
16525
|
*/
|
@@ -16521,8 +16538,7 @@ function requireInterop () {
|
|
16521
16538
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
16522
16539
|
};
|
16523
16540
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16524
|
-
|
16525
|
-
exports.default = Factory_1.default;
|
16541
|
+
__exportStar(requireFactory(), exports);
|
16526
16542
|
__exportStar(InteropClient$1, exports);
|
16527
16543
|
__exportStar(requireInteropBroker(), exports);
|
16528
16544
|
} (interop));
|
@@ -16698,6 +16714,7 @@ Instance.SnapshotSource = SnapshotSource;
|
|
16698
16714
|
_SnapshotSource_identity = new WeakMap(), _SnapshotSource_getConnection = new WeakMap(), _SnapshotSource_getClient = new WeakMap(), _SnapshotSource_startConnection = new WeakMap(), _SnapshotSource_setUpConnectionListener = new WeakMap();
|
16699
16715
|
|
16700
16716
|
Object.defineProperty(Factory, "__esModule", { value: true });
|
16717
|
+
Factory.SnapshotSourceModule = void 0;
|
16701
16718
|
const base_1 = base;
|
16702
16719
|
const Instance_1 = Instance;
|
16703
16720
|
const utils_1 = utils;
|
@@ -16776,15 +16793,17 @@ class SnapshotSourceModule extends base_1.Base {
|
|
16776
16793
|
return this.wrapSync(identity);
|
16777
16794
|
}
|
16778
16795
|
}
|
16779
|
-
Factory.
|
16796
|
+
Factory.SnapshotSourceModule = SnapshotSourceModule;
|
16780
16797
|
|
16781
16798
|
(function (exports) {
|
16782
16799
|
/**
|
16783
|
-
* Entry
|
16800
|
+
* Entry points for the OpenFin `SnapshotSource` API.
|
16801
|
+
*
|
16802
|
+
* In the previous version of the API documentation, both static methods involving `SnapshotSource` and instance properties of the
|
16803
|
+
* `SnapshotSource` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
16784
16804
|
*
|
16785
|
-
*
|
16786
|
-
*
|
16787
|
-
* instances of the OpenFin `SnapshotSource` class.
|
16805
|
+
* * {@link SnapshotSourceModule} contains static methods relating to the `SnapshotSource` type, accessible through `fin.SnapshotSource`.
|
16806
|
+
* * {@link SnapshotSource} describes an instance of an OpenFin SnapshotSource, e.g. as returned by `fin.SnapshotSource.getCurrent`.
|
16788
16807
|
*
|
16789
16808
|
* @packageDocumentation
|
16790
16809
|
*/
|
@@ -16803,12 +16822,12 @@ Factory.default = SnapshotSourceModule;
|
|
16803
16822
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
16804
16823
|
};
|
16805
16824
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16806
|
-
|
16807
|
-
exports.default = Factory_1.default;
|
16825
|
+
__exportStar(Factory, exports);
|
16808
16826
|
__exportStar(Instance, exports);
|
16809
16827
|
} (snapshotSource));
|
16810
16828
|
|
16811
16829
|
Object.defineProperty(fin, "__esModule", { value: true });
|
16830
|
+
fin.Fin = void 0;
|
16812
16831
|
const events_1$3 = eventsExports;
|
16813
16832
|
// Import from the file rather than the directory in case someone consuming types is using module resolution other than "node"
|
16814
16833
|
const index_1 = system;
|
@@ -16831,18 +16850,18 @@ class Fin extends events_1$3.EventEmitter {
|
|
16831
16850
|
constructor(wire) {
|
16832
16851
|
super();
|
16833
16852
|
this.wire = wire;
|
16834
|
-
this.System = new index_1.
|
16835
|
-
this.Window = new index_2.
|
16836
|
-
this.Application = new index_3.
|
16837
|
-
this.InterApplicationBus = new index_4.
|
16838
|
-
this.Clipboard = new index_5.
|
16839
|
-
this.ExternalApplication = new index_6.
|
16840
|
-
this.Frame = new index_7.
|
16841
|
-
this.GlobalHotkey = new index_8.
|
16842
|
-
this.Platform = new index_10.
|
16843
|
-
this.View = new index_9.
|
16844
|
-
this.Interop = new interop_1.
|
16845
|
-
this.SnapshotSource = new snapshot_source_1.
|
16853
|
+
this.System = new index_1.System(wire);
|
16854
|
+
this.Window = new index_2._WindowModule(wire);
|
16855
|
+
this.Application = new index_3.ApplicationModule(wire);
|
16856
|
+
this.InterApplicationBus = new index_4.InterApplicationBus(wire);
|
16857
|
+
this.Clipboard = new index_5.Clipboard(wire);
|
16858
|
+
this.ExternalApplication = new index_6.ExternalApplicationModule(wire);
|
16859
|
+
this.Frame = new index_7._FrameModule(wire);
|
16860
|
+
this.GlobalHotkey = new index_8.GlobalHotkey(wire);
|
16861
|
+
this.Platform = new index_10.PlatformModule(wire, this.InterApplicationBus.Channel);
|
16862
|
+
this.View = new index_9.ViewModule(wire);
|
16863
|
+
this.Interop = new interop_1.InteropModule(wire);
|
16864
|
+
this.SnapshotSource = new snapshot_source_1.SnapshotSourceModule(wire);
|
16846
16865
|
wire.registerFin(this);
|
16847
16866
|
this.me = (0, me_1$1.getMe)(wire);
|
16848
16867
|
// Handle disconnect events
|
@@ -16851,7 +16870,7 @@ class Fin extends events_1$3.EventEmitter {
|
|
16851
16870
|
});
|
16852
16871
|
}
|
16853
16872
|
}
|
16854
|
-
fin.
|
16873
|
+
fin.Fin = Fin;
|
16855
16874
|
|
16856
16875
|
var wire = {};
|
16857
16876
|
|
@@ -18153,7 +18172,7 @@ function requireMain () {
|
|
18153
18172
|
Object.defineProperty(exports, "__esModule", { value: true });
|
18154
18173
|
exports.ChannelProvider = exports.ChannelClient = exports.Frame = exports.View = exports.System = exports.Window = exports.Application = exports.Fin = exports.launch = exports.connect = void 0;
|
18155
18174
|
const fin_1 = fin;
|
18156
|
-
exports
|
18175
|
+
Object.defineProperty(exports, "Fin", { enumerable: true, get: function () { return fin_1.Fin; } });
|
18157
18176
|
const index_1 = requireApplication();
|
18158
18177
|
Object.defineProperty(exports, "Application", { enumerable: true, get: function () { return index_1.Application; } });
|
18159
18178
|
const window_1 = requireWindow();
|
@@ -18161,13 +18180,13 @@ function requireMain () {
|
|
18161
18180
|
const view_1 = requireView();
|
18162
18181
|
Object.defineProperty(exports, "View", { enumerable: true, get: function () { return view_1.View; } });
|
18163
18182
|
const client_1 = client;
|
18164
|
-
exports
|
18183
|
+
Object.defineProperty(exports, "ChannelClient", { enumerable: true, get: function () { return client_1.ChannelClient; } });
|
18165
18184
|
const provider_1 = provider;
|
18166
18185
|
Object.defineProperty(exports, "ChannelProvider", { enumerable: true, get: function () { return provider_1.ChannelProvider; } });
|
18167
18186
|
const frame_1 = frame;
|
18168
18187
|
Object.defineProperty(exports, "Frame", { enumerable: true, get: function () { return frame_1._Frame; } });
|
18169
18188
|
const system_1 = system;
|
18170
|
-
exports
|
18189
|
+
Object.defineProperty(exports, "System", { enumerable: true, get: function () { return system_1.System; } });
|
18171
18190
|
const wire_1 = wire;
|
18172
18191
|
const node_env_1 = requireNodeEnv();
|
18173
18192
|
const transport_1 = transport;
|
@@ -18184,7 +18203,7 @@ function requireMain () {
|
|
18184
18203
|
name: (_a = normalized.name) !== null && _a !== void 0 ? _a : normalized.uuid
|
18185
18204
|
});
|
18186
18205
|
await wire.connect(normalized);
|
18187
|
-
return new fin_1.
|
18206
|
+
return new fin_1.Fin(wire);
|
18188
18207
|
}
|
18189
18208
|
exports.connect = connect;
|
18190
18209
|
async function launch(config) {
|