@cdevhub/ngx-tw 0.2.1 → 0.4.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.
Files changed (140) hide show
  1. package/README.md +264 -49
  2. package/fesm2022/cdevhub-ngx-tw-accordion.mjs +11 -7
  3. package/fesm2022/cdevhub-ngx-tw-accordion.mjs.map +1 -1
  4. package/fesm2022/cdevhub-ngx-tw-alert.mjs +43 -29
  5. package/fesm2022/cdevhub-ngx-tw-alert.mjs.map +1 -1
  6. package/fesm2022/cdevhub-ngx-tw-aspect-ratio.mjs +103 -0
  7. package/fesm2022/cdevhub-ngx-tw-aspect-ratio.mjs.map +1 -0
  8. package/fesm2022/cdevhub-ngx-tw-avatar.mjs +56 -31
  9. package/fesm2022/cdevhub-ngx-tw-avatar.mjs.map +1 -1
  10. package/fesm2022/cdevhub-ngx-tw-badge.mjs +61 -35
  11. package/fesm2022/cdevhub-ngx-tw-badge.mjs.map +1 -1
  12. package/fesm2022/cdevhub-ngx-tw-breadcrumbs.mjs +154 -93
  13. package/fesm2022/cdevhub-ngx-tw-breadcrumbs.mjs.map +1 -1
  14. package/fesm2022/cdevhub-ngx-tw-button.mjs +24 -15
  15. package/fesm2022/cdevhub-ngx-tw-button.mjs.map +1 -1
  16. package/fesm2022/cdevhub-ngx-tw-calendar-luxon.mjs +3 -3
  17. package/fesm2022/cdevhub-ngx-tw-calendar-luxon.mjs.map +1 -1
  18. package/fesm2022/cdevhub-ngx-tw-calendar.mjs +408 -215
  19. package/fesm2022/cdevhub-ngx-tw-calendar.mjs.map +1 -1
  20. package/fesm2022/cdevhub-ngx-tw-card.mjs +33 -24
  21. package/fesm2022/cdevhub-ngx-tw-card.mjs.map +1 -1
  22. package/fesm2022/cdevhub-ngx-tw-carousel.mjs +144 -79
  23. package/fesm2022/cdevhub-ngx-tw-carousel.mjs.map +1 -1
  24. package/fesm2022/cdevhub-ngx-tw-checkbox.mjs +99 -47
  25. package/fesm2022/cdevhub-ngx-tw-checkbox.mjs.map +1 -1
  26. package/fesm2022/cdevhub-ngx-tw-code-block.mjs +34 -20
  27. package/fesm2022/cdevhub-ngx-tw-code-block.mjs.map +1 -1
  28. package/fesm2022/cdevhub-ngx-tw-collapsible.mjs +46 -29
  29. package/fesm2022/cdevhub-ngx-tw-collapsible.mjs.map +1 -1
  30. package/fesm2022/cdevhub-ngx-tw-combobox.mjs +195 -110
  31. package/fesm2022/cdevhub-ngx-tw-combobox.mjs.map +1 -1
  32. package/fesm2022/cdevhub-ngx-tw-command-palette.mjs +140 -73
  33. package/fesm2022/cdevhub-ngx-tw-command-palette.mjs.map +1 -1
  34. package/fesm2022/cdevhub-ngx-tw-core.mjs +16 -11
  35. package/fesm2022/cdevhub-ngx-tw-core.mjs.map +1 -1
  36. package/fesm2022/cdevhub-ngx-tw-date-picker.mjs +393 -149
  37. package/fesm2022/cdevhub-ngx-tw-date-picker.mjs.map +1 -1
  38. package/fesm2022/cdevhub-ngx-tw-date-range-picker.mjs +305 -150
  39. package/fesm2022/cdevhub-ngx-tw-date-range-picker.mjs.map +1 -1
  40. package/fesm2022/cdevhub-ngx-tw-dialog.mjs +56 -43
  41. package/fesm2022/cdevhub-ngx-tw-dialog.mjs.map +1 -1
  42. package/fesm2022/cdevhub-ngx-tw-empty-state.mjs +51 -33
  43. package/fesm2022/cdevhub-ngx-tw-empty-state.mjs.map +1 -1
  44. package/fesm2022/cdevhub-ngx-tw-file-upload.mjs +905 -0
  45. package/fesm2022/cdevhub-ngx-tw-file-upload.mjs.map +1 -0
  46. package/fesm2022/cdevhub-ngx-tw-flip-card.mjs +49 -26
  47. package/fesm2022/cdevhub-ngx-tw-flip-card.mjs.map +1 -1
  48. package/fesm2022/cdevhub-ngx-tw-form-field.mjs +133 -74
  49. package/fesm2022/cdevhub-ngx-tw-form-field.mjs.map +1 -1
  50. package/fesm2022/cdevhub-ngx-tw-icon-lucide.mjs +2 -2
  51. package/fesm2022/cdevhub-ngx-tw-icon-lucide.mjs.map +1 -1
  52. package/fesm2022/cdevhub-ngx-tw-icon.mjs +28 -17
  53. package/fesm2022/cdevhub-ngx-tw-icon.mjs.map +1 -1
  54. package/fesm2022/cdevhub-ngx-tw-input.mjs +37 -21
  55. package/fesm2022/cdevhub-ngx-tw-input.mjs.map +1 -1
  56. package/fesm2022/cdevhub-ngx-tw-item.mjs +33 -24
  57. package/fesm2022/cdevhub-ngx-tw-item.mjs.map +1 -1
  58. package/fesm2022/cdevhub-ngx-tw-menu.mjs +63 -48
  59. package/fesm2022/cdevhub-ngx-tw-menu.mjs.map +1 -1
  60. package/fesm2022/cdevhub-ngx-tw-number-input.mjs +622 -0
  61. package/fesm2022/cdevhub-ngx-tw-number-input.mjs.map +1 -0
  62. package/fesm2022/cdevhub-ngx-tw-paginator.mjs +137 -71
  63. package/fesm2022/cdevhub-ngx-tw-paginator.mjs.map +1 -1
  64. package/fesm2022/cdevhub-ngx-tw-popover.mjs +101 -46
  65. package/fesm2022/cdevhub-ngx-tw-popover.mjs.map +1 -1
  66. package/fesm2022/cdevhub-ngx-tw-progress-bar.mjs +57 -30
  67. package/fesm2022/cdevhub-ngx-tw-progress-bar.mjs.map +1 -1
  68. package/fesm2022/cdevhub-ngx-tw-radio.mjs +108 -57
  69. package/fesm2022/cdevhub-ngx-tw-radio.mjs.map +1 -1
  70. package/fesm2022/cdevhub-ngx-tw-segmented-control.mjs +46 -26
  71. package/fesm2022/cdevhub-ngx-tw-segmented-control.mjs.map +1 -1
  72. package/fesm2022/cdevhub-ngx-tw-select.mjs +217 -122
  73. package/fesm2022/cdevhub-ngx-tw-select.mjs.map +1 -1
  74. package/fesm2022/cdevhub-ngx-tw-separator.mjs +21 -12
  75. package/fesm2022/cdevhub-ngx-tw-separator.mjs.map +1 -1
  76. package/fesm2022/cdevhub-ngx-tw-sheet.mjs +58 -44
  77. package/fesm2022/cdevhub-ngx-tw-sheet.mjs.map +1 -1
  78. package/fesm2022/cdevhub-ngx-tw-skeleton.mjs +25 -14
  79. package/fesm2022/cdevhub-ngx-tw-skeleton.mjs.map +1 -1
  80. package/fesm2022/cdevhub-ngx-tw-slider.mjs +155 -79
  81. package/fesm2022/cdevhub-ngx-tw-slider.mjs.map +1 -1
  82. package/fesm2022/cdevhub-ngx-tw-sort.mjs +44 -25
  83. package/fesm2022/cdevhub-ngx-tw-sort.mjs.map +1 -1
  84. package/fesm2022/cdevhub-ngx-tw-spinner.mjs +29 -16
  85. package/fesm2022/cdevhub-ngx-tw-spinner.mjs.map +1 -1
  86. package/fesm2022/cdevhub-ngx-tw-split.mjs +72 -42
  87. package/fesm2022/cdevhub-ngx-tw-split.mjs.map +1 -1
  88. package/fesm2022/cdevhub-ngx-tw-stat.mjs +107 -64
  89. package/fesm2022/cdevhub-ngx-tw-stat.mjs.map +1 -1
  90. package/fesm2022/cdevhub-ngx-tw-stepper.mjs +113 -47
  91. package/fesm2022/cdevhub-ngx-tw-stepper.mjs.map +1 -1
  92. package/fesm2022/cdevhub-ngx-tw-switch.mjs +61 -32
  93. package/fesm2022/cdevhub-ngx-tw-switch.mjs.map +1 -1
  94. package/fesm2022/cdevhub-ngx-tw-tab-nav.mjs +88 -42
  95. package/fesm2022/cdevhub-ngx-tw-tab-nav.mjs.map +1 -1
  96. package/fesm2022/cdevhub-ngx-tw-table.mjs +266 -118
  97. package/fesm2022/cdevhub-ngx-tw-table.mjs.map +1 -1
  98. package/fesm2022/cdevhub-ngx-tw-tabs.mjs +101 -51
  99. package/fesm2022/cdevhub-ngx-tw-tabs.mjs.map +1 -1
  100. package/fesm2022/cdevhub-ngx-tw-tags-input.mjs +798 -0
  101. package/fesm2022/cdevhub-ngx-tw-tags-input.mjs.map +1 -0
  102. package/fesm2022/cdevhub-ngx-tw-textarea.mjs +11 -7
  103. package/fesm2022/cdevhub-ngx-tw-textarea.mjs.map +1 -1
  104. package/fesm2022/cdevhub-ngx-tw-theme.mjs +22 -14
  105. package/fesm2022/cdevhub-ngx-tw-theme.mjs.map +1 -1
  106. package/fesm2022/cdevhub-ngx-tw-time-picker.mjs +243 -95
  107. package/fesm2022/cdevhub-ngx-tw-time-picker.mjs.map +1 -1
  108. package/fesm2022/cdevhub-ngx-tw-timeline.mjs +149 -82
  109. package/fesm2022/cdevhub-ngx-tw-timeline.mjs.map +1 -1
  110. package/fesm2022/cdevhub-ngx-tw-toast.mjs +89 -55
  111. package/fesm2022/cdevhub-ngx-tw-toast.mjs.map +1 -1
  112. package/fesm2022/cdevhub-ngx-tw-tooltip.mjs +50 -28
  113. package/fesm2022/cdevhub-ngx-tw-tooltip.mjs.map +1 -1
  114. package/fesm2022/cdevhub-ngx-tw-transfer.mjs +1129 -0
  115. package/fesm2022/cdevhub-ngx-tw-transfer.mjs.map +1 -0
  116. package/fesm2022/cdevhub-ngx-tw-tree.mjs +554 -0
  117. package/fesm2022/cdevhub-ngx-tw-tree.mjs.map +1 -0
  118. package/fesm2022/cdevhub-ngx-tw.mjs +7 -0
  119. package/fesm2022/cdevhub-ngx-tw.mjs.map +1 -1
  120. package/index.json +1 -0
  121. package/package.json +45 -20
  122. package/theme/index.css +10 -2
  123. package/types/cdevhub-ngx-tw-aspect-ratio.d.ts +40 -0
  124. package/types/cdevhub-ngx-tw-calendar.d.ts +39 -8
  125. package/types/cdevhub-ngx-tw-command-palette.d.ts +7 -0
  126. package/types/cdevhub-ngx-tw-date-picker.d.ts +36 -10
  127. package/types/cdevhub-ngx-tw-file-upload.d.ts +250 -0
  128. package/types/cdevhub-ngx-tw-form-field.d.ts +22 -3
  129. package/types/cdevhub-ngx-tw-icon-lucide.d.ts +21 -3
  130. package/types/cdevhub-ngx-tw-number-input.d.ts +130 -0
  131. package/types/cdevhub-ngx-tw-popover.d.ts +8 -0
  132. package/types/cdevhub-ngx-tw-stepper.d.ts +30 -2
  133. package/types/cdevhub-ngx-tw-tab-nav.d.ts +8 -0
  134. package/types/cdevhub-ngx-tw-table.d.ts +30 -1
  135. package/types/cdevhub-ngx-tw-tabs.d.ts +8 -0
  136. package/types/cdevhub-ngx-tw-tags-input.d.ts +217 -0
  137. package/types/cdevhub-ngx-tw-time-picker.d.ts +31 -6
  138. package/types/cdevhub-ngx-tw-transfer.d.ts +330 -0
  139. package/types/cdevhub-ngx-tw-tree.d.ts +189 -0
  140. package/types/cdevhub-ngx-tw.d.ts +7 -0
