@openfin/fdc3-api 40.82.22 → 40.82.24

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.
@@ -2935,6 +2935,18 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
2935
2935
  childOptions: OpenFin.WindowOptions;
2936
2936
  };
2937
2937
 
2938
+ /**
2939
+ * Control behavior for Chromium policies
2940
+ *
2941
+ * @interface
2942
+ */
2943
+ declare type ChromiumPolicies = {
2944
+ /**
2945
+ * Disable AutofillAddressEnabled policy for a Window or View.
2946
+ */
2947
+ AutofillAddressEnabled?: PolicyOptions;
2948
+ };
2949
+
2938
2950
  declare interface ClassicProtocolOffer extends ProtocolPacketBase {
2939
2951
  type: 'classic';
2940
2952
  }
@@ -3446,6 +3458,10 @@ declare type ConstViewOptions = {
3446
3458
  */
3447
3459
  enabled: boolean;
3448
3460
  };
3461
+ /**
3462
+ * Control which options to ignore when creating a Platform View.
3463
+ */
3464
+ excludeOptions: ExcludeOptions;
3449
3465
  };
3450
3466
 
3451
3467
  /**
@@ -3690,6 +3706,10 @@ declare type ConstWindowOptions = {
3690
3706
  * Controls whether an option is inherited from the parent application. The option is set as part of the window options for the parent application in either the {@link Manifest.startup_app} or {@link Manifest.platform} properties in the manifest or in {@link ApplicationOptions.mainWindowOptions} when calling {@link Application.ApplicationModule.start Application.start}. Use { [option]: false } to disable a specific [option]. All inheritable properties will be inherited by default if omitted.
3691
3707
  */
3692
3708
  inheritance?: Partial<InheritableOptions>;
3709
+ /**
3710
+ * Control which options to ignore when creating a Platform Window.
3711
+ */
3712
+ excludeOptions: ExcludeOptions;
3693
3713
  };
3694
3714
 
3695
3715
  /**
@@ -4870,6 +4890,18 @@ declare type EventType_9 = Event_12['type'];
4870
4890
 
4871
4891
  /* Excluded from this release type: EventWithId */
4872
4892
 
4893
+ /**
4894
+ * @interface
4895
+ */
4896
+ declare type ExcludeOptions = {
4897
+ /**
4898
+ * @defaultValue false
4899
+ *
4900
+ * When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
4901
+ */
4902
+ preloadScripts: boolean;
4903
+ };
4904
+
4873
4905
  /* Excluded from this release type: ExcludeRequested */
4874
4906
 
4875
4907
  declare type ExistingConnectConfig = ConfigWithUuid & {
@@ -9010,6 +9042,10 @@ declare type MutableViewOptions = {
9010
9042
  * @defaultValue 'enabled'
9011
9043
  */
9012
9044
  throttling: ViewThrottling;
9045
+ /**
9046
+ * {@inheritDoc ChromiumPolicies}
9047
+ */
9048
+ chromiumPolicies: ChromiumPolicies;
9013
9049
  };
9014
9050
 
9015
9051
  /**
@@ -9267,6 +9303,10 @@ declare type MutableWindowOptions = {
9267
9303
  * @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
9268
9304
  */
9269
9305
  throttling: WindowThrottling;
9306
+ /**
9307
+ * {@inheritDoc ChromiumPolicies}
9308
+ */
9309
+ chromiumPolicies: ChromiumPolicies;
9270
9310
  };
9271
9311
 
