@openfin/fdc3-api 43.100.38 → 43.100.40

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.
@@ -8892,11 +8892,12 @@ declare type LayoutOptions = {
8892
8892
  */
8893
8893
  preventDragOut?: boolean;
8894
8894
  /**
8895
- * @defaultValue=false
8895
+ * @defaultValue false
8896
8896
  *
8897
8897
  * If true, tabs can't be dragged into the window.
8898
8898
  */
8899
8899
  preventDragIn?: boolean;
8900
+ /* Excluded from this release type: disableTabOverflowDropdown */
8900
8901
  };
8901
8902
  /**
8902
8903
  * Content of the layout. There can only be one top-level LayoutItem in the content array.
@@ -10183,6 +10184,8 @@ declare namespace OpenFin {
10183
10184
  CopyPermissions,
10184
10185
  PastePermissions,
10185
10186
  ClipboardPermissions,
10187
+ PrintPlaceholder,
10188
+ PrintPermission,
10186
10189
  DomainSettingsRule,
10187
10190
  FileDownloadBehavior,
10188
10191
  FileDownloadBehaviorNames,
@@ -10556,7 +10559,7 @@ declare type PerDomainSettings = {
10556
10559
  * Defaults to 'allow'.
10557
10560
  * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10558
10561
  */
10559
- print?: 'allow' | 'block';
10562
+ print?: 'allow' | 'block' | PrintPermission;
10560
10563
  /**
10561
10564
  * * Controls whether HTML5 dragging for this content is allowed or blocked.
10562
10565
  */
@@ -12363,6 +12366,53 @@ declare type PrintOptions = {
12363
12366
  dpi?: Dpi;
12364
12367
  };
12365
12368
 
12369
+ /**
12370
+ * Control print operations for a matched URL.
12371
+ * @interface
12372
+ */
12373
+ declare type PrintPermission = {
12374
+ /**
12375
+ * Controls the behavior for print operations for a matched URL.
12376
+ *
12377
+ * allow: Enables all print operations.
12378
+ * block: Disables all print operations.
12379
+ *
12380
+ * @defaultValue 'allowed'
12381
+ */
12382
+ behavior: 'allow' | 'block';
12383
+ /**
12384
+ * Additional placeholder options. When setting behavior = 'block' , then this will be used to draw placeholder.
12385
+ */
12386
+ placeholder?: PrintPlaceholder;
12387
+ };
12388
+
12389
+ declare type PrintPlaceholder = {
12390
+ /**
12391
+ * This color will be background color for placeholder.
12392
+ *
12393
+ * @defaultValue '#FFFFFFFF'
12394
+ */
12395
+ backgroundColor?: string;
12396
+ /**
12397
+ * This string will be visible on placeholder instead of the original content.
12398
+ *
12399
+ * @defaultValue 'Content is print restricted'
12400
+ */
12401
+ text?: string;
12402
+ /**
12403
+ * This color will be text color for placeholder.
12404
+ *
12405
+ * @defaultValue '#FF000000'
12406
+ */
12407
+ textColor?: string;
12408
+ /**
12409
+ * This font type will be font for placeholder.
12410
+ *
12411
+ * @defaultValue Default system font.
12412
+ */
12413
+ textFontType?: string;
12414
+ };
12415
+
12366
12416
  /**
12367
12417
  * Strategy to assign views to process affinity by domain.
12368
12418
  *
@@ -8892,11 +8892,12 @@ declare type LayoutOptions = {
8892
8892
  */
8893
8893
  preventDragOut?: boolean;
8894
8894
  /**
8895
- * @defaultValue=false
8895
+ * @defaultValue false
8896
8896
  *
8897
8897
  * If true, tabs can't be dragged into the window.
8898
8898
  */
8899
8899
  preventDragIn?: boolean;
8900
+ /* Excluded from this release type: disableTabOverflowDropdown */
8900
8901
  };
8901
8902
  /**
8902
8903
  * Content of the layout. There can only be one top-level LayoutItem in the content array.
@@ -10183,6 +10184,8 @@ declare namespace OpenFin {
10183
10184
  CopyPermissions,
10184
10185
  PastePermissions,
10185
10186
  ClipboardPermissions,
10187
+ PrintPlaceholder,
10188
+ PrintPermission,
10186
10189
  DomainSettingsRule,
10187
10190
  FileDownloadBehavior,
10188
10191
  FileDownloadBehaviorNames,
@@ -10556,7 +10559,7 @@ declare type PerDomainSettings = {
10556
10559
  * Defaults to 'allow'.
10557
10560
  * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10558
10561
  */
10559
- print?: 'allow' | 'block';
10562
+ print?: 'allow' | 'block' | PrintPermission;
10560
10563
  /**
10561
10564
  * * Controls whether HTML5 dragging for this content is allowed or blocked.
10562
10565
  */
@@ -12363,6 +12366,53 @@ declare type PrintOptions = {
12363
12366
  dpi?: Dpi;
12364
12367
  };
12365
12368
 
12369
+ /**
12370
+ * Control print operations for a matched URL.
12371
+ * @interface
12372
+ */
12373
+ declare type PrintPermission = {
12374
+ /**
12375
+ * Controls the behavior for print operations for a matched URL.
12376
+ *
12377
+ * allow: Enables all print operations.
12378
+ * block: Disables all print operations.
12379
+ *
12380
+ * @defaultValue 'allowed'
12381
+ */
12382
+ behavior: 'allow' | 'block';
12383
+ /**
12384
+ * Additional placeholder options. When setting behavior = 'block' , then this will be used to draw placeholder.
12385
+ */
12386
+ placeholder?: PrintPlaceholder;
12387
+ };
12388
+
12389
+ declare type PrintPlaceholder = {
12390
+ /**
12391
+ * This color will be background color for placeholder.
12392
+ *
12393
+ * @defaultValue '#FFFFFFFF'
12394
+ */
12395
+ backgroundColor?: string;
12396
+ /**
12397
+ * This string will be visible on placeholder instead of the original content.
12398
+ *
12399
+ * @defaultValue 'Content is print restricted'
12400
+ */
12401
+ text?: string;
12402
+ /**
12403
+ * This color will be text color for placeholder.
12404
+ *
12405
+ * @defaultValue '#FF000000'
12406
+ */
12407
+ textColor?: string;
12408
+ /**
12409
+ * This font type will be font for placeholder.
12410
+ *
12411
+ * @defaultValue Default system font.
12412
+ */
12413
+ textFontType?: string;
12414
+ };
12415
+
12366
12416
  /**
12367
12417
  * Strategy to assign views to process affinity by domain.
12368
12418
  *
@@ -8892,11 +8892,12 @@ declare type LayoutOptions = {
8892
8892
  */
8893
8893
  preventDragOut?: boolean;
8894
8894
  /**
8895
- * @defaultValue=false
8895
+ * @defaultValue false
8896
8896
  *
8897
8897
  * If true, tabs can't be dragged into the window.
8898
8898
  */
8899
8899
  preventDragIn?: boolean;
8900
+ /* Excluded from this release type: disableTabOverflowDropdown */
8900
8901
  };
8901
8902
  /**
8902
8903
  * Content of the layout. There can only be one top-level LayoutItem in the content array.
@@ -10183,6 +10184,8 @@ declare namespace OpenFin {
10183
10184
  CopyPermissions,
10184
10185
  PastePermissions,
10185
10186
  ClipboardPermissions,
10187
+ PrintPlaceholder,
10188
+ PrintPermission,
10186
10189
  DomainSettingsRule,
10187
10190
  FileDownloadBehavior,
10188
10191
  FileDownloadBehaviorNames,
@@ -10556,7 +10559,7 @@ declare type PerDomainSettings = {
10556
10559
  * Defaults to 'allow'.
10557
10560
  * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10558
10561
  */
10559
- print?: 'allow' | 'block';
10562
+ print?: 'allow' | 'block' | PrintPermission;
10560
10563
  /**
10561
10564
  * * Controls whether HTML5 dragging for this content is allowed or blocked.
10562
10565
  */
@@ -12363,6 +12366,53 @@ declare type PrintOptions = {
12363
12366
  dpi?: Dpi;
12364
12367
  };
12365
12368
 
12369
+ /**
12370
+ * Control print operations for a matched URL.
12371
+ * @interface
12372
+ */
12373
+ declare type PrintPermission = {
12374
+ /**
12375
+ * Controls the behavior for print operations for a matched URL.
12376
+ *
12377
+ * allow: Enables all print operations.
12378
+ * block: Disables all print operations.
12379
+ *
12380
+ * @defaultValue 'allowed'
12381
+ */
12382
+ behavior: 'allow' | 'block';
12383
+ /**
12384
+ * Additional placeholder options. When setting behavior = 'block' , then this will be used to draw placeholder.
12385
+ */
12386
+ placeholder?: PrintPlaceholder;
12387
+ };
12388
+
12389
+ declare type PrintPlaceholder = {
12390
+ /**
12391
+ * This color will be background color for placeholder.
12392
+ *
12393
+ * @defaultValue '#FFFFFFFF'
12394
+ */
12395
+ backgroundColor?: string;
12396
+ /**
12397
+ * This string will be visible on placeholder instead of the original content.
12398
+ *
12399
+ * @defaultValue 'Content is print restricted'
12400
+ */
12401
+ text?: string;
12402
+ /**
12403
+ * This color will be text color for placeholder.
12404
+ *
12405
+ * @defaultValue '#FF000000'
12406
+ */
12407
+ textColor?: string;
12408
+ /**
12409
+ * This font type will be font for placeholder.
12410
+ *
12411
+ * @defaultValue Default system font.
12412
+ */
12413
+ textFontType?: string;
12414
+ };
12415
+
12366
12416
  /**
12367
12417
  * Strategy to assign views to process affinity by domain.
12368
12418
  *
package/out/fdc3-api.d.ts CHANGED
@@ -9188,11 +9188,25 @@ declare type LayoutOptions = {
9188
9188
  */
