@vertigis/viewer-spec 60.3.0 → 60.4.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.
- package/messaging/common.d.ts +4 -0
- package/messaging/registry/drawing.d.ts +5 -5
- package/messaging/registry/layers.d.ts +2 -2
- package/messaging/registry/measurement.d.ts +2 -2
- package/messaging/schema/web-action.schema.json +211 -29
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/messaging/common.d.ts
CHANGED
|
@@ -275,6 +275,8 @@ export interface HasViewPoint {
|
|
|
275
275
|
export type SymbolLike = SimpleMarkerSymbol | SimpleMarkerSymbolJson | PictureMarkerSymbol | PictureMarkerSymbolJson | SimpleLineSymbol | SimpleLineSymbolJson | SimpleFillSymbol | SimpleFillSymbolJson | PictureFillSymbol | PictureFillSymbolJson | PointSymbol3D | PointSymbol3DJson | LineSymbol3D | LineSymbol3DJson | PolygonSymbol3D | PolygonSymbol3DJson | TextSymbol | TextSymbolJson | CIMSymbol | CIMSymbolReferenceJson;
|
|
276
276
|
/**
|
|
277
277
|
* An object that has a `symbol` property.
|
|
278
|
+
*
|
|
279
|
+
* @deprecated Use HasSymbols instead.
|
|
278
280
|
*/
|
|
279
281
|
export interface HasSymbol {
|
|
280
282
|
/**
|
|
@@ -297,6 +299,8 @@ export interface HasSymbols {
|
|
|
297
299
|
export type RendererLike = RendererJson | RendererUnion;
|
|
298
300
|
/**
|
|
299
301
|
* An object that has a `renderer` property.
|
|
302
|
+
*
|
|
303
|
+
* @deprecated Use HasRenderers instead.
|
|
300
304
|
*/
|
|
301
305
|
export interface HasRenderer {
|
|
302
306
|
/**
|
|
@@ -15,7 +15,7 @@ import type { Command } from "../Command.js";
|
|
|
15
15
|
import { CommandRegistry } from "../CommandRegistry.js";
|
|
16
16
|
import type { Operation } from "../Operation.js";
|
|
17
17
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
18
|
-
import type { CreateGraphicsResult, FeaturesLike, GeometryLike, HasFeatures, HasGraphics, HasLayers, HasMaps,
|
|
18
|
+
import type { CreateGraphicsResult, FeaturesLike, GeometryLike, HasFeatures, HasGraphics, HasLayers, HasMaps, HasRenderers, HasSymbols, HasUITarget, SymbolLike } from "../common.js";
|
|
19
19
|
import type { CaptureGeometryArgs } from "./sketching.js";
|
|
20
20
|
/**
|
|
21
21
|
* Symbols supported for drawing.
|
|
@@ -35,7 +35,7 @@ export interface GetDefaultSymbolArgs {
|
|
|
35
35
|
* Arguments for the drawing.edit-symbol operation. Only available in VertiGIS
|
|
36
36
|
* Studio Web.
|
|
37
37
|
*/
|
|
38
|
-
export interface EditSymbolArgs extends
|
|
38
|
+
export interface EditSymbolArgs extends HasSymbols, HasMaps, HasLayers, HasGraphics, HasFeatures, HasUITarget {
|
|
39
39
|
/**
|
|
40
40
|
* The geometry type for the symbol to create.
|
|
41
41
|
*/
|
|
@@ -57,7 +57,7 @@ export interface EditSymbolArgs extends HasSymbol, HasSymbols, HasMaps, HasLayer
|
|
|
57
57
|
* Arguments for the drawing.edit-symbol operation. Only available in VertiGIS
|
|
58
58
|
* Studio Web.
|
|
59
59
|
*/
|
|
60
|
-
export interface EditSymbolResult extends HasMaps, HasLayers, HasGraphics, HasFeatures, HasSymbols,
|
|
60
|
+
export interface EditSymbolResult extends HasMaps, HasLayers, HasGraphics, HasFeatures, HasSymbols, HasRenderers {
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* Arguments for the "drawing.create-graphics" operation. `GeometryLike`,
|
|
@@ -119,7 +119,7 @@ export declare class DrawingCommands extends CommandRegistry {
|
|
|
119
119
|
*
|
|
120
120
|
* @webOnly
|
|
121
121
|
*/
|
|
122
|
-
get setDefaultSymbol(): Command<SymbolLike |
|
|
122
|
+
get setDefaultSymbol(): Command<SymbolLike | HasSymbols>;
|
|
123
123
|
/**
|
|
124
124
|
* Sets the symbol on a collection of Graphics. The symbol can be configured
|
|
125
125
|
* with an instance of the Esri symbol or with the Esri WebMap JSON. Web
|
|
@@ -127,7 +127,7 @@ export declare class DrawingCommands extends CommandRegistry {
|
|
|
127
127
|
*
|
|
128
128
|
* @webOnly
|
|
129
129
|
*/
|
|
130
|
-
get setSymbol(): Command<
|
|
130
|
+
get setSymbol(): Command<HasSymbols & HasGraphics>;
|
|
131
131
|
}
|
|
132
132
|
export declare class DrawingOperations extends OperationRegistry {
|
|
133
133
|
protected readonly _prefix = "drawing";
|
|
@@ -9,7 +9,7 @@ import type { Event } from "../Event.js";
|
|
|
9
9
|
import { EventRegistry } from "../EventRegistry.js";
|
|
10
10
|
import type { Operation } from "../Operation.js";
|
|
11
11
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
12
|
-
import type { HasFiles, HasLayers, HasMaps,
|
|
12
|
+
import type { HasFiles, HasLayers, HasMaps, HasRenderers, HasSymbols, LayersLike } from "../common.js";
|
|
13
13
|
/**
|
|
14
14
|
* Arguments for the "layers.visibility-changed" event.
|
|
15
15
|
*/
|
|
@@ -44,7 +44,7 @@ export interface SetLabelVisibilityArgs extends HasLayers, HasMaps {
|
|
|
44
44
|
/**
|
|
45
45
|
* Arguments for the layers.set-symbol command.
|
|
46
46
|
*/
|
|
47
|
-
export type SetSymbolArgs =
|
|
47
|
+
export type SetSymbolArgs = HasLayers & HasMaps & HasRenderers & HasSymbols;
|
|
48
48
|
/**
|
|
49
49
|
* Arguments for the layers.set-visibility command. If no 'maps' are specified,
|
|
50
50
|
* all active maps in the layout will be targeted. If no 'layers' are specified,
|
|
@@ -6,7 +6,7 @@ import type { Event } from "../Event.js";
|
|
|
6
6
|
import { EventRegistry } from "../EventRegistry.js";
|
|
7
7
|
import type { Operation } from "../Operation.js";
|
|
8
8
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
9
|
-
import type { CreateGraphicsResult, Geometries, HasMaps,
|
|
9
|
+
import type { CreateGraphicsResult, Geometries, HasMaps, HasSymbols, HasUITarget, Maps, SymbolLike } from "../common.js";
|
|
10
10
|
import type { DrawingSymbolConfig } from "./drawing.js";
|
|
11
11
|
import type { CaptureGeometryArgs, CaptureGeometryResult } from "./sketching.js";
|
|
12
12
|
/**
|
|
@@ -63,7 +63,7 @@ export declare class MeasurementCommands extends CommandRegistry {
|
|
|
63
63
|
*
|
|
64
64
|
* @webOnly
|
|
65
65
|
*/
|
|
66
|
-
get setDefaultSymbol(): Command<SymbolLike |
|
|
66
|
+
get setDefaultSymbol(): Command<SymbolLike | HasSymbols>;
|
|
67
67
|
/**
|
|
68
68
|
* Sets the area units used for measurements. Set as undefined for units to
|
|
69
69
|
* be intelligently selected based on dimensions. Web only.
|
|
@@ -3334,10 +3334,6 @@
|
|
|
3334
3334
|
"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. If defined, this will override the value of the DrawService's 'showOnlySymbolPresets' property. Default is false.",
|
|
3335
3335
|
"type": "boolean"
|
|
3336
3336
|
},
|
|
3337
|
-
"symbol": {
|
|
3338
|
-
"$ref": "SymbolLike",
|
|
3339
|
-
"description": "The symbol to use for the command/operation."
|
|
3340
|
-
},
|
|
3341
3337
|
"symbolPresets": {
|
|
3342
3338
|
"description": "Symbol presets that can be assigned to a graphic. If defined, these presets will override any that are configured in the DrawService.",
|
|
3343
3339
|
"items": {
|
|
@@ -3439,13 +3435,73 @@
|
|
|
3439
3435
|
"$ref": "MapsLike",
|
|
3440
3436
|
"description": "Map(s) to use for the command/operation."
|
|
3441
3437
|
},
|
|
3442
|
-
"
|
|
3443
|
-
"
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3438
|
+
"renderers": {
|
|
3439
|
+
"anyOf": [
|
|
3440
|
+
{
|
|
3441
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.ClassBreaksRendererJson"
|
|
3442
|
+
},
|
|
3443
|
+
{
|
|
3444
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.HeatmapRendererJson"
|
|
3445
|
+
},
|
|
3446
|
+
{
|
|
3447
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.PointCloudClassBreaksRendererJson"
|
|
3448
|
+
},
|
|
3449
|
+
{
|
|
3450
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.PointCloudRGBRendererJson"
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.PointCloudStretchRendererJson"
|
|
3454
|
+
},
|
|
3455
|
+
{
|
|
3456
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.PointCloudUniqueValueRendererJson"
|
|
3457
|
+
},
|
|
3458
|
+
{
|
|
3459
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.PredominanceRendererJson"
|
|
3460
|
+
},
|
|
3461
|
+
{
|
|
3462
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.SimpleRendererJson"
|
|
3463
|
+
},
|
|
3464
|
+
{
|
|
3465
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.TemporalRendererJson"
|
|
3466
|
+
},
|
|
3467
|
+
{
|
|
3468
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.UniqueValueFromStyleRendererJson"
|
|
3469
|
+
},
|
|
3470
|
+
{
|
|
3471
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.UniqueValueRendererJson"
|
|
3472
|
+
},
|
|
3473
|
+
{
|
|
3474
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.VectorFieldRendererJson"
|
|
3475
|
+
},
|
|
3476
|
+
{
|
|
3477
|
+
"$ref": "esri.HeatmapRenderer"
|
|
3478
|
+
},
|
|
3479
|
+
{
|
|
3480
|
+
"$ref": "esri.SimpleRenderer"
|
|
3481
|
+
},
|
|
3482
|
+
{
|
|
3483
|
+
"$ref": "esri.ClassBreaksRenderer"
|
|
3484
|
+
},
|
|
3485
|
+
{
|
|
3486
|
+
"$ref": "esri.UniqueValueRenderer"
|
|
3487
|
+
},
|
|
3488
|
+
{
|
|
3489
|
+
"$ref": "esri.DotDensityRenderer"
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
"$ref": "esri.DictionaryRenderer"
|
|
3493
|
+
},
|
|
3494
|
+
{
|
|
3495
|
+
"$ref": "esri.PieChartRenderer"
|
|
3496
|
+
},
|
|
3497
|
+
{
|
|
3498
|
+
"items": {
|
|
3499
|
+
"$ref": "#/definitions/RendererLike"
|
|
3500
|
+
},
|
|
3501
|
+
"type": "array"
|
|
3502
|
+
}
|
|
3503
|
+
],
|
|
3504
|
+
"description": "The renderers to use for the command/operation."
|
|
3449
3505
|
},
|
|
3450
3506
|
"symbols": {
|
|
3451
3507
|
"anyOf": [
|
|
@@ -5245,13 +5301,80 @@
|
|
|
5245
5301
|
},
|
|
5246
5302
|
"type": "object"
|
|
5247
5303
|
},
|
|
5248
|
-
"
|
|
5304
|
+
"HasSymbols": {
|
|
5249
5305
|
"additionalProperties": false,
|
|
5250
|
-
"description": "An object that has a `
|
|
5306
|
+
"description": "An object that has a `symbols` property.",
|
|
5251
5307
|
"properties": {
|
|
5252
|
-
"
|
|
5253
|
-
"
|
|
5254
|
-
|
|
5308
|
+
"symbols": {
|
|
5309
|
+
"anyOf": [
|
|
5310
|
+
{
|
|
5311
|
+
"$ref": "#/definitions/esri.PictureFillSymbol"
|
|
5312
|
+
},
|
|
5313
|
+
{
|
|
5314
|
+
"$ref": "#/definitions/esri.PictureMarkerSymbol"
|
|
5315
|
+
},
|
|
5316
|
+
{
|
|
5317
|
+
"$ref": "#/definitions/esri.SimpleFillSymbol"
|
|
5318
|
+
},
|
|
5319
|
+
{
|
|
5320
|
+
"$ref": "#/definitions/esri.SimpleLineSymbol"
|
|
5321
|
+
},
|
|
5322
|
+
{
|
|
5323
|
+
"$ref": "#/definitions/esri.SimpleMarkerSymbol"
|
|
5324
|
+
},
|
|
5325
|
+
{
|
|
5326
|
+
"$ref": "#/definitions/esri.TextSymbol"
|
|
5327
|
+
},
|
|
5328
|
+
{
|
|
5329
|
+
"$ref": "#/definitions/esri.CIMSymbol"
|
|
5330
|
+
},
|
|
5331
|
+
{
|
|
5332
|
+
"$ref": "#/definitions/esri.LineSymbol3D"
|
|
5333
|
+
},
|
|
5334
|
+
{
|
|
5335
|
+
"$ref": "#/definitions/esri.PointSymbol3D"
|
|
5336
|
+
},
|
|
5337
|
+
{
|
|
5338
|
+
"$ref": "#/definitions/esri.PolygonSymbol3D"
|
|
5339
|
+
},
|
|
5340
|
+
{
|
|
5341
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.CIMSymbolReferenceJson"
|
|
5342
|
+
},
|
|
5343
|
+
{
|
|
5344
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PictureFillSymbolJson"
|
|
5345
|
+
},
|
|
5346
|
+
{
|
|
5347
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PictureMarkerSymbolJson"
|
|
5348
|
+
},
|
|
5349
|
+
{
|
|
5350
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleFillSymbolJson"
|
|
5351
|
+
},
|
|
5352
|
+
{
|
|
5353
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleLineSymbolJson"
|
|
5354
|
+
},
|
|
5355
|
+
{
|
|
5356
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleMarkerSymbolJson"
|
|
5357
|
+
},
|
|
5358
|
+
{
|
|
5359
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.TextSymbolJson"
|
|
5360
|
+
},
|
|
5361
|
+
{
|
|
5362
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.LineSymbol3DJson"
|
|
5363
|
+
},
|
|
5364
|
+
{
|
|
5365
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PointSymbol3DJson"
|
|
5366
|
+
},
|
|
5367
|
+
{
|
|
5368
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PolygonSymbol3DJson"
|
|
5369
|
+
},
|
|
5370
|
+
{
|
|
5371
|
+
"items": {
|
|
5372
|
+
"$ref": "SymbolLike"
|
|
5373
|
+
},
|
|
5374
|
+
"type": "array"
|
|
5375
|
+
}
|
|
5376
|
+
],
|
|
5377
|
+
"description": "The symbols to use for the command/operation."
|
|
5255
5378
|
}
|
|
5256
5379
|
},
|
|
5257
5380
|
"type": "object"
|
|
@@ -8101,10 +8224,6 @@
|
|
|
8101
8224
|
"$ref": "MapsLike",
|
|
8102
8225
|
"description": "Map(s) to use for the command/operation."
|
|
8103
8226
|
},
|
|
8104
|
-
"renderer": {
|
|
8105
|
-
"$ref": "#/definitions/RendererLike",
|
|
8106
|
-
"description": "The renderer configuration to use for the command/operation."
|
|
8107
|
-
},
|
|
8108
8227
|
"renderers": {
|
|
8109
8228
|
"anyOf": [
|
|
8110
8229
|
{
|
|
@@ -8173,10 +8292,6 @@
|
|
|
8173
8292
|
],
|
|
8174
8293
|
"description": "The renderers to use for the command/operation."
|
|
8175
8294
|
},
|
|
8176
|
-
"symbol": {
|
|
8177
|
-
"$ref": "SymbolLike",
|
|
8178
|
-
"description": "The symbol to use for the command/operation."
|
|
8179
|
-
},
|
|
8180
8295
|
"symbols": {
|
|
8181
8296
|
"anyOf": [
|
|
8182
8297
|
{
|
|
@@ -10759,7 +10874,7 @@
|
|
|
10759
10874
|
"$ref": "#/definitions/esri.rest-api.SymbolJson.PolygonSymbol3DJson"
|
|
10760
10875
|
},
|
|
10761
10876
|
{
|
|
10762
|
-
"$ref": "#/definitions/
|
|
10877
|
+
"$ref": "#/definitions/HasSymbols"
|
|
10763
10878
|
}
|
|
10764
10879
|
]
|
|
10765
10880
|
},
|
|
@@ -10776,9 +10891,76 @@
|
|
|
10776
10891
|
"$ref": "#/definitions/GraphicsLike",
|
|
10777
10892
|
"description": "Graphics to use for the command/operation."
|
|
10778
10893
|
},
|
|
10779
|
-
"
|
|
10780
|
-
"
|
|
10781
|
-
|
|
10894
|
+
"symbols": {
|
|
10895
|
+
"anyOf": [
|
|
10896
|
+
{
|
|
10897
|
+
"$ref": "#/definitions/esri.PictureFillSymbol"
|
|
10898
|
+
},
|
|
10899
|
+
{
|
|
10900
|
+
"$ref": "#/definitions/esri.PictureMarkerSymbol"
|
|
10901
|
+
},
|
|
10902
|
+
{
|
|
10903
|
+
"$ref": "#/definitions/esri.SimpleFillSymbol"
|
|
10904
|
+
},
|
|
10905
|
+
{
|
|
10906
|
+
"$ref": "#/definitions/esri.SimpleLineSymbol"
|
|
10907
|
+
},
|
|
10908
|
+
{
|
|
10909
|
+
"$ref": "#/definitions/esri.SimpleMarkerSymbol"
|
|
10910
|
+
},
|
|
10911
|
+
{
|
|
10912
|
+
"$ref": "#/definitions/esri.TextSymbol"
|
|
10913
|
+
},
|
|
10914
|
+
{
|
|
10915
|
+
"$ref": "#/definitions/esri.CIMSymbol"
|
|
10916
|
+
},
|
|
10917
|
+
{
|
|
10918
|
+
"$ref": "#/definitions/esri.LineSymbol3D"
|
|
10919
|
+
},
|
|
10920
|
+
{
|
|
10921
|
+
"$ref": "#/definitions/esri.PointSymbol3D"
|
|
10922
|
+
},
|
|
10923
|
+
{
|
|
10924
|
+
"$ref": "#/definitions/esri.PolygonSymbol3D"
|
|
10925
|
+
},
|
|
10926
|
+
{
|
|
10927
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.CIMSymbolReferenceJson"
|
|
10928
|
+
},
|
|
10929
|
+
{
|
|
10930
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PictureFillSymbolJson"
|
|
10931
|
+
},
|
|
10932
|
+
{
|
|
10933
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PictureMarkerSymbolJson"
|
|
10934
|
+
},
|
|
10935
|
+
{
|
|
10936
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleFillSymbolJson"
|
|
10937
|
+
},
|
|
10938
|
+
{
|
|
10939
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleLineSymbolJson"
|
|
10940
|
+
},
|
|
10941
|
+
{
|
|
10942
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleMarkerSymbolJson"
|
|
10943
|
+
},
|
|
10944
|
+
{
|
|
10945
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.TextSymbolJson"
|
|
10946
|
+
},
|
|
10947
|
+
{
|
|
10948
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.LineSymbol3DJson"
|
|
10949
|
+
},
|
|
10950
|
+
{
|
|
10951
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PointSymbol3DJson"
|
|
10952
|
+
},
|
|
10953
|
+
{
|
|
10954
|
+
"$ref": "#/definitions/esri.rest-api.SymbolJson.PolygonSymbol3DJson"
|
|
10955
|
+
},
|
|
10956
|
+
{
|
|
10957
|
+
"items": {
|
|
10958
|
+
"$ref": "SymbolLike"
|
|
10959
|
+
},
|
|
10960
|
+
"type": "array"
|
|
10961
|
+
}
|
|
10962
|
+
],
|
|
10963
|
+
"description": "The symbols to use for the command/operation."
|
|
10782
10964
|
}
|
|
10783
10965
|
},
|
|
10784
10966
|
"type": "object"
|
|
@@ -24095,7 +24277,7 @@
|
|
|
24095
24277
|
"$ref": "#/definitions/esri.rest-api.SymbolJson.PolygonSymbol3DJson"
|
|
24096
24278
|
},
|
|
24097
24279
|
{
|
|
24098
|
-
"$ref": "#/definitions/
|
|
24280
|
+
"$ref": "#/definitions/HasSymbols"
|
|
24099
24281
|
}
|
|
24100
24282
|
]
|
|
24101
24283
|
},
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED