@vertigis/viewer-spec 43.0.0 → 43.3.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.
@@ -1247,6 +1247,9 @@
1247
1247
  "additionalProperties": false,
1248
1248
  "description": "Arguments for the map.create-note command.",
1249
1249
  "properties": {
1250
+ "attributes": {
1251
+ "description": "Optional layout XML attributes to be used for the transient UI container."
1252
+ },
1250
1253
  "features": {
1251
1254
  "$ref": "#/definitions/FeaturesLike",
1252
1255
  "description": "Optionally the features that can be referenced for inserting snippets."
@@ -1255,9 +1258,17 @@
1255
1258
  "$ref": "#/definitions/esri.Point",
1256
1259
  "description": "The location for the map note."
1257
1260
  },
1261
+ "icon": {
1262
+ "description": "Optional icon that may be used by the transient UI container.",
1263
+ "type": "string"
1264
+ },
1258
1265
  "maps": {
1259
1266
  "$ref": "MapsLike",
1260
1267
  "description": "The map that should show the created note."
1268
+ },
1269
+ "parent": {
1270
+ "description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes.",
1271
+ "type": "string"
1261
1272
  }
1262
1273
  },
1263
1274
  "required": [
@@ -1566,6 +1577,9 @@
1566
1577
  "additionalProperties": false,
1567
1578
  "description": "Arguments for the map.edit-note command.",
1568
1579
  "properties": {
1580
+ "attributes": {
1581
+ "description": "Optional layout XML attributes to be used for the transient UI container."
1582
+ },
1569
1583
  "features": {
1570
1584
  "$ref": "#/definitions/FeaturesLike",
1571
1585
  "description": "Optionally the features that can be referenced for inserting snippets."
@@ -1574,9 +1588,17 @@
1574
1588
  "$ref": "#/definitions/esri.Point",
1575
1589
  "description": "The geometry from which to attempt to select the Note."
1576
1590
  },
1591
+ "icon": {
1592
+ "description": "Optional icon that may be used by the transient UI container.",
1593
+ "type": "string"
1594
+ },
1577
1595
  "maps": {
1578
1596
  "$ref": "MapsLike",
1579
1597
  "description": "The map on which to edit the result."
1598
+ },
1599
+ "parent": {
1600
+ "description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes.",
1601
+ "type": "string"
1580
1602
  }
1581
1603
  },
1582
1604
  "required": [
@@ -1588,6 +1610,9 @@
1588
1610
  "additionalProperties": false,
1589
1611
  "description": "Arguments for the drawing.edit-symbol operation. Only available in Geocortex Web.",
1590
1612
  "properties": {
1613
+ "attributes": {
1614
+ "description": "Optional layout XML attributes to be used for the transient UI container."
1615
+ },
1591
1616
  "features": {
1592
1617
  "$ref": "#/definitions/FeaturesLike",
1593
1618
  "description": "Features to use for the command/operation."
@@ -1600,6 +1625,10 @@
1600
1625
  "$ref": "#/definitions/GraphicsLike",
1601
1626
  "description": "Graphics to use for the command/operation."
1602
1627
  },
1628
+ "icon": {
1629
+ "description": "Optional icon that may be used by the transient UI container.",
1630
+ "type": "string"
1631
+ },
1603
1632
  "layers": {
1604
1633
  "$ref": "#/definitions/LayersLike",
1605
1634
  "description": "Layer(s) to use for the command/operation."
@@ -1608,6 +1637,10 @@
1608
1637
  "$ref": "MapsLike",
1609
1638
  "description": "Map(s) to use for the command/operation."
1610
1639
  },
1640
+ "parent": {
1641
+ "description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes.",
1642
+ "type": "string"
1643
+ },
1611
1644
  "showOnlySymbolPresets": {
1612
1645
  "description": "If the fine-grain controls should be hidden and only the symbol presets should be shown. If no valid symbol presets are configured, this property will be ignored. Default is false. If defined, this will override the value of the DrawService's 'showOnlySymbolPresets' property.",
1613
1646
  "type": "boolean"
@@ -2203,10 +2236,19 @@
2203
2236
  "$ref": "#/definitions/esri.FeatureSet"
2204
2237
  },
2205
2238
  {
2206
- "items": {
2207
- "$ref": "#/definitions/esri.Geometry"
2208
- },
2209
- "type": "array"
2239
+ "$ref": "#/definitions/esri.rest-api.Extent.Extent"
2240
+ },
2241
+ {
2242
+ "$ref": "#/definitions/esri.rest-api.Multipoint.Multipoint"
2243
+ },
2244
+ {
2245
+ "$ref": "#/definitions/esri.rest-api.Polygon.Polygon"
2246
+ },
2247
+ {
2248
+ "$ref": "#/definitions/esri.rest-api.Polyline.Polyline"
2249
+ },
2250
+ {
2251
+ "$ref": "#/definitions/esri.rest-api.Point.Point"
2210
2252
  },
2211
2253
  {
2212
2254
  "$ref": "#/definitions/esri.rest-api.Feature.Feature"
@@ -2255,6 +2297,31 @@
2255
2297
  },
2256
2298
  "type": "array"
2257
2299
  },
2300
+ {
2301
+ "items": {
2302
+ "anyOf": [
2303
+ {
2304
+ "$ref": "#/definitions/esri.Geometry"
2305
+ },
2306
+ {
2307
+ "$ref": "#/definitions/esri.rest-api.Extent.Extent"
2308
+ },
2309
+ {
2310
+ "$ref": "#/definitions/esri.rest-api.Multipoint.Multipoint"
2311
+ },
2312
+ {
2313
+ "$ref": "#/definitions/esri.rest-api.Polygon.Polygon"
2314
+ },
2315
+ {
2316
+ "$ref": "#/definitions/esri.rest-api.Polyline.Polyline"
2317
+ },
2318
+ {
2319
+ "$ref": "#/definitions/esri.rest-api.Point.Point"
2320
+ }
2321
+ ]
2322
+ },
2323
+ "type": "array"
2324
+ },
2258
2325
  {
2259
2326
  "$ref": "#/definitions/HasGeometry"
2260
2327
  }
@@ -2273,10 +2340,19 @@
2273
2340
  "$ref": "#/definitions/esri.FeatureSet"
2274
2341
  },
2275
2342
  {
2276
- "items": {
2277
- "$ref": "#/definitions/esri.Geometry"
2278
- },
2279
- "type": "array"
2343
+ "$ref": "#/definitions/esri.rest-api.Extent.Extent"
2344
+ },
2345
+ {
2346
+ "$ref": "#/definitions/esri.rest-api.Multipoint.Multipoint"
2347
+ },
2348
+ {
2349
+ "$ref": "#/definitions/esri.rest-api.Polygon.Polygon"
2350
+ },
2351
+ {
2352
+ "$ref": "#/definitions/esri.rest-api.Polyline.Polyline"
2353
+ },
2354
+ {
2355
+ "$ref": "#/definitions/esri.rest-api.Point.Point"
2280
2356
  },
2281
2357
  {
2282
2358
  "$ref": "#/definitions/esri.rest-api.Feature.Feature"
@@ -2321,6 +2397,31 @@
2321
2397
  ]
2322
2398
  },
2323
2399
  "type": "array"
2400
+ },
2401
+ {
2402
+ "items": {
2403
+ "anyOf": [
2404
+ {
2405
+ "$ref": "#/definitions/esri.Geometry"
2406
+ },
2407
+ {
2408
+ "$ref": "#/definitions/esri.rest-api.Extent.Extent"
2409
+ },
2410
+ {
2411
+ "$ref": "#/definitions/esri.rest-api.Multipoint.Multipoint"
2412
+ },
2413
+ {
2414
+ "$ref": "#/definitions/esri.rest-api.Polygon.Polygon"
2415
+ },
2416
+ {
2417
+ "$ref": "#/definitions/esri.rest-api.Polyline.Polyline"
2418
+ },
2419
+ {
2420
+ "$ref": "#/definitions/esri.rest-api.Point.Point"
2421
+ }
2422
+ ]
2423
+ },
2424
+ "type": "array"
2324
2425
  }
2325
2426
  ],
2326
2427
  "description": "An object that is convertible to one or more geometries."
@@ -2408,13 +2509,24 @@
2408
2509
  "description": "Indicates if the user should be given the option to select a point from the map.",
2409
2510
  "type": "boolean"
2410
2511
  },
2512
+ "attributes": {
2513
+ "description": "Optional layout XML attributes to be used for the transient UI container."
2514
+ },
2411
2515
  "geometry": {
2412
2516
  "$ref": "#/definitions/esri.Point",
2413
2517
  "description": "An optional starting coordinate."
2414
2518
  },
2519
+ "icon": {
2520
+ "description": "Optional icon that may be used by the transient UI container.",
2521
+ "type": "string"
2522
+ },
2415
2523
  "maps": {
2416
2524
  "$ref": "MapsLike",
2417
2525
  "description": "The map on which to select the result."
2526
+ },
2527
+ "parent": {
2528
+ "description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes.",
2529
+ "type": "string"
2418
2530
  }
2419
2531
  },
2420
2532
  "type": "object"
@@ -2645,6 +2757,24 @@
2645
2757
  },
2646
2758
  "type": "object"
2647
2759
  },
2760
+ "HasUITarget": {
2761
+ "additionalProperties": false,
2762
+ "description": "An object with arguments for a command or operation that can display temporary UI.",
2763
+ "properties": {
2764
+ "attributes": {
2765
+ "description": "Optional layout XML attributes to be used for the transient UI container."
2766
+ },
2767
+ "icon": {
2768
+ "description": "Optional icon that may be used by the transient UI container.",
2769
+ "type": "string"
2770
+ },
2771
+ "parent": {
2772
+ "description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes.",
2773
+ "type": "string"
2774
+ }
2775
+ },
2776
+ "type": "object"
2777
+ },
2648
2778
  "IdentifyArgs": {
2649
2779
  "additionalProperties": false,
2650
2780
  "description": "Arguments for the tasks.identify operation.",
@@ -3176,10 +3306,21 @@
3176
3306
  "description": "The accept parameter for the file input. {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept}.",
3177
3307
  "type": "string"
3178
3308
  },
3309
+ "attributes": {
3310
+ "description": "Optional layout XML attributes to be used for the transient UI container."
3311
+ },
3312
+ "icon": {
3313
+ "description": "Optional icon that may be used by the transient UI container.",
3314
+ "type": "string"
3315
+ },
3179
3316
  "multiple": {
3180
3317
  "description": "If present, indicates that the user may choose more than one file.",
3181
3318
  "type": "boolean"
3182
3319
  },
3320
+ "parent": {
3321
+ "description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes.",
3322
+ "type": "string"
3323
+ },
3183
3324
  "promptMessage": {
3184
3325
  "description": "If present, overrides the default message of the dialog that prompts the user for a file.",
3185
3326
  "type": "string"
@@ -14893,10 +15034,19 @@
14893
15034
  "$ref": "#/definitions/esri.FeatureSet"
14894
15035
  },
14895
15036
  {
14896
- "items": {
14897
- "$ref": "#/definitions/esri.Geometry"
14898
- },
14899
- "type": "array"
15037
+ "$ref": "#/definitions/esri.rest-api.Extent.Extent"
15038
+ },
15039
+ {
15040
+ "$ref": "#/definitions/esri.rest-api.Multipoint.Multipoint"
15041
+ },
15042
+ {
15043
+ "$ref": "#/definitions/esri.rest-api.Polygon.Polygon"
15044
+ },
15045
+ {
15046
+ "$ref": "#/definitions/esri.rest-api.Polyline.Polyline"
15047
+ },
15048
+ {
15049
+ "$ref": "#/definitions/esri.rest-api.Point.Point"
14900
15050
  },
14901
15051
  {
14902
15052
  "$ref": "#/definitions/esri.rest-api.Feature.Feature"
@@ -14945,6 +15095,31 @@
14945
15095
  },
14946
15096
  "type": "array"
14947
15097
  },
15098
+ {
15099
+ "items": {
15100
+ "anyOf": [
15101
+ {
15102
+ "$ref": "#/definitions/esri.Geometry"
15103
+ },
15104
+ {
15105
+ "$ref": "#/definitions/esri.rest-api.Extent.Extent"
15106
+ },
15107
+ {
15108
+ "$ref": "#/definitions/esri.rest-api.Multipoint.Multipoint"
15109
+ },
15110
+ {
15111
+ "$ref": "#/definitions/esri.rest-api.Polygon.Polygon"
15112
+ },
15113
+ {
15114
+ "$ref": "#/definitions/esri.rest-api.Polyline.Polyline"
15115
+ },
15116
+ {
15117
+ "$ref": "#/definitions/esri.rest-api.Point.Point"
15118
+ }
15119
+ ]
15120
+ },
15121
+ "type": "array"
15122
+ },
14948
15123
  {
14949
15124
  "$ref": "#/definitions/HasGeometry"
14950
15125
  },
