@openfin/core 33.77.5 → 33.77.7
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 +5 -3
- package/out/mock-beta.d.ts +5 -3
- package/out/mock-public.d.ts +5 -3
- package/out/mock.d.ts +5 -3
- package/out/mock.js +34 -40
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
|
@@ -7192,7 +7192,7 @@ declare type MutableWindowOptions = {
|
|
|
7192
7192
|
* Turns anything of matching RGB value transparent.
|
|
7193
7193
|
*
|
|
7194
7194
|
* Caveats:
|
|
7195
|
-
* *
|
|
7195
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
|
7196
7196
|
* * User cannot click-through transparent regions
|
|
7197
7197
|
* * Not supported on Mac
|
|
7198
7198
|
* * Windows Aero must be enabled
|
|
@@ -7324,6 +7324,7 @@ declare type MutableWindowOptions = {
|
|
|
7324
7324
|
* A flag that specifies how transparent the window will be.
|
|
7325
7325
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
|
7326
7326
|
* This value is clamped between `0.0` and `1.0`.
|
|
7327
|
+
* In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
|
7327
7328
|
*/
|
|
7328
7329
|
opacity: number;
|
|
7329
7330
|
/**
|
|
@@ -14140,7 +14141,7 @@ declare type WillPropagateApplicationEvent = ClosedEvent | ApplicationConnectedE
|
|
|
14140
14141
|
/**
|
|
14141
14142
|
* A View event that does propagate to (republish on) parent topics.
|
|
14142
14143
|
*/
|
|
14143
|
-
declare type WillPropagateViewEvent = WillPropagateWebContentsEvent | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
14144
|
+
declare type WillPropagateViewEvent = (WillPropagateWebContentsEvent & BaseViewEvent) | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
14144
14145
|
|
|
14145
14146
|
/**
|
|
14146
14147
|
* A WebContents event that does propagate to (republish on) parent topics.
|
|
@@ -14277,7 +14278,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
|
14277
14278
|
* alphaMask turns anything of matching RGB value transparent.
|
|
14278
14279
|
* <br>
|
|
14279
14280
|
* Caveats:
|
|
14280
|
-
* *
|
|
14281
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
|
14281
14282
|
* * User cannot click-through transparent regions
|
|
14282
14283
|
* * Not supported on Mac
|
|
14283
14284
|
* * Windows Aero must be enabled
|
|
@@ -14465,6 +14466,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
|
14465
14466
|
* A flag that specifies how transparent the window will be.
|
|
14466
14467
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
|
14467
14468
|
* This value is clamped between `0.0` and `1.0`.
|
|
14469
|
+
* * In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
|
14468
14470
|
*
|
|
14469
14471
|
* @property {preloadScript[]} [preloadScripts] - _Inheritable_
|
|
14470
14472
|
* A list of scripts that are eval'ed before other scripts in the page. When omitted, _inherits_
|
package/out/mock-beta.d.ts
CHANGED
|
@@ -7192,7 +7192,7 @@ declare type MutableWindowOptions = {
|
|
|
7192
7192
|
* Turns anything of matching RGB value transparent.
|
|
7193
7193
|
*
|
|
7194
7194
|
* Caveats:
|
|
7195
|
-
* *
|
|
7195
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
|
7196
7196
|
* * User cannot click-through transparent regions
|
|
7197
7197
|
* * Not supported on Mac
|
|
7198
7198
|
* * Windows Aero must be enabled
|
|
@@ -7324,6 +7324,7 @@ declare type MutableWindowOptions = {
|
|
|
7324
7324
|
* A flag that specifies how transparent the window will be.
|
|
7325
7325
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
|
7326
7326
|
* This value is clamped between `0.0` and `1.0`.
|
|
7327
|
+
* In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
|
7327
7328
|
*/
|
|
7328
7329
|
opacity: number;
|
|
7329
7330
|
/**
|
|
@@ -14140,7 +14141,7 @@ declare type WillPropagateApplicationEvent = ClosedEvent | ApplicationConnectedE
|
|
|
14140
14141
|
/**
|
|
14141
14142
|
* A View event that does propagate to (republish on) parent topics.
|
|
14142
14143
|
*/
|
|
14143
|
-
declare type WillPropagateViewEvent = WillPropagateWebContentsEvent | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
14144
|
+
declare type WillPropagateViewEvent = (WillPropagateWebContentsEvent & BaseViewEvent) | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
14144
14145
|
|
|
14145
14146
|
/**
|
|
14146
14147
|
* A WebContents event that does propagate to (republish on) parent topics.
|
|
@@ -14277,7 +14278,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
|
14277
14278
|
* alphaMask turns anything of matching RGB value transparent.
|
|
14278
14279
|
* <br>
|
|
14279
14280
|
* Caveats:
|
|
14280
|
-
* *
|
|
14281
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
|
14281
14282
|
* * User cannot click-through transparent regions
|
|
14282
14283
|
* * Not supported on Mac
|
|
14283
14284
|
* * Windows Aero must be enabled
|
|
@@ -14465,6 +14466,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
|
14465
14466
|
* A flag that specifies how transparent the window will be.
|
|
14466
14467
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
|
14467
14468
|
* This value is clamped between `0.0` and `1.0`.
|
|
14469
|
+
* * In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
|
14468
14470
|
*
|
|
14469
14471
|
* @property {preloadScript[]} [preloadScripts] - _Inheritable_
|
|
14470
14472
|
* A list of scripts that are eval'ed before other scripts in the page. When omitted, _inherits_
|
package/out/mock-public.d.ts
CHANGED
|
@@ -7192,7 +7192,7 @@ declare type MutableWindowOptions = {
|
|
|
7192
7192
|
* Turns anything of matching RGB value transparent.
|
|
7193
7193
|
*
|
|
7194
7194
|
* Caveats:
|
|
7195
|
-
* *
|
|
7195
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
|
7196
7196
|
* * User cannot click-through transparent regions
|
|
7197
7197
|
* * Not supported on Mac
|
|
7198
7198
|
* * Windows Aero must be enabled
|
|
@@ -7324,6 +7324,7 @@ declare type MutableWindowOptions = {
|
|
|
7324
7324
|
* A flag that specifies how transparent the window will be.
|
|
7325
7325
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
|
7326
7326
|
* This value is clamped between `0.0` and `1.0`.
|
|
7327
|
+
* In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
|
7327
7328
|
*/
|
|
7328
7329
|
opacity: number;
|
|
7329
7330
|
/**
|
|
@@ -14140,7 +14141,7 @@ declare type WillPropagateApplicationEvent = ClosedEvent | ApplicationConnectedE
|
|
|
14140
14141
|
/**
|
|
14141
14142
|
* A View event that does propagate to (republish on) parent topics.
|
|
14142
14143
|
*/
|
|
14143
|
-
declare type WillPropagateViewEvent = WillPropagateWebContentsEvent | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
14144
|
+
declare type WillPropagateViewEvent = (WillPropagateWebContentsEvent & BaseViewEvent) | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
14144
14145
|
|
|
14145
14146
|
/**
|
|
14146
14147
|
* A WebContents event that does propagate to (republish on) parent topics.
|
|
@@ -14277,7 +14278,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
|
14277
14278
|
* alphaMask turns anything of matching RGB value transparent.
|
|
14278
14279
|
* <br>
|
|
14279
14280
|
* Caveats:
|
|
14280
|
-
* *
|
|
14281
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
|
14281
14282
|
* * User cannot click-through transparent regions
|
|
14282
14283
|
* * Not supported on Mac
|
|
14283
14284
|
* * Windows Aero must be enabled
|
|
@@ -14465,6 +14466,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
|
14465
14466
|
* A flag that specifies how transparent the window will be.
|
|
14466
14467
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
|
14467
14468
|
* This value is clamped between `0.0` and `1.0`.
|
|
14469
|
+
* * In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
|
14468
14470
|
*
|
|
14469
14471
|
* @property {preloadScript[]} [preloadScripts] - _Inheritable_
|
|
14470
14472
|
* A list of scripts that are eval'ed before other scripts in the page. When omitted, _inherits_
|
package/out/mock.d.ts
CHANGED
|
@@ -7611,7 +7611,7 @@ declare type MutableWindowOptions = {
|
|
|
7611
7611
|
* Turns anything of matching RGB value transparent.
|
|
7612
7612
|
*
|
|
7613
7613
|
* Caveats:
|
|
7614
|
-
* *
|
|
7614
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
|
7615
7615
|
* * User cannot click-through transparent regions
|
|
7616
7616
|
* * Not supported on Mac
|
|
7617
7617
|
* * Windows Aero must be enabled
|
|
@@ -7743,6 +7743,7 @@ declare type MutableWindowOptions = {
|
|
|
7743
7743
|
* A flag that specifies how transparent the window will be.
|
|
7744
7744
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
|
7745
7745
|
* This value is clamped between `0.0` and `1.0`.
|
|
7746
|
+
* In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
|
7746
7747
|
*/
|
|
7747
7748
|
opacity: number;
|
|
7748
7749
|
/**
|
|
@@ -14735,7 +14736,7 @@ declare type WillPropagateApplicationEvent = ClosedEvent | ApplicationConnectedE
|
|
|
14735
14736
|
/**
|
|
14736
14737
|
* A View event that does propagate to (republish on) parent topics.
|
|
14737
14738
|
*/
|
|
14738
|
-
declare type WillPropagateViewEvent = WillPropagateWebContentsEvent | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
14739
|
+
declare type WillPropagateViewEvent = (WillPropagateWebContentsEvent & BaseViewEvent) | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
14739
14740
|
|
|
14740
14741
|
/**
|
|
14741
14742
|
* A WebContents event that does propagate to (republish on) parent topics.
|
|
@@ -14872,7 +14873,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
|
14872
14873
|
* alphaMask turns anything of matching RGB value transparent.
|
|
14873
14874
|
* <br>
|
|
14874
14875
|
* Caveats:
|
|
14875
|
-
* *
|
|
14876
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
|
14876
14877
|
* * User cannot click-through transparent regions
|
|
14877
14878
|
* * Not supported on Mac
|
|
14878
14879
|
* * Windows Aero must be enabled
|
|
@@ -15060,6 +15061,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
|
15060
15061
|
* A flag that specifies how transparent the window will be.
|
|
15061
15062
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
|
15062
15063
|
* This value is clamped between `0.0` and `1.0`.
|
|
15064
|
+
* * In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
|
15063
15065
|
*
|
|
15064
15066
|
* @property {preloadScript[]} [preloadScripts] - _Inheritable_
|
|
15065
15067
|
* A list of scripts that are eval'ed before other scripts in the page. When omitted, _inherits_
|
package/out/mock.js
CHANGED
|
@@ -4886,7 +4886,7 @@ function requireInstance () {
|
|
|
4886
4886
|
* alphaMask turns anything of matching RGB value transparent.
|
|
4887
4887
|
* <br>
|
|
4888
4888
|
* Caveats:
|
|
4889
|
-
* *
|
|
4889
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
|
4890
4890
|
* * User cannot click-through transparent regions
|
|
4891
4891
|
* * Not supported on Mac
|
|
4892
4892
|
* * Windows Aero must be enabled
|
|
@@ -5074,6 +5074,7 @@ function requireInstance () {
|
|
|
5074
5074
|
* A flag that specifies how transparent the window will be.
|
|
5075
5075
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
|
5076
5076
|
* This value is clamped between `0.0` and `1.0`.
|
|
5077
|
+
* * In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
|
5077
5078
|
*
|
|
5078
5079
|
* @property {preloadScript[]} [preloadScripts] - _Inheritable_
|
|
5079
5080
|
* A list of scripts that are eval'ed before other scripts in the page. When omitted, _inherits_
|
|
@@ -16165,46 +16166,39 @@ class InteropClient extends base_1$2.Base {
|
|
|
16165
16166
|
InteropClient$1.InteropClient = InteropClient;
|
|
16166
16167
|
_InteropClient_clientPromise = new WeakMap(), _InteropClient_sessionContextGroups = new WeakMap();
|
|
16167
16168
|
|
|
16168
|
-
var overrideCheck = {};
|
|
16169
|
+
var overrideCheck$1 = {};
|
|
16169
16170
|
|
|
16170
|
-
|
|
16171
|
-
|
|
16172
|
-
|
|
16173
|
-
|
|
16174
|
-
|
|
16175
|
-
|
|
16176
|
-
|
|
16177
|
-
|
|
16178
|
-
|
|
16179
|
-
|
|
16180
|
-
|
|
16181
|
-
|
|
16182
|
-
|
|
16183
|
-
|
|
16184
|
-
|
|
16185
|
-
|
|
16186
|
-
|
|
16187
|
-
|
|
16188
|
-
|
|
16189
|
-
|
|
16190
|
-
|
|
16191
|
-
|
|
16192
|
-
|
|
16193
|
-
|
|
16194
|
-
|
|
16195
|
-
|
|
16196
|
-
|
|
16197
|
-
|
|
16198
|
-
|
|
16199
|
-
});
|
|
16200
|
-
if (notOverridden.length > 0) {
|
|
16201
|
-
console.warn(`WARNING: FDC3 2.0 has been set as a default option for Views in this Platform, but the required InteropBroker APIs for FDC3 2.0 compliance have not all been overridden.\nThe following APIs need to be overridden:\n${notOverridden.join('\n')}`);
|
|
16202
|
-
}
|
|
16203
|
-
}
|
|
16204
|
-
}
|
|
16205
|
-
overrideCheck.overrideCheck = overrideCheck$1;
|
|
16206
|
-
return overrideCheck;
|
|
16171
|
+
Object.defineProperty(overrideCheck$1, "__esModule", { value: true });
|
|
16172
|
+
overrideCheck$1.overrideCheck = overrideCheck$1.getDefaultViewFdc3VersionFromAppInfo = void 0;
|
|
16173
|
+
const InteropBroker_1 = requireInteropBroker();
|
|
16174
|
+
function getDefaultViewFdc3VersionFromAppInfo({ manifest, initialOptions }) {
|
|
16175
|
+
var _a, _b, _c, _d;
|
|
16176
|
+
const setVersion = (_c = (_b = (_a = manifest.platform) === null || _a === void 0 ? void 0 : _a.defaultViewOptions) === null || _b === void 0 ? void 0 : _b.fdc3InteropApi) !== null && _c !== void 0 ? _c : (_d = initialOptions.defaultViewOptions) === null || _d === void 0 ? void 0 : _d.fdc3InteropApi;
|
|
16177
|
+
return ['1.2', '2.0'].includes(setVersion !== null && setVersion !== void 0 ? setVersion : '') ? setVersion : undefined;
|
|
16178
|
+
}
|
|
16179
|
+
overrideCheck$1.getDefaultViewFdc3VersionFromAppInfo = getDefaultViewFdc3VersionFromAppInfo;
|
|
16180
|
+
// TODO: Unit test this
|
|
16181
|
+
function overrideCheck(overriddenBroker, fdc3InteropApi) {
|
|
16182
|
+
if (fdc3InteropApi && fdc3InteropApi === '2.0') {
|
|
16183
|
+
const mustOverrideAPIs = [
|
|
16184
|
+
'fdc3HandleFindInstances',
|
|
16185
|
+
'handleInfoForIntent',
|
|
16186
|
+
'handleInfoForIntentsByContext',
|
|
16187
|
+
'fdc3HandleGetAppMetadata',
|
|
16188
|
+
'fdc3HandleGetInfo',
|
|
16189
|
+
'fdc3HandleOpen',
|
|
16190
|
+
'handleFiredIntent',
|
|
16191
|
+
'handleFiredIntentForContext'
|
|
16192
|
+
];
|
|
16193
|
+
const notOverridden = mustOverrideAPIs.filter((api) => {
|
|
16194
|
+
return overriddenBroker[api] === InteropBroker_1.InteropBroker.prototype[api];
|
|
16195
|
+
});
|
|
16196
|
+
if (notOverridden.length > 0) {
|
|
16197
|
+
console.warn(`WARNING: FDC3 2.0 has been set as a default option for Views in this Platform, but the required InteropBroker APIs for FDC3 2.0 compliance have not all been overridden.\nThe following APIs need to be overridden:\n${notOverridden.join('\n')}`);
|
|
16198
|
+
}
|
|
16199
|
+
}
|
|
16207
16200
|
}
|
|
16201
|
+
overrideCheck$1.overrideCheck = overrideCheck;
|
|
16208
16202
|
|
|
16209
16203
|
var hasRequiredFactory;
|
|
16210
16204
|
|
|
@@ -16217,7 +16211,7 @@ function requireFactory () {
|
|
|
16217
16211
|
const base_1 = base;
|
|
16218
16212
|
const InteropBroker_1 = requireInteropBroker();
|
|
16219
16213
|
const InteropClient_1 = InteropClient$1;
|
|
16220
|
-
const overrideCheck_1 =
|
|
16214
|
+
const overrideCheck_1 = overrideCheck$1;
|
|
16221
16215
|
const common_utils_1 = commonUtils;
|
|
16222
16216
|
const defaultOverride = (Class) => new Class();
|
|
16223
16217
|
const BrokerParamAccessError = 'You have attempted to use or modify InteropBroker parameters, which is not allowed. You are likely using an older InteropBroker override scheme. Please consult our Interop docs for guidance on migrating to the new override scheme.';
|