@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.
@@ -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
  /**
@@ -1175,19 +1175,19 @@ declare class ApplicationModule extends Base {
1175
1175
  */
1176
1176
  declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1177
1177
  /**
1178
- * @defaultValue false
1179
- *
1180
1178
  * Disables IAB secure logging for the app.
1179
+ *
1180
+ * @default false
1181
1181
  */
1182
1182
  disableIabSecureLogging: boolean;
1183
1183
  /**
1184
- * @defaultValue 'There was an error loading the application.'
1185
- *
1186
1184
  * An error message to display when the application (launched via manifest) fails to load.
1187
1185
  * A dialog box will be launched with the error message just before the runtime exits.
1188
1186
  * Load fails such as failed DNS resolutions or aborted connections as well as cancellations, _e.g.,_ `window.stop()`,
1189
1187
  * will trigger this dialog.
1190
1188
  * Client response codes such as `404 Not Found` are not treated as fails as they are valid server responses.
1189
+ *
1190
+ * @default 'There was an error loading the application.'
1191
1191
  */
1192
1192
  loadErrorMessage: string;
1193
1193
  /**
@@ -1206,28 +1206,28 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1206
1206
  */
1207
1207
  name: string;
1208
1208
  /**
1209
- * @defaultValue false
1210
- *
1211
1209
  * A flag to configure the application as non-persistent.
1212
1210
  * Runtime exits when there are no persistent apps running.
1211
+ *
1212
+ * @default false
1213
1213
  */
1214
1214
  nonPersistent: boolean;
1215
1215
  /**
1216
- * @defaultValue false
1217
- *
1218
1216
  * Enable Flash at the application level.
1217
+ *
1218
+ * @default false
1219
1219
  */
1220
1220
  plugins: boolean;
1221
1221
  /**
1222
- * @defaultValue false
1223
- *
1224
1222
  * Enable spell check at the application level.
1223
+ *
1224
+ * @default false
1225
1225
  */
1226
1226
  spellCheck: boolean;
1227
1227
  /**
1228
- * @defaultValue 'about:blank'
1229
- *
1230
1228
  * The url to the application (specifically the application's main window).
1229
+ *
1230
+ * @default 'about:blank'
1231
1231
  */
1232
1232
  url: string;
1233
1233
  /**
@@ -1236,9 +1236,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1236
1236
  */
1237
1237
  uuid: string;
1238
1238
  /**
1239
- * @defaultValue true
1240
- *
1241
1239
  * When set to `false` it will disable the same-origin policy for the app.
1240
+ *
1241
+ * @default true
1242
1242
  */
1243
1243
  webSecurity: boolean;
1244
1244
  /**
@@ -1248,10 +1248,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1248
1248
  commands: ShortcutOverride[];
1249
1249
  isPlatformController: boolean;
1250
1250
  /**
1251
- * @defaultValue 1000
1252
- *
1253
1251
  * **Platforms Only.** The maximum number of "detached" or "pooled" Views that can exist in the Platform before being closed.
1254
1252
  * If you do not wish for views to be pooled on your platform, set this property to zero.
1253
+ *
1254
+ * @default 1000
1255
1255
  */
1256
1256
  maxViewPoolSize: number;
1257
1257
  /**
@@ -1267,12 +1267,12 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1267
1267
  */
1268
1268
  snapshot: Snapshot;
1269
1269
  /**
1270
- * @defaultValue false
1271
- *
1272
1270
  * **Platforms Only.** Prevent the Platform Provider from quitting automatically when the last Platform Window is closed.
1273
1271
  *
1274
1272
  * Note: if the Platform Provider is showing, it won't close automatically.
1275
1273
  * If you want a hidden Platform Provider to remain open after the last Platform Window has been closed, set this property to true.
1274
+ *
1275
+ * @default false
1276
1276
  */
1277
1277
  preventQuitOnLastWindowClosed: boolean;
1278
1278
  /**
@@ -1280,9 +1280,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1280
1280
  */
1281
1281
  interopBrokerConfiguration: InteropBrokerOptions;
1282
1282
  /**
1283
- * @defaultValue true
1284
- *
1285
1283
  * When set to `false` it will disable OpenFin Diagnostics for the app.
1284
+ *
1285
+ * @default true
1286
1286
  */
1287
1287
  apiDiagnostics: boolean;
1288
1288
  /**
@@ -1298,16 +1298,16 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1298
1298
  */
1299
1299
  permissions?: Partial<Permissions_2>;
1300
1300
  /**
1301
- * @defaultValue false
1302
- *
1303
1301
  * Enables the use of the Jumplists API and the 'pin to taskbar' functionality.
1304
1302
  * Only relevant in Windows.
1303
+ *
1304
+ * @default false
1305
1305
  */
1306
1306
  enableJumpList: boolean;
1307
1307
  /**
1308
- * @defaultValue false
1309
- *
1310
1308
  * When set to `true`, any `beforeunload` handler set on the app will fire.
1309
+ *
1310
+ * @default false
1311
1311
  */
1312
1312
  enableBeforeUnload: boolean;
1313
1313
  /**
@@ -1388,25 +1388,25 @@ declare type ApplicationWindowInfo = {
1388
1388
  */
