@openfin/node-adapter 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.
@@ -7218,7 +7218,7 @@ declare type MutableWindowOptions = {
|
|
7218
7218
|
* Turns anything of matching RGB value transparent.
|
7219
7219
|
*
|
7220
7220
|
* Caveats:
|
7221
|
-
* *
|
7221
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
7222
7222
|
* * User cannot click-through transparent regions
|
7223
7223
|
* * Not supported on Mac
|
7224
7224
|
* * Windows Aero must be enabled
|
@@ -7350,6 +7350,7 @@ declare type MutableWindowOptions = {
|
|
7350
7350
|
* A flag that specifies how transparent the window will be.
|
7351
7351
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
7352
7352
|
* This value is clamped between `0.0` and `1.0`.
|
7353
|
+
* In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
7353
7354
|
*/
|
7354
7355
|
opacity: number;
|
7355
7356
|
/**
|
@@ -14166,7 +14167,7 @@ declare type WillPropagateApplicationEvent = ClosedEvent | ApplicationConnectedE
|
|
14166
14167
|
/**
|
14167
14168
|
* A View event that does propagate to (republish on) parent topics.
|
14168
14169
|
*/
|
14169
|
-
declare type WillPropagateViewEvent = WillPropagateWebContentsEvent | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
14170
|
+
declare type WillPropagateViewEvent = (WillPropagateWebContentsEvent & BaseViewEvent) | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
14170
14171
|
|
14171
14172
|
/**
|
14172
14173
|
* A WebContents event that does propagate to (republish on) parent topics.
|
@@ -14303,7 +14304,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
14303
14304
|
* alphaMask turns anything of matching RGB value transparent.
|
14304
14305
|
* <br>
|
14305
14306
|
* Caveats:
|
14306
|
-
* *
|
14307
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
14307
14308
|
* * User cannot click-through transparent regions
|
14308
14309
|
* * Not supported on Mac
|
14309
14310
|
* * Windows Aero must be enabled
|
@@ -14491,6 +14492,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
14491
14492
|
* A flag that specifies how transparent the window will be.
|
14492
14493
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
14493
14494
|
* This value is clamped between `0.0` and `1.0`.
|
14495
|
+
* * In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
14494
14496
|
*
|
14495
14497
|
* @property {preloadScript[]} [preloadScripts] - _Inheritable_
|
14496
14498
|
* A list of scripts that are eval'ed before other scripts in the page. When omitted, _inherits_
|
@@ -7218,7 +7218,7 @@ declare type MutableWindowOptions = {
|
|
7218
7218
|
* Turns anything of matching RGB value transparent.
|
7219
7219
|
*
|
7220
7220
|
* Caveats:
|
7221
|
-
* *
|
7221
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
7222
7222
|
* * User cannot click-through transparent regions
|
7223
7223
|
* * Not supported on Mac
|
7224
7224
|
* * Windows Aero must be enabled
|
@@ -7350,6 +7350,7 @@ declare type MutableWindowOptions = {
|
|
7350
7350
|
* A flag that specifies how transparent the window will be.
|
7351
7351
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
7352
7352
|
* This value is clamped between `0.0` and `1.0`.
|
7353
|
+
* In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
7353
7354
|
*/
|
7354
7355
|
opacity: number;
|
7355
7356
|
/**
|
@@ -14166,7 +14167,7 @@ declare type WillPropagateApplicationEvent = ClosedEvent | ApplicationConnectedE
|
|
14166
14167
|
/**
|
14167
14168
|
* A View event that does propagate to (republish on) parent topics.
|
14168
14169
|
*/
|
14169
|
-
declare type WillPropagateViewEvent = WillPropagateWebContentsEvent | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
14170
|
+
declare type WillPropagateViewEvent = (WillPropagateWebContentsEvent & BaseViewEvent) | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
14170
14171
|
|
14171
14172
|
/**
|
14172
14173
|
* A WebContents event that does propagate to (republish on) parent topics.
|
@@ -14303,7 +14304,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
14303
14304
|
* alphaMask turns anything of matching RGB value transparent.
|
14304
14305
|
* <br>
|
14305
14306
|
* Caveats:
|
14306
|
-
* *
|
14307
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
14307
14308
|
* * User cannot click-through transparent regions
|
14308
14309
|
* * Not supported on Mac
|
14309
14310
|
* * Windows Aero must be enabled
|
@@ -14491,6 +14492,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
14491
14492
|
* A flag that specifies how transparent the window will be.
|
14492
14493
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
14493
14494
|
* This value is clamped between `0.0` and `1.0`.
|
14495
|
+
* * In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
14494
14496
|
*
|
14495
14497
|
* @property {preloadScript[]} [preloadScripts] - _Inheritable_
|
14496
14498
|
* A list of scripts that are eval'ed before other scripts in the page. When omitted, _inherits_
|
@@ -7218,7 +7218,7 @@ declare type MutableWindowOptions = {
|
|
7218
7218
|
* Turns anything of matching RGB value transparent.
|
7219
7219
|
*
|
7220
7220
|
* Caveats:
|
7221
|
-
* *
|
7221
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
7222
7222
|
* * User cannot click-through transparent regions
|
7223
7223
|
* * Not supported on Mac
|
7224
7224
|
* * Windows Aero must be enabled
|
@@ -7350,6 +7350,7 @@ declare type MutableWindowOptions = {
|
|
7350
7350
|
* A flag that specifies how transparent the window will be.
|
7351
7351
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
7352
7352
|
* This value is clamped between `0.0` and `1.0`.
|
7353
|
+
* In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
7353
7354
|
*/
|
7354
7355
|
opacity: number;
|
7355
7356
|
/**
|
@@ -14166,7 +14167,7 @@ declare type WillPropagateApplicationEvent = ClosedEvent | ApplicationConnectedE
|
|
14166
14167
|
/**
|
14167
14168
|
* A View event that does propagate to (republish on) parent topics.
|
14168
14169
|
*/
|
14169
|
-
declare type WillPropagateViewEvent = WillPropagateWebContentsEvent | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
14170
|
+
declare type WillPropagateViewEvent = (WillPropagateWebContentsEvent & BaseViewEvent) | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
14170
14171
|
|
14171
14172
|
/**
|
14172
14173
|
* A WebContents event that does propagate to (republish on) parent topics.
|
@@ -14303,7 +14304,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
14303
14304
|
* alphaMask turns anything of matching RGB value transparent.
|
14304
14305
|
* <br>
|
14305
14306
|
* Caveats:
|
14306
|
-
* *
|
14307
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
14307
14308
|
* * User cannot click-through transparent regions
|
14308
14309
|
* * Not supported on Mac
|
14309
14310
|
* * Windows Aero must be enabled
|
@@ -14491,6 +14492,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
14491
14492
|
* A flag that specifies how transparent the window will be.
|
14492
14493
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
14493
14494
|
* This value is clamped between `0.0` and `1.0`.
|
14495
|
+
* * In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
14494
14496
|
*
|
14495
14497
|
* @property {preloadScript[]} [preloadScripts] - _Inheritable_
|
14496
14498
|
* A list of scripts that are eval'ed before other scripts in the page. When omitted, _inherits_
|
package/out/node-adapter.d.ts
CHANGED
@@ -7640,7 +7640,7 @@ declare type MutableWindowOptions = {
|
|
7640
7640
|
* Turns anything of matching RGB value transparent.
|
7641
7641
|
*
|
7642
7642
|
* Caveats:
|
7643
|
-
* *
|
7643
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
7644
7644
|
* * User cannot click-through transparent regions
|
7645
7645
|
* * Not supported on Mac
|
7646
7646
|
* * Windows Aero must be enabled
|
@@ -7772,6 +7772,7 @@ declare type MutableWindowOptions = {
|
|
7772
7772
|
* A flag that specifies how transparent the window will be.
|
7773
7773
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
7774
7774
|
* This value is clamped between `0.0` and `1.0`.
|
7775
|
+
* In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
7775
7776
|
*/
|
7776
7777
|
opacity: number;
|
7777
7778
|
/**
|
@@ -14764,7 +14765,7 @@ declare type WillPropagateApplicationEvent = ClosedEvent | ApplicationConnectedE
|
|
14764
14765
|
/**
|
14765
14766
|
* A View event that does propagate to (republish on) parent topics.
|
14766
14767
|
*/
|
14767
|
-
declare type WillPropagateViewEvent = WillPropagateWebContentsEvent | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
14768
|
+
declare type WillPropagateViewEvent = (WillPropagateWebContentsEvent & BaseViewEvent) | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent_2 | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
14768
14769
|
|
14769
14770
|
/**
|
14770
14771
|
* A WebContents event that does propagate to (republish on) parent topics.
|
@@ -14901,7 +14902,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
14901
14902
|
* alphaMask turns anything of matching RGB value transparent.
|
14902
14903
|
* <br>
|
14903
14904
|
* Caveats:
|
14904
|
-
* *
|
14905
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
14905
14906
|
* * User cannot click-through transparent regions
|
14906
14907
|
* * Not supported on Mac
|
14907
14908
|
* * Windows Aero must be enabled
|
@@ -15089,6 +15090,7 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
15089
15090
|
* A flag that specifies how transparent the window will be.
|
15090
15091
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
15091
15092
|
* This value is clamped between `0.0` and `1.0`.
|
15093
|
+
* * In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
15092
15094
|
*
|
15093
15095
|
* @property {preloadScript[]} [preloadScripts] - _Inheritable_
|
15094
15096
|
* A list of scripts that are eval'ed before other scripts in the page. When omitted, _inherits_
|
package/out/node-adapter.js
CHANGED
@@ -4906,7 +4906,7 @@ function requireInstance () {
|
|
4906
4906
|
* alphaMask turns anything of matching RGB value transparent.
|
4907
4907
|
* <br>
|
4908
4908
|
* Caveats:
|
4909
|
-
* *
|
4909
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
4910
4910
|
* * User cannot click-through transparent regions
|
4911
4911
|
* * Not supported on Mac
|
4912
4912
|
* * Windows Aero must be enabled
|
@@ -5094,6 +5094,7 @@ function requireInstance () {
|
|
5094
5094
|
* A flag that specifies how transparent the window will be.
|
5095
5095
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
5096
5096
|
* This value is clamped between `0.0` and `1.0`.
|
5097
|
+
* * In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
5097
5098
|
*
|
5098
5099
|
* @property {preloadScript[]} [preloadScripts] - _Inheritable_
|
5099
5100
|
* A list of scripts that are eval'ed before other scripts in the page. When omitted, _inherits_
|
@@ -16185,46 +16186,39 @@ class InteropClient extends base_1$2.Base {
|
|
16185
16186
|
InteropClient$1.InteropClient = InteropClient;
|
16186
16187
|
_InteropClient_clientPromise = new WeakMap(), _InteropClient_sessionContextGroups = new WeakMap();
|
16187
16188
|
|
16188
|
-
var overrideCheck = {};
|
16189
|
+
var overrideCheck$1 = {};
|
16189
16190
|
|
16190
|
-
|
16191
|
-
|
16192
|
-
|
16193
|
-
|
16194
|
-
|
16195
|
-
|
16196
|
-
|
16197
|
-
|
16198
|
-
|
16199
|
-
|
16200
|
-
|
16201
|
-
|
16202
|
-
|
16203
|
-
|
16204
|
-
|
16205
|
-
|
16206
|
-
|
16207
|
-
|
16208
|
-
|
16209
|
-
|
16210
|
-
|
16211
|
-
|
16212
|
-
|
16213
|
-
|
16214
|
-
|
16215
|
-
|
16216
|
-
|
16217
|
-
|
16218
|
-
|
16219
|
-
});
|
16220
|
-
if (notOverridden.length > 0) {
|
16221
|
-
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')}`);
|
16222
|
-
}
|
16223
|
-
}
|
16224
|
-
}
|
16225
|
-
overrideCheck.overrideCheck = overrideCheck$1;
|
16226
|
-
return overrideCheck;
|
16191
|
+
Object.defineProperty(overrideCheck$1, "__esModule", { value: true });
|
16192
|
+
overrideCheck$1.overrideCheck = overrideCheck$1.getDefaultViewFdc3VersionFromAppInfo = void 0;
|
16193
|
+
const InteropBroker_1 = requireInteropBroker();
|
16194
|
+
function getDefaultViewFdc3VersionFromAppInfo({ manifest, initialOptions }) {
|
16195
|
+
var _a, _b, _c, _d;
|
16196
|
+
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;
|
16197
|
+
return ['1.2', '2.0'].includes(setVersion !== null && setVersion !== void 0 ? setVersion : '') ? setVersion : undefined;
|
16198
|
+
}
|
16199
|
+
overrideCheck$1.getDefaultViewFdc3VersionFromAppInfo = getDefaultViewFdc3VersionFromAppInfo;
|
16200
|
+
// TODO: Unit test this
|
16201
|
+
function overrideCheck(overriddenBroker, fdc3InteropApi) {
|
16202
|
+
if (fdc3InteropApi && fdc3InteropApi === '2.0') {
|
16203
|
+
const mustOverrideAPIs = [
|
16204
|
+
'fdc3HandleFindInstances',
|
16205
|
+
'handleInfoForIntent',
|
16206
|
+
'handleInfoForIntentsByContext',
|
16207
|
+
'fdc3HandleGetAppMetadata',
|
16208
|
+
'fdc3HandleGetInfo',
|
16209
|
+
'fdc3HandleOpen',
|
16210
|
+
'handleFiredIntent',
|
16211
|
+
'handleFiredIntentForContext'
|
16212
|
+
];
|
16213
|
+
const notOverridden = mustOverrideAPIs.filter((api) => {
|
16214
|
+
return overriddenBroker[api] === InteropBroker_1.InteropBroker.prototype[api];
|
16215
|
+
});
|
16216
|
+
if (notOverridden.length > 0) {
|
16217
|
+
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')}`);
|
16218
|
+
}
|
16219
|
+
}
|
16227
16220
|
}
|
16221
|
+
overrideCheck$1.overrideCheck = overrideCheck;
|
16228
16222
|
|
16229
16223
|
var hasRequiredFactory;
|
16230
16224
|
|
@@ -16237,7 +16231,7 @@ function requireFactory () {
|
|
16237
16231
|
const base_1 = base;
|
16238
16232
|
const InteropBroker_1 = requireInteropBroker();
|
16239
16233
|
const InteropClient_1 = InteropClient$1;
|
16240
|
-
const overrideCheck_1 =
|
16234
|
+
const overrideCheck_1 = overrideCheck$1;
|
16241
16235
|
const common_utils_1 = commonUtils;
|
16242
16236
|
const defaultOverride = (Class) => new Class();
|
16243
16237
|
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.';
|