@openfin/core 35.78.22 → 35.78.26
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 +11 -4
- package/out/mock-beta.d.ts +11 -4
- package/out/mock-public.d.ts +11 -4
- package/out/mock.d.ts +11 -4
- package/out/mock.js +5 -8
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
|
@@ -96,6 +96,10 @@ declare type Api = {
|
|
|
96
96
|
sameOriginInjection?: boolean;
|
|
97
97
|
enableDeprecatedSharedName?: boolean;
|
|
98
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* Prevent fin API injection. If true `fin` won't be available in this context.
|
|
101
|
+
*/
|
|
102
|
+
preventInjection?: boolean;
|
|
99
103
|
};
|
|
100
104
|
|
|
101
105
|
declare type ApiCall<Request, Response> = {
|
|
@@ -3388,6 +3392,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
|
|
|
3388
3392
|
* @interface
|
|
3389
3393
|
*/
|
|
3390
3394
|
declare type ConstViewOptions = {
|
|
3395
|
+
/**
|
|
3396
|
+
* Configurations for API injection.
|
|
3397
|
+
*/
|
|
3398
|
+
api: Api;
|
|
3391
3399
|
/**
|
|
3392
3400
|
* The name of the view.
|
|
3393
3401
|
*/
|
|
@@ -17889,10 +17897,9 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
17889
17897
|
show(force?: boolean): Promise<void>;
|
|
17890
17898
|
/**
|
|
17891
17899
|
* Shows the window if it is hidden at the specified location.
|
|
17892
|
-
*
|
|
17893
|
-
*
|
|
17894
|
-
* @param
|
|
17895
|
-
* @param top The right position of the window
|
|
17900
|
+
*
|
|
17901
|
+
* @param left The left position of the window in pixels
|
|
17902
|
+
* @param top The top position of the window in pixels
|
|
17896
17903
|
* @param force Show will be prevented from closing when force is false and
|
|
17897
17904
|
* ‘show-requested’ has been subscribed to for application’s main window
|
|
17898
17905
|
*
|
package/out/mock-beta.d.ts
CHANGED
|
@@ -96,6 +96,10 @@ declare type Api = {
|
|
|
96
96
|
sameOriginInjection?: boolean;
|
|
97
97
|
enableDeprecatedSharedName?: boolean;
|
|
98
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* Prevent fin API injection. If true `fin` won't be available in this context.
|
|
101
|
+
*/
|
|
102
|
+
preventInjection?: boolean;
|
|
99
103
|
};
|
|
100
104
|
|
|
101
105
|
declare type ApiCall<Request, Response> = {
|
|
@@ -3388,6 +3392,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
|
|
|
3388
3392
|
* @interface
|
|
3389
3393
|
*/
|
|
3390
3394
|
declare type ConstViewOptions = {
|
|
3395
|
+
/**
|
|
3396
|
+
* Configurations for API injection.
|
|
3397
|
+
*/
|
|
3398
|
+
api: Api;
|
|
3391
3399
|
/**
|
|
3392
3400
|
* The name of the view.
|
|
3393
3401
|
*/
|
|
@@ -17889,10 +17897,9 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
17889
17897
|
show(force?: boolean): Promise<void>;
|
|
17890
17898
|
/**
|
|
17891
17899
|
* Shows the window if it is hidden at the specified location.
|
|
17892
|
-
*
|
|
17893
|
-
*
|
|
17894
|
-
* @param
|
|
17895
|
-
* @param top The right position of the window
|
|
17900
|
+
*
|
|
17901
|
+
* @param left The left position of the window in pixels
|
|
17902
|
+
* @param top The top position of the window in pixels
|
|
17896
17903
|
* @param force Show will be prevented from closing when force is false and
|
|
17897
17904
|
* ‘show-requested’ has been subscribed to for application’s main window
|
|
17898
17905
|
*
|
package/out/mock-public.d.ts
CHANGED
|
@@ -96,6 +96,10 @@ declare type Api = {
|
|
|
96
96
|
sameOriginInjection?: boolean;
|
|
97
97
|
enableDeprecatedSharedName?: boolean;
|
|
98
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* Prevent fin API injection. If true `fin` won't be available in this context.
|
|
101
|
+
*/
|
|
102
|
+
preventInjection?: boolean;
|
|
99
103
|
};
|
|
100
104
|
|
|
101
105
|
declare type ApiCall<Request, Response> = {
|
|
@@ -3388,6 +3392,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
|
|
|
3388
3392
|
* @interface
|
|
3389
3393
|
*/
|
|
3390
3394
|
declare type ConstViewOptions = {
|
|
3395
|
+
/**
|
|
3396
|
+
* Configurations for API injection.
|
|
3397
|
+
*/
|
|
3398
|
+
api: Api;
|
|
3391
3399
|
/**
|
|
3392
3400
|
* The name of the view.
|
|
3393
3401
|
*/
|
|
@@ -17889,10 +17897,9 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
17889
17897
|
show(force?: boolean): Promise<void>;
|
|
17890
17898
|
/**
|
|
17891
17899
|
* Shows the window if it is hidden at the specified location.
|
|
17892
|
-
*
|
|
17893
|
-
*
|
|
17894
|
-
* @param
|
|
17895
|
-
* @param top The right position of the window
|
|
17900
|
+
*
|
|
17901
|
+
* @param left The left position of the window in pixels
|
|
17902
|
+
* @param top The top position of the window in pixels
|
|
17896
17903
|
* @param force Show will be prevented from closing when force is false and
|
|
17897
17904
|
* ‘show-requested’ has been subscribed to for application’s main window
|
|
17898
17905
|
*
|
package/out/mock.d.ts
CHANGED
|
@@ -96,6 +96,10 @@ declare type Api = {
|
|
|
96
96
|
sameOriginInjection?: boolean;
|
|
97
97
|
enableDeprecatedSharedName?: boolean;
|
|
98
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* Prevent fin API injection. If true `fin` won't be available in this context.
|
|
101
|
+
*/
|
|
102
|
+
preventInjection?: boolean;
|
|
99
103
|
};
|
|
100
104
|
|
|
101
105
|
declare type ApiCall<Request, Response> = {
|
|
@@ -3431,6 +3435,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
|
|
|
3431
3435
|
* @interface
|
|
3432
3436
|
*/
|
|
3433
3437
|
declare type ConstViewOptions = {
|
|
3438
|
+
/**
|
|
3439
|
+
* Configurations for API injection.
|
|
3440
|
+
*/
|
|
3441
|
+
api: Api;
|
|
3434
3442
|
/**
|
|
3435
3443
|
* The name of the view.
|
|
3436
3444
|
*/
|
|
@@ -18329,10 +18337,9 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
18329
18337
|
show(force?: boolean): Promise<void>;
|
|
18330
18338
|
/**
|
|
18331
18339
|
* Shows the window if it is hidden at the specified location.
|
|
18332
|
-
*
|
|
18333
|
-
*
|
|
18334
|
-
* @param
|
|
18335
|
-
* @param top The right position of the window
|
|
18340
|
+
*
|
|
18341
|
+
* @param left The left position of the window in pixels
|
|
18342
|
+
* @param top The top position of the window in pixels
|
|
18336
18343
|
* @param force Show will be prevented from closing when force is false and
|
|
18337
18344
|
* ‘show-requested’ has been subscribed to for application’s main window
|
|
18338
18345
|
*
|
package/out/mock.js
CHANGED
|
@@ -2559,10 +2559,8 @@ class WebContents extends base_1$k.EmitterBase {
|
|
|
2559
2559
|
});
|
|
2560
2560
|
const { data: { willOpen, options: popupOptions } } = tryCreatePayload;
|
|
2561
2561
|
if (willOpen) {
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
entityType: 'window'
|
|
2565
|
-
});
|
|
2562
|
+
// Solve the issue where Interop in a popup window with non cross-origin url is not working(core-1076).
|
|
2563
|
+
await this.fin.Window.create(popupOptions.initialOptions);
|
|
2566
2564
|
}
|
|
2567
2565
|
const normalizePopupResult = (payload) => {
|
|
2568
2566
|
const { name, uuid, result, data } = payload;
|
|
@@ -5278,10 +5276,9 @@ function requireInstance () {
|
|
|
5278
5276
|
}
|
|
5279
5277
|
/**
|
|
5280
5278
|
* Shows the window if it is hidden at the specified location.
|
|
5281
|
-
*
|
|
5282
|
-
*
|
|
5283
|
-
* @param
|
|
5284
|
-
* @param top The right position of the window
|
|
5279
|
+
*
|
|
5280
|
+
* @param left The left position of the window in pixels
|
|
5281
|
+
* @param top The top position of the window in pixels
|
|
5285
5282
|
* @param force Show will be prevented from closing when force is false and
|
|
5286
5283
|
* ‘show-requested’ has been subscribed to for application’s main window
|
|
5287
5284
|
*
|