@openfin/fdc3-api 40.105.3 → 40.105.6
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 +208 -199
- package/out/fdc3-api-beta.d.ts +208 -199
- package/out/fdc3-api-public.d.ts +208 -199
- package/out/fdc3-api.d.ts +209 -200
- package/out/fdc3-api.js +1452 -1455
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -126,13 +126,13 @@ declare type ApiSettings = {
|
|
|
126
126
|
/**
|
|
127
127
|
* Inject OpenFin API into cross-origin iframes
|
|
128
128
|
*
|
|
129
|
-
* @
|
|
129
|
+
* @default false
|
|
130
130
|
*/
|
|
131
131
|
crossOriginInjection?: boolean;
|
|
132
132
|
/**
|
|
133
133
|
* Inject OpenFin API into same-origin iframes
|
|
134
134
|
*
|
|
135
|
-
* @
|
|
135
|
+
* @default true
|
|
136
136
|
*/
|
|
137
137
|
sameOriginInjection?: boolean;
|
|
138
138
|
/**
|
|
@@ -1171,19 +1171,19 @@ declare class ApplicationModule extends Base {
|
|
|
1171
1171
|
*/
|
|
1172
1172
|
declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1173
1173
|
/**
|
|
1174
|
-
* @defaultValue false
|
|
1175
|
-
*
|
|
1176
1174
|
* Disables IAB secure logging for the app.
|
|
1175
|
+
*
|
|
1176
|
+
* @default false
|
|
1177
1177
|
*/
|
|
1178
1178
|
disableIabSecureLogging: boolean;
|
|
1179
1179
|
/**
|
|
1180
|
-
* @defaultValue 'There was an error loading the application.'
|
|
1181
|
-
*
|
|
1182
1180
|
* An error message to display when the application (launched via manifest) fails to load.
|
|
1183
1181
|
* A dialog box will be launched with the error message just before the runtime exits.
|
|
1184
1182
|
* Load fails such as failed DNS resolutions or aborted connections as well as cancellations, _e.g.,_ `window.stop()`,
|
|
1185
1183
|
* will trigger this dialog.
|
|
1186
1184
|
* Client response codes such as `404 Not Found` are not treated as fails as they are valid server responses.
|
|
1185
|
+
*
|
|
1186
|
+
* @default 'There was an error loading the application.'
|
|
1187
1187
|
*/
|
|
1188
1188
|
loadErrorMessage: string;
|
|
1189
1189
|
/**
|
|
@@ -1202,28 +1202,28 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
|
1202
1202
|
*/
|
|
1203
1203
|
name: string;
|
|
1204
1204
|
/**
|
|
1205
|
-
* @defaultValue false
|
|
1206
|
-
*
|
|
1207
1205
|
* A flag to configure the application as non-persistent.
|
|
1208
1206
|
* Runtime exits when there are no persistent apps running.
|
|
1207
|
+
*
|
|
1208
|
+
* @default false
|
|
1209
1209
|
*/
|
|
1210
1210
|
nonPersistent: boolean;
|
|
1211
1211
|
/**
|
|
1212
|
-
* @defaultValue false
|
|
1213
|
-
*
|
|
1214
1212
|
* Enable Flash at the application level.
|
|
1213
|
+
*
|
|
1214
|
+
* @default false
|
|
1215
1215
|
*/
|
|
1216
1216
|
plugins: boolean;
|
|
1217
1217
|
/**
|
|
1218
|
-
* @defaultValue false
|
|
1219
|
-
*
|
|
1220
1218
|
* Enable spell check at the application level.
|
|
1219
|
+
*
|
|
1220
|
+
* @default false
|
|
1221
1221
|
*/
|
|
1222
1222
|
spellCheck: boolean;
|
|
1223
1223
|
/**
|
|
1224
|
-
* @defaultValue 'about:blank'
|
|
1225
|
-
*
|
|
1226
1224
|
* The url to the application (specifically the application's main window).
|
|
1225
|
+
*
|
|
1226
|
+
* @default 'about:blank'
|
|
1227
1227
|
*/
|
|
1228
1228
|
url: string;
|
|
1229
1229
|
/**
|
|
@@ -1232,9 +1232,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
|
1232
1232
|
*/
|
|
1233
1233
|
uuid: string;
|
|
1234
1234
|
/**
|
|
1235
|
-
* @defaultValue true
|
|
1236
|
-
*
|
|
1237
1235
|
* When set to `false` it will disable the same-origin policy for the app.
|
|
1236
|
+
*
|
|
1237
|
+
* @default true
|
|
1238
1238
|
*/
|
|
1239
1239
|
webSecurity: boolean;
|
|
1240
1240
|
/**
|
|
@@ -1244,10 +1244,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
|
1244
1244
|
commands: ShortcutOverride[];
|
|
1245
1245
|
isPlatformController: boolean;
|
|
1246
1246
|
/**
|
|
1247
|
-
* @defaultValue 1000
|
|
1248
|
-
*
|
|
1249
1247
|
* **Platforms Only.** The maximum number of "detached" or "pooled" Views that can exist in the Platform before being closed.
|
|
1250
1248
|
* If you do not wish for views to be pooled on your platform, set this property to zero.
|
|
1249
|
+
*
|
|
1250
|
+
* @default 1000
|
|
1251
1251
|
*/
|
|
1252
1252
|
maxViewPoolSize: number;
|
|
1253
1253
|
/**
|
|
@@ -1263,12 +1263,12 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
|
1263
1263
|
*/
|
|
1264
1264
|
snapshot: Snapshot;
|
|
1265
1265
|
/**
|
|
1266
|
-
* @defaultValue false
|
|
1267
|
-
*
|
|
1268
1266
|
* **Platforms Only.** Prevent the Platform Provider from quitting automatically when the last Platform Window is closed.
|
|
1269
1267
|
*
|
|
1270
1268
|
* Note: if the Platform Provider is showing, it won't close automatically.
|
|
1271
1269
|
* If you want a hidden Platform Provider to remain open after the last Platform Window has been closed, set this property to true.
|
|
1270
|
+
*
|
|
1271
|
+
* @default false
|
|
1272
1272
|
*/
|
|
1273
1273
|
preventQuitOnLastWindowClosed: boolean;
|
|
1274
1274
|
/**
|
|
@@ -1276,9 +1276,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
|
1276
1276
|
*/
|
|
1277
1277
|
interopBrokerConfiguration: InteropBrokerOptions;
|
|
1278
1278
|
/**
|
|
1279
|
-
* @defaultValue true
|
|
1280
|
-
*
|
|
1281
1279
|
* When set to `false` it will disable OpenFin Diagnostics for the app.
|
|
1280
|
+
*
|
|
1281
|
+
* @default true
|
|
1282
1282
|
*/
|
|
1283
1283
|
apiDiagnostics: boolean;
|
|
1284
1284
|
/**
|
|
@@ -1294,16 +1294,16 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
|
1294
1294
|
*/
|
|
1295
1295
|
permissions?: Partial<Permissions_2>;
|
|
1296
1296
|
/**
|
|
1297
|
-
* @defaultValue false
|
|
1298
|
-
*
|
|
1299
1297
|
* Enables the use of the Jumplists API and the 'pin to taskbar' functionality.
|
|
1300
1298
|
* Only relevant in Windows.
|
|
1299
|
+
*
|
|
1300
|
+
* @default false
|
|
1301
1301
|
*/
|
|
1302
1302
|
enableJumpList: boolean;
|
|
1303
1303
|
/**
|
|
1304
|
-
* @defaultValue false
|
|
1305
|
-
*
|
|
1306
1304
|
* When set to `true`, any `beforeunload` handler set on the app will fire.
|
|
1305
|
+
*
|
|
1306
|
+
* @default false
|
|
1307
1307
|
*/
|
|
1308
1308
|
enableBeforeUnload: boolean;
|
|
1309
1309
|
/**
|
|
@@ -1384,25 +1384,25 @@ declare type ApplicationWindowInfo = {
|
|
|
1384
1384
|
*/
|
|
1385
1385
|
declare type ApplySnapshotOptions = {
|
|
1386
1386
|
/**
|
|
1387
|
-
* @defaultValue false
|
|
1388
|
-
*
|
|
1389
1387
|
* When true, applySnapshot will close existing windows,
|
|
1390
1388
|
* replacing current Platform state with the given snapshot.
|
|
1389
|
+
*
|
|
1390
|
+
* @default false
|
|
1391
1391
|
*/
|
|
1392
1392
|
closeExistingWindows?: boolean;
|
|
1393
1393
|
/**
|
|
1394
|
-
* @defaultValue false
|
|
1395
|
-
*
|
|
1396
1394
|
* When true, applySnapshot will close existing includeInSnapshots: true windows,
|
|
1397
1395
|
* replacing current Platform state with the given snapshot.
|
|
1396
|
+
*
|
|
1397
|
+
* @default false
|
|
1398
1398
|
*/
|
|
1399
1399
|
closeSnapshotWindows?: boolean;
|
|
1400
1400
|
/**
|
|
1401
|
-
* @defaultValue false
|
|
1402
|
-
*
|
|
1403
1401
|
* When true, applySnapshot will not check whether any windows in a
|
|
1404
1402
|
* snapshot are off-screen. By default, such windows will be repositioned to be on-screen,
|
|
1405
1403
|
* as defined by {@link PlatformProvider#positionOutOfBoundsWindows PlatformProvider.positionOutOfBoundsWindows}.
|
|
1404
|
+
*
|
|
1405
|
+
* @default false
|
|
1406
1406
|
*/
|
|
1407
1407
|
skipOutOfBoundsCheck?: boolean;
|
|
1408
1408
|
};
|
|
@@ -2059,15 +2059,15 @@ declare type CapturePageOptions = {
|
|
|
2059
2059
|
*/
|
|
2060
2060
|
area?: Rectangle;
|
|
2061
2061
|
/**
|
|
2062
|
-
* @defaultValue 'png'
|
|
2063
|
-
*
|
|
2064
2062
|
* The format of the captured image. Can be 'png', 'jpg', or 'bmp'.
|
|
2063
|
+
*
|
|
2064
|
+
* @default 'png'
|
|
2065
2065
|
*/
|
|
2066
2066
|
format?: 'bmp' | 'jpg' | 'png';
|
|
2067
2067
|
/**
|
|
2068
|
-
* @defaultValue 100
|
|
2069
|
-
*
|
|
2070
2068
|
* Quality of JPEG image. Between 0 - 100.
|
|
2069
|
+
*
|
|
2070
|
+
* @default 100
|
|
2071
2071
|
*/
|
|
2072
2072
|
quality?: number;
|
|
2073
2073
|
};
|
|
@@ -2700,9 +2700,9 @@ declare type ChannelClientDisconnectionListener = (identity: ClientIdentity) =>
|
|
|
2700
2700
|
*/
|
|
2701
2701
|
declare type ChannelConnectOptions = ChannelCreateOptions & {
|
|
2702
2702
|
/**
|
|
2703
|
-
* @defaultValue true
|
|
2704
|
-
*
|
|
2705
2703
|
* If true will wait for ChannelProvider to connect. If false will fail if ChannelProvider is not found.
|
|
2704
|
+
*
|
|
2705
|
+
* @default true
|
|
2706
2706
|
*/
|
|
2707
2707
|
wait?: boolean;
|
|
2708
2708
|
/**
|
|
@@ -3361,9 +3361,9 @@ declare interface CloseWindowPayload {
|
|
|
3361
3361
|
windowId: Identity_4;
|
|
3362
3362
|
options: {
|
|
3363
3363
|
/**
|
|
3364
|
-
* @defaultValue false
|
|
3365
|
-
*
|
|
3366
3364
|
* When set to true skips any before handler set on views that are part of the window
|
|
3365
|
+
*
|
|
3366
|
+
* @default false
|
|
3367
3367
|
*/
|
|
3368
3368
|
skipBeforeUnload?: boolean;
|
|
3369
3369
|
};
|
|
@@ -3468,9 +3468,9 @@ declare type ConstViewOptions = {
|
|
|
3468
3468
|
*/
|
|
3469
3469
|
name: string;
|
|
3470
3470
|
/**
|
|
3471
|
-
* @defaultValue "about:blank"
|
|
3472
|
-
*
|
|
3473
3471
|
* The URL of the window
|
|
3472
|
+
*
|
|
3473
|
+
* @default "about:blank"
|
|
3474
3474
|
*/
|
|
3475
3475
|
url: string;
|
|
3476
3476
|
/**
|
|
@@ -3528,9 +3528,9 @@ declare type ConstViewOptions = {
|
|
|
3528
3528
|
experimental: any;
|
|
3529
3529
|
fdc3InteropApi?: string;
|
|
3530
3530
|
/**
|
|
3531
|
-
* @defaultValue false
|
|
3532
|
-
*
|
|
3533
3531
|
* When set to `true`, any `beforeunload` handler set on Views will fire.
|
|
3532
|
+
*
|
|
3533
|
+
* @default false
|
|
3534
3534
|
*/
|
|
3535
3535
|
enableBeforeUnload: boolean;
|
|
3536
3536
|
/**
|
|
@@ -3611,13 +3611,12 @@ declare type ConstWindowOptions = {
|
|
|
3611
3611
|
*/
|
|
3612
3612
|
backgroundColor: string;
|
|
3613
3613
|
/**
|
|
3614
|
-
* @defaultValue false
|
|
3615
|
-
*
|
|
3616
3614
|
* Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
|
|
3617
3615
|
* This also affects the Page Visibility API.
|
|
3618
3616
|
*
|
|
3619
3617
|
* When `true`, the page is throttled whether it is hidden or not.
|
|
3620
3618
|
*
|
|
3619
|
+
* @default false
|
|
3621
3620
|
*/
|
|
3622
3621
|
backgroundThrottling: boolean;
|
|
3623
3622
|
/**
|
|
@@ -3641,21 +3640,21 @@ declare type ConstWindowOptions = {
|
|
|
3641
3640
|
*/
|
|
3642
3641
|
customRequestHeaders: CustomRequestHeaders[];
|
|
3643
3642
|
/**
|
|
3644
|
-
* @defaultValue true
|
|
3645
|
-
*
|
|
3646
3643
|
* Setting this to false would keep the Window alive even if all its Views were closed.
|
|
3647
3644
|
* This is meant for advanced users and should be used with caution.
|
|
3648
3645
|
* Limitations - Once a Layout has been emptied out of all views it's not usable anymore, and certain API calls will fail.
|
|
3649
3646
|
* Use `layout.replace` to create a fresh Layout instance in case you want to populate it with Views again.
|
|
3650
3647
|
* **NOTE:** - This option is ignored in non-Platforms apps.
|
|
3648
|
+
*
|
|
3649
|
+
* @default true
|
|
3651
3650
|
*/
|
|
3652
3651
|
closeOnLastViewRemoved: boolean;
|
|
3653
3652
|
/**
|
|
3654
|
-
* @defaultValue 'all'
|
|
3655
|
-
*
|
|
3656
3653
|
* When `closeOnLastViewRemoved` is set to true, determines which views prevent closing the window.
|
|
3657
|
-
|
|
3654
|
+
* Defaults to `all`. You may want to switch this to `layout` if using View closeBehavior: 'hide'.
|
|
3658
3655
|
* **NOTE:** - This option is ignored in non-Platforms apps.
|
|
3656
|
+
*
|
|
3657
|
+
* @default 'all'
|
|
3659
3658
|
*/
|
|
3660
3659
|
viewsPreventingClose: 'all' | 'layout';
|
|
3661
3660
|
/**
|
|
@@ -3666,31 +3665,31 @@ declare type ConstWindowOptions = {
|
|
|
3666
3665
|
*/
|
|
3667
3666
|
defaultCentered: boolean;
|
|
3668
3667
|
/**
|
|
3669
|
-
* @defaultValue 500
|
|
3670
|
-
*
|
|
3671
3668
|
* The default height of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent launches
|
|
3672
3669
|
* in favor of the cached value.
|
|
3670
|
+
*
|
|
3671
|
+
* @default 500
|
|
3673
3672
|
*/
|
|
3674
3673
|
defaultHeight: number;
|
|
3675
3674
|
/**
|
|
3676
|
-
* @defaultValue 100
|
|
3677
|
-
*
|
|
3678
3675
|
* The default left position of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
|
|
3679
3676
|
* launches in favor of the cached value.
|
|
3677
|
+
*
|
|
3678
|
+
* @default 100
|
|
3680
3679
|
*/
|
|
3681
3680
|
defaultLeft: number;
|
|
3682
3681
|
/**
|
|
3683
|
-
* @defaultValue 100
|
|
3684
|
-
*
|
|
3685
3682
|
* The default top position of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
|
|
3686
3683
|
* launches in favor of the cached value.
|
|
3684
|
+
*
|
|
3685
|
+
* @default 100
|
|
3687
3686
|
*/
|
|
3688
3687
|
defaultTop: number;
|
|
3689
3688
|
/**
|
|
3690
|
-
* @defaultValue 800
|
|
3691
|
-
*
|
|
3692
3689
|
* The default width of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
|
|
3693
3690
|
* launches in favor of the cached value.
|
|
3691
|
+
*
|
|
3692
|
+
* @default 800
|
|
3694
3693
|
*/
|
|
3695
3694
|
defaultWidth: number;
|
|
3696
3695
|
/**
|
|
@@ -3736,19 +3735,19 @@ declare type ConstWindowOptions = {
|
|
|
3736
3735
|
*/
|
|
3737
3736
|
processAffinity: string;
|
|
3738
3737
|
/**
|
|
3739
|
-
* @defaultValue false
|
|
3740
|
-
*
|
|
3741
3738
|
* Displays a shadow on frameless windows.
|
|
3742
3739
|
* `shadow` and `cornerRounding` are mutually exclusive.
|
|
3743
3740
|
* On Windows 7, Aero theme is required.
|
|
3741
|
+
*
|
|
3742
|
+
* @default false
|
|
3744
3743
|
*/
|
|
3745
3744
|
shadow: boolean;
|
|
3746
3745
|
/**
|
|
3747
|
-
* @defaultValue true
|
|
3748
|
-
*
|
|
3749
3746
|
* Caches the location of the window.
|
|
3750
3747
|
*
|
|
3751
3748
|
* Note: this option is ignored in Platforms as it would cause inconsistent {@link Platform#applySnapshot applySnapshot} behavior.
|
|
3749
|
+
*
|
|
3750
|
+
* @default true
|
|
3752
3751
|
*/
|
|
3753
3752
|
saveWindowState: boolean;
|
|
3754
3753
|
/**
|
|
@@ -3757,22 +3756,22 @@ declare type ConstWindowOptions = {
|
|
|
3757
3756
|
*/
|
|
3758
3757
|
ignoreSavedWindowState: boolean;
|
|
3759
3758
|
/**
|
|
3760
|
-
* @defaultValue false
|
|
3761
|
-
*
|
|
3762
3759
|
* Makes this window a frameless window that can be created and resized to less than 41x36 px (width x height).
|
|
3763
3760
|
*
|
|
3764
3761
|
* Note: Caveats of small windows are no Aero Snap and drag to/from maximize.
|
|
3765
3762
|
* _Windows 10: Requires `maximizable` to be false. Resizing with the mouse is only possible down to 38x39 px._
|
|
3763
|
+
*
|
|
3764
|
+
* @default false
|
|
3766
3765
|
*/
|
|
3767
3766
|
smallWindow: boolean;
|
|
3768
3767
|
/**
|
|
3769
|
-
* @defaultValue "normal"
|
|
3770
|
-
*
|
|
3771
3768
|
* The visible state of the window on creation.
|
|
3772
3769
|
* One of:
|
|
3773
3770
|
* * `"maximized"`
|
|
3774
3771
|
* * `"minimized"`
|
|
3775
3772
|
* * `"normal"`
|
|
3773
|
+
*
|
|
3774
|
+
* @default "normal"
|
|
3776
3775
|
*/
|
|
3777
3776
|
state: WindowState;
|
|
3778
3777
|
/**
|
|
@@ -3786,20 +3785,20 @@ declare type ConstWindowOptions = {
|
|
|
3786
3785
|
*/
|
|
3787
3786
|
url: string;
|
|
3788
3787
|
/**
|
|
3789
|
-
* @defaultValue <application UUID>
|
|
3790
|
-
*
|
|
3791
3788
|
* The `uuid` of the application, unique within the set of all `Application`s running in OpenFin Runtime.
|
|
3792
3789
|
* If omitted, defaults to the `uuid` of the application spawning the window.
|
|
3793
3790
|
* If given, must match the `uuid` of the application spawning the window.
|
|
3794
3791
|
* In other words, the application's `uuid` is the only acceptable value, but is the default, so there's
|
|
3795
3792
|
* really no need to provide it.
|
|
3793
|
+
*
|
|
3794
|
+
* @default <application UUID>
|
|
3796
3795
|
*/
|
|
3797
3796
|
uuid: string;
|
|
3798
3797
|
/**
|
|
3799
|
-
* @defaultValue false
|
|
3800
|
-
*
|
|
3801
3798
|
* When set to `true`, the window will not appear until the `window` object's `load` event fires.
|
|
3802
3799
|
* When set to `false`, the window will appear immediately without waiting for content to be loaded.
|
|
3800
|
+
*
|
|
3801
|
+
* @default false
|
|
3803
3802
|
*/
|
|
3804
3803
|
waitForPageLoad: boolean;
|
|
3805
3804
|
width: number;
|
|
@@ -4071,13 +4070,13 @@ declare type CopyBlockedEventReason = 'disabled';
|
|
|
4071
4070
|
*/
|
|
4072
4071
|
declare type CopyPermissions = {
|
|
4073
4072
|
/**
|
|
4074
|
-
* @defaultValue 'allowed'
|
|
4075
|
-
*
|
|
4076
4073
|
* Controls the behavior for copy operations for a matched URL.
|
|
4077
4074
|
*
|
|
4078
4075
|
* allow: Enables all copy operations.
|
|
4079
4076
|
* block: Disables all copy operations.
|
|
4080
4077
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
|
4078
|
+
*
|
|
4079
|
+
* @default 'allowed'
|
|
4081
4080
|
*/
|
|
4082
4081
|
behavior: 'allow' | 'block' | 'protect';
|
|
4083
4082
|
/**
|
|
@@ -4085,9 +4084,9 @@ declare type CopyPermissions = {
|
|
|
4085
4084
|
*/
|
|
4086
4085
|
options?: {
|
|
4087
4086
|
/**
|
|
4088
|
-
* @defaultValue ''
|
|
4089
|
-
*
|
|
4090
4087
|
* When setting behavior = 'protected' , this string will be pasted to other applications that do not have a matching URL instead of the original content.
|
|
4088
|
+
*
|
|
4089
|
+
* @default ''
|
|
4091
4090
|
*/
|
|
4092
4091
|
replacementText: string;
|
|
4093
4092
|
};
|
|
@@ -4101,15 +4100,15 @@ declare type CopyPermissions = {
|
|
|
4101
4100
|
*/
|
|
4102
4101
|
declare type CornerRounding = {
|
|
4103
4102
|
/**
|
|
4104
|
-
* @defaultValue 0
|
|
4105
|
-
*
|
|
4106
4103
|
* The height in pixels.
|
|
4104
|
+
*
|
|
4105
|
+
* @default 0
|
|
4107
4106
|
*/
|
|
4108
4107
|
height: number;
|
|
4109
4108
|
/**
|
|
4110
|
-
* @defaultValue 0
|
|
4111
|
-
*
|
|
4112
4109
|
* The width in pixels.
|
|
4110
|
+
*
|
|
4111
|
+
* @default 0
|
|
4113
4112
|
*/
|
|
4114
4113
|
width: number;
|
|
4115
4114
|
};
|
|
@@ -4199,8 +4198,6 @@ declare type CreateLayoutOptions = {
|
|
|
4199
4198
|
layoutName: string;
|
|
4200
4199
|
layout: LayoutOptions;
|
|
4201
4200
|
/**
|
|
4202
|
-
* @defaultValue 'default'
|
|
4203
|
-
*
|
|
4204
4201
|
* Controls the View behavior for the given `layout` property. Note
|
|
4205
4202
|
* that the selected behavior only applies to unnamed Views or
|
|
4206
4203
|
* Views with the prefix `internal-generated-`. In all cases, if any
|
|
@@ -4222,6 +4219,8 @@ declare type CreateLayoutOptions = {
|
|
|
4222
4219
|
* override. Note that during applyLayoutSnapshot, Views are created and
|
|
4223
4220
|
* attached to the Provider while the Window is being created, so it's
|
|
4224
4221
|
* important to not 'duplicate' Views in this workflow.
|
|
4222
|
+
*
|
|
4223
|
+
* @default 'default'
|
|
4225
4224
|
*/
|
|
4226
4225
|
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
|
4227
4226
|
};
|
|
@@ -4481,7 +4480,7 @@ declare type DomainApiSettings = {
|
|
|
4481
4480
|
* * 'none': The `fin` API will be not available.
|
|
4482
4481
|
* * 'global': The entire `fin` API will be available.
|
|
4483
4482
|
*
|
|
4484
|
-
* @
|
|
4483
|
+
* @default 'global'
|
|
4485
4484
|
*/
|
|
4486
4485
|
fin?: InjectionType;
|
|
4487
4486
|
/**
|
|
@@ -5059,9 +5058,9 @@ declare type EventType_9 = Event_12['type'];
|
|
|
5059
5058
|
*/
|
|
5060
5059
|
declare type ExcludeOptions = {
|
|
5061
5060
|
/**
|
|
5062
|
-
* @defaultValue false
|
|
5063
|
-
*
|
|
5064
5061
|
* When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
|
|
5062
|
+
*
|
|
5063
|
+
* @default false
|
|
5065
5064
|
*/
|
|
5066
5065
|
preloadScripts: boolean;
|
|
5067
5066
|
};
|
|
@@ -5369,6 +5368,10 @@ declare namespace FDC3 {
|
|
|
5369
5368
|
}
|
|
5370
5369
|
}
|
|
5371
5370
|
|
|
5371
|
+
declare type FDC3Factory = typeof fdc3Factory;
|
|
5372
|
+
|
|
5373
|
+
declare const fdc3Factory: (version: '1.2' | '2.0', interopClient: OpenFin.InteropClient, wire: Transport<'unknown'>) => OpenFin.FDC3.v2_0.DesktopAgent | OpenFin.FDC3.v1_2.DesktopAgent;
|
|
5374
|
+
|
|
5372
5375
|
export declare function fdc3FromFin(fin: OpenFin.Fin<OpenFin.EntityType>, { fdc3Version }?: {
|
|
5373
5376
|
fdc3Version?: Fdc3Version;
|
|
5374
5377
|
}): Promise<Fdc3Module | Fdc3Module2>;
|
|
@@ -5876,34 +5879,34 @@ declare interface FinApi<MeType extends OpenFin.EntityType> {
|
|
|
5876
5879
|
*/
|
|
5877
5880
|
declare type FindInPageOptions = {
|
|
5878
5881
|
/**
|
|
5879
|
-
* @defaultValue true
|
|
5880
|
-
*
|
|
5881
5882
|
* Searches in the forward direction (backward otherwise)
|
|
5883
|
+
*
|
|
5884
|
+
* @default true
|
|
5882
5885
|
*/
|
|
5883
5886
|
forward?: boolean;
|
|
5884
5887
|
/**
|
|
5885
|
-
* @defaultValue false
|
|
5886
|
-
*
|
|
5887
5888
|
* Begins a new text-finding session; should be true for first request only, and false on subsequent requests.
|
|
5889
|
+
*
|
|
5890
|
+
* @default false
|
|
5888
5891
|
*/
|
|
5889
5892
|
findNext?: boolean;
|
|
5890
5893
|
/**
|
|
5891
|
-
* @defaultValue false
|
|
5892
|
-
*
|
|
5893
5894
|
* Enables case-sensitive searching.
|
|
5895
|
+
*
|
|
5896
|
+
* @default false
|
|
5894
5897
|
*/
|
|
5895
5898
|
matchCase?: boolean;
|
|
5896
5899
|
/**
|
|
5897
|
-
* @defaultValue false
|
|
5898
|
-
*
|
|
5899
5900
|
* Only searches from the start of words.
|
|
5901
|
+
*
|
|
5902
|
+
* @default false
|
|
5900
5903
|
*/
|
|
5901
5904
|
wordStart?: boolean;
|
|
5902
5905
|
/**
|
|
5903
|
-
* @defaultValue false
|
|
5904
|
-
*
|
|
5905
5906
|
* 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>
|
|
5906
5907
|
* lowercase or non-letter. Accepts several other intra-word matches.
|
|
5908
|
+
*
|
|
5909
|
+
* @default false
|
|
5907
5910
|
*/
|
|
5908
5911
|
medialCapitalAsWordStart?: boolean;
|
|
5909
5912
|
};
|
|
@@ -6411,9 +6414,9 @@ declare type Hotkey = {
|
|
|
6411
6414
|
*/
|
|
6412
6415
|
keys: string;
|
|
6413
6416
|
/**
|
|
6414
|
-
* @defaultValue false
|
|
6415
|
-
*
|
|
6416
6417
|
* Prevent default key handling before emitting the event.
|
|
6418
|
+
*
|
|
6419
|
+
* @default false
|
|
6417
6420
|
*/
|
|
6418
6421
|
preventDefault?: boolean;
|
|
6419
6422
|
};
|
|
@@ -7366,7 +7369,7 @@ declare class InteropBroker extends Base {
|
|
|
7366
7369
|
};
|
|
7367
7370
|
private getClientState;
|
|
7368
7371
|
private static toObject;
|
|
7369
|
-
static checkContextIntegrity(context: OpenFin.Context)
|
|
7372
|
+
static checkContextIntegrity: (context: OpenFin.Context) => {
|
|
7370
7373
|
isValid: true;
|
|
7371
7374
|
} | {
|
|
7372
7375
|
isValid: false;
|
|
@@ -8749,77 +8752,79 @@ declare type LayoutOptions = {
|
|
|
8749
8752
|
*/
|
|
8750
8753
|
settings?: {
|
|
8751
8754
|
/**
|
|
8752
|
-
* @defaultValue false
|
|
8753
|
-
*
|
|
8754
8755
|
* When true the splitters will not be draggable and the layout will not resize.
|
|
8756
|
+
*
|
|
8757
|
+
* @default false
|
|
8755
8758
|
*/
|
|
8756
8759
|
preventSplitterResize?: boolean;
|
|
8757
8760
|
/**
|
|
8758
|
-
* @defaultValue false
|
|
8759
|
-
*
|
|
8760
8761
|
* Whether the popout button will only act on the entire stack,
|
|
8761
8762
|
* as opposed to only the active tab.
|
|
8763
|
+
*
|
|
8764
|
+
* @default false
|
|
8762
8765
|
*/
|
|
8763
8766
|
popoutWholeStack?: boolean;
|
|
8764
8767
|
/**
|
|
8765
|
-
* @defaultValue false
|
|
8766
|
-
*
|
|
8767
8768
|
* Limits the area to which tabs can be dragged.
|
|
8768
8769
|
* If true, the layout container is the only area where tabs can be dropped.
|
|
8770
|
+
*
|
|
8771
|
+
* @default false
|
|
8769
8772
|
*/
|
|
8770
8773
|
constrainDragToContainer?: boolean;
|
|
8771
8774
|
/**
|
|
8772
|
-
* @defaultValue false
|
|
8773
|
-
*
|
|
8774
8775
|
* Whether to show the popout button on stack header.
|
|
8775
8776
|
* The button will create a new window with current tab as its content.
|
|
8776
8777
|
* In case `popoutWholeStack` is set to true, all tabs in the stack will be in the new window.
|
|
8778
|
+
*
|
|
8779
|
+
* @default false
|
|
8777
8780
|
*/
|
|
8778
8781
|
showPopoutIcon?: boolean;
|
|
8779
8782
|
/**
|
|
8780
|
-
* @defaultValue false
|
|
8781
|
-
*
|
|
8782
8783
|
* Whether to show the maximize button on stack header.
|
|
8783
8784
|
* The button will maximize the current tab to fill the entire window.
|
|
8785
|
+
*
|
|
8786
|
+
* @default false
|
|
8784
8787
|
*/
|
|
8785
8788
|
showMaximiseIcon?: boolean;
|
|
8786
8789
|
/**
|
|
8787
|
-
* @defaultValue false
|
|
8788
|
-
*
|
|
8789
8790
|
* Whether to show the close button on stack header
|
|
8790
8791
|
* (not to be confused with close button on every tab).
|
|
8792
|
+
*
|
|
8793
|
+
* @default false
|
|
8791
8794
|
*/
|
|
8792
8795
|
showCloseIcon?: boolean;
|
|
8793
8796
|
/**
|
|
8794
|
-
* @defaultValue false
|
|
8795
|
-
*
|
|
8796
8797
|
* Limits the area to which tabs can be dragged. If true, stack headers are the only areas where tabs can be dropped.
|
|
8798
|
+
*
|
|
8799
|
+
* @default false
|
|
8797
8800
|
*/
|
|
8798
8801
|
constrainDragToHeaders?: boolean;
|
|
8799
8802
|
/**
|
|
8800
|
-
* @defaultValue true
|
|
8801
|
-
*
|
|
8802
8803
|
* Turns tab headers on or off.
|
|
8803
8804
|
* If false, the layout will be displayed with splitters only.
|
|
8805
|
+
*
|
|
8806
|
+
* @default true
|
|
8804
8807
|
*/
|
|
8805
8808
|
hasHeaders?: boolean;
|
|
8806
8809
|
/**
|
|
8807
|
-
* @defaultValue true
|
|
8808
|
-
*
|
|
8809
8810
|
* If true, the user can re-arrange the layout by
|
|
8810
8811
|
* dragging items by their tabs to the desired location.
|
|
8812
|
+
*
|
|
8813
|
+
* @default true
|
|
8811
8814
|
*/
|
|
8812
8815
|
reorderEnabled?: boolean;
|
|
8813
8816
|
/**
|
|
8814
|
-
* @defaultValue false
|
|
8815
|
-
*
|
|
8816
8817
|
* If true, tabs can't be dragged out of the window.
|
|
8818
|
+
*
|
|
8819
|
+
* @default false
|
|
8817
8820
|
*/
|
|
8818
8821
|
preventDragOut?: boolean;
|
|
8819
8822
|
/**
|
|
8820
8823
|
* @defaultValue=false
|
|
8821
8824
|
*
|
|
8822
8825
|
* If true, tabs can't be dragged into the window.
|
|
8826
|
+
*
|
|
8827
|
+
* @default false
|
|
8823
8828
|
*/
|
|
8824
8829
|
preventDragIn?: boolean;
|
|
8825
8830
|
};
|
|
@@ -9262,10 +9267,10 @@ declare type MutableViewOptions = {
|
|
|
9262
9267
|
/**
|
|
9263
9268
|
* @deprecated Superseded by {@link contextMenuOptions}, which offers a larger feature-set and cleaner syntax.
|
|
9264
9269
|
*
|
|
9265
|
-
* @defaultValue true
|
|
9266
|
-
*
|
|
9267
9270
|
* Show the context menu when right-clicking on the view.
|
|
9268
9271
|
* Gives access to the devtools for the view.
|
|
9272
|
+
*
|
|
9273
|
+
* @default true
|
|
9269
9274
|
*/
|
|
9270
9275
|
contextMenu: boolean;
|
|
9271
9276
|
/**
|
|
@@ -9312,24 +9317,25 @@ declare type MutableViewOptions = {
|
|
|
9312
9317
|
contentNavigation: ContentNavigation;
|
|
9313
9318
|
contentRedirect: ContentRedirect;
|
|
9314
9319
|
/**
|
|
9315
|
-
* @defaultValue false
|
|
9316
9320
|
* @deprecated
|
|
9317
9321
|
* **Platforms Only.** If true, will hide and detach the View from the window for later use instead of closing,
|
|
9318
9322
|
* allowing the state of the View to be saved and the View to be immediately shown in a new Layout.
|
|
9323
|
+
*
|
|
9324
|
+
* @default false
|
|
9319
9325
|
*/
|
|
9320
9326
|
detachOnClose: boolean;
|
|
9321
9327
|
/**
|
|
9322
|
-
* @defaultValue true
|
|
9323
|
-
*
|
|
9324
9328
|
* **Platforms Only.** If false, the view will be persistent and can't be closed through
|
|
9325
9329
|
* either UI or `Platform.closeView`. Note that the view will still be closed if the host window is closed or
|
|
9326
9330
|
* if the view isn't part of the new layout when running `Layout.replace`.
|
|
9331
|
+
*
|
|
9332
|
+
* @default true
|
|
9327
9333
|
*/
|
|
9328
9334
|
isClosable: boolean;
|
|
9329
9335
|
/**
|
|
9330
|
-
* @defaultValue false
|
|
9331
|
-
*
|
|
9332
9336
|
* **Platforms Only.** If true, the tab of the view can't be dragged out of its host window.
|
|
9337
|
+
*
|
|
9338
|
+
* @default false
|
|
9333
9339
|
*/
|
|
9334
9340
|
preventDragOut: boolean;
|
|
9335
9341
|
interop?: InteropConfig;
|
|
@@ -9337,7 +9343,7 @@ declare type MutableViewOptions = {
|
|
|
9337
9343
|
/**
|
|
9338
9344
|
* {@inheritDoc ViewThrottling}
|
|
9339
9345
|
*
|
|
9340
|
-
* @
|
|
9346
|
+
* @default 'enabled'
|
|
9341
9347
|
*/
|
|
9342
9348
|
throttling: ViewThrottling;
|
|
9343
9349
|
/**
|
|
@@ -9356,7 +9362,7 @@ declare type MutableWindowOptions = {
|
|
|
9356
9362
|
* Turns anything of matching RGB value transparent.
|
|
9357
9363
|
*
|
|
9358
9364
|
* Caveats:
|
|
9359
|
-
* *
|
|
9365
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
|
9360
9366
|
* * User cannot click-through transparent regions
|
|
9361
9367
|
* * Not supported on Mac
|
|
9362
9368
|
* * Windows Aero must be enabled
|
|
@@ -9365,25 +9371,25 @@ declare type MutableWindowOptions = {
|
|
|
9365
9371
|
*/
|
|
9366
9372
|
alphaMask: RGB;
|
|
9367
9373
|
/**
|
|
9368
|
-
* @defaultValue false
|
|
9369
|
-
*
|
|
9370
9374
|
* Always position the window at the top of the window stack.
|
|
9375
|
+
*
|
|
9376
|
+
* @default false
|
|
9371
9377
|
*/
|
|
9372
9378
|
alwaysOnTop: boolean;
|
|
9373
9379
|
/**
|
|
9374
|
-
* @defaultValue 0
|
|
9375
|
-
*
|
|
9376
9380
|
* The aspect ratio of width to height to enforce for the window. If this value is equal to or less than zero,
|
|
9377
9381
|
* an aspect ratio will not be enforced.
|
|
9382
|
+
*
|
|
9383
|
+
* @default 0
|
|
9378
9384
|
*/
|
|
9379
9385
|
aspectRatio: number;
|
|
9380
9386
|
/**
|
|
9381
9387
|
* @deprecated Superseded by {@link contextMenuOptions}, which offers a larger feature-set and cleaner syntax.
|
|
9382
9388
|
*
|
|
9383
|
-
* @defaultValue true
|
|
9384
|
-
*
|
|
9385
9389
|
* Show the context menu when right-clicking on the window.
|
|
9386
9390
|
* Gives access to the devtools for the window.
|
|
9391
|
+
*
|
|
9392
|
+
* @default true
|
|
9387
9393
|
*/
|
|
9388
9394
|
contextMenu: boolean;
|
|
9389
9395
|
/**
|
|
@@ -9453,12 +9459,14 @@ declare type MutableWindowOptions = {
|
|
|
9453
9459
|
* @defaultValue true
|
|
9454
9460
|
*
|
|
9455
9461
|
* Show the window's frame.
|
|
9462
|
+
*
|
|
9463
|
+
* @default true
|
|
9456
9464
|
*/
|
|
9457
9465
|
frame: boolean;
|
|
9458
9466
|
/**
|
|
9459
|
-
* @defaultValue false
|
|
9460
|
-
*
|
|
9461
9467
|
* Hides the window instead of closing it when the close button is pressed.
|
|
9468
|
+
*
|
|
9469
|
+
* @default false
|
|
9462
9470
|
*/
|
|
9463
9471
|
hideOnClose: boolean;
|
|
9464
9472
|
/**
|
|
@@ -9511,60 +9519,61 @@ declare type MutableWindowOptions = {
|
|
|
9511
9519
|
*/
|
|
9512
9520
|
icon: string;
|
|
9513
9521
|
/**
|
|
9514
|
-
* @defaultValue true
|
|
9515
|
-
*
|
|
9516
9522
|
* Include window in snapshots returned by Platform.getSnapshot(). Turning this off may be desirable when dealing with
|
|
9517
9523
|
* inherently temporary windows whose state shouldn't be preserved, such as modals, menus, or popups.
|
|
9524
|
+
*
|
|
9525
|
+
* @default true
|
|
9518
9526
|
*/
|
|
9519
9527
|
includeInSnapshots: boolean;
|
|
9520
9528
|
/**
|
|
9521
|
-
* @defaultValue -1
|
|
9522
|
-
*
|
|
9523
9529
|
* The maximum height of a window. Will default to the OS defined value if set to -1.
|
|
9530
|
+
*
|
|
9531
|
+
* @default -1
|
|
9524
9532
|
*/
|
|
9525
9533
|
maxHeight: number;
|
|
9526
9534
|
/**
|
|
9527
|
-
* @defaultValue true
|
|
9528
|
-
*
|
|
9529
9535
|
* Allows the window to be maximized.
|
|
9536
|
+
*
|
|
9537
|
+
* @default true
|
|
9530
9538
|
*/
|
|
9531
9539
|
maximizable: boolean;
|
|
9532
9540
|
/**
|
|
9533
|
-
* @defaultValue -1
|
|
9534
|
-
*
|
|
9535
9541
|
* The maximum width of a window. Will default to the OS defined value if set to -1.
|
|
9542
|
+
*
|
|
9543
|
+
* @default -1
|
|
9536
9544
|
*/
|
|
9537
9545
|
maxWidth: number;
|
|
9538
9546
|
/**
|
|
9539
|
-
* @defaultValue 0
|
|
9540
|
-
*
|
|
9541
9547
|
* The minimum height of the window.
|
|
9548
|
+
*
|
|
9549
|
+
* @default 0
|
|
9542
9550
|
*/
|
|
9543
9551
|
minHeight: number;
|
|
9544
9552
|
/**
|
|
9545
|
-
* @defaultValue true
|
|
9546
|
-
*
|
|
9547
9553
|
* Allows the window to be minimized.
|
|
9554
|
+
*
|
|
9555
|
+
* @default true
|
|
9548
9556
|
*/
|
|
9549
9557
|
minimizable: boolean;
|
|
9550
9558
|
/**
|
|
9551
|
-
* @defaultValue true
|
|
9552
|
-
*
|
|
9553
9559
|
* The minimum width of the window.
|
|
9560
|
+
*
|
|
9561
|
+
* @default true
|
|
9554
9562
|
*/
|
|
9555
9563
|
minWidth: number;
|
|
9556
9564
|
/**
|
|
9557
|
-
* @defaultValue 1
|
|
9558
|
-
*
|
|
9559
9565
|
* A flag that specifies how transparent the window will be.
|
|
9560
9566
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
|
9561
9567
|
* This value is clamped between `0.0` and `1.0`.
|
|
9568
|
+
* In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
|
9569
|
+
*
|
|
9570
|
+
* @default 1
|
|
9562
9571
|
*/
|
|
9563
9572
|
opacity: number;
|
|
9564
9573
|
/**
|
|
9565
|
-
* @defaultValue true
|
|
9566
|
-
*
|
|
9567
9574
|
* A flag to allow the user to resize the window.
|
|
9575
|
+
*
|
|
9576
|
+
* @default true
|
|
9568
9577
|
*/
|
|
9569
9578
|
resizable: boolean;
|
|
9570
9579
|
/**
|
|
@@ -9572,16 +9581,16 @@ declare type MutableWindowOptions = {
|
|
|
9572
9581
|
*/
|
|
9573
9582
|
resizeRegion: ResizeRegion;
|
|
9574
9583
|
/**
|
|
9575
|
-
* @defaultValue false
|
|
9576
|
-
*
|
|
9577
9584
|
* **Platforms Only.** If true, will show background images in the layout when the Views are hidden.
|
|
9578
9585
|
* This occurs when the window is resizing or a tab is being dragged within the layout.
|
|
9586
|
+
*
|
|
9587
|
+
* @default false
|
|
9579
9588
|
*/
|
|
9580
9589
|
showBackgroundImages: boolean;
|
|
9581
9590
|
/**
|
|
9582
|
-
* @defaultValue true
|
|
9583
|
-
*
|
|
9584
9591
|
* Shows the window's icon in the taskbar.
|
|
9592
|
+
*
|
|
9593
|
+
* @default true
|
|
9585
9594
|
*/
|
|
9586
9595
|
showTaskbarIcon: boolean;
|
|
9587
9596
|
/**
|
|
@@ -9596,7 +9605,7 @@ declare type MutableWindowOptions = {
|
|
|
9596
9605
|
/**
|
|
9597
9606
|
* {@inheritDoc WindowThrottling}
|
|
9598
9607
|
*
|
|
9599
|
-
* @
|
|
9608
|
+
* @default 'enabled'
|
|
9600
9609
|
*
|
|
9601
9610
|
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
|
9602
9611
|
*/
|
|
@@ -10203,12 +10212,12 @@ declare type PasteBlockedEventReason = 'invalid-data' | 'disabled';
|
|
|
10203
10212
|
*/
|
|
10204
10213
|
declare type PastePermissions = {
|
|
10205
10214
|
/**
|
|
10206
|
-
* @defaultValue 'non-protected-content'
|
|
10207
|
-
*
|
|
10208
10215
|
* Controls the behavior for paste operations for a matched URL.
|
|
10209
10216
|
*
|
|
10210
10217
|
* non-protected-content: All matching URLs will be able to paste content copied from non-protected URLs.
|
|
10211
10218
|
* 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.
|
|
10219
|
+
*
|
|
10220
|
+
* @default 'non-protected-content'
|
|
10212
10221
|
*/
|
|
10213
10222
|
behavior: 'non-protected-content' | 'all-content';
|
|
10214
10223
|
};
|
|
@@ -11235,11 +11244,11 @@ declare type PlatformOptions = ApplicationCreationOptions & {
|
|
|
11235
11244
|
*/
|
|
11236
11245
|
providerUrl?: string;
|
|
11237
11246
|
/**
|
|
11238
|
-
* @defaultValue true
|
|
11239
|
-
*
|
|
11240
11247
|
* Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
|
|
11241
11248
|
*
|
|
11242
11249
|
* NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
|
|
11250
|
+
*
|
|
11251
|
+
* @default true
|
|
11243
11252
|
*/
|
|
11244
11253
|
allowLaunchIntoPlatform?: boolean;
|
|
11245
11254
|
};
|
|
@@ -11883,22 +11892,22 @@ declare type PopupOptions = {
|
|
|
11883
11892
|
url?: string;
|
|
11884
11893
|
/**
|
|
11885
11894
|
* Height of the popup window in pixels (takes priority over `intialOptions` size properties).
|
|
11886
|
-
* @
|
|
11895
|
+
* @default 300
|
|
11887
11896
|
*/
|
|
11888
11897
|
height?: number;
|
|
11889
11898
|
/**
|
|
11890
11899
|
* Width of the popup window in pixels (takes priority over `intialOptions` size properties).
|
|
11891
|
-
* @
|
|
11900
|
+
* @default 300
|
|
11892
11901
|
*/
|
|
11893
11902
|
width?: number;
|
|
11894
11903
|
/**
|
|
11895
11904
|
* Left position in pixels where the popup window will be shown (relative to the window calling `showPopupWindow`).
|
|
11896
|
-
* @
|
|
11905
|
+
* @default 0
|
|
11897
11906
|
*/
|
|
11898
11907
|
x?: number;
|
|
11899
11908
|
/**
|
|
11900
11909
|
* Top position in pixels where the popup window will be shown (relative to the window calling `showPopupWindow`).
|
|
11901
|
-
* @
|
|
11910
|
+
* @default 0
|
|
11902
11911
|
*/
|
|
11903
11912
|
y?: number;
|
|
11904
11913
|
/**
|
|
@@ -11906,7 +11915,7 @@ declare type PopupOptions = {
|
|
|
11906
11915
|
* * 'modal' restricts resizing and positioning in the caller.
|
|
11907
11916
|
* * 'hide' hides the popup window on blur.
|
|
11908
11917
|
* * 'close' closes the popup window on blur.
|
|
11909
|
-
* @
|
|
11918
|
+
* @default 'close'
|
|
11910
11919
|
*/
|
|
11911
11920
|
blurBehavior?: PopupBlurBehavior;
|
|
11912
11921
|
/**
|
|
@@ -11914,19 +11923,19 @@ declare type PopupOptions = {
|
|
|
11914
11923
|
* * 'none' will do nothing.
|
|
11915
11924
|
* * 'hide' hides the popup window on `dispatchPopupResult`.
|
|
11916
11925
|
* * 'close' closes the popup window on `dispatchPopupResult`.
|
|
11917
|
-
* @
|
|
11926
|
+
* @default 'close'
|
|
11918
11927
|
*/
|
|
11919
11928
|
resultDispatchBehavior?: PopupResultBehavior;
|
|
11920
11929
|
/**
|
|
11921
11930
|
* Hide the popup window instead of closing when `close` is called on it.
|
|
11922
11931
|
*
|
|
11923
11932
|
* Note: if this is `true` and `blurBehavior` and/or `resultDispatchBehavior` are set to `close`, the window will be hidden.
|
|
11924
|
-
* @
|
|
11933
|
+
* @default false
|
|
11925
11934
|
*/
|
|
11926
11935
|
hideOnClose?: boolean;
|
|
11927
11936
|
/**
|
|
11928
11937
|
* Determines if the popup window should or should not be focused when it is shown.
|
|
11929
|
-
* @
|
|
11938
|
+
* @default true
|
|
11930
11939
|
*/
|
|
11931
11940
|
focus?: boolean;
|
|
11932
11941
|
/**
|
|
@@ -12020,9 +12029,9 @@ declare type PrebuiltContextMenuItem = 'separator' | 'undo' | 'redo' | 'cut' | '
|
|
|
12020
12029
|
*/
|
|
12021
12030
|
declare type PreloadScript = {
|
|
12022
12031
|
/**
|
|
12023
|
-
* @defaultValue false
|
|
12024
|
-
*
|
|
12025
12032
|
* Fail to load the window if this preload script fails
|
|
12033
|
+
*
|
|
12034
|
+
* @default false
|
|
12026
12035
|
*/
|
|
12027
12036
|
mandatory?: boolean;
|
|
12028
12037
|
/**
|
|
@@ -12118,15 +12127,15 @@ declare type PrinterInfo = {
|
|
|
12118
12127
|
declare type PrintOptions = {
|
|
12119
12128
|
content?: 'self';
|
|
12120
12129
|
/**
|
|
12121
|
-
* @defaultValue false
|
|
12122
|
-
*
|
|
12123
12130
|
* Disables prompting the user for print settings.
|
|
12131
|
+
*
|
|
12132
|
+
* @default false
|
|
12124
12133
|
*/
|
|
12125
12134
|
silent?: boolean;
|
|
12126
12135
|
/**
|
|
12127
|
-
* @defaultValue false
|
|
12128
|
-
*
|
|
12129
12136
|
* Includes the webpage background color and image when printing.
|
|
12137
|
+
*
|
|
12138
|
+
* @default false
|
|
12130
12139
|
*/
|
|
12131
12140
|
printBackground?: boolean;
|
|
12132
12141
|
/**
|
|
@@ -12134,9 +12143,9 @@ declare type PrintOptions = {
|
|
|
12134
12143
|
*/
|
|
12135
12144
|
deviceName?: string;
|
|
12136
12145
|
/**
|
|
12137
|
-
* @defaultValue true
|
|
12138
|
-
*
|
|
12139
12146
|
* Prints in full color (greyscale otherwise).
|
|
12147
|
+
*
|
|
12148
|
+
* @default true
|
|
12140
12149
|
*/
|
|
12141
12150
|
color?: boolean;
|
|
12142
12151
|
/**
|
|
@@ -12144,9 +12153,9 @@ declare type PrintOptions = {
|
|
|
12144
12153
|
*/
|
|
12145
12154
|
margins?: Margins;
|
|
12146
12155
|
/**
|
|
12147
|
-
* @defaultValue true
|
|
12148
|
-
*
|
|
12149
12156
|
* Prints in landscape mode (portrait otherwise).
|
|
12157
|
+
*
|
|
12158
|
+
* @default true
|
|
12150
12159
|
*/
|
|
12151
12160
|
landscape?: boolean;
|
|
12152
12161
|
/**
|
|
@@ -13317,15 +13326,15 @@ declare type ReplaceViewPayload = {
|
|
|
13317
13326
|
*/
|
|
13318
13327
|
declare type ResizeRegion = {
|
|
13319
13328
|
/**
|
|
13320
|
-
* @defaultValue 7
|
|
13321
|
-
*
|
|
13322
13329
|
* The size of the resize region in pixels.
|
|
13330
|
+
*
|
|
13331
|
+
* @default 7
|
|
13323
13332
|
*/
|
|
13324
13333
|
size?: number;
|
|
13325
13334
|
/**
|
|
13326
|
-
* @defaultValue 9
|
|
13327
|
-
*
|
|
13328
13335
|
* The size in pixels of an additional square resizable region located at the bottom right corner of a frameless window.
|
|
13336
|
+
*
|
|
13337
|
+
* @default 9
|
|
13329
13338
|
*/
|
|
13330
13339
|
bottomRightCorner?: number;
|
|
13331
13340
|
/**
|
|
@@ -13333,27 +13342,27 @@ declare type ResizeRegion = {
|
|
|
13333
13342
|
*/
|
|
13334
13343
|
sides?: {
|
|
13335
13344
|
/**
|
|
13336
|
-
* @defaultValue true
|
|
13337
|
-
*
|
|
13338
13345
|
* Enables resizing from the top of the window.
|
|
13346
|
+
*
|
|
13347
|
+
* @default true
|
|
13339
13348
|
*/
|
|
13340
13349
|
top?: boolean;
|
|
13341
13350
|
/**
|
|
13342
|
-
* @defaultValue true
|
|
13343
|
-
*
|
|
13344
13351
|
* Enables resizing from the bottom of the window.
|
|
13352
|
+
*
|
|
13353
|
+
* @default true
|
|
13345
13354
|
*/
|
|
13346
13355
|
bottom?: boolean;
|
|
13347
13356
|
/**
|
|
13348
|
-
* @defaultValue true
|
|
13349
|
-
*
|
|
13350
13357
|
* Enables resizing from the left side of the window.
|
|
13358
|
+
*
|
|
13359
|
+
* @default true
|
|
13351
13360
|
*/
|
|
13352
13361
|
left?: boolean;
|
|
13353
13362
|
/**
|
|
13354
|
-
* @defaultValue true
|
|
13355
|
-
*
|
|
13356
13363
|
* Enables resizing from the right side of the window.
|
|
13364
|
+
*
|
|
13365
|
+
* @default true
|
|
13357
13366
|
*/
|
|
13358
13367
|
right?: boolean;
|
|
13359
13368
|
};
|
|
@@ -13897,9 +13906,9 @@ declare type ShowTrayIconPopupMenuOptions<Data extends unknown = unknown> = {
|
|
|
13897
13906
|
*/
|
|
13898
13907
|
declare type ShowViewOnWindowResizeOptions = ViewVisibilityOption & {
|
|
13899
13908
|
/**
|
|
13900
|
-
* @defaultValue 0
|
|
13901
|
-
*
|
|
13902
13909
|
* Number of milliseconds to wait between view repaints.
|
|
13910
|
+
*
|
|
13911
|
+
* @default 0
|
|
13903
13912
|
*/
|
|
13904
13913
|
paintIntervalMs?: number;
|
|
13905
13914
|
};
|
|
@@ -15937,9 +15946,9 @@ declare type TransitionBase = {
|
|
|
15937
15946
|
*/
|
|
15938
15947
|
duration: number;
|
|
15939
15948
|
/**
|
|
15940
|
-
* @defaultValue false
|
|
15941
|
-
*
|
|
15942
15949
|
* Treats 'opacity' as absolute or as a delta. Defaults to false.
|
|
15950
|
+
*
|
|
15951
|
+
* @default false
|
|
15943
15952
|
*/
|
|
15944
15953
|
relative?: boolean;
|
|
15945
15954
|
};
|
|
@@ -15955,9 +15964,9 @@ declare type TransitionOptions = {
|
|
|
15955
15964
|
*/
|
|
15956
15965
|
interrupt: boolean;
|
|
15957
15966
|
/**
|
|
15958
|
-
* @defaultValue false
|
|
15959
|
-
*
|
|
15960
15967
|
* Treats 'opacity' as absolute or as a delta. Defaults to false.
|
|
15968
|
+
*
|
|
15969
|
+
* @default false
|
|
15961
15970
|
*/
|
|
15962
15971
|
relative?: boolean;
|
|
15963
15972
|
tween?: tween;
|
|
@@ -16985,9 +16994,9 @@ declare type ViewThrottling = 'enabled' | 'scheduler-disabled';
|
|
|
16985
16994
|
*/
|
|
16986
16995
|
declare type ViewVisibilityOption = {
|
|
16987
16996
|
/**
|
|
16988
|
-
* @defaultValue false
|
|
16989
|
-
*
|
|
16990
16997
|
* Enables or disables showing views when the layout splitter or a tab is being dragged or a Platform Window is being resized.
|
|
16998
|
+
*
|
|
16999
|
+
* @default false
|
|
16991
17000
|
*/
|
|
16992
17001
|
enabled?: boolean;
|
|
16993
17002
|
};
|