@openfin/core 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.
@@ -8550,11 +8550,12 @@ declare type LayoutOptions = {
8550
8550
  */
8551
8551
  preventDragOut?: boolean;
8552
8552
  /**
8553
- * @defaultValue=false
8553
+ * @defaultValue false
8554
8554
  *
8555
8555
  * If true, tabs can't be dragged into the window.
8556
8556
  */
8557
8557
  preventDragIn?: boolean;
8558
+ /* Excluded from this release type: disableTabOverflowDropdown */
8558
8559
  };
8559
8560
  /**
8560
8561
  * Content of the layout. There can only be one top-level LayoutItem in the content array.
@@ -9841,6 +9842,8 @@ declare namespace OpenFin_2 {
9841
9842
  CopyPermissions,
9842
9843
  PastePermissions,
9843
9844
  ClipboardPermissions,
9845
+ PrintPlaceholder,
9846
+ PrintPermission,
9844
9847
  DomainSettingsRule,
9845
9848
  FileDownloadBehavior,
9846
9849
  FileDownloadBehaviorNames,
@@ -10216,7 +10219,7 @@ declare type PerDomainSettings = {
10216
10219
  * Defaults to 'allow'.
10217
10220
  * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10218
10221
  */
10219
- print?: 'allow' | 'block';
10222
+ print?: 'allow' | 'block' | PrintPermission;
10220
10223
  /**
10221
10224
  * * Controls whether HTML5 dragging for this content is allowed or blocked.
10222
10225
  */
@@ -12023,6 +12026,53 @@ declare type PrintOptions = {
12023
12026
  dpi?: Dpi;
12024
12027
  };
12025
12028
 
12029
+ /**
12030
+ * Control print operations for a matched URL.
12031
+ * @interface
12032
+ */
12033
+ declare type PrintPermission = {
12034
+ /**
12035
+ * Controls the behavior for print operations for a matched URL.
12036
+ *
12037
+ * allow: Enables all print operations.
12038
+ * block: Disables all print operations.
12039
+ *
12040
+ * @defaultValue 'allowed'
12041
+ */
12042
+ behavior: 'allow' | 'block';
12043
+ /**
12044
+ * Additional placeholder options. When setting behavior = 'block' , then this will be used to draw placeholder.
12045
+ */
12046
+ placeholder?: PrintPlaceholder;
12047
+ };
12048
+
12049
+ declare type PrintPlaceholder = {
12050
+ /**
12051
+ * This color will be background color for placeholder.
12052
+ *
12053
+ * @defaultValue '#FFFFFFFF'
12054
+ */
12055
+ backgroundColor?: string;
12056
+ /**
12057
+ * This string will be visible on placeholder instead of the original content.
12058
+ *
12059
+ * @defaultValue 'Content is print restricted'
12060
+ */
12061
+ text?: string;
12062
+ /**
12063
+ * This color will be text color for placeholder.
12064
+ *
12065
+ * @defaultValue '#FF000000'
12066
+ */
12067
+ textColor?: string;
12068
+ /**
12069
+ * This font type will be font for placeholder.
12070
+ *
12071
+ * @defaultValue Default system font.
12072
+ */
12073
+ textFontType?: string;
12074
+ };
12075
+
12026
12076
  /**
12027
12077
  * Strategy to assign views to process affinity by domain.
12028
12078
  *
@@ -8550,11 +8550,12 @@ declare type LayoutOptions = {
8550
8550
  */
8551
8551
  preventDragOut?: boolean;
8552
8552
  /**
8553
- * @defaultValue=false
8553
+ * @defaultValue false
8554
8554
  *
8555
8555
  * If true, tabs can't be dragged into the window.
8556
8556
  */
8557
8557
  preventDragIn?: boolean;
8558
+ /* Excluded from this release type: disableTabOverflowDropdown */
8558
8559
  };
8559
8560
  /**
8560
8561
  * Content of the layout. There can only be one top-level LayoutItem in the content array.
@@ -9841,6 +9842,8 @@ declare namespace OpenFin_2 {
9841
9842
  CopyPermissions,
9842
9843
  PastePermissions,
9843
9844
  ClipboardPermissions,
9845
+ PrintPlaceholder,
9846
+ PrintPermission,
9844
9847
  DomainSettingsRule,
9845
9848
  FileDownloadBehavior,
9846
9849
  FileDownloadBehaviorNames,
@@ -10216,7 +10219,7 @@ declare type PerDomainSettings = {
10216
10219
  * Defaults to 'allow'.
10217
10220
  * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10218
10221
  */
