@vertigis/viewer-spec 51.4.0 → 51.6.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/SnappingProperties.d.ts +1 -1
- package/layout/schema/layout-common.xsd +4 -3
- package/messaging/MessageBus.d.ts +2 -2
- package/messaging/common.d.ts +8 -2
- package/messaging/registry/edit.d.ts +3 -2
- package/messaging/schema/common-action.schema.json +27 -0
- package/messaging/schema/mobile-action.schema.json +27 -0
- package/messaging/schema/web-action.schema.json +52 -1
- package/package.json +4 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type Color from "@arcgis/core/Color";
|
|
2
2
|
import type { LayerExtension } from "@vertigis/arcgis-extensions/mapping/LayerExtension";
|
|
3
|
-
import type { SublayerExtension } from "@vertigis/arcgis-extensions/mapping/
|
|
3
|
+
import type { SublayerExtension } from "@vertigis/arcgis-extensions/mapping/SublayerExtension";
|
|
4
4
|
/**
|
|
5
5
|
* Well known connection points for Snapping.
|
|
6
6
|
*/
|
|
@@ -568,13 +568,14 @@
|
|
|
568
568
|
<complexType>
|
|
569
569
|
<complexContent mixed="true">
|
|
570
570
|
<extension base="tns:Component">
|
|
571
|
-
|
|
571
|
+
<attribute name="showBackground" type="boolean" default="true">
|
|
572
572
|
<annotation>
|
|
573
573
|
<documentation xml:lang="en">
|
|
574
|
-
Whether or not the text background should be displayed. Mobile
|
|
574
|
+
Whether or not the text background should be displayed. Mobile
|
|
575
|
+
only. Defaults to true.
|
|
575
576
|
</documentation>
|
|
576
577
|
</annotation>
|
|
577
|
-
</attribute>
|
|
578
|
+
</attribute>
|
|
578
579
|
</extension>
|
|
579
580
|
</complexContent>
|
|
580
581
|
</complexType>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Action
|
|
1
|
+
import type { Action } from "@vertigis/arcgis-extensions/support/Action";
|
|
2
2
|
import type { Command } from "./Command.js";
|
|
3
3
|
import type { Event } from "./Event.js";
|
|
4
4
|
import type { Operation } from "./Operation.js";
|
|
@@ -24,7 +24,7 @@ export interface MessageBus {
|
|
|
24
24
|
*
|
|
25
25
|
* @param name Name of the operation.
|
|
26
26
|
*/
|
|
27
|
-
operation<T = void, TResult = undefined>(action:
|
|
27
|
+
operation<T = void, TResult = undefined>(action: Action): Operation<T, TResult>;
|
|
28
28
|
/**
|
|
29
29
|
* Determines whether a command with the given name exists.
|
|
30
30
|
*
|
package/messaging/common.d.ts
CHANGED
|
@@ -17,11 +17,12 @@ import type { FeatureList } from "@vertigis/arcgis-extensions/data/FeatureList";
|
|
|
17
17
|
import type { FeatureSet } from "@vertigis/arcgis-extensions/data/FeatureSet";
|
|
18
18
|
import type { FeatureSource } from "@vertigis/arcgis-extensions/data/FeatureSource";
|
|
19
19
|
import type { FeatureStream } from "@vertigis/arcgis-extensions/data/FeatureStream";
|
|
20
|
+
import type { TableExtension, TableReference as TableReferenceObject } from "@vertigis/arcgis-extensions/data/TableExtension";
|
|
20
21
|
import type { BasemapExtension } from "@vertigis/arcgis-extensions/mapping/BasemapExtension";
|
|
21
22
|
import type { Bookmark, BookmarkProperties } from "@vertigis/arcgis-extensions/mapping/Bookmark";
|
|
23
|
+
import type { LayerExtension, LayerReference as LayerReferenceObject } from "@vertigis/arcgis-extensions/mapping/LayerExtension";
|
|
22
24
|
import type { MapExtension } from "@vertigis/arcgis-extensions/mapping/MapExtension";
|
|
23
25
|
import type { SublayerExtension } from "@vertigis/arcgis-extensions/mapping/SublayerExtension";
|
|
24
|
-
import type { LayerExtension, LayerReference as LayerReferenceObject } from "@vertigis/arcgis-extensions/mapping/_LayerExtension";
|
|
25
26
|
import type { Feature as GraphicJson } from "@vertigis/arcgis-extensions/portal/Feature";
|
|
26
27
|
import type { Geometry as GeometryJson } from "@vertigis/arcgis-extensions/portal/Geometry";
|
|
27
28
|
import type { LineSymbol3D as LineSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/LineSymbol3D";
|
|
@@ -152,10 +153,15 @@ export declare type Maps = MapsLike | HasMaps;
|
|
|
152
153
|
* both).
|
|
153
154
|
*/
|
|
154
155
|
export declare type LayerReference = string | LayerReferenceObject;
|
|
156
|
+
/**
|
|
157
|
+
* A reference to an existing table, which is the ID or title of the table (or
|
|
158
|
+
* both).
|
|
159
|
+
*/
|
|
160
|
+
export declare type TableReference = string | TableReferenceObject;
|
|
155
161
|
/**
|
|
156
162
|
* A (sub)layer extension, or an object that is convertible to one.
|
|
157
163
|
*/
|
|
158
|
-
export declare type LayerLike = Layer | LayerExtension | SublayerLike | SublayerExtension | LayerReference;
|
|
164
|
+
export declare type LayerLike = Layer | LayerExtension | SublayerLike | SublayerExtension | LayerReference | TableExtension | TableReference;
|
|
159
165
|
/**
|
|
160
166
|
* One or more objects that are convertible to layer extensions.
|
|
161
167
|
*/
|
|
@@ -147,8 +147,9 @@ export interface UpdateSessionArgs extends HasGeometry {
|
|
|
147
147
|
attachments?: Attachment[];
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
|
-
* Arguments for the "edit.create-feature" operation. A valid feature layer
|
|
151
|
-
*
|
|
150
|
+
* Arguments for the "edit.create-feature" operation. A valid feature layer,
|
|
151
|
+
* subtype group layer, or subtype sublayer is required. The geometry is
|
|
152
|
+
* required for non-tabular features. Web only.
|
|
152
153
|
*/
|
|
153
154
|
export interface CreateFeatureArgs extends HasGeometry, HasLayers, HasMaps, EditUIOptions {
|
|
154
155
|
/**
|
|
@@ -423,6 +423,21 @@
|
|
|
423
423
|
},
|
|
424
424
|
"type": "object"
|
|
425
425
|
},
|
|
426
|
+
"@vertigis.arcgis-extensions.data._TableExtension.TableReference": {
|
|
427
|
+
"additionalProperties": false,
|
|
428
|
+
"description": "Matches an existing table in a map.",
|
|
429
|
+
"properties": {
|
|
430
|
+
"id": {
|
|
431
|
+
"description": "The table's ID.",
|
|
432
|
+
"type": "string"
|
|
433
|
+
},
|
|
434
|
+
"title": {
|
|
435
|
+
"description": "The table's title.",
|
|
436
|
+
"type": "string"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"type": "object"
|
|
440
|
+
},
|
|
426
441
|
"@vertigis.arcgis-extensions.mapping.Bookmark.BookmarkProperties": {
|
|
427
442
|
"additionalProperties": false,
|
|
428
443
|
"description": "Properties that can be passed into the constructor for{@linkmapping /Bookmark!Bookmark}.",
|
|
@@ -1833,6 +1848,9 @@
|
|
|
1833
1848
|
{
|
|
1834
1849
|
"$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
|
|
1835
1850
|
},
|
|
1851
|
+
{
|
|
1852
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
|
|
1853
|
+
},
|
|
1836
1854
|
{
|
|
1837
1855
|
"$ref": "#/definitions/esri.Layer"
|
|
1838
1856
|
},
|
|
@@ -1845,12 +1863,18 @@
|
|
|
1845
1863
|
{
|
|
1846
1864
|
"$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
|
|
1847
1865
|
},
|
|
1866
|
+
{
|
|
1867
|
+
"$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
|
|
1868
|
+
},
|
|
1848
1869
|
{
|
|
1849
1870
|
"items": {
|
|
1850
1871
|
"anyOf": [
|
|
1851
1872
|
{
|
|
1852
1873
|
"$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
|
|
1853
1874
|
},
|
|
1875
|
+
{
|
|
1876
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
|
|
1877
|
+
},
|
|
1854
1878
|
{
|
|
1855
1879
|
"$ref": "#/definitions/esri.Layer"
|
|
1856
1880
|
},
|
|
@@ -1863,6 +1887,9 @@
|
|
|
1863
1887
|
{
|
|
1864
1888
|
"$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
|
|
1865
1889
|
},
|
|
1890
|
+
{
|
|
1891
|
+
"$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
|
|
1892
|
+
},
|
|
1866
1893
|
{
|
|
1867
1894
|
"type": "string"
|
|
1868
1895
|
}
|
|
@@ -423,6 +423,21 @@
|
|
|
423
423
|
},
|
|
424
424
|
"type": "object"
|
|
425
425
|
},
|
|
426
|
+
"@vertigis.arcgis-extensions.data._TableExtension.TableReference": {
|
|
427
|
+
"additionalProperties": false,
|
|
428
|
+
"description": "Matches an existing table in a map.",
|
|
429
|
+
"properties": {
|
|
430
|
+
"id": {
|
|
431
|
+
"description": "The table's ID.",
|
|
432
|
+
"type": "string"
|
|
433
|
+
},
|
|
434
|
+
"title": {
|
|
435
|
+
"description": "The table's title.",
|
|
436
|
+
"type": "string"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"type": "object"
|
|
440
|
+
},
|
|
426
441
|
"@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference": {
|
|
427
442
|
"additionalProperties": false,
|
|
428
443
|
"description": "Matches an existing layer.",
|
|
@@ -2337,6 +2352,9 @@
|
|
|
2337
2352
|
{
|
|
2338
2353
|
"$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
|
|
2339
2354
|
},
|
|
2355
|
+
{
|
|
2356
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
|
|
2357
|
+
},
|
|
2340
2358
|
{
|
|
2341
2359
|
"$ref": "#/definitions/esri.Layer"
|
|
2342
2360
|
},
|
|
@@ -2349,12 +2367,18 @@
|
|
|
2349
2367
|
{
|
|
2350
2368
|
"$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
|
|
2351
2369
|
},
|
|
2370
|
+
{
|
|
2371
|
+
"$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
|
|
2372
|
+
},
|
|
2352
2373
|
{
|
|
2353
2374
|
"items": {
|
|
2354
2375
|
"anyOf": [
|
|
2355
2376
|
{
|
|
2356
2377
|
"$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
|
|
2357
2378
|
},
|
|
2379
|
+
{
|
|
2380
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
|
|
2381
|
+
},
|
|
2358
2382
|
{
|
|
2359
2383
|
"$ref": "#/definitions/esri.Layer"
|
|
2360
2384
|
},
|
|
@@ -2367,6 +2391,9 @@
|
|
|
2367
2391
|
{
|
|
2368
2392
|
"$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
|
|
2369
2393
|
},
|
|
2394
|
+
{
|
|
2395
|
+
"$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
|
|
2396
|
+
},
|
|
2370
2397
|
{
|
|
2371
2398
|
"type": "string"
|
|
2372
2399
|
}
|
|
@@ -423,6 +423,21 @@
|
|
|
423
423
|
},
|
|
424
424
|
"type": "object"
|
|
425
425
|
},
|
|
426
|
+
"@vertigis.arcgis-extensions.data._TableExtension.TableReference": {
|
|
427
|
+
"additionalProperties": false,
|
|
428
|
+
"description": "Matches an existing table in a map.",
|
|
429
|
+
"properties": {
|
|
430
|
+
"id": {
|
|
431
|
+
"description": "The table's ID.",
|
|
432
|
+
"type": "string"
|
|
433
|
+
},
|
|
434
|
+
"title": {
|
|
435
|
+
"description": "The table's title.",
|
|
436
|
+
"type": "string"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"type": "object"
|
|
440
|
+
},
|
|
426
441
|
"@vertigis.arcgis-extensions.mapping.Bookmark.BookmarkProperties": {
|
|
427
442
|
"additionalProperties": false,
|
|
428
443
|
"description": "Properties that can be passed into the constructor for{@linkmapping /Bookmark!Bookmark}.",
|
|
@@ -1364,7 +1379,7 @@
|
|
|
1364
1379
|
},
|
|
1365
1380
|
"CreateFeatureArgs": {
|
|
1366
1381
|
"additionalProperties": false,
|
|
1367
|
-
"description": "Arguments for the \"edit.create-feature\" operation. A valid feature layer is required. The geometry is required for non-tabular features. Web only.",
|
|
1382
|
+
"description": "Arguments for the \"edit.create-feature\" operation. A valid feature layer, subtype group layer, or subtype sublayer is required. The geometry is required for non-tabular features. Web only.",
|
|
1368
1383
|
"properties": {
|
|
1369
1384
|
"featureAttributes": {
|
|
1370
1385
|
"description": "A collection of attributes to apply to the new feature."
|
|
@@ -3497,6 +3512,9 @@
|
|
|
3497
3512
|
{
|
|
3498
3513
|
"$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
|
|
3499
3514
|
},
|
|
3515
|
+
{
|
|
3516
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
|
|
3517
|
+
},
|
|
3500
3518
|
{
|
|
3501
3519
|
"$ref": "#/definitions/esri.Layer"
|
|
3502
3520
|
},
|
|
@@ -3509,12 +3527,18 @@
|
|
|
3509
3527
|
{
|
|
3510
3528
|
"$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
|
|
3511
3529
|
},
|
|
3530
|
+
{
|
|
3531
|
+
"$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
|
|
3532
|
+
},
|
|
3512
3533
|
{
|
|
3513
3534
|
"items": {
|
|
3514
3535
|
"anyOf": [
|
|
3515
3536
|
{
|
|
3516
3537
|
"$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
|
|
3517
3538
|
},
|
|
3539
|
+
{
|
|
3540
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
|
|
3541
|
+
},
|
|
3518
3542
|
{
|
|
3519
3543
|
"$ref": "#/definitions/esri.Layer"
|
|
3520
3544
|
},
|
|
@@ -3527,6 +3551,9 @@
|
|
|
3527
3551
|
{
|
|
3528
3552
|
"$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
|
|
3529
3553
|
},
|
|
3554
|
+
{
|
|
3555
|
+
"$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
|
|
3556
|
+
},
|
|
3530
3557
|
{
|
|
3531
3558
|
"type": "string"
|
|
3532
3559
|
}
|
|
@@ -3549,6 +3576,9 @@
|
|
|
3549
3576
|
{
|
|
3550
3577
|
"$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
|
|
3551
3578
|
},
|
|
3579
|
+
{
|
|
3580
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
|
|
3581
|
+
},
|
|
3552
3582
|
{
|
|
3553
3583
|
"$ref": "#/definitions/esri.Layer"
|
|
3554
3584
|
},
|
|
@@ -3561,12 +3591,18 @@
|
|
|
3561
3591
|
{
|
|
3562
3592
|
"$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
|
|
3563
3593
|
},
|
|
3594
|
+
{
|
|
3595
|
+
"$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
|
|
3596
|
+
},
|
|
3564
3597
|
{
|
|
3565
3598
|
"items": {
|
|
3566
3599
|
"anyOf": [
|
|
3567
3600
|
{
|
|
3568
3601
|
"$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
|
|
3569
3602
|
},
|
|
3603
|
+
{
|
|
3604
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
|
|
3605
|
+
},
|
|
3570
3606
|
{
|
|
3571
3607
|
"$ref": "#/definitions/esri.Layer"
|
|
3572
3608
|
},
|
|
@@ -3579,6 +3615,9 @@
|
|
|
3579
3615
|
{
|
|
3580
3616
|
"$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
|
|
3581
3617
|
},
|
|
3618
|
+
{
|
|
3619
|
+
"$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
|
|
3620
|
+
},
|
|
3582
3621
|
{
|
|
3583
3622
|
"type": "string"
|
|
3584
3623
|
}
|
|
@@ -17051,6 +17090,9 @@
|
|
|
17051
17090
|
{
|
|
17052
17091
|
"$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
|
|
17053
17092
|
},
|
|
17093
|
+
{
|
|
17094
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
|
|
17095
|
+
},
|
|
17054
17096
|
{
|
|
17055
17097
|
"$ref": "#/definitions/esri.Layer"
|
|
17056
17098
|
},
|
|
@@ -17063,12 +17105,18 @@
|
|
|
17063
17105
|
{
|
|
17064
17106
|
"$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
|
|
17065
17107
|
},
|
|
17108
|
+
{
|
|
17109
|
+
"$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
|
|
17110
|
+
},
|
|
17066
17111
|
{
|
|
17067
17112
|
"items": {
|
|
17068
17113
|
"anyOf": [
|
|
17069
17114
|
{
|
|
17070
17115
|
"$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
|
|
17071
17116
|
},
|
|
17117
|
+
{
|
|
17118
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
|
|
17119
|
+
},
|
|
17072
17120
|
{
|
|
17073
17121
|
"$ref": "#/definitions/esri.Layer"
|
|
17074
17122
|
},
|
|
@@ -17081,6 +17129,9 @@
|
|
|
17081
17129
|
{
|
|
17082
17130
|
"$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
|
|
17083
17131
|
},
|
|
17132
|
+
{
|
|
17133
|
+
"$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
|
|
17134
|
+
},
|
|
17084
17135
|
{
|
|
17085
17136
|
"type": "string"
|
|
17086
17137
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertigis/viewer-spec",
|
|
3
|
-
"version": "51.
|
|
3
|
+
"version": "51.6.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"description": "VertiGIS Viewer Specification",
|
|
6
6
|
"type": "module",
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
},
|
|
36
36
|
"author": "VertiGIS Ltd.",
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@vertigis/arcgis-extensions": ">= 37.
|
|
38
|
+
"@vertigis/arcgis-extensions": ">= 37.5.0 < 38.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@arcgis/core": "4.
|
|
41
|
+
"@arcgis/core": "^4.25.5",
|
|
42
42
|
"@prettier/plugin-xml": "2.2.0",
|
|
43
43
|
"@types/glob": "8.0.0",
|
|
44
44
|
"@types/node": "14.14.41",
|
|
45
45
|
"@typescript-eslint/eslint-plugin": "5.42.1",
|
|
46
46
|
"@typescript-eslint/parser": "5.42.1",
|
|
47
|
-
"@vertigis/arcgis-extensions": "37.
|
|
47
|
+
"@vertigis/arcgis-extensions": "37.7.0",
|
|
48
48
|
"del-cli": "5.0.0",
|
|
49
49
|
"eslint": "8.27.0",
|
|
50
50
|
"eslint-config-prettier": "8.5.0",
|
package/version.d.ts
CHANGED
package/version.js
CHANGED