@openfin/fdc3-api 36.79.19 → 36.80.1

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.
@@ -966,7 +966,7 @@ declare type ApplicationIdentity_2 = {
966
966
  * @interface
967
967
  */
968
968
  declare type ApplicationInfo = {
969
- initialOptions: ApplicationCreationOptions;
969
+ initialOptions: ApplicationCreationOptions | PlatformOptions;
970
970
  launchMode: string;
971
971
  manifest: Manifest & {
972
972
  [key: string]: any;
@@ -3839,6 +3839,10 @@ declare type ConstWindowOptions = {
3839
3839
  * _Platform Windows Only_. Controls behavior for showing views when they are being resized by the user.
3840
3840
  */
3841
3841
  viewVisibility?: ViewVisibilityOptions;
3842
+ /**
3843
+ * 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.
3844
+ */
3845
+ inheritance?: Partial<InheritableOptions>;
3842
3846
  };
3843
3847
 
3844
3848
  declare interface Container extends EventEmitter_2 {
@@ -6227,6 +6231,8 @@ declare class _Frame extends EmitterBase<OpenFin.FrameEvent> {
6227
6231
  * Returns a frame info object representing the window that the referenced iframe is
6228
6232
  * currently embedded in.
6229
6233
  *
6234
+ * @remarks If the frame is embedded in a view, this will return an invalid stub with empty fields.
6235
+ *
6230
6236
  * @example
6231
6237
  * ```js
6232
6238
  * async function getParentWindow() {
@@ -7072,6 +7078,13 @@ declare type InfoForIntentOptions<MetadataType = IntentMetadata_3> = {
7072
7078
  metadata?: MetadataType;
7073
7079
  };
7074
7080
 
7081
+ declare type InheritableOptions = {
7082
+ customContext: boolean;
7083
+ customData: boolean;
7084
+ icon: boolean;
7085
+ preloadScripts: boolean;
7086
+ };
7087
+
7075
7088
  /**
7076
7089
  * Generated when an application has initialized.
7077
7090
  * @interface
@@ -8673,6 +8686,7 @@ declare type LaunchExternalProcessRule = {
8673
8686
  */
8674
8687
  declare type LaunchIntoPlatformPayload = {
8675
8688
  manifest: any;
8689
+ manifestUrl?: string;
8676
8690
  };
8677
8691
 
8678
8692
  /**
@@ -10303,6 +10317,7 @@ declare namespace OpenFin {
10303
10317
  WindowState,
10304
10318
  AutoplayPolicyOptions,
10305
10319
  ConstWindowOptions,
10320
+ InheritableOptions,
10306
10321
  MutableWindowOptions,
10307
10322
  WorkspacePlatformOptions,
10308
10323
  WebRequestHeader,
@@ -11538,6 +11553,14 @@ declare type PlatformOptions = ApplicationCreationOptions & {
11538
11553
  * The provider url.
11539
11554
  */
11540
11555
  providerUrl?: string;
11556
+ /**
11557
+ * @defaultValue true
11558
+ *
11559
+ * Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
11560
+ *
11561
+ * NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
11562
+ */
11563
+ allowLaunchIntoPlatform?: boolean;
11541
11564
  };
11542
11565
 
11543
11566
  /**
@@ -12297,7 +12320,7 @@ declare type PreloadScriptInfoRunning = {
12297
12320
  * @interface
12298
12321
  */
12299
12322
  declare type PreloadScriptsStateChangedEvent = PreloadScriptsStateChangeEvent & {
12300
- type: 'preload-script-state-changed';
12323
+ type: 'preload-scripts-state-changed';
12301
12324
  };
12302
12325
 
12303
12326
  /**
@@ -12314,7 +12337,7 @@ declare type PreloadScriptsStateChangeEvent = BaseEvent_5 & {
12314
12337
  * @interface
12315
12338
  */
12316
12339
  declare type PreloadScriptsStateChangingEvent = PreloadScriptsStateChangeEvent & {
12317
- type: 'preload-script-state-changing';
12340
+ type: 'preload-scripts-state-changing';
12318
12341
  };
12319
12342
 
12320
12343
  declare type PresetLayoutOptions = OpenFin.PresetLayoutOptions;
@@ -966,7 +966,7 @@ declare type ApplicationIdentity_2 = {
966
966
  * @interface
967
967
  */
968
968
  declare type ApplicationInfo = {
969
- initialOptions: ApplicationCreationOptions;
969
+ initialOptions: ApplicationCreationOptions | PlatformOptions;
970
970
  launchMode: string;
971
971
  manifest: Manifest & {
972
972
  [key: string]: any;
@@ -3839,6 +3839,10 @@ declare type ConstWindowOptions = {
3839
3839
  * _Platform Windows Only_. Controls behavior for showing views when they are being resized by the user.
3840
3840
  */
3841
3841
  viewVisibility?: ViewVisibilityOptions;
3842
+ /**
3843
+ * 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.
3844
+ */
3845
+ inheritance?: Partial<InheritableOptions>;
3842
3846
  };
3843
3847
 
3844
3848
  declare interface Container extends EventEmitter_2 {
@@ -6227,6 +6231,8 @@ declare class _Frame extends EmitterBase<OpenFin.FrameEvent> {
6227
6231
  * Returns a frame info object representing the window that the referenced iframe is
6228
6232
  * currently embedded in.
6229
6233
  *
6234
+ * @remarks If the frame is embedded in a view, this will return an invalid stub with empty fields.
6235
+ *
6230
6236
  * @example
6231
6237
  * ```js
6232
6238
  * async function getParentWindow() {
@@ -7072,6 +7078,13 @@ declare type InfoForIntentOptions<MetadataType = IntentMetadata_3> = {
7072
7078
  metadata?: MetadataType;
7073
7079
  };
7074
7080
 
7081
+ declare type InheritableOptions = {
7082
+ customContext: boolean;
7083
+ customData: boolean;
7084
+ icon: boolean;
7085
+ preloadScripts: boolean;
7086
+ };
7087
+
7075
7088
  /**
7076
7089
  * Generated when an application has initialized.
7077
7090
  * @interface
@@ -8673,6 +8686,7 @@ declare type LaunchExternalProcessRule = {
8673
8686
  */
8674
8687
  declare type LaunchIntoPlatformPayload = {
8675
8688
  manifest: any;
8689
+ manifestUrl?: string;
8676
8690
  };
8677
8691
 
8678
8692
  /**
@@ -10303,6 +10317,7 @@ declare namespace OpenFin {
10303
10317
  WindowState,
10304
10318
  AutoplayPolicyOptions,
10305
10319
  ConstWindowOptions,
10320
+ InheritableOptions,
10306
10321
  MutableWindowOptions,
10307
10322
  WorkspacePlatformOptions,
10308
10323
  WebRequestHeader,
@@ -11538,6 +11553,14 @@ declare type PlatformOptions = ApplicationCreationOptions & {
11538
11553
  * The provider url.
11539
11554
  */
11540
11555
  providerUrl?: string;
11556
+ /**
11557
+ * @defaultValue true
11558
+ *
11559
+ * Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
11560
+ *
11561
+ * NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
11562
+ */
11563
+ allowLaunchIntoPlatform?: boolean;
11541
11564
  };
11542
11565
 
11543
11566
  /**
@@ -12297,7 +12320,7 @@ declare type PreloadScriptInfoRunning = {
12297
12320
  * @interface
12298
12321
  */
12299
12322
  declare type PreloadScriptsStateChangedEvent = PreloadScriptsStateChangeEvent & {
12300
- type: 'preload-script-state-changed';
12323
+ type: 'preload-scripts-state-changed';
12301
12324
  };
12302
12325
 
12303
12326
  /**
@@ -12314,7 +12337,7 @@ declare type PreloadScriptsStateChangeEvent = BaseEvent_5 & {
12314
12337
  * @interface
12315
12338
  */
12316
12339
  declare type PreloadScriptsStateChangingEvent = PreloadScriptsStateChangeEvent & {
12317
- type: 'preload-script-state-changing';
12340
+ type: 'preload-scripts-state-changing';
12318
12341
  };
12319
12342
 
12320
12343
  declare type PresetLayoutOptions = OpenFin.PresetLayoutOptions;
@@ -966,7 +966,7 @@ declare type ApplicationIdentity_2 = {
966
966
  * @interface
967
967
  */
968
968
  declare type ApplicationInfo = {
969
- initialOptions: ApplicationCreationOptions;
969
+ initialOptions: ApplicationCreationOptions | PlatformOptions;
970
970
  launchMode: string;
971
971
  manifest: Manifest & {
972
972
  [key: string]: any;
@@ -3839,6 +3839,10 @@ declare type ConstWindowOptions = {
3839
3839
  * _Platform Windows Only_. Controls behavior for showing views when they are being resized by the user.
3840
3840
  */
3841
3841
  viewVisibility?: ViewVisibilityOptions;
3842
+ /**
3843
+ * 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.
3844
+ */
3845
+ inheritance?: Partial<InheritableOptions>;
3842
3846
  };
3843
3847
 
3844
3848
  declare interface Container extends EventEmitter_2 {
@@ -6227,6 +6231,8 @@ declare class _Frame extends EmitterBase<OpenFin.FrameEvent> {
6227
6231
  * Returns a frame info object representing the window that the referenced iframe is
6228
6232
  * currently embedded in.
6229
6233
  *
6234
+ * @remarks If the frame is embedded in a view, this will return an invalid stub with empty fields.
6235
+ *
6230
6236
  * @example
6231
6237
  * ```js
6232
6238
  * async function getParentWindow() {
@@ -7072,6 +7078,13 @@ declare type InfoForIntentOptions<MetadataType = IntentMetadata_3> = {
7072
7078
  metadata?: MetadataType;
7073
7079
  };
7074
7080
 
7081
+ declare type InheritableOptions = {
7082
+ customContext: boolean;
7083
+ customData: boolean;
7084
+ icon: boolean;
7085
+ preloadScripts: boolean;
7086
+ };
7087
+
7075
7088
  /**
7076
7089
  * Generated when an application has initialized.
7077
7090
  * @interface
@@ -8673,6 +8686,7 @@ declare type LaunchExternalProcessRule = {
8673
8686
  */
8674
8687
  declare type LaunchIntoPlatformPayload = {
8675
8688
  manifest: any;
8689
+ manifestUrl?: string;
8676
8690
  };
8677
8691
 
8678
8692
  /**
@@ -10303,6 +10317,7 @@ declare namespace OpenFin {
10303
10317
  WindowState,
10304
10318
  AutoplayPolicyOptions,
10305
10319
  ConstWindowOptions,
10320
+ InheritableOptions,
10306
10321
  MutableWindowOptions,
10307
10322
  WorkspacePlatformOptions,
10308
10323
  WebRequestHeader,
@@ -11538,6 +11553,14 @@ declare type PlatformOptions = ApplicationCreationOptions & {
11538
11553
  * The provider url.
11539
11554
  */
11540
11555
  providerUrl?: string;
11556
+ /**
11557
+ * @defaultValue true
11558
+ *
11559
+ * Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
11560
+ *
11561
+ * NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
11562
+ */
11563
+ allowLaunchIntoPlatform?: boolean;
11541
11564
  };
11542
11565
 
11543
11566
  /**
@@ -12297,7 +12320,7 @@ declare type PreloadScriptInfoRunning = {
12297
12320
  * @interface
12298
12321
  */
12299
12322
  declare type PreloadScriptsStateChangedEvent = PreloadScriptsStateChangeEvent & {
12300
- type: 'preload-script-state-changed';
12323
+ type: 'preload-scripts-state-changed';
12301
12324
  };
12302
12325
 
12303
12326
  /**
@@ -12314,7 +12337,7 @@ declare type PreloadScriptsStateChangeEvent = BaseEvent_5 & {
12314
12337
  * @interface
12315
12338
  */
12316
12339
  declare type PreloadScriptsStateChangingEvent = PreloadScriptsStateChangeEvent & {
12317
- type: 'preload-script-state-changing';
12340
+ type: 'preload-scripts-state-changing';
12318
12341
  };
12319
12342
 
12320
12343
  declare type PresetLayoutOptions = OpenFin.PresetLayoutOptions;
package/out/fdc3-api.d.ts CHANGED
@@ -972,7 +972,7 @@ declare type ApplicationIdentity_2 = {
972
972
  * @interface
973
973
  */
974
974
  declare type ApplicationInfo = {
975
- initialOptions: ApplicationCreationOptions;
975
+ initialOptions: ApplicationCreationOptions | PlatformOptions;
976
976
  launchMode: string;
977
977
  manifest: Manifest & {
978
978
  [key: string]: any;
@@ -3894,6 +3894,10 @@ declare type ConstWindowOptions = {
3894
3894
  * _Platform Windows Only_. Controls behavior for showing views when they are being resized by the user.
3895
3895
  */
3896
3896
  viewVisibility?: ViewVisibilityOptions;
3897
+ /**
3898
+ * 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.
3899
+ */
3900
+ inheritance?: Partial<InheritableOptions>;
3897
3901
  };
3898
3902
 
3899
3903
  declare interface Container extends EventEmitter_2 {
@@ -6311,6 +6315,8 @@ declare class _Frame extends EmitterBase<OpenFin.FrameEvent> {
6311
6315
  * Returns a frame info object representing the window that the referenced iframe is
6312
6316
  * currently embedded in.
6313
6317
  *
6318
+ * @remarks If the frame is embedded in a view, this will return an invalid stub with empty fields.
6319
+ *
6314
6320
  * @example
6315
6321
  * ```js
6316
6322
  * async function getParentWindow() {
@@ -7162,6 +7168,13 @@ declare type InfoForIntentOptions<MetadataType = IntentMetadata_3> = {
7162
7168
  metadata?: MetadataType;
7163
7169
  };
7164
7170
 
7171
+ declare type InheritableOptions = {
7172
+ customContext: boolean;
7173
+ customData: boolean;
7174
+ icon: boolean;
7175
+ preloadScripts: boolean;
7176
+ };
7177
+
7165
7178
  /**
7166
7179
  * Generated when an application has initialized.
7167
7180
  * @interface
@@ -8786,6 +8799,7 @@ declare type LaunchExternalProcessRule = {
8786
8799
  */
8787
8800
  declare type LaunchIntoPlatformPayload = {
8788
8801
  manifest: any;
8802
+ manifestUrl?: string;
8789
8803
  };
8790
8804
 
8791
8805
  /**
@@ -10614,6 +10628,7 @@ declare namespace OpenFin {
10614
10628
  WindowState,
10615
10629
  AutoplayPolicyOptions,
10616
10630
  ConstWindowOptions,
10631
+ InheritableOptions,
10617
10632
  MutableWindowOptions,
10618
10633
  WorkspacePlatformOptions,
10619
10634
  WebRequestHeader,
@@ -11882,6 +11897,14 @@ declare type PlatformOptions = ApplicationCreationOptions & {
11882
11897
  * The provider url.
11883
11898
  */
11884
11899
  providerUrl?: string;
11900
+ /**
11901
+ * @defaultValue true
11902
+ *
11903
+ * Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
11904
+ *
11905
+ * NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
11906
+ */
11907
+ allowLaunchIntoPlatform?: boolean;
11885
11908
  };
11886
11909
 
11887
11910
  /**
@@ -12686,7 +12709,7 @@ declare type PreloadScriptInfoRunning = {
12686
12709
  * @interface
12687
12710
  */
12688
12711
  declare type PreloadScriptsStateChangedEvent = PreloadScriptsStateChangeEvent & {
12689
- type: 'preload-script-state-changed';
12712
+ type: 'preload-scripts-state-changed';
12690
12713
  };
12691
12714
 
12692
12715
  /**
@@ -12703,7 +12726,7 @@ declare type PreloadScriptsStateChangeEvent = BaseEvent_5 & {
12703
12726
  * @interface
12704
12727
  */
12705
12728
  declare type PreloadScriptsStateChangingEvent = PreloadScriptsStateChangeEvent & {
12706
- type: 'preload-script-state-changing';
12729
+ type: 'preload-scripts-state-changing';
12707
12730
  };
12708
12731
 
12709
12732
  declare type PresetLayoutOptions = OpenFin.PresetLayoutOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "36.79.19",
3
+ "version": "36.80.1",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.MD",
6
6
  "private": false,