@vertigis/viewer-spec 48.3.0 → 48.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/messaging/registry/edit.d.ts +4 -4
- package/messaging/registry/map.d.ts +9 -1
- package/messaging/registry/map.js +1 -1
- package/messaging/registry/panel.d.ts +15 -0
- package/messaging/registry/panel.js +1 -1
- package/messaging/registry/portal.d.ts +42 -0
- package/messaging/registry/portal.js +1 -1
- package/messaging/registry/ui.d.ts +23 -0
- package/messaging/registry/ui.js +1 -1
- package/messaging/schema/common-action.schema.json +17 -1
- package/messaging/schema/common-event.schema.json +12 -0
- package/messaging/schema/mobile-action.schema.json +17 -1
- package/messaging/schema/mobile-event.schema.json +12 -0
- package/messaging/schema/web-action.schema.json +140 -1
- package/messaging/schema/web-event.schema.json +56 -0
- package/package.json +3 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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")}}
|
|
@@ -2,6 +2,7 @@ import type { Command } from "../Command.js";
|
|
|
2
2
|
import { CommandRegistry } from "../CommandRegistry.js";
|
|
3
3
|
import type { Event } from "../Event.js";
|
|
4
4
|
import { EventRegistry } from "../EventRegistry.js";
|
|
5
|
+
import type { Model } from "../common.js";
|
|
5
6
|
/**
|
|
6
7
|
* Arguments for the "panel.anchor-host-panel" command.
|
|
7
8
|
*/
|
|
@@ -80,6 +81,20 @@ export declare class PanelCommands extends CommandRegistry {
|
|
|
80
81
|
* @mobileOnly
|
|
81
82
|
*/
|
|
82
83
|
get snapHostPanel(): Command<SnapHostPanelArgs>;
|
|
84
|
+
/**
|
|
85
|
+
* Closes the popout window for a panel and restores the original
|
|
86
|
+
* layout.
|
|
87
|
+
*
|
|
88
|
+
* @webOnly
|
|
89
|
+
*/
|
|
90
|
+
get popIn(): Command<Model["id"] | Model>;
|
|
91
|
+
/**
|
|
92
|
+
* Removes a panel from the main layout and opens it in a new popout
|
|
93
|
+
* window.
|
|
94
|
+
*
|
|
95
|
+
* @webOnly
|
|
96
|
+
*/
|
|
97
|
+
get popOut(): Command<Model["id"] | Model>;
|
|
83
98
|
}
|
|
84
99
|
export declare class PanelEvents extends EventRegistry {
|
|
85
100
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";export var SnapPosition;!function(e){e.HIDDEN="hidden",e.MIDDLE="middle",e.TOP="top"}(SnapPosition||(SnapPosition={}));export class PanelCommands extends CommandRegistry{get openHostPanel(){return this._messages.command("panel.open-host-panel")}get closeHostPanel(){return this._messages.command("panel.close-host-panel")}get anchorHostPanel(){return this._messages.command("panel.anchor-host-panel")}get snapHostPanel(){return this._messages.command("panel.snap-host-panel")}}export class PanelEvents extends EventRegistry{get hostPanelComponentChanged(){return this._messages.event("panel.host-panel-component-changed")}}
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";export var SnapPosition;!function(e){e.HIDDEN="hidden",e.MIDDLE="middle",e.TOP="top"}(SnapPosition||(SnapPosition={}));export class PanelCommands extends CommandRegistry{get openHostPanel(){return this._messages.command("panel.open-host-panel")}get closeHostPanel(){return this._messages.command("panel.close-host-panel")}get anchorHostPanel(){return this._messages.command("panel.anchor-host-panel")}get snapHostPanel(){return this._messages.command("panel.snap-host-panel")}get popIn(){return this._messages.command("panel.pop-in")}get popOut(){return this._messages.command("panel.pop-out")}}export class PanelEvents extends EventRegistry{get hostPanelComponentChanged(){return this._messages.event("panel.host-panel-component-changed")}}
|
|
@@ -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")}}
|
|
@@ -187,6 +187,23 @@ export interface FocusArgs {
|
|
|
187
187
|
*/
|
|
188
188
|
timeout?: number;
|
|
189
189
|
}
|
|
190
|
+
/**
|
|
191
|
+
* Payload for a VisualStateChangeEvent.
|
|
192
|
+
*/
|
|
193
|
+
export interface VisualStateChangeEvent {
|
|
194
|
+
/**
|
|
195
|
+
* The ID of the component whose visual state has changed.
|
|
196
|
+
*/
|
|
197
|
+
component: ComponentId;
|
|
198
|
+
/**
|
|
199
|
+
* The visual state of the component before the change.
|
|
200
|
+
*/
|
|
201
|
+
previous: VisualState;
|
|
202
|
+
/**
|
|
203
|
+
* The new visual state of the component.
|
|
204
|
+
*/
|
|
205
|
+
current: VisualState;
|
|
206
|
+
}
|
|
190
207
|
/**
|
|
191
208
|
* A component's visual state. The values will vary based on the component type.
|
|
192
209
|
*/
|
|
@@ -414,4 +431,10 @@ export declare class UIEvents extends EventRegistry {
|
|
|
414
431
|
* @mobileOnly
|
|
415
432
|
*/
|
|
416
433
|
get themeChanged(): Event;
|
|
434
|
+
/**
|
|
435
|
+
* Raised when a component's visual state is changed.
|
|
436
|
+
*
|
|
437
|
+
* @webOnly
|
|
438
|
+
*/
|
|
439
|
+
get visualStateChanged(): Event<VisualStateChangeEvent>;
|
|
417
440
|
}
|
package/messaging/registry/ui.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export var NotificationCategory;!function(e){e.ERROR="error",e.INFO="info",e.SUCCESS="success",e.WARNING="warning"}(NotificationCategory||(NotificationCategory={}));export var NotificationType;!function(e){e.AUTO="auto",e.APP="app",e.SYSTEM="system"}(NotificationType||(NotificationType={}));export var Position;!function(e){e.BOTTOM="bottom",e.LEFT="left",e.RIGHT="right",e.TOP="top"}(Position||(Position={}));export class UICommands extends CommandRegistry{get activate(){return this._messages.command("ui.activate")}get activeToggle(){return this._messages.command("ui.active-toggle")}get alert(){return this._messages.command("ui.alert")}get await(){return this._messages.command("ui.await")}get deactivate(){return this._messages.command("ui.deactivate")}get displayBusyState(){return this._messages.command("ui.display-busy-state")}get displayNotification(){return this._messages.command("ui.display-notification")}get pauseNotifications(){return this._messages.command("ui.pause-notifications")}get resumeNotifications(){return this._messages.command("ui.resume-notifications")}get focus(){return this._messages.command("ui.focus")}get hideBusyState(){return this._messages.command("ui.hide-busy-state")}get hideNotification(){return this._messages.command("ui.hide-notification")}get narrate(){return this._messages.command("ui.narrate")}get setDensity(){return this._messages.command("ui.set-density")}get setLocale(){return this._messages.command("ui.set-locale")}get setTheme(){return this._messages.command("ui.set-theme")}get setVisualState(){return this._messages.command("ui.set-visual-state")}}export class UIOperations extends OperationRegistry{get confirm(){return this._messages.operation("ui.confirm")}get prompt(){return this._messages.operation("ui.prompt")}get getTheme(){return this._messages.operation("ui.get-theme")}get getThemes(){return this._messages.operation("ui.get-themes")}get getVisualState(){return this._messages.operation("ui.get-visual-state")}}export class UIEvents extends EventRegistry{get activated(){return this._messages.event("ui.activated")}get added(){return this._messages.event("ui.added")}get ancestorActivated(){return this._messages.event("ui.ancestor-activated")}get ancestorDeactivated(){return this._messages.event("ui.ancestor-deactivated")}get deactivated(){return this._messages.event("ui.deactivated")}get densityChanged(){return this._messages.event("ui.density-changed")}get localeChanged(){return this._messages.event("ui.locale-changed")}get initializing(){return this._messages.event("ui.initializing")}get initialized(){return this._messages.event("ui.initialized")}get removed(){return this._messages.event("ui.removed")}get reordered(){return this._messages.event("ui.reordered")}get themeChanged(){return this._messages.event("ui.theme-changed")}}
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export var NotificationCategory;!function(e){e.ERROR="error",e.INFO="info",e.SUCCESS="success",e.WARNING="warning"}(NotificationCategory||(NotificationCategory={}));export var NotificationType;!function(e){e.AUTO="auto",e.APP="app",e.SYSTEM="system"}(NotificationType||(NotificationType={}));export var Position;!function(e){e.BOTTOM="bottom",e.LEFT="left",e.RIGHT="right",e.TOP="top"}(Position||(Position={}));export class UICommands extends CommandRegistry{get activate(){return this._messages.command("ui.activate")}get activeToggle(){return this._messages.command("ui.active-toggle")}get alert(){return this._messages.command("ui.alert")}get await(){return this._messages.command("ui.await")}get deactivate(){return this._messages.command("ui.deactivate")}get displayBusyState(){return this._messages.command("ui.display-busy-state")}get displayNotification(){return this._messages.command("ui.display-notification")}get pauseNotifications(){return this._messages.command("ui.pause-notifications")}get resumeNotifications(){return this._messages.command("ui.resume-notifications")}get focus(){return this._messages.command("ui.focus")}get hideBusyState(){return this._messages.command("ui.hide-busy-state")}get hideNotification(){return this._messages.command("ui.hide-notification")}get narrate(){return this._messages.command("ui.narrate")}get setDensity(){return this._messages.command("ui.set-density")}get setLocale(){return this._messages.command("ui.set-locale")}get setTheme(){return this._messages.command("ui.set-theme")}get setVisualState(){return this._messages.command("ui.set-visual-state")}}export class UIOperations extends OperationRegistry{get confirm(){return this._messages.operation("ui.confirm")}get prompt(){return this._messages.operation("ui.prompt")}get getTheme(){return this._messages.operation("ui.get-theme")}get getThemes(){return this._messages.operation("ui.get-themes")}get getVisualState(){return this._messages.operation("ui.get-visual-state")}}export class UIEvents extends EventRegistry{get activated(){return this._messages.event("ui.activated")}get added(){return this._messages.event("ui.added")}get ancestorActivated(){return this._messages.event("ui.ancestor-activated")}get ancestorDeactivated(){return this._messages.event("ui.ancestor-deactivated")}get deactivated(){return this._messages.event("ui.deactivated")}get densityChanged(){return this._messages.event("ui.density-changed")}get localeChanged(){return this._messages.event("ui.locale-changed")}get initializing(){return this._messages.event("ui.initializing")}get initialized(){return this._messages.event("ui.initialized")}get removed(){return this._messages.event("ui.removed")}get reordered(){return this._messages.event("ui.reordered")}get themeChanged(){return this._messages.event("ui.theme-changed")}get visualStateChanged(){return this._messages.event("ui.visual-state-changed")}}
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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": [
|
|
@@ -16279,6 +16329,38 @@
|
|
|
16279
16329
|
"items": {},
|
|
16280
16330
|
"type": "array"
|
|
16281
16331
|
},
|
|
16332
|
+
"panel.pop-in": {
|
|
16333
|
+
"description": "Closes the popout window for a panel and restores the original layout.",
|
|
16334
|
+
"enum": [
|
|
16335
|
+
"panel.pop-in"
|
|
16336
|
+
]
|
|
16337
|
+
},
|
|
16338
|
+
"panel.pop-in:input": {
|
|
16339
|
+
"anyOf": [
|
|
16340
|
+
{
|
|
16341
|
+
"$ref": "#/definitions/Model"
|
|
16342
|
+
},
|
|
16343
|
+
{
|
|
16344
|
+
"type": "string"
|
|
16345
|
+
}
|
|
16346
|
+
]
|
|
16347
|
+
},
|
|
16348
|
+
"panel.pop-out": {
|
|
16349
|
+
"description": "Removes a panel from the main layout and opens it in a new popout window.",
|
|
16350
|
+
"enum": [
|
|
16351
|
+
"panel.pop-out"
|
|
16352
|
+
]
|
|
16353
|
+
},
|
|
16354
|
+
"panel.pop-out:input": {
|
|
16355
|
+
"anyOf": [
|
|
16356
|
+
{
|
|
16357
|
+
"$ref": "#/definitions/Model"
|
|
16358
|
+
},
|
|
16359
|
+
{
|
|
16360
|
+
"type": "string"
|
|
16361
|
+
}
|
|
16362
|
+
]
|
|
16363
|
+
},
|
|
16282
16364
|
"printing.run": {
|
|
16283
16365
|
"description": "Run a print job with a given map and template.",
|
|
16284
16366
|
"enum": [
|
|
@@ -18994,6 +19076,38 @@
|
|
|
18994
19076
|
],
|
|
18995
19077
|
"type": "object"
|
|
18996
19078
|
},
|
|
19079
|
+
{
|
|
19080
|
+
"additionalProperties": false,
|
|
19081
|
+
"properties": {
|
|
19082
|
+
"arguments": {
|
|
19083
|
+
"$ref": "#/definitions/panel.pop-in:input"
|
|
19084
|
+
},
|
|
19085
|
+
"name": {
|
|
19086
|
+
"$ref": "#/definitions/panel.pop-in"
|
|
19087
|
+
}
|
|
19088
|
+
},
|
|
19089
|
+
"required": [
|
|
19090
|
+
"name",
|
|
19091
|
+
"arguments"
|
|
19092
|
+
],
|
|
19093
|
+
"type": "object"
|
|
19094
|
+
},
|
|
19095
|
+
{
|
|
19096
|
+
"additionalProperties": false,
|
|
19097
|
+
"properties": {
|
|
19098
|
+
"arguments": {
|
|
19099
|
+
"$ref": "#/definitions/panel.pop-out:input"
|
|
19100
|
+
},
|
|
19101
|
+
"name": {
|
|
19102
|
+
"$ref": "#/definitions/panel.pop-out"
|
|
19103
|
+
}
|
|
19104
|
+
},
|
|
19105
|
+
"required": [
|
|
19106
|
+
"name",
|
|
19107
|
+
"arguments"
|
|
19108
|
+
],
|
|
19109
|
+
"type": "object"
|
|
19110
|
+
},
|
|
18997
19111
|
{
|
|
18998
19112
|
"additionalProperties": false,
|
|
18999
19113
|
"properties": {
|
|
@@ -19919,6 +20033,12 @@
|
|
|
19919
20033
|
{
|
|
19920
20034
|
"$ref": "#/definitions/messaging.mix-in-args"
|
|
19921
20035
|
},
|
|
20036
|
+
{
|
|
20037
|
+
"$ref": "#/definitions/panel.pop-in"
|
|
20038
|
+
},
|
|
20039
|
+
{
|
|
20040
|
+
"$ref": "#/definitions/panel.pop-out"
|
|
20041
|
+
},
|
|
19922
20042
|
{
|
|
19923
20043
|
"$ref": "#/definitions/printing.run"
|
|
19924
20044
|
},
|
|
@@ -20323,6 +20443,22 @@
|
|
|
20323
20443
|
],
|
|
20324
20444
|
"type": "object"
|
|
20325
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
|
+
},
|
|
20326
20462
|
{
|
|
20327
20463
|
"additionalProperties": false,
|
|
20328
20464
|
"properties": {
|
|
@@ -21035,6 +21171,9 @@
|
|
|
21035
21171
|
{
|
|
21036
21172
|
"$ref": "#/definitions/kpi.get-features"
|
|
21037
21173
|
},
|
|
21174
|
+
{
|
|
21175
|
+
"$ref": "#/definitions/map.export-web-map-or-scene"
|
|
21176
|
+
},
|
|
21038
21177
|
{
|
|
21039
21178
|
"$ref": "#/definitions/map.get-extent"
|
|
21040
21179
|
},
|
|
@@ -373,6 +373,10 @@
|
|
|
373
373
|
],
|
|
374
374
|
"type": "string"
|
|
375
375
|
},
|
|
376
|
+
"ComponentId": {
|
|
377
|
+
"description": "A component's ID in the layout.",
|
|
378
|
+
"type": "string"
|
|
379
|
+
},
|
|
376
380
|
"CreateGraphicsResult": {
|
|
377
381
|
"additionalProperties": false,
|
|
378
382
|
"description": "Result of the \"drawing.create-graphics\" and \"measurement.create-graphics\" operations.",
|
|
@@ -1025,6 +1029,34 @@
|
|
|
1025
1029
|
},
|
|
1026
1030
|
"type": "object"
|
|
1027
1031
|
},
|
|
1032
|
+
"VisualState": {
|
|
1033
|
+
"description": "A component's visual state. The values will vary based on the component type.",
|
|
1034
|
+
"type": "string"
|
|
1035
|
+
},
|
|
1036
|
+
"VisualStateChangeEvent": {
|
|
1037
|
+
"additionalProperties": false,
|
|
1038
|
+
"description": "Payload for a VisualStateChangeEvent.",
|
|
1039
|
+
"properties": {
|
|
1040
|
+
"component": {
|
|
1041
|
+
"$ref": "#/definitions/ComponentId",
|
|
1042
|
+
"description": "The ID of the component whose visual state has changed."
|
|
1043
|
+
},
|
|
1044
|
+
"current": {
|
|
1045
|
+
"$ref": "#/definitions/VisualState",
|
|
1046
|
+
"description": "The new visual state of the component."
|
|
1047
|
+
},
|
|
1048
|
+
"previous": {
|
|
1049
|
+
"$ref": "#/definitions/VisualState",
|
|
1050
|
+
"description": "The visual state of the component before the change."
|
|
1051
|
+
}
|
|
1052
|
+
},
|
|
1053
|
+
"required": [
|
|
1054
|
+
"component",
|
|
1055
|
+
"current",
|
|
1056
|
+
"previous"
|
|
1057
|
+
],
|
|
1058
|
+
"type": "object"
|
|
1059
|
+
},
|
|
1028
1060
|
"WorkflowErrorEventArgs": {
|
|
1029
1061
|
"additionalProperties": false,
|
|
1030
1062
|
"description": "Arguments for the \"workflow.workflow-error\" event.",
|
|
@@ -5598,10 +5630,18 @@
|
|
|
5598
5630
|
"$ref": "#/definitions/esri.rest-api._LayerBase.BlendMode",
|
|
5599
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."
|
|
5600
5632
|
},
|
|
5633
|
+
"disablePopup": {
|
|
5634
|
+
"description": "Indicates whether to allow a client to ignore popups defined by the service item.",
|
|
5635
|
+
"type": "boolean"
|
|
5636
|
+
},
|
|
5601
5637
|
"id": {
|
|
5602
5638
|
"description": "A unique identifying string for the layer.",
|
|
5603
5639
|
"type": "string"
|
|
5604
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
|
+
},
|
|
5605
5645
|
"layerType": {
|
|
5606
5646
|
"description": "The type of layer.",
|
|
5607
5647
|
"enum": [
|
|
@@ -5625,6 +5665,10 @@
|
|
|
5625
5665
|
"description": "The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.",
|
|
5626
5666
|
"type": "number"
|
|
5627
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
|
+
},
|
|
5628
5672
|
"refreshInterval": {
|
|
5629
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}.",
|
|
5630
5674
|
"type": "number"
|
|
@@ -9480,6 +9524,15 @@
|
|
|
9480
9524
|
"ui.reordered:input": {
|
|
9481
9525
|
"type": "string"
|
|
9482
9526
|
},
|
|
9527
|
+
"ui.visual-state-changed": {
|
|
9528
|
+
"description": "Raised when a component's visual state is changed.",
|
|
9529
|
+
"enum": [
|
|
9530
|
+
"ui.visual-state-changed"
|
|
9531
|
+
]
|
|
9532
|
+
},
|
|
9533
|
+
"ui.visual-state-changed:input": {
|
|
9534
|
+
"$ref": "#/definitions/VisualStateChangeEvent"
|
|
9535
|
+
},
|
|
9483
9536
|
"viewer-spec.Event": {
|
|
9484
9537
|
"anyOf": [
|
|
9485
9538
|
{
|
|
@@ -9620,6 +9673,9 @@
|
|
|
9620
9673
|
{
|
|
9621
9674
|
"$ref": "#/definitions/ui.reordered"
|
|
9622
9675
|
},
|
|
9676
|
+
{
|
|
9677
|
+
"$ref": "#/definitions/ui.visual-state-changed"
|
|
9678
|
+
},
|
|
9623
9679
|
{
|
|
9624
9680
|
"$ref": "#/definitions/viewer.layout-changed"
|
|
9625
9681
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertigis/viewer-spec",
|
|
3
|
-
"version": "48.
|
|
3
|
+
"version": "48.6.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.
|
|
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.
|
|
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
package/version.js
CHANGED