@vertigis/viewer-spec 53.10.1 → 55.0.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 (67) hide show
  1. package/app-config/{mobile → common}/EventListenerModelProperties.d.ts +10 -5
  2. package/app-config/common/TranslatableText.d.ts +1 -1
  3. package/app-config/schema/common-app-config.schema.json +1 -1
  4. package/app-config/schema/mobile-app-config.schema.json +1 -1
  5. package/app-config/schema/web-app-config.schema.json +1 -1
  6. package/messaging/Event.d.ts +3 -2
  7. package/messaging/registry/app-config.d.ts +1 -1
  8. package/messaging/registry/app.d.ts +27 -21
  9. package/messaging/registry/arcade.d.ts +3 -3
  10. package/messaging/registry/auth.d.ts +4 -3
  11. package/messaging/registry/basemap.d.ts +2 -2
  12. package/messaging/registry/bookmark.d.ts +4 -4
  13. package/messaging/registry/charts.d.ts +8 -7
  14. package/messaging/registry/debugConsole.d.ts +2 -0
  15. package/messaging/registry/device.d.ts +3 -3
  16. package/messaging/registry/display.d.ts +1 -1
  17. package/messaging/registry/drawing.d.ts +8 -6
  18. package/messaging/registry/edit.d.ts +9 -8
  19. package/messaging/registry/file.d.ts +8 -8
  20. package/messaging/registry/filter-builder.d.ts +4 -3
  21. package/messaging/registry/geocode.d.ts +1 -1
  22. package/messaging/registry/geolocation.d.ts +27 -24
  23. package/messaging/registry/geometry-toolbar.d.ts +2 -2
  24. package/messaging/registry/geometry.d.ts +12 -12
  25. package/messaging/registry/highlights.d.ts +8 -6
  26. package/messaging/registry/input.d.ts +2 -2
  27. package/messaging/registry/iwtm.d.ts +1 -1
  28. package/messaging/registry/kpi.d.ts +8 -7
  29. package/messaging/registry/layer-comparison.d.ts +9 -8
  30. package/messaging/registry/layer-presets.d.ts +2 -2
  31. package/messaging/registry/layers.d.ts +16 -14
  32. package/messaging/registry/layout.d.ts +4 -4
  33. package/messaging/registry/licensing.d.ts +2 -2
  34. package/messaging/registry/location-marker.d.ts +7 -7
  35. package/messaging/registry/logViewer.d.ts +2 -2
  36. package/messaging/registry/map.d.ts +68 -61
  37. package/messaging/registry/measurement.d.ts +16 -16
  38. package/messaging/registry/messaging.d.ts +1 -1
  39. package/messaging/registry/network.d.ts +4 -4
  40. package/messaging/registry/offline.d.ts +34 -29
  41. package/messaging/registry/panel.d.ts +9 -5
  42. package/messaging/registry/photos.d.ts +3 -3
  43. package/messaging/registry/portal.d.ts +3 -3
  44. package/messaging/registry/project.d.ts +13 -13
  45. package/messaging/registry/query-builder.d.ts +3 -3
  46. package/messaging/registry/region.d.ts +2 -2
  47. package/messaging/registry/reports.d.ts +6 -5
  48. package/messaging/registry/results.d.ts +39 -31
  49. package/messaging/registry/search.d.ts +6 -6
  50. package/messaging/registry/settings.d.ts +1 -1
  51. package/messaging/registry/shortcut.d.ts +2 -2
  52. package/messaging/registry/sketching.d.ts +34 -29
  53. package/messaging/registry/system.d.ts +14 -13
  54. package/messaging/registry/tasks.d.ts +8 -5
  55. package/messaging/registry/ui.d.ts +32 -26
  56. package/messaging/registry/viewer.d.ts +13 -11
  57. package/messaging/registry/workflow.d.ts +7 -7
  58. package/messaging/schema/common-action.schema.json +15 -15
  59. package/messaging/schema/common-event.schema.json +5 -5
  60. package/messaging/schema/mobile-action.schema.json +131 -131
  61. package/messaging/schema/mobile-event.schema.json +99 -99
  62. package/messaging/schema/web-action.schema.json +218 -218
  63. package/messaging/schema/web-event.schema.json +37 -37
  64. package/package.json +2 -2
  65. package/version.d.ts +1 -1
  66. package/version.js +1 -1
  67. /package/app-config/{mobile → common}/EventListenerModelProperties.js +0 -0
@@ -1,15 +1,16 @@
1
+ import type { EntityBaseProperties } from "@vertigis/arcgis-extensions/Entity.js";
1
2
  import type { Action } from "@vertigis/arcgis-extensions/support/Action";
2
- import type { ComponentModelProperties } from "../common/ComponentModelProperties.js";
3
- import type { ItemRef } from "../common/ItemRef.js";
3
+ import type { ItemRef } from "./ItemRef.js";
4
+ import type { ModelProperties } from "./ModelProperties.js";
4
5
  /**
5
6
  * Configuration for a generic event listener.
6
7
  */
7
- export interface EventListenerModelProperties extends ComponentModelProperties {
8
+ export interface EventListenerModelProperties extends ModelProperties {
8
9
  /**
9
10
  * A collection of event listener definitions. Each element has to be an
10
11
  * inline JSON defining an event listener definition item.
11
12
  */
12
- listeners: EventListenerDefinitionProperties[];
13
+ listeners?: EventListenerDefinitionProperties[];
13
14
  }
14
15
  /**
15
16
  * Properties for a generic event listener definition. Specifies an action to
@@ -17,7 +18,7 @@ export interface EventListenerModelProperties extends ComponentModelProperties {
17
18
  * assigned, the action will only be executed if the event is published with the
18
19
  * specified sender.
19
20
  */
20
- export interface EventListenerDefinitionProperties {
21
+ export interface EventListenerDefinitionProperties extends EntityBaseProperties {
21
22
  /**
22
23
  * The name of the event to listen to. This value has to match the events
23
24
  * name that gets published (including its namespace prefix, e.g.
@@ -36,4 +37,8 @@ export interface EventListenerDefinitionProperties {
36
37
  * The action to perform, when the specified events gets published.
37
38
  */
38
39
  action: Action;
40
+ /**
41
+ * A human-readable title for the event listener instance.
42
+ */
43
+ title?: string;
39
44
  }
@@ -10,7 +10,7 @@ export type TranslatableText = string | TranslateOptions;
10
10
  export interface TranslateOptions extends FormatSettings {
11
11
  /**
12
12
  * An optional default value to fallback to when a language resource key
13
- * does not exist.
13
+ * does not exist. Web only.
14
14
  *
15
15
  * @webOnly
16
16
  */