@vertigis/viewer-spec 61.16.0 → 61.17.0

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.
@@ -1,3 +1,4 @@
1
+ import type { ColorJson } from "@vertigis/arcgis-extensions/json/SymbolJson.js";
1
2
  import type { WebMapLike } from "@vertigis/arcgis-extensions/mapping/MapExtension.js";
2
3
  import type { ItemRef } from "../common/ItemRef.js";
3
4
  import type { ComponentModelProperties } from "./ComponentModelProperties.js";
@@ -24,6 +25,54 @@ export interface SpatialReferenceGrid {
24
25
  */
25
26
  wkt?: string;
26
27
  }
28
+ /**
29
+ * The print extent indicator style. The extent indicator is exported as map
30
+ * overlay on overview maps for series prints.
31
+ */
32
+ export interface ExtentIndicatorStyle {
33
+ /**
34
+ * The fill color. Defaults to half transparent yellow ([255, 204, 0, 50]).
35
+ */
36
+ fillColor?: ColorJson;
37
+ /**
38
+ * The overlap color. Defaults to full transparent green ([0, 255, 0, 0]).
39
+ */
40
+ overlapColor?: ColorJson;
41
+ /**
42
+ * The outline color. Defaults to solid yellow ([255, 204, 0, 255]).
43
+ */
44
+ outlineColor?: ColorJson;
45
+ /**
46
+ * The outline width in pixels. Defaults to 2.
47
+ */
48
+ outlineWidth?: number;
49
+ /**
50
+ * The label color. Defaults to solid yellow ([255, 204, 0, 255]).
51
+ */
52
+ labelColor?: ColorJson;
53
+ /**
54
+ * The label font size in points. Defaults to 20.
55
+ */
56
+ labelFontSize?: number;
57
+ /**
58
+ * The label halo fill color. Defaults to half transparent white ([255, 255,
59
+ * 255, 100]).
60
+ */
61
+ labelHaloFillColor?: ColorJson;
62
+ /**
63
+ * The label halo outline color. Defaults to half transparent black ([0, 0,
64
+ * 0, 100]).
65
+ */
66
+ labelHaloOutlineColor?: ColorJson;
67
+ /**
68
+ * The label halo outline width in pixels. Defaults to 1.
69
+ */
70
+ labelHaloOutlineWidth?: number;
71
+ /**
72
+ * The label halo size in pixels. Defaults to 2.
73
+ */
74
+ labelHaloSize?: number;
75
+ }
27
76
  /**
28
77
  * Legend items visibility.
29
78
  */
@@ -85,13 +134,18 @@ export interface PrintFormModelProperties extends ComponentModelProperties {
85
134
  */
86
135
  strictModeEnabled?: boolean;
87
136
  /**
88
- * Web map used as overview map in the print layout; defaults to application
137
+ * Web map used as overview map in the print layout. Defaults to application
89
138
  * map if not set.
90
139
  */
91
140
  additionalMapOverview?: WebMapLike;
92
141
  /**
93
- * Web map used as overview page map in the print layout; defaults to
142
+ * Web map used as overview page map in the print layout. Defaults to
94
143
  * application map if not set.
95
144
  */
96
145
  additionalMapOverviewPage?: WebMapLike;
146
+ /**
147
+ * The print extent indicator style. Defaults to printing engine defaults if
148
+ * not set.
149
+ */
150
+ extentIndicatorStyle?: ExtentIndicatorStyle;
97
151
  }
@@ -5,6 +5,7 @@ import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
5
5
  import type { Feature } from "@vertigis/arcgis-extensions/data/Feature.js";
6
6
  import type { BasemapJson } from "@vertigis/arcgis-extensions/json/BasemapJson.js";
7
7
  import type { OperationalLayerJson } from "@vertigis/arcgis-extensions/json/OperationalLayerJson.js";
8
+ import type { ColorJson } from "@vertigis/arcgis-extensions/json/SymbolJson.js";
8
9
  import type { PortalItemLike } from "@vertigis/arcgis-extensions/utilities/portal.js";
9
10
  import type { Command } from "../Command.js";
10
11
  import { CommandRegistry } from "../CommandRegistry.js";
@@ -601,7 +602,7 @@ export interface PageSeamless {
601
602
  */
602
603
  export interface PageCover {
603
604
  /**
604
- * Whether the cover page is visible.
605
+ * Whether the cover page is visible. Defaults to false.
605
606
  */
606
607
  visible?: boolean;
607
608
  /**
@@ -618,7 +619,7 @@ export interface PageCover {
618
619
  */
619
620
  export interface PageOverview {
620
621
  /**
621
- * Whether the overview page is visible.
622
+ * Whether the overview page is visible. Defaults to false.
622
623
  */
623
624
  visible?: boolean;
624
625
  /**
@@ -634,54 +635,82 @@ export interface PageOverview {
634
635
  */
635
636
  pageGraphics?: {
636
637
  /**
637
- * Whether the page graphics are visible.
638
+ * Whether the page graphics are visible. Defaults to false.
638
639
  */
639
640
  visible?: boolean;
640
641
  /**
641
- * Page stroke RGB color according to the ESRI RGB color specification.
642
+ * Page stroke width in pixels. Defaults to 2.
642
643
  */
643
- colorStroke: number[];
644
+ widthStroke?: number;
644
645
  /**
645
- * Page fill RGB color according to the ESRI RGB color specification.
646
+ * Page stroke color. Defaults to solid yellow ([255, 204, 0, 255]).
646
647
  */
647
- colorFill: number[];
648
+ colorStroke?: ColorJson;
649
+ /**
650
+ * Page fill color. Defaults to half transparent yellow ([255, 204, 0,
651
+ * 50]).
652
+ */
653
+ colorFill?: ColorJson;
648
654
  };
649
655
  /**
650
656
  * Page overlap graphics settings.
651
657
  */
652
658
  pageGraphicsOverlap?: {
653
659
  /**
654
- * Whether the page overlap fill graphics are visible.
660
+ * Whether the page overlap fill graphics are visible. Defaults to
661
+ * false.
655
662
  */
656
663
  visibleFill?: boolean;
657
664
  /**
658
- * Page overlap fill RGB Color according to the ESRI RGB color
659
- * specification.
665
+ * Page overlap fill color. Defaults to full transparent green ([0, 255,
666
+ * 0, 0]).
660
667
  */
661
- colorFill?: number[];
668
+ colorFill?: ColorJson;
662
669
  };
663
670
  /**
664
671
  * Page graphics index settings.
665
672
  */
666
673
  pageGraphicsIndex?: {
667
674
  /**
668
- * Whether the index line graphics is visible.
675
+ * Whether the index line graphics is visible. Defaults to false.
669
676
  */
670
677
  visibleStroke?: boolean;
671
678
  /**
672
- * Whether the page number annotations are visible.
679
+ * Index line stroke color. Defaults to half transparent blue ([0, 0,
680
+ * 255, 50]).
681
+ */
682
+ colorStroke?: ColorJson;
683
+ /**
684
+ * Whether the page number annotations are visible. Defaults to true.
673
685
  */
674
686
  visibleAnnotation?: boolean;
675
687
  /**
676
- * Index line stroke RGB color according to the ESRI RGB color
677
- * specification.
688
+ * Page number annotations font size in points. Defaults to 20.
689
+ */
690
+ fontSizeAnnotation?: number;
691
+ /**
692
+ * Page number annotations color. Defaults to solid yellow ([255, 204,
693
+ * 0, 255]).
694
+ */
695
+ colorAnnotation?: ColorJson;
696
+ /**
697
+ * Page number annotations halo outline color. Defaults to half
698
+ * transparent black ([0, 0, 0, 100]).
699
+ */
700
+ haloOutlineColorAnnotation?: ColorJson;
701
+ /**
702
+ * Page number annotations halo fill color. Defaults to half transparent
703
+ * white ([255, 255, 255, 100]).
704
+ */
705
+ haloFillColorAnnotation?: ColorJson;
706
+ /**
707
+ * Page number annotations halo outline width in pixels. Defaults to 1.
678
708
  */
679
- colorStroke?: number[];
709
+ haloOutlineWidthAnnotation?: number;
680
710
  /**
681
- * Page number annotations RGB color according to the ESRI RGB color
682
- * specification.
711
+ * Page number annotations halo size in pixels. Defaults to 2.
683
712
  */
684
- colorAnnotation?: number[];
713
+ haloSizeAnnotation?: number;
685
714
  };
686
715
  }
687
716
  /**
@@ -689,7 +718,7 @@ export interface PageOverview {
689
718
  */
690
719
  export interface PageLegend {
691
720
  /**
692
- * Whether the legend page is visible.
721
+ * Whether the legend page is visible. Defaults to false.
693
722
  */
694
723
  visible?: boolean;
695
724
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "61.16.0",
3
+ "version": "61.17.0",
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 = "61.16.0";
4
+ export declare const version = "61.17.0";
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 = "61.16.0";
4
+ export const version = "61.17.0";