@vertigis/viewer-spec 48.4.0 → 48.7.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.
@@ -1,7 +1,49 @@
1
+ import type { SpatialReference } from "@vertigis/arcgis-extensions/portal/SpatialReference";
2
+ import type { CoordinateFormat } from "../common/CoordinateFormat.js";
1
3
  import type { CoordinateModelProperties as CommonCoordinateModelProperties } from "../common/CoordinateModelProperties.js";
2
4
  import type { ServiceModelProperties } from "../common/ServiceModelProperties.js";
3
5
  /**
4
6
  * @inheritdoc
5
7
  */
6
8
  export interface CoordinateModelProperties extends CommonCoordinateModelProperties, ServiceModelProperties {
9
+ /**
10
+ * The ID of the active coordinate option being used in the application.
11
+ * Defaults to the first item in the list of coordinateOptions.
12
+ */
13
+ activeCoordinateOption?: string;
14
+ /**
15
+ * A list of configuration options for displaying map coordinates in the application.
16
+ */
17
+ coordinateOptions?: CoordinateOptionProperties[];
18
+ }
19
+ /**
20
+ * Options for configuring the display of map coordinates.
21
+ */
22
+ export interface CoordinateOptionProperties {
23
+ /**
24
+ * The unique ID of the Coordinate Option.
25
+ */
26
+ id: string;
27
+ /**
28
+ * The display name of the CoordinateOption.
29
+ */
30
+ title: string;
31
+ /**
32
+ * The format to display map coordinates in.
33
+ */
34
+ format: CoordinateFormat;
35
+ /**
36
+ * The spatial reference to display map coordinates in. If this property is
37
+ * not defined, the spatial reference of the map will be used.
38
+ */
39
+ spatialReference?: SpatialReference;
40
+ /**
41
+ * For LAT_LONG and XY coordinate formats, this property depicts the number
42
+ * of decimal places displayed. For MGRS and USNG coordinate formats, this
43
+ * property depicts the precision of the coordinates using an integer
44
+ * between 0 and 8 (inclusive). This Value is ignored by UTM coordinate
45
+ * formats. The default values for coordinate formats are as follows:
46
+ * LAT_LONG=4, XY=2, MGRS=5, and USNG=5.
47
+ */
48
+ precision?: number;
7
49
  }
@@ -1,37 +1,44 @@
1
+ import type { CoordinateFormat } from "../common/CoordinateFormat.js";
1
2
  import type { MapCoordinatesModelProperties as CommonMapCoordinatesModelProperties } from "../common/MapCoordinatesModelProperties.js";
2
3
  import type { ComponentModelProperties } from "./ComponentModelProperties.js";
3
- /**
4
- * The coordinate formats that can be shown by the MapCoordinates component.
5
- */
6
- export declare type CoordinateFormat = "xy" | "lat-long-dd" | "lat-long-ddm" | "lat-long-dms" | "mgrs" | "usng" | "utm";
7
4
  /**
8
5
  * @inheritdoc
9
6
  */
10
7
  export interface MapCoordinatesModelProperties extends CommonMapCoordinatesModelProperties, ComponentModelProperties {
11
8
  /**
12
9
  * The coordinate format that is displayed. The default is XY.
10
+ *
11
+ * @deprecated
13
12
  */
14
13
  coordinateFormat?: CoordinateFormat;
15
14
  /**
16
15
  * The number of decimal places displayed for LAT_LONG coordinate formats.
17
16
  * The value must be an integer between 0 and 8 (inclusive). The default is 4.
17
+ *
18
+ * @deprecated
18
19
  */
19
20
  decimalPlacesLatLong?: number;
20
21
  /**
21
22
  * The number of decimal places displayed for the XY coordinate format. The
22
23
  * value must be an integer between 0 and 8 (inclusive). The default is 2.
24
+ *
25
+ * @deprecated
23
26
  */
24
27
  decimalPlacesXY?: number;
25
28
  /**
26
29
  * The precision with which to represent the coordinates, when using the
27
30
  * MGRS format. The value must be an integer between 0 and 8 (inclusive).
28
31
  * The default is 5.
32
+ *
33
+ * @deprecated
29
34
  */
30
35
  precisionMGRS?: number;
31
36
  /**
32
37
  * The precision with which to represent the coordinates, when using the
33
38
  * USNG format. The value must be an integer between 0 and 8 (inclusive).
34
39
  * The default is 5.
40
+ *
41
+ * @deprecated
35
42
  */
36
43
  precisionUSNG?: number;
37
44
  /**
@@ -111,6 +111,10 @@ export interface EditOptions {
111
111
  * Whether to allow editing of feature attributes.
112
112
  */
113
113
  editAttributes?: boolean;
114
+ /**
115
+ * Whether to allow editing of feature attachments.
116
+ */
117
+ editAttachments?: boolean;
114
118
  /**
115
119
  * Options for the geometry editing session.
116
120
  */
@@ -173,10 +177,6 @@ export interface DisplayUpdateFeatureArgs extends EditCommandArgs, HasGeometry,
173
177
  * A collection of attributes to automatically apply to the updated feature.
174
178
  */
175
179
  featureAttributes?: Record<string, unknown>;
176
- /**
177
- * Whether to allow editing of feature attachments. Web only.
178
- */
179
- editAttachments?: boolean;
180
180
  }
