@arcgis/map-components 5.1.0-next.123 → 5.1.0-next.125

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 (45) hide show
  1. package/dist/cdn/{RH4PIMHF.js → APG5BPBC.js} +1 -1
  2. package/dist/cdn/K4QY44EL.js +2 -0
  3. package/dist/cdn/{XYUG5M3W.js → T6JFYEP2.js} +1 -1
  4. package/dist/cdn/V4FMJCXV.js +2 -0
  5. package/dist/cdn/YJT2XNV5.js +2 -0
  6. package/dist/cdn/ZJINX5IW.js +2 -0
  7. package/dist/cdn/assets/feature-templates/t9n/messages.en.json +1 -1
  8. package/dist/cdn/index.js +1 -1
  9. package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
  10. package/dist/components/arcgis-daylight/customElement.js +34 -27
  11. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +20 -20
  12. package/dist/components/arcgis-feature-templates/customElement.d.ts +10 -8
  13. package/dist/components/arcgis-feature-templates/customElement.js +198 -247
  14. package/dist/components/arcgis-features/customElement.d.ts +4 -17
  15. package/dist/components/arcgis-layer-list/customElement.d.ts +3 -0
  16. package/dist/components/arcgis-layer-list-next/customElement.d.ts +319 -32
  17. package/dist/components/arcgis-layer-list-next/customElement.js +5 -1
  18. package/dist/components/arcgis-link-chart/customElement.d.ts +24 -0
  19. package/dist/components/arcgis-map/customElement.d.ts +24 -0
  20. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +3 -3
  21. package/dist/components/arcgis-paste/PasteViewModel.d.ts +2 -2
  22. package/dist/components/arcgis-popup/customElement.d.ts +13 -20
  23. package/dist/components/arcgis-scene/customElement.d.ts +24 -0
  24. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +10 -10
  25. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +6 -6
  26. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +6 -6
  27. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +10 -10
  28. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +10 -10
  29. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +10 -10
  30. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +1 -1
  31. package/dist/components/arcgis-slider-scale-range/customElement.js +65 -31
  32. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +10 -10
  33. package/dist/components/arcgis-template-image/customElement.d.ts +2 -2
  34. package/dist/components/arcgis-version-management/customElement.js +21 -20
  35. package/dist/components/arcgis-version-management/index.js +1 -0
  36. package/dist/docs/api.json +1 -1
  37. package/dist/docs/docs.json +1 -1
  38. package/dist/docs/vscode.html-custom-data.json +1 -1
  39. package/dist/docs/web-types.json +1 -1
  40. package/package.json +5 -5
  41. package/dist/cdn/4IQZ7YKM.js +0 -2
  42. package/dist/cdn/DZMN2UH5.js +0 -2
  43. package/dist/cdn/OCMGQ4AF.js +0 -2
  44. package/dist/cdn/WFL2WTJK.js +0 -2
  45. package/dist/components/arcgis-feature-templates/TemplateItem.d.ts +0 -33
@@ -9,7 +9,7 @@ import type SceneView from "@arcgis/core/views/SceneView.js";
9
9
  import type MapView from "@arcgis/core/views/MapView.js";
10
10
  import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
11
11
  import type BatchAttributeFormViewModel from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js";
12
- import type TemplateItem from "../arcgis-feature-templates/TemplateItem.js";
12
+ import type TemplateListItem from "@arcgis/core/editing/templates/TemplateListItem.js";
13
13
  import type { EsriClipboard, ClipboardItem as EsriClipboardItem } from "@arcgis/core/applications/Components/clipboard.js";
14
14
  import type { ApplySet, ApplySetLayerEditResult, ApplySetServiceEditResult } from "@arcgis/core/applications/Components/applySetUtils.js";
15
15
  import type { ClipboardMove } from "./ClipboardMove.js";
@@ -127,7 +127,7 @@ export default class PasteViewModel extends Accessor {
127
127
  disabled: boolean;
128
128
  available: boolean;
129
129
  }[];
130
- accessor pasteTemplate: TemplateItem | undefined;
130
+ accessor pasteTemplate: TemplateListItem | undefined;
131
131
  get pasteTemplateIsValid(): boolean;
132
132
  /** @default true */
133
133
  accessor pasteWithAttributes: boolean;
@@ -35,7 +35,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
35
35
  *
36
36
  * The Popup component can also be opened manually at a specific location using the [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open) property.
