@openfin/core 34.78.2 → 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/mock.js +109 -90
- package/package.json +1 -1
package/out/mock.js
CHANGED
|
@@ -889,6 +889,7 @@ function requireFactory$3 () {
|
|
|
889
889
|
if (hasRequiredFactory$3) return Factory$6;
|
|
890
890
|
hasRequiredFactory$3 = 1;
|
|
891
891
|
Object.defineProperty(Factory$6, "__esModule", { value: true });
|
|
892
|
+
Factory$6.ViewModule = void 0;
|
|
892
893
|
const base_1 = base;
|
|
893
894
|
const validate_1 = validate;
|
|
894
895
|
const index_1 = requireView();
|
|
@@ -1027,7 +1028,7 @@ function requireFactory$3 () {
|
|
|
1027
1028
|
return this.wrapSync({ uuid, name });
|
|
1028
1029
|
}
|
|
1029
1030
|
}
|
|
1030
|
-
Factory$6.
|
|
1031
|
+
Factory$6.ViewModule = ViewModule;
|
|
1031
1032
|
return Factory$6;
|
|
1032
1033
|
}
|
|
1033
1034
|
|
|
@@ -3599,16 +3600,17 @@ function requireView () {
|
|
|
3599
3600
|
};
|
|
3600
3601
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3601
3602
|
/**
|
|
3602
|
-
* Entry
|
|
3603
|
+
* Entry points for the OpenFin `View` API.
|
|
3603
3604
|
*
|
|
3604
|
-
*
|
|
3605
|
-
*
|
|
3606
|
-
*
|
|
3605
|
+
* In the previous version of the API documentation, both static methods involving `View` and instance properties of the
|
|
3606
|
+
* `View` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
|
3607
|
+
*
|
|
3608
|
+
* * {@link ViewModule} contains static methods relating to the `View` type, accessible through `fin.View`.
|
|
3609
|
+
* * {@link View} describes an instance of an OpenFin View, e.g. as returned by `fin.View.getCurrent`.
|
|
3607
3610
|
*
|
|
3608
3611
|
* @packageDocumentation
|
|
3609
3612
|
*/
|
|
3610
|
-
|
|
3611
|
-
exports.default = Factory_1.default;
|
|
3613
|
+
__exportStar(requireFactory$3(), exports);
|
|
3612
3614
|
__exportStar(requireInstance$2(), exports);
|
|
3613
3615
|
} (view));
|
|
3614
3616
|
return view;
|
|
@@ -4448,6 +4450,7 @@ function requireFactory$2 () {
|
|
|
4448
4450
|
if (hasRequiredFactory$2) return Factory$7;
|
|
4449
4451
|
hasRequiredFactory$2 = 1;
|
|
4450
4452
|
Object.defineProperty(Factory$7, "__esModule", { value: true });
|
|
4453
|
+
Factory$7.ApplicationModule = void 0;
|
|
4451
4454
|
const base_1 = base;
|
|
4452
4455
|
const validate_1 = validate;
|
|
4453
4456
|
const Instance_1 = requireInstance$1();
|
|
@@ -4723,7 +4726,7 @@ function requireFactory$2 () {
|
|
|
4723
4726
|
});
|
|
4724
4727
|
}
|
|
4725
4728
|
}
|
|
4726
|
-
Factory$7.
|
|
4729
|
+
Factory$7.ApplicationModule = ApplicationModule;
|
|
4727
4730
|
return Factory$7;
|
|
4728
4731
|
}
|
|
4729
4732
|
|
|
@@ -4749,17 +4752,18 @@ function requireApplication () {
|
|
|
4749
4752
|
};
|
|
4750
4753
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4751
4754
|
/**
|
|
4752
|
-
* Entry
|
|
4755
|
+
* Entry points for the OpenFin `Application` API.
|
|
4756
|
+
*
|
|
4757
|
+
* In the previous version of the API documentation, both static methods involving `Application` and instance properties of the
|
|
4758
|
+
* `Application` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
|
4753
4759
|
*
|
|
4754
|
-
*
|
|
4755
|
-
*
|
|
4756
|
-
* instances of the OpenFin `Application` class.
|
|
4760
|
+
* * {@link ApplicationModule} contains static methods relating to the `Application` type, accessible through `fin.Application`.
|
|
4761
|
+
* * {@link Application} describes an instance of an OpenFin Application, e.g. as returned by `fin.Application.getCurrent`.
|
|
4757
4762
|
*
|
|
4758
4763
|
* @packageDocumentation
|
|
4759
4764
|
*/
|
|
4760
|
-
|
|
4765
|
+
__exportStar(requireFactory$2(), exports);
|
|
4761
4766
|
__exportStar(requireInstance$1(), exports);
|
|
4762
|
-
exports.default = Factory_1.default;
|
|
4763
4767
|
} (application));
|
|
4764
4768
|
return application;
|
|
4765
4769
|
}
|
|
@@ -6632,6 +6636,7 @@ function requireFactory$1 () {
|
|
|
6632
6636
|
if (hasRequiredFactory$1) return Factory$8;
|
|
6633
6637
|
hasRequiredFactory$1 = 1;
|
|
6634
6638
|
Object.defineProperty(Factory$8, "__esModule", { value: true });
|
|
6639
|
+
Factory$8._WindowModule = void 0;
|
|
6635
6640
|
const base_1 = base;
|
|
6636
6641
|
const validate_1 = validate;
|
|
6637
6642
|
const Instance_1 = requireInstance();
|
|
@@ -6771,7 +6776,7 @@ function requireFactory$1 () {
|
|
|
6771
6776
|
return this.wrapSync({ uuid, name });
|
|
6772
6777
|
}
|
|
6773
6778
|
}
|
|
6774
|
-
Factory$8.
|
|
6779
|
+
Factory$8._WindowModule = _WindowModule;
|
|
6775
6780
|
return Factory$8;
|
|
6776
6781
|
}
|
|
6777
6782
|
|
|
@@ -6797,24 +6802,26 @@ function requireWindow () {
|
|
|
6797
6802
|
};
|
|
6798
6803
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6799
6804
|
/**
|
|
6800
|
-
* Entry
|
|
6805
|
+
* Entry points for the OpenFin `Window` API.
|
|
6801
6806
|
*
|
|
6802
|
-
*
|
|
6803
|
-
*
|
|
6804
|
-
* instances of the OpenFin `Window` class.
|
|
6807
|
+
* In the previous version of the API documentation, both static methods involving `Window` and instance properties of the
|
|
6808
|
+
* `Window` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
|
6805
6809
|
*
|
|
6806
|
-
*
|
|
6810
|
+
* * {@link _WindowModule} contains static methods relating to the `Window` type, accessible through `fin.Window`.
|
|
6811
|
+
* * {@link _Window} describes an instance of an OpenFin Window, e.g. as returned by `fin.Window.getCurrent`.
|
|
6812
|
+
*
|
|
6813
|
+
* Underscore prefixing of OpenFin types that alias DOM entities will be fixed in a future version.
|
|
6807
6814
|
*
|
|
6808
6815
|
* @packageDocumentation
|
|
6809
6816
|
*/
|
|
6810
|
-
|
|
6811
|
-
exports.default = Factory_1.default;
|
|
6817
|
+
__exportStar(requireFactory$1(), exports);
|
|
6812
6818
|
__exportStar(requireInstance(), exports);
|
|
6813
6819
|
} (window$1));
|
|
6814
6820
|
return window$1;
|
|
6815
6821
|
}
|
|
6816
6822
|
|
|
6817
6823
|
Object.defineProperty(system, "__esModule", { value: true });
|
|
6824
|
+
system.System = void 0;
|
|
6818
6825
|
const base_1$j = base;
|
|
6819
6826
|
const transport_errors_1$1 = transportErrors;
|
|
6820
6827
|
const window_1 = requireWindow();
|
|
@@ -8661,7 +8668,7 @@ class System extends base_1$j.EmitterBase {
|
|
|
8661
8668
|
await this.wire.sendAction('set-domain-settings', { domainSettings, ...this.identity });
|
|
8662
8669
|
}
|
|
8663
8670
|
}
|
|
8664
|
-
system.
|
|
8671
|
+
system.System = System;
|
|
8665
8672
|
|
|
8666
8673
|
var interappbus = {};
|
|
8667
8674
|
|
|
@@ -9072,6 +9079,7 @@ var __classPrivateFieldSet$b = (commonjsGlobal && commonjsGlobal.__classPrivateF
|
|
|
9072
9079
|
};
|
|
9073
9080
|
var _ChannelClient_protectedObj, _ChannelClient_strategy, _ChannelClient_close;
|
|
9074
9081
|
Object.defineProperty(client, "__esModule", { value: true });
|
|
9082
|
+
client.ChannelClient = void 0;
|
|
9075
9083
|
const channel_1$1 = channel;
|
|
9076
9084
|
const channelClientsByEndpointId = new Map();
|
|
9077
9085
|
/**
|
|
@@ -9237,7 +9245,7 @@ class ChannelClient extends channel_1$1.ChannelBase {
|
|
|
9237
9245
|
});
|
|
9238
9246
|
}
|
|
9239
9247
|
}
|
|
9240
|
-
client.
|
|
9248
|
+
client.ChannelClient = ChannelClient;
|
|
9241
9249
|
_ChannelClient_protectedObj = new WeakMap(), _ChannelClient_strategy = new WeakMap(), _ChannelClient_close = new WeakMap();
|
|
9242
9250
|
|
|
9243
9251
|
var connectionManager = {};
|
|
@@ -10162,7 +10170,7 @@ class MessageReceiver extends base_1$h.Base {
|
|
|
10162
10170
|
const endpointIdFromPreviousConnection = this.latestEndpointIdByChannelId.get(channelId);
|
|
10163
10171
|
if (endpointIdFromPreviousConnection) {
|
|
10164
10172
|
// Not convinced by this way of doing things, but pushing up for now.
|
|
10165
|
-
client_1$1.
|
|
10173
|
+
client_1$1.ChannelClient.closeChannelByEndpointId(endpointIdFromPreviousConnection);
|
|
10166
10174
|
// eslint-disable-next-line no-console
|
|
10167
10175
|
console.warn('You have created a second connection to an older provider. First connection has been removed from the clientMap');
|
|
10168
10176
|
// eslint-disable-next-line no-console
|
|
@@ -10583,7 +10591,7 @@ class Channel extends base_1$f.EmitterBase {
|
|
|
10583
10591
|
_Channel_readyToConnect.set(this, new lazy_1$1.AsyncRetryableLazy(async () => {
|
|
10584
10592
|
await Promise.all([
|
|
10585
10593
|
this.on('disconnected', (eventPayload) => {
|
|
10586
|
-
client_1.
|
|
10594
|
+
client_1.ChannelClient.handleProviderDisconnect(eventPayload);
|
|
10587
10595
|
}),
|
|
10588
10596
|
this.on('connected', (...args) => {
|
|
10589
10597
|
__classPrivateFieldGet$7(this, _Channel_internalEmitter, "f").emit('connected', ...args);
|
|
@@ -10774,7 +10782,7 @@ class Channel extends base_1$f.EmitterBase {
|
|
|
10774
10782
|
};
|
|
10775
10783
|
const routingInfo = await this.safeConnect(channelName, opts.wait, connectPayload);
|
|
10776
10784
|
const strategy = await __classPrivateFieldGet$7(this, _Channel_connectionManager, "f").createClientStrategy(rtcPacket, routingInfo);
|
|
10777
|
-
const channel = new client_1.
|
|
10785
|
+
const channel = new client_1.ChannelClient(routingInfo, this.wire, strategy);
|
|
10778
10786
|
// It is the client's responsibility to handle endpoint disconnection to the provider.
|
|
10779
10787
|
// If the endpoint dies, the client will force a disconnection through the core.
|
|
10780
10788
|
// The provider does not care about endpoint disconnection.
|
|
@@ -10786,7 +10794,7 @@ class Channel extends base_1$f.EmitterBase {
|
|
|
10786
10794
|
console.warn(`Something went wrong during disconnect for client with uuid: ${routingInfo.uuid} / name: ${routingInfo.name} / endpointId: ${routingInfo.endpointId}.`);
|
|
10787
10795
|
}
|
|
10788
10796
|
finally {
|
|
10789
|
-
client_1.
|
|
10797
|
+
client_1.ChannelClient.handleProviderDisconnect(routingInfo);
|
|
10790
10798
|
}
|
|
10791
10799
|
});
|
|
10792
10800
|
return channel;
|
|
@@ -10857,7 +10865,7 @@ channel$1.Channel = Channel;
|
|
|
10857
10865
|
_Channel_connectionManager = new WeakMap(), _Channel_internalEmitter = new WeakMap(), _Channel_readyToConnect = new WeakMap();
|
|
10858
10866
|
|
|
10859
10867
|
Object.defineProperty(interappbus, "__esModule", { value: true });
|
|
10860
|
-
interappbus.InterAppPayload = void 0;
|
|
10868
|
+
interappbus.InterAppPayload = interappbus.InterApplicationBus = void 0;
|
|
10861
10869
|
const events_1$4 = eventsExports;
|
|
10862
10870
|
const base_1$e = base;
|
|
10863
10871
|
const ref_counter_1 = refCounter;
|
|
@@ -11049,7 +11057,7 @@ class InterApplicationBus extends base_1$e.Base {
|
|
|
11049
11057
|
return true;
|
|
11050
11058
|
}
|
|
11051
11059
|
}
|
|
11052
|
-
interappbus.
|
|
11060
|
+
interappbus.InterApplicationBus = InterApplicationBus;
|
|
11053
11061
|
/**
|
|
11054
11062
|
* @internal
|
|
11055
11063
|
*/
|
|
@@ -11067,6 +11075,7 @@ function createKey(...toHash) {
|
|
|
11067
11075
|
var clipboard = {};
|
|
11068
11076
|
|
|
11069
11077
|
Object.defineProperty(clipboard, "__esModule", { value: true });
|
|
11078
|
+
clipboard.Clipboard = void 0;
|
|
11070
11079
|
const base_1$d = base;
|
|
11071
11080
|
/**
|
|
11072
11081
|
* @PORTED
|
|
@@ -11264,7 +11273,7 @@ class Clipboard extends base_1$d.Base {
|
|
|
11264
11273
|
return payload.data;
|
|
11265
11274
|
}
|
|
11266
11275
|
}
|
|
11267
|
-
clipboard.
|
|
11276
|
+
clipboard.Clipboard = Clipboard;
|
|
11268
11277
|
|
|
11269
11278
|
var externalApplication = {};
|
|
11270
11279
|
|
|
@@ -11390,6 +11399,7 @@ class ExternalApplication extends base_1$c.EmitterBase {
|
|
|
11390
11399
|
Instance$4.ExternalApplication = ExternalApplication;
|
|
11391
11400
|
|
|
11392
11401
|
Object.defineProperty(Factory$5, "__esModule", { value: true });
|
|
11402
|
+
Factory$5.ExternalApplicationModule = void 0;
|
|
11393
11403
|
const base_1$b = base;
|
|
11394
11404
|
const Instance_1$4 = Instance$4;
|
|
11395
11405
|
class ExternalApplicationModule extends base_1$b.Base {
|
|
@@ -11434,18 +11444,9 @@ class ExternalApplicationModule extends base_1$b.Base {
|
|
|
11434
11444
|
return new Instance_1$4.ExternalApplication(this.wire, { uuid });
|
|
11435
11445
|
}
|
|
11436
11446
|
}
|
|
11437
|
-
Factory$5.
|
|
11447
|
+
Factory$5.ExternalApplicationModule = ExternalApplicationModule;
|
|
11438
11448
|
|
|
11439
11449
|
(function (exports) {
|
|
11440
|
-
/**
|
|
11441
|
-
* Entry point for the OpenFin ExternalApplication namespace.
|
|
11442
|
-
*
|
|
11443
|
-
* Because TypeDoc does not currently support multiple modules with the same name, the module alias "ExternalApplicationModule" is used for
|
|
11444
|
-
* the module containing static members of the `ExternalApplication` namespace (available under `fin.ExternalApplication`), while `ExternalApplication`
|
|
11445
|
-
* documents instances of the OpenFin `ExternalApplication` class.
|
|
11446
|
-
*
|
|
11447
|
-
* @packageDocumentation
|
|
11448
|
-
*/
|
|
11449
11450
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
11450
11451
|
if (k2 === undefined) k2 = k;
|
|
11451
11452
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -11461,8 +11462,18 @@ Factory$5.default = ExternalApplicationModule;
|
|
|
11461
11462
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11462
11463
|
};
|
|
11463
11464
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11464
|
-
|
|
11465
|
-
|
|
11465
|
+
/**
|
|
11466
|
+
* Entry points for the OpenFin `ExternalApplication` API.
|
|
11467
|
+
*
|
|
11468
|
+
* In the previous version of the API documentation, both static methods involving `ExternalApplication` and instance properties of the
|
|
11469
|
+
* `ExternalApplication` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
|
11470
|
+
*
|
|
11471
|
+
* * {@link ExternalApplicationModule} contains static methods relating to the `ExternalApplication` type, accessible through `fin.ExternalApplication`.
|
|
11472
|
+
* * {@link ExternalApplication} describes an instance of an OpenFin ExternalApplication, e.g. as returned by `fin.ExternalApplication.getCurrent`.
|
|
11473
|
+
*
|
|
11474
|
+
* @packageDocumentation
|
|
11475
|
+
*/
|
|
11476
|
+
__exportStar(Factory$5, exports);
|
|
11466
11477
|
__exportStar(Instance$4, exports);
|
|
11467
11478
|
} (externalApplication));
|
|
11468
11479
|
|
|
@@ -11616,6 +11627,7 @@ class _Frame extends base_1$a.EmitterBase {
|
|
|
11616
11627
|
Instance$3._Frame = _Frame;
|
|
11617
11628
|
|
|
11618
11629
|
Object.defineProperty(Factory$4, "__esModule", { value: true });
|
|
11630
|
+
Factory$4._FrameModule = void 0;
|
|
11619
11631
|
const base_1$9 = base;
|
|
11620
11632
|
const validate_1$2 = validate;
|
|
11621
11633
|
const Instance_1$3 = Instance$3;
|
|
@@ -11699,17 +11711,19 @@ class _FrameModule extends base_1$9.Base {
|
|
|
11699
11711
|
return new Instance_1$3._Frame(this.wire, this.wire.environment.getCurrentEntityIdentity());
|
|
11700
11712
|
}
|
|
11701
11713
|
}
|
|
11702
|
-
Factory$4.
|
|
11714
|
+
Factory$4._FrameModule = _FrameModule;
|
|
11703
11715
|
|
|
11704
11716
|
(function (exports) {
|
|
11705
11717
|
/**
|
|
11706
|
-
* Entry
|
|
11718
|
+
* Entry points for the OpenFin `Frame` API.
|
|
11707
11719
|
*
|
|
11708
|
-
*
|
|
11709
|
-
*
|
|
11710
|
-
* instances of the OpenFin `Frame` class.
|
|
11720
|
+
* In the previous version of the API documentation, both static methods involving `Frame` and instance properties of the
|
|
11721
|
+
* `Frame` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
|
11711
11722
|
*
|
|
11712
|
-
*
|
|
11723
|
+
* * {@link _FrameModule} contains static methods relating to the `Frame` type, accessible through `fin.Frame`.
|
|
11724
|
+
* * {@link _Frame} describes an instance of an OpenFin Frame, e.g. as returned by `fin.Frame.getCurrent`.
|
|
11725
|
+
*
|
|
11726
|
+
* Underscore prefixing of OpenFin types that alias DOM entities will be fixed in a future version.
|
|
11713
11727
|
*
|
|
11714
11728
|
* @packageDocumentation
|
|
11715
11729
|
*/
|
|
@@ -11728,14 +11742,14 @@ Factory$4.default = _FrameModule;
|
|
|
11728
11742
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11729
11743
|
};
|
|
11730
11744
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11731
|
-
|
|
11732
|
-
exports.default = Factory_1.default;
|
|
11745
|
+
__exportStar(Factory$4, exports);
|
|
11733
11746
|
__exportStar(Instance$3, exports);
|
|
11734
11747
|
} (frame));
|
|
11735
11748
|
|
|
11736
11749
|
var globalHotkey = {};
|
|
11737
11750
|
|
|
11738
11751
|
Object.defineProperty(globalHotkey, "__esModule", { value: true });
|
|
11752
|
+
globalHotkey.GlobalHotkey = void 0;
|
|
11739
11753
|
const base_1$8 = base;
|
|
11740
11754
|
/**
|
|
11741
11755
|
* The GlobalHotkey module can register/unregister a global hotkeys.
|
|
@@ -11865,7 +11879,7 @@ class GlobalHotkey extends base_1$8.EmitterBase {
|
|
|
11865
11879
|
return data;
|
|
11866
11880
|
}
|
|
11867
11881
|
}
|
|
11868
|
-
globalHotkey.
|
|
11882
|
+
globalHotkey.GlobalHotkey = GlobalHotkey;
|
|
11869
11883
|
|
|
11870
11884
|
var platform = {};
|
|
11871
11885
|
|
|
@@ -13294,6 +13308,7 @@ _LayoutModule_layoutInitializationAttempted = new WeakMap();
|
|
|
13294
13308
|
} (layout));
|
|
13295
13309
|
|
|
13296
13310
|
Object.defineProperty(Factory$3, "__esModule", { value: true });
|
|
13311
|
+
Factory$3.PlatformModule = void 0;
|
|
13297
13312
|
const base_1$4 = base;
|
|
13298
13313
|
const Instance_1$1 = Instance$2;
|
|
13299
13314
|
const index_1$1 = layout;
|
|
@@ -13531,18 +13546,9 @@ class PlatformModule extends base_1$4.Base {
|
|
|
13531
13546
|
});
|
|
13532
13547
|
}
|
|
13533
13548
|
}
|
|
13534
|
-
Factory$3.
|
|
13549
|
+
Factory$3.PlatformModule = PlatformModule;
|
|
13535
13550
|
|
|
13536
13551
|
(function (exports) {
|
|
13537
|
-
/**
|
|
13538
|
-
* Entry point for the OpenFin Platform namespace.
|
|
13539
|
-
*
|
|
13540
|
-
* Because TypeDoc does not currently support multiple modules with the same name, the module alias "PlatformModule" is used for
|
|
13541
|
-
* the module containing static members of the `Platform` namespace (available under `fin.Platform`), while `Platform` documents
|
|
13542
|
-
* instances of the OpenFin `Platform` class.
|
|
13543
|
-
*
|
|
13544
|
-
* @packageDocumentation
|
|
13545
|
-
*/
|
|
13546
13552
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13547
13553
|
if (k2 === undefined) k2 = k;
|
|
13548
13554
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -13558,8 +13564,18 @@ Factory$3.default = PlatformModule;
|
|
|
13558
13564
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13559
13565
|
};
|
|
13560
13566
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13561
|
-
|
|
13562
|
-
|
|
13567
|
+
/**
|
|
13568
|
+
* Entry points for the OpenFin `Platform` API.
|
|
13569
|
+
*
|
|
13570
|
+
* In the previous version of the API documentation, both static methods involving `Platform` and instance properties of the
|
|
13571
|
+
* `Platform` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
|
13572
|
+
*
|
|
13573
|
+
* * {@link PlatformModule} contains static methods relating to the `Platform` type, accessible through `fin.Platform`.
|
|
13574
|
+
* * {@link Platform} describes an instance of an OpenFin Platform, e.g. as returned by `fin.Platform.getCurrent`.
|
|
13575
|
+
*
|
|
13576
|
+
* @packageDocumentation
|
|
13577
|
+
*/
|
|
13578
|
+
__exportStar(Factory$3, exports);
|
|
13563
13579
|
__exportStar(Instance$2, exports);
|
|
13564
13580
|
} (platform));
|
|
13565
13581
|
|
|
@@ -16365,6 +16381,7 @@ function requireFactory () {
|
|
|
16365
16381
|
if (hasRequiredFactory) return Factory$1;
|
|
16366
16382
|
hasRequiredFactory = 1;
|
|
16367
16383
|
Object.defineProperty(Factory$1, "__esModule", { value: true });
|
|
16384
|
+
Factory$1.InteropModule = void 0;
|
|
16368
16385
|
const lodash_1 = require$$3;
|
|
16369
16386
|
const inaccessibleObject_1 = inaccessibleObject;
|
|
16370
16387
|
const base_1 = base;
|
|
@@ -16468,7 +16485,7 @@ function requireFactory () {
|
|
|
16468
16485
|
return new InteropClient_1.InteropClient(this.wire, name, interopConfig);
|
|
16469
16486
|
}
|
|
16470
16487
|
}
|
|
16471
|
-
Factory$1.
|
|
16488
|
+
Factory$1.InteropModule = InteropModule;
|
|
16472
16489
|
return Factory$1;
|
|
16473
16490
|
}
|
|
16474
16491
|
|
|
@@ -16481,8 +16498,8 @@ function requireInterop () {
|
|
|
16481
16498
|
/**
|
|
16482
16499
|
* Entry point for the OpenFin Interop namespace.
|
|
16483
16500
|
*
|
|
16484
|
-
*
|
|
16485
|
-
*
|
|
16501
|
+
* * {@link InteropModule} contains static members of the `Interop` namespace (available under `fin.Interop`)
|
|
16502
|
+
* * {@link InteropClient} and {@link InteropBroker} document instances of their respective classes.
|
|
16486
16503
|
*
|
|
16487
16504
|
* @packageDocumentation
|
|
16488
16505
|
*/
|
|
@@ -16501,8 +16518,7 @@ function requireInterop () {
|
|
|
16501
16518
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16502
16519
|
};
|
|
16503
16520
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16504
|
-
|
|
16505
|
-
exports.default = Factory_1.default;
|
|
16521
|
+
__exportStar(requireFactory(), exports);
|
|
16506
16522
|
__exportStar(InteropClient$1, exports);
|
|
16507
16523
|
__exportStar(requireInteropBroker(), exports);
|
|
16508
16524
|
} (interop));
|
|
@@ -16678,6 +16694,7 @@ Instance.SnapshotSource = SnapshotSource;
|
|
|
16678
16694
|
_SnapshotSource_identity = new WeakMap(), _SnapshotSource_getConnection = new WeakMap(), _SnapshotSource_getClient = new WeakMap(), _SnapshotSource_startConnection = new WeakMap(), _SnapshotSource_setUpConnectionListener = new WeakMap();
|
|
16679
16695
|
|
|
16680
16696
|
Object.defineProperty(Factory, "__esModule", { value: true });
|
|
16697
|
+
Factory.SnapshotSourceModule = void 0;
|
|
16681
16698
|
const base_1 = base;
|
|
16682
16699
|
const Instance_1 = Instance;
|
|
16683
16700
|
const utils_1 = utils;
|
|
@@ -16756,15 +16773,17 @@ class SnapshotSourceModule extends base_1.Base {
|
|
|
16756
16773
|
return this.wrapSync(identity);
|
|
16757
16774
|
}
|
|
16758
16775
|
}
|
|
16759
|
-
Factory.
|
|
16776
|
+
Factory.SnapshotSourceModule = SnapshotSourceModule;
|
|
16760
16777
|
|
|
16761
16778
|
(function (exports) {
|
|
16762
16779
|
/**
|
|
16763
|
-
* Entry
|
|
16780
|
+
* Entry points for the OpenFin `SnapshotSource` API.
|
|
16781
|
+
*
|
|
16782
|
+
* In the previous version of the API documentation, both static methods involving `SnapshotSource` and instance properties of the
|
|
16783
|
+
* `SnapshotSource` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
|
16764
16784
|
*
|
|
16765
|
-
*
|
|
16766
|
-
*
|
|
16767
|
-
* instances of the OpenFin `SnapshotSource` class.
|
|
16785
|
+
* * {@link SnapshotSourceModule} contains static methods relating to the `SnapshotSource` type, accessible through `fin.SnapshotSource`.
|
|
16786
|
+
* * {@link SnapshotSource} describes an instance of an OpenFin SnapshotSource, e.g. as returned by `fin.SnapshotSource.getCurrent`.
|
|
16768
16787
|
*
|
|
16769
16788
|
* @packageDocumentation
|
|
16770
16789
|
*/
|
|
@@ -16783,12 +16802,12 @@ Factory.default = SnapshotSourceModule;
|
|
|
16783
16802
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16784
16803
|
};
|
|
16785
16804
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16786
|
-
|
|
16787
|
-
exports.default = Factory_1.default;
|
|
16805
|
+
__exportStar(Factory, exports);
|
|
16788
16806
|
__exportStar(Instance, exports);
|
|
16789
16807
|
} (snapshotSource));
|
|
16790
16808
|
|
|
16791
16809
|
Object.defineProperty(fin, "__esModule", { value: true });
|
|
16810
|
+
fin.Fin = void 0;
|
|
16792
16811
|
const events_1$3 = eventsExports;
|
|
16793
16812
|
// Import from the file rather than the directory in case someone consuming types is using module resolution other than "node"
|
|
16794
16813
|
const index_1 = system;
|
|
@@ -16811,18 +16830,18 @@ class Fin extends events_1$3.EventEmitter {
|
|
|
16811
16830
|
constructor(wire) {
|
|
16812
16831
|
super();
|
|
16813
16832
|
this.wire = wire;
|
|
16814
|
-
this.System = new index_1.
|
|
16815
|
-
this.Window = new index_2.
|
|
16816
|
-
this.Application = new index_3.
|
|
16817
|
-
this.InterApplicationBus = new index_4.
|
|
16818
|
-
this.Clipboard = new index_5.
|
|
16819
|
-
this.ExternalApplication = new index_6.
|
|
16820
|
-
this.Frame = new index_7.
|
|
16821
|
-
this.GlobalHotkey = new index_8.
|
|
16822
|
-
this.Platform = new index_10.
|
|
16823
|
-
this.View = new index_9.
|
|
16824
|
-
this.Interop = new interop_1.
|
|
16825
|
-
this.SnapshotSource = new snapshot_source_1.
|
|
16833
|
+
this.System = new index_1.System(wire);
|
|
16834
|
+
this.Window = new index_2._WindowModule(wire);
|
|
16835
|
+
this.Application = new index_3.ApplicationModule(wire);
|
|
16836
|
+
this.InterApplicationBus = new index_4.InterApplicationBus(wire);
|
|
16837
|
+
this.Clipboard = new index_5.Clipboard(wire);
|
|
16838
|
+
this.ExternalApplication = new index_6.ExternalApplicationModule(wire);
|
|
16839
|
+
this.Frame = new index_7._FrameModule(wire);
|
|
16840
|
+
this.GlobalHotkey = new index_8.GlobalHotkey(wire);
|
|
16841
|
+
this.Platform = new index_10.PlatformModule(wire, this.InterApplicationBus.Channel);
|
|
16842
|
+
this.View = new index_9.ViewModule(wire);
|
|
16843
|
+
this.Interop = new interop_1.InteropModule(wire);
|
|
16844
|
+
this.SnapshotSource = new snapshot_source_1.SnapshotSourceModule(wire);
|
|
16826
16845
|
wire.registerFin(this);
|
|
16827
16846
|
this.me = (0, me_1$2.getMe)(wire);
|
|
16828
16847
|
// Handle disconnect events
|
|
@@ -16831,7 +16850,7 @@ class Fin extends events_1$3.EventEmitter {
|
|
|
16831
16850
|
});
|
|
16832
16851
|
}
|
|
16833
16852
|
}
|
|
16834
|
-
fin.
|
|
16853
|
+
fin.Fin = Fin;
|
|
16835
16854
|
|
|
16836
16855
|
var transport = {};
|
|
16837
16856
|
|
|
@@ -17271,7 +17290,7 @@ exports.fin = mock.fin = ((typeof window !== 'undefined' && (window === null ||
|
|
|
17271
17290
|
uuid: '',
|
|
17272
17291
|
name: ''
|
|
17273
17292
|
});
|
|
17274
|
-
return new fin_1.
|
|
17293
|
+
return new fin_1.Fin(transport);
|
|
17275
17294
|
})());
|
|
17276
17295
|
var _default = mock.default = OpenFin;
|
|
17277
17296
|
|