@arcgis/common-components 6.0.0-next.4 → 6.0.0-next.40

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 (144) hide show
  1. package/dist/cdn/{B33S3YBM.js → 24FE5GMT.js} +1 -1
  2. package/dist/cdn/2XTXXTEZ.js +2 -0
  3. package/dist/cdn/3QTMLOOM.js +2 -0
  4. package/dist/cdn/4X2SOHYB.js +2 -0
  5. package/dist/cdn/{OTWADB4M.js → 4ZVHN3V7.js} +1 -1
  6. package/dist/cdn/55VDXBLV.js +2 -0
  7. package/dist/cdn/5YQK5TCH.js +2 -0
  8. package/dist/cdn/{EB5MDEWF.js → 7S4ZZPSA.js} +1 -1
  9. package/dist/cdn/7VGSZDT7.js +2 -0
  10. package/dist/cdn/ABDFJWQO.js +2 -0
  11. package/dist/cdn/BAMK6STW.js +2 -0
  12. package/dist/cdn/CC74AHNF.js +2 -0
  13. package/dist/cdn/CCJ7MF3B.js +2 -0
  14. package/dist/cdn/{TO3YFXVJ.js → EYOJNGUG.js} +1 -1
  15. package/dist/cdn/{MFGUTQRR.js → F5IBLVYU.js} +1 -1
  16. package/dist/cdn/HMGFS4YI.js +2 -0
  17. package/dist/cdn/HYR5WUUX.js +2 -0
  18. package/dist/cdn/JAMYEW7N.js +2 -0
  19. package/dist/cdn/JCWKK6FB.js +2 -0
  20. package/dist/cdn/LIFJOO55.js +2 -0
  21. package/dist/cdn/{LNXO5YIS.js → LPKRIISW.js} +1 -1
  22. package/dist/cdn/LRP7XW5X.js +2 -0
  23. package/dist/cdn/{KDCSDIUQ.js → LZPZYGFW.js} +1 -1
  24. package/dist/cdn/{JTQN5KMG.js → MWQVR7SB.js} +1 -1
  25. package/dist/cdn/N5YNSPMD.js +2 -0
  26. package/dist/cdn/NEJQBOXB.js +8207 -0
  27. package/dist/cdn/NSTQTWS5.js +2 -0
  28. package/dist/cdn/ONYZMGVN.js +2 -0
  29. package/dist/cdn/OQRMI3K5.js +2 -0
  30. package/dist/cdn/{34AP2EEB.js → OVW45JGX.js} +1 -1
  31. package/dist/cdn/Q73UFMJY.js +4 -0
  32. package/dist/cdn/{BZFAYVKR.js → RBTFN5SR.js} +1 -1
  33. package/dist/cdn/RU4PILTH.js +2 -0
  34. package/dist/cdn/RU722XDV.js +2 -0
  35. package/dist/cdn/S2EORL4N.js +2 -0
  36. package/dist/cdn/S3GK6UB7.js +2 -0
  37. package/dist/cdn/T7LZIFNY.js +2 -0
  38. package/dist/cdn/TZBDDGN3.js +2 -0
  39. package/dist/cdn/UOXUUCE7.js +3 -0
  40. package/dist/cdn/VLVINHT3.js +2 -0
  41. package/dist/cdn/WDQV5Y4K.js +2 -0
  42. package/dist/cdn/{OMROUY3L.js → X44CHGA6.js} +1 -1
  43. package/dist/cdn/XMMFL5H3.js +2 -0
  44. package/dist/cdn/{IECXEZNI.js → Y72KV72H.js} +1 -1
  45. package/dist/cdn/{D4UHHQ35.js → YOPZGJMF.js} +1 -1
  46. package/dist/cdn/ZJMMAZFG.js +2 -0
  47. package/dist/cdn/assets/layer-replace/t9n/messages.en.json +1 -0
  48. package/dist/cdn/index.js +1 -1
  49. package/dist/cdn/main.css +1 -1
  50. package/dist/chunks/sharedCacheDirective.js +74 -0
  51. package/dist/chunks/utils.js +75 -37
  52. package/dist/chunks/utils2.js +9 -14
  53. package/dist/chunks/well-known-sizes-controller.js +42 -0
  54. package/dist/components/arcgis-ckeditor5/customElement.d.ts +0 -9
  55. package/dist/components/arcgis-ckeditor5/customElement.js +1336 -1339
  56. package/dist/components/arcgis-ckeditor5-popover/customElement.d.ts +0 -6
  57. package/dist/components/arcgis-ckeditor5-popover/customElement.js +14 -17
  58. package/dist/components/arcgis-color-input/customElement.d.ts +0 -20
  59. package/dist/components/arcgis-color-input/customElement.js +33 -33
  60. package/dist/components/arcgis-color-input/index.js +2 -1
  61. package/dist/components/arcgis-field-info/customElement.d.ts +0 -3
  62. package/dist/components/arcgis-field-info/customElement.js +41 -41
  63. package/dist/components/arcgis-field-pick-list/customElement.d.ts +0 -28
  64. package/dist/components/arcgis-field-pick-list/customElement.js +114 -127
  65. package/dist/components/arcgis-field-pick-list/index.js +1 -1
  66. package/dist/components/arcgis-html-content/customElement.d.ts +42 -0
  67. package/dist/components/arcgis-html-content/customElement.js +71 -0
  68. package/dist/components/arcgis-html-content/index.d.ts +1 -0
  69. package/dist/components/arcgis-html-content/index.js +1 -0
  70. package/dist/components/arcgis-label-input/customElement.js +1 -1
  71. package/dist/components/arcgis-layer-replace/customElement.d.ts +437 -0
  72. package/dist/components/arcgis-layer-replace/customElement.js +376 -0
  73. package/dist/components/arcgis-layer-replace/index.d.ts +1 -0
  74. package/dist/components/arcgis-layer-replace/index.js +7 -0
  75. package/dist/components/arcgis-slider/customElement.js +546 -451
  76. package/dist/components/arcgis-slider-field/customElement.d.ts +43 -41
  77. package/dist/components/arcgis-slider-field/customElement.js +45 -39
  78. package/dist/components/arcgis-slider-histogram-range/customElement.d.ts +21 -19
  79. package/dist/components/arcgis-slider-histogram-range/customElement.js +28 -22
  80. package/dist/components/arcgis-slider-input/customElement.d.ts +0 -3
  81. package/dist/components/arcgis-slider-input/customElement.js +13 -13
  82. package/dist/components/arcgis-ticks/customElement.js +8 -8
  83. package/dist/components/arcgis-toolbar/customElement.d.ts +25 -2
  84. package/dist/components/arcgis-toolbar/customElement.js +55 -46
  85. package/dist/components/arcgis-toolbar/types.d.ts +21 -1
  86. package/dist/components/arcgis-toolbar-action/customElement.js +17 -18
  87. package/dist/components/arcgis-toolbar-group/customElement.js +20 -17
  88. package/dist/components/arcgis-toolbar-item/customElement.d.ts +2 -2
  89. package/dist/components/arcgis-toolbar-item/customElement.js +14 -14
  90. package/dist/components/arcgis-toolbar-more-button/customElement.js +28 -26
  91. package/dist/components/arcgis-toolbar-split-button/customElement.js +34 -34
  92. package/dist/components/arcgis-toolbar-stack/customElement.d.ts +9 -2
  93. package/dist/components/arcgis-toolbar-stack/customElement.js +63 -125
  94. package/dist/components/arcgis-unique-values-list/customElement.js +11 -11
  95. package/dist/components/arcgis-unique-values-list/index.js +1 -1
  96. package/dist/components/arcgis-value-picker/customElement.js +22 -26
  97. package/dist/components/arcgis-value-picker-combobox/customElement.js +4 -4
  98. package/dist/components/arcgis-value-picker-label/customElement.js +5 -5
  99. package/dist/components/arcgis-value-picker-slider/customElement.d.ts +12 -19
  100. package/dist/components/arcgis-value-picker-slider/customElement.js +17 -17
  101. package/dist/docs/api.json +1 -1
  102. package/dist/docs/docs.json +1 -1
  103. package/dist/docs/vscode.css-custom-data.json +1 -1
  104. package/dist/docs/vscode.html-custom-data.json +1 -1
  105. package/dist/docs/web-types.json +1 -1
  106. package/dist/index.d.ts +15 -20
  107. package/dist/index.js +8 -5
  108. package/dist/loader.js +10 -8
  109. package/dist/types/lumina.d.ts +17 -19
  110. package/dist/types/preact.d.ts +19 -19
  111. package/dist/types/react.d.ts +21 -19
  112. package/dist/types/stencil.d.ts +17 -19
  113. package/dist/utils/sharedCacheDirective.d.ts +68 -0
  114. package/dist/utils/types.d.ts +0 -12
  115. package/package.json +7 -7
  116. package/dist/cdn/32MHBJSZ.js +0 -2
  117. package/dist/cdn/3AFEXHZ5.js +0 -2
  118. package/dist/cdn/5EA7SGHX.js +0 -2
  119. package/dist/cdn/5XRYXPOX.js +0 -2
  120. package/dist/cdn/735FTIBP.js +0 -2
  121. package/dist/cdn/ATLXGXTH.js +0 -2
  122. package/dist/cdn/BCN6LPOG.js +0 -4
  123. package/dist/cdn/CKGWDI7B.js +0 -2
  124. package/dist/cdn/DPJGC3YQ.js +0 -2
  125. package/dist/cdn/DR2THZQU.js +0 -8208
  126. package/dist/cdn/EM4OQXFS.js +0 -2
  127. package/dist/cdn/GDRW3MIZ.js +0 -2
  128. package/dist/cdn/HJ3EJZFF.js +0 -2
  129. package/dist/cdn/HYFFUYAU.js +0 -2
  130. package/dist/cdn/LLATF73T.js +0 -2
  131. package/dist/cdn/M2J3GPM4.js +0 -2
  132. package/dist/cdn/M3SFEFPX.js +0 -2
  133. package/dist/cdn/OIGA7XBZ.js +0 -2
  134. package/dist/cdn/QCUF7B3I.js +0 -2
  135. package/dist/cdn/S4XOD4YS.js +0 -2
  136. package/dist/cdn/TXQKK4DJ.js +0 -2
  137. package/dist/cdn/UIBTY5FF.js +0 -2
  138. package/dist/cdn/X6DNIKWY.js +0 -2
  139. package/dist/cdn/XUPA27AW.js +0 -2
  140. package/dist/cdn/XX2ZCFWI.js +0 -2
  141. package/dist/cdn/YEFEVEP6.js +0 -2
  142. package/dist/cdn/ZCVP2N2O.js +0 -2
  143. package/dist/cdn/ZGYD3GAS.js +0 -2
  144. package/dist/chunks/toolbar.js +0 -9