37
37
  * To prevent the popup from opening automatically when clicking on features within view components, set the `popup-disabled` attribute to `true` and add the Popup component to the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) using the `popup` slot.
38
- * Before setting the `open` property to `true`, you must set the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) property to specify where the popup should open or call the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures) method to open the popup template for features at a specific screen location.
38
+ * Before setting the `open` property to `true`, you must set the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) property to specify where the popup should open.
39
39
  *
40
40
  * Example of opening the popup at a clicked location with custom content:
41
41
  *
@@ -59,7 +59,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
59
59
  * </script>
60
60
  * ```
61
61
  *
62
- * Alternatively, you can call the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures) method within the view element's click event listener to open the popup with features at the clicked location.
62
+ * Alternatively, you can call the [arcgis-map.fetchPopupFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#fetchPopupFeatures) method within the view element's click event listener to open the popup with features at the clicked location.
63
63
  * ```html
64
64
  * <!-- Set popup-disabled and popup-component-enabled attributes -->
65
65
  * <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled>
@@ -71,7 +71,12 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
71
71
  * const popupComponent = document.querySelector("arcgis-popup");
72
72
  * // Listen for clicks on the view and populate the popup with features at that location.
73
73
  * viewElement.addEventListener("arcgisViewClick", async (event) => {
74
- * await popupComponent.fetchFeatures(event.detail);
74
+ * const generator = await viewElement.fetchPopupFeatures(event.detail.screenPoint, {
75
+ * pointerType: event.detail.pointerType,
76
+ * });
77
+ *
78
+ * const features = await Array.fromAsync(generator);
79
+ * popupComponent.features = features;
75
80
  * });
76
81
  * // Open the popup when the features property changes.
77
82
  * reactiveUtils.watch(
@@ -426,7 +431,7 @@ export abstract class ArcgisPopup extends LitElement {
426
431
  accessor label: string | undefined;
427
432
  /**
428
433
  * Point used to position the popup. This is automatically set when viewing the
429
- * popup by selecting a feature or when calling the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures) method. If using the Popup to display content not related
434
+ * popup by selecting a feature. If using the Popup to display content not related
430
435
  * to features in the map, such as the results from a task, then you must set this
431
436
  * property before [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open) the popup.
432
437
  *
@@ -505,6 +510,8 @@ export abstract class ArcgisPopup extends LitElement {
505
510
  * no pending promises, the value is `null`. When the pending promises are
506
511
  * resolved they are removed from this array and the features they return
507
512
  * are pushed into the [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) array.
513
+ *
514
+ * @deprecated since 5.1.
508
515
  */
509
516
  accessor promises: Array<Promise<Array<Graphic>>>;
510
517
  /**
@@ -570,25 +577,11 @@ export abstract class ArcgisPopup extends LitElement {
570
577
  /**
571
578
  * Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) in the [view](https://developers.arcgis.com/javascript/latest/references/core/views/View/). In order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled). This method allows a developer to control how the input location is handled. For example, you may want to fetch features on a `click` event or on a `pointer-move` event. This method automatically sets the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) based on the input event's screen coordinates.
572
579
  *
580
+ * @deprecated since 5.1. Use the `fetchPopupFeatures` method on the [Map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#fetchPopupFeatures), [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#fetchPopupFeatures), or [Link Chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#fetchPopupFeatures) component to fetch features based on a screen location.
573
581
  * @param screenPoint
574
582
  * @param options
583
+ * @deprecated
575
584
  * @see [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open)
576
- * @example
577
- * ```js
578
- * const viewElement = document.querySelector("arcgis-map");
579
- * // Get viewElement's click event
580
- * reactiveUtils.on(()=>viewElement, "arcgisViewClick", async (event)=>{
581
- * // Call fetchFeatures on the component and pass in the click event detail
582
- * await component.fetchFeatures(event.detail);
583
- * });
584
- * // Watch for changes to the features property and open the component when features are available.
585
- * reactiveUtils.watch(
586
- * () => component.features,
587
- * () => {
588
- * component.open = component.features ? true : false;
589
- * },
590
- * );
591
- * ```
592
585
  */
593
586
  fetchFeatures(screenPoint?: ScreenPoint, options?: FetchFeaturesOptions): Promise<void>;
594
587
  /**
@@ -900,6 +900,30 @@ export abstract class ArcgisScene extends LitElement {
900
900
  * @param hitTarget
901
901
  * @param options
902
902
  * @since 5.1
903
+ * @example
904
+ * ```js
905
+ * const viewElement = document.querySelector("arcgis-map");
906
+ * // Get viewElement's click event
907
+ * viewElement.addEventListener("arcgisViewClick", async (event) => {
908
+ * const generator = await viewElement.fetchPopupFeatures(event.detail.screenPoint, {
909
+ * pointerType: event.detail.pointerType
910
+ * });
911
+ * // Access the features returned from the generator
912
+ * for await (const feature of generator) {
913
+ * console.log(feature);
914
+ * }
915
+ * });
916
+ * ```
917
+ * @example
918
+ * ```js
919
+ * // Wait for all the features to be available
920
+ * view.on("click", async (event) => {
921
+ * const generator = view.fetchPopupFeatures(event.screenPoint, {
922
+ * pointerType: event.pointerType
923
+ * });
924
+ *
925
+ * const features = await Array.fromAsync(generator);
926
+ * });
903
927
  */
904
928
  fetchPopupFeatures(hitTarget: ScreenPoint | ScreenRect, options?: FetchPopupFeaturesOptions): Promise<AsyncGenerator<Graphic>>;
905
929
  /**
@@ -113,10 +113,10 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
113
113
  * numBins: 30,
114
114
  * });
115
115
  *
116
- * slider.histogramConfig = {
117
- * bins: histogramResult.bins
118
- * };
119
- * ```
116
+ * slider.histogramConfig = {
117
+ * bins: histogramResult.bins
118
+ * };
119
+ * ```
120
120
  * @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
121
121
  */
122
122
  accessor histogramConfig: HistogramConfig | null | undefined;
@@ -167,7 +167,7 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
167
167
  * }
168
168
  * return value.toFixed(0);
169
169
  * };