181
181
  /**
182
182
  * Arguments for the "edit.add-features", "edit.update-features" and
@@ -19,9 +19,10 @@ import type { Event } from "../Event.js";
19
19
  import { EventRegistry } from "../EventRegistry.js";
20
20
  import type { Operation } from "../Operation.js";
21
21
  import { OperationRegistry } from "../OperationRegistry.js";
22
- import type { Features, FeaturesLike, Geometries, GeometryLike, GraphicsLike, HasUITarget, Layers, LayersLike, Maps, MapsLike, ViewpointLike } from "../common.js";
22
+ import type { Features, FeaturesLike, Geometries, GeometryLike, GraphicsLike, HasMaps, HasUITarget, Layers, LayersLike, Maps, MapsLike, ViewpointLike } from "../common.js";
23
23
  import type { MapExtensionArgs } from "../mobile.js";
24
24
  import type { EnhancedFileData } from "./file.js";
25
+ import type { PortalItemData } from "./portal.js";
25
26
  import type { GeometryEditorSettings } from "./sketching.js";
26
27
  /**
27
28
  * Arguments for the various map events.
@@ -953,6 +954,13 @@ export declare class MapOperations extends OperationRegistry {
953
954
  * @mobileOnly
954
955
  */
955
956
  get exportImage(): Operation<ExportMapImageArgs, EnhancedFileData>;
