@openfin/fdc3-api 41.102.4 → 41.102.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.d.ts CHANGED
@@ -130,13 +130,13 @@ declare type ApiSettings = {
130
130
  /**
131
131
  * Inject OpenFin API into cross-origin iframes
132
132
  *
133
- * @defaultValue false
133
+ * @default false
134
134
  */
135
135
  crossOriginInjection?: boolean;
136
136
  /**
137
137
  * Inject OpenFin API into same-origin iframes
138
138
  *
139
- * @defaultValue true
139
+ * @default true
140
140
  */
141
141
  sameOriginInjection?: boolean;
142
142
  /**
@@ -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
  };
@@ -2095,15 +2095,15 @@ declare type CapturePageOptions = {
2095
2095
  */
2096
2096
  area?: Rectangle;
2097
2097
  /**
2098
- * @defaultValue 'png'
2099
- *
2100
2098
  * The format of the captured image. Can be 'png', 'jpg', or 'bmp'.
2099
+ *
2100
+ * @default 'png'
2101
2101
  */
2102
2102
  format?: 'bmp' | 'jpg' | 'png';
2103
2103
  /**
2104
- * @defaultValue 100
2105
- *
2106
2104
  * Quality of JPEG image. Between 0 - 100.
2105
+ *
2106
+ * @default 100
2107
2107
  */
2108
2108
  quality?: number;
2109
2109
  };
@@ -2757,9 +2757,9 @@ declare type ChannelClientDisconnectionListener = (identity: ClientIdentity) =>
2757
2757
  */
2758
2758
  declare type ChannelConnectOptions = ChannelCreateOptions & {
2759
2759
  /**
2760
- * @defaultValue true
2761
- *
2762
2760
  * If true will wait for ChannelProvider to connect. If false will fail if ChannelProvider is not found.
2761
+ *
2762
+ * @default true
2763
2763
  */
2764
2764
  wait?: boolean;
2765
2765
  /**
@@ -3421,9 +3421,9 @@ declare interface CloseWindowPayload {
3421
3421
  windowId: Identity_4;
3422
3422
  options: {
3423
3423
  /**
3424
- * @defaultValue false
3425
- *
3426
3424
  * When set to true skips any before handler set on views that are part of the window
3425
+ *
3426
+ * @default false
3427
3427
  */
3428
3428
  skipBeforeUnload?: boolean;
3429
3429
  };