@@ -178,39 +178,56 @@ const toNumber = (value, fallback) => {
178
178
  */
179
179
  class SliderComponent {
180
180
  /** Lower bound of the slider scale. Defaults to `0`. */
181
- min = input(0, ...(ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []));
181
+ min = input(0, /* @ts-ignore */
182
+ ...(ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []));
182
183
  /** Upper bound of the slider scale. Defaults to `100`. */
183
- max = input(100, ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
184
+ max = input(100, /* @ts-ignore */
185
+ ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
184
186
  /** Step increment used for snapping, keyboard nav, and auto-generated marks. Pass `null` for continuous values. Defaults to `1`. */
185
- step = input(1, ...(ngDevMode ? [{ debugName: "step" }] : /* istanbul ignore next */ []));
187
+ step = input(1, /* @ts-ignore */
188
+ ...(ngDevMode ? [{ debugName: "step" }] : /* istanbul ignore next */ []));
186
189
  /** Semantic color for the filled portion and thumb border. Defaults to `'primary'`. */
187
- color = input('primary', ...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
190
+ color = input('primary', /* @ts-ignore */
191
+ ...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
188
192
  /** Overall scale of the rail, thumb, and typography. Defaults to `'md'`. */
189
- size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
193
+ size = input('md', /* @ts-ignore */
194
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
190
195
  /** Visual style of the fill: `'solid'` (vivid), `'soft'` (muted), or `'outline'` (rail bordered, fill color-500). Defaults to `'solid'`. */
191
- variant = input('solid', ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
196
+ variant = input('solid', /* @ts-ignore */
197
+ ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
192
198
  /** When true, prevents interaction and applies muted styling. Defaults to `false`. */
193
- disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
199
+ disabled = input(false, /* @ts-ignore */
200
+ ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
194
201
  /** When true, sets `aria-required="true"` on the thumb for assistive tech. Defaults to `false`. */
195
- required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []));
202
+ required = input(false, /* @ts-ignore */
203
+ ...(ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []));
196
204
  /** When true, the slider selects a `[start, end]` range and renders two thumbs. Defaults to `false`. */
197
- range = input(false, ...(ngDevMode ? [{ debugName: "range" }] : /* istanbul ignore next */ []));
205
+ range = input(false, /* @ts-ignore */
206
+ ...(ngDevMode ? [{ debugName: "range" }] : /* istanbul ignore next */ []));
198
207
  /** Tick marks: `true` auto-generates one mark per step, an array supplies custom marks, `false` renders no marks. Defaults to `false`. */
199
- marks = input(false, ...(ngDevMode ? [{ debugName: "marks" }] : /* istanbul ignore next */ []));
208
+ marks = input(false, /* @ts-ignore */
209
+ ...(ngDevMode ? [{ debugName: "marks" }] : /* istanbul ignore next */ []));
200
210
  /** When true, renders the mark labels beneath the rail. Requires `marks` to resolve to a list. Defaults to `false`. */
201
- showMarkLabels = input(false, ...(ngDevMode ? [{ debugName: "showMarkLabels" }] : /* istanbul ignore next */ []));
211
+ showMarkLabels = input(false, /* @ts-ignore */
212
+ ...(ngDevMode ? [{ debugName: "showMarkLabels" }] : /* istanbul ignore next */ []));
202
213
  /** When true, renders the min and max values at the ends of the scale. Defaults to `false`. */
203
- showMinMax = input(false, ...(ngDevMode ? [{ debugName: "showMinMax" }] : /* istanbul ignore next */ []));
214
+ showMinMax = input(false, /* @ts-ignore */
215
+ ...(ngDevMode ? [{ debugName: "showMinMax" }] : /* istanbul ignore next */ []));
204
216
  /** When true, renders a value bubble above the active thumb (on hover/focus/drag) and the current value in the header. Defaults to `false`. */
205
- showValue = input(false, ...(ngDevMode ? [{ debugName: "showValue" }] : /* istanbul ignore next */ []));
217
+ showValue = input(false, /* @ts-ignore */
218
+ ...(ngDevMode ? [{ debugName: "showValue" }] : /* istanbul ignore next */ []));
206
219
  /** Optional visible label rendered above the rail. When set, the slider is wired to the label via `aria-labelledby`. */
207
- label = input(undefined, ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
220
+ label = input(undefined, /* @ts-ignore */
221
+ ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
208
222
  /** Optional secondary description rendered under the label. Mirrored to `aria-describedby`. */
209
- description = input(undefined, ...(ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []));
223
+ description = input(undefined, /* @ts-ignore */
224
+ ...(ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []));
210
225
  /** Custom formatter for the value bubble, min/max labels, and `aria-valuetext`. Defaults to an integer or 2-decimal string. */
211
- valueFormatter = input(undefined, ...(ngDevMode ? [{ debugName: "valueFormatter" }] : /* istanbul ignore next */ []));
226
+ valueFormatter = input(undefined, /* @ts-ignore */
227
+ ...(ngDevMode ? [{ debugName: "valueFormatter" }] : /* istanbul ignore next */ []));
212
228
  /** Optional form name attribute. Purely informational — the component does not render a native input. */
213
- name = input(undefined, ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
229
+ name = input(undefined, /* @ts-ignore */
230
+ ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
214
231
  /** Accessible name for the single-value thumb when no visible label is provided. */
215
232
  ariaLabel = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
216
233
  /** ID of an external element labelling the single-value thumb. */
@@ -218,17 +235,21 @@ class SliderComponent {
218
235
  /** ID of an external element describing the slider. */
219
236
  ariaDescribedby = input(undefined, { ...(ngDevMode ? { debugName: "ariaDescribedby" } : /* istanbul ignore next */ {}), alias: 'aria-describedby' });
220
237
  /** Accessible name for the start (lower) thumb in range mode. Defaults to `"Minimum"`. */
221
- ariaLabelStart = input('Minimum', ...(ngDevMode ? [{ debugName: "ariaLabelStart" }] : /* istanbul ignore next */ []));
238
+ ariaLabelStart = input('Minimum', /* @ts-ignore */
239
+ ...(ngDevMode ? [{ debugName: "ariaLabelStart" }] : /* istanbul ignore next */ []));
222
240
  /** Accessible name for the end (upper) thumb in range mode. Defaults to `"Maximum"`. */
223
- ariaLabelEnd = input('Maximum', ...(ngDevMode ? [{ debugName: "ariaLabelEnd" }] : /* istanbul ignore next */ []));
241
+ ariaLabelEnd = input('Maximum', /* @ts-ignore */
242
+ ...(ngDevMode ? [{ debugName: "ariaLabelEnd" }] : /* istanbul ignore next */ []));
224
243
  /** Two-way bound slider value. A `number` for single mode, or `[start, end]` for range mode. Updates on every interaction. */
225
- value = model(0, ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
244
+ value = model(0, /* @ts-ignore */
245
+ ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
226
246
  /** Fires continuously while the user drags or holds a key. Payload matches the current `value`. Template event name is `input` — the TS-side identifier is `valueInput` to avoid shadowing the imported `input` factory. */
227
247
  valueInput = output({ alias: 'input' });
228
248
  /** Fires when the user commits a change (pointer release, key release, or blur after keyboard change). Payload matches the current `value`. */
229
249
  change = output();
230
250
  /** Per-instance override of the {@link ErrorStateMatcher}. When omitted, the component uses the `TW_ERROR_STATE_MATCHER` token's value. */
231
- errorStateMatcher = input(undefined, ...(ngDevMode ? [{ debugName: "errorStateMatcher" }] : /* istanbul ignore next */ []));
251
+ errorStateMatcher = input(undefined, /* @ts-ignore */
252
+ ...(ngDevMode ? [{ debugName: "errorStateMatcher" }] : /* istanbul ignore next */ []));
232
253
  focusMonitor = inject(FocusMonitor);
233
254
  elementRef = inject((ElementRef));
234
255
  destroyRef = inject(DestroyRef);
@@ -237,8 +258,10 @@ class SliderComponent {
237
258
  parentForm = inject(NgForm, { optional: true });
238
259
  parentFormGroup = inject(FormGroupDirective, { optional: true });
239
260
  defaultMatcher = inject(TW_ERROR_STATE_MATCHER);
240
- _ngControlRev = signal(0, ...(ngDevMode ? [{ debugName: "_ngControlRev" }] : /* istanbul ignore next */ []));
241
- _formSubmitRev = signal(0, ...(ngDevMode ? [{ debugName: "_formSubmitRev" }] : /* istanbul ignore next */ []));
261
+ _ngControlRev = signal(0, /* @ts-ignore */
262
+ ...(ngDevMode ? [{ debugName: "_ngControlRev" }] : /* istanbul ignore next */ []));
263
+ _formSubmitRev = signal(0, /* @ts-ignore */
264
+ ...(ngDevMode ? [{ debugName: "_formSubmitRev" }] : /* istanbul ignore next */ []));
242
265
  /** Whether the form control is in an error state per the configured `ErrorStateMatcher`. */
243
266
  errorState = computed(() => {
244
267
  this._ngControlRev();
@@ -250,14 +273,20 @@ class SliderComponent {
250
273
  const form = this.parentFormGroup ??
251
274
  this.parentForm;
252
275
  return matcher.isErrorState(this.ngControl?.control ?? null, form);
253
- }, ...(ngDevMode ? [{ debugName: "errorState" }] : /* istanbul ignore next */ []));
254
- region = viewChild.required('region');
255
- startThumb = viewChild('startThumb', ...(ngDevMode ? [{ debugName: "startThumb" }] : /* istanbul ignore next */ []));
256
- endThumb = viewChild('endThumb', ...(ngDevMode ? [{ debugName: "endThumb" }] : /* istanbul ignore next */ []));
257
- singleThumb = viewChild('singleThumb', ...(ngDevMode ? [{ debugName: "singleThumb" }] : /* istanbul ignore next */ []));
276
+ }, /* @ts-ignore */
277
+ ...(ngDevMode ? [{ debugName: "errorState" }] : /* istanbul ignore next */ []));
278
+ region = viewChild.required('region', /* @ts-ignore */
279
+ ...(ngDevMode ? [{ debugName: "region" }] : /* istanbul ignore next */ []));
280
+ startThumb = viewChild('startThumb', /* @ts-ignore */
281
+ ...(ngDevMode ? [{ debugName: "startThumb" }] : /* istanbul ignore next */ []));
282
+ endThumb = viewChild('endThumb', /* @ts-ignore */
283
+ ...(ngDevMode ? [{ debugName: "endThumb" }] : /* istanbul ignore next */ []));
284
+ singleThumb = viewChild('singleThumb', /* @ts-ignore */
285
+ ...(ngDevMode ? [{ debugName: "singleThumb" }] : /* istanbul ignore next */ []));
258
286
  onChange = () => { };
259
287
  onTouched = () => { };
260
- cvaDisabled = signal(false, ...(ngDevMode ? [{ debugName: "cvaDisabled" }] : /* istanbul ignore next */ []));
288
+ cvaDisabled = signal(false, /* @ts-ignore */
289
+ ...(ngDevMode ? [{ debugName: "cvaDisabled" }] : /* istanbul ignore next */ []));
261
290
  /** @internal ID of the host element. */
262
291
  uid = nextId++;
263
292
  /** @internal */
@@ -271,13 +300,18 @@ class SliderComponent {
271
300
  /** @internal */
272
301
  endThumbId = `tw-slider-${this.uid}-end`;
273
302
  /** @internal Internal values during drag / interaction, independent of external model. */
274
- internalStart = linkedSignal(() => toRange(this.value())[0], ...(ngDevMode ? [{ debugName: "internalStart" }] : /* istanbul ignore next */ []));
275
- internalEnd = linkedSignal(() => toRange(this.value())[1], ...(ngDevMode ? [{ debugName: "internalEnd" }] : /* istanbul ignore next */ []));
276
- internalSingle = linkedSignal(() => toNumber(this.value(), this.min()), ...(ngDevMode ? [{ debugName: "internalSingle" }] : /* istanbul ignore next */ []));
303
+ internalStart = linkedSignal(() => toRange(this.value())[0], /* @ts-ignore */
304
+ ...(ngDevMode ? [{ debugName: "internalStart" }] : /* istanbul ignore next */ []));
305
+ internalEnd = linkedSignal(() => toRange(this.value())[1], /* @ts-ignore */
306
+ ...(ngDevMode ? [{ debugName: "internalEnd" }] : /* istanbul ignore next */ []));
307
+ internalSingle = linkedSignal(() => toNumber(this.value(), this.min()), /* @ts-ignore */
308
+ ...(ngDevMode ? [{ debugName: "internalSingle" }] : /* istanbul ignore next */ []));
277
309
  /** @internal Which thumb currently has an active pointer gesture (or null). Bound in the template to drive the pressed-thumb styling. */
278
- activeThumb = signal(null, ...(ngDevMode ? [{ debugName: "activeThumb" }] : /* istanbul ignore next */ []));
310
+ activeThumb = signal(null, /* @ts-ignore */
311
+ ...(ngDevMode ? [{ debugName: "activeThumb" }] : /* istanbul ignore next */ []));
279
312
  /** @internal Which thumb is focused (for bubble visibility). */
280
- focusedThumb = signal(null, ...(ngDevMode ? [{ debugName: "focusedThumb" }] : /* istanbul ignore next */ []));
313
+ focusedThumb = signal(null, /* @ts-ignore */
314
+ ...(ngDevMode ? [{ debugName: "focusedThumb" }] : /* istanbul ignore next */ []));
281
315
  /** @internal Set of pointer IDs currently captured per-thumb for release tracking. */
282
316
  capturedPointers = new Map();
283
317
  /** @internal Tracks whether a keyboard interaction has mutated the value since last blur. */
@@ -298,22 +332,26 @@ class SliderComponent {
298
332
  }
299
333
  // ── Derived state ─────────────────────────────────────────
300
334
  /** @internal Effective disabled state (input OR set via CVA). */
301
- isDisabled = computed(() => this.disabled() || this.cvaDisabled(), ...(ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []));
335
+ isDisabled = computed(() => this.disabled() || this.cvaDisabled(), /* @ts-ignore */
336
+ ...(ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []));
302
337
  /** @internal Whether a label/value header row should render. */
303
- hasHeader = computed(() => !!this.label() || this.showValue(), ...(ngDevMode ? [{ debugName: "hasHeader" }] : /* istanbul ignore next */ []));
338
+ hasHeader = computed(() => !!this.label() || this.showValue(), /* @ts-ignore */
339
+ ...(ngDevMode ? [{ debugName: "hasHeader" }] : /* istanbul ignore next */ []));
304
340
  /** @internal Effective step: min 0 (continuous). */
305
341
  effectiveStep = computed(() => {
306
342
  const s = this.step();
307
343
  if (s === null || s === undefined)
308
344
  return 0;
309
345
  return Math.abs(s);
310
- }, ...(ngDevMode ? [{ debugName: "effectiveStep" }] : /* istanbul ignore next */ []));
346
+ }, /* @ts-ignore */
347
+ ...(ngDevMode ? [{ debugName: "effectiveStep" }] : /* istanbul ignore next */ []));
311
348
  /** @internal Current scale range. */
312
349
  scaleRange = computed(() => {
313
350
  const lo = this.min();
314
351
  const hi = this.max();
315
352
  return hi > lo ? hi - lo : 0;
316
- }, ...(ngDevMode ? [{ debugName: "scaleRange" }] : /* istanbul ignore next */ []));
353
+ }, /* @ts-ignore */
354
+ ...(ngDevMode ? [{ debugName: "scaleRange" }] : /* istanbul ignore next */ []));
317
355
  /** @internal Whether marks are resolved as a visible list. */
318
356
  marksResolved = computed(() => {
319
357
  const source = this.marks();
@@ -332,66 +370,89 @@ class SliderComponent {
332
370
  out.push({ value: Math.round(v * 1e6) / 1e6 });
333
371
  }
334
372
  return out;
335
- }, ...(ngDevMode ? [{ debugName: "marksResolved" }] : /* istanbul ignore next */ []));
373
+ }, /* @ts-ignore */
374
+ ...(ngDevMode ? [{ debugName: "marksResolved" }] : /* istanbul ignore next */ []));
336
375
  /** @internal */
337
- resolvedMarks = computed(() => this.marksResolved(), ...(ngDevMode ? [{ debugName: "resolvedMarks" }] : /* istanbul ignore next */ []));
376
+ resolvedMarks = computed(() => this.marksResolved(), /* @ts-ignore */
377
+ ...(ngDevMode ? [{ debugName: "resolvedMarks" }] : /* istanbul ignore next */ []));
338
378
  /** @internal */
339
- hasVisibleMarks = computed(() => this.marksResolved().length > 0, ...(ngDevMode ? [{ debugName: "hasVisibleMarks" }] : /* istanbul ignore next */ []));
379
+ hasVisibleMarks = computed(() => this.marksResolved().length > 0, /* @ts-ignore */
380
+ ...(ngDevMode ? [{ debugName: "hasVisibleMarks" }] : /* istanbul ignore next */ []));
340
381
  /** @internal */
341
- hasMarkLabels = computed(() => this.showMarkLabels() && this.marksResolved().length > 0, ...(ngDevMode ? [{ debugName: "hasMarkLabels" }] : /* istanbul ignore next */ []));
382
+ hasMarkLabels = computed(() => this.showMarkLabels() && this.marksResolved().length > 0, /* @ts-ignore */
383
+ ...(ngDevMode ? [{ debugName: "hasMarkLabels" }] : /* istanbul ignore next */ []));
342
384
  /** @internal Clamped current values. */
343
- startValue = computed(() => this.clampAndSnap(Math.min(this.internalStart(), this.internalEnd())), ...(ngDevMode ? [{ debugName: "startValue" }] : /* istanbul ignore next */ []));
385
+ startValue = computed(() => this.clampAndSnap(Math.min(this.internalStart(), this.internalEnd())), /* @ts-ignore */
386
+ ...(ngDevMode ? [{ debugName: "startValue" }] : /* istanbul ignore next */ []));
344
387
  /** @internal */
345
- endValue = computed(() => this.clampAndSnap(Math.max(this.internalStart(), this.internalEnd())), ...(ngDevMode ? [{ debugName: "endValue" }] : /* istanbul ignore next */ []));
388
+ endValue = computed(() => this.clampAndSnap(Math.max(this.internalStart(), this.internalEnd())), /* @ts-ignore */
389
+ ...(ngDevMode ? [{ debugName: "endValue" }] : /* istanbul ignore next */ []));
346
390
  /** @internal */
347
- singleValue = computed(() => this.clampAndSnap(this.internalSingle()), ...(ngDevMode ? [{ debugName: "singleValue" }] : /* istanbul ignore next */ []));
391
+ singleValue = computed(() => this.clampAndSnap(this.internalSingle()), /* @ts-ignore */
392
+ ...(ngDevMode ? [{ debugName: "singleValue" }] : /* istanbul ignore next */ []));
348
393
  /** @internal aria-valuemax for the start thumb (cannot cross end thumb). */
349
- effectiveStartMax = computed(() => this.endValue(), ...(ngDevMode ? [{ debugName: "effectiveStartMax" }] : /* istanbul ignore next */ []));
394
+ effectiveStartMax = computed(() => this.endValue(), /* @ts-ignore */
395
+ ...(ngDevMode ? [{ debugName: "effectiveStartMax" }] : /* istanbul ignore next */ []));
350
396
  /** @internal aria-valuemin for the end thumb (cannot go below start thumb). */
351
- effectiveEndMin = computed(() => this.startValue(), ...(ngDevMode ? [{ debugName: "effectiveEndMin" }] : /* istanbul ignore next */ []));
397
+ effectiveEndMin = computed(() => this.startValue(), /* @ts-ignore */
398
+ ...(ngDevMode ? [{ debugName: "effectiveEndMin" }] : /* istanbul ignore next */ []));
352
399
  /** @internal Percentage position of the single thumb on the rail. */
353
- singlePct = computed(() => this.valuePct(this.singleValue()), ...(ngDevMode ? [{ debugName: "singlePct" }] : /* istanbul ignore next */ []));
400
+ singlePct = computed(() => this.valuePct(this.singleValue()), /* @ts-ignore */
401
+ ...(ngDevMode ? [{ debugName: "singlePct" }] : /* istanbul ignore next */ []));
354
402
  /** @internal */
355
- startPct = computed(() => this.valuePct(this.startValue()), ...(ngDevMode ? [{ debugName: "startPct" }] : /* istanbul ignore next */ []));
403
+ startPct = computed(() => this.valuePct(this.startValue()), /* @ts-ignore */
404
+ ...(ngDevMode ? [{ debugName: "startPct" }] : /* istanbul ignore next */ []));
356
405
  /** @internal */
357
- endPct = computed(() => this.valuePct(this.endValue()), ...(ngDevMode ? [{ debugName: "endPct" }] : /* istanbul ignore next */ []));
406
+ endPct = computed(() => this.valuePct(this.endValue()), /* @ts-ignore */
407
+ ...(ngDevMode ? [{ debugName: "endPct" }] : /* istanbul ignore next */ []));
358
408
  /** @internal Fill segment position. */
359
- fillLeftPct = computed(() => (this.range() ? this.startPct() : 0), ...(ngDevMode ? [{ debugName: "fillLeftPct" }] : /* istanbul ignore next */ []));
409
+ fillLeftPct = computed(() => (this.range() ? this.startPct() : 0), /* @ts-ignore */
410
+ ...(ngDevMode ? [{ debugName: "fillLeftPct" }] : /* istanbul ignore next */ []));
360
411
  /** @internal */
361
- fillWidthPct = computed(() => this.range() ? this.endPct() - this.startPct() : this.singlePct(), ...(ngDevMode ? [{ debugName: "fillWidthPct" }] : /* istanbul ignore next */ []));
412
+ fillWidthPct = computed(() => this.range() ? this.endPct() - this.startPct() : this.singlePct(), /* @ts-ignore */
413
+ ...(ngDevMode ? [{ debugName: "fillWidthPct" }] : /* istanbul ignore next */ []));
362
414
  /** @internal Formatted display of the current value for the header. */
363
415
  headerValueText = computed(() => {
364
416
  if (this.range()) {
365
417
  return `${this.format(this.startValue())} – ${this.format(this.endValue())}`;
366
418
  }
367
419
  return this.format(this.singleValue());
368
- }, ...(ngDevMode ? [{ debugName: "headerValueText" }] : /* istanbul ignore next */ []));
420
+ }, /* @ts-ignore */
421
+ ...(ngDevMode ? [{ debugName: "headerValueText" }] : /* istanbul ignore next */ []));
369
422
  // ── tv slot classes ─────────────────────────────────────────
370
423
  variantResult = computed(() => sliderVariants({
371
424
  size: this.size(),
372
425
  variant: this.variant(),
373
426
  disabled: this.isDisabled(),
374
427
  hasHeader: this.hasHeader(),
375
- }), ...(ngDevMode ? [{ debugName: "variantResult" }] : /* istanbul ignore next */ []));
428
+ }), /* @ts-ignore */
429
+ ...(ngDevMode ? [{ debugName: "variantResult" }] : /* istanbul ignore next */ []));
376
430
  /** @internal */
377
- rootClasses = computed(() => this.variantResult().root(), ...(ngDevMode ? [{ debugName: "rootClasses" }] : /* istanbul ignore next */ []));
431
+ rootClasses = computed(() => this.variantResult().root(), /* @ts-ignore */
432
+ ...(ngDevMode ? [{ debugName: "rootClasses" }] : /* istanbul ignore next */ []));
378
433
  /** @internal */
379
- headerClasses = computed(() => this.variantResult().header(), ...(ngDevMode ? [{ debugName: "headerClasses" }] : /* istanbul ignore next */ []));
434
+ headerClasses = computed(() => this.variantResult().header(), /* @ts-ignore */
435
+ ...(ngDevMode ? [{ debugName: "headerClasses" }] : /* istanbul ignore next */ []));
380
436
  /** @internal */
381
- labelClasses = computed(() => this.variantResult().label(), ...(ngDevMode ? [{ debugName: "labelClasses" }] : /* istanbul ignore next */ []));
437
+ labelClasses = computed(() => this.variantResult().label(), /* @ts-ignore */
438
+ ...(ngDevMode ? [{ debugName: "labelClasses" }] : /* istanbul ignore next */ []));
382
439
  /** @internal */
383
- valueTextClasses = computed(() => this.variantResult().valueText(), ...(ngDevMode ? [{ debugName: "valueTextClasses" }] : /* istanbul ignore next */ []));
440
+ valueTextClasses = computed(() => this.variantResult().valueText(), /* @ts-ignore */
441
+ ...(ngDevMode ? [{ debugName: "valueTextClasses" }] : /* istanbul ignore next */ []));
384
442
  /** @internal */
385
- descriptionClasses = computed(() => this.variantResult().description(), ...(ngDevMode ? [{ debugName: "descriptionClasses" }] : /* istanbul ignore next */ []));
443
+ descriptionClasses = computed(() => this.variantResult().description(), /* @ts-ignore */
444
+ ...(ngDevMode ? [{ debugName: "descriptionClasses" }] : /* istanbul ignore next */ []));
386
445
  /** @internal */
387
- regionClasses = computed(() => this.variantResult().region(), ...(ngDevMode ? [{ debugName: "regionClasses" }] : /* istanbul ignore next */ []));
446
+ regionClasses = computed(() => this.variantResult().region(), /* @ts-ignore */
447
+ ...(ngDevMode ? [{ debugName: "regionClasses" }] : /* istanbul ignore next */ []));
388
448
  /** @internal */
389
449
  railClasses = computed(() => {
390
450
  const base = this.variantResult().rail();
391
451
  if (this.variant() === 'outline')
392
452
  return base;
393
453
  return base;
394
- }, ...(ngDevMode ? [{ debugName: "railClasses" }] : /* istanbul ignore next */ []));
454
+ }, /* @ts-ignore */
455
+ ...(ngDevMode ? [{ debugName: "railClasses" }] : /* istanbul ignore next */ []));
395
456
  /** @internal */
396
457
  fillClasses = computed(() => {
397
458
  const base = this.variantResult().fill();
@@ -403,17 +464,23 @@ class SliderComponent {
403
464
  return `${base} ${FILL_SOLID[color]} ${FILL_OUTLINE_BORDER[color]}`;
404
465
  }
405
466
  return `${base} ${FILL_SOLID[color]}`;
406
- }, ...(ngDevMode ? [{ debugName: "fillClasses" }] : /* istanbul ignore next */ []));
467
+ }, /* @ts-ignore */
468
+ ...(ngDevMode ? [{ debugName: "fillClasses" }] : /* istanbul ignore next */ []));
407
469
  /** @internal */
408
- marksRowClasses = computed(() => this.variantResult().marksRow(), ...(ngDevMode ? [{ debugName: "marksRowClasses" }] : /* istanbul ignore next */ []));
470
+ marksRowClasses = computed(() => this.variantResult().marksRow(), /* @ts-ignore */
471
+ ...(ngDevMode ? [{ debugName: "marksRowClasses" }] : /* istanbul ignore next */ []));
409
472
  /** @internal */
410
- markLabelsRowClasses = computed(() => this.variantResult().markLabelsRow(), ...(ngDevMode ? [{ debugName: "markLabelsRowClasses" }] : /* istanbul ignore next */ []));
473
+ markLabelsRowClasses = computed(() => this.variantResult().markLabelsRow(), /* @ts-ignore */
474
+ ...(ngDevMode ? [{ debugName: "markLabelsRowClasses" }] : /* istanbul ignore next */ []));
411
475
  /** @internal */
412
- markLabelClasses = computed(() => this.variantResult().markLabel(), ...(ngDevMode ? [{ debugName: "markLabelClasses" }] : /* istanbul ignore next */ []));
476
+ markLabelClasses = computed(() => this.variantResult().markLabel(), /* @ts-ignore */
477
+ ...(ngDevMode ? [{ debugName: "markLabelClasses" }] : /* istanbul ignore next */ []));
413
478
  /** @internal */
414
- minMaxRowClasses = computed(() => this.variantResult().minMaxRow(), ...(ngDevMode ? [{ debugName: "minMaxRowClasses" }] : /* istanbul ignore next */ []));
479
+ minMaxRowClasses = computed(() => this.variantResult().minMaxRow(), /* @ts-ignore */
480
+ ...(ngDevMode ? [{ debugName: "minMaxRowClasses" }] : /* istanbul ignore next */ []));
415
481
  /** @internal */
416
- thumbClasses = computed(() => `${this.variantResult().thumb()} ${THUMB_BORDER[this.color()]} ${FOCUS_RING[this.color()]}`, ...(ngDevMode ? [{ debugName: "thumbClasses" }] : /* istanbul ignore next */ []));
482
+ thumbClasses = computed(() => `${this.variantResult().thumb()} ${THUMB_BORDER[this.color()]} ${FOCUS_RING[this.color()]}`, /* @ts-ignore */
483
+ ...(ngDevMode ? [{ debugName: "thumbClasses" }] : /* istanbul ignore next */ []));
417
484
  /**
418
485
  * @internal Memoized class map for mark dots — keyed by mark value. Recomputed
419
486
  * only when the variant slots, fill range, or marks list changes; lookups
@@ -431,7 +498,8 @@ class SliderComponent {
431
498
  map.set(mark.value, inside ? insideClass : outsideClass);
432
499
  }
433
500
  return { map, outsideClass };
434
- }, ...(ngDevMode ? [{ debugName: "markClassMap" }] : /* istanbul ignore next */ []));
501
+ }, /* @ts-ignore */
502
+ ...(ngDevMode ? [{ debugName: "markClassMap" }] : /* istanbul ignore next */ []));
435
503
  /** @internal Mark dot color depends on whether it falls inside the filled segment. */
