@openfin/core 40.82.22 → 40.82.24

Sign up to get free protection for your applications and to get access to all the features.
@@ -2938,6 +2938,18 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
2938
2938
  childOptions: OpenFin_2.WindowOptions;
2939
2939
  };
2940
2940
 
2941
+ /**
2942
+ * Control behavior for Chromium policies
2943
+ *
2944
+ * @interface
2945
+ */
2946
+ declare type ChromiumPolicies = {
2947
+ /**
2948
+ * Disable AutofillAddressEnabled policy for a Window or View.
2949
+ */
2950
+ AutofillAddressEnabled?: PolicyOptions;
2951
+ };
2952
+
2941
2953
  declare interface ClassicProtocolOffer extends ProtocolPacketBase {
2942
2954
  type: 'classic';
2943
2955
  }
@@ -3449,6 +3461,10 @@ declare type ConstViewOptions = {
3449
3461
  */
3450
3462
  enabled: boolean;
3451
3463
  };
3464
+ /**
3465
+ * Control which options to ignore when creating a Platform View.
3466
+ */
3467
+ excludeOptions: ExcludeOptions;
3452
3468
  };
3453
3469
 
3454
3470
  /**
@@ -3693,6 +3709,10 @@ declare type ConstWindowOptions = {
3693
3709
  * 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.
3694
3710
  */
3695
3711
  inheritance?: Partial<InheritableOptions>;
3712
+ /**
3713
+ * Control which options to ignore when creating a Platform Window.
3714
+ */
3715
+ excludeOptions: ExcludeOptions;
3696
3716
  };
3697
3717
 
3698
3718
  /**
@@ -4873,6 +4893,18 @@ declare type EventType_9 = Event_12['type'];
4873
4893
 
4874
4894
  /* Excluded from this release type: EventWithId */
4875
4895
 
4896
+ /**
4897
+ * @interface
4898
+ */
4899
+ declare type ExcludeOptions = {
4900
+ /**
4901
+ * @defaultValue false
4902
+ *
4903
+ * When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
4904
+ */
4905
+ preloadScripts: boolean;
4906
+ };
4907
+
4876
4908
  /* Excluded from this release type: ExcludeRequested */
4877
4909
 
4878
4910
  declare type ExistingConnectConfig = ConfigWithUuid & {
@@ -8668,6 +8700,10 @@ declare type MutableViewOptions = {
8668
8700
  * @defaultValue 'enabled'
8669
8701
  */
8670
8702
  throttling: ViewThrottling;
8703
+ /**
8704
+ * {@inheritDoc ChromiumPolicies}
8705
+ */
8706
+ chromiumPolicies: ChromiumPolicies;
8671
8707
  };
8672
8708
 
8673
8709
  /**
@@ -8925,6 +8961,10 @@ declare type MutableWindowOptions = {
8925
8961
  * @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
8926
8962
  */
8927
8963
  throttling: WindowThrottling;
8964
+ /**
8965
+ * {@inheritDoc ChromiumPolicies}
8966
+ */
8967
+ chromiumPolicies: ChromiumPolicies;
8928
8968
  };
8929
8969
 
8930
8970
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -9135,8 +9175,11 @@ declare namespace OpenFin_2 {
9135
9175
  ViewVisibilityOptions,
9136
9176
  WindowState,
9137
9177
  AutoplayPolicyOptions,
9178
+ ExcludeOptions,
9138
9179
  ConstWindowOptions,
9139
9180
  InheritableOptions,
9181
+ PolicyOptions,
9182
+ ChromiumPolicies,
9140
9183
  MutableWindowOptions,
9141
9184
  WorkspacePlatformOptions,
9142
9185
  WebRequestHeader,
@@ -9621,6 +9664,10 @@ declare type PerDomainSettings = {
9621
9664
  * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
9622
9665
  */
9623
9666
  content?: ContentPermission;
9667
+ /**
9668
+ * {@inheritdoc ChromiumPolicies}
9669
+ */
9670
+ chromiumPolicies?: ChromiumPolicies;
9624
9671
  };
9625
9672
 
9626
9673
  /**
@@ -11079,6 +11126,12 @@ declare type PointTopLeft = {
11079
11126
  left: number;
11080
11127
  };
11081
11128
 
11129
+ /**
11130
+ * When set to `disable`, disables the policy
11131
+ * When set to `defer-to-group-policy`, respects Group Policy settings
11132
+ */
11133
+ declare type PolicyOptions = 'disable' | 'defer-to-group-policy';
11134
+
11082
11135
  declare type PopupBaseBehavior = 'close' | 'hide';
11083
11136
 
11084
11137
  declare type PopupBlurBehavior = 'modal' | PopupBaseBehavior;
@@ -2938,6 +2938,18 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
2938
2938
  childOptions: OpenFin_2.WindowOptions;
2939
2939
  };
