@vertigis/viewer-spec 60.0.0 → 60.2.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.
@@ -283,7 +283,7 @@ export interface HasSymbol {
283
283
  symbol?: SymbolLike;
284
284
  }
285
285
  /**
286
- * An object that has a `symbols`property.
286
+ * An object that has a `symbols` property.
287
287
  */
288
288
  export interface HasSymbols {
289
289
  /**
@@ -304,6 +304,15 @@ export interface HasRenderer {
304
304
  */
305
305
  renderer?: RendererLike;
306
306
  }
307
+ /**
308
+ * An object that has a `renderers` property.
309
+ */
310
+ export interface HasRenderers {
311
+ /**
312
+ * The renderers to use for the command/operation.
313
+ */
314
+ renderers?: RendererLike | RendererLike[];
315
+ }
307
316
  /**
308
317
  * An object that is convertible to an Esri Viewpoint, or that has a viewpoint
309
318
  * property.
@@ -1,5 +1,8 @@
1
+ import type { MapExtension } from "@vertigis/arcgis-extensions/mapping/MapExtension.js";
1
2
  import type { Command } from "../Command.js";
2
3
  import { CommandRegistry } from "../CommandRegistry.js";
4
+ import type { Operation } from "../Operation.js";
5
+ import { OperationRegistry } from "../OperationRegistry.js";
3
6
  import type { Features, HasMaps, HasMapsAndFeatures, Maps } from "../common.js";
4
7
  export declare class HighlightsCommands extends CommandRegistry {
5
8
  protected readonly _prefix = "highlights";
@@ -65,3 +68,18 @@ export declare class HighlightsCommands extends CommandRegistry {
65
68
  */
66
69
  get showFocus(): Command<HasMaps>;
67
70
  }
71
+ export declare class HighlightsOperations extends OperationRegistry {
72
+ protected readonly _prefix = "highlights";
73
+ /**
74
+ * Returns all highlighted features for a given map. Web only.
75
+ *
76
+ * @webOnly
77
+ */
78
+ get get(): Operation<MapExtension, Features>;
79
+ /**
80
+ * Returns all focused features for a given map. Web only.
81
+ *
82
+ * @webOnly
83
+ */
84
+ get getFocused(): Operation<MapExtension, Features>;
85
+ }
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";export class HighlightsCommands extends e{_prefix="highlights";get add(){return this._get("add")}get remove(){return this._get("remove")}get clear(){return this._get("clear")}get pulse(){return this._get("pulse")}get addFocus(){return this._get("add-focus")}get removeFocus(){return this._get("remove-focus")}get clearFocus(){return this._get("clear-focus")}get hide(){return this._get("hide")}get hideFocus(){return this._get("hide-focus")}get refresh(){return this._get("refresh")}get show(){return this._get("show")}get showFocus(){return this._get("show-focus")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export class HighlightsCommands extends e{_prefix="highlights";get add(){return this._get("add")}get remove(){return this._get("remove")}get clear(){return this._get("clear")}get pulse(){return this._get("pulse")}get addFocus(){return this._get("add-focus")}get removeFocus(){return this._get("remove-focus")}get clearFocus(){return this._get("clear-focus")}get hide(){return this._get("hide")}get hideFocus(){return this._get("hide-focus")}get refresh(){return this._get("refresh")}get show(){return this._get("show")}get showFocus(){return this._get("show-focus")}}export class HighlightsOperations extends t{_prefix="highlights";get get(){return this._get("get")}get getFocused(){return this._get("get-focused")}}
@@ -8,7 +8,7 @@ import type { Event } from "../Event.js";
8
8
  import { EventRegistry } from "../EventRegistry.js";
9
9
  import type { Operation } from "../Operation.js";
10
10
  import { OperationRegistry } from "../OperationRegistry.js";
11
- import type { HasFiles, HasLayers, HasMaps, HasRenderer, HasSymbol, HasSymbols, LayersLike } from "../common.js";
11
+ import type { HasFiles, HasLayers, HasMaps, HasRenderer, HasRenderers, HasSymbol, HasSymbols, LayersLike } from "../common.js";
12
12
  /**
13
13
  * Arguments for the "layers.visibility-changed" event.
14
14
  */
