@vertigis/viewer-spec 56.26.1 → 56.27.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.
@@ -1,3 +1,4 @@
1
+ import type { Action } from "@vertigis/arcgis-extensions/support/Action";
1
2
  import type { ComponentModelProperties } from "./ComponentModelProperties.js";
2
3
  import type { ItemRef } from "./ItemRef.js";
3
4
  /**
@@ -10,4 +11,20 @@ export interface ResultsModelProperties extends ComponentModelProperties {
10
11
  * (MenuModel).
11
12
  */
12
13
  featureActions?: ItemRef;
14
+ /**
15
+ * A command or set of commands to execute when a single feature is clicked.
16
+ */
17
+ onFeatureClick?: Action;
18
+ /**
19
+ * A command or set of commands to execute when a feature becomes invisible.
20
+ */
21
+ onFeatureHide?: Action;
22
+ /**
23
+ * A command or set of commands to execute when a feature gets removed.
24
+ */
25
+ onFeatureRemove?: Action;
26
+ /**
27
+ * A command or set of commands to execute when a feature becomes visible.
28
+ */
29
+ onFeatureShow?: Action;
13
30
  }
@@ -0,0 +1,26 @@
1
+ import type { Action } from "@vertigis/arcgis-extensions/support/Action";
2
+ import type { ComponentModelProperties as CommonComponentModelProperties } from "../common/ComponentModelProperties.js";
3
+ import type { ResultsModelProperties as CommonResultsModelProperties } from "../common/ResultsModelProperties.js";
4
+ /**
5
+ * @inheritdoc
6
+ */
7
+ export interface ResultsModelProperties extends CommonResultsModelProperties, CommonComponentModelProperties {
8
+ /**
9
+ * A command or set of commands to execute when all features have been
10
+ * removed.
11
+ */
12
+ onAllFeaturesRemoved?: Action;
13
+ /**
14
+ * A command or set of commands to execute when a feature is located.
15
+ */
16
+ onFeatureLocate?: Action;
17
+ /**
18
+ * A command or set of commands to execute when a feature gets refreshed.
19
+ */
20
+ onFeatureRefresh?: Action;
21
+ /**
22
+ * A command or set of commands to execute when a the search history is
23
+ * cleared.
24
+ */
25
+ onClear?: Action;
26
+ }
@@ -0,0 +1 @@
1
+ export{};