10219
- print?: 'allow' | 'block';
10222
+ print?: 'allow' | 'block' | PrintPermission;
10220
10223
  /**
10221
10224
  * * Controls whether HTML5 dragging for this content is allowed or blocked.
10222
10225
  */
@@ -12023,6 +12026,53 @@ declare type PrintOptions = {
12023
12026
  dpi?: Dpi;
12024
12027
  };
12025
12028
 
12029
+ /**
12030
+ * Control print operations for a matched URL.
12031
+ * @interface
12032
+ */
12033
+ declare type PrintPermission = {
12034
+ /**
12035
+ * Controls the behavior for print operations for a matched URL.
12036
+ *
12037
+ * allow: Enables all print operations.
12038
+ * block: Disables all print operations.
12039
+ *
12040
+ * @defaultValue 'allowed'
12041
+ */
12042
+ behavior: 'allow' | 'block';
12043
+ /**
12044
+ * Additional placeholder options. When setting behavior = 'block' , then this will be used to draw placeholder.
12045
+ */
12046
+ placeholder?: PrintPlaceholder;
12047
+ };
12048
+
12049
+ declare type PrintPlaceholder = {
12050
+ /**
12051
+ * This color will be background color for placeholder.
12052
+ *
12053
+ * @defaultValue '#FFFFFFFF'
12054
+ */
12055
+ backgroundColor?: string;
12056
+ /**
12057
+ * This string will be visible on placeholder instead of the original content.
12058
+ *
12059
+ * @defaultValue 'Content is print restricted'
12060
+ */
12061
+ text?: string;
12062
+ /**
12063
+ * This color will be text color for placeholder.
12064
+ *
12065
+ * @defaultValue '#FF000000'
12066
+ */
12067
+ textColor?: string;
12068
+ /**
12069
+ * This font type will be font for placeholder.
12070
+ *
12071
+ * @defaultValue Default system font.
12072
+ */
12073
+ textFontType?: string;
12074
+ };
12075
+
12026
12076
  /**
12027
12077
  * Strategy to assign views to process affinity by domain.
12028
12078
  *
@@ -8550,11 +8550,12 @@ declare type LayoutOptions = {
8550
8550
  */
8551
8551
  preventDragOut?: boolean;
8552
8552
  /**
8553
- * @defaultValue=false
8553
+ * @defaultValue false
8554
8554
  *
8555
8555
  * If true, tabs can't be dragged into the window.
8556
8556
  */
8557
8557
  preventDragIn?: boolean;
8558
+ /* Excluded from this release type: disableTabOverflowDropdown */
8558
8559
  };
8559
8560
  /**
8560
8561
  * Content of the layout. There can only be one top-level LayoutItem in the content array.
@@ -9841,6 +9842,8 @@ declare namespace OpenFin_2 {
9841
9842
  CopyPermissions,
9842
9843
  PastePermissions,
9843
9844
  ClipboardPermissions,
9845
+ PrintPlaceholder,
9846
+ PrintPermission,
9844
9847
  DomainSettingsRule,
9845
9848
  FileDownloadBehavior,
9846
9849
  FileDownloadBehaviorNames,
@@ -10216,7 +10219,7 @@ declare type PerDomainSettings = {
10216
10219
  * Defaults to 'allow'.
10217
10220
  * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10218
10221
  */
10219
- print?: 'allow' | 'block';
10222
+ print?: 'allow' | 'block' | PrintPermission;
10220
10223
  /**
10221
10224
  * * Controls whether HTML5 dragging for this content is allowed or blocked.
10222
10225
  */
@@ -12023,6 +12026,53 @@ declare type PrintOptions = {
12023
12026
  dpi?: Dpi;
12024
12027
  };
12025
12028
 
12029
+ /**
12030
+ * Control print operations for a matched URL.
12031
+ * @interface
12032
+ */
12033
+ declare type PrintPermission = {
12034
+ /**
12035
+ * Controls the behavior for print operations for a matched URL.
12036
+ *
12037
+ * allow: Enables all print operations.
12038
+ * block: Disables all print operations.
12039
+ *
12040
+ * @defaultValue 'allowed'
12041
+ */
12042
+ behavior: 'allow' | 'block';
12043
+ /**
12044
+ * Additional placeholder options. When setting behavior = 'block' , then this will be used to draw placeholder.
12045
+ */
12046
+ placeholder?: PrintPlaceholder;
12047
+ };
12048
+
12049
+ declare type PrintPlaceholder = {
12050
+ /**
12051
+ * This color will be background color for placeholder.
12052
+ *
12053
+ * @defaultValue '#FFFFFFFF'
12054
+ */
12055
+ backgroundColor?: string;
12056
+ /**
12057
+ * This string will be visible on placeholder instead of the original content.
12058
+ *
12059
+ * @defaultValue 'Content is print restricted'
12060
+ */
12061
+ text?: string;
12062
+ /**
12063
+ * This color will be text color for placeholder.
12064
+ *
12065
+ * @defaultValue '#FF000000'
12066
+ */
12067
+ textColor?: string;
12068
+ /**
12069
+ * This font type will be font for placeholder.
12070
+ *
12071
+ * @defaultValue Default system font.
12072
+ */
12073
+ textFontType?: string;
12074
+ };
12075
+
12026
12076
  /**
12027
12077
  * Strategy to assign views to process affinity by domain.
12028
12078
  *
package/out/stub.d.ts CHANGED
@@ -8846,11 +8846,25 @@ declare type LayoutOptions = {
8846
8846
  */
