@openfin/fdc3-api 43.100.47 → 43.100.50
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/fdc3-api-alpha.d.ts +223 -201
- package/out/fdc3-api-beta.d.ts +223 -201
- package/out/fdc3-api-public.d.ts +223 -201
- package/out/fdc3-api.d.ts +223 -201
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -136,13 +136,13 @@ declare type ApiSettings = {
|
|
|
136
136
|
/**
|
|
137
137
|
* Inject OpenFin API into cross-origin iframes
|
|
138
138
|
*
|
|
139
|
-
* @
|
|
139
|
+
* @default false
|
|
140
140
|
*/
|
|
141
141
|
crossOriginInjection?: boolean;
|
|
142
142
|
/**
|
|
143
143
|
* Inject OpenFin API into same-origin iframes
|
|
144
144
|
*
|
|
145
|
-
* @
|
|
145
|
+
* @default true
|
|
146
146
|
*/
|
|
147
147
|
sameOriginInjection?: boolean;
|
|
148
148
|
/**
|
|
@@ -1181,19 +1181,19 @@ declare class ApplicationModule extends Base {
|
|
|
1181
1181
|
*/
|
|
1182
1182
|
declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1183
1183
|
/**
|
|
1184
|
-
* @defaultValue false
|
|
1185
|
-
*
|
|
1186
1184
|
* Disables IAB secure logging for the app.
|
|
1185
|
+
*
|
|
1186
|
+
* @default false
|
|
1187
1187
|
*/
|
|
1188
1188
|
disableIabSecureLogging: boolean;
|
|
1189
1189
|
/**
|
|
1190
|
-
* @defaultValue 'There was an error loading the application.'
|
|
1191
|
-
*
|
|
1192
1190
|
* An error message to display when the application (launched via manifest) fails to load.
|
|
1193
1191
|
* A dialog box will be launched with the error message just before the runtime exits.
|
|
1194
1192
|
* Load fails such as failed DNS resolutions or aborted connections as well as cancellations, _e.g.,_ `window.stop()`,
|
|
1195
1193
|
* will trigger this dialog.
|
|
1196
1194
|
* Client response codes such as `404 Not Found` are not treated as fails as they are valid server responses.
|
|
1195
|
+
*
|
|
1196
|
+
* @default 'There was an error loading the application.'
|
|
1197
1197
|
*/
|
|
1198
1198
|
loadErrorMessage: string;
|
|
1199
1199
|
/**
|
|
@@ -1212,28 +1212,28 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
|
1212
1212
|
*/
|
|
1213
1213
|
name: string;
|
|
1214
1214
|
/**
|
|
1215
|
-
* @defaultValue false
|
|
1216
|
-
*
|
|
1217
1215
|
* A flag to configure the application as non-persistent.
|
|
1218
1216
|
* Runtime exits when there are no persistent apps running.
|
|
1217
|
+
*
|
|
1218
|
+
* @default false
|
|
1219
1219
|
*/
|
|
1220
1220
|
nonPersistent: boolean;
|
|
1221
1221
|
/**
|
|
1222
|
-
* @defaultValue false
|
|
1223
|
-
*
|
|
1224
1222
|
* Enable Flash at the application level.
|
|
1223
|
+
*
|
|
1224
|
+
* @default false
|
|
1225
1225
|
*/
|
|
1226
1226
|
plugins: boolean;
|
|
1227
1227
|
/**
|
|
1228
|
-
* @defaultValue false
|
|
1229
|
-
*
|
|
1230
1228
|
* Enable spell check at the application level.
|
|
1229
|
+
*
|
|
1230
|
+
* @default false
|
|
1231
1231
|
*/
|
|
1232
1232
|
spellCheck: boolean;
|
|
1233
1233
|
/**
|
|
1234
|
-
* @defaultValue 'about:blank'
|
|
1235
|
-
*
|
|
1236
1234
|
* The url to the application (specifically the application's main window).
|
|
1235
|
+
*
|
|
1236
|
+
* @default 'about:blank'
|
|
1237
1237
|
*/
|
|
1238
1238
|
url: string;
|
|
1239
1239
|
/**
|
|
@@ -1242,9 +1242,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
|
1242
1242
|
*/
|
|
1243
1243
|
uuid: string;
|
|
1244
1244
|
/**
|
|
1245
|
-
* @defaultValue true
|
|
1246
|
-
*
|
|
1247
1245
|
* When set to `false` it will disable the same-origin policy for the app.
|
|
1246
|
+
*
|
|
1247
|
+
* @default true
|
|
1248
1248
|
*/
|
|
1249
1249
|
webSecurity: boolean;
|
|
1250
1250
|
/**
|
|
@@ -1254,10 +1254,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
|
1254
1254
|
commands: ShortcutOverride[];
|
|
1255
1255
|
isPlatformController: boolean;
|
|
1256
1256
|
/**
|
|
1257
|
-
* @defaultValue 1000
|
|
1258
|
-
*
|
|
1259
1257
|
* **Platforms Only.** The maximum number of "detached" or "pooled" Views that can exist in the Platform before being closed.
|
|
1260
1258
|
* If you do not wish for views to be pooled on your platform, set this property to zero.
|
|
1259
|
+
*
|
|
1260
|
+
* @default 1000
|
|
1261
1261
|
*/
|
|
1262
1262
|
maxViewPoolSize: number;
|
|
1263
1263
|
/**
|
|
@@ -1273,12 +1273,12 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
|
1273
1273
|
*/
|
|
1274
1274
|
snapshot: Snapshot;
|
|
1275
1275
|
/**
|
|
1276
|
-
* @defaultValue false
|
|
1277
|
-
*
|
|
1278
1276
|
* **Platforms Only.** Prevent the Platform Provider from quitting automatically when the last Platform Window is closed.
|
|
1279
1277
|
*
|
|
1280
1278
|
* Note: if the Platform Provider is showing, it won't close automatically.
|
|
1281
1279
|
* If you want a hidden Platform Provider to remain open after the last Platform Window has been closed, set this property to true.
|
|
1280
|
+
*
|
|
1281
|
+
* @default false
|
|
1282
1282
|
*/
|
|
1283
1283
|
preventQuitOnLastWindowClosed: boolean;
|
|
1284
1284
|
/**
|
|
@@ -1286,9 +1286,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
|
1286
1286
|
*/
|
|
1287
1287
|
interopBrokerConfiguration: InteropBrokerOptions;
|
|
1288
1288
|
/**
|
|
1289
|
-
* @defaultValue true
|
|
1290
|
-
*
|
|
1291
1289
|
* When set to `false` it will disable OpenFin Diagnostics for the app.
|
|
1290
|
+
*
|
|
1291
|
+
* @default true
|
|
1292
1292
|
*/
|
|
1293
1293
|
apiDiagnostics: boolean;
|
|
1294
1294
|
/**
|
|
@@ -1304,16 +1304,16 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
|
1304
1304
|
*/
|
|
1305
1305
|
permissions?: Partial<Permissions_2>;
|
|
1306
1306
|
/**
|
|
1307
|
-
* @defaultValue false
|
|
1308
|
-
*
|
|
1309
1307
|
* Enables the use of the Jumplists API and the 'pin to taskbar' functionality.
|
|
1310
1308
|
* Only relevant in Windows.
|
|
1309
|
+
*
|
|
1310
|
+
* @default false
|
|
1311
1311
|
*/
|
|
1312
1312
|
enableJumpList: boolean;
|
|
1313
1313
|
/**
|
|
1314
|
-
* @defaultValue false
|
|
1315
|
-
*
|
|
1316
1314
|
* When set to `true`, any `beforeunload` handler set on the app will fire.
|
|
1315
|
+
*
|
|
1316
|
+
* @default false
|
|
1317
1317
|
*/
|
|
1318
1318
|
enableBeforeUnload: boolean;
|
|
1319
1319
|
/**
|
|
@@ -1394,25 +1394,25 @@ declare type ApplicationWindowInfo = {
|
|
|
1394
1394
|
*/
|
|
1395
1395
|
declare type ApplySnapshotOptions = {
|
|
1396
1396
|
/**
|
|
1397
|
-
* @defaultValue false
|
|
1398
|
-
*
|
|
1399
1397
|
* When true, applySnapshot will close existing windows,
|
|
1400
1398
|
* replacing current Platform state with the given snapshot.
|
|
1399
|
+
*
|
|
1400
|
+
* @default false
|
|
1401
1401
|
*/
|
|
1402
1402
|
closeExistingWindows?: boolean;
|
|
1403
1403
|
/**
|
|
1404
|
-
* @defaultValue false
|
|
1405
|
-
*
|
|
1406
1404
|
* When true, applySnapshot will close existing includeInSnapshots: true windows,
|
|
1407
1405
|
* replacing current Platform state with the given snapshot.
|
|
1406
|
+
*
|
|
1407
|
+
* @default false
|
|
1408
1408
|
*/
|
|
1409
1409
|
closeSnapshotWindows?: boolean;
|
|
1410
1410
|
/**
|
|
1411
|
-
* @defaultValue false
|
|
1412
|
-
*
|
|
1413
1411
|
* When true, applySnapshot will not check whether any windows in a
|
|
1414
1412
|
* snapshot are off-screen. By default, such windows will be repositioned to be on-screen,
|
|
1415
1413
|
* as defined by {@link PlatformProvider#positionOutOfBoundsWindows PlatformProvider.positionOutOfBoundsWindows}.
|
|
1414
|
+
*
|
|
1415
|
+
* @default false
|
|
1416
1416
|
*/
|
|
1417
1417
|
skipOutOfBoundsCheck?: boolean;
|
|
1418
1418
|
};
|
|
@@ -2069,15 +2069,15 @@ declare type CapturePageOptions = {
|
|
|
2069
2069
|
*/
|
|
2070
2070
|
area?: Rectangle;
|
|
2071
2071
|
/**
|
|
2072
|
-
* @defaultValue 'png'
|
|
2073
|
-
*
|
|
2074
2072
|
* The format of the captured image. Can be 'png', 'jpg', or 'bmp'.
|
|
2073
|
+
*
|
|
2074
|
+
* @default 'png'
|
|
2075
2075
|
*/
|
|
2076
2076
|
format?: 'bmp' | 'jpg' | 'png';
|
|
2077
2077
|
/**
|
|
2078
|
-
* @defaultValue 100
|
|
2079
|
-
*
|
|
2080
2078
|
* Quality of JPEG image. Between 0 - 100.
|
|
2079
|
+
*
|
|
2080
|
+
* @default 100
|
|
2081
2081
|
*/
|
|
2082
2082
|
quality?: number;
|
|
2083
2083
|
};
|
|
@@ -2710,9 +2710,9 @@ declare type ChannelClientDisconnectionListener = (identity: ClientIdentity) =>
|
|
|
2710
2710
|
*/
|
|
2711
2711
|
declare type ChannelConnectOptions = ChannelCreateOptions & {
|
|
2712
2712
|
/**
|
|
2713
|
-
* @defaultValue true
|
|
2714
|
-
*
|
|
2715
2713
|
* If true will wait for ChannelProvider to connect. If false will fail if ChannelProvider is not found.
|
|
2714
|
+
*
|
|
2715
|
+
* @default true
|
|
2716
2716
|
*/
|
|
2717
2717
|
wait?: boolean;
|
|
2718
2718
|
/**
|
|
@@ -3371,9 +3371,9 @@ declare interface CloseWindowPayload {
|
|
|
3371
3371
|
windowId: Identity_4;
|
|
3372
3372
|
options: {
|
|
3373
3373
|
/**
|
|
3374
|
-
* @defaultValue false
|
|
3375
|
-
*
|
|
3376
3374
|
* When set to true skips any before handler set on views that are part of the window
|
|
3375
|
+
*
|
|
3376
|
+
* @default false
|
|
3377
3377
|
*/
|
|
3378
3378
|
skipBeforeUnload?: boolean;
|
|
3379
3379
|
};
|
|
@@ -3478,9 +3478,9 @@ declare type ConstViewOptions = {
|
|
|
3478
3478
|
*/
|
|
3479
3479
|
name: string;
|
|
3480
3480
|
/**
|
|
3481
|
-
* @defaultValue "about:blank"
|
|
3482
|
-
*
|
|
3483
3481
|
* The URL of the window
|
|
3482
|
+
*
|
|
3483
|
+
* @default "about:blank"
|
|
3484
3484
|
*/
|
|
3485
3485
|
url: string;
|
|
3486
3486
|
/**
|
|
@@ -3505,6 +3505,15 @@ declare type ConstViewOptions = {
|
|
|
3505
3505
|
* Custom headers for requests sent by the view.
|
|
3506
3506
|
*/
|
|
3507
3507
|
customRequestHeaders: CustomRequestHeaders[];
|
|
3508
|
+
/**
|
|
3509
|
+
* @experimental
|
|
3510
|
+
*
|
|
3511
|
+
* When set to true, will prevent setting the `-webkit-app-region` and `app-region` css properties on the view.
|
|
3512
|
+
* These css properties are used to enable dragging of a frameless window.
|
|
3513
|
+
*
|
|
3514
|
+
* @default false
|
|
3515
|
+
*/
|
|
3516
|
+
disableAppRegion: boolean;
|
|
3508
3517
|
/**
|
|
3509
3518
|
* Initial bounds given relative to the window.
|
|
3510
3519
|
*/
|
|
@@ -3541,9 +3550,9 @@ declare type ConstViewOptions = {
|
|
|
3541
3550
|
experimental: any;
|
|
3542
3551
|
fdc3InteropApi?: string;
|
|
3543
3552
|
/**
|
|
3544
|
-
* @defaultValue false
|
|
3545
|
-
*
|
|
3546
3553
|
* When set to `true`, any `beforeunload` handler set on Views will fire.
|
|
3554
|
+
*
|
|
3555
|
+
* @default false
|
|
3547
3556
|
*/
|
|
3548
3557
|
enableBeforeUnload: boolean;
|
|
3549
3558
|
/**
|
|
@@ -3624,13 +3633,12 @@ declare type ConstWindowOptions = {
|
|
|
3624
3633
|
*/
|
|
3625
3634
|
backgroundColor: string;
|
|
3626
3635
|
/**
|
|
3627
|
-
* @defaultValue false
|
|
3628
|
-
*
|
|
3629
3636
|
* Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
|
|
3630
3637
|
* This also affects the Page Visibility API.
|
|
3631
3638
|
*
|
|
3632
3639
|
* When `true`, the page is throttled whether it is hidden or not.
|
|
3633
3640
|
*
|
|
3641
|
+
* @default false
|
|
3634
3642
|
*/
|
|
3635
3643
|
backgroundThrottling: boolean;
|
|
3636
3644
|
/**
|
|
@@ -3654,21 +3662,30 @@ declare type ConstWindowOptions = {
|
|
|
3654
3662
|
*/
|
|
3655
3663
|
customRequestHeaders: CustomRequestHeaders[];
|
|
3656
3664
|
/**
|
|
3657
|
-
* @defaultValue true
|
|
3658
|
-
*
|
|
3659
3665
|
* Setting this to false would keep the Window alive even if all its Views were closed.
|
|
3660
3666
|
* This is meant for advanced users and should be used with caution.
|
|
3661
3667
|
* Limitations - Once a Layout has been emptied out of all views it's not usable anymore, and certain API calls will fail.
|
|
3662
3668
|
* Use `layout.replace` to create a fresh Layout instance in case you want to populate it with Views again.
|
|
3663
3669
|
* **NOTE:** - This option is ignored in non-Platforms apps.
|
|
3670
|
+
*
|
|
3671
|
+
* @default true
|
|
3664
3672
|
*/
|
|
3665
3673
|
closeOnLastViewRemoved: boolean;
|
|
3666
3674
|
/**
|
|
3667
|
-
* @
|
|
3675
|
+
* @experimental
|
|
3676
|
+
*
|
|
3677
|
+
* When set to true, will prevent setting the `-webkit-app-region` and `app-region` css properties on the window.
|
|
3678
|
+
* These css properties are used to enable dragging of a frameless window.
|
|
3668
3679
|
*
|
|
3680
|
+
* @default false
|
|
3681
|
+
*/
|
|
3682
|
+
disableAppRegion: boolean;
|
|
3683
|
+
/**
|
|
3669
3684
|
* When `closeOnLastViewRemoved` is set to true, determines which views prevent closing the window.
|
|
3670
|
-
|
|
3685
|
+
* Defaults to `all`. You may want to switch this to `layout` if using View closeBehavior: 'hide'.
|
|
3671
3686
|
* **NOTE:** - This option is ignored in non-Platforms apps.
|
|
3687
|
+
*
|
|
3688
|
+
* @default 'all'
|
|
3672
3689
|
*/
|
|
3673
3690
|
viewsPreventingClose: 'all' | 'layout';
|
|
3674
3691
|
/**
|
|
@@ -3679,31 +3696,31 @@ declare type ConstWindowOptions = {
|
|
|
3679
3696
|
*/
|
|
3680
3697
|
defaultCentered: boolean;
|
|
3681
3698
|
/**
|
|
3682
|
-
* @defaultValue 500
|
|
3683
|
-
*
|
|
3684
3699
|
* The default height of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent launches
|
|
3685
3700
|
* in favor of the cached value.
|
|
3701
|
+
*
|
|
3702
|
+
* @default 500
|
|
3686
3703
|
*/
|
|
3687
3704
|
defaultHeight: number;
|
|
3688
3705
|
/**
|
|
3689
|
-
* @defaultValue 100
|
|
3690
|
-
*
|
|
3691
3706
|
* The default left position of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
|
|
3692
3707
|
* launches in favor of the cached value.
|
|
3708
|
+
*
|
|
3709
|
+
* @default 100
|
|
3693
3710
|
*/
|
|
3694
3711
|
defaultLeft: number;
|
|
3695
3712
|
/**
|
|
3696
|
-
* @defaultValue 100
|
|
3697
|
-
*
|
|
3698
3713
|
* The default top position of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
|
|
3699
3714
|
* launches in favor of the cached value.
|
|
3715
|
+
*
|
|
3716
|
+
* @default 100
|
|
3700
3717
|
*/
|
|
3701
3718
|
defaultTop: number;
|
|
3702
3719
|
/**
|
|
3703
|
-
* @defaultValue 800
|
|
3704
|
-
*
|
|
3705
3720
|
* The default width of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
|
|
3706
3721
|
* launches in favor of the cached value.
|
|
3722
|
+
*
|
|
3723
|
+
* @default 800
|
|
3707
3724
|
*/
|
|
3708
3725
|
defaultWidth: number;
|
|
3709
3726
|
/**
|
|
@@ -3749,19 +3766,19 @@ declare type ConstWindowOptions = {
|
|
|
3749
3766
|
*/
|
|
3750
3767
|
processAffinity: string;
|
|
3751
3768
|
/**
|
|
3752
|
-
* @defaultValue false
|
|
3753
|
-
*
|
|
3754
3769
|
* Displays a shadow on frameless windows.
|
|
3755
3770
|
* `shadow` and `cornerRounding` are mutually exclusive.
|
|
3756
3771
|
* On Windows 7, Aero theme is required.
|
|
3772
|
+
*
|
|
3773
|
+
* @default false
|
|
3757
3774
|
*/
|
|
3758
3775
|
shadow: boolean;
|
|
3759
3776
|
/**
|
|
3760
|
-
* @defaultValue true
|
|
3761
|
-
*
|
|
3762
3777
|
* Caches the location of the window.
|
|
3763
3778
|
*
|
|
3764
3779
|
* Note: this option is ignored in Platforms as it would cause inconsistent {@link Platform#applySnapshot applySnapshot} behavior.
|
|
3780
|
+
*
|
|
3781
|
+
* @default true
|
|
3765
3782
|
*/
|
|
3766
3783
|
saveWindowState: boolean;
|
|
3767
3784
|
/**
|
|
@@ -3770,22 +3787,22 @@ declare type ConstWindowOptions = {
|
|
|
3770
3787
|
*/
|
|
3771
3788
|
ignoreSavedWindowState: boolean;
|
|
3772
3789
|
/**
|
|
3773
|
-
* @defaultValue false
|
|
3774
|
-
*
|
|
3775
3790
|
* Makes this window a frameless window that can be created and resized to less than 41x36 px (width x height).
|
|
3776
3791
|
*
|
|
3777
3792
|
* Note: Caveats of small windows are no Aero Snap and drag to/from maximize.
|
|
3778
3793
|
* _Windows 10: Requires `maximizable` to be false. Resizing with the mouse is only possible down to 38x39 px._
|
|
3794
|
+
*
|
|
3795
|
+
* @default false
|
|
3779
3796
|
*/
|
|
3780
3797
|
smallWindow: boolean;
|
|
3781
3798
|
/**
|
|
3782
|
-
* @defaultValue "normal"
|
|
3783
|
-
*
|
|
3784
3799
|
* The visible state of the window on creation.
|
|
3785
3800
|
* One of:
|
|
3786
3801
|
* * `"maximized"`
|
|
3787
3802
|
* * `"minimized"`
|
|
3788
3803
|
* * `"normal"`
|
|
3804
|
+
*
|
|
3805
|
+
* @default "normal"
|
|
3789
3806
|
*/
|
|
3790
3807
|
state: WindowState;
|
|
3791
3808
|
/**
|
|
@@ -3800,26 +3817,26 @@ declare type ConstWindowOptions = {
|
|
|
3800
3817
|
*/
|
|
3801
3818
|
taskbarIconGroup: string;
|
|
3802
3819
|
/**
|
|
3803
|
-
* @defaultValue "about:blank"
|
|
3804
|
-
*
|
|
3805
3820
|
* The URL of the window
|
|
3821
|
+
*
|
|
3822
|
+
* @default "about:blank"
|
|
3806
3823
|
*/
|
|
3807
3824
|
url: string;
|
|
3808
3825
|
/**
|
|
3809
|
-
* @defaultValue <application UUID>
|
|
3810
|
-
*
|
|
3811
3826
|
* The `uuid` of the application, unique within the set of all `Application`s running in OpenFin Runtime.
|
|
3812
3827
|
* If omitted, defaults to the `uuid` of the application spawning the window.
|
|
3813
3828
|
* If given, must match the `uuid` of the application spawning the window.
|
|
3814
3829
|
* In other words, the application's `uuid` is the only acceptable value, but is the default, so there's
|
|
3815
3830
|
* really no need to provide it.
|
|
3831
|
+
*
|
|
3832
|
+
* @default <application UUID>
|
|
3816
3833
|
*/
|
|
3817
3834
|
uuid: string;
|
|
3818
3835
|
/**
|
|
3819
|
-
* @defaultValue false
|
|
3820
|
-
*
|
|
3821
3836
|
* When set to `true`, the window will not appear until the `window` object's `load` event fires.
|
|
3822
3837
|
* When set to `false`, the window will appear immediately without waiting for content to be loaded.
|
|
3838
|
+
*
|
|
3839
|
+
* @default false
|
|
3823
3840
|
*/
|
|
3824
3841
|
waitForPageLoad: boolean;
|
|
3825
3842
|
width: number;
|
|
@@ -4101,13 +4118,13 @@ declare type CopyBlockedEventReason = 'disabled';
|
|
|
4101
4118
|
*/
|
|
4102
4119
|
declare type CopyPermissions = {
|
|
4103
4120
|
/**
|
|
4104
|
-
* @defaultValue 'allowed'
|
|
4105
|
-
*
|
|
4106
4121
|
* Controls the behavior for copy operations for a matched URL.
|
|
4107
4122
|
*
|
|
4108
4123
|
* allow: Enables all copy operations.
|
|
4109
4124
|
* block: Disables all copy operations.
|
|
4110
4125
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
|
4126
|
+
*
|
|
4127
|
+
* @default 'allowed'
|
|
4111
4128
|
*/
|
|
4112
4129
|
behavior: 'allow' | 'block' | 'protect';
|
|
4113
4130
|
/**
|
|
@@ -4115,9 +4132,9 @@ declare type CopyPermissions = {
|
|
|
4115
4132
|
*/
|
|
4116
4133
|
options?: {
|
|
4117
4134
|
/**
|
|
4118
|
-
* @defaultValue ''
|
|
4119
|
-
*
|
|
4120
4135
|
* When setting behavior = 'protected' , this string will be pasted to other applications that do not have a matching URL instead of the original content.
|
|
4136
|
+
*
|
|
4137
|
+
* @default ''
|
|
4121
4138
|
*/
|
|
4122
4139
|
replacementText: string;
|
|
4123
4140
|
};
|
|
@@ -4131,15 +4148,15 @@ declare type CopyPermissions = {
|
|
|
4131
4148
|
*/
|
|
4132
4149
|
declare type CornerRounding = {
|
|
4133
4150
|
/**
|
|
4134
|
-
* @defaultValue 0
|
|
4135
|
-
*
|
|
4136
4151
|
* The height in pixels.
|
|
4152
|
+
*
|
|
4153
|
+
* @default 0
|
|
4137
4154
|
*/
|
|
4138
4155
|
height: number;
|
|
4139
4156
|
/**
|
|
4140
|
-
* @defaultValue 0
|
|
4141
|
-
*
|
|
4142
4157
|
* The width in pixels.
|
|
4158
|
+
*
|
|
4159
|
+
* @default 0
|
|
4143
4160
|
*/
|
|
4144
4161
|
width: number;
|
|
4145
4162
|
};
|
|
@@ -4229,8 +4246,6 @@ declare type CreateLayoutOptions = {
|
|
|
4229
4246
|
layoutName: string;
|
|
4230
4247
|
layout: LayoutOptions;
|
|
4231
4248
|
/**
|
|
4232
|
-
* @defaultValue 'default'
|
|
4233
|
-
*
|
|
4234
4249
|
* Controls the View behavior for the given `layout` property. Note
|
|
4235
4250
|
* that the selected behavior only applies to unnamed Views or
|
|
4236
4251
|
* Views with the prefix `internal-generated-`. In all cases, if any
|
|
@@ -4252,6 +4267,8 @@ declare type CreateLayoutOptions = {
|
|
|
4252
4267
|
* override. Note that during applyLayoutSnapshot, Views are created and
|
|
4253
4268
|
* attached to the Provider while the Window is being created, so it's
|
|
4254
4269
|
* important to not 'duplicate' Views in this workflow.
|
|
4270
|
+
*
|
|
4271
|
+
* @default 'default'
|
|
4255
4272
|
*/
|
|
4256
4273
|
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
|
4257
4274
|
};
|
|
@@ -4510,7 +4527,7 @@ declare type DomainApiSettings = {
|
|
|
4510
4527
|
* * 'none': The `fin` API will be not available.
|
|
4511
4528
|
* * 'global': The entire `fin` API will be available.
|
|
4512
4529
|
*
|
|
4513
|
-
* @
|
|
4530
|
+
* @default 'global'
|
|
4514
4531
|
*/
|
|
4515
4532
|
fin?: InjectionType;
|
|
4516
4533
|
/**
|
|
@@ -5095,9 +5112,9 @@ declare type EventType_9 = Event_12['type'];
|
|
|
5095
5112
|
*/
|
|
5096
5113
|
declare type ExcludeOptions = {
|
|
5097
5114
|
/**
|
|
5098
|
-
* @defaultValue false
|
|
5099
|
-
*
|
|
5100
5115
|
* When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
|
|
5116
|
+
*
|
|
5117
|
+
* @default false
|
|
5101
5118
|
*/
|
|
5102
5119
|
preloadScripts: boolean;
|
|
5103
5120
|
};
|
|
@@ -5930,34 +5947,34 @@ declare interface FinApi<MeType extends OpenFin.EntityType> {
|
|
|
5930
5947
|
*/
|
|
5931
5948
|
declare type FindInPageOptions = {
|
|
5932
5949
|
/**
|
|
5933
|
-
* @defaultValue true
|
|
5934
|
-
*
|
|
5935
5950
|
* Searches in the forward direction (backward otherwise)
|
|
5951
|
+
*
|
|
5952
|
+
* @default true
|
|
5936
5953
|
*/
|
|
5937
5954
|
forward?: boolean;
|
|
5938
5955
|
/**
|
|
5939
|
-
* @defaultValue false
|
|
5940
|
-
*
|
|
5941
5956
|
* Begins a new text-finding session; should be true for first request only, and false on subsequent requests.
|
|
5957
|
+
*
|
|
5958
|
+
* @default false
|
|
5942
5959
|
*/
|
|
5943
5960
|
findNext?: boolean;
|
|
5944
5961
|
/**
|
|
5945
|
-
* @defaultValue false
|
|
5946
|
-
*
|
|
5947
5962
|
* Enables case-sensitive searching.
|
|
5963
|
+
*
|
|
5964
|
+
* @default false
|
|
5948
5965
|
*/
|
|
5949
5966
|
matchCase?: boolean;
|
|
5950
5967
|
/**
|
|
5951
|
-
* @defaultValue false
|
|
5952
|
-
*
|
|
5953
5968
|
* Only searches from the start of words.
|
|
5969
|
+
*
|
|
5970
|
+
* @default false
|
|
5954
5971
|
*/
|
|
5955
5972
|
wordStart?: boolean;
|
|
5956
5973
|
/**
|
|
5957
|
-
* @defaultValue false
|
|
5958
|
-
*
|
|
5959
5974
|
* When combined with wordStart, accepts a match in the middle of a word if the match begins with an uppercase letter followed by a<br>
|
|
5960
5975
|
* lowercase or non-letter. Accepts several other intra-word matches.
|
|
5976
|
+
*
|
|
5977
|
+
* @default false
|
|
5961
5978
|
*/
|
|
5962
5979
|
medialCapitalAsWordStart?: boolean;
|
|
5963
5980
|
};
|
|
@@ -6465,9 +6482,9 @@ declare type Hotkey = {
|
|
|
6465
6482
|
*/
|
|
6466
6483
|
keys: string;
|
|
6467
6484
|
/**
|
|
6468
|
-
* @defaultValue false
|
|
6469
|
-
*
|
|
6470
6485
|
* Prevent default key handling before emitting the event.
|
|
6486
|
+
*
|
|
6487
|
+
* @default false
|
|
6471
6488
|
*/
|
|
6472
6489
|
preventDefault?: boolean;
|
|
6473
6490
|
};
|
|
@@ -8824,77 +8841,79 @@ declare type LayoutOptions = {
|
|
|
8824
8841
|
*/
|
|
8825
8842
|
newTabButtonUrl?: string;
|
|
8826
8843
|
/**
|
|
8827
|
-
* @defaultValue false
|
|
8828
|
-
*
|
|
8829
8844
|
* When true the splitters will not be draggable and the layout will not resize.
|
|
8845
|
+
*
|
|
8846
|
+
* @default false
|
|
8830
8847
|
*/
|
|
8831
8848
|
preventSplitterResize?: boolean;
|
|
8832
8849
|
/**
|
|
8833
|
-
* @defaultValue false
|
|
8834
|
-
*
|
|
8835
8850
|
* Whether the popout button will only act on the entire stack,
|
|
8836
8851
|
* as opposed to only the active tab.
|
|
8852
|
+
*
|
|
8853
|
+
* @default false
|
|
8837
8854
|
*/
|
|
8838
8855
|
popoutWholeStack?: boolean;
|
|
8839
8856
|
/**
|
|
8840
|
-
* @defaultValue false
|
|
8841
|
-
*
|
|
8842
8857
|
* Limits the area to which tabs can be dragged.
|
|
8843
8858
|
* If true, the layout container is the only area where tabs can be dropped.
|
|
8859
|
+
*
|
|
8860
|
+
* @default false
|
|
8844
8861
|
*/
|
|
8845
8862
|
constrainDragToContainer?: boolean;
|
|
8846
8863
|
/**
|
|
8847
|
-
* @defaultValue false
|
|
8848
|
-
*
|
|
8849
8864
|
* Whether to show the popout button on stack header.
|
|
8850
8865
|
* The button will create a new window with current tab as its content.
|
|
8851
8866
|
* In case `popoutWholeStack` is set to true, all tabs in the stack will be in the new window.
|
|
8867
|
+
*
|
|
8868
|
+
* @default false
|
|
8852
8869
|
*/
|
|
8853
8870
|
showPopoutIcon?: boolean;
|
|
8854
8871
|
/**
|
|
8855
|
-
* @defaultValue false
|
|
8856
|
-
*
|
|
8857
8872
|
* Whether to show the maximize button on stack header.
|
|
8858
8873
|
* The button will maximize the current tab to fill the entire window.
|
|
8874
|
+
*
|
|
8875
|
+
* @default false
|
|
8859
8876
|
*/
|
|
8860
8877
|
showMaximiseIcon?: boolean;
|
|
8861
8878
|
/**
|
|
8862
|
-
* @defaultValue false
|
|
8863
|
-
*
|
|
8864
8879
|
* Whether to show the close button on stack header
|
|
8865
8880
|
* (not to be confused with close button on every tab).
|
|
8881
|
+
*
|
|
8882
|
+
* @default false
|
|
8866
8883
|
*/
|
|
8867
8884
|
showCloseIcon?: boolean;
|
|
8868
8885
|
/**
|
|
8869
|
-
* @defaultValue false
|
|
8870
|
-
*
|
|
8871
8886
|
* Limits the area to which tabs can be dragged. If true, stack headers are the only areas where tabs can be dropped.
|
|
8887
|
+
*
|
|
8888
|
+
* @default false
|
|
8872
8889
|
*/
|
|
8873
8890
|
constrainDragToHeaders?: boolean;
|
|
8874
8891
|
/**
|
|
8875
|
-
* @defaultValue true
|
|
8876
|
-
*
|
|
8877
8892
|
* Turns tab headers on or off.
|
|
8878
8893
|
* If false, the layout will be displayed with splitters only.
|
|
8894
|
+
*
|
|
8895
|
+
* @default true
|
|
8879
8896
|
*/
|
|
8880
8897
|
hasHeaders?: boolean;
|
|
8881
8898
|
/**
|
|
8882
|
-
* @defaultValue true
|
|
8883
|
-
*
|
|
8884
8899
|
* If true, the user can re-arrange the layout by
|
|
8885
8900
|
* dragging items by their tabs to the desired location.
|
|
8901
|
+
*
|
|
8902
|
+
* @default true
|
|
8886
8903
|
*/
|
|
8887
8904
|
reorderEnabled?: boolean;
|
|
8888
8905
|
/**
|
|
8889
|
-
* @defaultValue false
|
|
8890
|
-
*
|
|
8891
8906
|
* If true, tabs can't be dragged out of the window.
|
|
8907
|
+
*
|
|
8908
|
+
* @default false
|
|
8892
8909
|
*/
|
|
8893
8910
|
preventDragOut?: boolean;
|
|
8894
8911
|
/**
|
|
8895
|
-
* @defaultValue
|
|
8912
|
+
* @defaultValue=false
|
|
8896
8913
|
*
|
|
8897
8914
|
* If true, tabs can't be dragged into the window.
|
|
8915
|
+
*
|
|
8916
|
+
* @default false
|
|
8898
8917
|
*/
|
|
8899
8918
|
preventDragIn?: boolean;
|
|
8900
8919
|
/* Excluded from this release type: disableTabOverflowDropdown */
|
|
@@ -9402,10 +9421,10 @@ declare type MutableViewOptions = {
|
|
|
9402
9421
|
/**
|
|
9403
9422
|
* @deprecated Superseded by {@link contextMenuOptions}, which offers a larger feature-set and cleaner syntax.
|
|
9404
9423
|
*
|
|
9405
|
-
* @defaultValue true
|
|
9406
|
-
*
|
|
9407
9424
|
* Show the context menu when right-clicking on the view.
|
|
9408
9425
|
* Gives access to the devtools for the view.
|
|
9426
|
+
*
|
|
9427
|
+
* @default true
|
|
9409
9428
|
*/
|
|
9410
9429
|
contextMenu: boolean;
|
|
9411
9430
|
/**
|
|
@@ -9452,24 +9471,25 @@ declare type MutableViewOptions = {
|
|
|
9452
9471
|
contentNavigation: ContentNavigation;
|
|
9453
9472
|
contentRedirect: ContentRedirect;
|
|
9454
9473
|
/**
|
|
9455
|
-
* @defaultValue false
|
|
9456
9474
|
* @deprecated
|
|
9457
9475
|
* **Platforms Only.** If true, will hide and detach the View from the window for later use instead of closing,
|
|
9458
9476
|
* allowing the state of the View to be saved and the View to be immediately shown in a new Layout.
|
|
9477
|
+
*
|
|
9478
|
+
* @default false
|
|
9459
9479
|
*/
|
|
9460
9480
|
detachOnClose: boolean;
|
|
9461
9481
|
/**
|
|
9462
|
-
* @defaultValue true
|
|
9463
|
-
*
|
|
9464
9482
|
* **Platforms Only.** If false, the view will be persistent and can't be closed through
|
|
9465
9483
|
* either UI or `Platform.closeView`. Note that the view will still be closed if the host window is closed or
|
|
9466
9484
|
* if the view isn't part of the new layout when running `Layout.replace`.
|
|
9485
|
+
*
|
|
9486
|
+
* @default true
|
|
9467
9487
|
*/
|
|
9468
9488
|
isClosable: boolean;
|
|
9469
9489
|
/**
|
|
9470
|
-
* @defaultValue false
|
|
9471
|
-
*
|
|
9472
9490
|
* **Platforms Only.** If true, the tab of the view can't be dragged out of its host window.
|
|
9491
|
+
*
|
|
9492
|
+
* @default false
|
|
9473
9493
|
*/
|
|
9474
9494
|
preventDragOut: boolean;
|
|
9475
9495
|
interop?: InteropConfig;
|
|
@@ -9477,7 +9497,7 @@ declare type MutableViewOptions = {
|
|
|
9477
9497
|
/**
|
|
9478
9498
|
* {@inheritDoc ViewThrottling}
|
|
9479
9499
|
*
|
|
9480
|
-
* @
|
|
9500
|
+
* @default 'enabled'
|
|
9481
9501
|
*/
|
|
9482
9502
|
throttling: ViewThrottling;
|
|
9483
9503
|
/**
|
|
@@ -9496,7 +9516,7 @@ declare type MutableWindowOptions = {
|
|
|
9496
9516
|
* Turns anything of matching RGB value transparent.
|
|
9497
9517
|
*
|
|
9498
9518
|
* Caveats:
|
|
9499
|
-
* *
|
|
9519
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
|
9500
9520
|
* * User cannot click-through transparent regions
|
|
9501
9521
|
* * Not supported on Mac
|
|
9502
9522
|
* * Windows Aero must be enabled
|
|
@@ -9505,25 +9525,25 @@ declare type MutableWindowOptions = {
|
|
|
9505
9525
|
*/
|
|
9506
9526
|
alphaMask: RGB;
|
|
9507
9527
|
/**
|
|
9508
|
-
* @defaultValue false
|
|
9509
|
-
*
|
|
9510
9528
|
* Always position the window at the top of the window stack.
|
|
9529
|
+
*
|
|
9530
|
+
* @default false
|
|
9511
9531
|
*/
|
|
9512
9532
|
alwaysOnTop: boolean;
|
|
9513
9533
|
/**
|
|
9514
|
-
* @defaultValue 0
|
|
9515
|
-
*
|
|
9516
9534
|
* The aspect ratio of width to height to enforce for the window. If this value is equal to or less than zero,
|
|
9517
9535
|
* an aspect ratio will not be enforced.
|
|
9536
|
+
*
|
|
9537
|
+
* @default 0
|
|
9518
9538
|
*/
|
|
9519
9539
|
aspectRatio: number;
|
|
9520
9540
|
/**
|
|
9521
9541
|
* @deprecated Superseded by {@link contextMenuOptions}, which offers a larger feature-set and cleaner syntax.
|
|
9522
9542
|
*
|
|
9523
|
-
* @defaultValue true
|
|
9524
|
-
*
|
|
9525
9543
|
* Show the context menu when right-clicking on the window.
|
|
9526
9544
|
* Gives access to the devtools for the window.
|
|
9545
|
+
*
|
|
9546
|
+
* @default true
|
|
9527
9547
|
*/
|
|
9528
9548
|
contextMenu: boolean;
|
|
9529
9549
|
/**
|
|
@@ -9590,16 +9610,17 @@ declare type MutableWindowOptions = {
|
|
|
9590
9610
|
*/
|
|
9591
9611
|
customData: any;
|
|
9592
9612
|
/**
|
|
9593
|
-
* @defaultValue true
|
|
9594
9613
|
* @deprecated Will be removed in runtime version 45
|
|
9595
9614
|
*
|
|
9596
9615
|
* Show the window's frame.
|
|
9616
|
+
*
|
|
9617
|
+
* @default true
|
|
9597
9618
|
*/
|
|
9598
9619
|
frame: boolean;
|
|
9599
9620
|
/**
|
|
9600
|
-
* @defaultValue false
|
|
9601
|
-
*
|
|
9602
9621
|
* Hides the window instead of closing it when the close button is pressed.
|
|
9622
|
+
*
|
|
9623
|
+
* @default false
|
|
9603
9624
|
*/
|
|
9604
9625
|
hideOnClose: boolean;
|
|
9605
9626
|
/**
|
|
@@ -9652,60 +9673,61 @@ declare type MutableWindowOptions = {
|
|
|
9652
9673
|
*/
|
|
9653
9674
|
icon: string;
|
|
9654
9675
|
/**
|
|
9655
|
-
* @defaultValue true
|
|
9656
|
-
*
|
|
9657
9676
|
* Include window in snapshots returned by Platform.getSnapshot(). Turning this off may be desirable when dealing with
|
|
9658
9677
|
* inherently temporary windows whose state shouldn't be preserved, such as modals, menus, or popups.
|
|
9678
|
+
*
|
|
9679
|
+
* @default true
|
|
9659
9680
|
*/
|
|
9660
9681
|
includeInSnapshots: boolean;
|
|
9661
9682
|
/**
|
|
9662
|
-
* @defaultValue -1
|
|
9663
|
-
*
|
|
9664
9683
|
* The maximum height of a window. Will default to the OS defined value if set to -1.
|
|
9684
|
+
*
|
|
9685
|
+
* @default -1
|
|
9665
9686
|
*/
|
|
9666
9687
|
maxHeight: number;
|
|
9667
9688
|
/**
|
|
9668
|
-
* @defaultValue true
|
|
9669
|
-
*
|
|
9670
9689
|
* Allows the window to be maximized.
|
|
9690
|
+
*
|
|
9691
|
+
* @default true
|
|
9671
9692
|
*/
|
|
9672
9693
|
maximizable: boolean;
|
|
9673
9694
|
/**
|
|
9674
|
-
* @defaultValue -1
|
|
9675
|
-
*
|
|
9676
9695
|
* The maximum width of a window. Will default to the OS defined value if set to -1.
|
|
9696
|
+
*
|
|
9697
|
+
* @default -1
|
|
9677
9698
|
*/
|
|
9678
9699
|
maxWidth: number;
|
|
9679
9700
|
/**
|
|
9680
|
-
* @defaultValue 0
|
|
9681
|
-
*
|
|
9682
9701
|
* The minimum height of the window.
|
|
9702
|
+
*
|
|
9703
|
+
* @default 0
|
|
9683
9704
|
*/
|
|
9684
9705
|
minHeight: number;
|
|
9685
9706
|
/**
|
|
9686
|
-
* @defaultValue true
|
|
9687
|
-
*
|
|
9688
9707
|
* Allows the window to be minimized.
|
|
9708
|
+
*
|
|
9709
|
+
* @default true
|
|
9689
9710
|
*/
|
|
9690
9711
|
minimizable: boolean;
|
|
9691
9712
|
/**
|
|
9692
|
-
* @defaultValue true
|
|
9693
|
-
*
|
|
9694
9713
|
* The minimum width of the window.
|
|
9714
|
+
*
|
|
9715
|
+
* @default true
|
|
9695
9716
|
*/
|
|
9696
9717
|
minWidth: number;
|
|
9697
9718
|
/**
|
|
9698
|
-
* @defaultValue 1
|
|
9699
|
-
*
|
|
9700
9719
|
* A flag that specifies how transparent the window will be.
|
|
9701
9720
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
|
9702
9721
|
* This value is clamped between `0.0` and `1.0`.
|
|
9722
|
+
* In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
|
9723
|
+
*
|
|
9724
|
+
* @default 1
|
|
9703
9725
|
*/
|
|
9704
9726
|
opacity: number;
|
|
9705
9727
|
/**
|
|
9706
|
-
* @defaultValue true
|
|
9707
|
-
*
|
|
9708
9728
|
* A flag to allow the user to resize the window.
|
|
9729
|
+
*
|
|
9730
|
+
* @default true
|
|
9709
9731
|
*/
|
|
9710
9732
|
resizable: boolean;
|
|
9711
9733
|
/**
|
|
@@ -9713,16 +9735,16 @@ declare type MutableWindowOptions = {
|
|
|
9713
9735
|
*/
|
|
9714
9736
|
resizeRegion: ResizeRegion;
|
|
9715
9737
|
/**
|
|
9716
|
-
* @defaultValue false
|
|
9717
|
-
*
|
|
9718
9738
|
* **Platforms Only.** If true, will show background images in the layout when the Views are hidden.
|
|
9719
9739
|
* This occurs when the window is resizing or a tab is being dragged within the layout.
|
|
9740
|
+
*
|
|
9741
|
+
* @default false
|
|
9720
9742
|
*/
|
|
9721
9743
|
showBackgroundImages: boolean;
|
|
9722
9744
|
/**
|
|
9723
|
-
* @defaultValue true
|
|
9724
|
-
*
|
|
9725
9745
|
* Shows the window's icon in the taskbar.
|
|
9746
|
+
*
|
|
9747
|
+
* @default true
|
|
9726
9748
|
*/
|
|
9727
9749
|
showTaskbarIcon: boolean;
|
|
9728
9750
|
/**
|
|
@@ -9741,7 +9763,7 @@ declare type MutableWindowOptions = {
|
|
|
9741
9763
|
/**
|
|
9742
9764
|
* {@inheritDoc WindowThrottling}
|
|
9743
9765
|
*
|
|
9744
|
-
* @
|
|
9766
|
+
* @default 'enabled'
|
|
9745
9767
|
*
|
|
9746
9768
|
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
|
9747
9769
|
*/
|
|
@@ -10385,12 +10407,12 @@ declare type PasteBlockedEventReason = 'invalid-data' | 'disabled';
|
|
|
10385
10407
|
*/
|
|
10386
10408
|
declare type PastePermissions = {
|
|
10387
10409
|
/**
|
|
10388
|
-
* @defaultValue 'non-protected-content'
|
|
10389
|
-
*
|
|
10390
10410
|
* Controls the behavior for paste operations for a matched URL.
|
|
10391
10411
|
*
|
|
10392
10412
|
* non-protected-content: All matching URLs will be able to paste content copied from non-protected URLs.
|
|
10393
10413
|
* all-content: All matching URLs will be able to paste content copied from both protected (copy.behavior = 'protect') and on-protected (copy.behavior = 'allow') URLs.
|
|
10414
|
+
*
|
|
10415
|
+
* @default 'non-protected-content'
|
|
10394
10416
|
*/
|
|
10395
10417
|
behavior: 'non-protected-content' | 'all-content';
|
|
10396
10418
|
};
|
|
@@ -11422,11 +11444,11 @@ declare type PlatformOptions = ApplicationCreationOptions & {
|
|
|
11422
11444
|
*/
|
|
11423
11445
|
providerUrl?: string;
|
|
11424
11446
|
/**
|
|
11425
|
-
* @defaultValue true
|
|
11426
|
-
*
|
|
11427
11447
|
* Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
|
|
11428
11448
|
*
|
|
11429
11449
|
* NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
|
|
11450
|
+
*
|
|
11451
|
+
* @default true
|
|
11430
11452
|
*/
|
|
11431
11453
|
allowLaunchIntoPlatform?: boolean;
|
|
11432
11454
|
};
|
|
@@ -12074,22 +12096,22 @@ declare type PopupOptions = {
|
|
|
12074
12096
|
url?: string;
|
|
12075
12097
|
/**
|
|
12076
12098
|
* Height of the popup window in pixels (takes priority over `intialOptions` size properties).
|
|
12077
|
-
* @
|
|
12099
|
+
* @default 300
|
|
12078
12100
|
*/
|
|
12079
12101
|
height?: number;
|
|
12080
12102
|
/**
|
|
12081
12103
|
* Width of the popup window in pixels (takes priority over `intialOptions` size properties).
|
|
12082
|
-
* @
|
|
12104
|
+
* @default 300
|
|
12083
12105
|
*/
|
|
12084
12106
|
width?: number;
|
|
12085
12107
|
/**
|
|
12086
12108
|
* Left position in pixels where the popup window will be shown (relative to the window calling `showPopupWindow`).
|
|
12087
|
-
* @
|
|
12109
|
+
* @default 0
|
|
12088
12110
|
*/
|
|
12089
12111
|
x?: number;
|
|
12090
12112
|
/**
|
|
12091
12113
|
* Top position in pixels where the popup window will be shown (relative to the window calling `showPopupWindow`).
|
|
12092
|
-
* @
|
|
12114
|
+
* @default 0
|
|
12093
12115
|
*/
|
|
12094
12116
|
y?: number;
|
|
12095
12117
|
/**
|
|
@@ -12097,7 +12119,7 @@ declare type PopupOptions = {
|
|
|
12097
12119
|
* * 'modal' restricts resizing and positioning in the caller.
|
|
12098
12120
|
* * 'hide' hides the popup window on blur.
|
|
12099
12121
|
* * 'close' closes the popup window on blur.
|
|
12100
|
-
* @
|
|
12122
|
+
* @default 'close'
|
|
12101
12123
|
*/
|
|
12102
12124
|
blurBehavior?: PopupBlurBehavior;
|
|
12103
12125
|
/**
|
|
@@ -12105,19 +12127,19 @@ declare type PopupOptions = {
|
|
|
12105
12127
|
* * 'none' will do nothing.
|
|
12106
12128
|
* * 'hide' hides the popup window on `dispatchPopupResult`.
|
|
12107
12129
|
* * 'close' closes the popup window on `dispatchPopupResult`.
|
|
12108
|
-
* @
|
|
12130
|
+
* @default 'close'
|
|
12109
12131
|
*/
|
|
12110
12132
|
resultDispatchBehavior?: PopupResultBehavior;
|
|
12111
12133
|
/**
|
|
12112
12134
|
* Hide the popup window instead of closing when `close` is called on it.
|
|
12113
12135
|
*
|
|
12114
12136
|
* Note: if this is `true` and `blurBehavior` and/or `resultDispatchBehavior` are set to `close`, the window will be hidden.
|
|
12115
|
-
* @
|
|
12137
|
+
* @default false
|
|
12116
12138
|
*/
|
|
12117
12139
|
hideOnClose?: boolean;
|
|
12118
12140
|
/**
|
|
12119
12141
|
* Determines if the popup window should or should not be focused when it is shown.
|
|
12120
|
-
* @
|
|
12142
|
+
* @default true
|
|
12121
12143
|
*/
|
|
12122
12144
|
focus?: boolean;
|
|
12123
12145
|
/**
|
|
@@ -12211,9 +12233,9 @@ declare type PrebuiltContextMenuItem = 'separator' | 'undo' | 'redo' | 'cut' | '
|
|
|
12211
12233
|
*/
|
|
12212
12234
|
declare type PreloadScript = {
|
|
12213
12235
|
/**
|
|
12214
|
-
* @defaultValue false
|
|
12215
|
-
*
|
|
12216
12236
|
* Fail to load the window if this preload script fails
|
|
12237
|
+
*
|
|
12238
|
+
* @default false
|
|
12217
12239
|
*/
|
|
12218
12240
|
mandatory?: boolean;
|
|
12219
12241
|
/**
|
|
@@ -12305,15 +12327,15 @@ declare type PrinterInfo = {
|
|
|
12305
12327
|
declare type PrintOptions = {
|
|
12306
12328
|
content?: 'self';
|
|
12307
12329
|
/**
|
|
12308
|
-
* @defaultValue false
|
|
12309
|
-
*
|
|
12310
12330
|
* Disables prompting the user for print settings.
|
|
12331
|
+
*
|
|
12332
|
+
* @default false
|
|
12311
12333
|
*/
|
|
12312
12334
|
silent?: boolean;
|
|
12313
12335
|
/**
|
|
12314
|
-
* @defaultValue false
|
|
12315
|
-
*
|
|
12316
12336
|
* Includes the webpage background color and image when printing.
|
|
12337
|
+
*
|
|
12338
|
+
* @default false
|
|
12317
12339
|
*/
|
|
12318
12340
|
printBackground?: boolean;
|
|
12319
12341
|
/**
|
|
@@ -12321,9 +12343,9 @@ declare type PrintOptions = {
|
|
|
12321
12343
|
*/
|
|
12322
12344
|
deviceName?: string;
|
|
12323
12345
|
/**
|
|
12324
|
-
* @defaultValue true
|
|
12325
|
-
*
|
|
12326
12346
|
* Prints in full color (greyscale otherwise).
|
|
12347
|
+
*
|
|
12348
|
+
* @default true
|
|
12327
12349
|
*/
|
|
12328
12350
|
color?: boolean;
|
|
12329
12351
|
/**
|
|
@@ -12331,9 +12353,9 @@ declare type PrintOptions = {
|
|
|
12331
12353
|
*/
|
|
12332
12354
|
margins?: Margins;
|
|
12333
12355
|
/**
|
|
12334
|
-
* @defaultValue true
|
|
12335
|
-
*
|
|
12336
12356
|
* Prints in landscape mode (portrait otherwise).
|
|
12357
|
+
*
|
|
12358
|
+
* @default true
|
|
12337
12359
|
*/
|
|
12338
12360
|
landscape?: boolean;
|
|
12339
12361
|
/**
|
|
@@ -13709,15 +13731,15 @@ declare type ReplaceViewPayload = {
|
|
|
13709
13731
|
*/
|
|
13710
13732
|
declare type ResizeRegion = {
|
|
13711
13733
|
/**
|
|
13712
|
-
* @defaultValue 7
|
|
13713
|
-
*
|
|
13714
13734
|
* The size of the resize region in pixels.
|
|
13735
|
+
*
|
|
13736
|
+
* @default 7
|
|
13715
13737
|
*/
|
|
13716
13738
|
size?: number;
|
|
13717
13739
|
/**
|
|
13718
|
-
* @defaultValue 9
|
|
13719
|
-
*
|
|
13720
13740
|
* The size in pixels of an additional square resizable region located at the bottom right corner of a frameless window.
|
|
13741
|
+
*
|
|
13742
|
+
* @default 9
|
|
13721
13743
|
*/
|
|
13722
13744
|
bottomRightCorner?: number;
|
|
13723
13745
|
/**
|
|
@@ -13725,27 +13747,27 @@ declare type ResizeRegion = {
|
|
|
13725
13747
|
*/
|
|
13726
13748
|
sides?: {
|
|
13727
13749
|
/**
|
|
13728
|
-
* @defaultValue true
|
|
13729
|
-
*
|
|
13730
13750
|
* Enables resizing from the top of the window.
|
|
13751
|
+
*
|
|
13752
|
+
* @default true
|
|
13731
13753
|
*/
|
|
13732
13754
|
top?: boolean;
|
|
13733
13755
|
/**
|
|
13734
|
-
* @defaultValue true
|
|
13735
|
-
*
|
|
13736
13756
|
* Enables resizing from the bottom of the window.
|
|
13757
|
+
*
|
|
13758
|
+
* @default true
|
|
13737
13759
|
*/
|
|
13738
13760
|
bottom?: boolean;
|
|
13739
13761
|
/**
|
|
13740
|
-
* @defaultValue true
|
|
13741
|
-
*
|
|
13742
13762
|
* Enables resizing from the left side of the window.
|
|
13763
|
+
*
|
|
13764
|
+
* @default true
|
|
13743
13765
|
*/
|
|
13744
13766
|
left?: boolean;
|
|
13745
13767
|
/**
|
|
13746
|
-
* @defaultValue true
|
|
13747
|
-
*
|
|
13748
13768
|
* Enables resizing from the right side of the window.
|
|
13769
|
+
*
|
|
13770
|
+
* @default true
|
|
13749
13771
|
*/
|
|
13750
13772
|
right?: boolean;
|
|
13751
13773
|
};
|
|
@@ -14299,9 +14321,9 @@ declare type ShowTrayIconPopupMenuOptions<Data extends unknown = unknown> = {
|
|
|
14299
14321
|
*/
|
|
14300
14322
|
declare type ShowViewOnWindowResizeOptions = ViewVisibilityOption & {
|
|
14301
14323
|
/**
|
|
14302
|
-
* @defaultValue 0
|
|
14303
|
-
*
|
|
14304
14324
|
* Number of milliseconds to wait between view repaints.
|
|
14325
|
+
*
|
|
14326
|
+
* @default 0
|
|
14305
14327
|
*/
|
|
14306
14328
|
paintIntervalMs?: number;
|
|
14307
14329
|
};
|
|
@@ -16353,9 +16375,9 @@ declare type TransitionBase = {
|
|
|
16353
16375
|
*/
|
|
16354
16376
|
duration: number;
|
|
16355
16377
|
/**
|
|
16356
|
-
* @defaultValue false
|
|
16357
|
-
*
|
|
16358
16378
|
* Treats 'opacity' as absolute or as a delta. Defaults to false.
|
|
16379
|
+
*
|
|
16380
|
+
* @default false
|
|
16359
16381
|
*/
|
|
16360
16382
|
relative?: boolean;
|
|
16361
16383
|
};
|
|
@@ -16371,9 +16393,9 @@ declare type TransitionOptions = {
|
|
|
16371
16393
|
*/
|
|
16372
16394
|
interrupt: boolean;
|
|
16373
16395
|
/**
|
|
16374
|
-
* @defaultValue false
|
|
16375
|
-
*
|
|
16376
16396
|
* Treats 'opacity' as absolute or as a delta. Defaults to false.
|
|
16397
|
+
*
|
|
16398
|
+
* @default false
|
|
16377
16399
|
*/
|
|
16378
16400
|
relative?: boolean;
|
|
16379
16401
|
tween?: tween;
|
|
@@ -17407,9 +17429,9 @@ declare type ViewTitlePriority = 'document' | 'options';
|
|
|
17407
17429
|
*/
|
|
17408
17430
|
declare type ViewVisibilityOption = {
|
|
17409
17431
|
/**
|
|
17410
|
-
* @defaultValue false
|
|
17411
|
-
*
|
|
17412
17432
|
* Enables or disables showing views when the layout splitter or a tab is being dragged or a Platform Window is being resized.
|
|
17433
|
+
*
|
|
17434
|
+
* @default false
|
|
17413
17435
|
*/
|
|
17414
17436
|
enabled?: boolean;
|
|
17415
17437
|
};
|