2940
2940
 
2941
+ /**
2942
+ * Control behavior for Chromium policies
2943
+ *
2944
+ * @interface
2945
+ */
2946
+ declare type ChromiumPolicies = {
2947
+ /**
2948
+ * Disable AutofillAddressEnabled policy for a Window or View.
2949
+ */
2950
+ AutofillAddressEnabled?: PolicyOptions;
2951
+ };
2952
+
2941
2953
  declare interface ClassicProtocolOffer extends ProtocolPacketBase {
2942
2954
  type: 'classic';
2943
2955
  }
@@ -3449,6 +3461,10 @@ declare type ConstViewOptions = {
3449
3461
  */
3450
3462
  enabled: boolean;
3451
3463
  };
3464
+ /**
3465
+ * Control which options to ignore when creating a Platform View.
3466
+ */
3467
+ excludeOptions: ExcludeOptions;
3452
3468
  };
3453
3469
 
3454
3470
  /**
@@ -3693,6 +3709,10 @@ declare type ConstWindowOptions = {
3693
3709
  * 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.
3694
3710
  */
3695
3711
  inheritance?: Partial<InheritableOptions>;
3712
+ /**
3713
+ * Control which options to ignore when creating a Platform Window.
3714
+ */
3715
+ excludeOptions: ExcludeOptions;
3696
3716
  };
3697
3717
 
3698
3718
  /**
@@ -4873,6 +4893,18 @@ declare type EventType_9 = Event_12['type'];
4873
4893
 
4874
4894
  /* Excluded from this release type: EventWithId */
4875
4895
 
4896
+ /**
4897
+ * @interface
4898
+ */
4899
+ declare type ExcludeOptions = {
4900
+ /**
4901
+ * @defaultValue false
4902
+ *
4903
+ * When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
4904
+ */
4905
+ preloadScripts: boolean;
4906
+ };
4907
+
4876
4908
  /* Excluded from this release type: ExcludeRequested */
4877
4909
 
4878
4910
  declare type ExistingConnectConfig = ConfigWithUuid & {
@@ -8668,6 +8700,10 @@ declare type MutableViewOptions = {
8668
8700
  * @defaultValue 'enabled'
8669
8701
  */
8670
8702
  throttling: ViewThrottling;
8703
+ /**
8704
+ * {@inheritDoc ChromiumPolicies}
8705
+ */
8706
+ chromiumPolicies: ChromiumPolicies;
8671
8707
  };
8672
8708
 
8673
8709
  /**
@@ -8925,6 +8961,10 @@ declare type MutableWindowOptions = {
8925
8961
  * @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
8926
8962
  */
8927
8963
  throttling: WindowThrottling;
8964
+ /**
8965
+ * {@inheritDoc ChromiumPolicies}
8966
+ */
8967
+ chromiumPolicies: ChromiumPolicies;
8928
8968
  };
8929
8969
 
8930
8970
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -9135,8 +9175,11 @@ declare namespace OpenFin_2 {
9135
9175
  ViewVisibilityOptions,
9136
9176
  WindowState,
9137
9177
  AutoplayPolicyOptions,
9178
+ ExcludeOptions,
9138
9179
  ConstWindowOptions,
9139
9180
  InheritableOptions,
9181
+ PolicyOptions,
9182
+ ChromiumPolicies,
9140
9183
  MutableWindowOptions,
9141
9184
  WorkspacePlatformOptions,
9142
9185
  WebRequestHeader,
@@ -9621,6 +9664,10 @@ declare type PerDomainSettings = {
9621
9664
  * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
9622
9665
  */
9623
9666
  content?: ContentPermission;
9667
+ /**
9668
+ * {@inheritdoc ChromiumPolicies}
9669
+ */
9670
+ chromiumPolicies?: ChromiumPolicies;
9624
9671
  };
9625
9672
 
9626
9673
  /**
@@ -11079,6 +11126,12 @@ declare type PointTopLeft = {
11079
11126
  left: number;
11080
11127
  };
11081
11128
 
11129
+ /**
11130
+ * When set to `disable`, disables the policy
11131
+ * When set to `defer-to-group-policy`, respects Group Policy settings
11132
+ */
11133
+ declare type PolicyOptions = 'disable' | 'defer-to-group-policy';
11134
+
11082
11135
  declare type PopupBaseBehavior = 'close' | 'hide';
11083
11136
 
11084
11137
  declare type PopupBlurBehavior = 'modal' | PopupBaseBehavior;
@@ -2938,6 +2938,18 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
2938
2938
  childOptions: OpenFin_2.WindowOptions;
2939
2939
  };
