@vertigis/viewer-spec 56.23.0 → 56.25.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.
Files changed (267) hide show
  1. package/analytics/AnalyticsContext.d.ts +29 -29
  2. package/analytics/AnalyticsContext.js +1 -1
  3. package/analytics/CommonAction.d.ts +90 -90
  4. package/analytics/CommonAction.js +1 -1
  5. package/analytics/MobileAction.d.ts +113 -113
  6. package/analytics/MobileAction.js +1 -1
  7. package/analytics/WebAction.d.ts +102 -102
  8. package/analytics/WebAction.js +1 -1
  9. package/app-config/AppConfig.d.ts +55 -55
  10. package/app-config/ItemConfig.d.ts +18 -18
  11. package/app-config/common/AnalyticsModelProperties.d.ts +10 -10
  12. package/app-config/common/ApplicationModelProperties.d.ts +15 -15
  13. package/app-config/common/BasemapPickerModelProperties.d.ts +6 -6
  14. package/app-config/common/BookmarksModelProperties.d.ts +17 -17
  15. package/app-config/common/BrandingColors.d.ts +102 -102
  16. package/app-config/common/BrandingModelProperties.d.ts +23 -23
  17. package/app-config/common/BrandingThemeProperties.d.ts +35 -35
  18. package/app-config/common/CompassModelProperties.d.ts +6 -6
  19. package/app-config/common/ComponentModelProperties.d.ts +14 -14
  20. package/app-config/common/CoordinateFormat.d.ts +4 -4
  21. package/app-config/common/CoordinateModelProperties.d.ts +43 -43
  22. package/app-config/common/DialogModelProperties.d.ts +6 -6
  23. package/app-config/common/EventListenerModelProperties.d.ts +44 -44
  24. package/app-config/common/ExpandModelProperties.d.ts +6 -6
  25. package/app-config/common/FeatureDetailsModelProperties.d.ts +27 -27
  26. package/app-config/common/GeolocationModelProperties.d.ts +6 -6
  27. package/app-config/common/HighlightModelProperties.d.ts +68 -68
  28. package/app-config/common/ImageModelProperties.d.ts +14 -14
  29. package/app-config/common/ItemRef.d.ts +4 -4
  30. package/app-config/common/LayerListModelProperties.d.ts +6 -6
  31. package/app-config/common/LayerPresetsModelProperties.d.ts +14 -14
  32. package/app-config/common/LayoutProperties.d.ts +33 -33
  33. package/app-config/common/LegendModelProperties.d.ts +6 -6
  34. package/app-config/common/LicensingModelProperties.d.ts +10 -10
  35. package/app-config/common/MapCoordinatesModelProperties.d.ts +6 -6
  36. package/app-config/common/MapModelProperties.d.ts +7 -7
  37. package/app-config/common/MenuModelProperties.d.ts +13 -13
  38. package/app-config/common/ModelProperties.d.ts +6 -6
  39. package/app-config/common/PanelModelProperties.d.ts +6 -6
  40. package/app-config/common/RegionModelProperties.d.ts +25 -25
  41. package/app-config/common/ResultsModelProperties.d.ts +13 -13
  42. package/app-config/common/ScalebarModelProperties.d.ts +6 -6
  43. package/app-config/common/SearchModelProperties.d.ts +26 -26
  44. package/app-config/common/ServiceModelProperties.d.ts +6 -6
  45. package/app-config/common/SplitModelProperties.d.ts +6 -6
  46. package/app-config/common/StackModelProperties.d.ts +6 -6
  47. package/app-config/common/TextModelProperties.d.ts +10 -10
  48. package/app-config/common/TranslatableText.d.ts +35 -35
  49. package/app-config/common/UserModelProperties.d.ts +6 -6
  50. package/app-config/common/WorkflowEventsProperties.d.ts +11 -11
  51. package/app-config/common/WorkflowModelProperties.d.ts +44 -44
  52. package/app-config/common/ZoomModelProperties.d.ts +6 -6
  53. package/app-config/common/colors.d.ts +6 -6
  54. package/app-config/index.d.ts +2 -2
  55. package/app-config/mobile/AddFeatureModelProperties.d.ts +6 -6
  56. package/app-config/mobile/AddRelatedFeatureModelProperties.d.ts +6 -6
  57. package/app-config/mobile/BasemapModelProperties.d.ts +11 -11
  58. package/app-config/mobile/CoordinateModelProperties.d.ts +10 -10
  59. package/app-config/mobile/FeatureDetailsModelProperties.d.ts +26 -26
  60. package/app-config/mobile/GeometryToolbarModelProperties.d.ts +6 -6
  61. package/app-config/mobile/GnssDeviceSelectionModelProperties.d.ts +6 -6
  62. package/app-config/mobile/GnssDeviceSettingsModelProperties.d.ts +6 -6
  63. package/app-config/mobile/GnssMetadataModelProperties.d.ts +6 -6
  64. package/app-config/mobile/MapModelProperties.d.ts +52 -52
  65. package/app-config/mobile/OfflineModelProperties.d.ts +48 -48
  66. package/app-config/mobile/PortalExtensionSettingsProperties.d.ts +27 -27
  67. package/app-config/mobile/ScrollModelProperties.d.ts +6 -6
  68. package/app-config/mobile/SearchModelProperties.d.ts +14 -14
  69. package/app-config/mobile/SelectLayerSettingsModelProperties.d.ts +11 -11
  70. package/app-config/mobile/TaskbarModelProperties.d.ts +6 -6
  71. package/app-config/mobile/UpdateFeatureModelProperties.d.ts +6 -6
  72. package/app-config/mobile/VertigisMobileModelProperties.d.ts +67 -67
  73. package/app-config/schema/common-app-config.schema.json +1 -1
  74. package/app-config/schema/web-app-config.schema.json +1 -1
  75. package/app-config/web/AddressModelProperties.d.ts +6 -6
  76. package/app-config/web/BasemapModelProperties.d.ts +10 -10
  77. package/app-config/web/BasemapPickerModelProperties.d.ts +7 -7
  78. package/app-config/web/BookmarksModelProperties.d.ts +7 -7
  79. package/app-config/web/BrandingModelProperties.d.ts +14 -14
  80. package/app-config/web/ChartModelProperties.d.ts +58 -58
  81. package/app-config/web/CompassModelProperties.d.ts +7 -7
  82. package/app-config/web/ComponentModelProperties.d.ts +12 -12
  83. package/app-config/web/CoordinateModelProperties.d.ts +50 -50
  84. package/app-config/web/DataLinkSourceProperties.d.ts +15 -15
  85. package/app-config/web/DialogModelProperties.d.ts +7 -7
  86. package/app-config/web/DrawModelProperties.d.ts +94 -94
  87. package/app-config/web/FeatureDetailsModelProperties.d.ts +19 -19
  88. package/app-config/web/FeatureInfoModelProperties.d.ts +38 -38
  89. package/app-config/web/FeatureListProperties.d.ts +12 -12
  90. package/app-config/web/FeatureSetProperties.d.ts +16 -16
  91. package/app-config/web/FeatureSummaryModelProperties.d.ts +27 -27
  92. package/app-config/web/GeolocationModelProperties.d.ts +7 -7
  93. package/app-config/web/GeometryModelProperties.d.ts +27 -27
  94. package/app-config/web/HasVisibilityFilters.d.ts +36 -36
  95. package/app-config/web/ImageModelProperties.d.ts +7 -7
  96. package/app-config/web/KpiCardModelProperties.d.ts +146 -146
  97. package/app-config/web/LayerListModelProperties.d.ts +18 -18
  98. package/app-config/web/LayerPresetsModelProperties.d.ts +7 -7
  99. package/app-config/web/LegendModelProperties.d.ts +7 -7
  100. package/app-config/web/Map3dToggleModelProperties.d.ts +6 -6
  101. package/app-config/web/MapCoordinatesModelProperties.d.ts +50 -50
  102. package/app-config/web/MapModelProperties.d.ts +87 -87
  103. package/app-config/web/MeasurementModelProperties.d.ts +36 -36
  104. package/app-config/web/MenuItemModelProperties.d.ts +7 -7
  105. package/app-config/web/MenuModelProperties.d.ts +13 -13
  106. package/app-config/web/ModelProperties.d.ts +7 -7
  107. package/app-config/web/PanelModelProperties.d.ts +7 -7
  108. package/app-config/web/PortalModelProperties.d.ts +11 -11
  109. package/app-config/web/PrintFormModelProperties.d.ts +42 -42
  110. package/app-config/web/PrintModelProperties.d.ts +11 -11
  111. package/app-config/web/ProjectModelProperties.d.ts +12 -12
  112. package/app-config/web/QueryBuilderModelProperties.d.ts +22 -22
  113. package/app-config/web/ReportModelProperties.d.ts +15 -15
  114. package/app-config/web/ResultsModelProperties.d.ts +101 -101
  115. package/app-config/web/ResultsServiceModelProperties.d.ts +48 -48
  116. package/app-config/web/ScaleInputModelProperties.d.ts +6 -6
  117. package/app-config/web/ScalebarModelProperties.d.ts +22 -22
  118. package/app-config/web/SearchModelProperties.d.ts +22 -22
  119. package/app-config/web/SearchServiceProperties.d.ts +25 -25
  120. package/app-config/web/SharedProjectsModelProperties.d.ts +53 -53
  121. package/app-config/web/SharedStorageModelProperties.d.ts +30 -30
  122. package/app-config/web/SnappingProperties.d.ts +101 -101
  123. package/app-config/web/SplitModelProperties.d.ts +7 -7
  124. package/app-config/web/StackModelProperties.d.ts +7 -7
  125. package/app-config/web/TabsModelProperties.d.ts +6 -6
  126. package/app-config/web/TextModelProperties.d.ts +7 -7
  127. package/app-config/web/UserModelProperties.d.ts +12 -12
  128. package/app-config/web/UserPreferencesModelProperties.d.ts +10 -10
  129. package/app-config/web/VertigisWebModelProperties.d.ts +74 -74
  130. package/app-config/web/WorkflowModelProperties.d.ts +13 -13
  131. package/app-config/web/ZoomModelProperties.d.ts +7 -7
  132. package/layout/schema/layout-common.xsd +20 -7
  133. package/messaging/Command.d.ts +76 -76
  134. package/messaging/CommandRegistry.d.ts +25 -25
  135. package/messaging/CommandRegistry.js +1 -1
  136. package/messaging/DotNetTypes.d.ts +4 -4
  137. package/messaging/Event.d.ts +26 -26
  138. package/messaging/EventRegistry.d.ts +25 -25
  139. package/messaging/EventRegistry.js +1 -1
  140. package/messaging/Message.d.ts +50 -50
  141. package/messaging/MessageBus.d.ts +54 -54
  142. package/messaging/Operation.d.ts +77 -77
  143. package/messaging/OperationRegistry.d.ts +26 -26
  144. package/messaging/OperationRegistry.js +1 -1
  145. package/messaging/common.d.ts +354 -354
  146. package/messaging/mobile.d.ts +6 -6
  147. package/messaging/registry/Commands.d.ts +78 -78
  148. package/messaging/registry/Commands.js +1 -1
  149. package/messaging/registry/Events.d.ts +62 -62
  150. package/messaging/registry/Events.js +1 -1
  151. package/messaging/registry/Operations.d.ts +69 -69
  152. package/messaging/registry/Operations.js +1 -1
  153. package/messaging/registry/app-config.d.ts +12 -12
  154. package/messaging/registry/app-config.js +1 -1
  155. package/messaging/registry/app.d.ts +264 -264
  156. package/messaging/registry/app.js +1 -1
  157. package/messaging/registry/arcade.d.ts +115 -115
  158. package/messaging/registry/arcade.js +1 -1
  159. package/messaging/registry/auth.d.ts +151 -151
  160. package/messaging/registry/auth.js +1 -1
  161. package/messaging/registry/basemap.d.ts +74 -74
  162. package/messaging/registry/basemap.js +1 -1
  163. package/messaging/registry/bookmark.d.ts +42 -42
  164. package/messaging/registry/bookmark.js +1 -1
  165. package/messaging/registry/charts.d.ts +81 -81
  166. package/messaging/registry/charts.js +1 -1
  167. package/messaging/registry/debugConsole.d.ts +26 -26
  168. package/messaging/registry/debugConsole.js +1 -1
  169. package/messaging/registry/device.d.ts +28 -28
  170. package/messaging/registry/device.js +1 -1
  171. package/messaging/registry/display.d.ts +17 -17
  172. package/messaging/registry/display.js +1 -1
  173. package/messaging/registry/drawing.d.ts +149 -149
  174. package/messaging/registry/drawing.js +1 -1
  175. package/messaging/registry/edit.d.ts +371 -371
  176. package/messaging/registry/edit.js +1 -1
  177. package/messaging/registry/file.d.ts +156 -156
  178. package/messaging/registry/file.js +1 -1
  179. package/messaging/registry/filter-builder.d.ts +73 -73
  180. package/messaging/registry/filter-builder.js +1 -1
  181. package/messaging/registry/geocode.d.ts +87 -87
  182. package/messaging/registry/geocode.js +1 -1
  183. package/messaging/registry/geolocation.d.ts +499 -499
  184. package/messaging/registry/geolocation.js +1 -1
  185. package/messaging/registry/geometry-toolbar.d.ts +29 -29
  186. package/messaging/registry/geometry-toolbar.js +1 -1
  187. package/messaging/registry/geometry.d.ts +278 -278
  188. package/messaging/registry/geometry.js +1 -1
  189. package/messaging/registry/highlights.d.ts +86 -86
  190. package/messaging/registry/highlights.js +1 -1
  191. package/messaging/registry/input.d.ts +22 -22
  192. package/messaging/registry/input.js +1 -1
  193. package/messaging/registry/iwtm.d.ts +11 -11
  194. package/messaging/registry/iwtm.js +1 -1
  195. package/messaging/registry/kpi.d.ts +98 -98
  196. package/messaging/registry/kpi.js +1 -1
  197. package/messaging/registry/layer-comparison.d.ts +104 -104
  198. package/messaging/registry/layer-comparison.js +1 -1
  199. package/messaging/registry/layer-presets.d.ts +49 -49
  200. package/messaging/registry/layer-presets.js +1 -1
  201. package/messaging/registry/layers.d.ts +196 -196
  202. package/messaging/registry/layers.js +1 -1
  203. package/messaging/registry/layout.d.ts +49 -49
  204. package/messaging/registry/layout.js +1 -1
  205. package/messaging/registry/licensing.d.ts +38 -38
  206. package/messaging/registry/licensing.js +1 -1
  207. package/messaging/registry/location-marker.d.ts +171 -171
  208. package/messaging/registry/location-marker.js +1 -1
  209. package/messaging/registry/logViewer.d.ts +17 -17
  210. package/messaging/registry/logViewer.js +1 -1
  211. package/messaging/registry/map.d.ts +1275 -1275
  212. package/messaging/registry/map.js +1 -1
  213. package/messaging/registry/measurement.d.ts +168 -168
  214. package/messaging/registry/measurement.js +1 -1
  215. package/messaging/registry/messaging.d.ts +23 -23
  216. package/messaging/registry/messaging.js +1 -1
  217. package/messaging/registry/network.d.ts +46 -46
  218. package/messaging/registry/network.js +1 -1
  219. package/messaging/registry/offline.d.ts +508 -507
  220. package/messaging/registry/offline.js +1 -1
  221. package/messaging/registry/panel.d.ts +115 -115
  222. package/messaging/registry/panel.js +1 -1
  223. package/messaging/registry/photos.d.ts +47 -47
  224. package/messaging/registry/photos.js +1 -1
  225. package/messaging/registry/portal.d.ts +94 -94
  226. package/messaging/registry/portal.js +1 -1
  227. package/messaging/registry/printing.d.ts +166 -166
  228. package/messaging/registry/printing.js +1 -1
  229. package/messaging/registry/project.d.ts +144 -144
  230. package/messaging/registry/project.js +1 -1
  231. package/messaging/registry/query-builder.d.ts +83 -83
  232. package/messaging/registry/query-builder.js +1 -1
  233. package/messaging/registry/region.d.ts +23 -23
  234. package/messaging/registry/region.js +1 -1
  235. package/messaging/registry/reports.d.ts +135 -135
  236. package/messaging/registry/reports.js +1 -1
  237. package/messaging/registry/results.d.ts +671 -671
  238. package/messaging/registry/results.js +1 -1
  239. package/messaging/registry/search.d.ts +74 -74
  240. package/messaging/registry/search.js +1 -1
  241. package/messaging/registry/settings.d.ts +38 -38
  242. package/messaging/registry/settings.js +1 -1
  243. package/messaging/registry/shortcut.d.ts +41 -41
  244. package/messaging/registry/shortcut.js +1 -1
  245. package/messaging/registry/sketching.d.ts +960 -960
  246. package/messaging/registry/sketching.js +1 -1
  247. package/messaging/registry/studioAnalytics.d.ts +25 -25
  248. package/messaging/registry/studioAnalytics.js +1 -1
  249. package/messaging/registry/system.d.ts +277 -277
  250. package/messaging/registry/system.js +1 -1
  251. package/messaging/registry/tasks.d.ts +323 -323
  252. package/messaging/registry/tasks.js +1 -1
  253. package/messaging/registry/ui.d.ts +518 -518
  254. package/messaging/registry/ui.js +1 -1
  255. package/messaging/registry/viewer.d.ts +145 -145
  256. package/messaging/registry/viewer.js +1 -1
  257. package/messaging/registry/workflow.d.ts +170 -170
  258. package/messaging/registry/workflow.js +1 -1
  259. package/messaging/schema/common-action.schema.json +6437 -12158
  260. package/messaging/schema/common-event.schema.json +107 -803
  261. package/messaging/schema/mobile-action.schema.json +7719 -16138
  262. package/messaging/schema/mobile-event.schema.json +181 -2422
  263. package/messaging/schema/web-action.schema.json +8397 -23281
  264. package/messaging/schema/web-event.schema.json +183 -1937
  265. package/package.json +20 -20
  266. package/version.d.ts +4 -4
  267. package/version.js +4 -4