@@ -15048,10 +15223,19 @@
15048
15223
  "$ref": "#/definitions/esri.FeatureSet"
15049
15224
  },
15050
15225
  {
15051
- "items": {
15052
- "$ref": "#/definitions/esri.Geometry"
15053
- },
15054
- "type": "array"
15226
+ "$ref": "#/definitions/esri.rest-api.Extent.Extent"
15227
+ },
15228
+ {
15229
+ "$ref": "#/definitions/esri.rest-api.Multipoint.Multipoint"
15230
+ },
15231
+ {
15232
+ "$ref": "#/definitions/esri.rest-api.Polygon.Polygon"
15233
+ },
15234
+ {
15235
+ "$ref": "#/definitions/esri.rest-api.Polyline.Polyline"
15236
+ },
15237
+ {
15238
+ "$ref": "#/definitions/esri.rest-api.Point.Point"
15055
15239
  },
15056
15240
  {
15057
15241
  "$ref": "#/definitions/esri.rest-api.Feature.Feature"
@@ -15100,6 +15284,31 @@
15100
15284
  },
15101
15285
  "type": "array"
15102
15286
  },
15287
+ {
15288
+ "items": {
15289
+ "anyOf": [
15290
+ {
15291
+ "$ref": "#/definitions/esri.Geometry"
15292
+ },
15293
+ {
15294
+ "$ref": "#/definitions/esri.rest-api.Extent.Extent"
15295
+ },
15296
+ {
15297
+ "$ref": "#/definitions/esri.rest-api.Multipoint.Multipoint"
15298
+ },
15299
+ {
15300
+ "$ref": "#/definitions/esri.rest-api.Polygon.Polygon"
15301
+ },
15302
+ {
15303
+ "$ref": "#/definitions/esri.rest-api.Polyline.Polyline"
15304
+ },
15305
+ {
15306
+ "$ref": "#/definitions/esri.rest-api.Point.Point"
15307
+ }
15308
+ ]
15309
+ },
15310
+ "type": "array"
15311
+ },
15103
15312
  {
15104
15313
  "$ref": "#/definitions/HasGeometry"
15105
15314
  },
@@ -15277,10 +15486,19 @@
15277
15486
  "$ref": "#/definitions/esri.FeatureSet"
15278
15487
  },
15279
15488
  {
15280
- "items": {
15281
- "$ref": "#/definitions/esri.Geometry"
15282
- },
15283
- "type": "array"
15489
+ "$ref": "#/definitions/esri.rest-api.Extent.Extent"
15490
+ },
15491
+ {
15492
+ "$ref": "#/definitions/esri.rest-api.Multipoint.Multipoint"
15493
+ },
15494
+ {
15495
+ "$ref": "#/definitions/esri.rest-api.Polygon.Polygon"
15496
+ },
15497
+ {
15498
+ "$ref": "#/definitions/esri.rest-api.Polyline.Polyline"
15499
+ },
15500
+ {
15501
+ "$ref": "#/definitions/esri.rest-api.Point.Point"
15284
15502
  },
15285
15503
  {
15286
15504
  "$ref": "#/definitions/esri.rest-api.Feature.Feature"
@@ -15329,6 +15547,31 @@
15329
15547
  },
15330
15548
  "type": "array"
15331
15549
  },