436
504
  markClassFor(markValue) {
437
505
  const { map, outsideClass } = this.markClassMap();
@@ -456,7 +524,8 @@ class SliderComponent {
456
524
  start: classFor('start'),
457
525
  end: classFor('end'),
458
526
  };
459
- }, ...(ngDevMode ? [{ debugName: "bubbleClassMap" }] : /* istanbul ignore next */ []));
527
+ }, /* @ts-ignore */
528
+ ...(ngDevMode ? [{ debugName: "bubbleClassMap" }] : /* istanbul ignore next */ []));
460
529
  /** @internal Bubble visibility depends on drag / focus / hover state. */
461
530
  bubbleClassFor(thumb) {
462
531
  return this.bubbleClassMap()[thumb];
@@ -468,7 +537,8 @@ class SliderComponent {
468
537
  if (external)
469
538
  return external;
470
539
  return this.description() ? this.descriptionId : null;
471
- }, ...(ngDevMode ? [{ debugName: "resolvedAriaDescribedby" }] : /* istanbul ignore next */ []));
540
+ }, /* @ts-ignore */
541
+ ...(ngDevMode ? [{ debugName: "resolvedAriaDescribedby" }] : /* istanbul ignore next */ []));
472
542
  /** @internal */
473
543
  resolvedSingleAriaLabel = computed(() => {
474
544
  if (this.label())
@@ -476,37 +546,43 @@ class SliderComponent {
476
546
  if (this.ariaLabelledby())
477
547
  return null;
478
548
  return this.ariaLabel() ?? null;
479
- }, ...(ngDevMode ? [{ debugName: "resolvedSingleAriaLabel" }] : /* istanbul ignore next */ []));
549
+ }, /* @ts-ignore */
550
+ ...(ngDevMode ? [{ debugName: "resolvedSingleAriaLabel" }] : /* istanbul ignore next */ []));
480
551
  /** @internal */