@@ -1,196 +1,196 @@
1
- import type { TaskSettingsProperties } from "@vertigis/arcgis-extensions/data/TaskSettings.js";
2
- import type { LabelingInfoJson } from "@vertigis/arcgis-extensions/json/DrawingInfoJson.js";
3
- import type { PopupInfoJson } from "@vertigis/arcgis-extensions/json/PopupInfoJson.js";
4
- import type { Command } from "../Command.js";
5
- import { CommandRegistry } from "../CommandRegistry.js";
6
- import type { Event } from "../Event.js";
7
- import { EventRegistry } from "../EventRegistry.js";
8
- import type { Operation } from "../Operation.js";
9
- import { OperationRegistry } from "../OperationRegistry.js";
10
- import type { HasLayers, HasMaps, HasSymbol, HasSymbols } from "../common.js";
11
- /**
12
- * Arguments for the "layer.visibility-changed" event.
13
- */
14
- export interface LayerEventArgs {
15
- /**
16
- * The layer whose visibility was changed.
17
- */
18
- layerContent: ILayerContent;
19
- }
20
- /**
21
- * An instance of @Esri.ArcGISRuntime.Mapping.ILayerContent.
22
- */
23
- export interface ILayerContent {
24
- }
25
- /**
26
- * Arguments for the "layers.show-labels" and "layers.hide-labels" commands. If
27
- * no 'maps' are specified, all active maps in the layout will be targeted. If
28
- * no 'layers' are specified, all viable layers and sublayers within the 'maps'
29
- * will be affected. If the 'layers' property includes (Sub)Layer references or
30
- * ESRI (Sub)Layers, they must exist within one of the 'maps'.
31
- */
32
- export interface SetLabelVisibilityArgs extends HasLayers, HasMaps {
33
- }
34
- /**
35
- * Arguments for the layer.set-symbol command.
36
- */
37
- export type SetSymbolArgs = HasSymbol & HasSymbols & HasLayers & HasMaps;
38
- /**
39
- * Arguments for the layer.set-visibility command. If no 'maps' are specified,
40
- * all active maps in the layout will be targeted. If no 'layers' are specified,
41
- * all viable layers and sublayers within the 'maps' will be affected. If the
42
- * 'layers' property includes (Sub)Layer references or ESRI (Sub)Layers, they
43
- * must exist within one of the 'maps'.
44
- */
45
- export interface SetVisibilityArgs extends HasLayers, HasMaps {
46
- /**
47
- * The visibility of the provided layers.
48
- */
49
- visible: boolean;
50
- }
51
- /**
52
- * Common settings for a layer.
53
- */
54
- export interface HasLayerSettings {
55
- /**
56
- * Settings relevant to layer tasks.
57
- */
58
- taskSettings?: TaskSettingsProperties | TaskSettingsProperties[];
59
- /**
60
- * Configuration for a popup template to be used by features in the layer.
61
- */
62
- popupTemplate?: PopupInfoJson | PopupInfoJson[];
63
- /**
64
- * The title of the layer.
65
- */
66
- title?: string | string[];
67
- /**
68
- * The labeling class of the layer.
69
- */
70
- labelingInfo?: LabelingInfoJson[] | LabelingInfoJson[][];
71
- }
72
- /**
73
- * Arguments for a `layers.edit-settings` operation.
74
- */
75
- export interface LayerSettingsArgs extends HasLayerSettings, HasLayers, HasSymbols, HasMaps {
76
- }
77
- export declare class LayersCommands extends CommandRegistry {
78
- protected readonly _prefix = "layers";
79
- /**
80
- * Guard command for enabling the layers.set-symbol command. Web only.
81
- *
82
- * @webOnly
83
- */
84
- get ensureCanSetSymbol(): Command<SetSymbolArgs>;
85
- /**
86
- * Updates the label classes of the provided layer(s). Web only.
87
- *
88
- * @webOnly
89
- */
90
- get setLabelClasses(): Command<LayerSettingsArgs>;
91
- /**
92
- * Updates the provided layer(s) with new popup template configuration. Web
93
- * only.
94
- *
95
- * @webOnly
96
- */
97
- get setPopupTemplate(): Command<LayerSettingsArgs>;
98
- /**
99
- * Updates the symbol for the provided layer(s). Web only.
100
- *
101
- * @webOnly
102
- */
103
- get setSymbol(): Command<SetSymbolArgs>;
104
- /**
105
- * Updates the provided layer(s) with new task settings. Web only.
106
- *
107
- * @webOnly
108
- */
109
- get setTaskSettings(): Command<LayerSettingsArgs>;
110
- /**
111
- * Changes the title of the provided layer(s). Web only.
112
- *
113
- * @webOnly
114
- */
115
- get setTitle(): Command<LayerSettingsArgs>;
116
- /**
117
- * Updates the visibility of the provided layer(s). Web only.
118
- *
119
- * @webOnly
120
- */
121
- get setVisibility(): Command<SetVisibilityArgs>;
122
- /**
123
- * Turns on the layer's labels on the map. Web only.
124
- *
125
- * @webOnly
126
- */
127
- get showLabels(): Command<SetLabelVisibilityArgs>;
128
- /**
129
- * Turns off the layer's labels on the map. Web only.
130
- *
131
- * @webOnly
132
- */
133
- get hideLabels(): Command<SetLabelVisibilityArgs>;
134
- }
135
- export declare class LayersOperations extends OperationRegistry {
136
- protected readonly _prefix = "layers";
137
- /**
138
- * Retrieves the popup configuration applied to the supplied layer(s). Web
139
- * only.
140
- *
141
- * @webOnly
142
- */
143
- get getPopupTemplate(): Operation<HasLayers, LayerSettingsArgs>;
144
- /**
145
- * Retrieves the label classes for supplied layer(s). Web only.
146
- *
147
- * @webOnly
148
- */
149
- get getLabelClasses(): Operation<HasLayers, LayerSettingsArgs>;
150
- /**
151
- * Retrieves the values for the 'taskSettings' applied to the supplied
152
- * layer(s). Web only.
153
- *
154
- * @webOnly
155
- */
156
- get getTaskSettings(): Operation<HasLayers, LayerSettingsArgs>;
157
- /**
158
- * Retrieves the titles of the supplied layer(s). Web only.
159
- *
160
- * @webOnly
161
- */
162
- get getTitle(): Operation<HasLayers, LayerSettingsArgs>;
163
- /**
164
- * Shows a UI for editing the settings on an existing layer or layers. Note
165
- * that changes will not be applied to the supplied layers by this
166
- * operation. Use `layers.set-*` for this. Web only.
167
- *
168
- * @webOnly
169
- */
170
- get editSettings(): Operation<LayerSettingsArgs, LayerSettingsArgs>;
171
- /**
172
- * Shows a UI for editing the label classes on an existing layer or layers.
173
- * Note that changes will not be applied to the supplied layers by this
174
- * operation. Use `layers.set-label-classes` for this. Web only.
175
- *
176
- * @webOnly
177
- */
178
- get editLabelSettings(): Operation<LayerSettingsArgs, LayerSettingsArgs>;
179
- /**
180
- * Edit the symbol from an existing layer or layers. Note that changes to
181
- * these symbols will not be applied to the layers by this operation. Use
182
- * `layers.set-symbol` for this. Web only.
183
- *
184
- * @webOnly
185
- */
186
- get editSymbols(): Operation<SetSymbolArgs, HasLayers & HasMaps & HasSymbols>;
187
- }
188
- export declare class LayersEvents extends EventRegistry {
189
- protected readonly _prefix = "layers";
190
- /**
191
- * Raised when a layer's visibility changes. Mobile only.
192
- *
193
- * @mobileOnly
194
- */
195
- get visibilityChanged(): Event<LayerEventArgs>;
196
- }
1
+ import type { TaskSettingsProperties } from "@vertigis/arcgis-extensions/data/TaskSettings.js";
2
+ import type { LabelingInfoJson } from "@vertigis/arcgis-extensions/json/DrawingInfoJson.js";
3
+ import type { PopupInfoJson } from "@vertigis/arcgis-extensions/json/PopupInfoJson.js";
4
+ import type { Command } from "../Command.js";
5
+ import { CommandRegistry } from "../CommandRegistry.js";
6
+ import type { Event } from "../Event.js";
7
+ import { EventRegistry } from "../EventRegistry.js";
8
+ import type { Operation } from "../Operation.js";
9
+ import { OperationRegistry } from "../OperationRegistry.js";
10
+ import type { HasLayers, HasMaps, HasSymbol, HasSymbols } from "../common.js";
11
+ /**
12
+ * Arguments for the "layer.visibility-changed" event.
13
+ */
14
+ export interface LayerEventArgs {
15
+ /**
16
+ * The layer whose visibility was changed.
17
+ */
18
+ layerContent: ILayerContent;
19
+ }
20
+ /**
21
+ * An instance of @Esri.ArcGISRuntime.Mapping.ILayerContent.
22
+ */
23
+ export interface ILayerContent {
24
+ }
25
+ /**
26
+ * Arguments for the "layers.show-labels" and "layers.hide-labels" commands. If
27
+ * no 'maps' are specified, all active maps in the layout will be targeted. If
28
+ * no 'layers' are specified, all viable layers and sublayers within the 'maps'
29
+ * will be affected. If the 'layers' property includes (Sub)Layer references or
30
+ * ESRI (Sub)Layers, they must exist within one of the 'maps'.
31
+ */
32
+ export interface SetLabelVisibilityArgs extends HasLayers, HasMaps {
33
+ }
34
+ /**
35
+ * Arguments for the layer.set-symbol command.
36
+ */
37
+ export type SetSymbolArgs = HasSymbol & HasSymbols & HasLayers & HasMaps;
38
+ /**
39
+ * Arguments for the layer.set-visibility command. If no 'maps' are specified,
40
+ * all active maps in the layout will be targeted. If no 'layers' are specified,
41
+ * all viable layers and sublayers within the 'maps' will be affected. If the
42
+ * 'layers' property includes (Sub)Layer references or ESRI (Sub)Layers, they
43
+ * must exist within one of the 'maps'.
44
+ */
45
+ export interface SetVisibilityArgs extends HasLayers, HasMaps {
46
+ /**
47
+ * The visibility of the provided layers.
48
+ */
49
+ visible: boolean;
50
+ }
51
+ /**
52
+ * Common settings for a layer.
53
+ */
54
+ export interface HasLayerSettings {
55
+ /**
56
+ * Settings relevant to layer tasks.
57
+ */
58
+ taskSettings?: TaskSettingsProperties | TaskSettingsProperties[];
59
+ /**
60
+ * Configuration for a popup template to be used by features in the layer.
61
+ */
62
+ popupTemplate?: PopupInfoJson | PopupInfoJson[];
63
+ /**
64
+ * The title of the layer.
65
+ */
66
+ title?: string | string[];
67
+ /**
68
+ * The labeling class of the layer.
69
+ */
70
+ labelingInfo?: LabelingInfoJson[] | LabelingInfoJson[][];
71
+ }
72
+ /**
73
+ * Arguments for a `layers.edit-settings` operation.
74
+ */
75
+ export interface LayerSettingsArgs extends HasLayerSettings, HasLayers, HasSymbols, HasMaps {
76
+ }
77
+ export declare class LayersCommands extends CommandRegistry {
78
+ protected readonly _prefix = "layers";
79
+ /**
80
+ * Guard command for enabling the layers.set-symbol command. Web only.
81
+ *
82
+ * @webOnly
83
+ */
84
+ get ensureCanSetSymbol(): Command<SetSymbolArgs>;
85
+ /**
86
+ * Updates the label classes of the provided layer(s). Web only.
87
+ *
88
+ * @webOnly
89
+ */
90
+ get setLabelClasses(): Command<LayerSettingsArgs>;
91
+ /**
92
+ * Updates the provided layer(s) with new popup template configuration. Web
93
+ * only.
94
+ *
95
+ * @webOnly
96
+ */
97
+ get setPopupTemplate(): Command<LayerSettingsArgs>;
98
+ /**
99
+ * Updates the symbol for the provided layer(s). Web only.
100
+ *
101
+ * @webOnly
102
+ */
103
+ get setSymbol(): Command<SetSymbolArgs>;
104
+ /**
105
+ * Updates the provided layer(s) with new task settings. Web only.
106
+ *
107
+ * @webOnly
108
+ */
109
+ get setTaskSettings(): Command<LayerSettingsArgs>;
110
+ /**
111
+ * Changes the title of the provided layer(s). Web only.
112
+ *
113
+ * @webOnly
114
+ */
115
+ get setTitle(): Command<LayerSettingsArgs>;
116
+ /**
117
+ * Updates the visibility of the provided layer(s). Web only.
118
+ *
119
+ * @webOnly
120
+ */
121
+ get setVisibility(): Command<SetVisibilityArgs>;
122
+ /**
123
+ * Turns on the layer's labels on the map. Web only.
124
+ *
125
+ * @webOnly
126
+ */
127
+ get showLabels(): Command<SetLabelVisibilityArgs>;
128
+ /**
129
+ * Turns off the layer's labels on the map. Web only.
130
+ *
131
+ * @webOnly
132
+ */
133
+ get hideLabels(): Command<SetLabelVisibilityArgs>;
134
+ }
135
+ export declare class LayersOperations extends OperationRegistry {
136
+ protected readonly _prefix = "layers";
137
+ /**
138
+ * Retrieves the popup configuration applied to the supplied layer(s). Web
139
+ * only.
140
+ *
141
+ * @webOnly
142
+ */
143
+ get getPopupTemplate(): Operation<HasLayers, LayerSettingsArgs>;
144
+ /**
145
+ * Retrieves the label classes for supplied layer(s). Web only.
146
+ *
147
+ * @webOnly
148
+ */
149
+ get getLabelClasses(): Operation<HasLayers, LayerSettingsArgs>;
150
+ /**
151
+ * Retrieves the values for the 'taskSettings' applied to the supplied
152
+ * layer(s). Web only.
153
+ *
154
+ * @webOnly
155
+ */
156
+ get getTaskSettings(): Operation<HasLayers, LayerSettingsArgs>;
157
+ /**
158
+ * Retrieves the titles of the supplied layer(s). Web only.
159
+ *
160
+ * @webOnly
161
+ */
162
+ get getTitle(): Operation<HasLayers, LayerSettingsArgs>;
163
+ /**
164
+ * Shows a UI for editing the settings on an existing layer or layers. Note
165
+ * that changes will not be applied to the supplied layers by this
166
+ * operation. Use `layers.set-*` for this. Web only.
167
+ *
168
+ * @webOnly
169
+ */
170
+ get editSettings(): Operation<LayerSettingsArgs, LayerSettingsArgs>;
171
+ /**
172
+ * Shows a UI for editing the label classes on an existing layer or layers.
173
+ * Note that changes will not be applied to the supplied layers by this
174
+ * operation. Use `layers.set-label-classes` for this. Web only.
175
+ *
176
+ * @webOnly
177
+ */
178
+ get editLabelSettings(): Operation<LayerSettingsArgs, LayerSettingsArgs>;
179
+ /**
180
+ * Edit the symbol from an existing layer or layers. Note that changes to
181
+ * these symbols will not be applied to the layers by this operation. Use
182
+ * `layers.set-symbol` for this. Web only.
183
+ *
184
+ * @webOnly
185
+ */
186
+ get editSymbols(): Operation<SetSymbolArgs, HasLayers & HasMaps & HasSymbols>;
187
+ }
188
+ export declare class LayersEvents extends EventRegistry {
189
+ protected readonly _prefix = "layers";
190
+ /**
191
+ * Raised when a layer's visibility changes. Mobile only.
192
+ *
193
+ * @mobileOnly
194
+ */
195
+ get visibilityChanged(): Event<LayerEventArgs>;
196
+ }
@@ -1 +1 @@
1
- import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class LayersCommands extends t{constructor(){super(...arguments),this._prefix="layers"}get ensureCanSetSymbol(){return this._get("ensure-can-set-symbol")}get setLabelClasses(){return this._get("set-label-classes")}get setPopupTemplate(){return this._get("set-popup-template")}get setSymbol(){return this._get("set-symbol")}get setTaskSettings(){return this._get("set-task-settings")}get setTitle(){return this._get("set-title")}get setVisibility(){return this._get("set-visibility")}get showLabels(){return this._get("show-labels")}get hideLabels(){return this._get("hide-labels")}}export class LayersOperations extends s{constructor(){super(...arguments),this._prefix="layers"}get getPopupTemplate(){return this._get("get-popup-template")}get getLabelClasses(){return this._get("get-label-classes")}get getTaskSettings(){return this._get("get-task-settings")}get getTitle(){return this._get("get-title")}get editSettings(){return this._get("edit-settings")}get editLabelSettings(){return this._get("edit-symbol-settings")}get editSymbols(){return this._get("edit-symbols")}}export class LayersEvents extends e{constructor(){super(...arguments),this._prefix="layers"}get visibilityChanged(){return this._get("visibility-changed")}}
1
+ import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class LayersCommands extends t{_prefix="layers";get ensureCanSetSymbol(){return this._get("ensure-can-set-symbol")}get setLabelClasses(){return this._get("set-label-classes")}get setPopupTemplate(){return this._get("set-popup-template")}get setSymbol(){return this._get("set-symbol")}get setTaskSettings(){return this._get("set-task-settings")}get setTitle(){return this._get("set-title")}get setVisibility(){return this._get("set-visibility")}get showLabels(){return this._get("show-labels")}get hideLabels(){return this._get("hide-labels")}}export class LayersOperations extends s{_prefix="layers";get getPopupTemplate(){return this._get("get-popup-template")}get getLabelClasses(){return this._get("get-label-classes")}get getTaskSettings(){return this._get("get-task-settings")}get getTitle(){return this._get("get-title")}get editSettings(){return this._get("edit-settings")}get editLabelSettings(){return this._get("edit-symbol-settings")}get editSymbols(){return this._get("edit-symbols")}}export class LayersEvents extends e{_prefix="layers";get visibilityChanged(){return this._get("visibility-changed")}}
@@ -1,49 +1,49 @@
1
- import type { Event } from "../Event.js";
2
- import { EventRegistry } from "../EventRegistry.js";
3
- /**
4
- * Arguments for the "layout.loaded" event.
5
- */
6
- export interface Page {
7
- }
8
- /**
9
- * The margin thickness.
10
- */
11
- export interface Thickness {
12
- }
13
- /**
14
- * Arguments for the "layout.margin-changed" event.
15
- */
16
- export interface LayoutMarginChangedArgs {
17
- /**
18
- * The new margin thickness.
19
- */
20
- margin: Thickness;
21
- }
22
- export declare class LayoutEvents extends EventRegistry {
23
- protected readonly _prefix = "layout";
24
- /**
25
- * Raised when a layout is finished being displayed. Mobile only.
26
- *
27
- * @mobileOnly
28
- */
29
- get displayed(): Event;
30
- /**
31
- * Raised when a layout is loaded. Mobile only.
32
- *
33
- * @mobileOnly
34
- */
35
- get loaded(): Event<Page>;
36
- /**
37
- * Raised when a layout is unloaded (typically so that a new layout can be
38
- * loaded). Mobile only.
39
- *
40
- * @mobileOnly
41
- */
42
- get unloaded(): Event;
43
- /**
44
- * Raised when a layout's margin values have been updated. Mobile only.
45
- *
46
- * @mobileOnly
47
- */
48
- get marginChanged(): Event<LayoutMarginChangedArgs>;
49
- }
1
+ import type { Event } from "../Event.js";
2
+ import { EventRegistry } from "../EventRegistry.js";
3
+ /**
4
+ * Arguments for the "layout.loaded" event.
5
+ */
6
+ export interface Page {
7
+ }
8
+ /**
9
+ * The margin thickness.
10
+ */
11
+ export interface Thickness {
12
+ }
13
+ /**
14
+ * Arguments for the "layout.margin-changed" event.
15
+ */
16
+ export interface LayoutMarginChangedArgs {
17
+ /**
18
+ * The new margin thickness.
19
+ */
20
+ margin: Thickness;
21
+ }
22
+ export declare class LayoutEvents extends EventRegistry {
23
+ protected readonly _prefix = "layout";
24
+ /**
25
+ * Raised when a layout is finished being displayed. Mobile only.
26
+ *
27
+ * @mobileOnly
28
+ */
29
+ get displayed(): Event;
30
+ /**
31
+ * Raised when a layout is loaded. Mobile only.
32
+ *
33
+ * @mobileOnly
34
+ */
35
+ get loaded(): Event<Page>;
36
+ /**
37
+ * Raised when a layout is unloaded (typically so that a new layout can be
38
+ * loaded). Mobile only.
39
+ *
40
+ * @mobileOnly
41
+ */
42
+ get unloaded(): Event;
43
+ /**
44
+ * Raised when a layout's margin values have been updated. Mobile only.
45
+ *
46
+ * @mobileOnly
47
+ */
48
+ get marginChanged(): Event<LayoutMarginChangedArgs>;
49
+ }
@@ -1 +1 @@
1
- import{EventRegistry as e}from"../EventRegistry.js";export class LayoutEvents extends e{constructor(){super(...arguments),this._prefix="layout"}get displayed(){return this._get("displayed")}get loaded(){return this._get("loaded")}get unloaded(){return this._get("unloaded")}get marginChanged(){return this._get("margin-changed")}}
1
+ import{EventRegistry as e}from"../EventRegistry.js";export class LayoutEvents extends e{_prefix="layout";get displayed(){return this._get("displayed")}get loaded(){return this._get("loaded")}get unloaded(){return this._get("unloaded")}get marginChanged(){return this._get("margin-changed")}}
@@ -1,38 +1,38 @@
1
- import type { Command } from "../Command.js";
2
- import { CommandRegistry } from "../CommandRegistry.js";
3
- import type { Operation } from "../Operation.js";
4
- import { OperationRegistry } from "../OperationRegistry.js";
5
- export declare class LicenseRequestArgs {
6
- /**
7
- * The human readable application name, used for any licensing related ui.
8
- */
9
- applicationName?: string;
10
- /**
11
- * The accountId (orgId) that we want to check licensing.
12
- */
13
- accountId?: string;
14
- /**
15
- * Overwrite the SKU for license check.
16
- */
17
- sku?: string;
18
- }
19
- export declare class LicensingCommands extends CommandRegistry {
20
- protected readonly _prefix = "licensing";
21
- /**
22
- * Validate the current application license and show appropriate prompts or
23
- * errors. Web only.
24
- *
25
- * @webOnly
26
- */
27
- get validateLicense(): Command<LicenseRequestArgs>;
28
- }
29
- export declare class LicensingOperations extends OperationRegistry {
30
- protected readonly _prefix = "licensing";
31
- /**
32
- * Retrieve the license state for the specified account and SKU. Defaults to
33
- * returning Web current state. Web only.
34
- *
35
- * @webOnly
36
- */
37
- get getLicenseState(): Operation<LicenseRequestArgs, string>;
38
- }
1
+ import type { Command } from "../Command.js";
2
+ import { CommandRegistry } from "../CommandRegistry.js";
3
+ import type { Operation } from "../Operation.js";
4
+ import { OperationRegistry } from "../OperationRegistry.js";
5
+ export declare class LicenseRequestArgs {
6
+ /**
7
+ * The human readable application name, used for any licensing related ui.
8
+ */
9
+ applicationName?: string;
10
+ /**
11
+ * The accountId (orgId) that we want to check licensing.
12
+ */
13
+ accountId?: string;
14
+ /**
15
+ * Overwrite the SKU for license check.
16
+ */
17
+ sku?: string;
18
+ }
19
+ export declare class LicensingCommands extends CommandRegistry {
20
+ protected readonly _prefix = "licensing";
21
+ /**
22
+ * Validate the current application license and show appropriate prompts or
23
+ * errors. Web only.
24
+ *
25
+ * @webOnly
26
+ */
27
+ get validateLicense(): Command<LicenseRequestArgs>;
28
+ }
29
+ export declare class LicensingOperations extends OperationRegistry {
30
+ protected readonly _prefix = "licensing";
31
+ /**
32
+ * Retrieve the license state for the specified account and SKU. Defaults to
33
+ * returning Web current state. Web only.
34
+ *
35
+ * @webOnly
36
+ */
37
+ get getLicenseState(): Operation<LicenseRequestArgs, string>;
38
+ }
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class LicenseRequestArgs{}export class LicensingCommands extends e{constructor(){super(...arguments),this._prefix="licensing"}get validateLicense(){return this._get("validate-license")}}export class LicensingOperations extends s{constructor(){super(...arguments),this._prefix="licensing"}get getLicenseState(){return this._get("get-license-state")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export class LicenseRequestArgs{applicationName;accountId;sku}export class LicensingCommands extends e{_prefix="licensing";get validateLicense(){return this._get("validate-license")}}export class LicensingOperations extends t{_prefix="licensing";get getLicenseState(){return this._get("get-license-state")}}