957
+ /**
958
+ * Exports the current configuration of the selected map component as a web
959
+ * map or scene.
960
+ *
961
+ * @webOnly
962
+ */
963
+ get exportWebMapOrScene(): Operation<HasMaps, PortalItemData>;
956
964
  /**
957
965
  * Returns markup from the specified map that are intersected by the
958
966
  * supplied geometry.
@@ -1 +1 @@
1
- import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class MapCommands extends CommandRegistry{get addMarkup(){return this._messages.command("map.add-markup")}get addLayers(){return this._messages.command("map.add-layers")}get applyFilterEffect(){return this._messages.command("map.apply-filter-effect")}get applyLayerPreset(){return this._messages.command("map.apply-layer-preset")}get createNote(){return this._messages.command("map.create-note")}get editNote(){return this._messages.command("map.edit-note")}get removeFilterEffects(){return this._messages.command("map.remove-filter-effects")}get clearFilterEffects(){return this._messages.command("map.clear-filter-effects")}get clearMarkup(){return this._messages.command("map.clear-markup")}get disableMapClick(){return this._messages.command("map.disable-map-click")}get displayExtentSelector(){return this._messages.command("map.display-extent-selector")}get enableMapClick(){return this._messages.command("map.enable-map-click")}get goToFeatures(){return this._messages.command("map.go-to-features")}get goToGeometry(){return this._messages.command("map.go-to-geometry")}get goToViewpoint(){return this._messages.command("map.go-to-viewpoint")}get goToScale(){return this._messages.command("map.go-to-scale")}get goToInitialViewpoint(){return this._messages.command("map.go-to-initial-viewpoint")}get goToLayerExtent(){return this._messages.command("map.go-to-layer-extent")}get hideExtentSelector(){return this._messages.command("map.hide-extent-selector")}get panToFeatures(){return this._messages.command("map.pan-to-features")}get panToGeometry(){return this._messages.command("map.pan-to-geometry")}get pauseSketch(){return this._messages.command("map.pause-sketch")}get removeLayers(){return this._messages.command("map.remove-layers")}get replace(){return this._messages.command("map.replace")}get replaceAdditionalLayers(){return this._messages.command("map.replace-additional-layers")}get replaceMmpk(){return this._messages.command("map.replace-mmpk")}get resumeSketch(){return this._messages.command("map.resume-sketch")}get rotateBy(){return this._messages.command("map.rotate-by")}get rotateTo(){return this._messages.command("map.rotate-to")}get refresh(){return this._messages.command("map.refresh")}get updateLayer(){return this._messages.command("map.update-layer")}get zoomToFeatures(){return this._messages.command("map.zoom-to-features")}get zoomToGeometry(){return this._messages.command("map.zoom-to-geometry")}get zoomIn(){return this._messages.command("map.zoom-in")}get zoomOut(){return this._messages.command("map.zoom-out")}get zoomToScale(){return this._messages.command("map.zoom-to-scale")}get zoomToInitialViewpoint(){return this._messages.command("map.zoom-to-initial-viewpoint")}get zoomToViewpoint(){return this._messages.command("map.zoom-to-viewpoint")}get zoomToLayerExtent(){return this._messages.command("map.zoom-to-layer-extent")}get zoomToLayerVisibleScale(){return this._messages.command("map.zoom-to-layer-visible-scale")}}export class MapEvents extends EventRegistry{get initialized(){return this._messages.event("map.initialized")}get initializing(){return this._messages.event("map.initializing")}get navigationCompleted(){return this._messages.event("map.navigation-completed")}get refreshed(){return this._messages.event("map.refreshed")}get refreshing(){return this._messages.event("map.refreshing")}get rotated(){return this._messages.event("map.rotated")}get rotating(){return this._messages.event("map.rotating")}get viewModeChanged(){return this._messages.event("map.view-mode-changed")}get viewpointChanged(){return this._messages.event("map.viewpoint-changed")}}export class MapOperations extends OperationRegistry{get getUserCoordinatesInput(){return this._messages.operation("map.get-user-coordinates-input")}get getCoordinateTransformation(){return this._messages.operation("map.get-coordinate-transformation")}get exportImage(){return this._messages.operation("map.export-image")}get getMarkup(){return this._messages.operation("map.get-markup")}get getExtent(){return this._messages.operation("map.get-extent")}get getGeometryFromSelector(){return this._messages.operation("map.get-geometry-from-selector")}get getInitialViewpoint(){return this._messages.operation("map.get-initial-viewpoint")}get getViewpoint(){return this._messages.operation("map.get-viewpoint")}get getSpatialReference(){return this._messages.operation("map.get-spatial-reference")}get getVisibleCenter(){return this._messages.operation("map.get-visible-center")}get hide(){return this._messages.operation("map.hide")}get show(){return this._messages.operation("map.show")}get startSketch(){return this._messages.operation("map.start-sketch")}get stopSketch(){return this._messages.operation("map.stop-sketch")}get getViewInsets(){return this._messages.operation("map.get-view-insets")}}
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class MapCommands extends CommandRegistry{get addMarkup(){return this._messages.command("map.add-markup")}get addLayers(){return this._messages.command("map.add-layers")}get applyFilterEffect(){return this._messages.command("map.apply-filter-effect")}get applyLayerPreset(){return this._messages.command("map.apply-layer-preset")}get createNote(){return this._messages.command("map.create-note")}get editNote(){return this._messages.command("map.edit-note")}get removeFilterEffects(){return this._messages.command("map.remove-filter-effects")}get clearFilterEffects(){return this._messages.command("map.clear-filter-effects")}get clearMarkup(){return this._messages.command("map.clear-markup")}get disableMapClick(){return this._messages.command("map.disable-map-click")}get displayExtentSelector(){return this._messages.command("map.display-extent-selector")}get enableMapClick(){return this._messages.command("map.enable-map-click")}get goToFeatures(){return this._messages.command("map.go-to-features")}get goToGeometry(){return this._messages.command("map.go-to-geometry")}get goToViewpoint(){return this._messages.command("map.go-to-viewpoint")}get goToScale(){return this._messages.command("map.go-to-scale")}get goToInitialViewpoint(){return this._messages.command("map.go-to-initial-viewpoint")}get goToLayerExtent(){return this._messages.command("map.go-to-layer-extent")}get hideExtentSelector(){return this._messages.command("map.hide-extent-selector")}get panToFeatures(){return this._messages.command("map.pan-to-features")}get panToGeometry(){return this._messages.command("map.pan-to-geometry")}get pauseSketch(){return this._messages.command("map.pause-sketch")}get removeLayers(){return this._messages.command("map.remove-layers")}get replace(){return this._messages.command("map.replace")}get replaceAdditionalLayers(){return this._messages.command("map.replace-additional-layers")}get replaceMmpk(){return this._messages.command("map.replace-mmpk")}get resumeSketch(){return this._messages.command("map.resume-sketch")}get rotateBy(){return this._messages.command("map.rotate-by")}get rotateTo(){return this._messages.command("map.rotate-to")}get refresh(){return this._messages.command("map.refresh")}get updateLayer(){return this._messages.command("map.update-layer")}get zoomToFeatures(){return this._messages.command("map.zoom-to-features")}get zoomToGeometry(){return this._messages.command("map.zoom-to-geometry")}get zoomIn(){return this._messages.command("map.zoom-in")}get zoomOut(){return this._messages.command("map.zoom-out")}get zoomToScale(){return this._messages.command("map.zoom-to-scale")}get zoomToInitialViewpoint(){return this._messages.command("map.zoom-to-initial-viewpoint")}get zoomToViewpoint(){return this._messages.command("map.zoom-to-viewpoint")}get zoomToLayerExtent(){return this._messages.command("map.zoom-to-layer-extent")}get zoomToLayerVisibleScale(){return this._messages.command("map.zoom-to-layer-visible-scale")}}export class MapEvents extends EventRegistry{get initialized(){return this._messages.event("map.initialized")}get initializing(){return this._messages.event("map.initializing")}get navigationCompleted(){return this._messages.event("map.navigation-completed")}get refreshed(){return this._messages.event("map.refreshed")}get refreshing(){return this._messages.event("map.refreshing")}get rotated(){return this._messages.event("map.rotated")}get rotating(){return this._messages.event("map.rotating")}get viewModeChanged(){return this._messages.event("map.view-mode-changed")}get viewpointChanged(){return this._messages.event("map.viewpoint-changed")}}export class MapOperations extends OperationRegistry{get getUserCoordinatesInput(){return this._messages.operation("map.get-user-coordinates-input")}get getCoordinateTransformation(){return this._messages.operation("map.get-coordinate-transformation")}get exportImage(){return this._messages.operation("map.export-image")}get exportWebMapOrScene(){return this._messages.operation("map.export-web-map-or-scene")}get getMarkup(){return this._messages.operation("map.get-markup")}get getExtent(){return this._messages.operation("map.get-extent")}get getGeometryFromSelector(){return this._messages.operation("map.get-geometry-from-selector")}get getInitialViewpoint(){return this._messages.operation("map.get-initial-viewpoint")}get getViewpoint(){return this._messages.operation("map.get-viewpoint")}get getSpatialReference(){return this._messages.operation("map.get-spatial-reference")}get getVisibleCenter(){return this._messages.operation("map.get-visible-center")}get hide(){return this._messages.operation("map.hide")}get show(){return this._messages.operation("map.show")}get startSketch(){return this._messages.operation("map.start-sketch")}get stopSketch(){return this._messages.operation("map.stop-sketch")}get getViewInsets(){return this._messages.operation("map.get-view-insets")}}
@@ -1,3 +1,4 @@
1
+ import type PortalItem from "@arcgis/core/portal/PortalItem";
1
2
  import type { Event } from "../Event.js";
2
3
  import { EventRegistry } from "../EventRegistry.js";
3
4
  import type { Operation } from "../Operation.js";
@@ -27,6 +28,41 @@ export interface ChooseLayersResult extends HasMaps {
27
28
  */