9189
9189
  preventDragOut?: boolean;
9190
9190
  /**
9191
- * @defaultValue=false
9191
+ * @defaultValue false
9192
9192
  *
9193
9193
  * If true, tabs can't be dragged into the window.
9194
9194
  */
9195
9195
  preventDragIn?: boolean;
9196
+ /**
9197
+ * When true, will disable placement of tabs that don't fit in the stack into a dropdown menu
9198
+ * and the button to open the dropdown menu will never be shown.
9199
+ * **CAUTION**: the overflowing tabs may end up being invisible to the user
9200
+ * and certain CSS modifications will need to be implemented in order to restore usability.
9201
+ * This is an internal property and usage is highly discouraged.
9202
+ *
9203
+ * Not available in web layouts.
9204
+ *
9205
+ * @experimental
9206
+ * @internal
9207
+ * @defaultValue false
9208
+ */
9209
+ disableTabOverflowDropdown?: boolean;
9196
9210
  };
9197
9211
  /**
9198
9212
  * Content of the layout. There can only be one top-level LayoutItem in the content array.
@@ -10501,6 +10515,8 @@ declare namespace OpenFin {
10501
10515
  CopyPermissions,
10502
10516
  PastePermissions,
10503
10517
  ClipboardPermissions,
10518
+ PrintPlaceholder,
10519
+ PrintPermission,
10504
10520
  DomainSettingsRule,
10505
10521
  FileDownloadBehavior,
10506
10522
  FileDownloadBehaviorNames,
@@ -10874,7 +10890,7 @@ declare type PerDomainSettings = {
10874
10890
  * Defaults to 'allow'.
10875
10891
  * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10876
10892
  */
10877
- print?: 'allow' | 'block';
10893
+ print?: 'allow' | 'block' | PrintPermission;
10878
10894
  /**
10879
10895
  * * Controls whether HTML5 dragging for this content is allowed or blocked.
10880
10896
  */
@@ -12764,6 +12780,53 @@ declare type PrintOptions = {
12764
12780
  dpi?: Dpi;
12765
12781
  };
12766
12782
 
12783
+ /**
12784
+ * Control print operations for a matched URL.
12785
+ * @interface
12786
+ */
12787
+ declare type PrintPermission = {
12788
+ /**
12789
+ * Controls the behavior for print operations for a matched URL.
12790
+ *
12791
+ * allow: Enables all print operations.
12792
+ * block: Disables all print operations.
12793
+ *
12794
+ * @defaultValue 'allowed'
12795
+ */
12796
+ behavior: 'allow' | 'block';
12797
+ /**
12798
+ * Additional placeholder options. When setting behavior = 'block' , then this will be used to draw placeholder.
12799
+ */
12800
+ placeholder?: PrintPlaceholder;
12801
+ };
12802
+
12803
+ declare type PrintPlaceholder = {
12804
+ /**
12805
+ * This color will be background color for placeholder.
12806
+ *
12807
+ * @defaultValue '#FFFFFFFF'
12808
+ */
12809
+ backgroundColor?: string;
12810
+ /**
12811
+ * This string will be visible on placeholder instead of the original content.
12812
+ *
12813
+ * @defaultValue 'Content is print restricted'
12814
+ */
12815
+ text?: string;
12816
+ /**
12817
+ * This color will be text color for placeholder.
12818
+ *
12819
+ * @defaultValue '#FF000000'
12820
+ */
12821
+ textColor?: string;
12822
+ /**
12823
+ * This font type will be font for placeholder.
12824
+ *
12825
+ * @defaultValue Default system font.
12826
+ */
12827
+ textFontType?: string;
12828
+ };
12829
+
12767
12830
  /**
12768
12831
  * Strategy to assign views to process affinity by domain.
12769
12832
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "43.100.38",
3
+ "version": "43.100.40",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,