@vertigis/viewer-spec 45.2.0 → 46.0.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/app-config/schema/common-app-config.schema.json +1 -1
- package/app-config/schema/mobile-app-config.schema.json +1 -1
- package/app-config/schema/web-app-config.schema.json +1 -1
- package/messaging/registry/sketching.d.ts +227 -55
- package/messaging/registry/sketching.js +1 -1
- package/messaging/registry/ui.d.ts +4 -3
- package/messaging/schema/common-action.schema.json +101 -11
- package/messaging/schema/mobile-action.schema.json +97 -11
- package/messaging/schema/web-action.schema.json +372 -19
- package/package.json +3 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -476,7 +476,7 @@
|
|
|
476
476
|
},
|
|
477
477
|
"AddNodeToGeometryArgs": {
|
|
478
478
|
"additionalProperties": false,
|
|
479
|
-
"description": "
|
|
479
|
+
"description": "Deprecated - Mobile users should rather use \"geometry.add-point\"; Web users should use \"sketching.add-point\" with {@link AddPointArgs} or \"sketching.insert-point\" with {@link InsertPointArgs} instead.",
|
|
480
480
|
"properties": {
|
|
481
481
|
"geometry": {
|
|
482
482
|
"$ref": "#/definitions/esri.Geometry",
|
|
@@ -872,12 +872,24 @@
|
|
|
872
872
|
"description": "Arguments for the \"sketching.delete\" command.",
|
|
873
873
|
"properties": {
|
|
874
874
|
"geometry": {
|
|
875
|
-
"$ref": "#/definitions/esri.
|
|
876
|
-
"description": "The
|
|
875
|
+
"$ref": "#/definitions/esri.Geometry",
|
|
876
|
+
"description": "The geometry to remove a point from. If this property is not specified, any active vertices will be deleted."
|
|
877
877
|
},
|
|
878
878
|
"maps": {
|
|
879
879
|
"$ref": "MapsLike",
|
|
880
880
|
"description": "Map(s) to use for the command/operation."
|
|
881
|
+
},
|
|
882
|
+
"partIndex": {
|
|
883
|
+
"description": "The index of the part of the geometry that the point should be removed from. Required for polyline and polygon geometry types when the geometry and pointIndex properties are defined.",
|
|
884
|
+
"type": "number"
|
|
885
|
+
},
|
|
886
|
+
"point": {
|
|
887
|
+
"$ref": "#/definitions/esri.Point",
|
|
888
|
+
"description": "The point to remove from the geometry. If this property is defined, the 'pointIndex' and 'partIndex' properties are ignored. If no point nor pointIndex/partIndex are specified, any active points will be deleted. If there are no active points, the entire geometry will be deleted."
|
|
889
|
+
},
|
|
890
|
+
"pointIndex": {
|
|
891
|
+
"description": "The index of the point that should be removed from the geometry. If this property is defined, the geometry property must also be defined.",
|
|
892
|
+
"type": "number"
|
|
881
893
|
}
|
|
882
894
|
},
|
|
883
895
|
"type": "object"
|
|
@@ -938,8 +950,8 @@
|
|
|
938
950
|
"type": "boolean"
|
|
939
951
|
},
|
|
940
952
|
"message": {
|
|
941
|
-
"
|
|
942
|
-
"
|
|
953
|
+
"$ref": "#/definitions/TranslatableText",
|
|
954
|
+
"description": "The message to be displayed in the notification. Mobile only supports a string for this property."
|
|
943
955
|
},
|
|
944
956
|
"notificationGroup": {
|
|
945
957
|
"description": "Notifications in the same notification group are mutually exclusive, and will supersede one another. Mobile only.",
|
|
@@ -1075,6 +1087,10 @@
|
|
|
1075
1087
|
"description": "Whether to allow scaling of the edited geometry. Defaults to true.",
|
|
1076
1088
|
"type": "boolean"
|
|
1077
1089
|
},
|
|
1090
|
+
"enableVertexEditing": {
|
|
1091
|
+
"description": "Whether to allow the user to add, move, and remove vertices from a geometry. Defaults to true.",
|
|
1092
|
+
"type": "boolean"
|
|
1093
|
+
},
|
|
1078
1094
|
"scaleMode": {
|
|
1079
1095
|
"description": "Setting \"free\" allows independent scaling on the x and y axis, \"preserve-aspect-ratio\" constrains scaling to the original aspect ratio. Defaults to \"preserve-aspect-ratio\".",
|
|
1080
1096
|
"enum": [
|
|
@@ -1082,6 +1098,10 @@
|
|
|
1082
1098
|
"preserve-aspect-ratio"
|
|
1083
1099
|
],
|
|
1084
1100
|
"type": "string"
|
|
1101
|
+
},
|
|
1102
|
+
"validateGeometry": {
|
|
1103
|
+
"description": "Whether the resulting geometry is validated before it's returned from the operation. If the geometry is invalid upon completion, an error is thrown. Defaults to true.",
|
|
1104
|
+
"type": "boolean"
|
|
1085
1105
|
}
|
|
1086
1106
|
},
|
|
1087
1107
|
"type": "object"
|
|
@@ -1710,6 +1730,10 @@
|
|
|
1710
1730
|
"additionalProperties": false,
|
|
1711
1731
|
"description": "Arguments for the \"sketching.insert-point\" command.",
|
|
1712
1732
|
"properties": {
|
|
1733
|
+
"geometry": {
|
|
1734
|
+
"$ref": "#/definitions/esri.Geometry",
|
|
1735
|
+
"description": "The geometry to add the point to, if multiple are present in an active editing session. Not supported by Mobile."
|
|
1736
|
+
},
|
|
1713
1737
|
"maps": {
|
|
1714
1738
|
"$ref": "MapsLike",
|
|
1715
1739
|
"description": "Map(s) to use for the command/operation."
|
|
@@ -2712,6 +2736,61 @@
|
|
|
2712
2736
|
},
|
|
2713
2737
|
"type": "object"
|
|
2714
2738
|
},
|
|
2739
|
+
"TranslatableText": {
|
|
2740
|
+
"anyOf": [
|
|
2741
|
+
{
|
|
2742
|
+
"$ref": "#/definitions/TranslateOptions"
|
|
2743
|
+
},
|
|
2744
|
+
{
|
|
2745
|
+
"type": "string"
|
|
2746
|
+
}
|
|
2747
|
+
],
|
|
2748
|
+
"description": "A translatable string, either a language string or a language string with arguments to pass into it."
|
|
2749
|
+
},
|
|
2750
|
+
"TranslateOptions": {
|
|
2751
|
+
"additionalProperties": false,
|
|
2752
|
+
"description": "The available options for the Locale Service translate function.",
|
|
2753
|
+
"properties": {
|
|
2754
|
+
"args": {
|
|
2755
|
+
"description": "The values to substitute into the format string if it contains substitution placeholders (see utilities/string/format in Geocortex API).",
|
|
2756
|
+
"items": {
|
|
2757
|
+
},
|
|
2758
|
+
"type": "array"
|
|
2759
|
+
},
|
|
2760
|
+
"currency": {
|
|
2761
|
+
"description": "The default unit of currency to use when formatting currency. See {@link NumberSettings.currency}.",
|
|
2762
|
+
"type": "string"
|
|
2763
|
+
},
|
|
2764
|
+
"dateFormat": {
|
|
2765
|
+
"description": "The default format to use when formatting dates. See {@link DateFormatter.format}.",
|
|
2766
|
+
"type": "string"
|
|
2767
|
+
},
|
|
2768
|
+
"fractionalDigits": {
|
|
2769
|
+
"description": "The default number of digits to show after the decimal point when formatting numbers. See {@link NumberSettings.fractionalDigits}.",
|
|
2770
|
+
"type": "number"
|
|
2771
|
+
},
|
|
2772
|
+
"locale": {
|
|
2773
|
+
"description": "The locale to use for translation. If not specified, the current locale will be used.",
|
|
2774
|
+
"type": "string"
|
|
2775
|
+
},
|
|
2776
|
+
"numberFormat": {
|
|
2777
|
+
"description": "The default format to use when formatting numbers. See {@link NumberFormatter.format}.",
|
|
2778
|
+
"type": "string"
|
|
2779
|
+
},
|
|
2780
|
+
"text": {
|
|
2781
|
+
"description": "The string to translate. If the text is a language resource key, then a localized version of that resource will be used if one exists, otherwise the original text is returned.",
|
|
2782
|
+
"type": "string"
|
|
2783
|
+
},
|
|
2784
|
+
"timeZone": {
|
|
2785
|
+
"description": "The time zone of a date being formatted.",
|
|
2786
|
+
"type": "string"
|
|
2787
|
+
}
|
|
2788
|
+
},
|
|
2789
|
+
"required": [
|
|
2790
|
+
"text"
|
|
2791
|
+
],
|
|
2792
|
+
"type": "object"
|
|
2793
|
+
},
|
|
2715
2794
|
"UpdateResultsFeaturesArgs": {
|
|
2716
2795
|
"additionalProperties": false,
|
|
2717
2796
|
"description": "Arguments for various commands that affect a result component's features.",
|
|
@@ -13050,7 +13129,7 @@
|
|
|
13050
13129
|
"type": "string"
|
|
13051
13130
|
},
|
|
13052
13131
|
"sketching.add-node-to-geometry": {
|
|
13053
|
-
"description": "
|
|
13132
|
+
"description": "Deprecated - Mobile users should rather use \"geometry.add-point\"; Web users should use \"sketching.add-point\" or \"sketching.insert-point\" instead.",
|
|
13054
13133
|
"enum": [
|
|
13055
13134
|
"sketching.add-node-to-geometry"
|
|
13056
13135
|
]
|
|
@@ -13062,7 +13141,7 @@
|
|
|
13062
13141
|
"$ref": "#/definitions/esri.Geometry"
|
|
13063
13142
|
},
|
|
13064
13143
|
"sketching.add-point": {
|
|
13065
|
-
"description": "Adds a point to polygon or
|
|
13144
|
+
"description": "Adds a point to polygon, polyline, or multipoint using the selected index as the point to insert after.",
|
|
13066
13145
|
"enum": [
|
|
13067
13146
|
"sketching.add-point"
|
|
13068
13147
|
]
|
|
@@ -13110,13 +13189,20 @@
|
|
|
13110
13189
|
"$ref": "#/definitions/ClearConstraintsArgs"
|
|
13111
13190
|
},
|
|
13112
13191
|
"sketching.delete": {
|
|
13113
|
-
"description": "If a point is supplied while a sketching or editing operation is active, the vertex at that point will be deleted from the current geometry. If no point is supplied
|
|
13192
|
+
"description": "If a point is supplied while a sketching or editing operation is active, the vertex at that point will be deleted from the current geometry. If no point is supplied, any active points in the session will be deleted. If there are no active points in the session, the entire geometry will be deleted.",
|
|
13114
13193
|
"enum": [
|
|
13115
13194
|
"sketching.delete"
|
|
13116
13195
|
]
|
|
13117
13196
|
},
|
|
13118
13197
|
"sketching.delete:input": {
|
|
13119
|
-
"
|
|
13198
|
+
"anyOf": [
|
|
13199
|
+
{
|
|
13200
|
+
"$ref": "#/definitions/DeleteGeometryArgs"
|
|
13201
|
+
},
|
|
13202
|
+
{
|
|
13203
|
+
"type": "null"
|
|
13204
|
+
}
|
|
13205
|
+
]
|
|
13120
13206
|
},
|
|
13121
13207
|
"sketching.edit-geometry": {
|
|
13122
13208
|
"description": "Allows the user to edit an existing geometry by drawing on a map. Returns the geometry that was edited, or the supplied feature with the altered geometry applied, along with the map that it was drawn on.",
|
|
@@ -13131,7 +13217,7 @@
|
|
|
13131
13217
|
"$ref": "#/definitions/EditGeometryResult"
|
|
13132
13218
|
},
|
|
13133
13219
|
"sketching.insert-point": {
|
|
13134
|
-
"description": "Inserts a point into a polygon or
|
|
13220
|
+
"description": "Inserts a point into a polygon, polyline, or multipoint at the specified index. If the partIndex is null, then the last part is used. If the pointIndex is null, then the new point is inserted at the end.",
|
|
13135
13221
|
"enum": [
|
|
13136
13222
|
"sketching.insert-point"
|
|
13137
13223
|
]
|
|
@@ -13206,7 +13292,7 @@
|
|
|
13206
13292
|
"$ref": "#/definitions/StartStreamingArgs"
|
|
13207
13293
|
},
|
|
13208
13294
|
"sketching.stop": {
|
|
13209
|
-
"description": "Stops geometry capturing or editing on a given map. Returns the current geometry. If validateGeometry parameter is true and geometry is invalid,
|
|
13295
|
+
"description": "Stops geometry capturing or editing on a given map. Returns the current geometry. If validateGeometry parameter is true and geometry is invalid, the operation will return null.",
|
|
13210
13296
|
"enum": [
|
|
13211
13297
|
"sketching.stop"
|
|
13212
13298
|
]
|