28
29
  layers?: LayersLike;
29
30
  }
31
+ /**
32
+ * Information about a portal item to be saved.
33
+ */
34
+ export interface PortalItemData {
35
+ /**
36
+ * The JSON data associated with the item.
37
+ */
38
+ data: unknown;
39
+ /**
40
+ * The portal type of the item.
41
+ */
42
+ type: string;
43
+ /**
44
+ * The URL of a thumbnail for the item.
45
+ */
46
+ thumbnail?: string;
47
+ }
48
+ /**
49
+ * Arguments for the 'portal.create-or-update-item' operation.
50
+ */
51
+ export interface CreateOrUpdateItemArgs extends PortalItemData {
52
+ /**
53
+ * The title of the resulting portal item. Must be provided if `showUI` is `false`.
54
+ */
55
+ title?: string;
56
+ /**
57
+ * Whether to show UI elements associated with this operation. Defaults to `true`.
58
+ */
59
+ showUI?: boolean;
60
+ /**
61
+ * Whether to prompt before overwriting an existing item. This must be set
62
+ * to `false` to allow overwriting if `showUI` is also `false`. Defaults to `true`.
63
+ */
64
+ promptForOverwrite?: boolean;
65
+ }
30
66
  export declare class PortalEvents extends EventRegistry {
31
67
  /**
32
68
  * Raised when an ArcGIS Portal is initialized.
@@ -43,4 +79,10 @@ export declare class PortalOperations extends OperationRegistry {
43
79
  * @webOnly
44
80
  */
45
81
  get chooseLayers(): Operation<ChooseLayersOptions, ChooseLayersResult>;
82
+ /**
83
+ * Creates or updates a portal item from the supplied data.
84
+ *
85
+ * @webOnly
86
+ */
87
+ get createOrUpdateItem(): Operation<CreateOrUpdateItemArgs, PortalItem>;
46
88
  }
