@openfin/core 42.100.97 → 42.100.98
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 +223 -201
- package/out/mock-beta.d.ts +223 -201
- package/out/mock-public.d.ts +223 -201
- package/out/stub.d.ts +223 -201
- package/package.json +1 -1
package/out/stub.d.ts
CHANGED
@@ -139,13 +139,13 @@ declare type ApiSettings = {
|
|
139
139
|
/**
|
140
140
|
* Inject OpenFin API into cross-origin iframes
|
141
141
|
*
|
142
|
-
* @
|
142
|
+
* @default false
|
143
143
|
*/
|
144
144
|
crossOriginInjection?: boolean;
|
145
145
|
/**
|
146
146
|
* Inject OpenFin API into same-origin iframes
|
147
147
|
*
|
148
|
-
* @
|
148
|
+
* @default true
|
149
149
|
*/
|
150
150
|
sameOriginInjection?: boolean;
|
151
151
|
/**
|
@@ -1190,19 +1190,19 @@ declare class ApplicationModule extends Base {
|
|
1190
1190
|
*/
|
1191
1191
|
declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
1192
1192
|
/**
|
1193
|
-
* @defaultValue false
|
1194
|
-
*
|
1195
1193
|
* Disables IAB secure logging for the app.
|
1194
|
+
*
|
1195
|
+
* @default false
|
1196
1196
|
*/
|
1197
1197
|
disableIabSecureLogging: boolean;
|
1198
1198
|
/**
|
1199
|
-
* @defaultValue 'There was an error loading the application.'
|
1200
|
-
*
|
1201
1199
|
* An error message to display when the application (launched via manifest) fails to load.
|
1202
1200
|
* A dialog box will be launched with the error message just before the runtime exits.
|
1203
1201
|
* Load fails such as failed DNS resolutions or aborted connections as well as cancellations, _e.g.,_ `window.stop()`,
|
1204
1202
|
* will trigger this dialog.
|
1205
1203
|
* Client response codes such as `404 Not Found` are not treated as fails as they are valid server responses.
|
1204
|
+
*
|
1205
|
+
* @default 'There was an error loading the application.'
|
1206
1206
|
*/
|
1207
1207
|
loadErrorMessage: string;
|
1208
1208
|
/**
|
@@ -1221,28 +1221,28 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1221
1221
|
*/
|
1222
1222
|
name: string;
|
1223
1223
|
/**
|
1224
|
-
* @defaultValue false
|
1225
|
-
*
|
1226
1224
|
* A flag to configure the application as non-persistent.
|
1227
1225
|
* Runtime exits when there are no persistent apps running.
|
1226
|
+
*
|
1227
|
+
* @default false
|
1228
1228
|
*/
|
1229
1229
|
nonPersistent: boolean;
|
1230
1230
|
/**
|
1231
|
-
* @defaultValue false
|
1232
|
-
*
|
1233
1231
|
* Enable Flash at the application level.
|
1232
|
+
*
|
1233
|
+
* @default false
|
1234
1234
|
*/
|
1235
1235
|
plugins: boolean;
|
1236
1236
|
/**
|
1237
|
-
* @defaultValue false
|
1238
|
-
*
|
1239
1237
|
* Enable spell check at the application level.
|
1238
|
+
*
|
1239
|
+
* @default false
|
1240
1240
|
*/
|
1241
1241
|
spellCheck: boolean;
|
1242
1242
|
/**
|
1243
|
-
* @defaultValue 'about:blank'
|
1244
|
-
*
|
1245
1243
|
* The url to the application (specifically the application's main window).
|
1244
|
+
*
|
1245
|
+
* @default 'about:blank'
|
1246
1246
|
*/
|
1247
1247
|
url: string;
|
1248
1248
|
/**
|
@@ -1251,9 +1251,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1251
1251
|
*/
|
1252
1252
|
uuid: string;
|
1253
1253
|
/**
|
1254
|
-
* @defaultValue true
|
1255
|
-
*
|
1256
1254
|
* When set to `false` it will disable the same-origin policy for the app.
|
1255
|
+
*
|
1256
|
+
* @default true
|
1257
1257
|
*/
|
1258
1258
|
webSecurity: boolean;
|
1259
1259
|
/**
|
@@ -1263,10 +1263,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1263
1263
|
commands: ShortcutOverride[];
|
1264
1264
|
isPlatformController: boolean;
|
1265
1265
|
/**
|
1266
|
-
* @defaultValue 1000
|
1267
|
-
*
|
1268
1266
|
* **Platforms Only.** The maximum number of "detached" or "pooled" Views that can exist in the Platform before being closed.
|
1269
1267
|
* If you do not wish for views to be pooled on your platform, set this property to zero.
|
1268
|
+
*
|
1269
|
+
* @default 1000
|
1270
1270
|
*/
|
1271
1271
|
maxViewPoolSize: number;
|
1272
1272
|
/**
|
@@ -1282,12 +1282,12 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1282
1282
|
*/
|
1283
1283
|
snapshot: Snapshot;
|
1284
1284
|
/**
|
1285
|
-
* @defaultValue false
|
1286
|
-
*
|
1287
1285
|
* **Platforms Only.** Prevent the Platform Provider from quitting automatically when the last Platform Window is closed.
|
1288
1286
|
*
|
1289
1287
|
* Note: if the Platform Provider is showing, it won't close automatically.
|
1290
1288
|
* If you want a hidden Platform Provider to remain open after the last Platform Window has been closed, set this property to true.
|
1289
|
+
*
|
1290
|
+
* @default false
|
1291
1291
|
*/
|
1292
1292
|
preventQuitOnLastWindowClosed: boolean;
|
1293
1293
|
/**
|
@@ -1295,9 +1295,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1295
1295
|
*/
|
1296
1296
|
interopBrokerConfiguration: InteropBrokerOptions;
|
1297
1297
|
/**
|
1298
|
-
* @defaultValue true
|
1299
|
-
*
|
1300
1298
|
* When set to `false` it will disable OpenFin Diagnostics for the app.
|
1299
|
+
*
|
1300
|
+
* @default true
|
1301
1301
|
*/
|
1302
1302
|
apiDiagnostics: boolean;
|
1303
1303
|
/**
|
@@ -1313,16 +1313,16 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1313
1313
|
*/
|
1314
1314
|
permissions?: Partial<Permissions_2>;
|
1315
1315
|
/**
|
1316
|
-
* @defaultValue false
|
1317
|
-
*
|
1318
1316
|
* Enables the use of the Jumplists API and the 'pin to taskbar' functionality.
|
1319
1317
|
* Only relevant in Windows.
|
1318
|
+
*
|
1319
|
+
* @default false
|
1320
1320
|
*/
|
1321
1321
|
enableJumpList: boolean;
|
1322
1322
|
/**
|
1323
|
-
* @defaultValue false
|
1324
|
-
*
|
1325
1323
|
* When set to `true`, any `beforeunload` handler set on the app will fire.
|
1324
|
+
*
|
1325
|
+
* @default false
|
1326
1326
|
*/
|
1327
1327
|
enableBeforeUnload: boolean;
|
1328
1328
|
/**
|
@@ -1403,25 +1403,25 @@ declare type ApplicationWindowInfo = {
|
|
1403
1403
|
*/
|
1404
1404
|
declare type ApplySnapshotOptions = {
|
1405
1405
|
/**
|
1406
|
-
* @defaultValue false
|
1407
|
-
*
|
1408
1406
|
* When true, applySnapshot will close existing windows,
|
1409
1407
|
* replacing current Platform state with the given snapshot.
|
1408
|
+
*
|
1409
|
+
* @default false
|
1410
1410
|
*/
|
1411
1411
|
closeExistingWindows?: boolean;
|
1412
1412
|
/**
|
1413
|
-
* @defaultValue false
|
1414
|
-
*
|
1415
1413
|
* When true, applySnapshot will close existing includeInSnapshots: true windows,
|
1416
1414
|
* replacing current Platform state with the given snapshot.
|
1415
|
+
*
|
1416
|
+
* @default false
|
1417
1417
|
*/
|
1418
1418
|
closeSnapshotWindows?: boolean;
|
1419
1419
|
/**
|
1420
|
-
* @defaultValue false
|
1421
|
-
*
|
1422
1420
|
* When true, applySnapshot will not check whether any windows in a
|
1423
1421
|
* snapshot are off-screen. By default, such windows will be repositioned to be on-screen,
|
1424
1422
|
* as defined by {@link PlatformProvider#positionOutOfBoundsWindows PlatformProvider.positionOutOfBoundsWindows}.
|
1423
|
+
*
|
1424
|
+
* @default false
|
1425
1425
|
*/
|
1426
1426
|
skipOutOfBoundsCheck?: boolean;
|
1427
1427
|
};
|
@@ -2104,15 +2104,15 @@ declare type CapturePageOptions = {
|
|
2104
2104
|
*/
|
2105
2105
|
area?: Rectangle;
|
2106
2106
|
/**
|
2107
|
-
* @defaultValue 'png'
|
2108
|
-
*
|
2109
2107
|
* The format of the captured image. Can be 'png', 'jpg', or 'bmp'.
|
2108
|
+
*
|
2109
|
+
* @default 'png'
|
2110
2110
|
*/
|
2111
2111
|
format?: 'bmp' | 'jpg' | 'png';
|
2112
2112
|
/**
|
2113
|
-
* @defaultValue 100
|
2114
|
-
*
|
2115
2113
|
* Quality of JPEG image. Between 0 - 100.
|
2114
|
+
*
|
2115
|
+
* @default 100
|
2116
2116
|
*/
|
2117
2117
|
quality?: number;
|
2118
2118
|
};
|
@@ -2766,9 +2766,9 @@ declare type ChannelClientDisconnectionListener = (identity: ClientIdentity) =>
|
|
2766
2766
|
*/
|
2767
2767
|
declare type ChannelConnectOptions = ChannelCreateOptions & {
|
2768
2768
|
/**
|
2769
|
-
* @defaultValue true
|
2770
|
-
*
|
2771
2769
|
* If true will wait for ChannelProvider to connect. If false will fail if ChannelProvider is not found.
|
2770
|
+
*
|
2771
|
+
* @default true
|
2772
2772
|
*/
|
2773
2773
|
wait?: boolean;
|
2774
2774
|
/**
|
@@ -3430,9 +3430,9 @@ declare interface CloseWindowPayload {
|
|
3430
3430
|
windowId: Identity_4;
|
3431
3431
|
options: {
|
3432
3432
|
/**
|
3433
|
-
* @defaultValue false
|
3434
|
-
*
|
3435
3433
|
* When set to true skips any before handler set on views that are part of the window
|
3434
|
+
*
|
3435
|
+
* @default false
|
3436
3436
|
*/
|
3437
3437
|
skipBeforeUnload?: boolean;
|
3438
3438
|
};
|
@@ -3540,9 +3540,9 @@ declare type ConstViewOptions = {
|
|
3540
3540
|
*/
|
3541
3541
|
name: string;
|
3542
3542
|
/**
|
3543
|
-
* @defaultValue "about:blank"
|
3544
|
-
*
|
3545
3543
|
* The URL of the window
|
3544
|
+
*
|
3545
|
+
* @default "about:blank"
|
3546
3546
|
*/
|
3547
3547
|
url: string;
|
3548
3548
|
/**
|
@@ -3567,6 +3567,15 @@ declare type ConstViewOptions = {
|
|
3567
3567
|
* Custom headers for requests sent by the view.
|
3568
3568
|
*/
|
3569
3569
|
customRequestHeaders: CustomRequestHeaders[];
|
3570
|
+
/**
|
3571
|
+
* @experimental
|
3572
|
+
*
|
3573
|
+
* When set to true, will prevent setting the `-webkit-app-region` and `app-region` css properties on the view.
|
3574
|
+
* These css properties are used to enable dragging of a frameless window.
|
3575
|
+
*
|
3576
|
+
* @default false
|
3577
|
+
*/
|
3578
|
+
disableAppRegion: boolean;
|
3570
3579
|
/**
|
3571
3580
|
* Initial bounds given relative to the window.
|
3572
3581
|
*/
|
@@ -3603,9 +3612,9 @@ declare type ConstViewOptions = {
|
|
3603
3612
|
experimental: any;
|
3604
3613
|
fdc3InteropApi?: string;
|
3605
3614
|
/**
|
3606
|
-
* @defaultValue false
|
3607
|
-
*
|
3608
3615
|
* When set to `true`, any `beforeunload` handler set on Views will fire.
|
3616
|
+
*
|
3617
|
+
* @default false
|
3609
3618
|
*/
|
3610
3619
|
enableBeforeUnload: boolean;
|
3611
3620
|
/**
|
@@ -3686,13 +3695,12 @@ declare type ConstWindowOptions = {
|
|
3686
3695
|
*/
|
3687
3696
|
backgroundColor: string;
|
3688
3697
|
/**
|
3689
|
-
* @defaultValue false
|
3690
|
-
*
|
3691
3698
|
* Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
|
3692
3699
|
* This also affects the Page Visibility API.
|
3693
3700
|
*
|
3694
3701
|
* When `true`, the page is throttled whether it is hidden or not.
|
3695
3702
|
*
|
3703
|
+
* @default false
|
3696
3704
|
*/
|
3697
3705
|
backgroundThrottling: boolean;
|
3698
3706
|
/**
|
@@ -3716,21 +3724,30 @@ declare type ConstWindowOptions = {
|
|
3716
3724
|
*/
|
3717
3725
|
customRequestHeaders: CustomRequestHeaders[];
|
3718
3726
|
/**
|
3719
|
-
* @defaultValue true
|
3720
|
-
*
|
3721
3727
|
* Setting this to false would keep the Window alive even if all its Views were closed.
|
3722
3728
|
* This is meant for advanced users and should be used with caution.
|
3723
3729
|
* Limitations - Once a Layout has been emptied out of all views it's not usable anymore, and certain API calls will fail.
|
3724
3730
|
* Use `layout.replace` to create a fresh Layout instance in case you want to populate it with Views again.
|
3725
3731
|
* **NOTE:** - This option is ignored in non-Platforms apps.
|
3732
|
+
*
|
3733
|
+
* @default true
|
3726
3734
|
*/
|
3727
3735
|
closeOnLastViewRemoved: boolean;
|
3728
3736
|
/**
|
3729
|
-
* @
|
3737
|
+
* @experimental
|
3738
|
+
*
|
3739
|
+
* When set to true, will prevent setting the `-webkit-app-region` and `app-region` css properties on the window.
|
3740
|
+
* These css properties are used to enable dragging of a frameless window.
|
3730
3741
|
*
|
3742
|
+
* @default false
|
3743
|
+
*/
|
3744
|
+
disableAppRegion: boolean;
|
3745
|
+
/**
|
3731
3746
|
* When `closeOnLastViewRemoved` is set to true, determines which views prevent closing the window.
|
3732
|
-
|
3747
|
+
* Defaults to `all`. You may want to switch this to `layout` if using View closeBehavior: 'hide'.
|
3733
3748
|
* **NOTE:** - This option is ignored in non-Platforms apps.
|
3749
|
+
*
|
3750
|
+
* @default 'all'
|
3734
3751
|
*/
|
3735
3752
|
viewsPreventingClose: 'all' | 'layout';
|
3736
3753
|
/**
|
@@ -3741,31 +3758,31 @@ declare type ConstWindowOptions = {
|
|
3741
3758
|
*/
|
3742
3759
|
defaultCentered: boolean;
|
3743
3760
|
/**
|
3744
|
-
* @defaultValue 500
|
3745
|
-
*
|
3746
3761
|
* The default height of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent launches
|
3747
3762
|
* in favor of the cached value.
|
3763
|
+
*
|
3764
|
+
* @default 500
|
3748
3765
|
*/
|
3749
3766
|
defaultHeight: number;
|
3750
3767
|
/**
|
3751
|
-
* @defaultValue 100
|
3752
|
-
*
|
3753
3768
|
* The default left position of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
|
3754
3769
|
* launches in favor of the cached value.
|
3770
|
+
*
|
3771
|
+
* @default 100
|
3755
3772
|
*/
|
3756
3773
|
defaultLeft: number;
|
3757
3774
|
/**
|
3758
|
-
* @defaultValue 100
|
3759
|
-
*
|
3760
3775
|
* The default top position of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
|
3761
3776
|
* launches in favor of the cached value.
|
3777
|
+
*
|
3778
|
+
* @default 100
|
3762
3779
|
*/
|
3763
3780
|
defaultTop: number;
|
3764
3781
|
/**
|
3765
|
-
* @defaultValue 800
|
3766
|
-
*
|
3767
3782
|
* The default width of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
|
3768
3783
|
* launches in favor of the cached value.
|
3784
|
+
*
|
3785
|
+
* @default 800
|
3769
3786
|
*/
|
3770
3787
|
defaultWidth: number;
|
3771
3788
|
/**
|
@@ -3811,19 +3828,19 @@ declare type ConstWindowOptions = {
|
|
3811
3828
|
*/
|
3812
3829
|
processAffinity: string;
|
3813
3830
|
/**
|
3814
|
-
* @defaultValue false
|
3815
|
-
*
|
3816
3831
|
* Displays a shadow on frameless windows.
|
3817
3832
|
* `shadow` and `cornerRounding` are mutually exclusive.
|
3818
3833
|
* On Windows 7, Aero theme is required.
|
3834
|
+
*
|
3835
|
+
* @default false
|
3819
3836
|
*/
|
3820
3837
|
shadow: boolean;
|
3821
3838
|
/**
|
3822
|
-
* @defaultValue true
|
3823
|
-
*
|
3824
3839
|
* Caches the location of the window.
|
3825
3840
|
*
|
3826
3841
|
* Note: this option is ignored in Platforms as it would cause inconsistent {@link Platform#applySnapshot applySnapshot} behavior.
|
3842
|
+
*
|
3843
|
+
* @default true
|
3827
3844
|
*/
|
3828
3845
|
saveWindowState: boolean;
|
3829
3846
|
/**
|
@@ -3832,22 +3849,22 @@ declare type ConstWindowOptions = {
|
|
3832
3849
|
*/
|
3833
3850
|
ignoreSavedWindowState: boolean;
|
3834
3851
|
/**
|
3835
|
-
* @defaultValue false
|
3836
|
-
*
|
3837
3852
|
* Makes this window a frameless window that can be created and resized to less than 41x36 px (width x height).
|
3838
3853
|
*
|
3839
3854
|
* Note: Caveats of small windows are no Aero Snap and drag to/from maximize.
|
3840
3855
|
* _Windows 10: Requires `maximizable` to be false. Resizing with the mouse is only possible down to 38x39 px._
|
3856
|
+
*
|
3857
|
+
* @default false
|
3841
3858
|
*/
|
3842
3859
|
smallWindow: boolean;
|
3843
3860
|
/**
|
3844
|
-
* @defaultValue "normal"
|
3845
|
-
*
|
3846
3861
|
* The visible state of the window on creation.
|
3847
3862
|
* One of:
|
3848
3863
|
* * `"maximized"`
|
3849
3864
|
* * `"minimized"`
|
3850
3865
|
* * `"normal"`
|
3866
|
+
*
|
3867
|
+
* @default "normal"
|
3851
3868
|
*/
|
3852
3869
|
state: WindowState;
|
3853
3870
|
/**
|
@@ -3862,26 +3879,26 @@ declare type ConstWindowOptions = {
|
|
3862
3879
|
*/
|
3863
3880
|
taskbarIconGroup: string;
|
3864
3881
|
/**
|
3865
|
-
* @defaultValue "about:blank"
|
3866
|
-
*
|
3867
3882
|
* The URL of the window
|
3883
|
+
*
|
3884
|
+
* @default "about:blank"
|
3868
3885
|
*/
|
3869
3886
|
url: string;
|
3870
3887
|
/**
|
3871
|
-
* @defaultValue <application UUID>
|
3872
|
-
*
|
3873
3888
|
* The `uuid` of the application, unique within the set of all `Application`s running in OpenFin Runtime.
|
3874
3889
|
* If omitted, defaults to the `uuid` of the application spawning the window.
|
3875
3890
|
* If given, must match the `uuid` of the application spawning the window.
|
3876
3891
|
* In other words, the application's `uuid` is the only acceptable value, but is the default, so there's
|
3877
3892
|
* really no need to provide it.
|
3893
|
+
*
|
3894
|
+
* @default <application UUID>
|
3878
3895
|
*/
|
3879
3896
|
uuid: string;
|
3880
3897
|
/**
|
3881
|
-
* @defaultValue false
|
3882
|
-
*
|
3883
3898
|
* When set to `true`, the window will not appear until the `window` object's `load` event fires.
|
3884
3899
|
* When set to `false`, the window will appear immediately without waiting for content to be loaded.
|
3900
|
+
*
|
3901
|
+
* @default false
|
3885
3902
|
*/
|
3886
3903
|
waitForPageLoad: boolean;
|
3887
3904
|
width: number;
|
@@ -4163,13 +4180,13 @@ declare type CopyBlockedEventReason = 'disabled';
|
|
4163
4180
|
*/
|
4164
4181
|
declare type CopyPermissions = {
|
4165
4182
|
/**
|
4166
|
-
* @defaultValue 'allowed'
|
4167
|
-
*
|
4168
4183
|
* Controls the behavior for copy operations for a matched URL.
|
4169
4184
|
*
|
4170
4185
|
* allow: Enables all copy operations.
|
4171
4186
|
* block: Disables all copy operations.
|
4172
4187
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
4188
|
+
*
|
4189
|
+
* @default 'allowed'
|
4173
4190
|
*/
|
4174
4191
|
behavior: 'allow' | 'block' | 'protect';
|
4175
4192
|
/**
|
@@ -4177,9 +4194,9 @@ declare type CopyPermissions = {
|
|
4177
4194
|
*/
|
4178
4195
|
options?: {
|
4179
4196
|
/**
|
4180
|
-
* @defaultValue ''
|
4181
|
-
*
|
4182
4197
|
* When setting behavior = 'protected' , this string will be pasted to other applications that do not have a matching URL instead of the original content.
|
4198
|
+
*
|
4199
|
+
* @default ''
|
4183
4200
|
*/
|
4184
4201
|
replacementText: string;
|
4185
4202
|
};
|
@@ -4193,15 +4210,15 @@ declare type CopyPermissions = {
|
|
4193
4210
|
*/
|
4194
4211
|
declare type CornerRounding = {
|
4195
4212
|
/**
|
4196
|
-
* @defaultValue 0
|
4197
|
-
*
|
4198
4213
|
* The height in pixels.
|
4214
|
+
*
|
4215
|
+
* @default 0
|
4199
4216
|
*/
|
4200
4217
|
height: number;
|
4201
4218
|
/**
|
4202
|
-
* @defaultValue 0
|
4203
|
-
*
|
4204
4219
|
* The width in pixels.
|
4220
|
+
*
|
4221
|
+
* @default 0
|
4205
4222
|
*/
|
4206
4223
|
width: number;
|
4207
4224
|
};
|
@@ -4291,8 +4308,6 @@ declare type CreateLayoutOptions = {
|
|
4291
4308
|
layoutName: string;
|
4292
4309
|
layout: LayoutOptions;
|
4293
4310
|
/**
|
4294
|
-
* @defaultValue 'default'
|
4295
|
-
*
|
4296
4311
|
* Controls the View behavior for the given `layout` property. Note
|
4297
4312
|
* that the selected behavior only applies to unnamed Views or
|
4298
4313
|
* Views with the prefix `internal-generated-`. In all cases, if any
|
@@ -4314,6 +4329,8 @@ declare type CreateLayoutOptions = {
|
|
4314
4329
|
* override. Note that during applyLayoutSnapshot, Views are created and
|
4315
4330
|
* attached to the Provider while the Window is being created, so it's
|
4316
4331
|
* important to not 'duplicate' Views in this workflow.
|
4332
|
+
*
|
4333
|
+
* @default 'default'
|
4317
4334
|
*/
|
4318
4335
|
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
4319
4336
|
};
|
@@ -4572,7 +4589,7 @@ declare type DomainApiSettings = {
|
|
4572
4589
|
* * 'none': The `fin` API will be not available.
|
4573
4590
|
* * 'global': The entire `fin` API will be available.
|
4574
4591
|
*
|
4575
|
-
* @
|
4592
|
+
* @default 'global'
|
4576
4593
|
*/
|
4577
4594
|
fin?: InjectionType;
|
4578
4595
|
/**
|
@@ -5171,9 +5188,9 @@ declare type EventWithId<Event extends AppVersionEvent> = Event extends infer E
|
|
5171
5188
|
*/
|
5172
5189
|
declare type ExcludeOptions = {
|
5173
5190
|
/**
|
5174
|
-
* @defaultValue false
|
5175
|
-
*
|
5176
5191
|
* When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
|
5192
|
+
*
|
5193
|
+
* @default false
|
5177
5194
|
*/
|
5178
5195
|
preloadScripts: boolean;
|
5179
5196
|
};
|
@@ -5673,34 +5690,34 @@ declare interface FinApi<MeType extends OpenFin_2.EntityType> {
|
|
5673
5690
|
*/
|
5674
5691
|
declare type FindInPageOptions = {
|
5675
5692
|
/**
|
5676
|
-
* @defaultValue true
|
5677
|
-
*
|
5678
5693
|
* Searches in the forward direction (backward otherwise)
|
5694
|
+
*
|
5695
|
+
* @default true
|
5679
5696
|
*/
|
5680
5697
|
forward?: boolean;
|
5681
5698
|
/**
|
5682
|
-
* @defaultValue false
|
5683
|
-
*
|
5684
5699
|
* Begins a new text-finding session; should be true for first request only, and false on subsequent requests.
|
5700
|
+
*
|
5701
|
+
* @default false
|
5685
5702
|
*/
|
5686
5703
|
findNext?: boolean;
|
5687
5704
|
/**
|
5688
|
-
* @defaultValue false
|
5689
|
-
*
|
5690
5705
|
* Enables case-sensitive searching.
|
5706
|
+
*
|
5707
|
+
* @default false
|
5691
5708
|
*/
|
5692
5709
|
matchCase?: boolean;
|
5693
5710
|
/**
|
5694
|
-
* @defaultValue false
|
5695
|
-
*
|
5696
5711
|
* Only searches from the start of words.
|
5712
|
+
*
|
5713
|
+
* @default false
|
5697
5714
|
*/
|
5698
5715
|
wordStart?: boolean;
|
5699
5716
|
/**
|
5700
|
-
* @defaultValue false
|
5701
|
-
*
|
5702
5717
|
* 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>
|
5703
5718
|
* lowercase or non-letter. Accepts several other intra-word matches.
|
5719
|
+
*
|
5720
|
+
* @default false
|
5704
5721
|
*/
|
5705
5722
|
medialCapitalAsWordStart?: boolean;
|
5706
5723
|
};
|
@@ -6214,9 +6231,9 @@ declare type Hotkey = {
|
|
6214
6231
|
*/
|
6215
6232
|
keys: string;
|
6216
6233
|
/**
|
6217
|
-
* @defaultValue false
|
6218
|
-
*
|
6219
6234
|
* Prevent default key handling before emitting the event.
|
6235
|
+
*
|
6236
|
+
* @default false
|
6220
6237
|
*/
|
6221
6238
|
preventDefault?: boolean;
|
6222
6239
|
};
|
@@ -8778,77 +8795,79 @@ declare type LayoutOptions = {
|
|
8778
8795
|
*/
|
8779
8796
|
newTabButtonUrl?: string;
|
8780
8797
|
/**
|
8781
|
-
* @defaultValue false
|
8782
|
-
*
|
8783
8798
|
* When true the splitters will not be draggable and the layout will not resize.
|
8799
|
+
*
|
8800
|
+
* @default false
|
8784
8801
|
*/
|
8785
8802
|
preventSplitterResize?: boolean;
|
8786
8803
|
/**
|
8787
|
-
* @defaultValue false
|
8788
|
-
*
|
8789
8804
|
* Whether the popout button will only act on the entire stack,
|
8790
8805
|
* as opposed to only the active tab.
|
8806
|
+
*
|
8807
|
+
* @default false
|
8791
8808
|
*/
|
8792
8809
|
popoutWholeStack?: boolean;
|
8793
8810
|
/**
|
8794
|
-
* @defaultValue false
|
8795
|
-
*
|
8796
8811
|
* Limits the area to which tabs can be dragged.
|
8797
8812
|
* If true, the layout container is the only area where tabs can be dropped.
|
8813
|
+
*
|
8814
|
+
* @default false
|
8798
8815
|
*/
|
8799
8816
|
constrainDragToContainer?: boolean;
|
8800
8817
|
/**
|
8801
|
-
* @defaultValue false
|
8802
|
-
*
|
8803
8818
|
* Whether to show the popout button on stack header.
|
8804
8819
|
* The button will create a new window with current tab as its content.
|
8805
8820
|
* In case `popoutWholeStack` is set to true, all tabs in the stack will be in the new window.
|
8821
|
+
*
|
8822
|
+
* @default false
|
8806
8823
|
*/
|
8807
8824
|
showPopoutIcon?: boolean;
|
8808
8825
|
/**
|
8809
|
-
* @defaultValue false
|
8810
|
-
*
|
8811
8826
|
* Whether to show the maximize button on stack header.
|
8812
8827
|
* The button will maximize the current tab to fill the entire window.
|
8828
|
+
*
|
8829
|
+
* @default false
|
8813
8830
|
*/
|
8814
8831
|
showMaximiseIcon?: boolean;
|
8815
8832
|
/**
|
8816
|
-
* @defaultValue false
|
8817
|
-
*
|
8818
8833
|
* Whether to show the close button on stack header
|
8819
8834
|
* (not to be confused with close button on every tab).
|
8835
|
+
*
|
8836
|
+
* @default false
|
8820
8837
|
*/
|
8821
8838
|
showCloseIcon?: boolean;
|
8822
8839
|
/**
|
8823
|
-
* @defaultValue false
|
8824
|
-
*
|
8825
8840
|
* Limits the area to which tabs can be dragged. If true, stack headers are the only areas where tabs can be dropped.
|
8841
|
+
*
|
8842
|
+
* @default false
|
8826
8843
|
*/
|
8827
8844
|
constrainDragToHeaders?: boolean;
|
8828
8845
|
/**
|
8829
|
-
* @defaultValue true
|
8830
|
-
*
|
8831
8846
|
* Turns tab headers on or off.
|
8832
8847
|
* If false, the layout will be displayed with splitters only.
|
8848
|
+
*
|
8849
|
+
* @default true
|
8833
8850
|
*/
|
8834
8851
|
hasHeaders?: boolean;
|
8835
8852
|
/**
|
8836
|
-
* @defaultValue true
|
8837
|
-
*
|
8838
8853
|
* If true, the user can re-arrange the layout by
|
8839
8854
|
* dragging items by their tabs to the desired location.
|
8855
|
+
*
|
8856
|
+
* @default true
|
8840
8857
|
*/
|
8841
8858
|
reorderEnabled?: boolean;
|
8842
8859
|
/**
|
8843
|
-
* @defaultValue false
|
8844
|
-
*
|
8845
8860
|
* If true, tabs can't be dragged out of the window.
|
8861
|
+
*
|
8862
|
+
* @default false
|
8846
8863
|
*/
|
8847
8864
|
preventDragOut?: boolean;
|
8848
8865
|
/**
|
8849
|
-
* @defaultValue
|
8866
|
+
* @defaultValue=false
|
8850
8867
|
*
|
8851
8868
|
* If true, tabs can't be dragged into the window.
|
8869
|
+
*
|
8870
|
+
* @default false
|
8852
8871
|
*/
|
8853
8872
|
preventDragIn?: boolean;
|
8854
8873
|
/**
|
@@ -9369,10 +9388,10 @@ declare type MutableViewOptions = {
|
|
9369
9388
|
/**
|
9370
9389
|
* @deprecated Superseded by {@link contextMenuOptions}, which offers a larger feature-set and cleaner syntax.
|
9371
9390
|
*
|
9372
|
-
* @defaultValue true
|
9373
|
-
*
|
9374
9391
|
* Show the context menu when right-clicking on the view.
|
9375
9392
|
* Gives access to the devtools for the view.
|
9393
|
+
*
|
9394
|
+
* @default true
|
9376
9395
|
*/
|
9377
9396
|
contextMenu: boolean;
|
9378
9397
|
/**
|
@@ -9419,24 +9438,25 @@ declare type MutableViewOptions = {
|
|
9419
9438
|
contentNavigation: ContentNavigation;
|
9420
9439
|
contentRedirect: ContentRedirect;
|
9421
9440
|
/**
|
9422
|
-
* @defaultValue false
|
9423
9441
|
* @deprecated
|
9424
9442
|
* **Platforms Only.** If true, will hide and detach the View from the window for later use instead of closing,
|
9425
9443
|
* allowing the state of the View to be saved and the View to be immediately shown in a new Layout.
|
9444
|
+
*
|
9445
|
+
* @default false
|
9426
9446
|
*/
|
9427
9447
|
detachOnClose: boolean;
|
9428
9448
|
/**
|
9429
|
-
* @defaultValue true
|
9430
|
-
*
|
9431
9449
|
* **Platforms Only.** If false, the view will be persistent and can't be closed through
|
9432
9450
|
* either UI or `Platform.closeView`. Note that the view will still be closed if the host window is closed or
|
9433
9451
|
* if the view isn't part of the new layout when running `Layout.replace`.
|
9452
|
+
*
|
9453
|
+
* @default true
|
9434
9454
|
*/
|
9435
9455
|
isClosable: boolean;
|
9436
9456
|
/**
|
9437
|
-
* @defaultValue false
|
9438
|
-
*
|
9439
9457
|
* **Platforms Only.** If true, the tab of the view can't be dragged out of its host window.
|
9458
|
+
*
|
9459
|
+
* @default false
|
9440
9460
|
*/
|
9441
9461
|
preventDragOut: boolean;
|
9442
9462
|
interop?: InteropConfig;
|
@@ -9448,7 +9468,7 @@ declare type MutableViewOptions = {
|
|
9448
9468
|
/**
|
9449
9469
|
* {@inheritDoc ViewThrottling}
|
9450
9470
|
*
|
9451
|
-
* @
|
9471
|
+
* @default 'enabled'
|
9452
9472
|
*/
|
9453
9473
|
throttling: ViewThrottling;
|
9454
9474
|
/**
|
@@ -9467,7 +9487,7 @@ declare type MutableWindowOptions = {
|
|
9467
9487
|
* Turns anything of matching RGB value transparent.
|
9468
9488
|
*
|
9469
9489
|
* Caveats:
|
9470
|
-
* *
|
9490
|
+
* * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
|
9471
9491
|
* * User cannot click-through transparent regions
|
9472
9492
|
* * Not supported on Mac
|
9473
9493
|
* * Windows Aero must be enabled
|
@@ -9476,25 +9496,25 @@ declare type MutableWindowOptions = {
|
|
9476
9496
|
*/
|
9477
9497
|
alphaMask: RGB;
|
9478
9498
|
/**
|
9479
|
-
* @defaultValue false
|
9480
|
-
*
|
9481
9499
|
* Always position the window at the top of the window stack.
|
9500
|
+
*
|
9501
|
+
* @default false
|
9482
9502
|
*/
|
9483
9503
|
alwaysOnTop: boolean;
|
9484
9504
|
/**
|
9485
|
-
* @defaultValue 0
|
9486
|
-
*
|
9487
9505
|
* The aspect ratio of width to height to enforce for the window. If this value is equal to or less than zero,
|
9488
9506
|
* an aspect ratio will not be enforced.
|
9507
|
+
*
|
9508
|
+
* @default 0
|
9489
9509
|
*/
|
9490
9510
|
aspectRatio: number;
|
9491
9511
|
/**
|
9492
9512
|
* @deprecated Superseded by {@link contextMenuOptions}, which offers a larger feature-set and cleaner syntax.
|
9493
9513
|
*
|
9494
|
-
* @defaultValue true
|
9495
|
-
*
|
9496
9514
|
* Show the context menu when right-clicking on the window.
|
9497
9515
|
* Gives access to the devtools for the window.
|
9516
|
+
*
|
9517
|
+
* @default true
|
9498
9518
|
*/
|
9499
9519
|
contextMenu: boolean;
|
9500
9520
|
/**
|
@@ -9561,16 +9581,17 @@ declare type MutableWindowOptions = {
|
|
9561
9581
|
*/
|
9562
9582
|
customData: any;
|
9563
9583
|
/**
|
9564
|
-
* @defaultValue true
|
9565
9584
|
* @deprecated Will be removed in runtime version 45
|
9566
9585
|
*
|
9567
9586
|
* Show the window's frame.
|
9587
|
+
*
|
9588
|
+
* @default true
|
9568
9589
|
*/
|
9569
9590
|
frame: boolean;
|
9570
9591
|
/**
|
9571
|
-
* @defaultValue false
|
9572
|
-
*
|
9573
9592
|
* Hides the window instead of closing it when the close button is pressed.
|
9593
|
+
*
|
9594
|
+
* @default false
|
9574
9595
|
*/
|
9575
9596
|
hideOnClose: boolean;
|
9576
9597
|
/**
|
@@ -9623,60 +9644,61 @@ declare type MutableWindowOptions = {
|
|
9623
9644
|
*/
|
9624
9645
|
icon: string;
|
9625
9646
|
/**
|
9626
|
-
* @defaultValue true
|
9627
|
-
*
|
9628
9647
|
* Include window in snapshots returned by Platform.getSnapshot(). Turning this off may be desirable when dealing with
|
9629
9648
|
* inherently temporary windows whose state shouldn't be preserved, such as modals, menus, or popups.
|
9649
|
+
*
|
9650
|
+
* @default true
|
9630
9651
|
*/
|
9631
9652
|
includeInSnapshots: boolean;
|
9632
9653
|
/**
|
9633
|
-
* @defaultValue -1
|
9634
|
-
*
|
9635
9654
|
* The maximum height of a window. Will default to the OS defined value if set to -1.
|
9655
|
+
*
|
9656
|
+
* @default -1
|
9636
9657
|
*/
|
9637
9658
|
maxHeight: number;
|
9638
9659
|
/**
|
9639
|
-
* @defaultValue true
|
9640
|
-
*
|
9641
9660
|
* Allows the window to be maximized.
|
9661
|
+
*
|
9662
|
+
* @default true
|
9642
9663
|
*/
|
9643
9664
|
maximizable: boolean;
|
9644
9665
|
/**
|
9645
|
-
* @defaultValue -1
|
9646
|
-
*
|
9647
9666
|
* The maximum width of a window. Will default to the OS defined value if set to -1.
|
9667
|
+
*
|
9668
|
+
* @default -1
|
9648
9669
|
*/
|
9649
9670
|
maxWidth: number;
|
9650
9671
|
/**
|
9651
|
-
* @defaultValue 0
|
9652
|
-
*
|
9653
9672
|
* The minimum height of the window.
|
9673
|
+
*
|
9674
|
+
* @default 0
|
9654
9675
|
*/
|
9655
9676
|
minHeight: number;
|
9656
9677
|
/**
|
9657
|
-
* @defaultValue true
|
9658
|
-
*
|
9659
9678
|
* Allows the window to be minimized.
|
9679
|
+
*
|
9680
|
+
* @default true
|
9660
9681
|
*/
|
9661
9682
|
minimizable: boolean;
|
9662
9683
|
/**
|
9663
|
-
* @defaultValue true
|
9664
|
-
*
|
9665
9684
|
* The minimum width of the window.
|
9685
|
+
*
|
9686
|
+
* @default true
|
9666
9687
|
*/
|
9667
9688
|
minWidth: number;
|
9668
9689
|
/**
|
9669
|
-
* @defaultValue 1
|
9670
|
-
*
|
9671
9690
|
* A flag that specifies how transparent the window will be.
|
9672
9691
|
* Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
|
9673
9692
|
* This value is clamped between `0.0` and `1.0`.
|
9693
|
+
* In software composition mode, the runtime flag --allow-unsafe-compositing is required.
|
9694
|
+
*
|
9695
|
+
* @default 1
|
9674
9696
|
*/
|
9675
9697
|
opacity: number;
|
9676
9698
|
/**
|
9677
|
-
* @defaultValue true
|
9678
|
-
*
|
9679
9699
|
* A flag to allow the user to resize the window.
|
9700
|
+
*
|
9701
|
+
* @default true
|
9680
9702
|
*/
|
9681
9703
|
resizable: boolean;
|
9682
9704
|
/**
|
@@ -9684,16 +9706,16 @@ declare type MutableWindowOptions = {
|
|
9684
9706
|
*/
|
9685
9707
|
resizeRegion: ResizeRegion;
|
9686
9708
|
/**
|
9687
|
-
* @defaultValue false
|
9688
|
-
*
|
9689
9709
|
* **Platforms Only.** If true, will show background images in the layout when the Views are hidden.
|
9690
9710
|
* This occurs when the window is resizing or a tab is being dragged within the layout.
|
9711
|
+
*
|
9712
|
+
* @default false
|
9691
9713
|
*/
|
9692
9714
|
showBackgroundImages: boolean;
|
9693
9715
|
/**
|
9694
|
-
* @defaultValue true
|
9695
|
-
*
|
9696
9716
|
* Shows the window's icon in the taskbar.
|
9717
|
+
*
|
9718
|
+
* @default true
|
9697
9719
|
*/
|
9698
9720
|
showTaskbarIcon: boolean;
|
9699
9721
|
/**
|
@@ -9720,7 +9742,7 @@ declare type MutableWindowOptions = {
|
|
9720
9742
|
/**
|
9721
9743
|
* {@inheritDoc WindowThrottling}
|
9722
9744
|
*
|
9723
|
-
* @
|
9745
|
+
* @default 'enabled'
|
9724
9746
|
*
|
9725
9747
|
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
9726
9748
|
*/
|
@@ -10376,12 +10398,12 @@ declare type PasteBlockedEventReason = 'invalid-data' | 'disabled';
|
|
10376
10398
|
*/
|
10377
10399
|
declare type PastePermissions = {
|
10378
10400
|
/**
|
10379
|
-
* @defaultValue 'non-protected-content'
|
10380
|
-
*
|
10381
10401
|
* Controls the behavior for paste operations for a matched URL.
|
10382
10402
|
*
|
10383
10403
|
* non-protected-content: All matching URLs will be able to paste content copied from non-protected URLs.
|
10384
10404
|
* 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.
|
10405
|
+
*
|
10406
|
+
* @default 'non-protected-content'
|
10385
10407
|
*/
|
10386
10408
|
behavior: 'non-protected-content' | 'all-content';
|
10387
10409
|
};
|
@@ -11451,11 +11473,11 @@ declare type PlatformOptions = ApplicationCreationOptions & {
|
|
11451
11473
|
*/
|
11452
11474
|
providerUrl?: string;
|
11453
11475
|
/**
|
11454
|
-
* @defaultValue true
|
11455
|
-
*
|
11456
11476
|
* Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
|
11457
11477
|
*
|
11458
11478
|
* NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
|
11479
|
+
*
|
11480
|
+
* @default true
|
11459
11481
|
*/
|
11460
11482
|
allowLaunchIntoPlatform?: boolean;
|
11461
11483
|
};
|
@@ -12148,22 +12170,22 @@ declare type PopupOptions = {
|
|
12148
12170
|
url?: string;
|
12149
12171
|
/**
|
12150
12172
|
* Height of the popup window in pixels (takes priority over `intialOptions` size properties).
|
12151
|
-
* @
|
12173
|
+
* @default 300
|
12152
12174
|
*/
|
12153
12175
|
height?: number;
|
12154
12176
|
/**
|
12155
12177
|
* Width of the popup window in pixels (takes priority over `intialOptions` size properties).
|
12156
|
-
* @
|
12178
|
+
* @default 300
|
12157
12179
|
*/
|
12158
12180
|
width?: number;
|
12159
12181
|
/**
|
12160
12182
|
* Left position in pixels where the popup window will be shown (relative to the window calling `showPopupWindow`).
|
12161
|
-
* @
|
12183
|
+
* @default 0
|
12162
12184
|
*/
|
12163
12185
|
x?: number;
|
12164
12186
|
/**
|
12165
12187
|
* Top position in pixels where the popup window will be shown (relative to the window calling `showPopupWindow`).
|
12166
|
-
* @
|
12188
|
+
* @default 0
|
12167
12189
|
*/
|
12168
12190
|
y?: number;
|
12169
12191
|
/**
|
@@ -12171,7 +12193,7 @@ declare type PopupOptions = {
|
|
12171
12193
|
* * 'modal' restricts resizing and positioning in the caller.
|
12172
12194
|
* * 'hide' hides the popup window on blur.
|
12173
12195
|
* * 'close' closes the popup window on blur.
|
12174
|
-
* @
|
12196
|
+
* @default 'close'
|
12175
12197
|
*/
|
12176
12198
|
blurBehavior?: PopupBlurBehavior;
|
12177
12199
|
/**
|
@@ -12179,19 +12201,19 @@ declare type PopupOptions = {
|
|
12179
12201
|
* * 'none' will do nothing.
|
12180
12202
|
* * 'hide' hides the popup window on `dispatchPopupResult`.
|
12181
12203
|
* * 'close' closes the popup window on `dispatchPopupResult`.
|
12182
|
-
* @
|
12204
|
+
* @default 'close'
|
12183
12205
|
*/
|
12184
12206
|
resultDispatchBehavior?: PopupResultBehavior;
|
12185
12207
|
/**
|
12186
12208
|
* Hide the popup window instead of closing when `close` is called on it.
|
12187
12209
|
*
|
12188
12210
|
* Note: if this is `true` and `blurBehavior` and/or `resultDispatchBehavior` are set to `close`, the window will be hidden.
|
12189
|
-
* @
|
12211
|
+
* @default false
|
12190
12212
|
*/
|
12191
12213
|
hideOnClose?: boolean;
|
12192
12214
|
/**
|
12193
12215
|
* Determines if the popup window should or should not be focused when it is shown.
|
12194
|
-
* @
|
12216
|
+
* @default true
|
12195
12217
|
*/
|
12196
12218
|
focus?: boolean;
|
12197
12219
|
/**
|
@@ -12285,9 +12307,9 @@ declare type PrebuiltContextMenuItem = 'separator' | 'undo' | 'redo' | 'cut' | '
|
|
12285
12307
|
*/
|
12286
12308
|
declare type PreloadScript = {
|
12287
12309
|
/**
|
12288
|
-
* @defaultValue false
|
12289
|
-
*
|
12290
12310
|
* Fail to load the window if this preload script fails
|
12311
|
+
*
|
12312
|
+
* @default false
|
12291
12313
|
*/
|
12292
12314
|
mandatory?: boolean;
|
12293
12315
|
/**
|
@@ -12379,15 +12401,15 @@ declare type PrinterInfo = {
|
|
12379
12401
|
declare type PrintOptions = {
|
12380
12402
|
content?: 'self';
|
12381
12403
|
/**
|
12382
|
-
* @defaultValue false
|
12383
|
-
*
|
12384
12404
|
* Disables prompting the user for print settings.
|
12405
|
+
*
|
12406
|
+
* @default false
|
12385
12407
|
*/
|
12386
12408
|
silent?: boolean;
|
12387
12409
|
/**
|
12388
|
-
* @defaultValue false
|
12389
|
-
*
|
12390
12410
|
* Includes the webpage background color and image when printing.
|
12411
|
+
*
|
12412
|
+
* @default false
|
12391
12413
|
*/
|
12392
12414
|
printBackground?: boolean;
|
12393
12415
|
/**
|
@@ -12395,9 +12417,9 @@ declare type PrintOptions = {
|
|
12395
12417
|
*/
|
12396
12418
|
deviceName?: string;
|
12397
12419
|
/**
|
12398
|
-
* @defaultValue true
|
12399
|
-
*
|
12400
12420
|
* Prints in full color (greyscale otherwise).
|
12421
|
+
*
|
12422
|
+
* @default true
|
12401
12423
|
*/
|
12402
12424
|
color?: boolean;
|
12403
12425
|
/**
|
@@ -12405,9 +12427,9 @@ declare type PrintOptions = {
|
|
12405
12427
|
*/
|
12406
12428
|
margins?: Margins;
|
12407
12429
|
/**
|
12408
|
-
* @defaultValue true
|
12409
|
-
*
|
12410
12430
|
* Prints in landscape mode (portrait otherwise).
|
12431
|
+
*
|
12432
|
+
* @default true
|
12411
12433
|
*/
|
12412
12434
|
landscape?: boolean;
|
12413
12435
|
/**
|
@@ -13783,15 +13805,15 @@ declare type ReplaceViewPayload = {
|
|
13783
13805
|
*/
|
13784
13806
|
declare type ResizeRegion = {
|
13785
13807
|
/**
|
13786
|
-
* @defaultValue 7
|
13787
|
-
*
|
13788
13808
|
* The size of the resize region in pixels.
|
13809
|
+
*
|
13810
|
+
* @default 7
|
13789
13811
|
*/
|
13790
13812
|
size?: number;
|
13791
13813
|
/**
|
13792
|
-
* @defaultValue 9
|
13793
|
-
*
|
13794
13814
|
* The size in pixels of an additional square resizable region located at the bottom right corner of a frameless window.
|
13815
|
+
*
|
13816
|
+
* @default 9
|
13795
13817
|
*/
|
13796
13818
|
bottomRightCorner?: number;
|
13797
13819
|
/**
|
@@ -13799,27 +13821,27 @@ declare type ResizeRegion = {
|
|
13799
13821
|
*/
|
13800
13822
|
sides?: {
|
13801
13823
|
/**
|
13802
|
-
* @defaultValue true
|
13803
|
-
*
|
13804
13824
|
* Enables resizing from the top of the window.
|
13825
|
+
*
|
13826
|
+
* @default true
|
13805
13827
|
*/
|
13806
13828
|
top?: boolean;
|
13807
13829
|
/**
|
13808
|
-
* @defaultValue true
|
13809
|
-
*
|
13810
13830
|
* Enables resizing from the bottom of the window.
|
13831
|
+
*
|
13832
|
+
* @default true
|
13811
13833
|
*/
|
13812
13834
|
bottom?: boolean;
|
13813
13835
|
/**
|
13814
|
-
* @defaultValue true
|
13815
|
-
*
|
13816
13836
|
* Enables resizing from the left side of the window.
|
13837
|
+
*
|
13838
|
+
* @default true
|
13817
13839
|
*/
|
13818
13840
|
left?: boolean;
|
13819
13841
|
/**
|
13820
|
-
* @defaultValue true
|
13821
|
-
*
|
13822
13842
|
* Enables resizing from the right side of the window.
|
13843
|
+
*
|
13844
|
+
* @default true
|
13823
13845
|
*/
|
13824
13846
|
right?: boolean;
|
13825
13847
|
};
|
@@ -14373,9 +14395,9 @@ declare type ShowTrayIconPopupMenuOptions<Data extends unknown = unknown> = {
|
|
14373
14395
|
*/
|
14374
14396
|
declare type ShowViewOnWindowResizeOptions = ViewVisibilityOption & {
|
14375
14397
|
/**
|
14376
|
-
* @defaultValue 0
|
14377
|
-
*
|
14378
14398
|
* Number of milliseconds to wait between view repaints.
|
14399
|
+
*
|
14400
|
+
* @default 0
|
14379
14401
|
*/
|
14380
14402
|
paintIntervalMs?: number;
|
14381
14403
|
};
|
@@ -16440,9 +16462,9 @@ declare type TransitionBase = {
|
|
16440
16462
|
*/
|
16441
16463
|
duration: number;
|
16442
16464
|
/**
|
16443
|
-
* @defaultValue false
|
16444
|
-
*
|
16445
16465
|
* Treats 'opacity' as absolute or as a delta. Defaults to false.
|
16466
|
+
*
|
16467
|
+
* @default false
|
16446
16468
|
*/
|
16447
16469
|
relative?: boolean;
|
16448
16470
|
};
|
@@ -16458,9 +16480,9 @@ declare type TransitionOptions = {
|
|
16458
16480
|
*/
|
16459
16481
|
interrupt: boolean;
|
16460
16482
|
/**
|
16461
|
-
* @defaultValue false
|
16462
|
-
*
|
16463
16483
|
* Treats 'opacity' as absolute or as a delta. Defaults to false.
|
16484
|
+
*
|
16485
|
+
* @default false
|
16464
16486
|
*/
|
16465
16487
|
relative?: boolean;
|
16466
16488
|
tween?: tween;
|
@@ -17425,9 +17447,9 @@ declare type ViewTitlePriority = 'document' | 'options';
|
|
17425
17447
|
*/
|
17426
17448
|
declare type ViewVisibilityOption = {
|
17427
17449
|
/**
|
17428
|
-
* @defaultValue false
|
17429
|
-
*
|
17430
17450
|
* Enables or disables showing views when the layout splitter or a tab is being dragged or a Platform Window is being resized.
|
17451
|
+
*
|
17452
|
+
* @default false
|
17431
17453
|
*/
|
17432
17454
|
enabled?: boolean;
|
17433
17455
|
};
|