@@ -16,10 +16,7 @@ export abstract class ArcgisValuePickerSlider extends LitElement {
16
16
  /**
17
17
  * Determines whether the user can interact with the next button.
18
18
  * This property is automatically set to `false` when the index of [currentValue](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#currentValue) matches the last index of
19
- * [steps](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#steps). Regardless of the [layout](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#layout) property's value, the slider thumb will
20
- * move in the direction that the next button is pointing. This means that when the slider is visually flipped
21
- * (`layout` is `"horizontal"` and `mirrored` is `true`, or `layout` is `"vertical"` and `mirrored` is `false`), this property becomes `false`
22
- * when `currentValue` is equal to the first index of `steps` rather than the last.
19
+ * [steps](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#steps), or the first index if [mirrored](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#mirrored) is true.
23
20
  *
24
21
  * @default false
25
22
  * @example
@@ -47,10 +44,7 @@ export abstract class ArcgisValuePickerSlider extends LitElement {
47
44
  /**
48
45
  * Determines whether the user can interact with the previous button.
49
46
  * This property is automatically set to `false` when the index of [currentValue](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#currentValue) matches the first index of
50
- * [steps](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#steps). Regardless of the [layout](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#layout) property's value, the slider thumb will
51
- * move in the direction that the previous button is pointing. This means that when the slider is visually flipped
52
- * (`layout` is `"horizontal"` and `mirrored` is `true`, or `layout` is `"vertical"` and `mirrored` is `false`), this property becomes `false`
53
- * when `currentValue` is equal to the last index of `steps` rather than the first.
47
+ * [steps](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#steps), or the last index if [mirrored](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#mirrored) is true.
54
48
  *
55
49
  * @default false
56
50
  * @example
@@ -59,7 +53,7 @@ export abstract class ArcgisValuePickerSlider extends LitElement {
59
53
  * const valuePickerSlider = document.querySelector("arcgis-value-picker-slider");
60
54
  *
61
55
  * // `steps` will be rendered on a vertical track where "3" is the topmost value.
62
- * // The previous button (pointing upwards) will fail to increment the index of `steps` by 1.
56
+ * // The previous button (pointing down) will fail to decrement the index of `steps` by 1.
63
57
  *
64
58
  * valuePickerSlider.steps = [1, 2, 3];
65
59
  * valuePickerSlider.currentValue = 1;
@@ -67,16 +61,16 @@ export abstract class ArcgisValuePickerSlider extends LitElement {
67
61
  * valuePicker.layout = "vertical";
68
62
  *
69
63
  * if (valuePickerSlider.canPrevious) {
70
- * valuePicker.previous(); // this line will execute
64
+ * valuePicker.previous();
71
65
  * } else {
72
- * console.log("Cannot step upward.");
66
+ * console.log("Cannot step backward."); // this line will execute
73
67
  * }
74
68
  * ```
75
69
  */
76
70
  accessor canPrevious: boolean;
77
71
  /**
78
72
  * The value of the currently selected index in the slider's [steps](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#steps). If this property is not assigned by the
79
- * user, it will default to the last index of `steps`.
73
+ * user, it will default to [max](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#max).
80
74
  */
81
75
  accessor currentValue: number | undefined;
82
76
  /**
@@ -115,15 +109,13 @@ export abstract class ArcgisValuePickerSlider extends LitElement {
115
109
  accessor labels: number[] | undefined;
116
110
  /**
117
111
  * Determines whether the slider should be oriented horizontally or vertically. Note that if [arcgis-value-picker.layout](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/#layout) on the Value Picker component
118
- * is mutated, this property will update to match it. The UI will behave as if the indices of [steps](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#steps) will ascend left to right, or bottom
119
- * to top on a horizontal or vertical layout, respectively. If you wish for the slider to be visually mirrored, set the [mirrored](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#mirrored)
120
- * property to true. This will also make the 'next' button responsible for stepping backwards to the previous index of `steps`, and
121
- * 'previous' responsible for advancing to the next index of `steps`.
112
+ * is mutated, this property will update to match it. If you wish for the slider to be visually mirrored, set the [mirrored](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#mirrored)
113
+ * property to true.
122
114
  *
123
115
  * @default "horizontal"
124
116
  * @example
125
117
  * ```js
126
- * // Display a vertical slider with `steps` ascending bottom to top. In this instance, the 'next'
118
+ * // Display a vertical slider with `steps` ascending bottom to top. In this instance, the 'previous'
127
119
  * // button (pointing downwards) will bring `currentValue` closer to 0 to match the slider's appearance.
128
120
  *
129
121
  * const valuePickerSlider = document.querySelector("arcgis-value-picker-slider");
@@ -152,8 +144,9 @@ export abstract class ArcgisValuePickerSlider extends LitElement {
152
144
  /** Positions along the slider track rendered as short tick marks under the track. */
153
145
  accessor minorTicks: number[] | undefined;
154
146
  /**
155
- * When `true`, the slider will display its [steps](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#steps) from right to left, or top to bottom,
156
- * depending on the value of [layout](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#layout). This inverts the direction of the slider.
147
+ * When `true`, the slider will display values increasing from right to left, or top to bottom,
148
+ * depending on the value of [layout](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#layout). This inverts the direction of the slider,
149
+ * where pressing the 'next' button will traverse the [steps](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/#steps) array in reverse order.
157
150
  *
158
151
  * @default false
159
152
  */
@@ -1,10 +1,10 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as r } from "../../chunks/runtime.js";
3
- import { LitElement as c } from "@arcgis/lumina";
4
- import { css as l, html as s } from "lit";
2
+ import { c } from "../../chunks/runtime.js";
3
+ import { LitElement as r } from "@arcgis/lumina";
4
+ import { css as l, html as t } from "lit";
5
5
  import { usePropertyChange as n } from "@arcgis/lumina/controllers";
