@arcgis/common-components 5.1.0-next.6 → 5.1.0-next.60
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.
- package/README.md +24 -1
- package/dist/cdn/{4DCAUWTC.js → 5EKB3CUO.js} +1 -1
- package/dist/cdn/7AMLQYVM.js +4 -0
- package/dist/cdn/7JIHCVH3.js +2 -0
- package/dist/cdn/{YVSTPEPS.js → ALWVIWUC.js} +1 -1
- package/dist/cdn/{AXTSUI2Q.js → DLNJ7OOB.js} +1 -1
- package/dist/cdn/{7CI55VCH.js → DWXXQFPQ.js} +1 -1
- package/dist/cdn/{J5X5TNVW.js → DX3WIISQ.js} +1 -1
- package/dist/cdn/{C6JAR4IN.js → DYZ3HBS2.js} +1 -1
- package/dist/cdn/{7HQMPKZO.js → E4EVLDYS.js} +1 -1
- package/dist/cdn/{ZOWIFVL3.js → HEQCNDQR.js} +1 -1
- package/dist/cdn/MB7UDGWW.js +2 -0
- package/dist/cdn/MIIXLLQJ.js +2 -0
- package/dist/cdn/{3O7GAC23.js → N4R5SMWN.js} +1 -1
- package/dist/cdn/SDI7RS6X.js +2 -0
- package/dist/cdn/{XEB2RUND.js → SF2NJOD3.js} +1 -1
- package/dist/cdn/{ZLXAKPUH.js → SW77BUCP.js} +1 -1
- package/dist/cdn/V5Y3VGWN.js +2 -0
- package/dist/cdn/{7PB2GGQH.js → W2DRQHS5.js} +1 -1
- package/dist/cdn/{4CW7U27R.js → WOLQO3JI.js} +1 -1
- package/dist/cdn/{7Y42J3JI.js → YOEHJTF2.js} +1 -1
- package/dist/cdn/{23DDMSOB.js → ZCGHCFFN.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/commonFunctions.js +7 -3
- package/dist/components/arcgis-ckeditor5/customElement.d.ts +1 -0
- package/dist/components/arcgis-ckeditor5/types.d.ts +9 -0
- package/dist/components/arcgis-ckeditor5-popover/customElement.d.ts +1 -0
- package/dist/components/arcgis-ckeditor5-popover/customElement.js +1 -1
- package/dist/components/arcgis-color-input/customElement.d.ts +1 -0
- package/dist/components/arcgis-field-info/customElement.d.ts +3 -2
- package/dist/components/arcgis-field-info/utils/basic.d.ts +21 -2
- package/dist/components/arcgis-field-pick-list/customElement.d.ts +4 -3
- package/dist/components/arcgis-field-pick-list/customElement.js +1 -1
- package/dist/components/arcgis-field-pick-list/utils/types.d.ts +25 -3
- package/dist/components/arcgis-histogram/customElement.d.ts +21 -21
- package/dist/components/arcgis-histogram/customElement.js +81 -90
- package/dist/components/arcgis-histogram/types.d.ts +1 -3
- package/dist/components/arcgis-label-input/customElement.d.ts +6 -6
- package/dist/components/arcgis-label-input/customElement.js +22 -17
- package/dist/components/arcgis-picker-input/customElement.d.ts +1 -0
- package/dist/components/arcgis-picker-input/customElement.js +11 -11
- package/dist/components/arcgis-ramp-color/customElement.d.ts +2 -0
- package/dist/components/arcgis-ramp-color-break/customElement.d.ts +2 -0
- package/dist/components/arcgis-ramp-opacity/customElement.d.ts +1 -0
- package/dist/components/arcgis-slider/customElement.d.ts +52 -51
- package/dist/components/arcgis-slider/customElement.js +382 -343
- package/dist/components/arcgis-slider-input/customElement.d.ts +1 -0
- package/dist/components/arcgis-ticks/customElement.d.ts +8 -14
- package/dist/components/arcgis-ticks/customElement.js +1 -1
- package/dist/components/arcgis-ticks/types.d.ts +23 -0
- package/dist/components/arcgis-unique-values-list/customElement.d.ts +14 -5
- package/dist/components/arcgis-unique-values-list/customElement.js +158 -151
- package/dist/components/arcgis-unique-values-list/utils/basic.d.ts +14 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/types.d.ts +24 -7
- package/package.json +5 -5
- package/dist/cdn/2BDHDUXG.js +0 -2
- package/dist/cdn/57I35HLF.js +0 -2
- package/dist/cdn/6DQVLQL6.js +0 -2
- package/dist/cdn/EKKJN7WZ.js +0 -2
- package/dist/cdn/UTXWKXMT.js +0 -4
- package/dist/cdn/ZL3E4ZGE.js +0 -2
|
@@ -3,6 +3,7 @@ import type Color from "@arcgis/core/Color.js";
|
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { ArcgisRampColor } from "../arcgis-ramp-color/customElement.js";
|
|
5
5
|
|
|
6
|
+
/** @internal */
|
|
6
7
|
export abstract class ArcgisRampColorBreak extends LitElement {
|
|
7
8
|
/** @default "horizontal" */
|
|
8
9
|
accessor layout: ArcgisRampColor["layout"];
|
|
@@ -13,6 +14,7 @@ export abstract class ArcgisRampColorBreak extends LitElement {
|
|
|
13
14
|
accessor stops: ColorBreak[];
|
|
14
15
|
}
|
|
15
16
|
|
|
17
|
+
/** @internal */
|
|
16
18
|
export interface ColorBreak {
|
|
17
19
|
color: Color | string;
|
|
18
20
|
max: number;
|
|
@@ -3,6 +3,7 @@ import type Color from "@arcgis/core/Color.js";
|
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { ArcgisRampColor } from "../arcgis-ramp-color/customElement.js";
|
|
5
5
|
|
|
6
|
+
/** @internal */
|
|
6
7
|
export abstract class ArcgisRampOpacity extends LitElement {
|
|
7
8
|
accessor fillColor: Color | string;
|
|
8
9
|
/** @default "horizontal" */
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
3
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
3
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
4
|
import type { Popover as Popover } from "@esri/calcite-components/components/calcite-popover";
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* The Slider component is used to filter data or collect numeric input from users. It supports single or multiple thumbs, configured via the
|
|
9
|
-
* [values](
|
|
10
|
-
* configurable value [precision](
|
|
8
|
+
* [values](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#values) property. The Slider can be displayed in horizontal or vertical [layout](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#layout), supports snapping to defined [steps](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#steps),
|
|
9
|
+
* configurable value [precision](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#precision), and custom [labelFormatter](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#labelFormatter). It also includes keyboard interaction,
|
|
11
10
|
* optional editable labels, and customizable popover content.
|
|
12
11
|
*
|
|
13
12
|
* The slider component can be set up with the [arcgis-ticks](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/) component. See the example below:
|
|
@@ -18,17 +17,19 @@ import type { Popover as Popover } from "@esri/calcite-components/components/cal
|
|
|
18
17
|
* </arcgis-slider>
|
|
19
18
|
* ```
|
|
20
19
|
*
|
|
21
|
-
* ### Which slider should you use: arcgis-slider or calcite-slider
|
|
20
|
+
* > ### Which slider should you use: `arcgis-slider` or `calcite-slider`?
|
|
22
21
|
* >
|
|
23
|
-
* >
|
|
24
|
-
* >
|
|
22
|
+
* > It is recommended to use [`calcite-slider`](https://developers.arcgis.com/calcite-design-system/components/slider/) for most use cases, as the component
|
|
23
|
+
* > offers a consistent UI/UX and accommodates the majority of implementations.
|
|
25
24
|
* >
|
|
26
|
-
* > Use `arcgis-slider`
|
|
27
|
-
* >
|
|
28
|
-
* > *
|
|
29
|
-
* >
|
|
30
|
-
* > *
|
|
31
|
-
* >
|
|
25
|
+
* > Use `arcgis-slider` for advanced use cases, where solutions seek the following:
|
|
26
|
+
* >
|
|
27
|
+
* > * [layout](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#layout): configurations, where `arcgis-slider` offers a `layout` of `"vertical"`.
|
|
28
|
+
* > * Display more than two values in the component.
|
|
29
|
+
* > * A custom range display, where `arcgis-slider` supports [fullRangeMin](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#fullRangeMin) and
|
|
30
|
+
* > [fullRangeMax](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#fullRangeMax) for displaying a wider range than the interactive range.
|
|
31
|
+
* > * Additional slot configurations for adding elements within or over the component, where `arcgis-slider` can slot
|
|
32
|
+
* > content using the `content-start`, `content-end`, and `popover` slots.
|
|
32
33
|
*
|
|
33
34
|
* @slot [content-start] - A slot for elements before the track.
|
|
34
35
|
* @slot [content-end] - A slot for elements after the track.
|
|
@@ -46,9 +47,9 @@ export abstract class ArcgisSlider extends LitElement {
|
|
|
46
47
|
* - a `number` when a single value is active
|
|
47
48
|
* - `"all"` when the range (segment) is active
|
|
48
49
|
*
|
|
49
|
-
* Listen to [arcgisActiveValueChange](
|
|
50
|
+
* Listen to [@arcgisActiveValueChange](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#event-arcgisActiveValueChange) to be notified when a value becomes active or inactive.
|
|
50
51
|
*
|
|
51
|
-
* @see [arcgisActiveValueChange](
|
|
52
|
+
* @see [@arcgisActiveValueChange](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#event-arcgisActiveValueChange)
|
|
52
53
|
*/
|
|
53
54
|
get activeValue(): number | "all" | undefined;
|
|
54
55
|
/**
|
|
@@ -83,12 +84,12 @@ export abstract class ArcgisSlider extends LitElement {
|
|
|
83
84
|
accessor fillPlacement: "end" | "none" | "start";
|
|
84
85
|
/**
|
|
85
86
|
* Sets the maximum value of the slider display full range.
|
|
86
|
-
* When specified, the slider track is scaled from [fullRangeMin](
|
|
87
|
-
* the thumbs remain constrained to the interactive range defined by [min](
|
|
87
|
+
* When specified, the slider track is scaled from [fullRangeMin](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#fullRangeMin) to `fullRangeMax`, while
|
|
88
|
+
* the thumbs remain constrained to the interactive range defined by [min](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#min) and [max](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#max).
|
|
88
89
|
*
|
|
89
|
-
* The `fullRangeMax` must be greater than or equal to [max](
|
|
90
|
+
* The `fullRangeMax` must be greater than or equal to [max](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#max) property of the slider.
|
|
90
91
|
*
|
|
91
|
-
* @see [fullRangeMin](
|
|
92
|
+
* @see [fullRangeMin](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#fullRangeMin)
|
|
92
93
|
* @example
|
|
93
94
|
* ```html
|
|
94
95
|
* <!-- Slider with a full range from 0 to 100, while only allowing thumb values between 25 and 75. -->
|
|
@@ -98,12 +99,12 @@ export abstract class ArcgisSlider extends LitElement {
|
|
|
98
99
|
accessor fullRangeMax: number | undefined;
|
|
99
100
|
/**
|
|
100
101
|
* Sets the minimum value of the slider display full range.
|
|
101
|
-
* When specified, the slider track is scaled from `fullRangeMin` to [fullRangeMax](
|
|
102
|
-
* the thumbs remain constrained to the range defined by [min](
|
|
102
|
+
* When specified, the slider track is scaled from `fullRangeMin` to [fullRangeMax](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#fullRangeMax), while
|
|
103
|
+
* the thumbs remain constrained to the range defined by [min](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#min) and [max](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#max).
|
|
103
104
|
*
|
|
104
|
-
* The `fullRangeMin` must be less than or equal to [min](
|
|
105
|
+
* The `fullRangeMin` must be less than or equal to [min](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#min) property of the slider.
|
|
105
106
|
*
|
|
106
|
-
* @see [fullRangeMax](
|
|
107
|
+
* @see [fullRangeMax](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#fullRangeMax)
|
|
107
108
|
* @example
|
|
108
109
|
* ```html
|
|
109
110
|
* <!-- Slider with a full range from 0 to 100, while only allowing thumb values between 25 and 75. -->
|
|
@@ -123,7 +124,7 @@ export abstract class ArcgisSlider extends LitElement {
|
|
|
123
124
|
*/
|
|
124
125
|
accessor keyboardLargeStep: number;
|
|
125
126
|
/**
|
|
126
|
-
* Allows customizing how slider labels are formatted for [min](
|
|
127
|
+
* Allows customizing how slider labels are formatted for [min](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#min), [max](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#max), and thumb values.
|
|
127
128
|
* The formatted value is used for the visible labels and for the thumb’s accessible value text via `aria-valuetext`.
|
|
128
129
|
* Return `null` or `undefined` to use the default formatting.
|
|
129
130
|
*
|
|
@@ -150,24 +151,24 @@ export abstract class ArcgisSlider extends LitElement {
|
|
|
150
151
|
* };
|
|
151
152
|
* ```
|
|
152
153
|
*/
|
|
153
|
-
accessor labelFormatter: (
|
|
154
|
+
accessor labelFormatter: (value: number, type: "max" | "min" | "value", defaultFormatter: (value: number) => string) => string | null | undefined;
|
|
154
155
|
/**
|
|
155
156
|
* Determines the layout/orientation of the Slider component. By default, the slider will render horizontally with the min value on the left side
|
|
156
157
|
* of the track.
|
|
157
158
|
*
|
|
158
159
|
* @default "horizontal"
|
|
159
|
-
* @see [mirrored](
|
|
160
|
+
* @see [mirrored](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#mirrored)
|
|
160
161
|
*/
|
|
161
162
|
accessor layout: "horizontal" | "vertical";
|
|
162
163
|
/**
|
|
163
164
|
* The maximum value for the slider thumbs. Thumbs will not move past this value.
|
|
164
165
|
*
|
|
165
|
-
* To display the `max` label on the slider, set [showRangeLabels](
|
|
166
|
-
* To allow the end user to modify the `max` value, set [rangeLabelsEditingEnabled](
|
|
166
|
+
* To display the `max` label on the slider, set [showRangeLabels](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#showRangeLabels) to `true`.
|
|
167
|
+
* To allow the end user to modify the `max` value, set [rangeLabelsEditingEnabled](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#rangeLabelsEditingEnabled) to `true`.
|
|
167
168
|
*
|
|
168
|
-
* @see [rangeLabelsEditingEnabled](
|
|
169
|
-
* @see [showRangeLabels](
|
|
170
|
-
* @see [fullRangeMax](
|
|
169
|
+
* @see [rangeLabelsEditingEnabled](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#rangeLabelsEditingEnabled)
|
|
170
|
+
* @see [showRangeLabels](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#showRangeLabels)
|
|
171
|
+
* @see [fullRangeMax](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#fullRangeMax)
|
|
171
172
|
*/
|
|
172
173
|
accessor max: number;
|
|
173
174
|
/**
|
|
@@ -201,18 +202,18 @@ export abstract class ArcgisSlider extends LitElement {
|
|
|
201
202
|
}>;
|
|
202
203
|
/**
|
|
203
204
|
* The minimum value for the slider thumbs. Thumbs will not move past this value.
|
|
204
|
-
* To display the `min` label on the slider, set [showRangeLabels](
|
|
205
|
-
* To allow the end user to modify the `min` value, set [rangeLabelsEditingEnabled](
|
|
205
|
+
* To display the `min` label on the slider, set [showRangeLabels](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#showRangeLabels) to `true`.
|
|
206
|
+
* To allow the end user to modify the `min` value, set [rangeLabelsEditingEnabled](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#rangeLabelsEditingEnabled) to `true`.
|
|
206
207
|
*
|
|
207
|
-
* @see [rangeLabelsEditingEnabled](
|
|
208
|
-
* @see [showRangeLabels](
|
|
208
|
+
* @see [rangeLabelsEditingEnabled](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#rangeLabelsEditingEnabled)
|
|
209
|
+
* @see [showRangeLabels](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#showRangeLabels)
|
|
209
210
|
*/
|
|
210
211
|
accessor min: number;
|
|
211
212
|
/**
|
|
212
213
|
* When `true`, the slider will display values from high to low. This inverts the direction of the slider.
|
|
213
214
|
*
|
|
214
215
|
* @default false
|
|
215
|
-
* @see [layout](
|
|
216
|
+
* @see [layout](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#layout)
|
|
216
217
|
*/
|
|
217
218
|
accessor mirrored: boolean;
|
|
218
219
|
/**
|
|
@@ -268,8 +269,8 @@ export abstract class ArcgisSlider extends LitElement {
|
|
|
268
269
|
* The labels of the thumbs will display two decimal places, but the precision of the actual
|
|
269
270
|
* thumb values will not be lost even when the user slides or moves the thumb.
|
|
270
271
|
*
|
|
271
|
-
* Keep in mind this property rounds thumb [values](
|
|
272
|
-
* for formatting purposes. To format thumb `labels`, use the [labelFormatter](
|
|
272
|
+
* Keep in mind this property rounds thumb [values](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#values) and shouldn't be used exclusively
|
|
273
|
+
* for formatting purposes. To format thumb `labels`, use the [labelFormatter](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#labelFormatter)
|
|
273
274
|
* property.
|
|
274
275
|
*
|
|
275
276
|
* @default 4
|
|
@@ -282,17 +283,17 @@ export abstract class ArcgisSlider extends LitElement {
|
|
|
282
283
|
*/
|
|
283
284
|
accessor precision: number;
|
|
284
285
|
/**
|
|
285
|
-
* When `true`, users can edit the [min](
|
|
286
|
+
* When `true`, users can edit the [min](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#min) and [max](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#max) range labels via keyboard input.
|
|
286
287
|
* Editing these labels updates the slider’s interactive range.
|
|
287
288
|
*
|
|
288
289
|
* @default false
|
|
289
290
|
*/
|
|
290
291
|
accessor rangeLabelsEditingEnabled: boolean;
|
|
291
292
|
/**
|
|
292
|
-
* Controls where the [min](
|
|
293
|
-
* This property only affects the slider when [layout](
|
|
293
|
+
* Controls where the [min](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#min) and [max](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#max) range labels are positioned relative to the track.
|
|
294
|
+
* This property only affects the slider when [layout](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#layout) is `"horizontal"`.
|
|
294
295
|
*
|
|
295
|
-
* - `"center"` (default): Places the [min](
|
|
296
|
+
* - `"center"` (default): Places the [min](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#min) and [max](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#max) labels aligned with the track.
|
|
296
297
|
* - `"end"`: Places the range labels below the the track.
|
|
297
298
|
*
|
|
298
299
|
* @default "center"
|
|
@@ -305,7 +306,7 @@ export abstract class ArcgisSlider extends LitElement {
|
|
|
305
306
|
*/
|
|
306
307
|
accessor segmentsDraggingDisabled: boolean;
|
|
307
308
|
/**
|
|
308
|
-
* Indicates whether to [min](
|
|
309
|
+
* Indicates whether to [min](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#min) and [max](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#max) range labels are visible on the slider.
|
|
309
310
|
*
|
|
310
311
|
* @default false
|
|
311
312
|
*/
|
|
@@ -320,7 +321,7 @@ export abstract class ArcgisSlider extends LitElement {
|
|
|
320
321
|
* slider range at an interval of the provided value. In this scenario,
|
|
321
322
|
* the user may only slide the thumbs to values at the provided interval.
|
|
322
323
|
* For example, if a value of `0.5` is set here, and the slider
|
|
323
|
-
* [min](
|
|
324
|
+
* [min](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#min) is `0` and the slider [max](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#max) is `10`, then the user will
|
|
324
325
|
* only be able to update the thumbs to values of 0, 0.5, 1.0, 1.5, 2.0, etc.
|
|
325
326
|
*
|
|
326
327
|
* @example
|
|
@@ -352,7 +353,7 @@ export abstract class ArcgisSlider extends LitElement {
|
|
|
352
353
|
* when the user clicks a thumb value label. This allows the user to move the slider
|
|
353
354
|
* thumb to precise values without sliding the thumbs.
|
|
354
355
|
*
|
|
355
|
-
* 
|
|
356
357
|
*
|
|
357
358
|
* @default false
|
|
358
359
|
*/
|
|
@@ -368,9 +369,9 @@ export abstract class ArcgisSlider extends LitElement {
|
|
|
368
369
|
/** Permanently destroys the component. */
|
|
369
370
|
destroy(): Promise<void>;
|
|
370
371
|
/**
|
|
371
|
-
* Fires when the [activeValue](
|
|
372
|
-
* This event does not fire when [values](
|
|
373
|
-
* [arcgisChange](
|
|
372
|
+
* Fires when the [activeValue](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#activeValue) changes as a thumb or the range gains or loses focus.
|
|
373
|
+
* This event does not fire when [values](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#values) change. Use [@arcgisInput](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#event-arcgisInput) for continuous updates or
|
|
374
|
+
* [@arcgisChange](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#event-arcgisChange) when the interaction is committed.
|
|
374
375
|
*
|
|
375
376
|
* @example
|
|
376
377
|
* ```js
|
|
@@ -396,13 +397,13 @@ export abstract class ArcgisSlider extends LitElement {
|
|
|
396
397
|
*
|
|
397
398
|
* renderActive();
|
|
398
399
|
* ```
|
|
399
|
-
* @see [activeValue](
|
|
400
|
+
* @see [activeValue](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#activeValue)
|
|
400
401
|
*/
|
|
401
402
|
readonly arcgisActiveValueChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
402
403
|
/**
|
|
403
404
|
* Fires when the thumb or range is released on the component.
|
|
404
405
|
*
|
|
405
|
-
* Use [arcgisInput](
|
|
406
|
+
* Use [@arcgisInput](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#event-arcgisInput) for continuous updates during a drag.
|
|
406
407
|
*
|
|
407
408
|
* @example
|
|
408
409
|
* ```js
|
|
@@ -450,8 +451,8 @@ export abstract class ArcgisSlider extends LitElement {
|
|
|
450
451
|
*/
|
|
451
452
|
readonly arcgisInput: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
452
453
|
/**
|
|
453
|
-
* Fires when the slider's [min](
|
|
454
|
-
* This occurs when the user edits the [min](
|
|
454
|
+
* Fires when the slider's [min](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#min) and [max](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#max) range changes.
|
|
455
|
+
* This occurs when the user edits the [min](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#min) or [max](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-slider/#max) range labels (when enabled).
|
|
455
456
|
*
|
|
456
457
|
* @example
|
|
457
458
|
* ```js
|