9272
9312
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -9477,8 +9517,11 @@ declare namespace OpenFin {
9477
9517
  ViewVisibilityOptions,
9478
9518
  WindowState,
9479
9519
  AutoplayPolicyOptions,
9520
+ ExcludeOptions,
9480
9521
  ConstWindowOptions,
9481
9522
  InheritableOptions,
9523
+ PolicyOptions,
9524
+ ChromiumPolicies,
9482
9525
  MutableWindowOptions,
9483
9526
  WorkspacePlatformOptions,
9484
9527
  WebRequestHeader,
@@ -9961,6 +10004,10 @@ declare type PerDomainSettings = {
9961
10004
  * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
9962
10005
  */
9963
10006
  content?: ContentPermission;
10007
+ /**
10008
+ * {@inheritdoc ChromiumPolicies}
10009
+ */
10010
+ chromiumPolicies?: ChromiumPolicies;
9964
10011
  };
9965
10012
 
9966
10013
  /**
@@ -11419,6 +11466,12 @@ declare type PointTopLeft = {
11419
11466
  left: number;
11420
11467
  };
11421
11468
 
11469
+ /**
11470
+ * When set to `disable`, disables the policy
11471
+ * When set to `defer-to-group-policy`, respects Group Policy settings
11472
+ */
11473
+ declare type PolicyOptions = 'disable' | 'defer-to-group-policy';
11474
+
11422
11475
  declare type PopupBaseBehavior = 'close' | 'hide';
11423
11476
 
11424
11477
  declare type PopupBlurBehavior = 'modal' | PopupBaseBehavior;
@@ -2935,6 +2935,18 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
2935
2935
  childOptions: OpenFin.WindowOptions;
2936
2936
  };
2937
2937
 
2938
+ /**
2939
+ * Control behavior for Chromium policies
2940
+ *
2941
+ * @interface
2942
+ */
2943
+ declare type ChromiumPolicies = {
2944
+ /**
2945
+ * Disable AutofillAddressEnabled policy for a Window or View.
2946
+ */
2947
+ AutofillAddressEnabled?: PolicyOptions;
2948
+ };
2949
+
2938
2950
  declare interface ClassicProtocolOffer extends ProtocolPacketBase {
2939
2951
  type: 'classic';
2940
2952
  }
@@ -3446,6 +3458,10 @@ declare type ConstViewOptions = {
3446
3458
  */
3447
3459
  enabled: boolean;
3448
3460
  };
3461
+ /**
3462
+ * Control which options to ignore when creating a Platform View.
3463
+ */
3464
+ excludeOptions: ExcludeOptions;
3449
3465
  };
3450
3466
 
3451
3467
  /**
@@ -3690,6 +3706,10 @@ declare type ConstWindowOptions = {
3690
3706
  * Controls whether an option is inherited from the parent application. The option is set as part of the window options for the parent application in either the {@link Manifest.startup_app} or {@link Manifest.platform} properties in the manifest or in {@link ApplicationOptions.mainWindowOptions} when calling {@link Application.ApplicationModule.start Application.start}. Use { [option]: false } to disable a specific [option]. All inheritable properties will be inherited by default if omitted.
3691
3707
  */
3692
3708
  inheritance?: Partial<InheritableOptions>;
3709
+ /**
3710
+ * Control which options to ignore when creating a Platform Window.
3711
+ */
3712
+ excludeOptions: ExcludeOptions;
3693
3713
  };
3694
3714
 
3695
3715
  /**
@@ -4870,6 +4890,18 @@ declare type EventType_9 = Event_12['type'];
4870
4890
 
4871
4891
  /* Excluded from this release type: EventWithId */
4872
4892
 
4893
+ /**
4894
+ * @interface
4895
+ */
4896
+ declare type ExcludeOptions = {
4897
+ /**
4898
+ * @defaultValue false
4899
+ *
4900
+ * When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
4901
+ */
4902
+ preloadScripts: boolean;
4903
+ };
4904
+
4873
4905
  /* Excluded from this release type: ExcludeRequested */
4874
4906
 
4875
4907
  declare type ExistingConnectConfig = ConfigWithUuid & {
@@ -9010,6 +9042,10 @@ declare type MutableViewOptions = {
9010
9042
  * @defaultValue 'enabled'
9011
9043
  */
9012
9044
  throttling: ViewThrottling;
9045
+ /**
9046
+ * {@inheritDoc ChromiumPolicies}
9047
+ */
9048
+ chromiumPolicies: ChromiumPolicies;
9013
9049
  };
9014
9050
 
9015
9051
  /**
@@ -9267,6 +9303,10 @@ declare type MutableWindowOptions = {
9267
9303
  * @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
9268
9304
  */
9269
9305
  throttling: WindowThrottling;
9306
+ /**
9307
+ * {@inheritDoc ChromiumPolicies}
9308
+ */
9309
+ chromiumPolicies: ChromiumPolicies;
9270
9310
  };