@@ -3531,9 +3531,9 @@ declare type ConstViewOptions = {
3531
3531
  */
3532
3532
  name: string;
3533
3533
  /**
3534
- * @defaultValue "about:blank"
3535
- *
3536
3534
  * The URL of the window
3535
+ *
3536
+ * @default "about:blank"
3537
3537
  */
3538
3538
  url: string;
3539
3539
  /**
@@ -3558,6 +3558,15 @@ declare type ConstViewOptions = {
3558
3558
  * Custom headers for requests sent by the view.
3559
3559
  */
3560
3560
  customRequestHeaders: CustomRequestHeaders[];
3561
+ /**
3562
+ * @experimental
3563
+ *
3564
+ * When set to true, will prevent setting the `-webkit-app-region` and `app-region` css properties on the view.
3565
+ * These css properties are used to enable dragging of a frameless window.
3566
+ *
3567
+ * @default false
3568
+ */
3569
+ disableAppRegion: boolean;
3561
3570
  /**
3562
3571
  * Initial bounds given relative to the window.
3563
3572
  */
@@ -3594,9 +3603,9 @@ declare type ConstViewOptions = {
3594
3603
  experimental: any;
3595
3604
  fdc3InteropApi?: string;
3596
3605
  /**
3597
- * @defaultValue false
3598
- *
3599
3606
  * When set to `true`, any `beforeunload` handler set on Views will fire.
3607
+ *
3608
+ * @default false
3600
3609
  */
3601
3610
  enableBeforeUnload: boolean;
3602
3611
  /**
@@ -3677,13 +3686,12 @@ declare type ConstWindowOptions = {
3677
3686
  */
3678
3687
  backgroundColor: string;
3679
3688
  /**
3680
- * @defaultValue false
3681
- *
3682
3689
  * Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
3683
3690
  * This also affects the Page Visibility API.
3684
3691
  *
3685
3692
  * When `true`, the page is throttled whether it is hidden or not.
3686
3693
  *
3694
+ * @default false
3687
3695
  */
3688
3696
  backgroundThrottling: boolean;
3689
3697
  /**
@@ -3707,21 +3715,30 @@ declare type ConstWindowOptions = {
3707
3715
  */
3708
3716
  customRequestHeaders: CustomRequestHeaders[];
3709
3717
  /**
3710
- * @defaultValue true
3711
- *
3712
3718
  * Setting this to false would keep the Window alive even if all its Views were closed.
3713
3719
  * This is meant for advanced users and should be used with caution.
3714
3720
  * Limitations - Once a Layout has been emptied out of all views it's not usable anymore, and certain API calls will fail.
3715
3721
  * Use `layout.replace` to create a fresh Layout instance in case you want to populate it with Views again.
3716
3722
  * **NOTE:** - This option is ignored in non-Platforms apps.
3723
+ *
3724
+ * @default true
3717
3725
  */
3718
3726
  closeOnLastViewRemoved: boolean;
3719
3727
  /**
3720
- * @defaultValue 'all'
3728
+ * @experimental
3721
3729
  *
3730
+ * When set to true, will prevent setting the `-webkit-app-region` and `app-region` css properties on the window.
3731
+ * These css properties are used to enable dragging of a frameless window.
3732
+ *
3733
+ * @default false
3734
+ */
3735
+ disableAppRegion: boolean;
3736
+ /**
3722
3737
  * When `closeOnLastViewRemoved` is set to true, determines which views prevent closing the window.
3723
- + * Defaults to `all`. You may want to switch this to `layout` if using View closeBehavior: 'hide'.
3738
+ * Defaults to `all`. You may want to switch this to `layout` if using View closeBehavior: 'hide'.
3724
3739
  * **NOTE:** - This option is ignored in non-Platforms apps.
3740
+ *
3741
+ * @default 'all'
3725
3742
  */
3726
3743
  viewsPreventingClose: 'all' | 'layout';
3727
3744
  /**
@@ -3732,31 +3749,31 @@ declare type ConstWindowOptions = {
3732
3749
  */
3733
3750
  defaultCentered: boolean;
3734
3751
  /**
3735
- * @defaultValue 500
3736
- *
3737
3752
  * The default height of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent launches
3738
3753
  * in favor of the cached value.
3754
+ *
3755
+ * @default 500
3739
3756
  */
3740
3757
  defaultHeight: number;
3741
3758
  /**
3742
- * @defaultValue 100
3743
- *
3744
3759
  * The default left position of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
3745
3760
  * launches in favor of the cached value.
3761
+ *
3762
+ * @default 100
3746
3763
  */
3747
3764
  defaultLeft: number;
3748
3765
  /**
3749
- * @defaultValue 100
3750
- *
3751
3766
  * The default top position of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
3752
3767
  * launches in favor of the cached value.
3768
+ *
3769
+ * @default 100
3753
3770
  */
3754
3771
  defaultTop: number;
3755
3772
  /**
3756
- * @defaultValue 800
3757
- *
3758
3773
  * The default width of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
3759
3774
  * launches in favor of the cached value.
3775
+ *
3776
+ * @default 800
3760
3777
  */
3761
3778
  defaultWidth: number;
3762
3779
  /**
@@ -3802,19 +3819,19 @@ declare type ConstWindowOptions = {
3802
3819
  */
3803
3820
  processAffinity: string;
3804
3821
  /**
3805
- * @defaultValue false
3806
- *
3807
3822
  * Displays a shadow on frameless windows.
3808
3823
  * `shadow` and `cornerRounding` are mutually exclusive.
3809
3824
  * On Windows 7, Aero theme is required.
3825
+ *
3826
+ * @default false
3810
3827
  */
3811
3828
  shadow: boolean;
3812
3829
  /**
3813
- * @defaultValue true
3814
- *
3815
3830
  * Caches the location of the window.
3816
3831
  *
3817
3832
  * Note: this option is ignored in Platforms as it would cause inconsistent {@link Platform#applySnapshot applySnapshot} behavior.
3833
+ *
3834
+ * @default true
3818
3835
  */
3819
3836
  saveWindowState: boolean;
3820
3837
  /**
@@ -3823,22 +3840,22 @@ declare type ConstWindowOptions = {
3823
3840
  */
3824
3841
  ignoreSavedWindowState: boolean;
3825
3842
  /**
3826
- * @defaultValue false
3827
- *
3828
3843
  * Makes this window a frameless window that can be created and resized to less than 41x36 px (width x height).
3829
3844
  *
3830
3845
  * Note: Caveats of small windows are no Aero Snap and drag to/from maximize.
3831
3846
  * _Windows 10: Requires `maximizable` to be false. Resizing with the mouse is only possible down to 38x39 px._
3847
+ *
3848
+ * @default false
3832
3849
  */
3833
3850
  smallWindow: boolean;
3834
3851
  /**
3835
- * @defaultValue "normal"
3836
- *
3837
3852
  * The visible state of the window on creation.
3838
3853
  * One of:
3839
3854
  * * `"maximized"`
3840
3855
  * * `"minimized"`
3841
3856
  * * `"normal"`
3857
+ *
3858
+ * @default "normal"
3842
3859
  */
3843
3860
  state: WindowState;
3844
3861
  /**
@@ -3853,26 +3870,26 @@ declare type ConstWindowOptions = {
3853
3870
  */
3854
3871
  taskbarIconGroup: string;
3855
3872
  /**
3856
- * @defaultValue "about:blank"
3857
- *
3858
3873
  * The URL of the window
3874
+ *
3875
+ * @default "about:blank"
3859
3876
  */
3860
3877
  url: string;
3861
3878
  /**
3862
- * @defaultValue <application UUID>
3863
- *
3864
3879
  * The `uuid` of the application, unique within the set of all `Application`s running in OpenFin Runtime.
3865
3880
  * If omitted, defaults to the `uuid` of the application spawning the window.
3866
3881
  * If given, must match the `uuid` of the application spawning the window.
3867
3882
  * In other words, the application's `uuid` is the only acceptable value, but is the default, so there's
3868
3883
  * really no need to provide it.
3884
+ *
3885
+ * @default <application UUID>
3869
3886
  */
3870
3887
  uuid: string;
3871
3888
  /**
3872
- * @defaultValue false
3873
- *
3874
3889
  * When set to `true`, the window will not appear until the `window` object's `load` event fires.
3875
3890
  * When set to `false`, the window will appear immediately without waiting for content to be loaded.
3891
+ *
3892
+ * @default false
3876
3893
  */
3877
3894
  waitForPageLoad: boolean;
3878
3895
  width: number;
@@ -4154,13 +4171,13 @@ declare type CopyBlockedEventReason = 'disabled';
4154
4171
  */
4155
4172
  declare type CopyPermissions = {
4156
4173
  /**
4157
- * @defaultValue 'allowed'
4158
- *
4159
4174
  * Controls the behavior for copy operations for a matched URL.
4160
4175
  *
4161
4176
  * allow: Enables all copy operations.
4162
4177
  * block: Disables all copy operations.
4163
4178
  * protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
4179
+ *
4180
+ * @default 'allowed'
4164
4181
  */
4165
4182
  behavior: 'allow' | 'block' | 'protect';
4166
4183
  /**
@@ -4168,9 +4185,9 @@ declare type CopyPermissions = {
4168
4185
  */
4169
4186
  options?: {
4170
4187
  /**
4171
- * @defaultValue ''
4172
- *
4173
4188
  * When setting behavior = 'protected' , this string will be pasted to other applications that do not have a matching URL instead of the original content.
4189
+ *
4190
+ * @default ''
4174
4191
  */
4175
4192
  replacementText: string;
4176
4193
  };
@@ -4184,15 +4201,15 @@ declare type CopyPermissions = {
4184
4201
  */
4185
4202
  declare type CornerRounding = {
4186
4203
  /**
4187
- * @defaultValue 0
4188
- *
4189
4204
  * The height in pixels.
4205
+ *
4206
+ * @default 0
4190
4207
  */
4191
4208
  height: number;
4192
4209
  /**
4193
- * @defaultValue 0
4194
- *
4195
4210
  * The width in pixels.
4211
+ *
4212
+ * @default 0
4196
4213
  */
4197
4214
  width: number;
4198
4215
  };
@@ -4282,8 +4299,6 @@ declare type CreateLayoutOptions = {
4282
4299
  layoutName: string;
4283
4300
  layout: LayoutOptions;
4284
4301
  /**
4285
- * @defaultValue 'default'
4286
- *
4287
4302
  * Controls the View behavior for the given `layout` property. Note
4288
4303
  * that the selected behavior only applies to unnamed Views or
4289
4304
  * Views with the prefix `internal-generated-`. In all cases, if any
@@ -4305,6 +4320,8 @@ declare type CreateLayoutOptions = {
4305
4320
  * override. Note that during applyLayoutSnapshot, Views are created and
4306
4321
  * attached to the Provider while the Window is being created, so it's
4307
4322
  * important to not 'duplicate' Views in this workflow.
4323
+ *
4324
+ * @default 'default'
4308
4325
  */
4309
4326
  multiInstanceViewBehavior?: MultiInstanceViewBehavior;
4310
4327
  };
@@ -4563,7 +4580,7 @@ declare type DomainApiSettings = {
4563
4580
  * * 'none': The `fin` API will be not available.
4564
4581
  * * 'global': The entire `fin` API will be available.
4565
4582
  *
4566
- * @defaultValue 'global'
4583
+ * @default 'global'
4567
4584
  */
4568
4585
  fin?: InjectionType;
4569
4586
  /**
@@ -5162,9 +5179,9 @@ declare type EventWithId<Event extends AppVersionEvent> = Event extends infer E
5162
5179
  */
5163
5180
  declare type ExcludeOptions = {
5164
5181
  /**
5165
- * @defaultValue false
5166
- *
5167
5182
  * When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
5183
+ *
5184
+ * @default false
5168
5185
  */
5169
5186
  preloadScripts: boolean;
5170
5187
  };
@@ -5995,34 +6012,34 @@ declare interface FinApi<MeType extends OpenFin.EntityType> {
5995
6012
  */
5996
6013
  declare type FindInPageOptions = {
5997
6014
  /**
5998
- * @defaultValue true
5999
- *
6000
6015
  * Searches in the forward direction (backward otherwise)
6016
+ *
6017
+ * @default true
6001
6018
  */
6002
6019
  forward?: boolean;
6003
6020
  /**
6004
- * @defaultValue false
6005
- *
6006
6021
  * Begins a new text-finding session; should be true for first request only, and false on subsequent requests.
6022
+ *
6023
+ * @default false
6007
6024
  */
6008
6025
  findNext?: boolean;
6009
6026
  /**
6010
- * @defaultValue false
6011
- *
6012
6027
  * Enables case-sensitive searching.
6028
+ *
6029
+ * @default false
6013
6030
  */
6014
6031
  matchCase?: boolean;
6015
6032
  /**
6016
- * @defaultValue false
6017
- *
6018
6033
  * Only searches from the start of words.
6034
+ *
6035
+ * @default false
6019
6036
  */
6020
6037
  wordStart?: boolean;
6021
6038
  /**
6022
- * @defaultValue false
6023
- *
6024
6039
  * 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>
6025
6040
  * lowercase or non-letter. Accepts several other intra-word matches.
6041
+ *
6042
+ * @default false
6026
6043
  */
6027
6044
  medialCapitalAsWordStart?: boolean;
6028
6045
  };
@@ -6536,9 +6553,9 @@ declare type Hotkey = {
6536
6553
  */
6537
6554
  keys: string;
6538
6555
  /**
6539
- * @defaultValue false
6540
- *
6541
6556
  * Prevent default key handling before emitting the event.
6557
+ *
6558
+ * @default false
6542
6559
  */
6543
6560
  preventDefault?: boolean;
6544
6561
  };
@@ -9100,77 +9117,79 @@ declare type LayoutOptions = {
9100
9117
  */
9101
9118
  newTabButtonUrl?: string;
9102
9119
  /**
9103
- * @defaultValue false
9104
- *
9105
9120
  * When true the splitters will not be draggable and the layout will not resize.
9121
+ *
9122
+ * @default false
9106
9123
  */
9107
9124
  preventSplitterResize?: boolean;
9108
9125
  /**
9109
- * @defaultValue false
9110
- *
9111
9126
  * Whether the popout button will only act on the entire stack,
9112
9127
  * as opposed to only the active tab.
9128
+ *
9129
+ * @default false
9113
9130
  */
9114
9131
  popoutWholeStack?: boolean;
9115
9132
  /**
9116
- * @defaultValue false
9117
- *
9118
9133
  * Limits the area to which tabs can be dragged.
9119
9134
  * If true, the layout container is the only area where tabs can be dropped.
9135
+ *
9136
+ * @default false
9120
9137
  */
9121
9138
  constrainDragToContainer?: boolean;
9122
9139
  /**
9123
- * @defaultValue false
9124
- *
9125
9140
  * Whether to show the popout button on stack header.
9126
9141
  * The button will create a new window with current tab as its content.
9127
9142
  * In case `popoutWholeStack` is set to true, all tabs in the stack will be in the new window.
9143
+ *
9144
+ * @default false
9128
9145
  */
9129
9146
  showPopoutIcon?: boolean;
9130
9147
  /**
9131
- * @defaultValue false
9132
- *
9133
9148
  * Whether to show the maximize button on stack header.
9134
9149
  * The button will maximize the current tab to fill the entire window.
9150
+ *
9151
+ * @default false
9135
9152
  */
9136
9153
  showMaximiseIcon?: boolean;
9137
9154
  /**
9138
- * @defaultValue false
9139
- *
9140
9155
  * Whether to show the close button on stack header
9141
9156
  * (not to be confused with close button on every tab).
9157
+ *
9158
+ * @default false
9142
9159
  */
9143
9160
  showCloseIcon?: boolean;
9144
9161
  /**
9145
- * @defaultValue false
9146
- *
9147
9162
  * Limits the area to which tabs can be dragged. If true, stack headers are the only areas where tabs can be dropped.
9163
+ *
9164
+ * @default false
9148
9165
  */
9149
9166
  constrainDragToHeaders?: boolean;
9150
9167
  /**
9151
- * @defaultValue true
9152
- *
9153
9168
  * Turns tab headers on or off.
9154
9169
  * If false, the layout will be displayed with splitters only.
9170
+ *
9171
+ * @default true
9155
9172
  */
9156
9173
  hasHeaders?: boolean;
9157
9174
  /**
9158
- * @defaultValue true
9159
- *
9160
9175
  * If true, the user can re-arrange the layout by
9161
9176
  * dragging items by their tabs to the desired location.
9177
+ *
9178
+ * @default true
9162
9179
  */
9163
9180
  reorderEnabled?: boolean;
9164
9181
  /**
9165
- * @defaultValue false
9166
- *
9167
9182
  * If true, tabs can't be dragged out of the window.
9183
+ *
9184
+ * @default false
9168
9185
  */
9169
9186
  preventDragOut?: boolean;
9170
9187
  /**
9171
9188
  * @defaultValue=false
9172
9189
  *
9173
9190
  * If true, tabs can't be dragged into the window.
9191
+ *
9192
+ * @default false
9174
9193
  */
9175
9194
  preventDragIn?: boolean;
9176
9195
  };
@@ -9622,10 +9641,10 @@ declare type MutableViewOptions = {
9622
9641
  /**
9623
9642
  * @deprecated Superseded by {@link contextMenuOptions}, which offers a larger feature-set and cleaner syntax.
9624
9643
  *
9625
- * @defaultValue true
9626
- *
9627
9644
  * Show the context menu when right-clicking on the view.
9628
9645
  * Gives access to the devtools for the view.
9646
+ *
9647
+ * @default true
9629
9648
  */
9630
9649
  contextMenu: boolean;
9631
9650
  /**
@@ -9672,24 +9691,25 @@ declare type MutableViewOptions = {
9672
9691
  contentNavigation: ContentNavigation;
9673
9692
  contentRedirect: ContentRedirect;
9674
9693
  /**
9675
- * @defaultValue false
9676
9694
  * @deprecated
9677
9695
  * **Platforms Only.** If true, will hide and detach the View from the window for later use instead of closing,
9678
9696
  * allowing the state of the View to be saved and the View to be immediately shown in a new Layout.
9697
+ *
9698
+ * @default false
9679
9699
  */
9680
9700
  detachOnClose: boolean;
9681
9701
  /**
9682
- * @defaultValue true
9683
- *
9684
9702
  * **Platforms Only.** If false, the view will be persistent and can't be closed through
9685
9703
  * either UI or `Platform.closeView`. Note that the view will still be closed if the host window is closed or
9686
9704
  * if the view isn't part of the new layout when running `Layout.replace`.
9705
+ *
9706
+ * @default true
9687
9707
  */
9688
9708
  isClosable: boolean;
9689
9709
  /**
9690
- * @defaultValue false
9691
- *
9692
9710
  * **Platforms Only.** If true, the tab of the view can't be dragged out of its host window.
9711
+ *
9712
+ * @default false
9693
9713
  */
9694
9714
  preventDragOut: boolean;
9695
9715
  interop?: InteropConfig;
@@ -9701,7 +9721,7 @@ declare type MutableViewOptions = {
9701
9721
  /**
9702
9722
  * {@inheritDoc ViewThrottling}
9703
9723
  *
9704
- * @defaultValue 'enabled'
9724
+ * @default 'enabled'
9705
9725
  */
9706
9726
  throttling: ViewThrottling;
9707
9727
  /**
@@ -9720,7 +9740,7 @@ declare type MutableWindowOptions = {
9720
9740
  * Turns anything of matching RGB value transparent.
9721
9741
  *
9722
9742
  * Caveats:
9723
- * * runtime key --disable-gpu is required. Note: Unclear behavior on remote Desktop support
9743
+ * * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
9724
9744
  * * User cannot click-through transparent regions
9725
9745
  * * Not supported on Mac
9726
9746
  * * Windows Aero must be enabled
@@ -9729,25 +9749,25 @@ declare type MutableWindowOptions = {
9729
9749
  */
9730
9750
  alphaMask: RGB;
9731
9751
  /**
9732
- * @defaultValue false
9733
- *
9734
9752
  * Always position the window at the top of the window stack.
9753
+ *
9754
+ * @default false
9735
9755
  */
9736
9756
  alwaysOnTop: boolean;
9737
9757
  /**
9738
- * @defaultValue 0
9739
- *
9740
9758
  * The aspect ratio of width to height to enforce for the window. If this value is equal to or less than zero,
9741
9759
  * an aspect ratio will not be enforced.
9760
+ *
9761
+ * @default 0
9742
9762
  */
9743
9763
  aspectRatio: number;
9744
9764
  /**
9745
9765
  * @deprecated Superseded by {@link contextMenuOptions}, which offers a larger feature-set and cleaner syntax.
9746
9766
  *
9747
- * @defaultValue true
9748
- *
9749
9767
  * Show the context menu when right-clicking on the window.
9750
9768
  * Gives access to the devtools for the window.
9769
+ *
9770
+ * @default true
9751
9771
  */
9752
9772
  contextMenu: boolean;
9753
9773
  /**
@@ -9814,15 +9834,18 @@ declare type MutableWindowOptions = {
9814
9834
  */
9815
9835
  customData: any;
9816
9836
  /**
9837
+ * @deprecated Will be removed in runtime version 45
9817
9838
  * @defaultValue true
9818
9839
  *
9819
9840
  * Show the window's frame.
9841
+ *
9842
+ * @default true
9820
9843
  */
9821
9844
  frame: boolean;
9822
9845
  /**
9823
- * @defaultValue false
9824
- *
9825
9846
  * Hides the window instead of closing it when the close button is pressed.
9847
+ *
9848
+ * @default false
9826
9849
  */
9827
9850
  hideOnClose: boolean;
9828
9851
  /**
@@ -9875,60 +9898,61 @@ declare type MutableWindowOptions = {
9875
9898
  */
9876
9899
  icon: string;
9877
9900
  /**
9878
- * @defaultValue true
9879
- *
9880
9901
  * Include window in snapshots returned by Platform.getSnapshot(). Turning this off may be desirable when dealing with
9881
9902
  * inherently temporary windows whose state shouldn't be preserved, such as modals, menus, or popups.
9903
+ *
9904
+ * @default true
9882
9905
  */
9883
9906
  includeInSnapshots: boolean;
9884
9907
  /**
9885
- * @defaultValue -1
9886
- *
9887
9908
  * The maximum height of a window. Will default to the OS defined value if set to -1.
9909
+ *
9910
+ * @default -1
9888
9911
  */
9889
9912
  maxHeight: number;
9890
9913
  /**
9891
- * @defaultValue true
9892
- *
9893
9914
  * Allows the window to be maximized.
9915
+ *
9916
+ * @default true
9894
9917
  */
9895
9918
  maximizable: boolean;
9896
9919
  /**
9897
- * @defaultValue -1
9898
- *
9899
9920
  * The maximum width of a window. Will default to the OS defined value if set to -1.
9921
+ *
9922
+ * @default -1
9900
9923
  */
9901
9924
  maxWidth: number;
9902
9925
  /**
9903
- * @defaultValue 0
9904
- *
9905
9926
  * The minimum height of the window.
9927
+ *
9928
+ * @default 0
9906
9929
  */
9907
9930
  minHeight: number;
9908
9931
  /**
9909
- * @defaultValue true
9910
- *
9911
9932
  * Allows the window to be minimized.
9933
+ *
9934
+ * @default true
9912
9935
  */
9913
9936
  minimizable: boolean;
9914
9937
  /**
9915
- * @defaultValue true
9916
- *
9917
9938
  * The minimum width of the window.
9939
+ *
9940
+ * @default true
9918
9941
  */
9919
9942
  minWidth: number;
9920
9943
  /**
9921
- * @defaultValue 1
9922
- *
9923
9944
  * A flag that specifies how transparent the window will be.
9924
9945
  * Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
9925
9946
  * This value is clamped between `0.0` and `1.0`.
9947
+ * In software composition mode, the runtime flag --allow-unsafe-compositing is required.
9948
+ *
9949
+ * @default 1
9926
9950
  */
9927
9951
  opacity: number;
9928
9952
  /**
9929
- * @defaultValue true
9930
- *
9931
9953
  * A flag to allow the user to resize the window.
9954
+ *
9955
+ * @default true
9932
9956
  */
9933
9957
  resizable: boolean;
9934
9958
  /**
@@ -9936,16 +9960,16 @@ declare type MutableWindowOptions = {
9936
9960
  */
9937
9961
  resizeRegion: ResizeRegion;
9938
9962
  /**
9939
- * @defaultValue false
9940
- *
9941
9963
  * **Platforms Only.** If true, will show background images in the layout when the Views are hidden.
9942
9964
  * This occurs when the window is resizing or a tab is being dragged within the layout.
9965
+ *
9966
+ * @default false
9943
9967
  */
9944
9968
  showBackgroundImages: boolean;
9945
9969
  /**
9946
- * @defaultValue true
9947
- *
9948
9970
  * Shows the window's icon in the taskbar.
9971
+ *
9972
+ * @default true
9949
9973
  */
9950
9974
  showTaskbarIcon: boolean;
9951
9975
  /**
@@ -9972,7 +9996,7 @@ declare type MutableWindowOptions = {
9972
9996
  /**
9973
9997
  * {@inheritDoc WindowThrottling}
9974
9998
  *
9975
- * @defaultValue 'enabled'
9999
+ * @default 'enabled'
9976
10000
  *
9977
10001
  * @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
9978
10002
  */
@@ -10592,12 +10616,12 @@ declare type PasteBlockedEventReason = 'invalid-data' | 'disabled';
10592
10616
  */
10593
10617
  declare type PastePermissions = {
10594
10618
  /**
10595
- * @defaultValue 'non-protected-content'
10596
- *
10597
10619
  * Controls the behavior for paste operations for a matched URL.
10598
10620
  *
10599
10621
  * non-protected-content: All matching URLs will be able to paste content copied from non-protected URLs.
10600
10622
  * 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.
10623
+ *
10624
+ * @default 'non-protected-content'
10601
10625
  */
10602
10626
  behavior: 'non-protected-content' | 'all-content';
10603
10627
  };
@@ -11666,11 +11690,11 @@ declare type PlatformOptions = ApplicationCreationOptions & {
11666
11690
  */
11667
11691
  providerUrl?: string;
11668
11692
  /**
11669
- * @defaultValue true
11670
- *
11671
11693
  * Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
11672
11694
  *
11673
11695
  * NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
11696
+ *
11697
+ * @default true
11674
11698
  */
11675
11699
  allowLaunchIntoPlatform?: boolean;
11676
11700
  };
@@ -12359,22 +12383,22 @@ declare type PopupOptions = {
12359
12383
  url?: string;
12360
12384
  /**
12361
12385
  * Height of the popup window in pixels (takes priority over `intialOptions` size properties).
12362
- * @defaultValue 300
12386
+ * @default 300
12363
12387
  */
12364
12388
  height?: number;
12365
12389
  /**
12366
12390
  * Width of the popup window in pixels (takes priority over `intialOptions` size properties).
12367
- * @defaultValue 300
12391
+ * @default 300
12368
12392
  */
12369
12393
  width?: number;
12370
12394
  /**
12371
12395
  * Left position in pixels where the popup window will be shown (relative to the window calling `showPopupWindow`).
12372
- * @defaultValue 0
12396
+ * @default 0
12373
12397
  */
12374
12398
  x?: number;
12375
12399
  /**
12376
12400
  * Top position in pixels where the popup window will be shown (relative to the window calling `showPopupWindow`).
12377
- * @defaultValue 0
12401
+ * @default 0
12378
12402
  */
12379
12403
  y?: number;
12380
12404
  /**
@@ -12382,7 +12406,7 @@ declare type PopupOptions = {
12382
12406
  * * 'modal' restricts resizing and positioning in the caller.
12383
12407
  * * 'hide' hides the popup window on blur.
12384
12408
  * * 'close' closes the popup window on blur.
12385
- * @defaultValue 'close'
12409
+ * @default 'close'
12386
12410
  */
12387
12411
  blurBehavior?: PopupBlurBehavior;
12388
12412
  /**
@@ -12390,19 +12414,19 @@ declare type PopupOptions = {
12390
12414
  * * 'none' will do nothing.
12391
12415
  * * 'hide' hides the popup window on `dispatchPopupResult`.
12392
12416
  * * 'close' closes the popup window on `dispatchPopupResult`.
12393
- * @defaultValue 'close'
12417
+ * @default 'close'
12394
12418
  */
12395
12419
  resultDispatchBehavior?: PopupResultBehavior;
12396
12420
  /**
12397
12421
  * Hide the popup window instead of closing when `close` is called on it.
12398
12422
  *
12399
12423
  * Note: if this is `true` and `blurBehavior` and/or `resultDispatchBehavior` are set to `close`, the window will be hidden.
12400
- * @defaultValue false
12424
+ * @default false
12401
12425
  */
12402
12426
  hideOnClose?: boolean;
12403
12427
  /**
12404
12428
  * Determines if the popup window should or should not be focused when it is shown.
12405
- * @defaultValue true
12429
+ * @default true
12406
12430
  */
12407
12431
  focus?: boolean;
12408
12432
  /**
@@ -12496,9 +12520,9 @@ declare type PrebuiltContextMenuItem = 'separator' | 'undo' | 'redo' | 'cut' | '
12496
12520
  */
12497
12521
  declare type PreloadScript = {
12498
12522
  /**
12499
- * @defaultValue false
12500
- *
12501
12523
  * Fail to load the window if this preload script fails
12524
+ *
12525
+ * @default false
12502
12526
  */
12503
12527
  mandatory?: boolean;
12504
12528
  /**
@@ -12594,15 +12618,15 @@ declare type PrinterInfo = {
12594
12618
  declare type PrintOptions = {
12595
12619
  content?: 'self';
12596
12620
  /**
12597
- * @defaultValue false
12598
- *
12599
12621
  * Disables prompting the user for print settings.
12622
+ *
12623
+ * @default false
12600
12624
  */
12601
12625
  silent?: boolean;
12602
12626
  /**
12603
- * @defaultValue false
12604
- *
12605
12627
  * Includes the webpage background color and image when printing.
12628
+ *
12629
+ * @default false
12606
12630
  */
12607
12631
  printBackground?: boolean;
12608
12632
  /**
@@ -12610,9 +12634,9 @@ declare type PrintOptions = {
12610
12634
  */
12611
12635
  deviceName?: string;
12612
12636
  /**
12613
- * @defaultValue true
12614
- *
12615
12637
  * Prints in full color (greyscale otherwise).
12638
+ *
12639
+ * @default true
12616
12640
  */
12617
12641
  color?: boolean;
12618
12642
  /**
@@ -12620,9 +12644,9 @@ declare type PrintOptions = {
12620
12644
  */
12621
12645
  margins?: Margins;
12622
12646
  /**
12623
- * @defaultValue true
12624
- *
12625
12647
  * Prints in landscape mode (portrait otherwise).
12648
+ *
12649
+ * @default true
12626
12650
  */
12627
12651
  landscape?: boolean;
12628
12652
  /**
@@ -13803,15 +13827,15 @@ declare type ReplaceViewPayload = {
13803
13827
  */
13804
13828
  declare type ResizeRegion = {
13805
13829
  /**
13806
- * @defaultValue 7
13807
- *
13808
13830
  * The size of the resize region in pixels.
13831
+ *
13832
+ * @default 7
13809
13833
  */
13810
13834
  size?: number;
13811
13835
  /**
13812
- * @defaultValue 9
13813
- *
13814
13836
  * The size in pixels of an additional square resizable region located at the bottom right corner of a frameless window.
13837
+ *
13838
+ * @default 9
13815
13839
  */
13816
13840
  bottomRightCorner?: number;
13817
13841
  /**
@@ -13819,27 +13843,27 @@ declare type ResizeRegion = {
13819
13843
  */
13820
13844
  sides?: {
13821
13845
  /**
13822
- * @defaultValue true
13823
- *
13824
13846
  * Enables resizing from the top of the window.
13847
+ *
13848
+ * @default true
13825
13849
  */
13826
13850
  top?: boolean;
13827
13851
  /**
13828
- * @defaultValue true
13829
- *
13830
13852
  * Enables resizing from the bottom of the window.
13853
+ *
13854
+ * @default true
13831
13855
  */
13832
13856
  bottom?: boolean;
13833
13857
  /**
13834
- * @defaultValue true
13835
- *
13836
13858
  * Enables resizing from the left side of the window.
13859
+ *
13860
+ * @default true
13837
13861
  */
13838
13862
  left?: boolean;
13839
13863
  /**
13840
- * @defaultValue true
13841
- *
13842
13864
  * Enables resizing from the right side of the window.
13865
+ *
13866
+ * @default true
13843
13867
  */
13844
13868
  right?: boolean;
13845
13869
  };
@@ -14391,9 +14415,9 @@ declare type ShowTrayIconPopupMenuOptions<Data extends unknown = unknown> = {
14391
14415
  */
14392
14416
  declare type ShowViewOnWindowResizeOptions = ViewVisibilityOption & {
14393
14417
  /**
14394
- * @defaultValue 0
14395
- *
14396
14418
  * Number of milliseconds to wait between view repaints.
14419
+ *
14420
+ * @default 0
14397
14421
  */
14398
14422
  paintIntervalMs?: number;
14399
14423
  };
@@ -16450,9 +16474,9 @@ declare type TransitionBase = {
16450
16474
  */
16451
16475
  duration: number;
16452
16476
  /**
16453
- * @defaultValue false
16454
- *
16455
16477
  * Treats 'opacity' as absolute or as a delta. Defaults to false.
16478
+ *
16479
+ * @default false
16456
16480
  */
16457
16481
  relative?: boolean;
16458
16482
  };
@@ -16468,9 +16492,9 @@ declare type TransitionOptions = {
16468
16492
  */
16469
16493
  interrupt: boolean;
16470
16494
  /**
16471
- * @defaultValue false
16472
- *
16473
16495
  * Treats 'opacity' as absolute or as a delta. Defaults to false.
16496
+ *
16497
+ * @default false
16474
16498
  */
16475
16499
  relative?: boolean;
16476
16500
  tween?: tween;
@@ -17541,9 +17565,9 @@ declare type ViewTitlePriority = 'document' | 'options';
17541
17565
  */
17542
17566
  declare type ViewVisibilityOption = {
17543
17567
  /**
17544
- * @defaultValue false
17545
- *
17546
17568
  * Enables or disables showing views when the layout splitter or a tab is being dragged or a Platform Window is being resized.
17569
+ *
17570
+ * @default false
17547
17571
  */
17548
17572
  enabled?: boolean;
17549
17573
  };