2940
2940
 
2941
+ /**
2942
+ * Control behavior for Chromium policies
2943
+ *
2944
+ * @interface
2945
+ */
2946
+ declare type ChromiumPolicies = {
2947
+ /**
2948
+ * Disable AutofillAddressEnabled policy for a Window or View.
2949
+ */
2950
+ AutofillAddressEnabled?: PolicyOptions;
2951
+ };
2952
+
2941
2953
  declare interface ClassicProtocolOffer extends ProtocolPacketBase {
2942
2954
  type: 'classic';
2943
2955
  }
@@ -3449,6 +3461,10 @@ declare type ConstViewOptions = {
3449
3461
  */
3450
3462
  enabled: boolean;
3451
3463
  };
3464
+ /**
3465
+ * Control which options to ignore when creating a Platform View.
3466
+ */
3467
+ excludeOptions: ExcludeOptions;
3452
3468
  };
3453
3469
 
3454
3470
  /**
@@ -3693,6 +3709,10 @@ declare type ConstWindowOptions = {
3693
3709
  * 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.
3694
3710
  */
3695
3711
  inheritance?: Partial<InheritableOptions>;
3712
+ /**
3713
+ * Control which options to ignore when creating a Platform Window.
3714
+ */
3715
+ excludeOptions: ExcludeOptions;
3696
3716
  };
3697
3717
 
3698
3718
  /**
@@ -4873,6 +4893,18 @@ declare type EventType_9 = Event_12['type'];
4873
4893
 
4874
4894
  /* Excluded from this release type: EventWithId */
4875
4895
 
4896
+ /**
4897
+ * @interface
4898
+ */
4899
+ declare type ExcludeOptions = {
4900
+ /**
4901
+ * @defaultValue false
4902
+ *
4903
+ * When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
4904
+ */
4905
+ preloadScripts: boolean;
4906
+ };
4907
+
4876
4908
  /* Excluded from this release type: ExcludeRequested */
4877
4909
 
4878
4910
  declare type ExistingConnectConfig = ConfigWithUuid & {
@@ -8668,6 +8700,10 @@ declare type MutableViewOptions = {
8668
8700
  * @defaultValue 'enabled'
8669
8701
  */
8670
8702
  throttling: ViewThrottling;
8703
+ /**
8704
+ * {@inheritDoc ChromiumPolicies}
8705
+ */
8706
+ chromiumPolicies: ChromiumPolicies;
8671
8707
  };
8672
8708
 
8673
8709
  /**
@@ -8925,6 +8961,10 @@ declare type MutableWindowOptions = {
8925
8961
  * @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
8926
8962
  */
8927
8963
  throttling: WindowThrottling;
8964
+ /**
8965
+ * {@inheritDoc ChromiumPolicies}
8966
+ */
8967
+ chromiumPolicies: ChromiumPolicies;
8928
8968
  };
8929
8969
 
8930
8970
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -9135,8 +9175,11 @@ declare namespace OpenFin_2 {
9135
9175
  ViewVisibilityOptions,
9136
9176
  WindowState,
9137
9177
  AutoplayPolicyOptions,
9178
+ ExcludeOptions,
9138
9179
  ConstWindowOptions,
9139
9180
  InheritableOptions,
9181
+ PolicyOptions,
9182
+ ChromiumPolicies,
9140
9183
  MutableWindowOptions,
9141
9184
  WorkspacePlatformOptions,
9142
9185
  WebRequestHeader,
@@ -9621,6 +9664,10 @@ declare type PerDomainSettings = {
9621
9664
  * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
9622
9665
  */
9623
9666
  content?: ContentPermission;
9667
+ /**
9668
+ * {@inheritdoc ChromiumPolicies}
9669
+ */
9670
+ chromiumPolicies?: ChromiumPolicies;
9624
9671
  };
9625
9672
 
9626
9673
  /**
@@ -11079,6 +11126,12 @@ declare type PointTopLeft = {
11079
11126
  left: number;
11080
11127
  };
11081
11128
 
11129
+ /**
11130
+ * When set to `disable`, disables the policy
11131
+ * When set to `defer-to-group-policy`, respects Group Policy settings
11132
+ */
11133
+ declare type PolicyOptions = 'disable' | 'defer-to-group-policy';
11134
+
11082
11135
  declare type PopupBaseBehavior = 'close' | 'hide';
11083
11136
 
11084
11137
  declare type PopupBlurBehavior = 'modal' | PopupBaseBehavior;
package/out/mock.d.ts CHANGED
@@ -2994,6 +2994,18 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
2994
2994
  childOptions: OpenFin_2.WindowOptions;
2995
2995
  };