481
552
  resolvedSingleAriaLabelledby = computed(() => {
482
553
  if (this.label())
483
554
  return this.labelId;
484
555
  return this.ariaLabelledby() ?? null;
485
- }, ...(ngDevMode ? [{ debugName: "resolvedSingleAriaLabelledby" }] : /* istanbul ignore next */ []));
556
+ }, /* @ts-ignore */
557
+ ...(ngDevMode ? [{ debugName: "resolvedSingleAriaLabelledby" }] : /* istanbul ignore next */ []));
486
558
  /** @internal */
487
559
  resolvedStartAriaLabel = computed(() => {
488
560
  if (this.ariaLabelledby() || this.label())
489
561
  return null;
490
562
  return this.ariaLabelStart();
491
- }, ...(ngDevMode ? [{ debugName: "resolvedStartAriaLabel" }] : /* istanbul ignore next */ []));
563
+ }, /* @ts-ignore */
564
+ ...(ngDevMode ? [{ debugName: "resolvedStartAriaLabel" }] : /* istanbul ignore next */ []));
492
565
  /** @internal */
493
566
  resolvedStartAriaLabelledby = computed(() => {
494
567
  if (this.ariaLabelledby())
495
568
  return this.ariaLabelledby() ?? null;
496
569
  return this.label() ? this.labelId : null;
497
- }, ...(ngDevMode ? [{ debugName: "resolvedStartAriaLabelledby" }] : /* istanbul ignore next */ []));
570
+ }, /* @ts-ignore */
571
+ ...(ngDevMode ? [{ debugName: "resolvedStartAriaLabelledby" }] : /* istanbul ignore next */ []));
498
572
  /** @internal */
