@vertigis/viewer-spec 48.9.0 → 48.10.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,7 +1,18 @@
1
+ import type { ItemRef } from "../common/ItemRef.js";
1
2
  import type { LayerListModelProperties as CommonLayerListModelProperties } from "../common/LayerListModelProperties.js";
2
3
  import type { ComponentModelProperties } from "./ComponentModelProperties.js";
3
4
  /**
4
5
  * @inheritdoc
5
6
  */
6
7
  export interface LayerListModelProperties extends CommonLayerListModelProperties, ComponentModelProperties {
8
+ /**
9
+ * Whether or not the layer list will allow the drawing order of layers to
10
+ * be changed. Defaults to true.
11
+ */
12
+ canReorder?: boolean;
13
+ /**
14
+ * A reference to a Menu containing layer actions (menu items that take a
15
+ * layer as context).
16
+ */
17
+ layerActions?: ItemRef;
7
18
  }
@@ -716,7 +716,21 @@
716
716
  </annotation>
717
717
  <complexType>
718
718
  <complexContent>
719
- <extension base="tns:Component" />
719
+ <extension base="tns:Component">
720
+ <attribute name="show-reorder-buttons" type="boolean" default="true">
721
+ <annotation>
722
+ <documentation xml:lang="en">
723
+ Whether to show the arrow buttons used for
724
+ moving layers up and down within the drawing
725
+ order. If the LayerListModel.canReorder property
726
+ is true, drag-and-drop functionality will be
727
+ available regardless of this property. If the
728
+ LayerListModel.canReorder property is false,
729
+ this property is ignored. Web only.
730
+ </documentation>
731
+ </annotation>
732
+ </attribute>
733
+ </extension>
720
734
  </complexContent>
721
735
  </complexType>
722
736
  </element>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "48.9.0",
3
+ "version": "48.10.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "VertiGIS Viewer Specification",
6
6
  "type": "module",
@@ -34,11 +34,11 @@
34
34
  },
35
35
  "author": "VertiGIS Ltd.",
36
36
  "peerDependencies": {
37
- "@vertigis/arcgis-extensions": ">= 35.5.0 < 36.0.0"
37
+ "@vertigis/arcgis-extensions": ">= 35.6.0 < 36.0.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@arcgis/core": "4.23.3",
41
- "@vertigis/arcgis-extensions": "35.5.0",
41
+ "@vertigis/arcgis-extensions": "35.6.0",
42
42
  "@prettier/plugin-xml": "2.2.0",
43
43
  "@types/glob": "7.2.0",
44
44
  "@types/node": "14.14.41",
@@ -59,7 +59,7 @@
59
59
  "prettier": "2.6.2",
60
60
  "prettier-plugin-jsdoc": "0.3.38",
61
61
  "simple-git-hooks": "2.7.0",
62
- "terser": "5.13.1",
62
+ "terser": "5.14.2",
63
63
  "typescript": "4.6.4",
64
64
  "weaktuplemap": "1.0.0"
65
65
  },
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the Geocortex Viewer Specification.
3
3
  */
4
- export declare const version = "48.9.0";
4
+ export declare const version = "48.10.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the Geocortex Viewer Specification.
3
3
  */
4
- export const version = "48.9.0";
4
+ export const version = "48.10.0";