@vertigis/viewer-spec 48.7.0 → 48.9.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.
@@ -766,6 +766,23 @@
766
766
  ],
767
767
  "type": "object"
768
768
  },
769
+ "AddMarkupArgs": {
770
+ "additionalProperties": false,
771
+ "description": "Arguments for the \"map.add-markup\" operation. Only available in Mobile.",
772
+ "properties": {
773
+ "graphics": {
774
+ "description": "The graphics to add to the map.",
775
+ "items": {
776
+ "$ref": "#/definitions/esri.Graphic"
777
+ },
778
+ "type": "array"
779
+ }
780
+ },
781
+ "required": [
782
+ "graphics"
783
+ ],
784
+ "type": "object"
785
+ },
769
786
  "AddNodeOrder": {
770
787
  "description": "Indicates whether a new point should be added before or after the active point in a sketch.",
771
788
  "enum": [
@@ -1039,6 +1056,10 @@
1039
1056
  "additionalProperties": false,
1040
1057
  "description": "Arguments for the \"sketching.capture-geometry\" operation.",
1041
1058
  "properties": {
1059
+ "editorSettings": {
1060
+ "$ref": "#/definitions/GeometryEditorSettings",
1061
+ "description": "The settings to be applied to the sketch. Mobile only."
1062
+ },
1042
1063
  "geometryType": {
1043
1064
  "anyOf": [
1044
1065
  {
@@ -1240,6 +1261,24 @@
1240
1261
  },
1241
1262
  "type": "object"
1242
1263
  },
1264
+ "CreateGraphicsArgs": {
1265
+ "additionalProperties": false,
1266
+ "description": "Arguments for the \"drawing.create-graphics\" operation. Only available in Mobile.",
1267
+ "properties": {
1268
+ "geometry": {
1269
+ "$ref": "#/definitions/esri.Geometry",
1270
+ "description": "The geometry that was captured."
1271
+ },
1272
+ "symbol": {
1273
+ "$ref": "#/definitions/esri.Symbol",
1274
+ "description": "The symbol that should be used to create the graphic. If null, a default is provided."
1275
+ }
1276
+ },
1277
+ "required": [
1278
+ "geometry"
1279
+ ],
1280
+ "type": "object"
1281
+ },
1243
1282
  "CreateGraphicsResult": {
1244
1283
  "additionalProperties": false,
1245
1284
  "description": "Result of the \"drawing.create-graphics\" and \"measurement.create-graphics\" operations.",
@@ -1253,7 +1292,7 @@
1253
1292
  },
1254
1293
  "maps": {
1255
1294
  "$ref": "MapsLike",
1256
- "description": "The map that the graphics were created on."
1295
+ "description": "The map that the graphics were created on. Only available in Web."
1257
1296
  }
1258
1297
  },
1259
1298
  "required": [
@@ -1313,7 +1352,7 @@
1313
1352
  },
1314
1353
  "maps": {
1315
1354
  "$ref": "MapsLike",
1316
- "description": "The map that the graphics were created on."
1355
+ "description": "The map that the graphics were created on. Only available in Web."
1317
1356
  }
1318
1357
  },
1319
1358
  "required": [
@@ -1903,6 +1942,22 @@
1903
1942
  ],
1904
1943
  "type": "object"
1905
1944
  },
1945
+ "EditorGeometryMode": {
1946
+ "description": "The editor geometry mode.",
1947
+ "enum": [
1948
+ "area",
1949
+ "line"
1950
+ ],
1951
+ "type": "string"
1952
+ },
1953
+ "EditorInteractionMode": {
1954
+ "description": "The editor interaction mode.",
1955
+ "enum": [
1956
+ "centerCrosshair",
1957
+ "freehand"
1958
+ ],
1959
+ "type": "string"
1960
+ },
1906
1961
  "Features": {
1907
1962
  "anyOf": [
1908
1963
  {
@@ -2542,6 +2597,41 @@
2542
2597
  ],
2543
2598
  "description": "An object that is convertible to one or more geometries, or an object that has geometry."
2544
2599
  },
2600
+ "GeometryEditorSettings": {
2601
+ "additionalProperties": false,
2602
+ "description": "Settings for a sketch.",
2603
+ "properties": {
2604
+ "editorGeometryMode": {
2605
+ "$ref": "#/definitions/EditorGeometryMode",
2606
+ "description": "The editor geometry mode."
2607
+ },
2608
+ "editorInteractionMode": {
2609
+ "$ref": "#/definitions/EditorInteractionMode",
2610
+ "description": "The editor interaction mode."
2611
+ },
2612
+ "finishIfInterrupted": {
2613
+ "description": "A value indicating whether the sketch should commit its geometry if another sketch is activated.",
2614
+ "type": "boolean"
2615
+ },
2616
+ "finishOnDoubleClick": {
2617
+ "description": "A value indicating whether the sketch should stop when double clicking.",
2618
+ "type": "boolean"
2619
+ },
2620
+ "freehand": {
2621
+ "description": "A value indicating whether the sketch is using freehand or segment sketching.",
2622
+ "type": "boolean"
2623
+ },
2624
+ "showBearings": {
2625
+ "description": "A value indicating whether bearing labels should be shown on the map.",
2626
+ "type": "boolean"
2627
+ },
2628
+ "snappingEnabled": {
2629
+ "description": "A value indicating whether snapping should be enabled.",
2630
+ "type": "boolean"
2631
+ }
2632
+ },
2633
+ "type": "object"
2634
+ },
2545
2635
  "GeometryLike": {
2546
2636
  "anyOf": [
2547
2637
  {
@@ -5773,13 +5863,116 @@
5773
5863
  "$ref": "#/definitions/UpdateChartDefinitionArgs"
5774
5864
  },
5775
5865
  "drawing.create-graphics": {
5776
- "description": "Creates graphics out of geometries with the current symbols that are set on the DrawManager.",
5866
+ "description": "Creates graphics. In Web, creates graphics out of GeometryLike args, with the current symbols that are set on the DrawManager. In Mobile, creates graphics from the given CreateGraphicsArgs or CreateGraphicsArgs[] (or some GeometryLike args). Any provided symbol parameter is used, otherwise a default symbol is used.",
5777
5867
  "enum": [
5778
5868
  "drawing.create-graphics"
5779
5869
  ]
5780
5870
  },
5781
5871
  "drawing.create-graphics:input": {
5782
- "$ref": "#/definitions/GeometryLike"
5872
+ "anyOf": [
5873
+ {
5874
+ "$ref": "#/definitions/esri.Geometry"
5875
+ },
5876
+ {
5877
+ "$ref": "#/definitions/esri.Graphic"
5878
+ },
5879
+ {
5880
+ "$ref": "#/definitions/esri.FeatureSet"
5881
+ },
5882
+ {
5883
+ "$ref": "#/definitions/esri.rest-api.Extent.Extent"
5884
+ },
5885
+ {
5886
+ "$ref": "#/definitions/esri.rest-api.Multipoint.Multipoint"
5887
+ },
5888
+ {
5889
+ "$ref": "#/definitions/esri.rest-api.Polygon.Polygon"
5890
+ },
5891
+ {
5892
+ "$ref": "#/definitions/esri.rest-api.Polyline.Polyline"
5893
+ },
5894
+ {
5895
+ "$ref": "#/definitions/esri.rest-api.Point.Point"
5896
+ },
5897
+ {
5898
+ "$ref": "#/definitions/esri.rest-api.Feature.Feature"
5899
+ },
5900
+ {
5901
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureSet.FeatureSet"
5902
+ },
5903
+ {
5904
+ "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
5905
+ },
5906
+ {
5907
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureStream.FeatureStream"
5908
+ },
5909
+ {
5910
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureList.FeatureList"
5911
+ },
5912
+ {
5913
+ "$ref": "#/definitions/CreateGraphicsResult"
5914
+ },
5915
+ {
5916
+ "items": {
5917
+ "anyOf": [
5918
+ {
5919
+ "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
5920
+ },
5921
+ {
5922
+ "$ref": "@vertigis.arcgis-extensions.data.Feature.FeatureProperties"
5923
+ }
5924
+ ]
5925
+ },
5926
+ "type": "array"
5927
+ },
5928
+ {
5929
+ "items": {
5930
+ "anyOf": [
5931
+ {
5932
+ "$ref": "#/definitions/esri.Graphic"
5933
+ },
5934
+ {
5935
+ "$ref": "#/definitions/esri.rest-api.Feature.Feature"
5936
+ }
5937
+ ]
5938
+ },
5939
+ "type": "array"
5940
+ },
5941
+ {
5942
+ "items": {
5943
+ "anyOf": [
5944
+ {
5945
+ "$ref": "#/definitions/esri.Geometry"
5946
+ },
5947
+ {
5948
+ "$ref": "#/definitions/esri.rest-api.Extent.Extent"
5949
+ },
5950
+ {
5951
+ "$ref": "#/definitions/esri.rest-api.Multipoint.Multipoint"
5952
+ },
5953
+ {
5954
+ "$ref": "#/definitions/esri.rest-api.Polygon.Polygon"
5955
+ },
5956
+ {
5957
+ "$ref": "#/definitions/esri.rest-api.Polyline.Polyline"
5958
+ },
5959
+ {
5960
+ "$ref": "#/definitions/esri.rest-api.Point.Point"
5961
+ }
5962
+ ]
5963
+ },
5964
+ "type": "array"
5965
+ },
5966
+ {
5967
+ "$ref": "#/definitions/CreateGraphicsArgs"
5968
+ },
5969
+ {
5970
+ "items": {
5971
+ "$ref": "#/definitions/CreateGraphicsArgs"
5972
+ },
5973
+ "type": "array"
5974
+ }
5975
+ ]
5783
5976
  },
5784
5977
  "drawing.create-graphics:output": {
5785
5978
  "$ref": "#/definitions/CreateGraphicsResult"
@@ -15204,13 +15397,42 @@
15204
15397
  "$ref": "#/definitions/AddLayersArgs"
15205
15398
  },
15206
15399
  "map.add-markup": {
15207
- "description": "Adds markup to the map(s).",
15400
+ "description": "Adds markup to the map(s). In Web, uses GraphicsLike args. In Mobile, uses AddMarkupArgs or some GraphicsLike args.",
15208
15401
  "enum": [
15209
15402
  "map.add-markup"
15210
15403
  ]
15211
15404
  },
15212
15405
  "map.add-markup:input": {
15213
- "$ref": "#/definitions/GraphicsLike"
15406
+ "anyOf": [
15407
+ {
15408
+ "$ref": "#/definitions/esri.Graphic"
15409
+ },
15410
+ {
15411
+ "$ref": "#/definitions/esri.FeatureSet"
15412
+ },
15413
+ {
15414
+ "$ref": "#/definitions/esri.rest-api.Feature.Feature"
15415
+ },
15416
+ {
15417
+ "$ref": "#/definitions/CreateGraphicsResult"
15418
+ },
15419
+ {
15420
+ "items": {
15421
+ "anyOf": [
15422
+ {
15423
+ "$ref": "#/definitions/esri.Graphic"
15424
+ },
15425
+ {
15426
+ "$ref": "#/definitions/esri.rest-api.Feature.Feature"
15427
+ }
15428
+ ]
15429
+ },
15430
+ "type": "array"
15431
+ },
15432
+ {
15433
+ "$ref": "#/definitions/AddMarkupArgs"
15434
+ }
15435
+ ]
15214
15436
  },
15215
15437
  "map.apply-filter-effect": {
15216
15438
  "description": "Applies a Filter Effect to the map(s).",
@@ -390,7 +390,7 @@
390
390
  },
391
391
  "maps": {
392
392
  "$ref": "MapsLike",
393
- "description": "The map that the graphics were created on."
393
+ "description": "The map that the graphics were created on. Only available in Web."
394
394
  }
395
395
  },
396
396
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "48.7.0",
3
+ "version": "48.9.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "VertiGIS Viewer Specification",
6
6
  "type": "module",
@@ -14,6 +14,7 @@
14
14
  ],
15
15
  "scripts": {
16
16
  "app-schema": "npm run -s prepare && node build/js/appConfigSchema.js",
17
+ "audit": "npx audit-ci@^6 --config ./audit-ci.jsonc",
17
18
  "build": "npm run -s delete-js-folders && npm run update-version && tsc -d -p src && npm run minify && npm run -s lint && npm run -s build-schema",
18
19
  "build-debug": "npm run -s delete-js-folders && npm run update-version && tsc -d --sourceMap true -p src && npm run -s lint && npm run build-schema",
19
20
  "build-schema": "node build/js/appConfigSchema.js && node build/js/messageSchema.js",
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.7.0";
4
+ export declare const version = "48.9.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.7.0";
4
+ export const version = "48.9.0";