@vertigis/viewer-spec 56.15.0 → 56.17.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/web/PrintModelProperties.d.ts +11 -0
- package/app-config/web/PrintModelProperties.js +1 -0
- package/messaging/registry/tasks.d.ts +67 -1
- package/messaging/registry/tasks.js +1 -1
- package/messaging/schema/common-action.schema.json +1 -1
- package/messaging/schema/mobile-action.schema.json +1 -1
- package/messaging/schema/web-action.schema.json +162 -1
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ModelProperties } from "../common/ModelProperties.js";
|
|
2
|
+
/**
|
|
3
|
+
* Configuration for the printing service.
|
|
4
|
+
*/
|
|
5
|
+
export interface PrintModelProperties extends ModelProperties {
|
|
6
|
+
/**
|
|
7
|
+
* The URL for the external printing service that's used to print maps
|
|
8
|
+
* alongside ArcGIS pro layouts.
|
|
9
|
+
*/
|
|
10
|
+
printServiceUrl?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -3,12 +3,59 @@ import type Geometry from "@arcgis/core/geometry/Geometry";
|
|
|
3
3
|
import type Point from "@arcgis/core/geometry/Point";
|
|
4
4
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference";
|
|
5
5
|
import type { FeatureSource } from "@vertigis/arcgis-extensions/data/FeatureSource";
|
|
6
|
+
import type { GeometryJsonType } from "@vertigis/arcgis-extensions/json/GeometryJson.js";
|
|
6
7
|
import type { IdentifyOptions } from "@vertigis/arcgis-extensions/tasks/identify/IdentifyOptions";
|
|
7
8
|
import type { Event } from "../Event.js";
|
|
8
9
|
import { EventRegistry } from "../EventRegistry.js";
|
|
9
10
|
import type { Operation } from "../Operation.js";
|
|
10
11
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
11
|
-
import type { Features, GeometryLike, MapsFeatureResultArgs, MapsLike } from "../common.js";
|
|
12
|
+
import type { Features, GeometryLike, LayerLike, MapsFeatureResultArgs, MapsLike } from "../common.js";
|
|
13
|
+
interface FilterSourcesBaseArgs {
|
|
14
|
+
/**
|
|
15
|
+
* The map from which to retrieve the sources. This argument will not be
|
|
16
|
+
* forwarded in the result of this operation.
|
|
17
|
+
*/
|
|
18
|
+
maps?: MapsLike;
|
|
19
|
+
/**
|
|
20
|
+
* The sources to search in. This can be used in combination with the "maps"
|
|
21
|
+
* argument to search both.
|
|
22
|
+
*/
|
|
23
|
+
sources?: FeatureSource[];
|
|
24
|
+
}
|
|
25
|
+
interface FilterSourcesBaseResult {
|
|
26
|
+
/**
|
|
27
|
+
* The filtered sources from the map and/or sources.
|
|
28
|
+
*/
|
|
29
|
+
sources?: FeatureSource[];
|
|
30
|
+
/**
|
|
31
|
+
* The filtered layers from the map and/or sources.
|
|
32
|
+
*/
|
|
33
|
+
layers?: LayerLike[];
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Arguments for the "tasks.filter-sources.by-geometry-type" operation.
|
|
37
|
+
*/
|
|
38
|
+
export interface FilterSourcesByGeometryTypeArgs extends FilterSourcesBaseArgs {
|
|
39
|
+
/**
|
|
40
|
+
* The geometry type to filter the sources by.
|
|
41
|
+
*/
|
|
42
|
+
geometryType?: GeometryJsonType | GeometryJsonType[];
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Result of the "tasks.filter-sources.by-geometry-type" operation.
|
|
46
|
+
*/
|
|
47
|
+
export interface FilterSourcesByGeometryTypeResult extends FilterSourcesBaseResult {
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Arguments for the "tasks.filter-sources.first-visible" operation.
|
|
51
|
+
*/
|
|
52
|
+
export interface FilterSourcesFirstVisibleArgs extends FilterSourcesBaseArgs {
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Result of the "tasks.filter-sources.first-visible" operation.
|
|
56
|
+
*/
|
|
57
|
+
export interface FilterSourcesFirstVisibleResult extends FilterSourcesBaseResult {
|
|
58
|
+
}
|
|
12
59
|
/**
|
|
13
60
|
* Arguments for search operations.
|
|
14
61
|
*/
|
|
@@ -218,6 +265,7 @@ export declare class TasksEvents extends EventRegistry {
|
|
|
218
265
|
get reverseGeocoded(): Event<MapsFeatureResultArgs>;
|
|
219
266
|
}
|
|
220
267
|
export declare class TasksOperations extends OperationRegistry {
|
|
268
|
+
readonly filterResults: FilterSourcesOperations;
|
|
221
269
|
protected readonly _prefix = "tasks";
|
|
222
270
|
/**
|
|
223
271
|
* Returns features that intersect a given geometry.
|
|
@@ -255,3 +303,21 @@ export declare class TasksOperations extends OperationRegistry {
|
|
|
255
303
|
*/
|
|
256
304
|
get supportsSearch(): Operation<FeatureSource, boolean>;
|
|
257
305
|
}
|
|
306
|
+
declare class FilterSourcesOperations extends OperationRegistry {
|
|
307
|
+
readonly _prefix = "filterSources";
|
|
308
|
+
/**
|
|
309
|
+
* Returns FeatureSources that have a geometry type that matches the
|
|
310
|
+
* supplied type. Web only.
|
|
311
|
+
*
|
|
312
|
+
* @webOnly
|
|
313
|
+
*/
|
|
314
|
+
get byGeometryType(): Operation<FilterSourcesByGeometryTypeArgs, FilterSourcesByGeometryTypeResult>;
|
|
315
|
+
/**
|
|
316
|
+
* Returns the first visible FeatureSource in the web map within the current
|
|
317
|
+
* scale range. Web only.
|
|
318
|
+
*
|
|
319
|
+
* @webOnly
|
|
320
|
+
*/
|
|
321
|
+
get firstVisible(): Operation<FilterSourcesFirstVisibleArgs, FilterSourcesFirstVisibleResult>;
|
|
322
|
+
}
|
|
323
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export class TasksEvents extends e{constructor(){super(...arguments),this._prefix="tasks"}get identified(){return this._get("identified")}get reverseGeocoded(){return this._get("reverse-geocoded")}}export class TasksOperations extends t{constructor(){super(...arguments),this._prefix="tasks"}get identify(){return this._get("identify")}get supportsIdentify(){return this._get("supports-identify")}get query(){return this._get("query")}get supportsQuery(){return this._get("supports-query")}get search(){return this._get("search")}get supportsSearch(){return this._get("supports-search")}}
|
|
1
|
+
import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export class TasksEvents extends e{constructor(){super(...arguments),this._prefix="tasks"}get identified(){return this._get("identified")}get reverseGeocoded(){return this._get("reverse-geocoded")}}export class TasksOperations extends t{constructor(){super(...arguments),this.filterResults=new s(this._messages),this._prefix="tasks"}get identify(){return this._get("identify")}get supportsIdentify(){return this._get("supports-identify")}get query(){return this._get("query")}get supportsQuery(){return this._get("supports-query")}get search(){return this._get("search")}get supportsSearch(){return this._get("supports-search")}}class s extends t{constructor(){super(...arguments),this._prefix="filterSources"}get byGeometryType(){return this._get("by-geometry-type")}get firstVisible(){return this._get("first-visible")}}
|
|
@@ -2207,7 +2207,7 @@
|
|
|
2207
2207
|
"type": "number"
|
|
2208
2208
|
},
|
|
2209
2209
|
"outFields": {
|
|
2210
|
-
"description": "List of fields that should be returned that overrides the default out
|
|
2210
|
+
"description": "List of fields that should be returned that overrides the default out fields. Not supported in VertiGIS Studio Mobile.",
|
|
2211
2211
|
"items": {
|
|
2212
2212
|
"type": "string"
|
|
2213
2213
|
},
|
|
@@ -2701,7 +2701,7 @@
|
|
|
2701
2701
|
"type": "number"
|
|
2702
2702
|
},
|
|
2703
2703
|
"outFields": {
|
|
2704
|
-
"description": "List of fields that should be returned that overrides the default out
|
|
2704
|
+
"description": "List of fields that should be returned that overrides the default out fields. Not supported in VertiGIS Studio Mobile.",
|
|
2705
2705
|
"items": {
|
|
2706
2706
|
"type": "string"
|
|
2707
2707
|
},
|
|
@@ -3096,6 +3096,105 @@
|
|
|
3096
3096
|
],
|
|
3097
3097
|
"type": "object"
|
|
3098
3098
|
},
|
|
3099
|
+
"FilterSourcesByGeometryTypeArgs": {
|
|
3100
|
+
"additionalProperties": false,
|
|
3101
|
+
"description": "Arguments for the \"tasks.filter-sources.by-geometry-type\" operation.",
|
|
3102
|
+
"properties": {
|
|
3103
|
+
"geometryType": {
|
|
3104
|
+
"anyOf": [
|
|
3105
|
+
{
|
|
3106
|
+
"items": {
|
|
3107
|
+
"$ref": "#/definitions/esri.rest-api.GeometryJson.GeometryJsonType"
|
|
3108
|
+
},
|
|
3109
|
+
"type": "array"
|
|
3110
|
+
},
|
|
3111
|
+
{
|
|
3112
|
+
"enum": [
|
|
3113
|
+
"esriGeometryEnvelope",
|
|
3114
|
+
"esriGeometryMultipoint",
|
|
3115
|
+
"esriGeometryPoint",
|
|
3116
|
+
"esriGeometryPolygon",
|
|
3117
|
+
"esriGeometryPolyline"
|
|
3118
|
+
],
|
|
3119
|
+
"type": "string"
|
|
3120
|
+
}
|
|
3121
|
+
],
|
|
3122
|
+
"description": "The geometry type to filter the sources by."
|
|
3123
|
+
},
|
|
3124
|
+
"maps": {
|
|
3125
|
+
"$ref": "MapsLike",
|
|
3126
|
+
"description": "The map from which to retrieve the sources. This argument will not be forwarded in the result of this operation."
|
|
3127
|
+
},
|
|
3128
|
+
"sources": {
|
|
3129
|
+
"description": "The sources to search in. This can be used in combination with the \"maps\" argument to search both.",
|
|
3130
|
+
"items": {
|
|
3131
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
|
|
3132
|
+
},
|
|
3133
|
+
"type": "array"
|
|
3134
|
+
}
|
|
3135
|
+
},
|
|
3136
|
+
"type": "object"
|
|
3137
|
+
},
|
|
3138
|
+
"FilterSourcesByGeometryTypeResult": {
|
|
3139
|
+
"additionalProperties": false,
|
|
3140
|
+
"description": "Result of the \"tasks.filter-sources.by-geometry-type\" operation.",
|
|
3141
|
+
"properties": {
|
|
3142
|
+
"layers": {
|
|
3143
|
+
"description": "The filtered layers from the map and/or sources.",
|
|
3144
|
+
"items": {
|
|
3145
|
+
"$ref": "#/definitions/LayerLike"
|
|
3146
|
+
},
|
|
3147
|
+
"type": "array"
|
|
3148
|
+
},
|
|
3149
|
+
"sources": {
|
|
3150
|
+
"description": "The filtered sources from the map and/or sources.",
|
|
3151
|
+
"items": {
|
|
3152
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
|
|
3153
|
+
},
|
|
3154
|
+
"type": "array"
|
|
3155
|
+
}
|
|
3156
|
+
},
|
|
3157
|
+
"type": "object"
|
|
3158
|
+
},
|
|
3159
|
+
"FilterSourcesFirstVisibleArgs": {
|
|
3160
|
+
"additionalProperties": false,
|
|
3161
|
+
"description": "Arguments for the \"tasks.filter-sources.first-visible\" operation.",
|
|
3162
|
+
"properties": {
|
|
3163
|
+
"maps": {
|
|
3164
|
+
"$ref": "MapsLike",
|
|
3165
|
+
"description": "The map from which to retrieve the sources. This argument will not be forwarded in the result of this operation."
|
|
3166
|
+
},
|
|
3167
|
+
"sources": {
|
|
3168
|
+
"description": "The sources to search in. This can be used in combination with the \"maps\" argument to search both.",
|
|
3169
|
+
"items": {
|
|
3170
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
|
|
3171
|
+
},
|
|
3172
|
+
"type": "array"
|
|
3173
|
+
}
|
|
3174
|
+
},
|
|
3175
|
+
"type": "object"
|
|
3176
|
+
},
|
|
3177
|
+
"FilterSourcesFirstVisibleResult": {
|
|
3178
|
+
"additionalProperties": false,
|
|
3179
|
+
"description": "Result of the \"tasks.filter-sources.first-visible\" operation.",
|
|
3180
|
+
"properties": {
|
|
3181
|
+
"layers": {
|
|
3182
|
+
"description": "The filtered layers from the map and/or sources.",
|
|
3183
|
+
"items": {
|
|
3184
|
+
"$ref": "#/definitions/LayerLike"
|
|
3185
|
+
},
|
|
3186
|
+
"type": "array"
|
|
3187
|
+
},
|
|
3188
|
+
"sources": {
|
|
3189
|
+
"description": "The filtered sources from the map and/or sources.",
|
|
3190
|
+
"items": {
|
|
3191
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
|
|
3192
|
+
},
|
|
3193
|
+
"type": "array"
|
|
3194
|
+
}
|
|
3195
|
+
},
|
|
3196
|
+
"type": "object"
|
|
3197
|
+
},
|
|
3099
3198
|
"FilterSpatialRelationship": {
|
|
3100
3199
|
"description": "The spatial relationship for a filter effect.",
|
|
3101
3200
|
"enum": [
|
|
@@ -4192,7 +4291,7 @@
|
|
|
4192
4291
|
"type": "number"
|
|
4193
4292
|
},
|
|
4194
4293
|
"outFields": {
|
|
4195
|
-
"description": "List of fields that should be returned that overrides the default out
|
|
4294
|
+
"description": "List of fields that should be returned that overrides the default out fields. Not supported in VertiGIS Studio Mobile.",
|
|
4196
4295
|
"items": {
|
|
4197
4296
|
"type": "string"
|
|
4198
4297
|
},
|
|
@@ -21785,6 +21884,30 @@
|
|
|
21785
21884
|
},
|
|
21786
21885
|
"type": "array"
|
|
21787
21886
|
},
|
|
21887
|
+
"tasks.filter-results.by-geometry-type": {
|
|
21888
|
+
"description": "Returns FeatureSources that have a geometry type that matches the supplied type. Web only.",
|
|
21889
|
+
"enum": [
|
|
21890
|
+
"tasks.filter-results.by-geometry-type"
|
|
21891
|
+
]
|
|
21892
|
+
},
|
|
21893
|
+
"tasks.filter-results.by-geometry-type:input": {
|
|
21894
|
+
"$ref": "#/definitions/FilterSourcesByGeometryTypeArgs"
|
|
21895
|
+
},
|
|
21896
|
+
"tasks.filter-results.by-geometry-type:output": {
|
|
21897
|
+
"$ref": "#/definitions/FilterSourcesByGeometryTypeResult"
|
|
21898
|
+
},
|
|
21899
|
+
"tasks.filter-results.first-visible": {
|
|
21900
|
+
"description": "Returns the first visible FeatureSource in the web map within the current scale range. Web only.",
|
|
21901
|
+
"enum": [
|
|
21902
|
+
"tasks.filter-results.first-visible"
|
|
21903
|
+
]
|
|
21904
|
+
},
|
|
21905
|
+
"tasks.filter-results.first-visible:input": {
|
|
21906
|
+
"$ref": "#/definitions/FilterSourcesFirstVisibleArgs"
|
|
21907
|
+
},
|
|
21908
|
+
"tasks.filter-results.first-visible:output": {
|
|
21909
|
+
"$ref": "#/definitions/FilterSourcesFirstVisibleResult"
|
|
21910
|
+
},
|
|
21788
21911
|
"tasks.identify": {
|
|
21789
21912
|
"description": "Returns features that intersect a given geometry.",
|
|
21790
21913
|
"enum": [
|
|
@@ -26326,6 +26449,38 @@
|
|
|
26326
26449
|
],
|
|
26327
26450
|
"type": "object"
|
|
26328
26451
|
},
|
|
26452
|
+
{
|
|
26453
|
+
"additionalProperties": false,
|
|
26454
|
+
"properties": {
|
|
26455
|
+
"arguments": {
|
|
26456
|
+
"$ref": "#/definitions/tasks.filter-results.by-geometry-type:input"
|
|
26457
|
+
},
|
|
26458
|
+
"name": {
|
|
26459
|
+
"$ref": "#/definitions/tasks.filter-results.by-geometry-type"
|
|
26460
|
+
}
|
|
26461
|
+
},
|
|
26462
|
+
"required": [
|
|
26463
|
+
"name",
|
|
26464
|
+
"arguments"
|
|
26465
|
+
],
|
|
26466
|
+
"type": "object"
|
|
26467
|
+
},
|
|
26468
|
+
{
|
|
26469
|
+
"additionalProperties": false,
|
|
26470
|
+
"properties": {
|
|
26471
|
+
"arguments": {
|
|
26472
|
+
"$ref": "#/definitions/tasks.filter-results.first-visible:input"
|
|
26473
|
+
},
|
|
26474
|
+
"name": {
|
|
26475
|
+
"$ref": "#/definitions/tasks.filter-results.first-visible"
|
|
26476
|
+
}
|
|
26477
|
+
},
|
|
26478
|
+
"required": [
|
|
26479
|
+
"name",
|
|
26480
|
+
"arguments"
|
|
26481
|
+
],
|
|
26482
|
+
"type": "object"
|
|
26483
|
+
},
|
|
26329
26484
|
{
|
|
26330
26485
|
"additionalProperties": false,
|
|
26331
26486
|
"properties": {
|
|
@@ -26729,6 +26884,12 @@
|
|
|
26729
26884
|
{
|
|
26730
26885
|
"$ref": "#/definitions/system.read-url"
|
|
26731
26886
|
},
|
|
26887
|
+
{
|
|
26888
|
+
"$ref": "#/definitions/tasks.filter-results.by-geometry-type"
|
|
26889
|
+
},
|
|
26890
|
+
{
|
|
26891
|
+
"$ref": "#/definitions/tasks.filter-results.first-visible"
|
|
26892
|
+
},
|
|
26732
26893
|
{
|
|
26733
26894
|
"$ref": "#/definitions/tasks.identify"
|
|
26734
26895
|
},
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED