@vertigis/viewer-spec 51.16.0 → 52.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/tasks.d.ts +3 -3
- package/messaging/schema/common-action.schema.json +17 -3
- package/messaging/schema/common-event.schema.json +14 -0
- package/messaging/schema/mobile-action.schema.json +17 -3
- package/messaging/schema/mobile-event.schema.json +17 -3
- package/messaging/schema/web-action.schema.json +17 -3
- package/messaging/schema/web-event.schema.json +14 -0
- package/package.json +2 -8
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -30,6 +30,7 @@ export interface SearchArgs {
|
|
|
30
30
|
sources?: FeatureSource[];
|
|
31
31
|
/**
|
|
32
32
|
* The map(s) to search. Can be used instead of or in addition to "sources".
|
|
33
|
+
* This property is required in VertiGIS Studio Mobile.
|
|
33
34
|
*/
|
|
34
35
|
maps?: MapsLike;
|
|
35
36
|
/**
|
|
@@ -47,7 +48,7 @@ export interface SearchArgs {
|
|
|
47
48
|
maxQueryResults?: number;
|
|
48
49
|
/**
|
|
49
50
|
* If specified, results are limited to features that intersect the
|
|
50
|
-
* geometry.
|
|
51
|
+
* geometry. This property is required in VertiGIS Studio Mobile.
|
|
51
52
|
*/
|
|
52
53
|
searchArea?: Geometry;
|
|
53
54
|
/**
|
|
@@ -59,8 +60,7 @@ export interface SearchArgs {
|
|
|
59
60
|
*/
|
|
60
61
|
near?: Point;
|
|
61
62
|
/**
|
|
62
|
-
* The map Viewpoint at the time of the search. Mobile only.
|
|
63
|
-
* is required in VertiGIS Studio Mobile.
|
|
63
|
+
* The map Viewpoint at the time of the search. Mobile only.
|
|
64
64
|
*/
|
|
65
65
|
mapViewpoint?: Viewpoint;
|
|
66
66
|
/**
|
|
@@ -2366,11 +2366,11 @@
|
|
|
2366
2366
|
},
|
|
2367
2367
|
"mapViewpoint": {
|
|
2368
2368
|
"$ref": "#/definitions/esri.Viewpoint",
|
|
2369
|
-
"description": "The map Viewpoint at the time of the search. Mobile only.
|
|
2369
|
+
"description": "The map Viewpoint at the time of the search. Mobile only."
|
|
2370
2370
|
},
|
|
2371
2371
|
"maps": {
|
|
2372
2372
|
"$ref": "MapsLike",
|
|
2373
|
-
"description": "The map(s) to search. Can be used instead of or in addition to \"sources\"."
|
|
2373
|
+
"description": "The map(s) to search. Can be used instead of or in addition to \"sources\". This property is required in VertiGIS Studio Mobile."
|
|
2374
2374
|
},
|
|
2375
2375
|
"maxQueryResults": {
|
|
2376
2376
|
"description": "The maximum number of results to query per source, the results per source will still be limited by maxResults.",
|
|
@@ -2390,7 +2390,7 @@
|
|
|
2390
2390
|
},
|
|
2391
2391
|
"searchArea": {
|
|
2392
2392
|
"$ref": "#/definitions/esri.Geometry",
|
|
2393
|
-
"description": "If specified, results are limited to features that intersect the geometry."
|
|
2393
|
+
"description": "If specified, results are limited to features that intersect the geometry. This property is required in VertiGIS Studio Mobile."
|
|
2394
2394
|
},
|
|
2395
2395
|
"searchText": {
|
|
2396
2396
|
"description": "The text to search for. Required.",
|
|
@@ -5376,6 +5376,13 @@
|
|
|
5376
5376
|
"visibility": {
|
|
5377
5377
|
"description": "Determines whether the layer is initially visible in the web map.",
|
|
5378
5378
|
"type": "boolean"
|
|
5379
|
+
},
|
|
5380
|
+
"visibleLayers": {
|
|
5381
|
+
"description": "An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections.",
|
|
5382
|
+
"items": {
|
|
5383
|
+
"type": "number"
|
|
5384
|
+
},
|
|
5385
|
+
"type": "array"
|
|
5379
5386
|
}
|
|
5380
5387
|
},
|
|
5381
5388
|
"required": [
|
|
@@ -10286,6 +10293,13 @@
|
|
|
10286
10293
|
"visibility": {
|
|
10287
10294
|
"description": "Determines whether the layer is initially visible in the web map.",
|
|
10288
10295
|
"type": "boolean"
|
|
10296
|
+
},
|
|
10297
|
+
"visibleLayers": {
|
|
10298
|
+
"description": "An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections.",
|
|
10299
|
+
"items": {
|
|
10300
|
+
"type": "number"
|
|
10301
|
+
},
|
|
10302
|
+
"type": "array"
|
|
10289
10303
|
}
|
|
10290
10304
|
},
|
|
10291
10305
|
"required": [
|
|
@@ -2411,6 +2411,13 @@
|
|
|
2411
2411
|
"visibility": {
|
|
2412
2412
|
"description": "Determines whether the layer is initially visible in the web map.",
|
|
2413
2413
|
"type": "boolean"
|
|
2414
|
+
},
|
|
2415
|
+
"visibleLayers": {
|
|
2416
|
+
"description": "An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections.",
|
|
2417
|
+
"items": {
|
|
2418
|
+
"type": "number"
|
|
2419
|
+
},
|
|
2420
|
+
"type": "array"
|
|
2414
2421
|
}
|
|
2415
2422
|
},
|
|
2416
2423
|
"required": [
|
|
@@ -7092,6 +7099,13 @@
|
|
|
7092
7099
|
"visibility": {
|
|
7093
7100
|
"description": "Determines whether the layer is initially visible in the web map.",
|
|
7094
7101
|
"type": "boolean"
|
|
7102
|
+
},
|
|
7103
|
+
"visibleLayers": {
|
|
7104
|
+
"description": "An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections.",
|
|
7105
|
+
"items": {
|
|
7106
|
+
"type": "number"
|
|
7107
|
+
},
|
|
7108
|
+
"type": "array"
|
|
7095
7109
|
}
|
|
7096
7110
|
},
|
|
7097
7111
|
"required": [
|
|
@@ -3186,11 +3186,11 @@
|
|
|
3186
3186
|
},
|
|
3187
3187
|
"mapViewpoint": {
|
|
3188
3188
|
"$ref": "#/definitions/esri.Viewpoint",
|
|
3189
|
-
"description": "The map Viewpoint at the time of the search. Mobile only.
|
|
3189
|
+
"description": "The map Viewpoint at the time of the search. Mobile only."
|
|
3190
3190
|
},
|
|
3191
3191
|
"maps": {
|
|
3192
3192
|
"$ref": "MapsLike",
|
|
3193
|
-
"description": "The map(s) to search. Can be used instead of or in addition to \"sources\"."
|
|
3193
|
+
"description": "The map(s) to search. Can be used instead of or in addition to \"sources\". This property is required in VertiGIS Studio Mobile."
|
|
3194
3194
|
},
|
|
3195
3195
|
"maxQueryResults": {
|
|
3196
3196
|
"description": "The maximum number of results to query per source, the results per source will still be limited by maxResults.",
|
|
@@ -3210,7 +3210,7 @@
|
|
|
3210
3210
|
},
|
|
3211
3211
|
"searchArea": {
|
|
3212
3212
|
"$ref": "#/definitions/esri.Geometry",
|
|
3213
|
-
"description": "If specified, results are limited to features that intersect the geometry."
|
|
3213
|
+
"description": "If specified, results are limited to features that intersect the geometry. This property is required in VertiGIS Studio Mobile."
|
|
3214
3214
|
},
|
|
3215
3215
|
"searchText": {
|
|
3216
3216
|
"description": "The text to search for. Required.",
|
|
@@ -6470,6 +6470,13 @@
|
|
|
6470
6470
|
"visibility": {
|
|
6471
6471
|
"description": "Determines whether the layer is initially visible in the web map.",
|
|
6472
6472
|
"type": "boolean"
|
|
6473
|
+
},
|
|
6474
|
+
"visibleLayers": {
|
|
6475
|
+
"description": "An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections.",
|
|
6476
|
+
"items": {
|
|
6477
|
+
"type": "number"
|
|
6478
|
+
},
|
|
6479
|
+
"type": "array"
|
|
6473
6480
|
}
|
|
6474
6481
|
},
|
|
6475
6482
|
"required": [
|
|
@@ -11391,6 +11398,13 @@
|
|
|
11391
11398
|
"visibility": {
|
|
11392
11399
|
"description": "Determines whether the layer is initially visible in the web map.",
|
|
11393
11400
|
"type": "boolean"
|
|
11401
|
+
},
|
|
11402
|
+
"visibleLayers": {
|
|
11403
|
+
"description": "An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections.",
|
|
11404
|
+
"items": {
|
|
11405
|
+
"type": "number"
|
|
11406
|
+
},
|
|
11407
|
+
"type": "array"
|
|
11394
11408
|
}
|
|
11395
11409
|
},
|
|
11396
11410
|
"required": [
|
|
@@ -1459,11 +1459,11 @@
|
|
|
1459
1459
|
},
|
|
1460
1460
|
"mapViewpoint": {
|
|
1461
1461
|
"$ref": "#/definitions/esri.Viewpoint",
|
|
1462
|
-
"description": "The map Viewpoint at the time of the search. Mobile only.
|
|
1462
|
+
"description": "The map Viewpoint at the time of the search. Mobile only."
|
|
1463
1463
|
},
|
|
1464
1464
|
"maps": {
|
|
1465
1465
|
"$ref": "MapsLike",
|
|
1466
|
-
"description": "The map(s) to search. Can be used instead of or in addition to \"sources\"."
|
|
1466
|
+
"description": "The map(s) to search. Can be used instead of or in addition to \"sources\". This property is required in VertiGIS Studio Mobile."
|
|
1467
1467
|
},
|
|
1468
1468
|
"maxQueryResults": {
|
|
1469
1469
|
"description": "The maximum number of results to query per source, the results per source will still be limited by maxResults.",
|
|
@@ -1483,7 +1483,7 @@
|
|
|
1483
1483
|
},
|
|
1484
1484
|
"searchArea": {
|
|
1485
1485
|
"$ref": "#/definitions/esri.Geometry",
|
|
1486
|
-
"description": "If specified, results are limited to features that intersect the geometry."
|
|
1486
|
+
"description": "If specified, results are limited to features that intersect the geometry. This property is required in VertiGIS Studio Mobile."
|
|
1487
1487
|
},
|
|
1488
1488
|
"searchText": {
|
|
1489
1489
|
"description": "The text to search for. Required.",
|
|
@@ -3956,6 +3956,13 @@
|
|
|
3956
3956
|
"visibility": {
|
|
3957
3957
|
"description": "Determines whether the layer is initially visible in the web map.",
|
|
3958
3958
|
"type": "boolean"
|
|
3959
|
+
},
|
|
3960
|
+
"visibleLayers": {
|
|
3961
|
+
"description": "An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections.",
|
|
3962
|
+
"items": {
|
|
3963
|
+
"type": "number"
|
|
3964
|
+
},
|
|
3965
|
+
"type": "array"
|
|
3959
3966
|
}
|
|
3960
3967
|
},
|
|
3961
3968
|
"required": [
|
|
@@ -8637,6 +8644,13 @@
|
|
|
8637
8644
|
"visibility": {
|
|
8638
8645
|
"description": "Determines whether the layer is initially visible in the web map.",
|
|
8639
8646
|
"type": "boolean"
|
|
8647
|
+
},
|
|
8648
|
+
"visibleLayers": {
|
|
8649
|
+
"description": "An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections.",
|
|
8650
|
+
"items": {
|
|
8651
|
+
"type": "number"
|
|
8652
|
+
},
|
|
8653
|
+
"type": "array"
|
|
8640
8654
|
}
|
|
8641
8655
|
},
|
|
8642
8656
|
"required": [
|
|
@@ -4709,11 +4709,11 @@
|
|
|
4709
4709
|
},
|
|
4710
4710
|
"mapViewpoint": {
|
|
4711
4711
|
"$ref": "#/definitions/esri.Viewpoint",
|
|
4712
|
-
"description": "The map Viewpoint at the time of the search. Mobile only.
|
|
4712
|
+
"description": "The map Viewpoint at the time of the search. Mobile only."
|
|
4713
4713
|
},
|
|
4714
4714
|
"maps": {
|
|
4715
4715
|
"$ref": "MapsLike",
|
|
4716
|
-
"description": "The map(s) to search. Can be used instead of or in addition to \"sources\"."
|
|
4716
|
+
"description": "The map(s) to search. Can be used instead of or in addition to \"sources\". This property is required in VertiGIS Studio Mobile."
|
|
4717
4717
|
},
|
|
4718
4718
|
"maxQueryResults": {
|
|
4719
4719
|
"description": "The maximum number of results to query per source, the results per source will still be limited by maxResults.",
|
|
@@ -4733,7 +4733,7 @@
|
|
|
4733
4733
|
},
|
|
4734
4734
|
"searchArea": {
|
|
4735
4735
|
"$ref": "#/definitions/esri.Geometry",
|
|
4736
|
-
"description": "If specified, results are limited to features that intersect the geometry."
|
|
4736
|
+
"description": "If specified, results are limited to features that intersect the geometry. This property is required in VertiGIS Studio Mobile."
|
|
4737
4737
|
},
|
|
4738
4738
|
"searchText": {
|
|
4739
4739
|
"description": "The text to search for. Required.",
|
|
@@ -9024,6 +9024,13 @@
|
|
|
9024
9024
|
"visibility": {
|
|
9025
9025
|
"description": "Determines whether the layer is initially visible in the web map.",
|
|
9026
9026
|
"type": "boolean"
|
|
9027
|
+
},
|
|
9028
|
+
"visibleLayers": {
|
|
9029
|
+
"description": "An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections.",
|
|
9030
|
+
"items": {
|
|
9031
|
+
"type": "number"
|
|
9032
|
+
},
|
|
9033
|
+
"type": "array"
|
|
9027
9034
|
}
|
|
9028
9035
|
},
|
|
9029
9036
|
"required": [
|
|
@@ -14017,6 +14024,13 @@
|
|
|
14017
14024
|
"visibility": {
|
|
14018
14025
|
"description": "Determines whether the layer is initially visible in the web map.",
|
|
14019
14026
|
"type": "boolean"
|
|
14027
|
+
},
|
|
14028
|
+
"visibleLayers": {
|
|
14029
|
+
"description": "An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections.",
|
|
14030
|
+
"items": {
|
|
14031
|
+
"type": "number"
|
|
14032
|
+
},
|
|
14033
|
+
"type": "array"
|
|
14020
14034
|
}
|
|
14021
14035
|
},
|
|
14022
14036
|
"required": [
|
|
@@ -3339,6 +3339,13 @@
|
|
|
3339
3339
|
"visibility": {
|
|
3340
3340
|
"description": "Determines whether the layer is initially visible in the web map.",
|
|
3341
3341
|
"type": "boolean"
|
|
3342
|
+
},
|
|
3343
|
+
"visibleLayers": {
|
|
3344
|
+
"description": "An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections.",
|
|
3345
|
+
"items": {
|
|
3346
|
+
"type": "number"
|
|
3347
|
+
},
|
|
3348
|
+
"type": "array"
|
|
3342
3349
|
}
|
|
3343
3350
|
},
|
|
3344
3351
|
"required": [
|
|
@@ -8020,6 +8027,13 @@
|
|
|
8020
8027
|
"visibility": {
|
|
8021
8028
|
"description": "Determines whether the layer is initially visible in the web map.",
|
|
8022
8029
|
"type": "boolean"
|
|
8030
|
+
},
|
|
8031
|
+
"visibleLayers": {
|
|
8032
|
+
"description": "An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections.",
|
|
8033
|
+
"items": {
|
|
8034
|
+
"type": "number"
|
|
8035
|
+
},
|
|
8036
|
+
"type": "array"
|
|
8023
8037
|
}
|
|
8024
8038
|
},
|
|
8025
8039
|
"required": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertigis/viewer-spec",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "52.0.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"description": "VertiGIS Viewer Specification",
|
|
6
6
|
"type": "module",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"author": "VertiGIS Ltd.",
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@arcgis/core": "*",
|
|
39
|
-
"@vertigis/arcgis-extensions": ">=
|
|
39
|
+
"@vertigis/arcgis-extensions": ">= 40.0.0 < 41.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@prettier/plugin-xml": "2.2.0",
|
|
@@ -63,12 +63,6 @@
|
|
|
63
63
|
"typescript": "4.9.5",
|
|
64
64
|
"weaktuplemap": "1.0.0"
|
|
65
65
|
},
|
|
66
|
-
"overridesComments": {
|
|
67
|
-
"luxon": "There is an audit issue with version ~3.0.4 that @arcgis/core depends on. When the latter is upgraded, check if this can be removed."
|
|
68
|
-
},
|
|
69
|
-
"overrides": {
|
|
70
|
-
"luxon": "~3.2.1"
|
|
71
|
-
},
|
|
72
66
|
"simple-git-hooks": {
|
|
73
67
|
"pre-commit": "npx lint-staged"
|
|
74
68
|
},
|
package/version.d.ts
CHANGED
package/version.js
CHANGED