2996
2996
 
2997
+ /**
2998
+ * Control behavior for Chromium policies
2999
+ *
3000
+ * @interface
3001
+ */
3002
+ declare type ChromiumPolicies = {
3003
+ /**
3004
+ * Disable AutofillAddressEnabled policy for a Window or View.
3005
+ */
3006
+ AutofillAddressEnabled?: PolicyOptions;
3007
+ };
3008
+
2997
3009
  declare interface ClassicProtocolOffer extends ProtocolPacketBase {
2998
3010
  type: 'classic';
2999
3011
  }
@@ -3508,6 +3520,10 @@ declare type ConstViewOptions = {
3508
3520
  */
3509
3521
  enabled: boolean;
3510
3522
  };
3523
+ /**
3524
+ * Control which options to ignore when creating a Platform View.
3525
+ */
3526
+ excludeOptions: ExcludeOptions;
3511
3527
  };
3512
3528
 
3513
3529
  /**
@@ -3752,6 +3768,10 @@ declare type ConstWindowOptions = {
3752
3768
  * 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.
3753
3769
  */
3754
3770
  inheritance?: Partial<InheritableOptions>;
3771
+ /**
3772
+ * Control which options to ignore when creating a Platform Window.
3773
+ */
3774
+ excludeOptions: ExcludeOptions;
3755
3775
  };
3756
3776
 
3757
3777
  /**
@@ -4946,6 +4966,18 @@ declare type EventWithId<Event extends AppVersionEvent> = Event extends infer E
4946
4966
  appVersionId: string;
4947
4967
  } : never;
4948
4968
 
4969
+ /**
4970
+ * @interface
4971
+ */
4972
+ declare type ExcludeOptions = {
4973
+ /**
4974
+ * @defaultValue false
4975
+ *
4976
+ * When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
4977
+ */
4978
+ preloadScripts: boolean;
4979
+ };
4980
+
4949
4981
  /**
4950
4982
  * @internal
4951
4983
  *
@@ -8968,6 +9000,10 @@ declare type MutableViewOptions = {
8968
9000
  * @defaultValue 'enabled'
8969
9001
  */
8970
9002
  throttling: ViewThrottling;
9003
+ /**
9004
+ * {@inheritDoc ChromiumPolicies}
9005
+ */
9006
+ chromiumPolicies: ChromiumPolicies;
8971
9007
  };
8972
9008
 
8973
9009
  /**
@@ -9233,6 +9269,10 @@ declare type MutableWindowOptions = {
9233
9269
  * @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
9234
9270
  */
9235
9271
  throttling: WindowThrottling;
9272
+ /**
9273
+ * {@inheritDoc ChromiumPolicies}
9274
+ */
9275
+ chromiumPolicies: ChromiumPolicies;
9236
9276
  };
9237
9277
 
9238
9278
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -9453,8 +9493,11 @@ declare namespace OpenFin_2 {
9453
9493
  ViewVisibilityOptions,
9454
9494
  WindowState,
9455
9495
  AutoplayPolicyOptions,
9496
+ ExcludeOptions,
9456
9497
  ConstWindowOptions,
9457
9498
  InheritableOptions,
9499
+ PolicyOptions,
9500
+ ChromiumPolicies,
9458
9501
  MutableWindowOptions,
9459
9502
  WorkspacePlatformOptions,
9460
9503
  WebRequestHeader,
@@ -9939,6 +9982,10 @@ declare type PerDomainSettings = {
9939
9982
  * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
9940
9983
  */
9941
9984
  content?: ContentPermission;
9985
+ /**
9986
+ * {@inheritdoc ChromiumPolicies}
9987
+ */
9988
+ chromiumPolicies?: ChromiumPolicies;
9942
9989
  };
9943
9990
 
9944
9991
  /**
@@ -11480,6 +11527,12 @@ declare type PointTopLeft = {
11480
11527
  left: number;
11481
11528
  };
11482
11529
 
11530
+ /**
11531
+ * When set to `disable`, disables the policy
11532
+ * When set to `defer-to-group-policy`, respects Group Policy settings
11533
+ */
11534
+ declare type PolicyOptions = 'disable' | 'defer-to-group-policy';
11535
+
11483
11536
  declare type PopupBaseBehavior = 'close' | 'hide';
11484
11537
 
11485
11538
  declare type PopupBlurBehavior = 'modal' | PopupBaseBehavior;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "40.82.22",
3
+ "version": "40.82.24",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/mock.js",