15550
+ {
15551
+ "items": {
15552
+ "anyOf": [
15553
+ {
15554
+ "$ref": "#/definitions/esri.Geometry"
15555
+ },
15556
+ {
15557
+ "$ref": "#/definitions/esri.rest-api.Extent.Extent"
15558
+ },
15559
+ {
15560
+ "$ref": "#/definitions/esri.rest-api.Multipoint.Multipoint"
15561
+ },
15562
+ {
15563
+ "$ref": "#/definitions/esri.rest-api.Polygon.Polygon"
15564
+ },
15565
+ {
15566
+ "$ref": "#/definitions/esri.rest-api.Polyline.Polyline"
15567
+ },
15568
+ {
15569
+ "$ref": "#/definitions/esri.rest-api.Point.Point"
15570
+ }
15571
+ ]
15572
+ },
15573
+ "type": "array"
15574
+ },
15332
15575
  {
15333
15576
  "$ref": "#/definitions/HasGeometry"
15334
15577
  },
@@ -15649,6 +15892,9 @@
15649
15892
  "measurement.show-settings"
15650
15893
  ]
15651
15894
  },
15895
+ "measurement.show-settings:input": {
15896
+ "$ref": "#/definitions/HasUITarget"
15897
+ },
15652
15898
  "messaging.mix-in-args": {
15653
15899
  "description": "Attempts to merge an array of values into a single value that can be used as an argument for a command or operation. For example: ``` [features, { chart: \"average-household-income\" }] ``` This would mix `features` obtained from some other source into arguments intended for the \"charts.display\" command. If the values cannot be merged, then the leftmost value is returned. Note that argument merging already occurs automatically in command chains; this explicit operation exists for advanced scenarios like Geocortex Workflow or custom code written using the SDK.",
15654
15900
  "enum": [
@@ -16630,6 +16876,27 @@
16630
16876
  "ui.focus:input": {
16631
16877
  "$ref": "#/definitions/FocusArgs"
16632
16878
  },
16879
+ "ui.get-theme": {
16880
+ "description": "Gets the active color theme of the viewer. Returns the theme's ID.",
16881
+ "enum": [
16882
+ "ui.get-theme"
16883
+ ]
16884
+ },
16885
+ "ui.get-theme:output": {
16886
+ "type": "string"
16887
+ },
16888
+ "ui.get-themes": {
16889
+ "description": "Gets all color themes available to the viewer. Returns the theme IDs.",
16890
+ "enum": [
16891
+ "ui.get-themes"
16892
+ ]
16893
+ },
16894
+ "ui.get-themes:output": {
16895
+ "items": {
16896
+ "type": "string"
16897
+ },
16898
+ "type": "array"
16899
+ },
16633
16900
  "ui.get-visual-state": {
16634
16901
  "description": "Gets the visual state of a component.",
16635
16902
  "enum": [
@@ -17977,6 +18244,22 @@
17977
18244
  ],
17978
18245
  "type": "object"
17979
18246
  },
18247
+ {
18248
+ "additionalProperties": false,
18249
+ "properties": {
18250
+ "arguments": {
18251
+ "$ref": "#/definitions/measurement.show-settings:input"
18252
+ },
18253
+ "name": {
18254
+ "$ref": "#/definitions/measurement.show-settings"
18255
+ }
18256
+ },
18257
+ "required": [
18258
+ "name",
18259
+ "arguments"
18260
+ ],
18261
+ "type": "object"
18262
+ },
17980
18263
  {
17981
18264
  "additionalProperties": false,
17982
18265
  "properties": {
@@ -19951,6 +20234,12 @@
19951
20234
  {
19952
20235
  "$ref": "#/definitions/ui.confirm"
19953
20236
  },
20237
+ {
20238
+ "$ref": "#/definitions/ui.get-theme"
20239
+ },
20240
+ {
20241
+ "$ref": "#/definitions/ui.get-themes"
20242
+ },
19954
20243
  {
19955
20244
  "$ref": "#/definitions/ui.get-visual-state"
19956
20245
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "43.0.0",
3
+ "version": "43.3.1",
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": ">= 33.4.0 < 34.0.0"
37
+ "@vertigis/arcgis-extensions": ">= 33.5.4 < 34.0.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@arcgis/core": "4.21.2",
41
- "@vertigis/arcgis-extensions": "33.4.0 ",
41
+ "@vertigis/arcgis-extensions": "33.5.4 ",
42
42
  "@types/glob": "7.1.4",
43
43
  "@types/json-stable-stringify": "1.0.33",
44
44
  "@types/node": "14.14.41",
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 = "43.0.0";
4
+ export declare const version = "43.3.1";
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 = "43.0.0";
4
+ export const version = "43.3.1";