9271
9311
 
9272
9312
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -9477,8 +9517,11 @@ declare namespace OpenFin {
9477
9517
  ViewVisibilityOptions,
9478
9518
  WindowState,
9479
9519
  AutoplayPolicyOptions,
9520
+ ExcludeOptions,
9480
9521
  ConstWindowOptions,
9481
9522
  InheritableOptions,
9523
+ PolicyOptions,
9524
+ ChromiumPolicies,
9482
9525
  MutableWindowOptions,
9483
9526
  WorkspacePlatformOptions,
9484
9527
  WebRequestHeader,
@@ -9961,6 +10004,10 @@ declare type PerDomainSettings = {
9961
10004
  * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
9962
10005
  */
9963
10006
  content?: ContentPermission;
10007
+ /**
10008
+ * {@inheritdoc ChromiumPolicies}
10009
+ */
10010
+ chromiumPolicies?: ChromiumPolicies;
9964
10011
  };
9965
10012
 
9966
10013
  /**
@@ -11419,6 +11466,12 @@ declare type PointTopLeft = {
11419
11466
  left: number;
11420
11467
  };
11421
11468
 
11469
+ /**
11470
+ * When set to `disable`, disables the policy
11471
+ * When set to `defer-to-group-policy`, respects Group Policy settings
11472
+ */
11473
+ declare type PolicyOptions = 'disable' | 'defer-to-group-policy';
11474
+
11422
11475
  declare type PopupBaseBehavior = 'close' | 'hide';
11423
11476
 
11424
11477
  declare type PopupBlurBehavior = 'modal' | PopupBaseBehavior;
@@ -2935,6 +2935,18 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
2935
2935
  childOptions: OpenFin.WindowOptions;
2936
2936
  };
2937
2937
 
2938
+ /**
2939
+ * Control behavior for Chromium policies
2940
+ *
2941
+ * @interface
2942
+ */
2943
+ declare type ChromiumPolicies = {
2944
+ /**
2945
+ * Disable AutofillAddressEnabled policy for a Window or View.
2946
+ */
2947
+ AutofillAddressEnabled?: PolicyOptions;
2948
+ };
2949
+
2938
2950
  declare interface ClassicProtocolOffer extends ProtocolPacketBase {
2939
2951
  type: 'classic';
2940
2952
  }
@@ -3446,6 +3458,10 @@ declare type ConstViewOptions = {
3446
3458
  */
3447
3459
  enabled: boolean;
3448
3460
  };
3461
+ /**
3462
+ * Control which options to ignore when creating a Platform View.
3463
+ */
3464
+ excludeOptions: ExcludeOptions;
3449
3465
  };
3450
3466
 
3451
3467
  /**
@@ -3690,6 +3706,10 @@ declare type ConstWindowOptions = {
3690
3706
  * Controls whether an option is inherited from the parent application. The option is set as part of the window options for the parent application in either the {@link Manifest.startup_app} or {@link Manifest.platform} properties in the manifest or in {@link ApplicationOptions.mainWindowOptions} when calling {@link Application.ApplicationModule.start Application.start}. Use { [option]: false } to disable a specific [option]. All inheritable properties will be inherited by default if omitted.
3691
3707
  */
3692
3708
  inheritance?: Partial<InheritableOptions>;
3709
+ /**
3710
+ * Control which options to ignore when creating a Platform Window.
3711
+ */
3712
+ excludeOptions: ExcludeOptions;
3693
3713
  };
3694
3714
 
3695
3715
  /**
@@ -4870,6 +4890,18 @@ declare type EventType_9 = Event_12['type'];
4870
4890
 
4871
4891
  /* Excluded from this release type: EventWithId */
4872
4892
 
4893
+ /**
4894
+ * @interface
4895
+ */
4896
+ declare type ExcludeOptions = {
4897
+ /**
4898
+ * @defaultValue false
4899
+ *
4900
+ * When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
4901
+ */
4902
+ preloadScripts: boolean;
4903
+ };
4904
+
4873
4905
  /* Excluded from this release type: ExcludeRequested */
4874
4906
 
4875
4907
  declare type ExistingConnectConfig = ConfigWithUuid & {
@@ -9010,6 +9042,10 @@ declare type MutableViewOptions = {
9010
9042
  * @defaultValue 'enabled'
9011
9043
  */
9012
9044
  throttling: ViewThrottling;
9045
+ /**
9046
+ * {@inheritDoc ChromiumPolicies}
9047
+ */
9048
+ chromiumPolicies: ChromiumPolicies;
9013
9049
  };
9014
9050
 
9015
9051
  /**
@@ -9267,6 +9303,10 @@ declare type MutableWindowOptions = {
9267
9303
  * @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
9268
9304
  */
9269
9305
  throttling: WindowThrottling;
9306
+ /**
9307
+ * {@inheritDoc ChromiumPolicies}
9308
+ */
9309
+ chromiumPolicies: ChromiumPolicies;
9270
9310
  };
9271
9311
 
9272
9312
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -9477,8 +9517,11 @@ declare namespace OpenFin {
9477
9517
  ViewVisibilityOptions,
9478
9518
  WindowState,
9479
9519
  AutoplayPolicyOptions,
9520
+ ExcludeOptions,
9480
9521
  ConstWindowOptions,
9481
9522
  InheritableOptions,
9523
+ PolicyOptions,
9524
+ ChromiumPolicies,
9482
9525
  MutableWindowOptions,
9483
9526
  WorkspacePlatformOptions,
9484
9527
  WebRequestHeader,
@@ -9961,6 +10004,10 @@ declare type PerDomainSettings = {
9961
10004
  * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
9962
10005
  */
9963
10006
  content?: ContentPermission;
10007
+ /**
10008
+ * {@inheritdoc ChromiumPolicies}
10009
+ */
10010
+ chromiumPolicies?: ChromiumPolicies;
9964
10011
  };
9965
10012
 
9966
10013
  /**
@@ -11419,6 +11466,12 @@ declare type PointTopLeft = {
11419
11466
  left: number;
11420
11467
  };
11421
11468
 
11469
+ /**
11470
+ * When set to `disable`, disables the policy
11471
+ * When set to `defer-to-group-policy`, respects Group Policy settings
11472
+ */
11473
+ declare type PolicyOptions = 'disable' | 'defer-to-group-policy';
11474
+
11422
11475
  declare type PopupBaseBehavior = 'close' | 'hide';
11423
11476
 
11424
11477
  declare type PopupBlurBehavior = 'modal' | PopupBaseBehavior;
package/out/fdc3-api.d.ts CHANGED
@@ -2991,6 +2991,18 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
2991
2991
  childOptions: OpenFin.WindowOptions;
2992
2992
  };
2993
2993
 
2994
+ /**
2995
+ * Control behavior for Chromium policies
2996
+ *
2997
+ * @interface
2998
+ */
2999
+ declare type ChromiumPolicies = {
3000
+ /**
3001
+ * Disable AutofillAddressEnabled policy for a Window or View.
3002
+ */
3003
+ AutofillAddressEnabled?: PolicyOptions;
3004
+ };
3005
+
2994
3006
  declare interface ClassicProtocolOffer extends ProtocolPacketBase {
2995
3007
  type: 'classic';
2996
3008
  }
@@ -3505,6 +3517,10 @@ declare type ConstViewOptions = {
3505
3517
  */
3506
3518
  enabled: boolean;
3507
3519
  };
3520
+ /**
3521
+ * Control which options to ignore when creating a Platform View.
3522
+ */
3523
+ excludeOptions: ExcludeOptions;
3508
3524
  };