@@ -1 +1 @@
1
- import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class PortalEvents extends EventRegistry{get initialized(){return this._messages.event("portal.initialized")}}export class PortalOperations extends OperationRegistry{get chooseLayers(){return this._messages.operation("portal.choose-layers")}}
1
+ import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class PortalEvents extends EventRegistry{get initialized(){return this._messages.event("portal.initialized")}}export class PortalOperations extends OperationRegistry{get chooseLayers(){return this._messages.operation("portal.choose-layers")}get createOrUpdateItem(){return this._messages.operation("portal.create-or-update-item")}}
@@ -801,6 +801,10 @@
801
801
  "additionalProperties": false,
802
802
  "description": "Arguments for the \"edit.display-add-features\" command. Web only.",
803
803
  "properties": {
804
+ "editAttachments": {
805
+ "description": "Whether to allow editing of feature attachments.",
806
+ "type": "boolean"
807
+ },
804
808
  "editAttributes": {
805
809
  "description": "Whether to allow editing of feature attributes.",
806
810
  "type": "boolean"
@@ -909,7 +913,7 @@
909
913
  "description": "Optional layout XML attributes to be used for the transient UI container."
910
914
  },
911
915
  "editAttachments": {
912
- "description": "Whether to allow editing of feature attachments. Web only.",
916
+ "description": "Whether to allow editing of feature attachments.",
913
917
  "type": "boolean"
914
918
  },
915
919
  "editAttributes": {
@@ -7326,10 +7330,18 @@
7326
7330
  "$ref": "#/definitions/esri.rest-api._LayerBase.BlendMode",
7327
7331
  "description": "Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer."
7328
7332
  },
7333
+ "disablePopup": {
7334
+ "description": "Indicates whether to allow a client to ignore popups defined by the service item.",
7335
+ "type": "boolean"
7336
+ },
7329
7337
  "id": {
7330
7338
  "description": "A unique identifying string for the layer.",
7331
7339
  "type": "string"
7332
7340
  },
7341
+ "layerDefinition": {
7342
+ "$ref": "#/definitions/esri.rest-api.LayerDefinition.LayerDefinition",
7343
+ "description": "A layerDefinition object defining the attribute schema and drawing information for the layer."
7344
+ },
7333
7345
  "layerType": {
7334
7346
  "description": "The type of layer.",
7335
7347
  "enum": [
@@ -7353,6 +7365,10 @@
7353
7365
  "description": "The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.",
7354
7366
  "type": "number"
7355
7367
  },
7368
+ "popupInfo": {
7369
+ "$ref": "#/definitions/esri.rest-api.PopupInfo.PopupInfo",
7370
+ "description": "A PopupInfo object defining the content of pop-up windows when you click or query a feature."
7371
+ },
7356
7372
  "refreshInterval": {
7357
7373
  "description": "When the refresh interval is set on a layer, the client must refresh that layer only, not the entire web map. The default value is '0', meaning the no refresh. You can enable a refresh interval on the following types of layers: ArcGIS Server web service, hosted feature layer, hosted tile layer, OGC WMS, OGS WMTS, tile layer, GeoRSS, Living Atlas layers, basemaps (including Bing Maps basemaps), CSV from the web with latitude and longitude fields, and KML when added to ArcGIS Online through the My Content page.{@linkhttps://doc.arcgis.com/en/arcgis-online/create-maps/set-refresh-interval.htm}.",
7358
7374
  "type": "number"
@@ -4783,10 +4783,18 @@
4783
4783
  "$ref": "#/definitions/esri.rest-api._LayerBase.BlendMode",
4784
4784
  "description": "Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer."
4785
4785
  },
4786
+ "disablePopup": {
4787
+ "description": "Indicates whether to allow a client to ignore popups defined by the service item.",
4788
+ "type": "boolean"
4789
+ },
4786
4790
  "id": {
4787
4791
  "description": "A unique identifying string for the layer.",
4788
4792
  "type": "string"
4789
4793
  },
4794
+ "layerDefinition": {
4795
+ "$ref": "#/definitions/esri.rest-api.LayerDefinition.LayerDefinition",
4796
+ "description": "A layerDefinition object defining the attribute schema and drawing information for the layer."
4797
+ },
4790
4798
  "layerType": {
4791
4799
  "description": "The type of layer.",
4792
4800
  "enum": [
@@ -4810,6 +4818,10 @@
4810
4818
  "description": "The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.",
4811
4819
  "type": "number"
4812
4820
  },
4821
+ "popupInfo": {
4822
+ "$ref": "#/definitions/esri.rest-api.PopupInfo.PopupInfo",
4823
+ "description": "A PopupInfo object defining the content of pop-up windows when you click or query a feature."
4824
+ },
4813
4825
  "refreshInterval": {
4814
4826
  "description": "When the refresh interval is set on a layer, the client must refresh that layer only, not the entire web map. The default value is '0', meaning the no refresh. You can enable a refresh interval on the following types of layers: ArcGIS Server web service, hosted feature layer, hosted tile layer, OGC WMS, OGS WMTS, tile layer, GeoRSS, Living Atlas layers, basemaps (including Bing Maps basemaps), CSV from the web with latitude and longitude fields, and KML when added to ArcGIS Online through the My Content page.{@linkhttps://doc.arcgis.com/en/arcgis-online/create-maps/set-refresh-interval.htm}.",
4815
4827
  "type": "number"
@@ -958,6 +958,10 @@
958
958
  "additionalProperties": false,
959
959
  "description": "Arguments for the \"edit.display-add-features\" command. Web only.",
960
960
  "properties": {
961
+ "editAttachments": {
962
+ "description": "Whether to allow editing of feature attachments.",
963
+ "type": "boolean"
964
+ },
961
965
  "editAttributes": {
962
966
  "description": "Whether to allow editing of feature attributes.",
963
967
  "type": "boolean"
@@ -1136,7 +1140,7 @@
1136
1140
  "description": "Optional layout XML attributes to be used for the transient UI container."
1137
1141
  },
1138
1142
  "editAttachments": {
1139
- "description": "Whether to allow editing of feature attachments. Web only.",
1143
+ "description": "Whether to allow editing of feature attachments.",
1140
1144
  "type": "boolean"
1141
1145
  },
1142
1146
  "editAttributes": {
@@ -8266,10 +8270,18 @@
8266
8270
  "$ref": "#/definitions/esri.rest-api._LayerBase.BlendMode",
8267
8271
  "description": "Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer."
8268
8272
  },
8273
+ "disablePopup": {
8274
+ "description": "Indicates whether to allow a client to ignore popups defined by the service item.",
8275
+ "type": "boolean"
8276
+ },
8269
8277
  "id": {
8270
8278
  "description": "A unique identifying string for the layer.",
8271
8279
  "type": "string"
8272
8280
  },
8281
+ "layerDefinition": {
8282
+ "$ref": "#/definitions/esri.rest-api.LayerDefinition.LayerDefinition",
8283
+ "description": "A layerDefinition object defining the attribute schema and drawing information for the layer."
8284
+ },
8273
8285
  "layerType": {
8274
8286
  "description": "The type of layer.",
8275
8287
  "enum": [
@@ -8293,6 +8305,10 @@
8293
8305
  "description": "The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.",
8294
8306
  "type": "number"
8295
8307
  },
8308
+ "popupInfo": {
8309
+ "$ref": "#/definitions/esri.rest-api.PopupInfo.PopupInfo",
8310
+ "description": "A PopupInfo object defining the content of pop-up windows when you click or query a feature."
8311
+ },
8296
8312
  "refreshInterval": {
8297
8313
  "description": "When the refresh interval is set on a layer, the client must refresh that layer only, not the entire web map. The default value is '0', meaning the no refresh. You can enable a refresh interval on the following types of layers: ArcGIS Server web service, hosted feature layer, hosted tile layer, OGC WMS, OGS WMTS, tile layer, GeoRSS, Living Atlas layers, basemaps (including Bing Maps basemaps), CSV from the web with latitude and longitude fields, and KML when added to ArcGIS Online through the My Content page.{@linkhttps://doc.arcgis.com/en/arcgis-online/create-maps/set-refresh-interval.htm}.",
8298
8314
  "type": "number"
@@ -5517,10 +5517,18 @@
5517
5517
  "$ref": "#/definitions/esri.rest-api._LayerBase.BlendMode",
5518
5518
  "description": "Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer."
5519
5519
  },
5520
+ "disablePopup": {
5521
+ "description": "Indicates whether to allow a client to ignore popups defined by the service item.",
5522
+ "type": "boolean"
5523
+ },
5520
5524
  "id": {
5521
5525
  "description": "A unique identifying string for the layer.",
5522
5526
  "type": "string"
5523
5527
  },
5528
+ "layerDefinition": {
5529
+ "$ref": "#/definitions/esri.rest-api.LayerDefinition.LayerDefinition",
5530
+ "description": "A layerDefinition object defining the attribute schema and drawing information for the layer."
5531
+ },
5524
5532
  "layerType": {
5525
5533
  "description": "The type of layer.",
5526
5534
  "enum": [
@@ -5544,6 +5552,10 @@
5544
5552
  "description": "The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.",
5545
5553
  "type": "number"
5546
5554
  },
5555
+ "popupInfo": {
5556
+ "$ref": "#/definitions/esri.rest-api.PopupInfo.PopupInfo",
5557
+ "description": "A PopupInfo object defining the content of pop-up windows when you click or query a feature."
5558
+ },
5547
5559
  "refreshInterval": {
5548
5560
  "description": "When the refresh interval is set on a layer, the client must refresh that layer only, not the entire web map. The default value is '0', meaning the no refresh. You can enable a refresh interval on the following types of layers: ArcGIS Server web service, hosted feature layer, hosted tile layer, OGC WMS, OGS WMTS, tile layer, GeoRSS, Living Atlas layers, basemaps (including Bing Maps basemaps), CSV from the web with latitude and longitude fields, and KML when added to ArcGIS Online through the My Content page.{@linkhttps://doc.arcgis.com/en/arcgis-online/create-maps/set-refresh-interval.htm}.",
5549
5561
  "type": "number"
@@ -1378,6 +1378,10 @@
1378
1378
  "additionalProperties": false,
1379
1379
  "description": "Arguments for the \"edit.display-add-features\" command. Web only.",
1380
1380
  "properties": {
1381
+ "editAttachments": {
1382
+ "description": "Whether to allow editing of feature attachments.",
1383
+ "type": "boolean"
1384
+ },
1381
1385
  "editAttributes": {
1382
1386
  "description": "Whether to allow editing of feature attributes.",
1383
1387
  "type": "boolean"
@@ -1486,7 +1490,7 @@
1486
1490
  "description": "Optional layout XML attributes to be used for the transient UI container."
1487
1491
  },
1488
1492
  "editAttachments": {
1489
- "description": "Whether to allow editing of feature attachments. Web only.",
1493
+ "description": "Whether to allow editing of feature attachments.",
1490
1494
  "type": "boolean"
1491
1495
  },
1492
1496
  "editAttributes": {
@@ -3690,6 +3694,28 @@
3690
3694
  ],
3691
3695
  "type": "string"
3692
3696
  },
3697
+ "PortalItemData": {
3698
+ "additionalProperties": false,
3699
+ "description": "Information about a portal item to be saved.",
3700
+ "properties": {
3701
+ "data": {
3702
+ "description": "The JSON data associated with the item."
3703
+ },
3704
+ "thumbnail": {
3705
+ "description": "The URL of a thumbnail for the item.",
3706
+ "type": "string"
3707
+ },
3708
+ "type": {
3709
+ "description": "The portal type of the item.",
3710
+ "type": "string"
3711
+ }
3712
+ },
3713
+ "required": [
3714
+ "data",
3715
+ "type"
3716
+ ],
3717
+ "type": "object"
3718
+ },
3693
3719
  "ProjectArgs": {
3694
3720
  "additionalProperties": false,
3695
3721
  "description": "Arguments for the geometry.project operation.",
@@ -10910,10 +10936,18 @@
10910
10936
  "$ref": "#/definitions/esri.rest-api._LayerBase.BlendMode",
10911
10937
  "description": "Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer."
10912
10938
  },
10939
+ "disablePopup": {
10940
+ "description": "Indicates whether to allow a client to ignore popups defined by the service item.",
10941
+ "type": "boolean"
10942
+ },
10913
10943
  "id": {
10914
10944
  "description": "A unique identifying string for the layer.",
10915
10945
  "type": "string"
10916
10946
  },
10947
+ "layerDefinition": {
10948
+ "$ref": "#/definitions/esri.rest-api.LayerDefinition.LayerDefinition",
10949
+ "description": "A layerDefinition object defining the attribute schema and drawing information for the layer."
10950
+ },
10917
10951
  "layerType": {
10918
10952
  "description": "The type of layer.",
10919
10953
  "enum": [
@@ -10937,6 +10971,10 @@
10937
10971
  "description": "The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.",
10938
10972
  "type": "number"
10939
10973
  },
10974
+ "popupInfo": {
10975
+ "$ref": "#/definitions/esri.rest-api.PopupInfo.PopupInfo",
10976
+ "description": "A PopupInfo object defining the content of pop-up windows when you click or query a feature."
10977
+ },
10940
10978
  "refreshInterval": {
10941
10979
  "description": "When the refresh interval is set on a layer, the client must refresh that layer only, not the entire web map. The default value is '0', meaning the no refresh. You can enable a refresh interval on the following types of layers: ArcGIS Server web service, hosted feature layer, hosted tile layer, OGC WMS, OGS WMTS, tile layer, GeoRSS, Living Atlas layers, basemaps (including Bing Maps basemaps), CSV from the web with latitude and longitude fields, and KML when added to ArcGIS Online through the My Content page.{@linkhttps://doc.arcgis.com/en/arcgis-online/create-maps/set-refresh-interval.htm}.",
10942
10980
  "type": "number"
@@ -15260,6 +15298,18 @@
15260
15298
  "map.edit-note:input": {
15261
15299
  "$ref": "#/definitions/EditMapNotesArgs"
15262
15300
  },
15301
+ "map.export-web-map-or-scene": {
15302
+ "description": "Exports the current configuration of the selected map component as a web map or scene.",
15303
+ "enum": [
15304
+ "map.export-web-map-or-scene"
15305
+ ]
15306
+ },
15307
+ "map.export-web-map-or-scene:input": {
15308
+ "$ref": "#/definitions/HasMaps"
15309
+ },
15310
+ "map.export-web-map-or-scene:output": {
15311
+ "$ref": "#/definitions/PortalItemData"
15312
+ },
15263
15313
  "map.get-extent": {
15264
15314
  "description": "Returns the extent from the specified map.",
15265
15315
  "enum": [
@@ -20393,6 +20443,22 @@
20393
20443
  ],
20394
20444
  "type": "object"
20395
20445
  },
20446
+ {
20447
+ "additionalProperties": false,
20448
+ "properties": {
20449
+ "arguments": {
20450
+ "$ref": "#/definitions/map.export-web-map-or-scene:input"
20451
+ },
20452
+ "name": {
20453
+ "$ref": "#/definitions/map.export-web-map-or-scene"
20454
+ }
20455
+ },
20456
+ "required": [
20457
+ "name",
20458
+ "arguments"
20459
+ ],
20460
+ "type": "object"
20461
+ },
20396
20462
  {
20397
20463
  "additionalProperties": false,
20398
20464
  "properties": {
@@ -21105,6 +21171,9 @@
21105
21171
  {
21106
21172
  "$ref": "#/definitions/kpi.get-features"
21107
21173
  },
21174
+ {
21175
+ "$ref": "#/definitions/map.export-web-map-or-scene"
21176
+ },
21108
21177
  {
21109
21178
  "$ref": "#/definitions/map.get-extent"
21110
21179
  },
@@ -5630,10 +5630,18 @@
5630
5630
  "$ref": "#/definitions/esri.rest-api._LayerBase.BlendMode",
5631
5631
  "description": "Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer."
5632
5632
  },
5633
+ "disablePopup": {
5634
+ "description": "Indicates whether to allow a client to ignore popups defined by the service item.",
5635
+ "type": "boolean"
5636
+ },
5633
5637
  "id": {
5634
5638
  "description": "A unique identifying string for the layer.",
5635
5639
  "type": "string"
5636
5640
  },
5641
+ "layerDefinition": {
5642
+ "$ref": "#/definitions/esri.rest-api.LayerDefinition.LayerDefinition",
5643
+ "description": "A layerDefinition object defining the attribute schema and drawing information for the layer."
5644
+ },
5637
5645
  "layerType": {
5638
5646
  "description": "The type of layer.",
5639
5647
  "enum": [
@@ -5657,6 +5665,10 @@
5657
5665
  "description": "The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.",
5658
5666
  "type": "number"
5659
5667
  },
5668
+ "popupInfo": {
5669
+ "$ref": "#/definitions/esri.rest-api.PopupInfo.PopupInfo",
5670
+ "description": "A PopupInfo object defining the content of pop-up windows when you click or query a feature."
5671
+ },
5660
5672
  "refreshInterval": {
5661
5673
  "description": "When the refresh interval is set on a layer, the client must refresh that layer only, not the entire web map. The default value is '0', meaning the no refresh. You can enable a refresh interval on the following types of layers: ArcGIS Server web service, hosted feature layer, hosted tile layer, OGC WMS, OGS WMTS, tile layer, GeoRSS, Living Atlas layers, basemaps (including Bing Maps basemaps), CSV from the web with latitude and longitude fields, and KML when added to ArcGIS Online through the My Content page.{@linkhttps://doc.arcgis.com/en/arcgis-online/create-maps/set-refresh-interval.htm}.",
5662
5674
  "type": "number"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "48.4.0",
3
+ "version": "48.7.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "VertiGIS Viewer Specification",
6
6
  "type": "module",
@@ -33,11 +33,11 @@
33
33
  },
34
34
  "author": "VertiGIS Ltd.",
35
35
  "peerDependencies": {
36
- "@vertigis/arcgis-extensions": ">= 35.3.0 < 36.0.0"
36
+ "@vertigis/arcgis-extensions": ">= 35.5.0 < 36.0.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@arcgis/core": "4.23.3",
40
- "@vertigis/arcgis-extensions": "35.3.0",
40
+ "@vertigis/arcgis-extensions": "35.5.0",
41
41
  "@prettier/plugin-xml": "2.2.0",
42
42
  "@types/glob": "7.2.0",
43
43
  "@types/node": "14.14.41",
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the Geocortex Viewer Specification.
3
3
  */
4
- export declare const version = "48.4.0";
4
+ export declare const version = "48.7.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the Geocortex Viewer Specification.
3
3
  */
4
- export const version = "48.4.0";
4
+ export const version = "48.7.0";