1389
1389
  declare type ApplySnapshotOptions = {
1390
1390
  /**
1391
- * @defaultValue false
1392
- *
1393
1391
  * When true, applySnapshot will close existing windows,
1394
1392
  * replacing current Platform state with the given snapshot.
1393
+ *
1394
+ * @default false
1395
1395
  */
1396
1396
  closeExistingWindows?: boolean;
1397
1397
  /**
1398
- * @defaultValue false
1399
- *
1400
1398
  * When true, applySnapshot will close existing includeInSnapshots: true windows,
1401
1399
  * replacing current Platform state with the given snapshot.
1400
+ *
1401
+ * @default false
1402
1402
  */
1403
1403
  closeSnapshotWindows?: boolean;
1404
1404
  /**
1405
- * @defaultValue false
1406
- *
1407
1405
  * When true, applySnapshot will not check whether any windows in a
1408
1406
  * snapshot are off-screen. By default, such windows will be repositioned to be on-screen,
1409
1407
  * as defined by {@link PlatformProvider#positionOutOfBoundsWindows PlatformProvider.positionOutOfBoundsWindows}.
1408
+ *
1409
+ * @default false
1410
1410
  */
1411
1411
  skipOutOfBoundsCheck?: boolean;
1412
1412
  };
@@ -2063,15 +2063,15 @@ declare type CapturePageOptions = {
2063
2063
  */
2064
2064
  area?: Rectangle;
2065
2065
  /**
2066
- * @defaultValue 'png'
2067
- *
2068
2066
  * The format of the captured image. Can be 'png', 'jpg', or 'bmp'.
2067
+ *
2068
+ * @default 'png'
2069
2069
  */
2070
2070
  format?: 'bmp' | 'jpg' | 'png';
2071
2071
  /**
2072
- * @defaultValue 100
2073
- *
2074
2072
  * Quality of JPEG image. Between 0 - 100.
2073
+ *
2074
+ * @default 100
2075
2075
  */
2076
2076
  quality?: number;
2077
2077
  };
@@ -2704,9 +2704,9 @@ declare type ChannelClientDisconnectionListener = (identity: ClientIdentity) =>
2704
2704
  */
2705
2705
  declare type ChannelConnectOptions = ChannelCreateOptions & {
2706
2706
  /**
2707
- * @defaultValue true
2708
- *
2709
2707
  * If true will wait for ChannelProvider to connect. If false will fail if ChannelProvider is not found.
2708
+ *
2709
+ * @default true
2710
2710
  */
2711
2711
  wait?: boolean;
2712
2712
  /**
@@ -3365,9 +3365,9 @@ declare interface CloseWindowPayload {
3365
3365
  windowId: Identity_4;
3366
3366
  options: {
3367
3367
  /**
3368
- * @defaultValue false
3369
- *
3370
3368
  * When set to true skips any before handler set on views that are part of the window
3369
+ *
3370
+ * @default false
3371
3371
  */
3372
3372
  skipBeforeUnload?: boolean;
3373
3373
  };