@@ -43,7 +43,7 @@ export interface SetLabelVisibilityArgs extends HasLayers, HasMaps {
43
43
  /**
44
44
  * Arguments for the layers.set-symbol command.
45
45
  */
46
- export type SetSymbolArgs = HasSymbol & HasSymbols & HasLayers & HasMaps & HasRenderer;
46
+ export type SetSymbolArgs = HasSymbol & HasSymbols & HasLayers & HasMaps & HasRenderer & HasRenderers;
47
47
  /**
48
48
  * Arguments for the layers.set-visibility command. If no 'maps' are specified,
49
49
  * all active maps in the layout will be targeted. If no 'layers' are specified,
@@ -8083,6 +8083,74 @@
8083
8083
  "$ref": "#/definitions/RendererLike",
8084
8084
  "description": "The renderer configuration to use for the command/operation."
8085
8085
  },
8086
+ "renderers": {
8087
+ "anyOf": [
8088
+ {
8089
+ "$ref": "#/definitions/esri.rest-api.RendererJson.ClassBreaksRendererJson"
8090
+ },
8091
+ {
8092
+ "$ref": "#/definitions/esri.rest-api.RendererJson.HeatmapRendererJson"
8093
+ },
8094
+ {
8095
+ "$ref": "#/definitions/esri.rest-api.RendererJson.PointCloudClassBreaksRendererJson"
8096
+ },
8097
+ {
8098
+ "$ref": "#/definitions/esri.rest-api.RendererJson.PointCloudRGBRendererJson"
8099
+ },
8100
+ {
8101
+ "$ref": "#/definitions/esri.rest-api.RendererJson.PointCloudStretchRendererJson"
8102
+ },
8103
+ {
8104
+ "$ref": "#/definitions/esri.rest-api.RendererJson.PointCloudUniqueValueRendererJson"
8105
+ },
8106
+ {
8107
+ "$ref": "#/definitions/esri.rest-api.RendererJson.PredominanceRendererJson"
8108
+ },
8109
+ {
8110
+ "$ref": "#/definitions/esri.rest-api.RendererJson.SimpleRendererJson"
8111
+ },
8112
+ {
8113
+ "$ref": "#/definitions/esri.rest-api.RendererJson.TemporalRendererJson"
8114
+ },
8115
+ {
8116
+ "$ref": "#/definitions/esri.rest-api.RendererJson.UniqueValueFromStyleRendererJson"
8117
+ },
8118
+ {
8119
+ "$ref": "#/definitions/esri.rest-api.RendererJson.UniqueValueRendererJson"
8120
+ },
8121
+ {
8122
+ "$ref": "#/definitions/esri.rest-api.RendererJson.VectorFieldRendererJson"
8123
+ },
8124
+ {
8125
+ "$ref": "esri.HeatmapRenderer"
8126
+ },
8127
+ {
8128
+ "$ref": "esri.SimpleRenderer"
8129
+ },
8130
+ {
8131
+ "$ref": "esri.ClassBreaksRenderer"
8132
+ },
8133
+ {
8134
+ "$ref": "esri.UniqueValueRenderer"
8135
+ },
8136
+ {
8137
+ "$ref": "esri.DotDensityRenderer"
8138
+ },
8139
+ {
8140
+ "$ref": "esri.DictionaryRenderer"
8141
+ },
8142
+ {
8143
+ "$ref": "esri.PieChartRenderer"
8144
+ },
8145
+ {
8146
+ "items": {
8147
+ "$ref": "#/definitions/RendererLike"
8148
+ },
8149
+ "type": "array"
8150
+ }
8151
+ ],
8152
+ "description": "The renderers to use for the command/operation."
8153
+ },
8086
8154
  "symbol": {
8087
8155
  "$ref": "SymbolLike",
8088
8156
  "description": "The symbol to use for the command/operation."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "60.0.0",
3
+ "version": "60.2.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "VertiGIS Viewer Specification",
6
6
  "type": "module",
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export declare const version = "60.0.0";
4
+ export declare const version = "60.2.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export const version = "60.0.0";
4
+ export const version = "60.2.0";