499
573
  resolvedEndAriaLabel = computed(() => {
500
574
  if (this.ariaLabelledby() || this.label())
501
575
  return null;
502
576
  return this.ariaLabelEnd();
503
- }, ...(ngDevMode ? [{ debugName: "resolvedEndAriaLabel" }] : /* istanbul ignore next */ []));
577
+ }, /* @ts-ignore */
578
+ ...(ngDevMode ? [{ debugName: "resolvedEndAriaLabel" }] : /* istanbul ignore next */ []));
504
579
  /** @internal */
505
580
  resolvedEndAriaLabelledby = computed(() => {
506
581
  if (this.ariaLabelledby())
507
582
  return this.ariaLabelledby() ?? null;
508
583
  return this.label() ? this.labelId : null;
509
- }, ...(ngDevMode ? [{ debugName: "resolvedEndAriaLabelledby" }] : /* istanbul ignore next */ []));
584
+ }, /* @ts-ignore */
585
+ ...(ngDevMode ? [{ debugName: "resolvedEndAriaLabelledby" }] : /* istanbul ignore next */ []));
510
586
  // ── Interactions ───────────────────────────────────────────
511
587
  /** Track click: move the nearest thumb to the clicked position and begin a drag. */
512
588
  onTrackPointerDown(event) {
@@ -825,8 +901,8 @@ class SliderComponent {
825
901
  this.capturedPointers.clear();
826
902
  });
