@vertigis/viewer-spec 61.17.1 → 61.18.1

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.
@@ -45,6 +45,9 @@ export interface BrandingColors {
45
45
  alertRedForegroundHover: ColorConfig;
46
46
  alertRedIcon: ColorConfig;
47
47
  alertRedIconHover: ColorConfig;
48
+ attributeTableRowSelectedBackground: ColorConfig;
49
+ attributeTableRowSelectedHoverBackground: ColorConfig;
50
+ attributeTableRowSelectedHoverForeground: ColorConfig;
48
51
  buttonBackground: ColorConfig;
49
52
  buttonBackgroundDisabled: ColorConfig;
50
53
  buttonBackgroundHover: ColorConfig;
@@ -25,6 +25,20 @@
25
25
  </complexType>
26
26
  </element>
27
27
 
28
+ <element name="attribute-table" substitutionGroup="base:component">
29
+ <annotation>
30
+ <documentation xml:lang="en">
31
+ A component that allows the user to view the attributes of features
32
+ from a layer in a table view.
33
+ </documentation>
34
+ </annotation>
35
+ <complexType>
36
+ <complexContent>
37
+ <extension base="base:Component" />
38
+ </complexContent>
39
+ </complexType>
40
+ </element>
41
+
28
42
  <element name="bulk-editing" substitutionGroup="base:component">
29
43
  <annotation>
30
44
  <documentation xml:lang="en">
@@ -1,5 +1,6 @@
1
1
  import { CommandRegistry } from "../CommandRegistry.js";
2
2
  import { AppCommands } from "./app.js";
3
+ import { AttributeTableCommands } from "./attribute-table.js";
3
4
  import { AuthCommands } from "./auth.js";
4
5
  import { BasemapCommands } from "./basemap.js";
5
6
  import { BulkEditingCommands } from "./bulk-editing.js";
@@ -42,6 +43,7 @@ import { ViewerCommands } from "./viewer.js";
42
43
  import { WorkflowCommands } from "./workflow.js";
43
44
  export declare class Commands extends CommandRegistry {
44
45
  readonly app: AppCommands;
46
+ readonly attributeTable: AttributeTableCommands;
45
47
  readonly auth: AuthCommands;
46
48
  readonly basemap: BasemapCommands;
47
49
  readonly bulkEditing: BulkEditingCommands;
@@ -1 +1 @@
1
- import{CommandRegistry as s}from"../CommandRegistry.js";import{AppCommands as e}from"./app.js";import{AuthCommands as m}from"./auth.js";import{BasemapCommands as r}from"./basemap.js";import{BulkEditingCommands as i}from"./bulk-editing.js";import{ChartsCommands as t}from"./charts.js";import{DrawingCommands as o}from"./drawing.js";import{EditCommands as a}from"./edit.js";import{FileCommands as n}from"./file.js";import{FilterBuilderCommands as p}from"./filter-builder.js";import{GeolocationCommands as g}from"./geolocation.js";import{GeometryToolbarCommands as h}from"./geometry-toolbar.js";import{GeometryCommands as w}from"./geometry.js";import{HighlightsCommands as f}from"./highlights.js";import{IwtmCommands as j}from"./iwtm.js";import{KpiCommands as l}from"./kpi.js";import{LayerComparisonCommands as _}from"./layer-comparison.js";import{LayerListCommands as y}from"./layer-list.js";import{LayerPresetsCommands as u}from"./layer-presets.js";import{LayersCommands as c}from"./layers.js";import{LicensingCommands as d}from"./licensing.js";import{LocationMarkerCommands as k}from"./location-marker.js";import{MapCommands as b}from"./map.js";import{MeasurementCommands as x}from"./measurement.js";import{NetworkCommands as C}from"./network.js";import{OfflineCommands as q}from"./offline.js";import{PanelCommands as v}from"./panel.js";import{PhotosCommands as A}from"./photos.js";import{PrintCommands as B}from"./printing.js";import{ProjectCommands as E}from"./project.js";import{QueryBuilderCommands as L}from"./query-builder.js";import{RegionCommands as M}from"./region.js";import{ReportsCommands as N}from"./reports.js";import{ResultsCommands as P}from"./results.js";import{SearchCommands as R}from"./search.js";import{SketchingCommands as T}from"./sketching.js";import{StudioAnalyticsCommands as z}from"./studioAnalytics.js";import{SystemCommands as D}from"./system.js";import{UICommands as F}from"./ui.js";import{UtilityNetworkCommands as G}from"./utility-network.js";import{ViewerCommands as H}from"./viewer.js";import{WorkflowCommands as I}from"./workflow.js";export class Commands extends s{app=new e(this._messages);auth=new m(this._messages);basemap=new r(this._messages);bulkEditing=new i(this._messages);charts=new t(this._messages);drawing=new o(this._messages);edit=new a(this._messages);file=new n(this._messages);filterBuilder=new p(this._messages);geolocation=new g(this._messages);geometry=new w(this._messages);geometryToolbar=new h(this._messages);highlights=new f(this._messages);iwtm=new j(this._messages);kpi=new l(this._messages);layerList=new y(this._messages);layers=new c(this._messages);layerComparison=new _(this._messages);layerPresets=new u(this._messages);licensing=new d(this._messages);locationMarker=new k(this._messages);map=new b(this._messages);measurement=new x(this._messages);network=new C(this._messages);offline=new q(this._messages);panel=new v(this._messages);project=new E(this._messages);photos=new A(this._messages);printing=new B(this._messages);queryBuilder=new L(this._messages);region=new M(this._messages);reports=new N(this._messages);results=new P(this._messages);search=new R(this._messages);sketching=new T(this._messages);studioAnalytics=new z(this._messages);system=new D(this._messages);ui=new F(this._messages);utilityNetwork=new G(this._messages);viewer=new H(this._messages);workflow=new I(this._messages);_prefix=""}
1
+ import{CommandRegistry as s}from"../CommandRegistry.js";import{AppCommands as e}from"./app.js";import{AttributeTableCommands as m}from"./attribute-table.js";import{AuthCommands as t}from"./auth.js";import{BasemapCommands as r}from"./basemap.js";import{BulkEditingCommands as i}from"./bulk-editing.js";import{ChartsCommands as o}from"./charts.js";import{DrawingCommands as a}from"./drawing.js";import{EditCommands as n}from"./edit.js";import{FileCommands as p}from"./file.js";import{FilterBuilderCommands as g}from"./filter-builder.js";import{GeolocationCommands as h}from"./geolocation.js";import{GeometryToolbarCommands as w}from"./geometry-toolbar.js";import{GeometryCommands as f}from"./geometry.js";import{HighlightsCommands as j}from"./highlights.js";import{IwtmCommands as l}from"./iwtm.js";import{KpiCommands as _}from"./kpi.js";import{LayerComparisonCommands as u}from"./layer-comparison.js";import{LayerListCommands as y}from"./layer-list.js";import{LayerPresetsCommands as c}from"./layer-presets.js";import{LayersCommands as d}from"./layers.js";import{LicensingCommands as k}from"./licensing.js";import{LocationMarkerCommands as b}from"./location-marker.js";import{MapCommands as x}from"./map.js";import{MeasurementCommands as C}from"./measurement.js";import{NetworkCommands as q}from"./network.js";import{OfflineCommands as v}from"./offline.js";import{PanelCommands as A}from"./panel.js";import{PhotosCommands as B}from"./photos.js";import{PrintCommands as T}from"./printing.js";import{ProjectCommands as E}from"./project.js";import{QueryBuilderCommands as L}from"./query-builder.js";import{RegionCommands as M}from"./region.js";import{ReportsCommands as N}from"./reports.js";import{ResultsCommands as P}from"./results.js";import{SearchCommands as R}from"./search.js";import{SketchingCommands as z}from"./sketching.js";import{StudioAnalyticsCommands as D}from"./studioAnalytics.js";import{SystemCommands as F}from"./system.js";import{UICommands as G}from"./ui.js";import{UtilityNetworkCommands as H}from"./utility-network.js";import{ViewerCommands as I}from"./viewer.js";import{WorkflowCommands as J}from"./workflow.js";export class Commands extends s{app=new e(this._messages);attributeTable=new m(this._messages);auth=new t(this._messages);basemap=new r(this._messages);bulkEditing=new i(this._messages);charts=new o(this._messages);drawing=new a(this._messages);edit=new n(this._messages);file=new p(this._messages);filterBuilder=new g(this._messages);geolocation=new h(this._messages);geometry=new f(this._messages);geometryToolbar=new w(this._messages);highlights=new j(this._messages);iwtm=new l(this._messages);kpi=new _(this._messages);layerList=new y(this._messages);layers=new d(this._messages);layerComparison=new u(this._messages);layerPresets=new c(this._messages);licensing=new k(this._messages);locationMarker=new b(this._messages);map=new x(this._messages);measurement=new C(this._messages);network=new q(this._messages);offline=new v(this._messages);panel=new A(this._messages);project=new E(this._messages);photos=new B(this._messages);printing=new T(this._messages);queryBuilder=new L(this._messages);region=new M(this._messages);reports=new N(this._messages);results=new P(this._messages);search=new R(this._messages);sketching=new z(this._messages);studioAnalytics=new D(this._messages);system=new F(this._messages);ui=new G(this._messages);utilityNetwork=new H(this._messages);viewer=new I(this._messages);workflow=new J(this._messages);_prefix=""}
@@ -1,6 +1,7 @@
1
1
  import { EventRegistry } from "../EventRegistry.js";
2
2
  import { AppConfigEvents } from "./app-config.js";
3
3
  import { AppEvents } from "./app.js";
4
+ import { AttributeTableEvents } from "./attribute-table.js";
4
5
  import { AuthEvents } from "./auth.js";
5
6
  import { BookmarkEvents } from "./bookmark.js";
6
7
  import { DeviceEvents } from "./device.js";
@@ -33,6 +34,7 @@ import { WorkflowEvents } from "./workflow.js";
33
34
  export declare class Events extends EventRegistry {
34
35
  readonly app: AppEvents;
35
36
  readonly appConfig: AppConfigEvents;
37
+ readonly attributeTable: AttributeTableEvents;
36
38
  readonly auth: AuthEvents;
37
39
  readonly bookmark: BookmarkEvents;
38
40
  readonly device: DeviceEvents;
@@ -1 +1 @@
1
- import{EventRegistry as s}from"../EventRegistry.js";import{AppConfigEvents as e}from"./app-config.js";import{AppEvents as t}from"./app.js";import{AuthEvents as o}from"./auth.js";import{BookmarkEvents as r}from"./bookmark.js";import{DeviceEvents as m}from"./device.js";import{DisplayEvents as i}from"./display.js";import{EditEvents as a}from"./edit.js";import{GeolocationEvents as p}from"./geolocation.js";import{InputEvents as n}from"./input.js";import{LayerListEvents as g}from"./layer-list.js";import{LayersEvents as f}from"./layers.js";import{LayoutEvents as h}from"./layout.js";import{LocationMarkerEvents as w}from"./location-marker.js";import{MapEvents as j}from"./map.js";import{NetworkEvents as _}from"./network.js";import{OfflineEvents as l}from"./offline.js";import{PanelEvents as c}from"./panel.js";import{PhotosEvents as k}from"./photos.js";import{PortalEvents as u}from"./portal.js";import{PrintEvents as y}from"./printing.js";import{ProjectEvents as d}from"./project.js";import{RegionEvents as v}from"./region.js";import{ReportEvents as x}from"./reports.js";import{ResultsEvents as b}from"./results.js";import{SearchEvents as E}from"./search.js";import{SettingsEvents as C}from"./settings.js";import{ShortcutEvents as L}from"./shortcut.js";import{TasksEvents as M}from"./tasks.js";import{UIEvents as R}from"./ui.js";import{ViewerEvents as q}from"./viewer.js";import{WorkflowEvents as z}from"./workflow.js";export class Events extends s{app=new t(this._messages);appConfig=new e(this._messages);auth=new o(this._messages);bookmark=new r(this._messages);device=new m(this._messages);display=new i(this._messages);edit=new a(this._messages);geolocation=new p(this._messages);input=new n(this._messages);layers=new f(this._messages);layerList=new g(this._messages);layout=new h(this._messages);locationMarker=new w(this._messages);map=new j(this._messages);network=new _(this._messages);offline=new l(this._messages);panel=new c(this._messages);project=new d(this._messages);photos=new k(this._messages);portal=new u(this._messages);printing=new y(this._messages);region=new v(this._messages);reports=new x(this._messages);results=new b(this._messages);search=new E(this._messages);settings=new C(this._messages);shortcuts=new L(this._messages);tasks=new M(this._messages);ui=new R(this._messages);viewer=new q(this._messages);workflow=new z(this._messages);_prefix=""}
1
+ import{EventRegistry as s}from"../EventRegistry.js";import{AppConfigEvents as e}from"./app-config.js";import{AppEvents as t}from"./app.js";import{AttributeTableEvents as o}from"./attribute-table.js";import{AuthEvents as r}from"./auth.js";import{BookmarkEvents as m}from"./bookmark.js";import{DeviceEvents as i}from"./device.js";import{DisplayEvents as a}from"./display.js";import{EditEvents as p}from"./edit.js";import{GeolocationEvents as n}from"./geolocation.js";import{InputEvents as g}from"./input.js";import{LayerListEvents as f}from"./layer-list.js";import{LayersEvents as h}from"./layers.js";import{LayoutEvents as w}from"./layout.js";import{LocationMarkerEvents as j}from"./location-marker.js";import{MapEvents as _}from"./map.js";import{NetworkEvents as l}from"./network.js";import{OfflineEvents as c}from"./offline.js";import{PanelEvents as u}from"./panel.js";import{PhotosEvents as k}from"./photos.js";import{PortalEvents as y}from"./portal.js";import{PrintEvents as d}from"./printing.js";import{ProjectEvents as b}from"./project.js";import{RegionEvents as v}from"./region.js";import{ReportEvents as x}from"./reports.js";import{ResultsEvents as E}from"./results.js";import{SearchEvents as C}from"./search.js";import{SettingsEvents as L}from"./settings.js";import{ShortcutEvents as M}from"./shortcut.js";import{TasksEvents as R}from"./tasks.js";import{UIEvents as T}from"./ui.js";import{ViewerEvents as q}from"./viewer.js";import{WorkflowEvents as z}from"./workflow.js";export class Events extends s{app=new t(this._messages);appConfig=new e(this._messages);attributeTable=new o(this._messages);auth=new r(this._messages);bookmark=new m(this._messages);device=new i(this._messages);display=new a(this._messages);edit=new p(this._messages);geolocation=new n(this._messages);input=new g(this._messages);layers=new h(this._messages);layerList=new f(this._messages);layout=new w(this._messages);locationMarker=new j(this._messages);map=new _(this._messages);network=new l(this._messages);offline=new c(this._messages);panel=new u(this._messages);project=new b(this._messages);photos=new k(this._messages);portal=new y(this._messages);printing=new d(this._messages);region=new v(this._messages);reports=new x(this._messages);results=new E(this._messages);search=new C(this._messages);settings=new L(this._messages);shortcuts=new M(this._messages);tasks=new R(this._messages);ui=new T(this._messages);viewer=new q(this._messages);workflow=new z(this._messages);_prefix=""}
@@ -0,0 +1,109 @@
1
+ import type { Command } from "../Command.js";
2
+ import { CommandRegistry } from "../CommandRegistry.js";
3
+ import type { Event } from "../Event.js";
4
+ import { EventRegistry } from "../EventRegistry.js";
5
+ import type { HasLayers, ModelRef } from "../common.js";
6
+ /**
7
+ * Arguments for the "attribute-table" commands. Web only.
8
+ */
9
+ export interface AttributeTableArgs extends HasLayers {
10
+ /**
11
+ * The attribute table component that will be targeted. If not specified,
12
+ * all active attribute table components in the layout will be targeted.
13
+ */
14
+ attributeTable?: ModelRef;
15
+ }
16
+ export declare class AttributeTableCommands extends CommandRegistry {
17
+ protected readonly _prefix = "attribute-table";
18
+ /**
19
+ * Displays the attribute table interface for a given layer or set of
20
+ * layers. Each layer will be displayed in a separate tab. The supplied
21
+ * layers will replace the layers currently displayed in the table. Web
22
+ * only.
23
+ *
24
+ * **Example:** Displaying the attribute table for a layer.
25
+ *
26
+ * ```
27
+ * {
28
+ * "layers": "item://layer-extension/your-layerExtension-id"
29
+ * }
30
+ * ```
31
+ *
32
+ * **Example:** Displaying the attribute table for more than one layer.
33
+ *
34
+ * ```
35
+ * {
36
+ * "layers": [
37
+ * "item://layer-extension/your-layerExtension-id",
38
+ * "item://table-extension/your-tableExtension-id"
39
+ * ]
40
+ * }
41
+ * ```
42
+ *
43
+ * @webOnly
44
+ */
45
+ get display(): Command<AttributeTableArgs>;
46
+ /**
47
+ * Displays the attribute table interface for a given layer or set of
48
+ * layers. Each layer will be displayed in a separate tab. The supplied
49
+ * layers will be appended to the currently present layers in the attribute
50
+ * table. If there are no layers in the table, then this command behaves as
51
+ * if the "display" command was used. Web only.
52
+ *
53
+ * **Example:** Adding a layer to the attribute table.
54
+ *
55
+ * ```
56
+ * {
57
+ * "layers": "item://layer-extension/your-layerExtension-id"
58
+ * }
59
+ * ```
60
+ *
61
+ * **Example:** Adding more than one layer to the attribute table.
62
+ *
63
+ * ```
64
+ * {
65
+ * "layers": [
66
+ * "item://layer-extension/your-layerExtension-id",
67
+ * "item://table-extension/your-tableExtension-id"
68
+ * ]
69
+ * }
70
+ * ```
71
+ *
72
+ * @webOnly
73
+ */
74
+ get add(): Command<AttributeTableArgs>;
75
+ /**
76
+ * Remove one or more layers from the attribute table. Web only.
77
+ *
78
+ * **Example:** Removing a layer from the attribute table.
79
+ *
80
+ * ```
81
+ * {
82
+ * "layers": "item://layer-extension/your-layerExtension-id"
83
+ * }
84
+ * ```
85
+ *
86
+ * **Example:** Removing more than one layer from the attribute table.
87
+ *
88
+ * ```
89
+ * {
90
+ * "layers": [
91
+ * "item://layer-extension/your-layerExtension-id",
92
+ * "item://table-extension/your-tableExtension-id"
93
+ * ]
94
+ * }
95
+ * ```
96
+ *
97
+ * @webOnly
98
+ */
99
+ get remove(): Command<AttributeTableArgs>;
100
+ }
101
+ export declare class AttributeTableEvents extends EventRegistry {
102
+ protected readonly _prefix = "attribute-table";
103
+ /**
104
+ * Raised when features are displayed in the attribute table. Web only.
105
+ *
106
+ * @webOnly
107
+ */
108
+ get displayed(): Event<AttributeTableArgs>;
109
+ }
@@ -0,0 +1 @@
1
+ import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";export class AttributeTableCommands extends t{_prefix="attribute-table";get display(){return this._get("display")}get add(){return this._get("add")}get remove(){return this._get("remove")}}export class AttributeTableEvents extends e{_prefix="attribute-table";get displayed(){return this._get("displayed")}}
@@ -211,9 +211,24 @@ export interface QueryArgs {
211
211
  */
212
212
  geometry?: GeometryLike;
213
213
  /**
214
- * Whether geometry for features should be returned.
214
+ * The maximum allowable offset used for generalizing returned geometries.
215
215
  */
216
- returnGeometry?: boolean;
216
+ maxAllowableOffset?: number;
217
+ /**
218
+ * The maximum number of results to return.
219
+ */
220
+ maxResults?: number;
221
+ /**
222
+ * The fields to sort the query by if the service supports sorting.
223
+ *
224
+ * **Example**: Sort the results by FIELD1_NAME ascending first and then by
225
+ * FIELD2_NAME descending.
226
+ *
227
+ * ```
228
+ * ["FIELD1_NAME ASC", "FIELD2_NAME DESC"];
229
+ * ```
230
+ */
231
+ orderByFields?: string[];
217
232
  /**
218
233
  * Fields that should be returned for each feature.
219
234
  */
@@ -223,13 +238,14 @@ export interface QueryArgs {
223
238
  */
224
239
  outSpatialReference?: SpatialReference;
225
240
  /**
226
- * The maximum allowable offset used for generalizing returned geometries.
241
+ * Whether geometry for features should be returned.
227
242
  */
228
- maxAllowableOffset?: number;
243
+ returnGeometry?: boolean;
229
244
  /**
230
- * The maximum number of results to return.
245
+ * The zero-based index indicating where to begin retrieving features.
246
+ * Features are sorted ascending by object ID by default.
231
247
  */
232
- maxResults?: number;
248
+ start?: number;
233
249
  }
234
250
  /**
235
251
  * The arguments for the tasks.supports-identify operation.