@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,38 +1,38 @@
1
- import type { Action } from "@vertigis/arcgis-extensions/support/Action";
2
- import type { FeatureDetailsModelProperties as CommonFeatureDetailsModelProperties } from "../common/FeatureDetailsModelProperties.js";
3
- import type { ComponentModelProperties } from "./ComponentModelProperties.js";
4
- /**
5
- * Base properties for the feature-details and feature-summary components.
6
- */
7
- export interface FeatureInfoModelProperties extends CommonFeatureDetailsModelProperties, ComponentModelProperties {
8
- /**
9
- * A command or set of commands to execute when a feature is added into the
10
- * collection.
11
- */
12
- onFeatureAdd?: Action;
13
- /**
14
- * A command or set of commands to execute when an interactive feature
15
- * editing session begins.
16
- */
17
- onFeatureEdit?: Action;
18
- /**
19
- * A command or set of commands to execute when a feature is removed from
20
- * the collection.
21
- */
22
- onFeatureRemove?: Action;
23
- /**
24
- * A command or set of commands to execute when a related record is clicked.
25
- * The related Feature is passed in as the argument for the command(s).
26
- */
27
- onRelatedRecordClick?: Action;
28
- /**
29
- * If true, the feature details instance will show a button that runs the
30
- * action that places the feature in edit mode.
31
- */
32
- showEditButton?: boolean;
33
- /**
34
- * If true, the feature details instance will show a button that deletes the
35
- * feature permanently.
36
- */
37
- showDeleteButton?: boolean;
38
- }
1
+ import type { Action } from "@vertigis/arcgis-extensions/support/Action";
2
+ import type { FeatureDetailsModelProperties as CommonFeatureDetailsModelProperties } from "../common/FeatureDetailsModelProperties.js";
3
+ import type { ComponentModelProperties } from "./ComponentModelProperties.js";
4
+ /**
5
+ * Base properties for the feature-details and feature-summary components.
6
+ */
7
+ export interface FeatureInfoModelProperties extends CommonFeatureDetailsModelProperties, ComponentModelProperties {
8
+ /**
9
+ * A command or set of commands to execute when a feature is added into the
10
+ * collection.
11
+ */
12
+ onFeatureAdd?: Action;
13
+ /**
14
+ * A command or set of commands to execute when an interactive feature
15
+ * editing session begins.
16
+ */
17
+ onFeatureEdit?: Action;
18
+ /**
19
+ * A command or set of commands to execute when a feature is removed from
20
+ * the collection.
21
+ */
22
+ onFeatureRemove?: Action;
23
+ /**
24
+ * A command or set of commands to execute when a related record is clicked.
25
+ * The related Feature is passed in as the argument for the command(s).
26
+ */
27
+ onRelatedRecordClick?: Action;
28
+ /**
29
+ * If true, the feature details instance will show a button that runs the
30
+ * action that places the feature in edit mode.
31
+ */
32
+ showEditButton?: boolean;
33
+ /**
34
+ * If true, the feature details instance will show a button that deletes the
35
+ * feature permanently.
36
+ */
37
+ showDeleteButton?: boolean;
38
+ }
@@ -1,12 +1,12 @@
1
- import type { FeatureListProperties as ApiFeatureListProperties } from "@vertigis/arcgis-extensions/data/FeatureList";
2
- import type { ItemRef } from "../common/ItemRef.js";
3
- import type { FeatureSetProperties } from "./FeatureSetProperties.js";
4
- /**
5
- * Properties for a FeatureList.
6
- */
7
- export interface FeatureListProperties extends Omit<ApiFeatureListProperties, "featureSet"> {
8
- /**
9
- * @inheritdoc
10
- */
11
- featureSet?: (FeatureSetProperties | ItemRef)[];
12
- }
1
+ import type { FeatureListProperties as ApiFeatureListProperties } from "@vertigis/arcgis-extensions/data/FeatureList";
2
+ import type { ItemRef } from "../common/ItemRef.js";
3
+ import type { FeatureSetProperties } from "./FeatureSetProperties.js";
4
+ /**
5
+ * Properties for a FeatureList.
6
+ */
7
+ export interface FeatureListProperties extends Omit<ApiFeatureListProperties, "featureSet"> {
8
+ /**
9
+ * @inheritdoc
10
+ */
11
+ featureSet?: (FeatureSetProperties | ItemRef)[];
12
+ }
@@ -1,16 +1,16 @@
1
- import type { FeatureProperties } from "@vertigis/arcgis-extensions/data/Feature";
2
- import type { FeatureSetProperties as ApiFeatureSetProperties } from "@vertigis/arcgis-extensions/data/FeatureSet";
3
- import type { ItemRef } from "app-config/common/ItemRef";
4
- /**
5
- * Properties for a FeatureSet.
6
- */
7
- export interface FeatureSetProperties extends Omit<ApiFeatureSetProperties, "features" | "source"> {
8
- /**
9
- * @inheritdoc
10
- */
11
- features?: (FeatureProperties | ItemRef)[];
12
- /**
13
- * @inheritdoc
14
- */
15
- source?: ItemRef;
16
- }
1
+ import type { FeatureProperties } from "@vertigis/arcgis-extensions/data/Feature";
2
+ import type { FeatureSetProperties as ApiFeatureSetProperties } from "@vertigis/arcgis-extensions/data/FeatureSet";
3
+ import type { ItemRef } from "app-config/common/ItemRef";
4
+ /**
5
+ * Properties for a FeatureSet.
6
+ */
7
+ export interface FeatureSetProperties extends Omit<ApiFeatureSetProperties, "features" | "source"> {
8
+ /**
9
+ * @inheritdoc
10
+ */
11
+ features?: (FeatureProperties | ItemRef)[];
12
+ /**
13
+ * @inheritdoc
14
+ */
15
+ source?: ItemRef;
16
+ }
@@ -1,27 +1,27 @@
1
- import type { Action } from "@vertigis/arcgis-extensions/support/Action";
2
- import type { FeatureDetailsModelProperties as CommonFeatureDetailsModelProperties } from "../common/FeatureDetailsModelProperties.js";
3
- import type { ComponentModelProperties } from "./ComponentModelProperties.js";
4
- /**
5
- * Properties for a feature-summary component.
6
- */
7
- export interface FeatureSummaryModelProperties extends CommonFeatureDetailsModelProperties, ComponentModelProperties {
8
- /**
9
- * A command or set of commands to execute when a feature is added into the
10
- * collection.
11
- */
12
- onFeatureAdd?: Action;
13
- /**
14
- * A command or set of commands to execute when a feature is removed from
15
- * the collection.
16
- */
17
- onFeatureRemove?: Action;
18
- /**
19
- * A command or set of commands to execute when the summary is clicked.
20
- */
21
- onFeatureClick?: Action;
22
- /**
23
- * A command or set of commands to execute when a related record is clicked.
24
- * The related Feature is passed in as the argument for the command(s).
25
- */
26
- onRelatedRecordClick?: Action;
27
- }
1
+ import type { Action } from "@vertigis/arcgis-extensions/support/Action";
2
+ import type { FeatureDetailsModelProperties as CommonFeatureDetailsModelProperties } from "../common/FeatureDetailsModelProperties.js";
3
+ import type { ComponentModelProperties } from "./ComponentModelProperties.js";
4
+ /**
5
+ * Properties for a feature-summary component.
6
+ */
7
+ export interface FeatureSummaryModelProperties extends CommonFeatureDetailsModelProperties, ComponentModelProperties {
8
+ /**
9
+ * A command or set of commands to execute when a feature is added into the
10
+ * collection.
11
+ */
12
+ onFeatureAdd?: Action;
13
+ /**
14
+ * A command or set of commands to execute when a feature is removed from
15
+ * the collection.
16
+ */
17
+ onFeatureRemove?: Action;
18
+ /**
19
+ * A command or set of commands to execute when the summary is clicked.
20
+ */
21
+ onFeatureClick?: Action;
22
+ /**
23
+ * A command or set of commands to execute when a related record is clicked.
24
+ * The related Feature is passed in as the argument for the command(s).
25
+ */
26
+ onRelatedRecordClick?: Action;
27
+ }
@@ -1,7 +1,7 @@
1
- import type { GeolocationModelProperties as CommonGeolocationModelProperties } from "../common/GeolocationModelProperties.js";
2
- import type { ComponentModelProperties } from "./ComponentModelProperties.js";
3
- /**
4
- * @inheritdoc
5
- */
6
- export interface GeolocationModelProperties extends CommonGeolocationModelProperties, ComponentModelProperties {
7
- }
1
+ import type { GeolocationModelProperties as CommonGeolocationModelProperties } from "../common/GeolocationModelProperties.js";
2
+ import type { ComponentModelProperties } from "./ComponentModelProperties.js";
3
+ /**
4
+ * @inheritdoc
5
+ */
6
+ export interface GeolocationModelProperties extends CommonGeolocationModelProperties, ComponentModelProperties {
7
+ }
@@ -1,27 +1,27 @@
1
- import type { LengthUnits } from "../../messaging/registry/geometry.js";
2
- import type { ModelProperties } from "../common/ModelProperties.js";
3
- /**
4
- * Configuration for the geometry service.
5
- */
6
- export interface GeometryModelProperties extends ModelProperties {
7
- /**
8
- * The URL for the external geometry service that's used for calculations
9
- * that can't be done client-side.
10
- */
11
- geometryServiceUrl?: string;
12
- /**
13
- * The default distance value for buffer operations. The default units are
14
- * based on the application's measurement system: "meters" for metric,
15
- * otherwise "yards".
16
- */
17
- bufferDistance?: number;
18
- /**
19
- * The default distance units for buffer operations. The default is 100.
20
- */
21
- bufferUnits?: LengthUnits;
22
- /**
23
- * Whether or not geodesic buffers are performed. The default is true. If
24
- * set to false, buffers will be planar.
25
- */
26
- isGeodesic?: boolean;
27
- }
1
+ import type { LengthUnits } from "../../messaging/registry/geometry.js";
2
+ import type { ModelProperties } from "../common/ModelProperties.js";
3
+ /**
4
+ * Configuration for the geometry service.
5
+ */
6
+ export interface GeometryModelProperties extends ModelProperties {
7
+ /**
8
+ * The URL for the external geometry service that's used for calculations
9
+ * that can't be done client-side.
10
+ */
11
+ geometryServiceUrl?: string;
12
+ /**
13
+ * The default distance value for buffer operations. The default units are
14
+ * based on the application's measurement system: "meters" for metric,
15
+ * otherwise "yards".
16
+ */
17
+ bufferDistance?: number;
18
+ /**
19
+ * The default distance units for buffer operations. The default is 100.
20
+ */
21
+ bufferUnits?: LengthUnits;
22
+ /**
23
+ * Whether or not geodesic buffers are performed. The default is true. If
24
+ * set to false, buffers will be planar.
25
+ */
26
+ isGeodesic?: boolean;
27
+ }
@@ -1,36 +1,36 @@
1
- /**
2
- * A username for a particular ArcGIS Portal User.
3
- */
4
- export type PortalUsername = string;
5
- /**
6
- * The unique ID of an ArcGIS Portal Group.
7
- */
8
- export type PortalGroupId = string;
9
- /**
10
- * A defined set of user types for convenient configuration, based on
11
- * authentication.
12
- */
13
- export type VertigisUserType = "gcx-all-users" | "gcx-anonymous-users" | "gcx-authenticated-users";
14
- /**
15
- * An identity/authentication based filter that determines whether a component
16
- * or menu item in the app is visible or hidden from a given end-user.
17
- */
18
- export type VisibilityFilter = VertigisUserType | PortalGroupId | PortalUsername;
19
- /**
20
- * A set of properties that determines whether a component or menu item in the
21
- * app is visible or hidden from a given end-user.
22
- */
23
- export interface HasVisibilityFilters {
24
- /**
25
- * Filters that determine whether the UI element is visible to a given
26
- * end-user. If both visibleTo and hiddenFrom are undefined/empty, the
27
- * component will be visible to all users.
28
- */
29
- visibleTo?: Iterable<VisibilityFilter>;
30
- /**
31
- * Filters that determine whether the UI element is hidden from a given
32
- * end-user. If both visibleTo and hiddenFrom are undefined/empty, the
33
- * component will be visible to all users.
34
- */
35
- hiddenFrom?: Iterable<VisibilityFilter>;
36
- }
1
+ /**
2
+ * A username for a particular ArcGIS Portal User.
3
+ */
4
+ export type PortalUsername = string;
5
+ /**
6
+ * The unique ID of an ArcGIS Portal Group.
7
+ */
8
+ export type PortalGroupId = string;
9
+ /**
10
+ * A defined set of user types for convenient configuration, based on
11
+ * authentication.
12
+ */
13
+ export type VertigisUserType = "gcx-all-users" | "gcx-anonymous-users" | "gcx-authenticated-users";
14
+ /**
15
+ * An identity/authentication based filter that determines whether a component
16
+ * or menu item in the app is visible or hidden from a given end-user.
17
+ */
18
+ export type VisibilityFilter = VertigisUserType | PortalGroupId | PortalUsername;
19
+ /**
20
+ * A set of properties that determines whether a component or menu item in the
21
+ * app is visible or hidden from a given end-user.
22
+ */
23
+ export interface HasVisibilityFilters {
24
+ /**
25
+ * Filters that determine whether the UI element is visible to a given
26
+ * end-user. If both visibleTo and hiddenFrom are undefined/empty, the
27
+ * component will be visible to all users.
28
+ */
29
+ visibleTo?: Iterable<VisibilityFilter>;
30
+ /**
31
+ * Filters that determine whether the UI element is hidden from a given
32
+ * end-user. If both visibleTo and hiddenFrom are undefined/empty, the
33
+ * component will be visible to all users.
34
+ */
35
+ hiddenFrom?: Iterable<VisibilityFilter>;
36
+ }
@@ -1,7 +1,7 @@
1
- import type { ImageModelProperties as CommonImageModelProperties } from "../common/ImageModelProperties.js";
2
- import type { ComponentModelProperties } from "./ComponentModelProperties.js";
3
- /**
4
- * @inheritdoc
5
- */
6
- export interface ImageModelProperties extends CommonImageModelProperties, ComponentModelProperties {
7
- }
1
+ import type { ImageModelProperties as CommonImageModelProperties } from "../common/ImageModelProperties.js";
2
+ import type { ComponentModelProperties } from "./ComponentModelProperties.js";
3
+ /**
4
+ * @inheritdoc
5
+ */
6
+ export interface ImageModelProperties extends CommonImageModelProperties, ComponentModelProperties {
7
+ }
@@ -1,146 +1,146 @@
1
- import type { EntityProperties } from "@vertigis/arcgis-extensions/Entity";
2
- import type { FormatSettingsProperties } from "@vertigis/arcgis-extensions/support/FormatSettings";
3
- import type { ItemRef } from "../common/ItemRef.js";
4
- import type { ColorConfig } from "../common/colors.js";
5
- import type { ComponentModelProperties } from "./ComponentModelProperties.js";
6
- import type { FeatureSetProperties } from "./FeatureSetProperties.js";
7
- /**
8
- * Configuration for a KPI card component.
9
- */
10
- export interface KpiCardModelProperties extends ComponentModelProperties {
11
- /**
12
- * The background color for the KPI card. If not specified, the branding
13
- * theme color will be used.
14
- */
15
- backgroundColor?: ColorConfig;
16
- /**
17
- * Configuration for the bottom section.
18
- */
19
- bottom?: KpiCardSectionModelProperties;
20
- /**
21
- * A set of conditions to evaluated. If a condition's expression is true,
22
- * its configuration will take effect. For any given configuration property,
23
- * conditions that appear earlier in this list will take precedence over
24
- * ones that come later.
25
- */
26
- conditions?: KpiCardConditionModelProperties[];
27
- /**
28
- * Configuration for the middle section.
29
- */
30
- middle?: KpiCardSectionModelProperties;
31
- /**
32
- * A reference value to use for comparison. This is available as a
33
- * predefined `reference` variable within Arcade expressions.
34
- */
35
- reference?: number;
36
- /**
37
- * The type of reference to use.
38
- */
39
- referenceType?: ReferenceType;
40
- /**
41
- * When `referenceType` is "statistic", this Arcade expression will be used
42
- * to calculate the reference value.
43
- */
44
- referenceExpression?: string;
45
- /**
46
- * The feature source (e.g. layer, sublayer, table, etc.) that this KPI card
47
- * is associated with.
48
- */
49
- source?: ItemRef;
50
- /**
51
- * Configuration for the top section.
52
- */
53
- top?: KpiCardSectionModelProperties;
54
- /**
55
- * The initial KPI value. Normally this is computed from `valueExpression`
56
- * rather than set directly.
57
- */
58
- value?: number;
59
- /**
60
- * An Arcade expression that calculates the KPI value from a feature set.
61
- * The feature set is made available via a `$features` variable that is
62
- * available for use within the expression.
63
- */
64
- valueExpression?: string;
65
- /**
66
- * The set of features contained by the kpi-card model. This property is
67
- * only serialized into saved projects. Web only.
68
- */
69
- results?: FeatureSetProperties;
70
- }
71
- /**
72
- * Configuration for a specific section of a KPI card (top, middle, or bottom).
73
- */
74
- export interface KpiCardSectionModelProperties {
75
- /**
76
- * The text to display for this section. The text can contain embedded
77
- * Arcade expressions, surrounded by braces ("{" and "}").
78
- */
79
- text?: string;
80
- /**
81
- * The ID of the icon to display in this section, or undefined to show no
82
- * icon.
83
- */
84
- icon?: string;
85
- /**
86
- * The size of the text and icon.
87
- */
88
- size?: KpiCardSectionSize;
89
- /**
90
- * The foreground color to use for the text and icon. If undefined, it will
91
- * use the theme's color.
92
- */
93
- color?: ColorConfig;
94
- /**
95
- * Format settings that affect how numbers and dates are formatted. Any
96
- * setting that isn't specified will use the equivalent setting in the
97
- * region service by default.
98
- */
99
- formatSettings?: FormatSettingsProperties;
100
- }
101
- /**
102
- * Conditional configuration that is applied when the given expression is true.
103
- */
104
- export interface KpiCardConditionModelProperties extends EntityProperties {
105
- /**
106
- * The Arcade expression to evaluate. If the return value is "truthy", the
107
- * configuration in this condition will take effect.
108
- */
109
- expression?: string;
110
- /**
111
- * The background color to use if the condition is true.
112
- */
113
- backgroundColor?: ColorConfig;
114
- /**
115
- * Settings to apply to the top section if the condition is true.
116
- */
117
- top?: KpiCardSectionModelProperties;
118
- /**
119
- * Settings to apply to the middle section if the condition is true.
120
- */
121
- middle?: KpiCardSectionModelProperties;
122
- /**
123
- * Settings to apply to the bottom section if the condition is true.
124
- */
125
- bottom?: KpiCardSectionModelProperties;
126
- }
127
- /**
128
- * Determines how the reference value for a KPI card is calculated. A reference
129
- * is a number to compare against.
130
- *
131
- * - "none": No reference value is used for this card.
132
- * - "previous": The reference value will reflect the previous KPI value whenever
133
- * it changes. Initially it will be undefined.
134
- * - "fixed": A constant value.
135
- * - "statistic": A calculated value determined via an Arcade expression (see
136
- * `referenceExpression`).
137
- */
138
- export type ReferenceType = "none" | "previous" | "fixed" | "statistic";
139
- /**
140
- * Determines how large the text and icon are for a KPI card section.
141
- */
142
- export type KpiCardSectionSize = "extra-small" | "small" | "medium" | "large" | "extra-large";
143
- /**
144
- * Identifies one of the three possible sections in a KPI card.
145
- */
146
- export type KpiCardSectionName = "top" | "middle" | "bottom";
1
+ import type { EntityProperties } from "@vertigis/arcgis-extensions/Entity";
2
+ import type { FormatSettingsProperties } from "@vertigis/arcgis-extensions/support/FormatSettings";
3
+ import type { ItemRef } from "../common/ItemRef.js";
4
+ import type { ColorConfig } from "../common/colors.js";
5
+ import type { ComponentModelProperties } from "./ComponentModelProperties.js";
6
+ import type { FeatureSetProperties } from "./FeatureSetProperties.js";
7
+ /**
8
+ * Configuration for a KPI card component.
9
+ */
10
+ export interface KpiCardModelProperties extends ComponentModelProperties {
11
+ /**
12
+ * The background color for the KPI card. If not specified, the branding
13
+ * theme color will be used.
14
+ */
15
+ backgroundColor?: ColorConfig;
16
+ /**
17
+ * Configuration for the bottom section.
18
+ */
19
+ bottom?: KpiCardSectionModelProperties;
20
+ /**
21
+ * A set of conditions to evaluated. If a condition's expression is true,
22
+ * its configuration will take effect. For any given configuration property,
23
+ * conditions that appear earlier in this list will take precedence over
24
+ * ones that come later.
25
+ */
26
+ conditions?: KpiCardConditionModelProperties[];
27
+ /**
28
+ * Configuration for the middle section.
29
+ */
30
+ middle?: KpiCardSectionModelProperties;
31
+ /**
32
+ * A reference value to use for comparison. This is available as a
33
+ * predefined `reference` variable within Arcade expressions.
34
+ */
35
+ reference?: number;
36
+ /**
37
+ * The type of reference to use.
38
+ */
39
+ referenceType?: ReferenceType;
40
+ /**
41
+ * When `referenceType` is "statistic", this Arcade expression will be used
42
+ * to calculate the reference value.
43
+ */
44
+ referenceExpression?: string;
45
+ /**
46
+ * The feature source (e.g. layer, sublayer, table, etc.) that this KPI card
47
+ * is associated with.
48
+ */
49
+ source?: ItemRef;
50
+ /**
51
+ * Configuration for the top section.
52
+ */
53
+ top?: KpiCardSectionModelProperties;
54
+ /**
55
+ * The initial KPI value. Normally this is computed from `valueExpression`
56
+ * rather than set directly.
57
+ */
58
+ value?: number;
59
+ /**
60
+ * An Arcade expression that calculates the KPI value from a feature set.
61
+ * The feature set is made available via a `$features` variable that is
62
+ * available for use within the expression.
63
+ */
64
+ valueExpression?: string;
65
+ /**
66
+ * The set of features contained by the kpi-card model. This property is
67
+ * only serialized into saved projects. Web only.
68
+ */
69
+ results?: FeatureSetProperties;
70
+ }
71
+ /**
72
+ * Configuration for a specific section of a KPI card (top, middle, or bottom).
73
+ */
74
+ export interface KpiCardSectionModelProperties {
75
+ /**
76
+ * The text to display for this section. The text can contain embedded
77
+ * Arcade expressions, surrounded by braces ("{" and "}").
78
+ */
79
+ text?: string;
80
+ /**
81
+ * The ID of the icon to display in this section, or undefined to show no
82
+ * icon.
83
+ */
84
+ icon?: string;
85
+ /**
86
+ * The size of the text and icon.
87
+ */
88
+ size?: KpiCardSectionSize;
89
+ /**
90
+ * The foreground color to use for the text and icon. If undefined, it will
91
+ * use the theme's color.
92
+ */
93
+ color?: ColorConfig;
94
+ /**
95
+ * Format settings that affect how numbers and dates are formatted. Any
96
+ * setting that isn't specified will use the equivalent setting in the
97
+ * region service by default.
98
+ */
99
+ formatSettings?: FormatSettingsProperties;
100
+ }
101
+ /**
102
+ * Conditional configuration that is applied when the given expression is true.
103
+ */
104
+ export interface KpiCardConditionModelProperties extends EntityProperties {
105
+ /**
106
+ * The Arcade expression to evaluate. If the return value is "truthy", the
107
+ * configuration in this condition will take effect.
108
+ */
109
+ expression?: string;
110
+ /**
111
+ * The background color to use if the condition is true.
112
+ */
113
+ backgroundColor?: ColorConfig;
114
+ /**
115
+ * Settings to apply to the top section if the condition is true.
116
+ */
117
+ top?: KpiCardSectionModelProperties;
118
+ /**
119
+ * Settings to apply to the middle section if the condition is true.
120
+ */
121
+ middle?: KpiCardSectionModelProperties;
122
+ /**
123
+ * Settings to apply to the bottom section if the condition is true.
124
+ */
125
+ bottom?: KpiCardSectionModelProperties;
126
+ }
127
+ /**
128
+ * Determines how the reference value for a KPI card is calculated. A reference
129
+ * is a number to compare against.
130
+ *
131
+ * - "none": No reference value is used for this card.
132
+ * - "previous": The reference value will reflect the previous KPI value whenever
133
+ * it changes. Initially it will be undefined.
134
+ * - "fixed": A constant value.
135
+ * - "statistic": A calculated value determined via an Arcade expression (see
136
+ * `referenceExpression`).
137
+ */
138
+ export type ReferenceType = "none" | "previous" | "fixed" | "statistic";
139
+ /**
140
+ * Determines how large the text and icon are for a KPI card section.
141
+ */
142
+ export type KpiCardSectionSize = "extra-small" | "small" | "medium" | "large" | "extra-large";
143
+ /**
144
+ * Identifies one of the three possible sections in a KPI card.
145
+ */
146
+ export type KpiCardSectionName = "top" | "middle" | "bottom";