@@ -3472,9 +3472,9 @@ declare type ConstViewOptions = {
3472
3472
  */
3473
3473
  name: string;
3474
3474
  /**
3475
- * @defaultValue "about:blank"
3476
- *
3477
3475
  * The URL of the window
3476
+ *
3477
+ * @default "about:blank"
3478
3478
  */
3479
3479
  url: string;
3480
3480
  /**
@@ -3499,6 +3499,15 @@ declare type ConstViewOptions = {
3499
3499
  * Custom headers for requests sent by the view.
3500
3500
  */
3501
3501
  customRequestHeaders: CustomRequestHeaders[];
3502
+ /**
3503
+ * @experimental
3504
+ *
3505
+ * When set to true, will prevent setting the `-webkit-app-region` and `app-region` css properties on the view.
3506
+ * These css properties are used to enable dragging of a frameless window.
3507
+ *
3508
+ * @default false
3509
+ */
3510
+ disableAppRegion: boolean;
3502
3511
  /**
3503
3512
  * Initial bounds given relative to the window.
3504
3513
  */
@@ -3535,9 +3544,9 @@ declare type ConstViewOptions = {
3535
3544
  experimental: any;
3536
3545
  fdc3InteropApi?: string;
3537
3546
  /**
3538
- * @defaultValue false
3539
- *
3540
3547
  * When set to `true`, any `beforeunload` handler set on Views will fire.
3548
+ *
3549
+ * @default false
3541
3550
  */
3542
3551
  enableBeforeUnload: boolean;
3543
3552
  /**
@@ -3618,13 +3627,12 @@ declare type ConstWindowOptions = {
3618
3627
  */
3619
3628
  backgroundColor: string;
3620
3629
  /**
3621
- * @defaultValue false
3622
- *
3623
3630
  * Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
3624
3631
  * This also affects the Page Visibility API.
3625
3632
  *
3626
3633
  * When `true`, the page is throttled whether it is hidden or not.
3627
3634
  *
3635
+ * @default false
3628
3636
  */
3629
3637
  backgroundThrottling: boolean;
3630
3638
  /**
@@ -3648,21 +3656,30 @@ declare type ConstWindowOptions = {
3648
3656
  */
3649
3657
  customRequestHeaders: CustomRequestHeaders[];
3650
3658
  /**
3651
- * @defaultValue true
3652
- *
3653
3659
  * Setting this to false would keep the Window alive even if all its Views were closed.
3654
3660
  * This is meant for advanced users and should be used with caution.
3655
3661
  * Limitations - Once a Layout has been emptied out of all views it's not usable anymore, and certain API calls will fail.
3656
3662
  * Use `layout.replace` to create a fresh Layout instance in case you want to populate it with Views again.
3657
3663
  * **NOTE:** - This option is ignored in non-Platforms apps.
3664
+ *
3665
+ * @default true
3658
3666
  */
3659
3667
  closeOnLastViewRemoved: boolean;
3660
3668
  /**
3661
- * @defaultValue 'all'
3669
+ * @experimental
3662
3670
  *
3671
+ * When set to true, will prevent setting the `-webkit-app-region` and `app-region` css properties on the window.
3672
+ * These css properties are used to enable dragging of a frameless window.
3673
+ *
3674
+ * @default false
3675
+ */
3676
+ disableAppRegion: boolean;
3677
+ /**
3663
3678
  * When `closeOnLastViewRemoved` is set to true, determines which views prevent closing the window.
3664
- + * Defaults to `all`. You may want to switch this to `layout` if using View closeBehavior: 'hide'.
3679
+ * Defaults to `all`. You may want to switch this to `layout` if using View closeBehavior: 'hide'.
3665
3680
  * **NOTE:** - This option is ignored in non-Platforms apps.
3681
+ *
3682
+ * @default 'all'
3666
3683
  */
3667
3684
  viewsPreventingClose: 'all' | 'layout';
3668
3685
  /**
@@ -3673,31 +3690,31 @@ declare type ConstWindowOptions = {
3673
3690
  */
3674
3691
  defaultCentered: boolean;
3675
3692
  /**
3676
- * @defaultValue 500
3677
- *
3678
3693
  * The default height of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent launches
3679
3694
  * in favor of the cached value.
3695
+ *
3696
+ * @default 500
3680
3697
  */
3681
3698
  defaultHeight: number;
3682
3699
  /**
3683
- * @defaultValue 100
3684
- *
3685
3700
  * The default left position of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
3686
3701
  * launches in favor of the cached value.
3702
+ *
3703
+ * @default 100
3687
3704
  */
3688
3705
  defaultLeft: number;
3689
3706
  /**
3690
- * @defaultValue 100
3691
- *
3692
3707
  * The default top position of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
3693
3708
  * launches in favor of the cached value.
3709
+ *
3710
+ * @default 100
3694
3711
  */
3695
3712
  defaultTop: number;
3696
3713
  /**
3697
- * @defaultValue 800
3698
- *
3699
3714
  * The default width of the window. When `saveWindowState` is `true`, this value will be ignored for subsequent
3700
3715
  * launches in favor of the cached value.
3716
+ *
3717
+ * @default 800
3701
3718
  */
3702
3719
  defaultWidth: number;
3703
3720
  /**
@@ -3743,19 +3760,19 @@ declare type ConstWindowOptions = {
3743
3760
  */
3744
3761
  processAffinity: string;
3745
3762
  /**
3746
- * @defaultValue false
3747
- *
3748
3763
  * Displays a shadow on frameless windows.
3749
3764
  * `shadow` and `cornerRounding` are mutually exclusive.
3750
3765
  * On Windows 7, Aero theme is required.
3766
+ *
3767
+ * @default false
3751
3768
  */
3752
3769
  shadow: boolean;
3753
3770
  /**
3754
- * @defaultValue true
3755
- *
3756
3771
  * Caches the location of the window.
3757
3772
  *
3758
3773
  * Note: this option is ignored in Platforms as it would cause inconsistent {@link Platform#applySnapshot applySnapshot} behavior.
3774
+ *
3775
+ * @default true
3759
3776
  */
3760
3777
  saveWindowState: boolean;
3761
3778
  /**
@@ -3764,22 +3781,22 @@ declare type ConstWindowOptions = {
3764
3781
  */
3765
3782
  ignoreSavedWindowState: boolean;
3766
3783
  /**
3767
- * @defaultValue false
3768
- *
3769
3784
  * Makes this window a frameless window that can be created and resized to less than 41x36 px (width x height).
3770
3785
  *
3771
3786
  * Note: Caveats of small windows are no Aero Snap and drag to/from maximize.
3772
3787
  * _Windows 10: Requires `maximizable` to be false. Resizing with the mouse is only possible down to 38x39 px._
3788
+ *
3789
+ * @default false
3773
3790
  */
3774
3791
  smallWindow: boolean;
3775
3792
  /**
3776
- * @defaultValue "normal"
3777
- *
3778
3793
  * The visible state of the window on creation.
3779
3794
  * One of:
3780
3795
  * * `"maximized"`
3781
3796
  * * `"minimized"`
3782
3797
  * * `"normal"`
3798
+ *
3799
+ * @default "normal"
3783
3800
  */
3784
3801
  state: WindowState;
3785
3802
  /**
@@ -3794,26 +3811,26 @@ declare type ConstWindowOptions = {
3794
3811
  */
3795
3812
  taskbarIconGroup: string;
3796
3813
  /**
3797
- * @defaultValue "about:blank"
3798
- *
3799
3814
  * The URL of the window
3815
+ *
3816
+ * @default "about:blank"
3800
3817
  */
3801
3818
  url: string;
3802
3819
  /**
3803
- * @defaultValue <application UUID>
3804
- *
3805
3820
  * The `uuid` of the application, unique within the set of all `Application`s running in OpenFin Runtime.
3806
3821
  * If omitted, defaults to the `uuid` of the application spawning the window.
3807
3822
  * If given, must match the `uuid` of the application spawning the window.
3808
3823
  * In other words, the application's `uuid` is the only acceptable value, but is the default, so there's
3809
3824
  * really no need to provide it.
3825
+ *
3826
+ * @default <application UUID>
3810
3827
  */
3811
3828
  uuid: string;
3812
3829
  /**
3813
- * @defaultValue false
3814
- *
3815
3830
  * When set to `true`, the window will not appear until the `window` object's `load` event fires.
3816
3831
  * When set to `false`, the window will appear immediately without waiting for content to be loaded.
3832
+ *
3833
+ * @default false
3817
3834
  */
3818
3835
  waitForPageLoad: boolean;
3819
3836
  width: number;
@@ -4095,13 +4112,13 @@ declare type CopyBlockedEventReason = 'disabled';
4095
4112
  */
4096
4113
  declare type CopyPermissions = {
4097
4114
  /**
4098
- * @defaultValue 'allowed'
4099
- *
4100
4115
  * Controls the behavior for copy operations for a matched URL.
4101
4116
  *
4102
4117
  * allow: Enables all copy operations.
4103
4118
  * block: Disables all copy operations.
4104
4119
  * protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
4120
+ *
4121
+ * @default 'allowed'
4105
4122
  */
4106
4123
  behavior: 'allow' | 'block' | 'protect';
4107
4124
  /**
@@ -4109,9 +4126,9 @@ declare type CopyPermissions = {
4109
4126
  */
4110
4127
  options?: {
4111
4128
  /**
4112
- * @defaultValue ''
4113
- *
4114
4129
  * When setting behavior = 'protected' , this string will be pasted to other applications that do not have a matching URL instead of the original content.
4130
+ *
4131
+ * @default ''
4115
4132
  */
4116
4133
  replacementText: string;
4117
4134
  };
@@ -4125,15 +4142,15 @@ declare type CopyPermissions = {
4125
4142
  */
4126
4143
  declare type CornerRounding = {
4127
4144
  /**
4128
- * @defaultValue 0
4129
- *
4130
4145
  * The height in pixels.
4146
+ *
4147
+ * @default 0
4131
4148
  */
4132
4149
  height: number;
4133
4150
  /**
4134
- * @defaultValue 0
4135
- *
4136
4151
  * The width in pixels.
4152
+ *
4153
+ * @default 0
4137
4154
  */
4138
4155
  width: number;
4139
4156
  };
@@ -4223,8 +4240,6 @@ declare type CreateLayoutOptions = {
4223
4240
  layoutName: string;
4224
4241
  layout: LayoutOptions;
4225
4242
  /**
4226
- * @defaultValue 'default'
4227
- *
4228
4243
  * Controls the View behavior for the given `layout` property. Note
4229
4244
  * that the selected behavior only applies to unnamed Views or
4230
4245
  * Views with the prefix `internal-generated-`. In all cases, if any
@@ -4246,6 +4261,8 @@ declare type CreateLayoutOptions = {
4246
4261
  * override. Note that during applyLayoutSnapshot, Views are created and
4247
4262
  * attached to the Provider while the Window is being created, so it's
4248
4263
  * important to not 'duplicate' Views in this workflow.
4264
+ *
4265
+ * @default 'default'
4249
4266
  */
4250
4267
  multiInstanceViewBehavior?: MultiInstanceViewBehavior;
4251
4268
  };
@@ -4504,7 +4521,7 @@ declare type DomainApiSettings = {
4504
4521
  * * 'none': The `fin` API will be not available.
4505
4522
  * * 'global': The entire `fin` API will be available.
4506
4523
  *
4507
- * @defaultValue 'global'
4524
+ * @default 'global'
4508
4525
  */
4509
4526
  fin?: InjectionType;
4510
4527
  /**
@@ -5089,9 +5106,9 @@ declare type EventType_9 = Event_12['type'];
5089
5106
  */
5090
5107
  declare type ExcludeOptions = {
5091
5108
  /**
5092
- * @defaultValue false
5093
- *
5094
5109
  * When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
5110
+ *
5111
+ * @default false
5095
5112
  */
5096
5113
  preloadScripts: boolean;
5097
5114
  };
@@ -5910,34 +5927,34 @@ declare interface FinApi<MeType extends OpenFin.EntityType> {
5910
5927
  */
5911
5928
  declare type FindInPageOptions = {
5912
5929
  /**
5913
- * @defaultValue true
5914
- *
5915
5930
  * Searches in the forward direction (backward otherwise)
5931
+ *
5932
+ * @default true
5916
5933
  */
5917
5934
  forward?: boolean;
5918
5935
  /**
5919
- * @defaultValue false
5920
- *
5921
5936
  * Begins a new text-finding session; should be true for first request only, and false on subsequent requests.
5937
+ *
5938
+ * @default false
5922
5939
  */
5923
5940
  findNext?: boolean;
5924
5941
  /**
5925
- * @defaultValue false
5926
- *
5927
5942
  * Enables case-sensitive searching.
5943
+ *
5944
+ * @default false
5928
5945
  */
5929
5946
  matchCase?: boolean;
5930
5947
  /**
5931
- * @defaultValue false
5932
- *
5933
5948
  * Only searches from the start of words.
5949
+ *
5950
+ * @default false
5934
5951
  */
5935
5952
  wordStart?: boolean;
5936
5953
  /**
5937
- * @defaultValue false
5938
- *
5939
5954
  * 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>
5940
5955
  * lowercase or non-letter. Accepts several other intra-word matches.
5956
+ *
5957
+ * @default false
5941
5958
  */
5942
5959
  medialCapitalAsWordStart?: boolean;
5943
5960
  };
@@ -6445,9 +6462,9 @@ declare type Hotkey = {
6445
6462
  */
6446
6463
  keys: string;
6447
6464
  /**
6448
- * @defaultValue false
6449
- *
6450
6465
  * Prevent default key handling before emitting the event.
6466
+ *
6467
+ * @default false
6451
6468
  */
6452
6469
  preventDefault?: boolean;
6453
6470
  };
@@ -8804,77 +8821,79 @@ declare type LayoutOptions = {
8804
8821
  */
8805
8822
  newTabButtonUrl?: string;
8806
8823
  /**
8807
- * @defaultValue false
8808
- *
8809
8824
  * When true the splitters will not be draggable and the layout will not resize.
8825
+ *
8826
+ * @default false
8810
8827
  */
8811
8828
  preventSplitterResize?: boolean;
8812
8829
  /**
8813
- * @defaultValue false
8814
- *
8815
8830
  * Whether the popout button will only act on the entire stack,
8816
8831
  * as opposed to only the active tab.
8832
+ *
8833
+ * @default false
8817
8834
  */
8818
8835
  popoutWholeStack?: boolean;
8819
8836
  /**
8820
- * @defaultValue false
8821
- *
8822
8837
  * Limits the area to which tabs can be dragged.
8823
8838
  * If true, the layout container is the only area where tabs can be dropped.
8839
+ *
8840
+ * @default false
8824
8841
  */
8825
8842
  constrainDragToContainer?: boolean;
8826
8843
  /**
8827
- * @defaultValue false
8828
- *
8829
8844
  * Whether to show the popout button on stack header.
8830
8845
  * The button will create a new window with current tab as its content.
8831
8846
  * In case `popoutWholeStack` is set to true, all tabs in the stack will be in the new window.
8847
+ *
8848
+ * @default false
8832
8849
  */
8833
8850
  showPopoutIcon?: boolean;
8834
8851
  /**
8835
- * @defaultValue false
8836
- *
8837
8852
  * Whether to show the maximize button on stack header.
8838
8853
  * The button will maximize the current tab to fill the entire window.
8854
+ *
8855
+ * @default false
8839
8856
  */
8840
8857
  showMaximiseIcon?: boolean;
8841
8858
  /**
8842
- * @defaultValue false
8843
- *
8844
8859
  * Whether to show the close button on stack header
8845
8860
  * (not to be confused with close button on every tab).
8861
+ *
8862
+ * @default false
8846
8863
  */
8847
8864
  showCloseIcon?: boolean;
8848
8865
  /**
8849
- * @defaultValue false
8850
- *
8851
8866
  * Limits the area to which tabs can be dragged. If true, stack headers are the only areas where tabs can be dropped.
8867
+ *
8868
+ * @default false
8852
8869
  */
8853
8870
  constrainDragToHeaders?: boolean;
8854
8871
  /**
8855
- * @defaultValue true
8856
- *
8857
8872
  * Turns tab headers on or off.
8858
8873
  * If false, the layout will be displayed with splitters only.
8874
+ *
8875
+ * @default true
8859
8876
  */
8860
8877
  hasHeaders?: boolean;
8861
8878
  /**
8862
- * @defaultValue true
8863
- *
8864
8879
  * If true, the user can re-arrange the layout by
8865
8880
  * dragging items by their tabs to the desired location.
8881
+ *
8882
+ * @default true
8866
8883
  */
8867
8884
  reorderEnabled?: boolean;
8868
8885
  /**
8869
- * @defaultValue false
8870
- *
8871
8886
  * If true, tabs can't be dragged out of the window.
8887
+ *
8888
+ * @default false
8872
8889
  */
8873
8890
  preventDragOut?: boolean;
8874
8891
  /**
8875
8892
  * @defaultValue=false
8876
8893
  *
8877
8894
  * If true, tabs can't be dragged into the window.
8895
+ *
8896
+ * @default false
8878
8897
  */
8879
8898
  preventDragIn?: boolean;
8880
8899
  };
@@ -9326,10 +9345,10 @@ declare type MutableViewOptions = {
9326
9345
  /**
9327
9346
  * @deprecated Superseded by {@link contextMenuOptions}, which offers a larger feature-set and cleaner syntax.
9328
9347
  *
9329
- * @defaultValue true
9330
- *
9331
9348
  * Show the context menu when right-clicking on the view.
9332
9349
  * Gives access to the devtools for the view.
9350
+ *
9351
+ * @default true
9333
9352
  */
9334
9353
  contextMenu: boolean;
9335
9354
  /**
@@ -9376,24 +9395,25 @@ declare type MutableViewOptions = {
9376
9395
  contentNavigation: ContentNavigation;
9377
9396
  contentRedirect: ContentRedirect;
9378
9397
  /**
9379
- * @defaultValue false
9380
9398
  * @deprecated
9381
9399
  * **Platforms Only.** If true, will hide and detach the View from the window for later use instead of closing,
9382
9400
  * allowing the state of the View to be saved and the View to be immediately shown in a new Layout.
9401
+ *
9402
+ * @default false
9383
9403
  */
9384
9404
  detachOnClose: boolean;
9385
9405
  /**
9386
- * @defaultValue true
9387
- *
9388
9406
  * **Platforms Only.** If false, the view will be persistent and can't be closed through
9389
9407
  * either UI or `Platform.closeView`. Note that the view will still be closed if the host window is closed or
9390
9408
  * if the view isn't part of the new layout when running `Layout.replace`.
9409
+ *
9410
+ * @default true
9391
9411
  */
9392
9412
  isClosable: boolean;
9393
9413
  /**
9394
- * @defaultValue false
9395
- *
9396
9414
  * **Platforms Only.** If true, the tab of the view can't be dragged out of its host window.
9415
+ *
9416
+ * @default false
9397
9417
  */
9398
9418
  preventDragOut: boolean;
9399
9419
  interop?: InteropConfig;
@@ -9401,7 +9421,7 @@ declare type MutableViewOptions = {
9401
9421
  /**
9402
9422
  * {@inheritDoc ViewThrottling}
9403
9423
  *
9404
- * @defaultValue 'enabled'
9424
+ * @default 'enabled'
9405
9425
  */
9406
9426
  throttling: ViewThrottling;
9407
9427
  /**
@@ -9420,7 +9440,7 @@ declare type MutableWindowOptions = {
9420
9440
  * Turns anything of matching RGB value transparent.
9421
9441
  *
9422
9442
  * Caveats:
9423
- * * runtime key --disable-gpu is required. Note: Unclear behavior on remote Desktop support
9443
+ * * Runtime flags --disable-gpu and --allow-unsafe-compositing are required. Note: Unclear behavior on remote Desktop support
9424
9444
  * * User cannot click-through transparent regions
9425
9445
  * * Not supported on Mac
9426
9446
  * * Windows Aero must be enabled
@@ -9429,25 +9449,25 @@ declare type MutableWindowOptions = {
9429
9449
  */
9430
9450
  alphaMask: RGB;
9431
9451
  /**
9432
- * @defaultValue false
9433
- *
9434
9452
  * Always position the window at the top of the window stack.
9453
+ *
9454
+ * @default false
9435
9455
  */
9436
9456
  alwaysOnTop: boolean;
9437
9457
  /**
9438
- * @defaultValue 0
9439
- *
9440
9458
  * The aspect ratio of width to height to enforce for the window. If this value is equal to or less than zero,
9441
9459
  * an aspect ratio will not be enforced.
9460
+ *
9461
+ * @default 0
9442
9462
  */
9443
9463
  aspectRatio: number;
9444
9464
  /**
9445
9465
  * @deprecated Superseded by {@link contextMenuOptions}, which offers a larger feature-set and cleaner syntax.
9446
9466
  *
9447
- * @defaultValue true
9448
- *
9449
9467
  * Show the context menu when right-clicking on the window.
9450
9468
  * Gives access to the devtools for the window.
9469
+ *
9470
+ * @default true
9451
9471
  */
9452
9472
  contextMenu: boolean;
9453
9473
  /**
@@ -9514,15 +9534,18 @@ declare type MutableWindowOptions = {
9514
9534
  */
9515
9535
  customData: any;
9516
9536
  /**
9537
+ * @deprecated Will be removed in runtime version 45
9517
9538
  * @defaultValue true
9518
9539
  *
9519
9540
  * Show the window's frame.
9541
+ *
9542
+ * @default true
9520
9543
  */
9521
9544
  frame: boolean;
9522
9545
  /**
9523
- * @defaultValue false
9524
- *
9525
9546
  * Hides the window instead of closing it when the close button is pressed.
9547
+ *
9548
+ * @default false
9526
9549
  */
9527
9550
  hideOnClose: boolean;
9528
9551
  /**
@@ -9575,60 +9598,61 @@ declare type MutableWindowOptions = {
9575
9598
  */
9576
9599
  icon: string;
9577
9600
  /**
9578
- * @defaultValue true
9579
- *
9580
9601
  * Include window in snapshots returned by Platform.getSnapshot(). Turning this off may be desirable when dealing with
9581
9602
  * inherently temporary windows whose state shouldn't be preserved, such as modals, menus, or popups.
9603
+ *
9604
+ * @default true
9582
9605
  */
9583
9606
  includeInSnapshots: boolean;
9584
9607
  /**
9585
- * @defaultValue -1
9586
- *
9587
9608
  * The maximum height of a window. Will default to the OS defined value if set to -1.
9609
+ *
9610
+ * @default -1
9588
9611
  */
9589
9612
  maxHeight: number;
9590
9613
  /**
9591
- * @defaultValue true
9592
- *
9593
9614
  * Allows the window to be maximized.
9615
+ *
9616
+ * @default true
9594
9617
  */
9595
9618
  maximizable: boolean;
9596
9619
  /**
9597
- * @defaultValue -1
9598
- *
9599
9620
  * The maximum width of a window. Will default to the OS defined value if set to -1.
9621
+ *
9622
+ * @default -1
9600
9623
  */
9601
9624
  maxWidth: number;
9602
9625
  /**
9603
- * @defaultValue 0
9604
- *
9605
9626
  * The minimum height of the window.
9627
+ *
9628
+ * @default 0
9606
9629
  */
9607
9630
  minHeight: number;
9608
9631
  /**
9609
- * @defaultValue true
9610
- *
9611
9632
  * Allows the window to be minimized.
9633
+ *
9634
+ * @default true
9612
9635
  */
9613
9636
  minimizable: boolean;
9614
9637
  /**
9615
- * @defaultValue true
9616
- *
9617
9638
  * The minimum width of the window.
9639
+ *
9640
+ * @default true
9618
9641
  */
9619
9642
  minWidth: number;
9620
9643
  /**
9621
- * @defaultValue 1
9622
- *
9623
9644
  * A flag that specifies how transparent the window will be.
9624
9645
  * Changing opacity doesn't work on Windows 7 without Aero so setting this value will have no effect there.
9625
9646
  * This value is clamped between `0.0` and `1.0`.
9647
+ * In software composition mode, the runtime flag --allow-unsafe-compositing is required.
9648
+ *
9649
+ * @default 1
9626
9650
  */
9627
9651
  opacity: number;
9628
9652
  /**
9629
- * @defaultValue true
9630
- *
9631
9653
  * A flag to allow the user to resize the window.
9654
+ *
9655
+ * @default true
9632
9656
  */
9633
9657
  resizable: boolean;
9634
9658
  /**
@@ -9636,16 +9660,16 @@ declare type MutableWindowOptions = {
9636
9660
  */
9637
9661
  resizeRegion: ResizeRegion;
9638
9662
  /**
9639
- * @defaultValue false
9640
- *
9641
9663
  * **Platforms Only.** If true, will show background images in the layout when the Views are hidden.
9642
9664
  * This occurs when the window is resizing or a tab is being dragged within the layout.
9665
+ *
9666
+ * @default false
9643
9667
  */
9644
9668
  showBackgroundImages: boolean;
9645
9669
  /**
9646
- * @defaultValue true
9647
- *
9648
9670
  * Shows the window's icon in the taskbar.
9671
+ *
9672
+ * @default true
9649
9673
  */
9650
9674
  showTaskbarIcon: boolean;
9651
9675
  /**
@@ -9664,7 +9688,7 @@ declare type MutableWindowOptions = {
9664
9688
  /**
9665
9689
  * {@inheritDoc WindowThrottling}
9666
9690
  *
9667
- * @defaultValue 'enabled'
9691
+ * @default 'enabled'
9668
9692
  *
9669
9693
  * @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
9670
9694
  */
@@ -10274,12 +10298,12 @@ declare type PasteBlockedEventReason = 'invalid-data' | 'disabled';
10274
10298
  */
10275
10299
  declare type PastePermissions = {
10276
10300
  /**
10277
- * @defaultValue 'non-protected-content'
10278
- *
10279
10301
  * Controls the behavior for paste operations for a matched URL.
10280
10302
  *
10281
10303
  * non-protected-content: All matching URLs will be able to paste content copied from non-protected URLs.
10282
10304
  * 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.
10305
+ *
10306
+ * @default 'non-protected-content'
10283
10307
  */
10284
10308
  behavior: 'non-protected-content' | 'all-content';
10285
10309
  };
@@ -11310,11 +11334,11 @@ declare type PlatformOptions = ApplicationCreationOptions & {
11310
11334
  */
11311
11335
  providerUrl?: string;
11312
11336
  /**
11313
- * @defaultValue true
11314
- *
11315
11337
  * Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
11316
11338
  *
11317
11339
  * NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
11340
+ *
11341
+ * @default true
11318
11342
  */
11319
11343
  allowLaunchIntoPlatform?: boolean;
11320
11344
  };
@@ -11958,22 +11982,22 @@ declare type PopupOptions = {
11958
11982
  url?: string;
11959
11983
  /**
11960
11984
  * Height of the popup window in pixels (takes priority over `intialOptions` size properties).
11961
- * @defaultValue 300
11985
+ * @default 300
11962
11986
  */
11963
11987
  height?: number;
11964
11988
  /**
11965
11989
  * Width of the popup window in pixels (takes priority over `intialOptions` size properties).
11966
- * @defaultValue 300
11990
+ * @default 300
11967
11991
  */
11968
11992
  width?: number;
11969
11993
  /**
11970
11994
  * Left position in pixels where the popup window will be shown (relative to the window calling `showPopupWindow`).
11971
- * @defaultValue 0
11995
+ * @default 0
11972
11996
  */
11973
11997
  x?: number;
11974
11998
  /**
11975
11999
  * Top position in pixels where the popup window will be shown (relative to the window calling `showPopupWindow`).
11976
- * @defaultValue 0
12000
+ * @default 0
11977
12001
  */
11978
12002
  y?: number;
11979
12003
  /**
@@ -11981,7 +12005,7 @@ declare type PopupOptions = {
11981
12005
  * * 'modal' restricts resizing and positioning in the caller.
11982
12006
  * * 'hide' hides the popup window on blur.
11983
12007
  * * 'close' closes the popup window on blur.
11984
- * @defaultValue 'close'
12008
+ * @default 'close'
11985
12009
  */
11986
12010
  blurBehavior?: PopupBlurBehavior;
11987
12011
  /**
@@ -11989,19 +12013,19 @@ declare type PopupOptions = {
11989
12013
  * * 'none' will do nothing.
11990
12014
  * * 'hide' hides the popup window on `dispatchPopupResult`.
11991
12015
  * * 'close' closes the popup window on `dispatchPopupResult`.
11992
- * @defaultValue 'close'
12016
+ * @default 'close'
11993
12017
  */
11994
12018
  resultDispatchBehavior?: PopupResultBehavior;
11995
12019
  /**
11996
12020
  * Hide the popup window instead of closing when `close` is called on it.
11997
12021
  *
11998
12022
  * Note: if this is `true` and `blurBehavior` and/or `resultDispatchBehavior` are set to `close`, the window will be hidden.
11999
- * @defaultValue false
12023
+ * @default false
12000
12024
  */
12001
12025
  hideOnClose?: boolean;
12002
12026
  /**
12003
12027
  * Determines if the popup window should or should not be focused when it is shown.
12004
- * @defaultValue true
12028
+ * @default true
12005
12029
  */
12006
12030
  focus?: boolean;
12007
12031
  /**
@@ -12095,9 +12119,9 @@ declare type PrebuiltContextMenuItem = 'separator' | 'undo' | 'redo' | 'cut' | '
12095
12119
  */
12096
12120
  declare type PreloadScript = {
12097
12121
  /**
12098
- * @defaultValue false
12099
- *
12100
12122
  * Fail to load the window if this preload script fails
12123
+ *
12124
+ * @default false
12101
12125
  */
12102
12126
  mandatory?: boolean;
12103
12127
  /**
@@ -12193,15 +12217,15 @@ declare type PrinterInfo = {
12193
12217
  declare type PrintOptions = {
12194
12218
  content?: 'self';
12195
12219
  /**
12196
- * @defaultValue false
12197
- *
12198
12220
  * Disables prompting the user for print settings.
12221
+ *
12222
+ * @default false
12199
12223
  */
12200
12224
  silent?: boolean;
12201
12225
  /**
12202
- * @defaultValue false
12203
- *
12204
12226
  * Includes the webpage background color and image when printing.
12227
+ *
12228
+ * @default false
12205
12229
  */
12206
12230
  printBackground?: boolean;
12207
12231
  /**
@@ -12209,9 +12233,9 @@ declare type PrintOptions = {
12209
12233
  */
12210
12234
  deviceName?: string;
12211
12235
  /**
12212
- * @defaultValue true
12213
- *
12214
12236
  * Prints in full color (greyscale otherwise).
12237
+ *
12238
+ * @default true
12215
12239
  */
12216
12240
  color?: boolean;
12217
12241
  /**
@@ -12219,9 +12243,9 @@ declare type PrintOptions = {
12219
12243
  */
12220
12244
  margins?: Margins;
12221
12245
  /**
12222
- * @defaultValue true
12223
- *
12224
12246
  * Prints in landscape mode (portrait otherwise).
12247
+ *
12248
+ * @default true
12225
12249
  */
12226
12250
  landscape?: boolean;
12227
12251
  /**
@@ -13402,15 +13426,15 @@ declare type ReplaceViewPayload = {
13402
13426
  */
13403
13427
  declare type ResizeRegion = {
13404
13428
  /**
13405
- * @defaultValue 7
13406
- *
13407
13429
  * The size of the resize region in pixels.
13430
+ *
13431
+ * @default 7
13408
13432
  */
13409
13433
  size?: number;
13410
13434
  /**
13411
- * @defaultValue 9
13412
- *
13413
13435
  * The size in pixels of an additional square resizable region located at the bottom right corner of a frameless window.
13436
+ *
13437
+ * @default 9
13414
13438
  */
13415
13439
  bottomRightCorner?: number;
13416
13440
  /**
@@ -13418,27 +13442,27 @@ declare type ResizeRegion = {
13418
13442
  */
13419
13443
  sides?: {
13420
13444
  /**
13421
- * @defaultValue true
13422
- *
13423
13445
  * Enables resizing from the top of the window.
13446
+ *
13447
+ * @default true
13424
13448
  */
13425
13449
  top?: boolean;
13426
13450
  /**
13427
- * @defaultValue true
13428
- *
13429
13451
  * Enables resizing from the bottom of the window.
13452
+ *
13453
+ * @default true
13430
13454
  */
13431
13455
  bottom?: boolean;
13432
13456
  /**
13433
- * @defaultValue true
13434
- *
13435
13457
  * Enables resizing from the left side of the window.
13458
+ *
13459
+ * @default true
13436
13460
  */
13437
13461
  left?: boolean;
13438
13462
  /**
13439
- * @defaultValue true
13440
- *
13441
13463
  * Enables resizing from the right side of the window.
13464
+ *
13465
+ * @default true
13442
13466
  */
13443
13467
  right?: boolean;
13444
13468
  };
@@ -13990,9 +14014,9 @@ declare type ShowTrayIconPopupMenuOptions<Data extends unknown = unknown> = {
13990
14014
  */
13991
14015
  declare type ShowViewOnWindowResizeOptions = ViewVisibilityOption & {
13992
14016
  /**
13993
- * @defaultValue 0
13994
- *
13995
14017
  * Number of milliseconds to wait between view repaints.
14018
+ *
14019
+ * @default 0
13996
14020
  */
13997
14021
  paintIntervalMs?: number;
13998
14022
  };
@@ -16036,9 +16060,9 @@ declare type TransitionBase = {
16036
16060
  */
16037
16061
  duration: number;
16038
16062
  /**
16039
- * @defaultValue false
16040
- *
16041
16063
  * Treats 'opacity' as absolute or as a delta. Defaults to false.
16064
+ *
16065
+ * @default false
16042
16066
  */
16043
16067
  relative?: boolean;
16044
16068
  };
@@ -16054,9 +16078,9 @@ declare type TransitionOptions = {
16054
16078
  */
16055
16079
  interrupt: boolean;
16056
16080
  /**
16057
- * @defaultValue false
16058
- *
16059
16081
  * Treats 'opacity' as absolute or as a delta. Defaults to false.
16082
+ *
16083
+ * @default false
16060
16084
  */
16061
16085
  relative?: boolean;
16062
16086
  tween?: tween;
@@ -17090,9 +17114,9 @@ declare type ViewTitlePriority = 'document' | 'options';
17090
17114
  */
17091
17115
  declare type ViewVisibilityOption = {
17092
17116
  /**
17093
- * @defaultValue false
17094
- *
17095
17117
  * Enables or disables showing views when the layout splitter or a tab is being dragged or a Platform Window is being resized.
17118
+ *
17119
+ * @default false
17096
17120
  */
17097
17121
  enabled?: boolean;
17098
17122
  };