6
- const h = l`:host{display:flex;flex:auto;padding-inline:var(--calcite-space-sm)}arcgis-slider{flex:auto}arcgis-ticks{--arcgis-ticks-font-size: var(--calcite-font-size--3);--arcgis-ticks-gap: var(--calcite-space-base)}.content-end-stack{display:flex;flex-direction:column;flex:1}.ticks-stack{height:var(--calcite-space-sm);position:relative}.ticks-stack arcgis-ticks{inset:var(--calcite-space-none);position:absolute}.label-ticks{--arcgis-ticks-tick-length: var(--calcite-space-2xs);--arcgis-ticks-tick-color: transparent}.minor-ticks{--arcgis-ticks-tick-length: var(--calcite-space-2xs)}.major-ticks{--arcgis-ticks-tick-length: var(--calcite-space-sm)}:host([layout="vertical"]){padding-inline:var(--calcite-space-none);width:var(--calcite-size-xl);arcgis-ticks{--arcgis-ticks-gap: var(--calcite-space-sm)}.content-end-stack{position:relative}.ticks-stack{height:100%}.label-ticks{inset:var(--calcite-space-none);position:absolute}}`;
7
- class o extends c {
6
+ const h = l`:host{display:flex;flex:auto;inline-size:300px;min-block-size:0;min-inline-size:0;padding-inline:var(--calcite-space-sm)}arcgis-slider{flex:auto}arcgis-ticks{--arcgis-ticks-font-size: var(--calcite-font-size--3);--arcgis-ticks-gap: var(--calcite-space-base)}.content-end-stack{display:flex;flex-direction:column;flex:1}.ticks-stack{height:var(--calcite-space-sm);position:relative}.ticks-stack arcgis-ticks{inset:var(--calcite-space-none);position:absolute}.label-ticks{--arcgis-ticks-tick-length: var(--calcite-space-2xs);--arcgis-ticks-tick-color: transparent}.minor-ticks{--arcgis-ticks-tick-length: var(--calcite-space-2xs)}.major-ticks{--arcgis-ticks-tick-length: var(--calcite-space-sm)}:host([layout="vertical"]){flex-basis:300px;inline-size:var(--calcite-size-xl);padding-inline:var(--calcite-space-none);arcgis-slider:has(.label-ticks){position:relative;inset-inline-end:var(--calcite-space-md-plus)}arcgis-ticks{--arcgis-ticks-gap: var(--calcite-space-sm)}.content-end-stack{position:relative}.ticks-stack{height:100%}.label-ticks{--arcgis-ticks-tick-length: var(--calcite-space-base);inset:var(--calcite-space-none);position:absolute}}`;
7
+ class o extends r {
8
8
  constructor() {
9
9
  super(...arguments), this.autoDestroyDisabled = !1, this.canNext = !1, this.canPlay = !1, this.canPrevious = !1, this.disabled = !1, this.layout = "horizontal", this.mirrored = !1, this.arcgisPropertyChange = n()("canNext", "canPlay", "canPrevious", "currentValue");
10
10
  }
@@ -23,17 +23,17 @@ class o extends c {
23
23
  reset() {
24
24
  this.currentValue = this._ascending ? this.steps?.at(0) : this.steps?.at(-1);
25
25
  }
26
- step(t) {
26
+ step(s) {
27
27
  if (!this.steps || this.currentValue === void 0)
28
28
  return;
29
- const e = t === "next" === this._ascending ? 1 : -1, a = this.steps.indexOf(this.currentValue) + e;
29
+ const e = s === "next" === this._ascending ? 1 : -1, a = this.steps.indexOf(this.currentValue) + e;
30
30
  a >= this.steps.length || a < 0 || (this.currentValue = this.steps[a], this._checkState());
31
31
  }
32
32
  connectedCallback() {
33
33
  super.connectedCallback(), this.el.hidden = !0;
34
34
  }
35
- willUpdate(t) {
36
- t.has("steps") && this.steps?.length && (this.min ??= this.steps[0], this.max ??= this.steps.at(-1)), (t.has("currentValue") || t.has("max")) && this.max !== void 0 && (this.currentValue ??= this.max), this.el.hidden = this.min === void 0 || this.max === void 0 || this.currentValue === void 0, this._checkState();
35
+ willUpdate(s) {
36
+ s.has("steps") && this.steps?.length && (this.min ??= this.steps[0], this.max ??= this.steps.at(-1)), (s.has("currentValue") || s.has("max")) && this.max !== void 0 && (this.currentValue ??= this.max), this.el.hidden = this.min === void 0 || this.max === void 0 || this.currentValue === void 0, this._checkState();
37
37
  }
38
38
  _checkState() {
39
39
  if (!this.steps?.length) {
@@ -41,20 +41,20 @@ class o extends c {
41
41
  return;
42
42
  }
43
43
  this.canPlay = !0;
44
- const t = this.steps.findIndex((e) => e === this.currentValue), i = this.steps.length - 1;
45
- this.canNext = this._ascending ? t < i : t > 0, this.canPrevious = this._ascending ? t > 0 : t < i;
44
+ const s = this.steps.findIndex((e) => e === this.currentValue), i = this.steps.length - 1;
45
+ this.canNext = this._ascending ? s < i : s > 0, this.canPrevious = this._ascending ? s > 0 : s < i;
46
46
  }
47
- _handleSliderChange(t) {
48
- this.currentValue = t.currentTarget.values[0], this._checkState();
47
+ _handleSliderChange(s) {
48
+ this.currentValue = s.currentTarget.values[0], this._checkState();
49
49
  }
50
- _handleSliderInput(t) {
51
- this.currentValue = t.currentTarget.values[0], this._checkState();
50
+ _handleSliderInput(s) {
51
+ this.currentValue = s.currentTarget.values[0], this._checkState();
52
52
  }
53
53
  render() {
54
- return this.currentValue === void 0 ? null : s`<arcgis-slider .disabled=${this.disabled} .layout=${this.layout} .min=${this.min} .max=${this.max} .steps=${this.steps} .mirrored=${this.mirrored} .values=${[this.currentValue]} @arcgisInput=${(t) => this._handleSliderInput(t)} @arcgisChange=${(t) => this._handleSliderChange(t)}>${(this.majorTicks?.length || this.minorTicks?.length || this.labels?.length) && s`<div slot=content-end class="content-end-stack">${(this.majorTicks?.length || this.minorTicks?.length) && s`<div class="ticks-stack">${this.majorTicks?.length && s`<arcgis-ticks .layout=${this.layout} class="major-ticks" .min=${this.min} .max=${this.max} .mirrored=${this.mirrored} .values=${this.majorTicks} mode=value></arcgis-ticks>` || ""}${this.minorTicks?.length && s`<arcgis-ticks .layout=${this.layout} class="minor-ticks" .min=${this.min} .max=${this.max} .mirrored=${this.mirrored} .values=${this.minorTicks} mode=value></arcgis-ticks>` || ""}</div>` || ""}${this.labels?.length && s`<arcgis-ticks .layout=${this.layout} class="label-ticks" .min=${this.min} .max=${this.max} .mirrored=${this.mirrored} .values=${this.labels} mode=value show-labels label-placement=end .labelFormatter=${this.labelFormatter}></arcgis-ticks>` || ""}</div>` || ""}</arcgis-slider>`;
54
+ return this.currentValue === void 0 ? null : t`<arcgis-slider .disabled=${this.disabled} .layout=${this.layout} .min=${this.min} .max=${this.max} .steps=${this.steps} .mirrored=${this.mirrored} .values=${[this.currentValue]} @arcgisInput=${(s) => this._handleSliderInput(s)} @arcgisChange=${(s) => this._handleSliderChange(s)}>${(this.majorTicks?.length || this.minorTicks?.length || this.labels?.length) && t`<div slot=content-end class="content-end-stack">${(this.majorTicks?.length || this.minorTicks?.length) && t`<div class="ticks-stack">${this.majorTicks?.length && t`<arcgis-ticks .layout=${this.layout} class="major-ticks" .min=${this.min} .max=${this.max} .mirrored=${this.mirrored} .values=${this.majorTicks} mode=value></arcgis-ticks>` || ""}${this.minorTicks?.length && t`<arcgis-ticks .layout=${this.layout} class="minor-ticks" .min=${this.min} .max=${this.max} .mirrored=${this.mirrored} .values=${this.minorTicks} mode=value></arcgis-ticks>` || ""}</div>` || ""}${this.labels?.length && t`<arcgis-ticks .layout=${this.layout} class="label-ticks" .min=${this.min} .max=${this.max} .mirrored=${this.mirrored} .values=${this.labels} mode=value show-labels label-placement=end .labelFormatter=${this.labelFormatter}></arcgis-ticks>` || ""}</div>` || ""}</arcgis-slider>`;
55
55
  }
56
56
  }
57
- r("arcgis-value-picker-slider", o);
57
+ c("arcgis-value-picker-slider", o);
58
58
  export {
59
59
  o as ArcgisValuePickerSlider
60
60
  };