827
903
  }
828
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: SliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
829
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: SliderComponent, isStandalone: true, selector: "tw-slider", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, range: { classPropertyName: "range", publicName: "range", isSignal: true, isRequired: false, transformFunction: null }, marks: { classPropertyName: "marks", publicName: "marks", isSignal: true, isRequired: false, transformFunction: null }, showMarkLabels: { classPropertyName: "showMarkLabels", publicName: "showMarkLabels", isSignal: true, isRequired: false, transformFunction: null }, showMinMax: { classPropertyName: "showMinMax", publicName: "showMinMax", isSignal: true, isRequired: false, transformFunction: null }, showValue: { classPropertyName: "showValue", publicName: "showValue", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, valueFormatter: { classPropertyName: "valueFormatter", publicName: "valueFormatter", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedby: { classPropertyName: "ariaDescribedby", publicName: "aria-describedby", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelStart: { classPropertyName: "ariaLabelStart", publicName: "ariaLabelStart", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelEnd: { classPropertyName: "ariaLabelEnd", publicName: "ariaLabelEnd", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, errorStateMatcher: { classPropertyName: "errorStateMatcher", publicName: "errorStateMatcher", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", valueInput: "input", change: "change" }, host: { properties: { "class": "rootClasses()", "attr.data-disabled": "isDisabled() || null" } }, viewQueries: [{ propertyName: "region", first: true, predicate: ["region"], descendants: true, isSignal: true }, { propertyName: "startThumb", first: true, predicate: ["startThumb"], descendants: true, isSignal: true }, { propertyName: "endThumb", first: true, predicate: ["endThumb"], descendants: true, isSignal: true }, { propertyName: "singleThumb", first: true, predicate: ["singleThumb"], descendants: true, isSignal: true }], ngImport: i0, template: `
904
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
905
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: SliderComponent, isStandalone: true, selector: "tw-slider", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, range: { classPropertyName: "range", publicName: "range", isSignal: true, isRequired: false, transformFunction: null }, marks: { classPropertyName: "marks", publicName: "marks", isSignal: true, isRequired: false, transformFunction: null }, showMarkLabels: { classPropertyName: "showMarkLabels", publicName: "showMarkLabels", isSignal: true, isRequired: false, transformFunction: null }, showMinMax: { classPropertyName: "showMinMax", publicName: "showMinMax", isSignal: true, isRequired: false, transformFunction: null }, showValue: { classPropertyName: "showValue", publicName: "showValue", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, valueFormatter: { classPropertyName: "valueFormatter", publicName: "valueFormatter", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedby: { classPropertyName: "ariaDescribedby", publicName: "aria-describedby", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelStart: { classPropertyName: "ariaLabelStart", publicName: "ariaLabelStart", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelEnd: { classPropertyName: "ariaLabelEnd", publicName: "ariaLabelEnd", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, errorStateMatcher: { classPropertyName: "errorStateMatcher", publicName: "errorStateMatcher", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", valueInput: "input", change: "change" }, host: { properties: { "class": "rootClasses()", "attr.data-disabled": "isDisabled() || null" } }, viewQueries: [{ propertyName: "region", first: true, predicate: ["region"], descendants: true, isSignal: true }, { propertyName: "startThumb", first: true, predicate: ["startThumb"], descendants: true, isSignal: true }, { propertyName: "endThumb", first: true, predicate: ["endThumb"], descendants: true, isSignal: true }, { propertyName: "singleThumb", first: true, predicate: ["singleThumb"], descendants: true, isSignal: true }], ngImport: i0, template: `
830
906
  @if (hasHeader()) {
831
907
  <div [class]="headerClasses()">
832
908
  @if (label(); as lbl) {
@@ -977,7 +1053,7 @@ class SliderComponent {
977
1053
  }
978
1054
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
979
1055
  }
980
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: SliderComponent, decorators: [{
1056
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SliderComponent, decorators: [{
981
1057
  type: Component,
982
1058
  args: [{
983
1059
  selector: 'tw-slider',