3509
3525
 
3510
3526
  /**
@@ -3749,6 +3765,10 @@ declare type ConstWindowOptions = {
3749
3765
  * Controls whether an option is inherited from the parent application. The option is set as part of the window options for the parent application in either the {@link Manifest.startup_app} or {@link Manifest.platform} properties in the manifest or in {@link ApplicationOptions.mainWindowOptions} when calling {@link Application.ApplicationModule.start Application.start}. Use { [option]: false } to disable a specific [option]. All inheritable properties will be inherited by default if omitted.
3750
3766
  */
3751
3767
  inheritance?: Partial<InheritableOptions>;
3768
+ /**
3769
+ * Control which options to ignore when creating a Platform Window.
3770
+ */
3771
+ excludeOptions: ExcludeOptions;
3752
3772
  };
3753
3773
 
3754
3774
  /**
@@ -4943,6 +4963,18 @@ declare type EventWithId<Event extends AppVersionEvent> = Event extends infer E
4943
4963
  appVersionId: string;
4944
4964
  } : never;
4945
4965
 
4966
+ /**
4967
+ * @interface
4968
+ */
4969
+ declare type ExcludeOptions = {
4970
+ /**
4971
+ * @defaultValue false
4972
+ *
4973
+ * When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
4974
+ */
4975
+ preloadScripts: boolean;
4976
+ };
4977
+
4946
4978
  /**
4947
4979
  * @internal
4948
4980
  *
@@ -9310,6 +9342,10 @@ declare type MutableViewOptions = {
9310
9342
  * @defaultValue 'enabled'
9311
9343
  */
9312
9344
  throttling: ViewThrottling;
9345
+ /**
9346
+ * {@inheritDoc ChromiumPolicies}
9347
+ */
9348
+ chromiumPolicies: ChromiumPolicies;
9313
9349
  };
9314
9350
 
9315
9351
  /**
@@ -9575,6 +9611,10 @@ declare type MutableWindowOptions = {
9575
9611
  * @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
9576
9612
  */
9577
9613
  throttling: WindowThrottling;
9614
+ /**
9615
+ * {@inheritDoc ChromiumPolicies}
9616
+ */
9617
+ chromiumPolicies: ChromiumPolicies;
9578
9618
  };
9579
9619
 
9580
9620
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -9795,8 +9835,11 @@ declare namespace OpenFin {
9795
9835
  ViewVisibilityOptions,
9796
9836
  WindowState,
9797
9837
  AutoplayPolicyOptions,
9838
+ ExcludeOptions,
9798
9839
  ConstWindowOptions,
9799
9840
  InheritableOptions,
9841
+ PolicyOptions,
9842
+ ChromiumPolicies,
9800
9843
  MutableWindowOptions,
9801
9844
  WorkspacePlatformOptions,
9802
9845
  WebRequestHeader,
@@ -10279,6 +10322,10 @@ declare type PerDomainSettings = {
10279
10322
  * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
10280
10323
  */
10281
10324
  content?: ContentPermission;
10325
+ /**
10326
+ * {@inheritdoc ChromiumPolicies}
10327
+ */
10328
+ chromiumPolicies?: ChromiumPolicies;
10282
10329
  };
10283
10330
 
10284
10331
  /**
@@ -11820,6 +11867,12 @@ declare type PointTopLeft = {
11820
11867
  left: number;
11821
11868
  };
11822
11869
 
11870
+ /**
11871
+ * When set to `disable`, disables the policy
11872
+ * When set to `defer-to-group-policy`, respects Group Policy settings
11873
+ */
11874
+ declare type PolicyOptions = 'disable' | 'defer-to-group-policy';
11875
+
11823
11876
  declare type PopupBaseBehavior = 'close' | 'hide';
11824
11877
 
11825
11878
  declare type PopupBlurBehavior = 'modal' | PopupBaseBehavior;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "40.82.22",
3
+ "version": "40.82.24",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,