170
- * ```
170
+ * ```
171
171
  */
172
172
  accessor inputFormatFunction: LabelFormatFunction | null | undefined;
173
173
  /**
@@ -212,7 +212,7 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
212
212
  * slider.labelFormatFunction = (value: number, type?: SliderFormatType): string => {
213
213
  * return (type === "value") ? value.toFixed(0) : value.toString();
214
214
  * };
215
- * ```
215
+ * ```
216
216
  */
217
217
  accessor labelFormatFunction: LabelFormatFunction | null | undefined;
218
218
  /**
@@ -336,12 +336,12 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
336
336
  * min: 10,
337
337
  * max: 25
338
338
  * };
339
- * ```
339
+ * ```
340
340
  * @example
341
341
  * ```js
342
342
  * // disables zooming on the slider
343
343
  * slider.zoomOptions = null;
344
- * ```
344
+ * ```
345
345
  * @example
346
346
  * ```js
347
347
  * // zooms the slider so thumbs can only be moved to positions above
@@ -349,7 +349,7 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
349
349
  * slider.zoomOptions = {
350
350
  * min: 10
351
351
  * };
352
- * ```
352
+ * ```
353
353
  * @example
354
354
  * ```js
355
355
  * // zooms the slider so thumbs can only be moved to positions below
@@ -357,7 +357,7 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
357
357
  * slider.zoomOptions = {
358
358
  * max: 25
359
359
  * };
360
- * ```
360
+ * ```
361
361
  */
362
362
  accessor zoomOptions: ZoomOptions | null | undefined;
363
363
  /** Permanently destroy the component. */
@@ -128,10 +128,10 @@ export abstract class ArcgisSliderClassedColorLegacy extends LitElement {
128
128
  * numBins: 30,
129
129
  * });
130
130
  *
131
- * slider.histogramConfig = {
132
- * bins: histogramResult.bins
133
- * };
134
- * ```
131
+ * slider.histogramConfig = {
132
+ * bins: histogramResult.bins
133
+ * };
134
+ * ```
135
135
  * @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
136
136
  */
137
137
  accessor histogramConfig: HistogramConfig | null | undefined;
@@ -182,7 +182,7 @@ export abstract class ArcgisSliderClassedColorLegacy extends LitElement {
182
182
  * }
183
183
  * return value.toFixed(0);
184
184
  * };
185
- * ```
185
+ * ```
186
186
  */
187
187
  accessor inputFormatFunction: LabelFormatFunction | null | undefined;
188
188
  /**
@@ -227,7 +227,7 @@ export abstract class ArcgisSliderClassedColorLegacy extends LitElement {
227
227
  * slider.labelFormatFunction = (value: number, type?: SliderFormatType): string => {
228
228
  * return (type === "value") ? value.toFixed(0) : value.toString();
229
229
  * };
230
- * ```
230
+ * ```
231
231
  */
232
232
  accessor labelFormatFunction: LabelFormatFunction | null | undefined;
233
233
  /**
@@ -121,10 +121,10 @@ export abstract class ArcgisSliderClassedSizeLegacy extends LitElement {
121
121
  * numBins: 30,
122
122
  * });
123
123
  *
124
- * slider.histogramConfig = {
125
- * bins: histogramResult.bins
126
- * };
127
- * ```
124
+ * slider.histogramConfig = {
125
+ * bins: histogramResult.bins
126
+ * };
127
+ * ```
128
128
  * @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
129
129
  */
130
130
  accessor histogramConfig: HistogramConfig | null | undefined;
@@ -175,7 +175,7 @@ export abstract class ArcgisSliderClassedSizeLegacy extends LitElement {
175
175
  * }
176
176
  * return value.toFixed(0);
177
177
  * };
178
- * ```
178
+ * ```
179
179
  */
180
180
  accessor inputFormatFunction: LabelFormatFunction | null | undefined;
181
181
  /**
@@ -220,7 +220,7 @@ export abstract class ArcgisSliderClassedSizeLegacy extends LitElement {
220
220
  * slider.labelFormatFunction = (value: number, type?: SliderFormatType): string => {
221
221
  * return (type === "value") ? value.toFixed(0) : value.toString();
222
222
  * };
223
- * ```
223
+ * ```
224
224
  */
225
225
  accessor labelFormatFunction: LabelFormatFunction | null | undefined;
226
226
  /**
@@ -127,10 +127,10 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
127
127
  * numBins: 30,
128
128
  * });
129
129
  *
130
- * slider.histogramConfig = {
131
- * bins: histogramResult.bins
132
- * };
133
- * ```
130
+ * slider.histogramConfig = {
131
+ * bins: histogramResult.bins
132
+ * };
133
+ * ```
134
134
  * @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
135
135
  */
136
136
  accessor histogramConfig: HistogramConfig | null | undefined;
@@ -181,7 +181,7 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
181
181
  * }
182
182
  * return value.toFixed(0);
183
183
  * };
184
- * ```
184
+ * ```
185
185
  */
186
186
  accessor inputFormatFunction: LabelFormatFunction | null | undefined;
187
187
  /**
@@ -226,7 +226,7 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
226
226
  * slider.labelFormatFunction = (value: number, type?: SliderFormatType): string => {
227
227
  * return (type === "value") ? value.toFixed(0) : value.toString();
228
228
  * };
229
- * ```
229
+ * ```
230
230
  */
231
231
  accessor labelFormatFunction: LabelFormatFunction | null | undefined;
232
232
  /**
@@ -332,12 +332,12 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
332
332
  * min: 10,
333
333
  * max: 25
334
334
  * };
335
- * ```
335
+ * ```
336
336
  * @example
337
337
  * ```js
338
338
  * // disables zooming on the slider
339
339
  * slider.zoomOptions = null;
340
- * ```
340
+ * ```
341
341
  * @example
342
342
  * ```js
343
343
  * // zooms the slider so thumbs can only be moved to positions above
@@ -345,7 +345,7 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
345
345
  * slider.zoomOptions = {
346
346
  * min: 10
347
347
  * };
348
- * ```
348
+ * ```
349
349
  * @example
350
350
  * ```js
351
351
  * // zooms the slider so thumbs can only be moved to positions below
@@ -353,7 +353,7 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
353
353
  * slider.zoomOptions = {
354
354
  * max: 25
355
355
  * };
356
- * ```
356
+ * ```
357
357
  */
358
358
  accessor zoomOptions: ZoomOptions | null | undefined;
359
359
  /** Permanently destroy the component. */
@@ -135,10 +135,10 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
135
135
  * numBins: 30,
136
136
  * });
137
137
  *
138
- * slider.histogramConfig = {
139
- * bins: histogramResult.bins
140
- * };
141
- * ```
138
+ * slider.histogramConfig = {
139
+ * bins: histogramResult.bins
140
+ * };
141
+ * ```
142
142
  * @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
143
143
  */
144
144
  accessor histogramConfig: HistogramConfig | null | undefined;
@@ -189,7 +189,7 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
189
189
  * }
190
190
  * return value.toFixed(0);