8847
8847
  preventDragOut?: boolean;
8848
8848
  /**
8849
- * @defaultValue=false
8849
+ * @defaultValue false
8850
8850
  *
8851
8851
  * If true, tabs can't be dragged into the window.
8852
8852
  */
8853
8853
  preventDragIn?: boolean;
8854
+ /**
8855
+ * When true, will disable placement of tabs that don't fit in the stack into a dropdown menu
8856
+ * and the button to open the dropdown menu will never be shown.
8857
+ * **CAUTION**: the overflowing tabs may end up being invisible to the user
8858
+ * and certain CSS modifications will need to be implemented in order to restore usability.
8859
+ * This is an internal property and usage is highly discouraged.
8860
+ *
8861
+ * Not available in web layouts.
8862
+ *
8863
+ * @experimental
8864
+ * @internal
8865
+ * @defaultValue false
8866
+ */
8867
+ disableTabOverflowDropdown?: boolean;
8854
8868
  };
8855
8869
  /**
8856
8870
  * Content of the layout. There can only be one top-level LayoutItem in the content array.
@@ -10159,6 +10173,8 @@ declare namespace OpenFin_2 {
10159
10173
  CopyPermissions,
10160
10174
  PastePermissions,
10161
10175
  ClipboardPermissions,
10176
+ PrintPlaceholder,
10177
+ PrintPermission,
10162
10178
  DomainSettingsRule,
10163
10179
  FileDownloadBehavior,
10164
10180
  FileDownloadBehaviorNames,
@@ -10534,7 +10550,7 @@ declare type PerDomainSettings = {
10534
10550
  * Defaults to 'allow'.
10535
10551
  * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10536
10552
  */
10537
- print?: 'allow' | 'block';
10553
+ print?: 'allow' | 'block' | PrintPermission;
10538
10554
  /**
10539
10555
  * * Controls whether HTML5 dragging for this content is allowed or blocked.
10540
10556
  */
@@ -12424,6 +12440,53 @@ declare type PrintOptions = {
12424
12440
  dpi?: Dpi;
12425
12441
  };
12426
12442
 
12443
+ /**
12444
+ * Control print operations for a matched URL.
12445
+ * @interface
12446
+ */
12447
+ declare type PrintPermission = {
12448
+ /**
12449
+ * Controls the behavior for print operations for a matched URL.
12450
+ *
12451
+ * allow: Enables all print operations.
12452
+ * block: Disables all print operations.
12453
+ *
12454
+ * @defaultValue 'allowed'
12455
+ */
12456
+ behavior: 'allow' | 'block';
12457
+ /**
12458
+ * Additional placeholder options. When setting behavior = 'block' , then this will be used to draw placeholder.
12459
+ */
12460
+ placeholder?: PrintPlaceholder;
12461
+ };
12462
+
12463
+ declare type PrintPlaceholder = {
12464
+ /**
12465
+ * This color will be background color for placeholder.
12466
+ *
12467
+ * @defaultValue '#FFFFFFFF'
12468
+ */
12469
+ backgroundColor?: string;
12470
+ /**
12471
+ * This string will be visible on placeholder instead of the original content.
12472
+ *
12473
+ * @defaultValue 'Content is print restricted'
12474
+ */
12475
+ text?: string;
12476
+ /**
12477
+ * This color will be text color for placeholder.
12478
+ *
12479
+ * @defaultValue '#FF000000'
12480
+ */
12481
+ textColor?: string;
12482
+ /**
12483
+ * This font type will be font for placeholder.
12484
+ *
12485
+ * @defaultValue Default system font.
12486
+ */
12487
+ textFontType?: string;
12488
+ };
12489
+
12427
12490
  /**
12428
12491
  * Strategy to assign views to process affinity by domain.
12429
12492
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "43.100.38",
3
+ "version": "43.100.40",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",