@vertigis/viewer-spec 60.4.0 → 60.5.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.
@@ -56,6 +56,10 @@ export interface PrintFormModelProperties extends ComponentModelProperties {
56
56
  * Whether the line print type should be enabled.
57
57
  */
58
58
  linePrintEnabled?: boolean;
59
+ /**
60
+ * Whether strict mode for prints should be enabled.
61
+ */
62
+ strictModeEnabled?: boolean;
59
63
  /**
60
64
  * Web map used as overview map in the print layout; defaults to application
61
65
  * map if not set.
@@ -282,6 +282,31 @@ export interface PortalAuthentication {
282
282
  */
283
283
  referer?: string;
284
284
  }
285
+ /**
286
+ * Represents the validation settings.
287
+ */
288
+ export interface Validation {
289
+ /**
290
+ * If enabled, the print is executed in strict mode. In strict mode the map
291
+ * export of default- and overview page layout prints are validated before
292
+ * the print is returned. This validation only applies for layers with
293
+ * feature access. The validation checks if the content of the layer is
294
+ * printed correctly. If the validation of one or more layers fails, a print
295
+ * error occurs. A print in strict mode extends the print execution time by
296
+ * 10-20%, depending on the number of layers to validate. Strict mode is not
297
+ * applied for MAP ONLY- and non-PDF prints. Disabled by default.
298
+ */
299
+ strict: boolean;
300
+ /**
301
+ * If enabled, the print is executed in debug mode. In debug mode more
302
+ * detailed information about the print process is logged. Additionally, if
303
+ * strict mode is enabled, the content of each validated layer for the
304
+ * requested print parameters is exported in the engine's job workspace as
305
+ * PNG file. Debug mode allows a more precise analysis of potential print
306
+ * problems. Disabled by default.
307
+ */
308
+ debug?: boolean;
309
+ }
285
310
  /**
286
311
  * Represents the layer objects selection Settings.
287
312
  */
@@ -677,6 +702,10 @@ export interface PageLegend {
677
702
  * Represents the additional settings.
678
703
  */
679
704
  export interface AdditionalSettings {
705
+ /**
706
+ * Validation settings.
707
+ */
708
+ validation?: Validation;
680
709
  /**
681
710
  * Authentication for layout or layout package portal item access.
682
711
  */
@@ -1296,6 +1296,10 @@
1296
1296
  "timeSeries": {
1297
1297
  "$ref": "#/definitions/TimeSeries",
1298
1298
  "description": "Series time settings for time-aware layers."
1299
+ },
1300
+ "validation": {
1301
+ "$ref": "#/definitions/Validation",
1302
+ "description": "Validation settings."
1299
1303
  }
1300
1304
  },
1301
1305
  "type": "object"
@@ -9945,6 +9949,24 @@
9945
9949
  ],
9946
9950
  "type": "object"
9947
9951
  },
9952
+ "Validation": {
9953
+ "additionalProperties": false,
9954
+ "description": "Represents the validation settings.",
9955
+ "properties": {
9956
+ "debug": {
9957
+ "description": "If enabled, the print is executed in debug mode. In debug mode more detailed information about the print process is logged. Additionally, if strict mode is enabled, the content of each validated layer for the requested print parameters is exported in the engine's job workspace as PNG file. Debug mode allows a more precise analysis of potential print problems. Disabled by default.",
9958
+ "type": "boolean"
9959
+ },
9960
+ "strict": {
9961
+ "description": "If enabled, the print is executed in strict mode. In strict mode the map export of default- and overview page layout prints are validated before the print is returned. This validation only applies for layers with feature access. The validation checks if the content of the layer is printed correctly. If the validation of one or more layers fails, a print error occurs. A print in strict mode extends the print execution time by\n10-20%, depending on the number of layers to validate. Strict mode is not applied for MAP ONLY- and non-PDF prints. Disabled by default.",
9962
+ "type": "boolean"
9963
+ }
9964
+ },
9965
+ "required": [
9966
+ "strict"
9967
+ ],
9968
+ "type": "object"
9969
+ },
9948
9970
  "Vector2D": {
9949
9971
  "additionalProperties": false,
9950
9972
  "description": "A representation of a 2D vector or point.",
@@ -667,6 +667,10 @@
667
667
  "timeSeries": {
668
668
  "$ref": "#/definitions/TimeSeries",
669
669
  "description": "Series time settings for time-aware layers."
670
+ },
671
+ "validation": {
672
+ "$ref": "#/definitions/Validation",
673
+ "description": "Validation settings."
670
674
  }
671
675
  },
672
676
  "type": "object"
@@ -2660,6 +2664,24 @@
2660
2664
  },
2661
2665
  "type": "object"
2662
2666
  },
2667
+ "Validation": {
2668
+ "additionalProperties": false,
2669
+ "description": "Represents the validation settings.",
2670
+ "properties": {
2671
+ "debug": {
2672
+ "description": "If enabled, the print is executed in debug mode. In debug mode more detailed information about the print process is logged. Additionally, if strict mode is enabled, the content of each validated layer for the requested print parameters is exported in the engine's job workspace as PNG file. Debug mode allows a more precise analysis of potential print problems. Disabled by default.",
2673
+ "type": "boolean"
2674
+ },
2675
+ "strict": {
2676
+ "description": "If enabled, the print is executed in strict mode. In strict mode the map export of default- and overview page layout prints are validated before the print is returned. This validation only applies for layers with feature access. The validation checks if the content of the layer is printed correctly. If the validation of one or more layers fails, a print error occurs. A print in strict mode extends the print execution time by\n10-20%, depending on the number of layers to validate. Strict mode is not applied for MAP ONLY- and non-PDF prints. Disabled by default.",
2677
+ "type": "boolean"
2678
+ }
2679
+ },
2680
+ "required": [
2681
+ "strict"
2682
+ ],
2683
+ "type": "object"
2684
+ },
2663
2685
  "ValidationResult": {
2664
2686
  "additionalProperties": false,
2665
2687
  "description": "Result of a bulk attribute validation. Web only.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "60.4.0",
3
+ "version": "60.5.1",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "VertiGIS Viewer Specification",
6
6
  "type": "module",
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export declare const version = "60.4.0";
4
+ export declare const version = "60.5.1";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export const version = "60.4.0";
4
+ export const version = "60.5.1";