191
191
  * };
192
- * ```
192
+ * ```
193
193
  */
194
194
  accessor inputFormatFunction: LabelFormatFunction | null | undefined;
195
195
  /**
@@ -234,7 +234,7 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
234
234
  * slider.labelFormatFunction = (value: number, type?: SliderFormatType): string => {
235
235
  * return (type === "value") ? value.toFixed(0) : value.toString();
236
236
  * };
237
- * ```
237
+ * ```
238
238
  */
239
239
  accessor labelFormatFunction: LabelFormatFunction | null | undefined;
240
240
  /**
@@ -375,12 +375,12 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
375
375
  * min: 10,
376
376
  * max: 25
377
377
  * };
378
- * ```
378
+ * ```
379
379
  * @example
380
380
  * ```js
381
381
  * // disables zooming on the slider
382
382
  * slider.zoomOptions = null;
383
- * ```
383
+ * ```
384
384
  * @example
385
385
  * ```js
386
386
  * // zooms the slider so thumbs can only be moved to positions above
@@ -388,7 +388,7 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
388
388
  * slider.zoomOptions = {
389
389
  * min: 10
390
390
  * };
391
- * ```
391
+ * ```
392
392
  * @example
393
393
  * ```js
394
394
  * // zooms the slider so thumbs can only be moved to positions below
@@ -396,7 +396,7 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
396
396
  * slider.zoomOptions = {
397
397
  * max: 25
398
398
  * };
399
- * ```
399
+ * ```
400
400
  */
401
401
  accessor zoomOptions: ZoomOptions | null | undefined;
402
402
  /** Permanently destroy the component. */
@@ -115,10 +115,10 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
115
115
  * numBins: 30,
116
116
  * });
117
117
  *
118
- * slider.histogramConfig = {
119
- * bins: histogramResult.bins
120
- * };
121
- * ```
118
+ * slider.histogramConfig = {
119
+ * bins: histogramResult.bins
120
+ * };
121
+ * ```
122
122
  * @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
123
123
  */
124
124
  accessor histogramConfig: HistogramConfig | null | undefined;
@@ -169,7 +169,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
169
169
  * }
170
170
  * return value.toFixed(0);
171
171
  * };
172
- * ```
172
+ * ```
173
173
  */
174
174
  accessor inputFormatFunction: LabelFormatFunction | null | undefined;
175
175
  /**
@@ -214,7 +214,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
214
214
  * slider.labelFormatFunction = (value: number, type?: SliderFormatType): string => {
215
215
  * return (type === "value") ? value.toFixed(0) : value.toString();
216
216
  * };
217
- * ```
217
+ * ```
218
218
  */
219
219
  accessor labelFormatFunction: LabelFormatFunction | null | undefined;
220
220
  /**
@@ -322,12 +322,12 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
322
322
  * min: 10,
323
323
  * max: 25
324
324
  * };
325
- * ```
325
+ * ```
326
326
  * @example
327
327
  * ```js
328
328
  * // disables zooming on the slider
329
329
  * slider.zoomOptions = null;
330
- * ```
330
+ * ```
331
331
  * @example
332
332
  * ```js
333
333
  * // zooms the slider so thumbs can only be moved to positions above
@@ -335,7 +335,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
335
335
  * slider.zoomOptions = {
336
336
  * min: 10
337
337
  * };
338
- * ```
338
+ * ```
339
339
  * @example
340
340
  * ```js
341
341
  * // zooms the slider so thumbs can only be moved to positions below
@@ -343,7 +343,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
343
343
  * slider.zoomOptions = {
344
344
  * max: 25
345
345
  * };
346
- * ```
346
+ * ```
347
347
  */
348
348
  accessor zoomOptions: ZoomOptions | null | undefined;
349
349
  /** Permanently destroy the component. */
@@ -234,7 +234,7 @@ export abstract class ArcgisSliderScaleRange extends LitElement {
234
234
  * Each region comes from the [ISO 3166-1 alpha-2 code](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes).
235
235
  * See [SupportedRegion](https://developers.arcgis.com/javascript/latest/references/core/widgets/ScaleRangeSlider/types/#SupportedRegion) for the list of regions that are currently supported.
236
236
  */
237
- accessor region: SupportedRegion | string | undefined;
237
+ accessor region: SupportedRegion | undefined;
238
238
  /**
239
239
  * Indicates whether the world scale value is shown in the scale menu.
240
240
  *