@baloise/ds-core 20.0.0-next.6 → 20.0.0-next.8

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 (568) hide show
  1. package/components/all.d.ts +2 -0
  2. package/components/all.js +3 -0
  3. package/components/ds-accordion.js +1 -1
  4. package/components/ds-app.js +1 -1
  5. package/components/ds-badge.js +1 -1
  6. package/components/ds-button-group.js +1 -1
  7. package/components/ds-button.js +1 -1
  8. package/components/ds-card-actions.js +1 -1
  9. package/components/ds-card-content.js +1 -1
  10. package/components/ds-card-subtitle.js +1 -1
  11. package/components/ds-card-title.js +1 -1
  12. package/components/ds-card.js +1 -1
  13. package/components/ds-carousel.js +1 -1
  14. package/components/ds-checkbox-group.js +1 -1
  15. package/components/ds-checkbox.js +1 -1
  16. package/components/ds-close.js +1 -1
  17. package/components/ds-content.js +1 -1
  18. package/components/ds-data-item.js +1 -1
  19. package/components/ds-date.js +1 -1
  20. package/components/ds-drawer.js +1 -1
  21. package/components/ds-file-upload.js +1 -1
  22. package/components/ds-footer.js +1 -1
  23. package/components/ds-heading.js +1 -1
  24. package/components/ds-hint.js +1 -1
  25. package/components/ds-icon.js +1 -1
  26. package/components/ds-input-slider.d.ts +11 -0
  27. package/components/ds-input-slider.js +4 -0
  28. package/components/ds-input.js +1 -1
  29. package/components/ds-item.js +1 -1
  30. package/components/ds-label.js +1 -1
  31. package/components/ds-list.js +1 -1
  32. package/components/ds-logo.js +1 -1
  33. package/components/ds-modal-body.js +1 -1
  34. package/components/ds-modal-header.js +1 -1
  35. package/components/ds-modal.js +1 -1
  36. package/components/ds-navbar.js +1 -1
  37. package/components/ds-notification.js +1 -1
  38. package/components/ds-number-input.js +1 -1
  39. package/components/ds-pagination.js +1 -1
  40. package/components/ds-popup.js +1 -1
  41. package/components/ds-progress-bar.js +1 -1
  42. package/components/ds-radio-group.js +1 -1
  43. package/components/ds-radio.js +1 -1
  44. package/components/ds-segment-item.js +1 -1
  45. package/components/ds-segment.js +1 -1
  46. package/components/ds-select-optgroup.js +1 -1
  47. package/components/ds-select-option.js +1 -1
  48. package/components/ds-select.js +1 -1
  49. package/components/ds-shape.js +1 -1
  50. package/components/ds-snackbar.js +1 -1
  51. package/components/ds-spinner.js +1 -1
  52. package/components/ds-stack.js +1 -1
  53. package/components/ds-step-panel.js +1 -1
  54. package/components/ds-step.js +1 -1
  55. package/components/ds-tab-panel.js +1 -1
  56. package/components/ds-tabs.js +1 -1
  57. package/components/ds-tag-group.js +1 -1
  58. package/components/ds-tag.js +1 -1
  59. package/components/ds-text.js +1 -1
  60. package/components/ds-textarea.js +1 -1
  61. package/components/ds-toast.js +1 -1
  62. package/components/ds-toggle.js +1 -1
  63. package/components/ds-tooltip.js +1 -1
  64. package/components/index.js +1 -1
  65. package/components/{p-DenZRIeA.js → p-BXJT6RzI.js} +1 -1
  66. package/components/p-BdLq-Ecc.js +4 -0
  67. package/components/{p-CjIxf5zy.js → p-BmKEBYP4.js} +1 -1
  68. package/components/p-BoWAkGY5.js +4 -0
  69. package/components/{p-DYTOWDAA.js → p-CTbJFS-e.js} +1 -1
  70. package/components/{p-DokkRjWC.js → p-CaMOovXn.js} +1 -1
  71. package/components/p-Ce8PV2ZO.js +4 -0
  72. package/components/p-CmBtAxar.js +4 -0
  73. package/components/p-D8gpyiFZ.js +4 -0
  74. package/components/{p-ng5ZzTOj.js → p-DBX_haol.js} +1 -1
  75. package/components/{p-BfXZJ1Fe.js → p-DPbhygsR.js} +1 -1
  76. package/components/{p-BU0dY8pq.js → p-DZzsZ_YH.js} +1 -1
  77. package/components/p-DbUsvqrz.js +4 -0
  78. package/components/p-Dbqy6lZU.js +5 -0
  79. package/{dist/design-system/p-BATOumsf.js → components/p-fS80bKHo.js} +1 -1
  80. package/components/{p-bGV2P6rT.js → p-hPpcXLRP.js} +1 -1
  81. package/components/p-o0H7eIVX.js +4 -0
  82. package/components/p-std0LSH2.js +4 -0
  83. package/components/{p-Btdh3fq7.js → p-u5aa74vh.js} +1 -1
  84. package/components/p-wud2RGEy.js +4 -0
  85. package/dist/cjs/{_getTag-B468r9bu.js → _getTag-DxZgmSPS.js} +1 -1
  86. package/dist/cjs/{array-CioNm_V1.js → array-CYn4ALBt.js} +10 -9
  87. package/dist/cjs/{breakpoints.decorator-C-Qm21UK.js → breakpoints.decorator-DbttiLa9.js} +1 -1
  88. package/dist/cjs/{breakpoints.subject-XNcGwhzh.js → breakpoints.subject-CNyiZaBe.js} +3 -3
  89. package/dist/cjs/{button.interfaces-CqlUGR-N.js → button.interfaces-BKyK0H_f.js} +0 -1
  90. package/dist/cjs/{config.decorator-ThGLtT-3.js → config.decorator-bU7c6ybP.js} +1 -1
  91. package/dist/cjs/{config.utils-MhZvq4Qm.js → config.utils-BhJig3l5.js} +1 -1
  92. package/dist/cjs/{create-validator-decorator-BIgFqrMJ.js → create-validator-decorator-CiRieHJL.js} +1 -1
  93. package/dist/cjs/design-system.cjs.js +2 -2
  94. package/dist/cjs/{device-BnjBOLnP.js → device-DM1GXL99.js} +1 -1
  95. package/dist/cjs/ds-accordion.cjs.entry.js +9 -9
  96. package/dist/cjs/ds-alert-container.cjs.entry.js +6 -6
  97. package/dist/cjs/ds-app.cjs.entry.js +35 -8
  98. package/dist/cjs/ds-badge.cjs.entry.js +20 -39
  99. package/dist/cjs/ds-button-group.cjs.entry.js +7 -7
  100. package/dist/cjs/ds-button_2.cjs.entry.js +20 -20
  101. package/dist/cjs/ds-card-actions.cjs.entry.js +4 -4
  102. package/dist/cjs/ds-card-content.cjs.entry.js +3 -3
  103. package/dist/cjs/ds-card-header.cjs.entry.js +5 -5
  104. package/dist/cjs/ds-card-subtitle.cjs.entry.js +10 -14
  105. package/dist/cjs/ds-card-title.cjs.entry.js +8 -14
  106. package/dist/cjs/ds-card.cjs.entry.js +14 -13
  107. package/dist/cjs/ds-carousel-item.cjs.entry.js +6 -6
  108. package/dist/cjs/ds-carousel.cjs.entry.js +8 -8
  109. package/dist/cjs/ds-checkbox-group.cjs.entry.js +44 -19
  110. package/dist/cjs/ds-checkbox.cjs.entry.js +19 -10
  111. package/dist/cjs/ds-content_2.cjs.entry.js +18 -68
  112. package/dist/cjs/ds-data-item.cjs.entry.js +6 -6
  113. package/dist/cjs/ds-data-label.cjs.entry.js +4 -4
  114. package/dist/cjs/ds-data-value.cjs.entry.js +2 -2
  115. package/dist/cjs/ds-data.cjs.entry.js +4 -4
  116. package/dist/cjs/ds-date.cjs.entry.js +18 -12
  117. package/dist/cjs/ds-divider_2.cjs.entry.js +14 -14
  118. package/dist/cjs/ds-drawer_2.cjs.entry.js +10 -10
  119. package/dist/cjs/ds-file-upload.cjs.entry.js +22 -14
  120. package/dist/cjs/ds-footer.cjs.entry.js +7 -7
  121. package/dist/cjs/ds-heading.cjs.entry.js +21 -37
  122. package/dist/cjs/ds-hint-text.cjs.entry.js +2 -2
  123. package/dist/cjs/ds-hint-title.cjs.entry.js +2 -2
  124. package/dist/cjs/ds-hint.cjs.entry.js +11 -11
  125. package/dist/cjs/ds-icon_2.cjs.entry.js +23 -26
  126. package/dist/cjs/ds-input-slider.cjs.entry.js +2892 -0
  127. package/dist/cjs/ds-input.cjs.entry.js +20 -11
  128. package/dist/cjs/ds-item.cjs.entry.js +7 -7
  129. package/dist/cjs/ds-label.cjs.entry.js +11 -11
  130. package/dist/cjs/ds-list.cjs.entry.js +5 -5
  131. package/dist/cjs/ds-modal-body.cjs.entry.js +3 -3
  132. package/dist/cjs/ds-modal-header.cjs.entry.js +3 -3
  133. package/dist/cjs/ds-modal.cjs.entry.js +9 -9
  134. package/dist/cjs/ds-navbar.cjs.entry.js +17 -17
  135. package/dist/cjs/ds-notification.cjs.entry.js +11 -11
  136. package/dist/cjs/ds-number-input.cjs.entry.js +31 -117
  137. package/dist/cjs/ds-pagination.cjs.entry.js +17 -17
  138. package/dist/cjs/ds-progress-bar.cjs.entry.js +14 -14
  139. package/dist/cjs/ds-radio-group.cjs.entry.js +39 -15
  140. package/dist/cjs/ds-radio.cjs.entry.js +19 -10
  141. package/dist/cjs/ds-segment-item.cjs.entry.js +5 -5
  142. package/dist/cjs/ds-segment.cjs.entry.js +21 -15
  143. package/dist/cjs/ds-select-optgroup.cjs.entry.js +5 -5
  144. package/dist/cjs/ds-select-option.cjs.entry.js +5 -5
  145. package/dist/cjs/ds-select.cjs.entry.js +18 -13
  146. package/dist/cjs/ds-shape.cjs.entry.js +5 -5
  147. package/dist/cjs/ds-snackbar.cjs.entry.js +14 -14
  148. package/dist/cjs/ds-step-panel.cjs.entry.js +6 -6
  149. package/dist/cjs/ds-step.cjs.entry.js +5 -5
  150. package/dist/cjs/ds-steps.cjs.entry.js +6 -6
  151. package/dist/cjs/ds-tab-panel.cjs.entry.js +6 -6
  152. package/dist/cjs/ds-tab.cjs.entry.js +5 -5
  153. package/dist/cjs/ds-tabs.cjs.entry.js +12 -12
  154. package/dist/cjs/ds-tag-group.cjs.entry.js +3 -3
  155. package/dist/cjs/ds-tag.cjs.entry.js +9 -9
  156. package/dist/cjs/ds-text.cjs.entry.js +10 -10
  157. package/dist/cjs/ds-textarea.cjs.entry.js +19 -10
  158. package/dist/cjs/ds-toast.cjs.entry.js +12 -12
  159. package/dist/cjs/ds-toggle.cjs.entry.js +7 -7
  160. package/dist/cjs/ds-tooltip.cjs.entry.js +5 -5
  161. package/dist/cjs/{field.util-L-DkeMVk.js → field.util-C7hgA41e.js} +32 -2
  162. package/dist/cjs/{focus-D3VVgpM7.js → focus-CHzvkERd.js} +1 -1
  163. package/dist/cjs/{form-control-CtMcJUuC.js → form-control-CmRONWa7.js} +1 -1
  164. package/dist/cjs/{has-value-DK0oRqXI.js → has-value-3s9rhB3K.js} +1 -1
  165. package/dist/cjs/{heading.interfaces-B5NJ2yjL.js → heading.interfaces-CAc5LNKb.js} +2 -3
  166. package/dist/cjs/{index-sC3JnTlJ.js → index-DD7qcaNz.js} +80 -1
  167. package/dist/cjs/index.cjs.js +7 -7
  168. package/dist/cjs/isArray-DvQst6zQ.js +42 -0
  169. package/dist/cjs/isNaN-DOSPWDkt.js +106 -0
  170. package/dist/cjs/{isObjectLike-h-ta_ikf.js → isObjectLike-BNz6hnAu.js} +0 -37
  171. package/dist/cjs/{listener-BwB_xent.js → listener-CAzIWSXQ.js} +1 -1
  172. package/dist/cjs/loader.cjs.js +2 -2
  173. package/dist/cjs/{one-of-BZGRIMtQ.js → one-of-xdIxH9e7.js} +1 -1
  174. package/dist/cjs/{required-COz3Unzu.js → required-Dh6TQNa1.js} +1 -1
  175. package/dist/cjs/{resize.decorator-DWM_fQgv.js → resize.decorator-C53-TjuS.js} +2 -2
  176. package/dist/cjs/{scroll-CUuEh4xd.js → scroll-BOeiw1-E.js} +1 -1
  177. package/dist/cjs/{svg-D9RbiR8R.js → svg-B9eUbG7a.js} +96 -33
  178. package/dist/cjs/{tslib.es6-CxyosZMg.js → tslib.es6-DMgN1vwG.js} +1 -1
  179. package/dist/cjs/{type-hmc4CJcO.js → type-BcP2cAG-.js} +1 -1
  180. package/dist/collection/collection-manifest.json +1 -0
  181. package/dist/collection/components/accordion/accordion.host.css +1 -1
  182. package/dist/collection/components/alert/snackbar/snackbar.host.css +1 -1
  183. package/dist/collection/components/alert/toast/toast.host.css +1 -1
  184. package/dist/collection/components/app/app.js +30 -3
  185. package/dist/collection/components/badge/badge.host.css +1 -1
  186. package/dist/collection/components/badge/badge.interfaces.js +3 -3
  187. package/dist/collection/components/badge/badge.js +20 -42
  188. package/dist/collection/components/button/button.interfaces.js +0 -1
  189. package/dist/collection/components/button/button.js +1 -1
  190. package/dist/collection/components/card/card-content/card-content.host.css +1 -1
  191. package/dist/collection/components/card/card-subtitle/card-subtitle.js +6 -11
  192. package/dist/collection/components/card/card-title/card-title.js +4 -11
  193. package/dist/collection/components/card/card.host.css +1 -1
  194. package/dist/collection/components/card/card.js +10 -9
  195. package/dist/collection/components/checkbox/checkbox-group/checkbox-group.js +54 -8
  196. package/dist/collection/components/checkbox/checkbox.host.css +1 -1
  197. package/dist/collection/components/checkbox/checkbox.js +31 -2
  198. package/dist/collection/components/checkbox/test/checkbox.visual.play.js +4 -0
  199. package/dist/collection/components/close/close.host.css +1 -1
  200. package/dist/collection/components/close/close.interfaces.js +1 -1
  201. package/dist/collection/components/close/close.js +14 -16
  202. package/dist/collection/components/content/content.host.css +1 -1
  203. package/dist/collection/components/content/content.interfaces.js +2 -3
  204. package/dist/collection/components/content/content.js +21 -60
  205. package/dist/collection/components/date/date.js +12 -4
  206. package/dist/collection/components/date/test/date.visual.play.js +1 -0
  207. package/dist/collection/components/file-upload/file-upload.js +13 -4
  208. package/dist/collection/components/file-upload/test/file-upload.visual.play.js +10 -1
  209. package/dist/collection/components/heading/heading.host.css +1 -1
  210. package/dist/collection/components/heading/heading.interfaces.js +2 -3
  211. package/dist/collection/components/heading/heading.js +25 -45
  212. package/dist/collection/components/input/field.util.js +1 -1
  213. package/dist/collection/components/input/input.js +14 -3
  214. package/dist/collection/components/input/test/input.visual.play.js +2 -1
  215. package/dist/collection/components/input-slider/input-slider.host.css +1 -0
  216. package/dist/collection/components/input-slider/input-slider.interfaces.js +4 -0
  217. package/dist/collection/components/input-slider/input-slider.js +970 -0
  218. package/dist/collection/components/input-slider/input-slider.picker.js +124 -0
  219. package/dist/collection/components/input-slider/input-slider.utils.js +32 -0
  220. package/dist/collection/components/input-slider/test/input-slider.a11y.play.js +36 -0
  221. package/dist/collection/components/input-slider/test/input-slider.component.play.js +87 -0
  222. package/dist/collection/components/input-slider/test/input-slider.visual.play.js +28 -0
  223. package/dist/collection/components/label/label.host.css +1 -1
  224. package/dist/collection/components/label/label.js +2 -2
  225. package/dist/collection/components/list/item/item.host.css +1 -1
  226. package/dist/collection/components/list/list.js +1 -1
  227. package/dist/collection/components/logo/logo.js +2 -2
  228. package/dist/collection/components/modal/modal-body/modal-body.js +1 -1
  229. package/dist/collection/components/modal/modal-header/modal-header.js +1 -1
  230. package/dist/collection/components/modal/modal.js +2 -2
  231. package/dist/collection/components/navbar/navbar.js +3 -3
  232. package/dist/collection/components/notification/notification.host.css +1 -1
  233. package/dist/collection/components/notification/notification.js +3 -3
  234. package/dist/collection/components/number-input/number-input.js +13 -2
  235. package/dist/collection/components/number-input/test/number-input.visual.play.js +1 -1
  236. package/dist/collection/components/pagination/pagination.js +5 -5
  237. package/dist/collection/components/popup/popup.js +1 -1
  238. package/dist/collection/components/progress-bar/progress-bar.js +2 -2
  239. package/dist/collection/components/radio/radio-group/radio-group.js +54 -8
  240. package/dist/collection/components/radio/radio.host.css +1 -1
  241. package/dist/collection/components/radio/radio.js +31 -2
  242. package/dist/collection/components/radio/test/radio.visual.play.js +4 -0
  243. package/dist/collection/components/segment/segment/segment.js +15 -7
  244. package/dist/collection/components/segment/segment-item.js +1 -1
  245. package/dist/collection/components/segment/test/segment.visual.play.js +1 -0
  246. package/dist/collection/components/select/select-optgroup.js +1 -1
  247. package/dist/collection/components/select/select-option.js +1 -1
  248. package/dist/collection/components/select/select.host.css +1 -1
  249. package/dist/collection/components/select/select.js +11 -4
  250. package/dist/collection/components/select/test/select.visual.play.js +2 -2
  251. package/dist/collection/components/shape/shape.js +1 -1
  252. package/dist/collection/components/spinner/spinner.host.css +1 -1
  253. package/dist/collection/components/spinner/spinner.interfaces.js +1 -1
  254. package/dist/collection/components/spinner/spinner.js +12 -16
  255. package/dist/collection/components/stack/stack.host.css +1 -1
  256. package/dist/collection/components/stack/stack.interfaces.js +1 -2
  257. package/dist/collection/components/stack/stack.js +13 -33
  258. package/dist/collection/components/steps/step-panel/step-panel.js +1 -1
  259. package/dist/collection/components/tabs/tab-panel/tab-panel.js +1 -1
  260. package/dist/collection/components/tabs/tabs/tabs.js +4 -4
  261. package/dist/collection/components/tag/tag-group/tag-group.js +1 -1
  262. package/dist/collection/components/tag/tag.host.css +1 -1
  263. package/dist/collection/components/tag/tag.js +2 -2
  264. package/dist/collection/components/text/text.host.css +1 -1
  265. package/dist/collection/components/text/text.js +3 -3
  266. package/dist/collection/components/textarea/test/textarea.visual.play.js +2 -2
  267. package/dist/collection/components/textarea/textarea.js +13 -2
  268. package/dist/collection/components/toggle/toggle.js +2 -2
  269. package/dist/collection/components/tooltip/tooltip.js +1 -1
  270. package/dist/collection/global/constants/tags.constant.js +1 -0
  271. package/dist/collection/global/constants/version.constant.js +1 -1
  272. package/dist/collection/global/global.js +2 -0
  273. package/dist/collection/global/token-preview.js +75 -0
  274. package/dist/collection/global/token-preview.types.js +1 -0
  275. package/dist/collection/utils/index.js +1 -0
  276. package/dist/collection/utils/invalid-text-slot.js +31 -0
  277. package/dist/design-system/design-system.esm.js +1 -1
  278. package/dist/design-system/index.esm.js +1 -1
  279. package/dist/design-system/{p-5d17209d91.entry.js → p-001b20140b.entry.js} +1 -1
  280. package/dist/design-system/p-0c031d8d90.entry.js +4 -0
  281. package/dist/design-system/p-0c18812daa.entry.js +4 -0
  282. package/dist/design-system/p-19e0638e5c.entry.js +4 -0
  283. package/dist/design-system/{p-10c136d00d.entry.js → p-1dc3406415.entry.js} +1 -1
  284. package/dist/design-system/{p-53dda5d400.entry.js → p-200a0ea72c.entry.js} +1 -1
  285. package/dist/design-system/p-2516721737.entry.js +4 -0
  286. package/dist/design-system/p-2a67e9b4eb.entry.js +4 -0
  287. package/dist/design-system/p-2cc9740eb6.entry.js +4 -0
  288. package/dist/design-system/p-33165c2b03.entry.js +4 -0
  289. package/dist/design-system/p-37295c3a5d.entry.js +4 -0
  290. package/dist/design-system/p-3d1f15112e.entry.js +4 -0
  291. package/dist/design-system/p-3de8e2b6c9.entry.js +4 -0
  292. package/dist/design-system/{p-774b89ed0b.entry.js → p-4042b35fee.entry.js} +1 -1
  293. package/dist/design-system/{p-afd8bbe699.entry.js → p-40b3d4d0f9.entry.js} +1 -1
  294. package/dist/design-system/{p-f0119fe693.entry.js → p-45af50a69f.entry.js} +1 -1
  295. package/dist/design-system/p-4df80c06f8.entry.js +4 -0
  296. package/dist/design-system/p-4f12c6449d.entry.js +4 -0
  297. package/dist/design-system/p-4f95f06b86.entry.js +4 -0
  298. package/dist/design-system/{p-c37f266740.entry.js → p-662983c8bd.entry.js} +1 -1
  299. package/dist/design-system/p-68693c06a1.entry.js +4 -0
  300. package/dist/design-system/{p-7c353652a9.entry.js → p-69784a200e.entry.js} +1 -1
  301. package/dist/design-system/{p-BhdSNuGP.js → p-6Iq8BM7N.js} +1 -1
  302. package/dist/design-system/p-6ba71ce374.entry.js +4 -0
  303. package/dist/design-system/{p-13d1ce3158.entry.js → p-72c08ce551.entry.js} +1 -1
  304. package/dist/design-system/p-72fe1ab876.entry.js +4 -0
  305. package/dist/design-system/p-73b26207bf.entry.js +4 -0
  306. package/dist/design-system/{p-4e6638d14e.entry.js → p-7576fb01bf.entry.js} +1 -1
  307. package/dist/design-system/p-819d71abe1.entry.js +4 -0
  308. package/dist/design-system/p-88682a66d5.entry.js +4 -0
  309. package/dist/design-system/{p-6ef31a3c07.entry.js → p-8a7c2f5b0a.entry.js} +1 -1
  310. package/dist/design-system/{p-0bd2ce2da3.entry.js → p-8bfcfd7b07.entry.js} +1 -1
  311. package/dist/design-system/p-9537ebc880.entry.js +4 -0
  312. package/dist/design-system/{p-e7472337ed.entry.js → p-96d37205c9.entry.js} +1 -1
  313. package/dist/design-system/{p-0663d7c0f1.entry.js → p-97ad0e648a.entry.js} +1 -1
  314. package/dist/design-system/p-9e0f190f06.entry.js +4 -0
  315. package/dist/design-system/p-9f746ea4e3.entry.js +4 -0
  316. package/dist/design-system/{p-B1e0kNRJ.js → p-B2dqoehY.js} +2 -2
  317. package/dist/design-system/p-B8PCdo6e.js +4 -0
  318. package/dist/design-system/p-B9ddSbbe.js +4 -0
  319. package/dist/design-system/p-BDcIydUK.js +4 -0
  320. package/dist/design-system/p-BdLq-Ecc.js +4 -0
  321. package/dist/design-system/{p-HwbqEzpk.js → p-BjaiDrCD.js} +1 -1
  322. package/dist/design-system/{p-CvTcEsXg.js → p-BnJgNfen.js} +1 -1
  323. package/dist/design-system/{p-78NZc8PM.js → p-Bnpwi9iD.js} +1 -1
  324. package/dist/design-system/p-C6AmBSV7.js +4 -0
  325. package/dist/design-system/{p-hLAmwHiq.js → p-CBGYLNZZ.js} +1 -1
  326. package/dist/design-system/p-CDhvZoCt.js +4 -0
  327. package/dist/design-system/p-CGHN-3RC.js +4 -0
  328. package/dist/design-system/{p-BkTv_bQR.js → p-CR2JnhVY.js} +1 -1
  329. package/dist/design-system/{p-Dm2lqE3-.js → p-ClSAXeZN.js} +1 -1
  330. package/dist/design-system/p-CziF75uh.js +4 -0
  331. package/dist/design-system/p-D-_px2sY.js +5 -0
  332. package/dist/design-system/{p-ij4OEkzJ.js → p-DNQg2PVW.js} +1 -1
  333. package/dist/design-system/p-DQGbRzw_.js +4 -0
  334. package/dist/design-system/{p-LCY5n5tq.js → p-DWdcUUdS.js} +1 -1
  335. package/dist/design-system/{p-C7i6xLTJ.js → p-DuKlHFAK.js} +1 -1
  336. package/dist/design-system/p-MUUOiuTm.js +5 -0
  337. package/dist/design-system/{p-BvEM6oCl.js → p-_Ywzmi-B.js} +1 -1
  338. package/dist/design-system/{p-DgVaaZT_.js → p-_rk5qARQ.js} +1 -1
  339. package/dist/design-system/{p-8406f6faf1.entry.js → p-a343b84e8a.entry.js} +1 -1
  340. package/dist/design-system/p-a3ed278181.entry.js +4 -0
  341. package/dist/design-system/{p-650289138a.entry.js → p-a71c22bc50.entry.js} +1 -1
  342. package/dist/design-system/{p-DTxLRTYr.js → p-aPnyJLhr.js} +1 -1
  343. package/dist/design-system/{p-f4958b9e97.entry.js → p-abcc8edf7e.entry.js} +1 -1
  344. package/dist/design-system/{p-372bf379f9.entry.js → p-ac55e3783c.entry.js} +1 -1
  345. package/dist/design-system/{p-7e702193fc.entry.js → p-ac7f3f89be.entry.js} +1 -1
  346. package/dist/design-system/{p-3134821ac6.entry.js → p-ae8753bf2a.entry.js} +1 -1
  347. package/dist/design-system/{p-60d29d8b8e.entry.js → p-afea3755c2.entry.js} +1 -1
  348. package/dist/design-system/{p-dcb749efc7.entry.js → p-bd31b396d8.entry.js} +1 -1
  349. package/dist/design-system/p-bd740897a1.entry.js +4 -0
  350. package/dist/design-system/{p-d5f8d8f5e1.entry.js → p-bf03129378.entry.js} +1 -1
  351. package/dist/design-system/p-bfd0557b47.entry.js +4 -0
  352. package/dist/design-system/{p-01430d5c28.entry.js → p-c07aa25e4d.entry.js} +1 -1
  353. package/dist/design-system/p-c19c74c2b1.entry.js +4 -0
  354. package/dist/design-system/{p-dd38f8f206.entry.js → p-d5d7700fd3.entry.js} +1 -1
  355. package/dist/design-system/p-d727654ec3.entry.js +4 -0
  356. package/dist/design-system/{p-a465c1acce.entry.js → p-dadd7a84bc.entry.js} +1 -1
  357. package/dist/design-system/p-dd5e815ef3.entry.js +4 -0
  358. package/dist/design-system/p-dfebad2acc.entry.js +4 -0
  359. package/{components/p-D9YYP2SG.js → dist/design-system/p-dziB1ufg.js} +1 -1
  360. package/dist/design-system/p-e16572468e.entry.js +4 -0
  361. package/dist/design-system/p-e23b6d59c0.entry.js +4 -0
  362. package/dist/design-system/p-e743fa4c17.entry.js +4 -0
  363. package/dist/design-system/p-e94b66c13e.entry.js +4 -0
  364. package/dist/design-system/{p-a8de98dd7b.entry.js → p-ec3f2ded29.entry.js} +1 -1
  365. package/dist/design-system/p-ed3f364d1f.entry.js +4 -0
  366. package/dist/design-system/{p-a62b7985a0.entry.js → p-eedaf7fe85.entry.js} +1 -1
  367. package/dist/design-system/p-ef1bf78788.entry.js +4 -0
  368. package/dist/design-system/{p-9f2dd0b55b.entry.js → p-f0b0376beb.entry.js} +1 -1
  369. package/dist/design-system/p-f7787fca37.entry.js +4 -0
  370. package/dist/design-system/p-fd868dc1f5.entry.js +4 -0
  371. package/dist/esm/{_getTag-DFxL3s3h.js → _getTag-BkweuRJc.js} +1 -1
  372. package/dist/esm/{array-dJH4dfMr.js → array-BJZA868l.js} +3 -2
  373. package/dist/esm/{breakpoints.decorator-DZ0xN4Np.js → breakpoints.decorator-CIweMjJQ.js} +1 -1
  374. package/dist/esm/{breakpoints.subject-BNnXcKMw.js → breakpoints.subject-CUVOWezN.js} +3 -3
  375. package/dist/esm/{button.interfaces-BPGfTrrM.js → button.interfaces-C6AmBSV7.js} +0 -1
  376. package/dist/esm/{config.decorator-ZQ0_Zx5y.js → config.decorator-CyvsD1EY.js} +1 -1
  377. package/dist/esm/{config.utils-D9o7rffC.js → config.utils-Db2OSTX3.js} +1 -1
  378. package/dist/esm/{create-validator-decorator-DovxquEu.js → create-validator-decorator-g9TfAa1g.js} +1 -1
  379. package/dist/esm/design-system.js +3 -3
  380. package/dist/esm/{device-CRuIJzXR.js → device-CtidwsPr.js} +1 -1
  381. package/dist/esm/ds-accordion.entry.js +9 -9
  382. package/dist/esm/ds-alert-container.entry.js +6 -6
  383. package/dist/esm/ds-app.entry.js +35 -8
  384. package/dist/esm/ds-badge.entry.js +20 -39
  385. package/dist/esm/ds-button-group.entry.js +7 -7
  386. package/dist/esm/ds-button_2.entry.js +20 -20
  387. package/dist/esm/ds-card-actions.entry.js +4 -4
  388. package/dist/esm/ds-card-content.entry.js +3 -3
  389. package/dist/esm/ds-card-header.entry.js +5 -5
  390. package/dist/esm/ds-card-subtitle.entry.js +10 -14
  391. package/dist/esm/ds-card-title.entry.js +8 -14
  392. package/dist/esm/ds-card.entry.js +14 -13
  393. package/dist/esm/ds-carousel-item.entry.js +6 -6
  394. package/dist/esm/ds-carousel.entry.js +8 -8
  395. package/dist/esm/ds-checkbox-group.entry.js +44 -19
  396. package/dist/esm/ds-checkbox.entry.js +19 -10
  397. package/dist/esm/ds-content_2.entry.js +18 -68
  398. package/dist/esm/ds-data-item.entry.js +6 -6
  399. package/dist/esm/ds-data-label.entry.js +4 -4
  400. package/dist/esm/ds-data-value.entry.js +2 -2
  401. package/dist/esm/ds-data.entry.js +4 -4
  402. package/dist/esm/ds-date.entry.js +18 -12
  403. package/dist/esm/ds-divider_2.entry.js +14 -14
  404. package/dist/esm/ds-drawer_2.entry.js +10 -10
  405. package/dist/esm/ds-file-upload.entry.js +22 -14
  406. package/dist/esm/ds-footer.entry.js +7 -7
  407. package/dist/esm/ds-heading.entry.js +21 -37
  408. package/dist/esm/ds-hint-text.entry.js +2 -2
  409. package/dist/esm/ds-hint-title.entry.js +2 -2
  410. package/dist/esm/ds-hint.entry.js +11 -11
  411. package/dist/esm/ds-icon_2.entry.js +21 -24
  412. package/dist/esm/ds-input-slider.entry.js +2890 -0
  413. package/dist/esm/ds-input.entry.js +20 -11
  414. package/dist/esm/ds-item.entry.js +7 -7
  415. package/dist/esm/ds-label.entry.js +11 -11
  416. package/dist/esm/ds-list.entry.js +5 -5
  417. package/dist/esm/ds-modal-body.entry.js +3 -3
  418. package/dist/esm/ds-modal-header.entry.js +3 -3
  419. package/dist/esm/ds-modal.entry.js +9 -9
  420. package/dist/esm/ds-navbar.entry.js +17 -17
  421. package/dist/esm/ds-notification.entry.js +11 -11
  422. package/dist/esm/ds-number-input.entry.js +24 -110
  423. package/dist/esm/ds-pagination.entry.js +17 -17
  424. package/dist/esm/ds-progress-bar.entry.js +14 -14
  425. package/dist/esm/ds-radio-group.entry.js +39 -15
  426. package/dist/esm/ds-radio.entry.js +19 -10
  427. package/dist/esm/ds-segment-item.entry.js +5 -5
  428. package/dist/esm/ds-segment.entry.js +21 -15
  429. package/dist/esm/ds-select-optgroup.entry.js +5 -5
  430. package/dist/esm/ds-select-option.entry.js +5 -5
  431. package/dist/esm/ds-select.entry.js +18 -13
  432. package/dist/esm/ds-shape.entry.js +5 -5
  433. package/dist/esm/ds-snackbar.entry.js +14 -14
  434. package/dist/esm/ds-step-panel.entry.js +6 -6
  435. package/dist/esm/ds-step.entry.js +5 -5
  436. package/dist/esm/ds-steps.entry.js +6 -6
  437. package/dist/esm/ds-tab-panel.entry.js +6 -6
  438. package/dist/esm/ds-tab.entry.js +5 -5
  439. package/dist/esm/ds-tabs.entry.js +12 -12
  440. package/dist/esm/ds-tag-group.entry.js +3 -3
  441. package/dist/esm/ds-tag.entry.js +9 -9
  442. package/dist/esm/ds-text.entry.js +10 -10
  443. package/dist/esm/ds-textarea.entry.js +19 -10
  444. package/dist/esm/ds-toast.entry.js +12 -12
  445. package/dist/esm/ds-toggle.entry.js +7 -7
  446. package/dist/esm/ds-tooltip.entry.js +5 -5
  447. package/dist/esm/{field.util-BjZzAi09.js → field.util-Dl02gvlr.js} +32 -3
  448. package/dist/esm/{focus-ZxHImoOj.js → focus-C1_jVoAm.js} +1 -1
  449. package/dist/esm/{form-control-DvJo0GKN.js → form-control-BAP86QSm.js} +1 -1
  450. package/dist/esm/{has-value-DU9L2JaI.js → has-value-CADjf9QZ.js} +1 -1
  451. package/dist/esm/{heading.interfaces-Ceu7FIWM.js → heading.interfaces-BdLq-Ecc.js} +2 -3
  452. package/dist/esm/{index-C6MVahkC.js → index-MUUOiuTm.js} +80 -1
  453. package/dist/esm/index.js +10 -10
  454. package/dist/esm/isArray-B8PCdo6e.js +40 -0
  455. package/dist/esm/isNaN-BrbqGXXw.js +104 -0
  456. package/dist/esm/{isObjectLike-BAYao9w7.js → isObjectLike-BnBXjF_n.js} +1 -37
  457. package/dist/esm/{listener-DHP2OPMZ.js → listener-DiVrGAqj.js} +1 -1
  458. package/dist/esm/loader.js +3 -3
  459. package/dist/esm/{one-of-CKPv0Nqm.js → one-of-rLykP5eX.js} +1 -1
  460. package/dist/esm/{required-Dqsbx5fH.js → required-BsfIY-qW.js} +1 -1
  461. package/dist/esm/{resize.decorator-B8h8D676.js → resize.decorator-BNy5tJCt.js} +2 -2
  462. package/dist/esm/{scroll-CsH7NHo5.js → scroll-D4cC-Fsr.js} +1 -1
  463. package/dist/esm/{svg-B8KVoKrH.js → svg-D-_px2sY.js} +96 -33
  464. package/dist/esm/{tslib.es6-C9GKXw-5.js → tslib.es6-C7vR-gMn.js} +1 -1
  465. package/dist/esm/{type-DzkhLOG_.js → type-Bqge296W.js} +1 -1
  466. package/dist/types/components/app/app.d.ts +23 -0
  467. package/dist/types/components/badge/badge.d.ts +12 -4
  468. package/dist/types/components/badge/badge.interfaces.d.ts +3 -3
  469. package/dist/types/components/button/button.interfaces.d.ts +1 -1
  470. package/dist/types/components/card/card-subtitle/card-subtitle.d.ts +1 -1
  471. package/dist/types/components/card/card-title/card-title.d.ts +1 -1
  472. package/dist/types/components/card/card.d.ts +1 -1
  473. package/dist/types/components/checkbox/checkbox-group/checkbox-group.d.ts +10 -0
  474. package/dist/types/components/checkbox/checkbox.d.ts +4 -0
  475. package/dist/types/components/close/close.d.ts +14 -2
  476. package/dist/types/components/close/close.interfaces.d.ts +1 -1
  477. package/dist/types/components/content/content.d.ts +6 -6
  478. package/dist/types/components/content/content.interfaces.d.ts +3 -3
  479. package/dist/types/components/date/date.d.ts +3 -0
  480. package/dist/types/components/file-upload/file-upload.d.ts +3 -0
  481. package/dist/types/components/heading/heading.d.ts +10 -10
  482. package/dist/types/components/heading/heading.interfaces.d.ts +3 -3
  483. package/dist/types/components/input/input.d.ts +4 -0
  484. package/dist/types/components/input-slider/input-slider.d.ts +189 -0
  485. package/dist/types/components/input-slider/input-slider.interfaces.d.ts +18 -0
  486. package/dist/types/components/input-slider/input-slider.picker.d.ts +37 -0
  487. package/dist/types/components/input-slider/input-slider.utils.d.ts +18 -0
  488. package/dist/types/components/input-slider/test/input-slider.a11y.play.d.ts +1 -0
  489. package/dist/types/components/input-slider/test/input-slider.component.play.d.ts +1 -0
  490. package/dist/types/components/input-slider/test/input-slider.visual.play.d.ts +1 -0
  491. package/dist/types/components/number-input/number-input.d.ts +4 -0
  492. package/dist/types/components/radio/radio-group/radio-group.d.ts +10 -0
  493. package/dist/types/components/radio/radio.d.ts +4 -0
  494. package/dist/types/components/segment/segment/segment.d.ts +3 -0
  495. package/dist/types/components/select/select.d.ts +3 -0
  496. package/dist/types/components/spinner/spinner.d.ts +8 -7
  497. package/dist/types/components/spinner/spinner.interfaces.d.ts +1 -1
  498. package/dist/types/components/stack/stack.d.ts +3 -3
  499. package/dist/types/components/stack/stack.interfaces.d.ts +2 -2
  500. package/dist/types/components/textarea/textarea.d.ts +4 -0
  501. package/dist/types/components.d.ts +334 -70
  502. package/dist/types/global/token-preview.d.ts +8 -0
  503. package/dist/types/global/token-preview.types.d.ts +20 -0
  504. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/index.d.ts +1 -0
  505. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/input-slider.po.d.ts +18 -0
  506. package/dist/types/utils/index.d.ts +1 -0
  507. package/dist/types/utils/invalid-text-slot.d.ts +9 -0
  508. package/docs/cem.json +792 -211
  509. package/docs/components.json +2434 -1559
  510. package/docs/html.html-data.json +124 -1
  511. package/docs/tags.json +1 -0
  512. package/docs/visual-pages.json +51 -0
  513. package/package.json +10 -9
  514. package/sbom.cdx.json +41369 -18745
  515. package/components/p-B1gnrQ9b.js +0 -4
  516. package/components/p-CA7G72wZ.js +0 -4
  517. package/components/p-CYWn3X22.js +0 -4
  518. package/components/p-Ceu7FIWM.js +0 -4
  519. package/components/p-Ctnm_MBD.js +0 -4
  520. package/components/p-DQBzmbR6.js +0 -4
  521. package/components/p-DsvYY32v.js +0 -4
  522. package/components/p-Du7QOHtz.js +0 -5
  523. package/components/p-FBQaJyH0.js +0 -4
  524. package/dist/design-system/p-014d464627.entry.js +0 -4
  525. package/dist/design-system/p-0ff0be5b83.entry.js +0 -4
  526. package/dist/design-system/p-11f34d0c7d.entry.js +0 -4
  527. package/dist/design-system/p-163d606781.entry.js +0 -4
  528. package/dist/design-system/p-1VXOIrN2.js +0 -4
  529. package/dist/design-system/p-202ecb8f01.entry.js +0 -4
  530. package/dist/design-system/p-27d181c5ac.entry.js +0 -4
  531. package/dist/design-system/p-2a35e0b9b0.entry.js +0 -4
  532. package/dist/design-system/p-2f51e1d39b.entry.js +0 -4
  533. package/dist/design-system/p-3292ae6a05.entry.js +0 -4
  534. package/dist/design-system/p-3895178b39.entry.js +0 -4
  535. package/dist/design-system/p-3c6b7a2967.entry.js +0 -4
  536. package/dist/design-system/p-3ef4bd1c59.entry.js +0 -4
  537. package/dist/design-system/p-493b18cc46.entry.js +0 -4
  538. package/dist/design-system/p-4a99464dae.entry.js +0 -4
  539. package/dist/design-system/p-5e51fa8df4.entry.js +0 -4
  540. package/dist/design-system/p-62cb503015.entry.js +0 -4
  541. package/dist/design-system/p-65c221261c.entry.js +0 -4
  542. package/dist/design-system/p-68c9f4f630.entry.js +0 -4
  543. package/dist/design-system/p-68ebed7eee.entry.js +0 -4
  544. package/dist/design-system/p-6b6531379b.entry.js +0 -4
  545. package/dist/design-system/p-6d168ba9ad.entry.js +0 -4
  546. package/dist/design-system/p-787bd92bcc.entry.js +0 -4
  547. package/dist/design-system/p-7c8bf0f33e.entry.js +0 -4
  548. package/dist/design-system/p-8353961d39.entry.js +0 -4
  549. package/dist/design-system/p-B8KVoKrH.js +0 -5
  550. package/dist/design-system/p-BLGVE-7Z.js +0 -4
  551. package/dist/design-system/p-BPGfTrrM.js +0 -4
  552. package/dist/design-system/p-C6MVahkC.js +0 -5
  553. package/dist/design-system/p-Ceu7FIWM.js +0 -4
  554. package/dist/design-system/p-CwCAiaMq.js +0 -4
  555. package/dist/design-system/p-DHeVI6dR.js +0 -4
  556. package/dist/design-system/p-ad2b17b0a0.entry.js +0 -4
  557. package/dist/design-system/p-b68bc14064.entry.js +0 -4
  558. package/dist/design-system/p-b955a93959.entry.js +0 -4
  559. package/dist/design-system/p-caad93b943.entry.js +0 -4
  560. package/dist/design-system/p-cca79bfeb1.entry.js +0 -4
  561. package/dist/design-system/p-ddf2a7dfee.entry.js +0 -4
  562. package/dist/design-system/p-df5899b930.entry.js +0 -4
  563. package/dist/design-system/p-e85c92ca1a.entry.js +0 -4
  564. package/dist/design-system/p-f62643c33d.entry.js +0 -4
  565. package/dist/design-system/p-fa9568abce.entry.js +0 -4
  566. package/dist/design-system/p-fcd98f22b7.entry.js +0 -4
  567. package/dist/design-system/p-feeef4a8cb.entry.js +0 -4
  568. package/dist/design-system/p-tl_BegdE.js +0 -4
@@ -0,0 +1,970 @@
1
+ /*!
2
+ * (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
3
+ */
4
+ import { __decorate, __metadata } from "tslib";
5
+ import { h, } from "@stencil/core";
6
+ import isNaN from "lodash/isNaN";
7
+ import { inheritAttributes, debounceEvent, hasValue, Logger, OneOf, Type, watchInvalidTextSlot, } from "../../utils/index";
8
+ import { defaultConfig, ListenToConfig } from "../../global/index";
9
+ import { Field } from "../input/field.util";
10
+ import { INPUT_COLORS } from "../input/input.interfaces";
11
+ import { INPUT_SLIDER_BRAND_COLORS, } from "./input-slider.interfaces";
12
+ import { clampValue, resolveInitialValue } from "./input-slider.utils";
13
+ import { InputSliderPickerController } from "./input-slider.picker";
14
+ /**
15
+ * Input slider renders a noUiSlider-backed slider with validation and label/description messaging.
16
+ *
17
+ * @slot invalid-text - Overrides the `invalidText` prop with custom markup, shown instead of the description when `invalid` is `true`.
18
+ * @part slider - The noUiSlider target element.
19
+ */
20
+ export class InputSlider {
21
+ constructor() {
22
+ this.inheritedAttributes = {};
23
+ this.initialValue = NaN;
24
+ this.inputSliderId = `ds-input-slider-${InputSliderIds++}`;
25
+ this.focused = false;
26
+ this.language = defaultConfig.language;
27
+ this.region = defaultConfig.region;
28
+ this.hasInvalidTextSlotContent = false;
29
+ /**
30
+ * PUBLIC PROPERTY API
31
+ * ------------------------------------------------------
32
+ */
33
+ /**
34
+ * The value of the slider. Unlike a text input, a slider can never be
35
+ * empty; when unset it defaults to `min`. Internally starts as `NaN` (this
36
+ * codebase's established "empty number" sentinel, see `isValueEmpty`) until
37
+ * `connectedCallback` resolves it — never actually rendered or emitted.
38
+ */
39
+ this.value = NaN;
40
+ /**
41
+ * The name of the control, which is submitted with the form data.
42
+ */
43
+ this.name = this.inputSliderId;
44
+ /**
45
+ * The label of the slider, which is displayed above the control.
46
+ */
47
+ this.label = '';
48
+ /**
49
+ * The description of the slider, which is displayed below the control.
50
+ */
51
+ this.description = '';
52
+ /**
53
+ * Defines the color of the slider. The default value is `primary`.
54
+ */
55
+ this.color = 'primary';
56
+ /**
57
+ * Recolors the connect (the filled progress track) with a brand color instead of the default
58
+ * grey/primary style. Left of the handle uses the darker `-4` shade, right of it the lighter
59
+ * `-2` shade. Empty (default) keeps the current grey/primary look.
60
+ */
61
+ this.brandColor = '';
62
+ /**
63
+ * If `true` the component gets an invalid style.
64
+ */
65
+ this.invalid = false;
66
+ /**
67
+ * The text to display when the slider is in an invalid state.
68
+ */
69
+ this.invalidText = '';
70
+ /**
71
+ * The minimum value of the slider.
72
+ */
73
+ this.min = 0;
74
+ /**
75
+ * The maximum value of the slider.
76
+ */
77
+ this.max = 100;
78
+ /**
79
+ * The granularity the value must adhere to, as a string so `"any"` (free,
80
+ * continuous dragging with no step snapping) can be expressed alongside
81
+ * numeric step sizes.
82
+ */
83
+ this.step = '1';
84
+ /**
85
+ * Set the amount of time, in milliseconds, to wait to trigger the `dsChange` event after each keystroke. This also impacts form bindings such as `ngModel` or `v-model`.
86
+ */
87
+ this.debounce = 0;
88
+ /**
89
+ * If `true`, the element is not mutable, focusable, or even submitted with the form. The user can neither edit nor focus on the control, nor its form control descendants.
90
+ */
91
+ this.disabled = false;
92
+ /**
93
+ * If `true` the element can not be mutated. noUiSlider has no native concept of
94
+ * `readonly`, so this is treated as equivalent to `disabled`.
95
+ */
96
+ this.readonly = false;
97
+ /**
98
+ * If `true`, the user must fill in a value before submitting a form.
99
+ */
100
+ this.required = true;
101
+ /**
102
+ * If `true`, in Angular reactive forms the control will not be set invalid
103
+ */
104
+ this.autoInvalidOff = false;
105
+ /**
106
+ * EVENT HANDLERS
107
+ * ------------------------------------------------------
108
+ */
109
+ this.handleFocus = (ev) => {
110
+ this.focused = true;
111
+ if (!this.disabled && !this.readonly) {
112
+ this.dsFocus.emit(ev);
113
+ }
114
+ };
115
+ this.handleBlur = (ev) => {
116
+ this.focused = false;
117
+ if (!this.disabled && !this.readonly) {
118
+ this.dsBlur.emit(ev);
119
+ }
120
+ };
121
+ this.handleClick = (ev) => {
122
+ if (!this.disabled && !this.readonly) {
123
+ this.dsClick.emit(ev);
124
+ }
125
+ };
126
+ }
127
+ createLogger(log) {
128
+ this.log = log;
129
+ }
130
+ valueChanged(newVal) {
131
+ var _a;
132
+ (_a = this.picker) === null || _a === void 0 ? void 0 : _a.setValue(newVal);
133
+ this.syncFormValue(newVal);
134
+ }
135
+ invalidChanged() {
136
+ var _a;
137
+ (_a = this.picker) === null || _a === void 0 ? void 0 : _a.setInvalid(this.invalid || this.hasInvalidTextSlotContent);
138
+ }
139
+ minChanged() {
140
+ var _a;
141
+ if (!isNaN(this.value)) {
142
+ this.value = clampValue(this.value, this.min, this.max);
143
+ }
144
+ (_a = this.picker) === null || _a === void 0 ? void 0 : _a.updateRange(this.min, this.max, this.step);
145
+ }
146
+ stepChanged() {
147
+ var _a;
148
+ (_a = this.picker) === null || _a === void 0 ? void 0 : _a.updateRange(this.min, this.max, this.step);
149
+ }
150
+ debounceChanged() {
151
+ this.dsChange = debounceEvent(this.dsChange, this.debounce);
152
+ }
153
+ disabledChanged() {
154
+ this.syncDisabledState();
155
+ }
156
+ readonlyChanged() {
157
+ this.syncDisabledState();
158
+ }
159
+ /**
160
+ * LIFECYCLE
161
+ * ------------------------------------------------------
162
+ */
163
+ connectedCallback() {
164
+ this.debounceChanged();
165
+ this.value = clampValue(resolveInitialValue(this.value, this.min), this.min, this.max);
166
+ this.initialValue = this.value;
167
+ this.syncFormValue(this.value);
168
+ this.disconnectInvalidTextSlotWatcher = watchInvalidTextSlot(this.el, hasContent => {
169
+ var _a;
170
+ this.hasInvalidTextSlotContent = hasContent;
171
+ (_a = this.picker) === null || _a === void 0 ? void 0 : _a.setInvalid(this.invalid || hasContent);
172
+ });
173
+ }
174
+ componentWillLoad() {
175
+ this.inheritedAttributes = inheritAttributes(this.el, ['aria-label', 'tabindex', 'title']);
176
+ }
177
+ componentDidLoad() {
178
+ var _a, _b;
179
+ if (!this.sliderEl)
180
+ return;
181
+ this.picker = new InputSliderPickerController({
182
+ targetEl: this.sliderEl,
183
+ labelId: 'label',
184
+ min: this.min,
185
+ max: this.max,
186
+ step: this.step,
187
+ value: this.value,
188
+ disabled: this.disabled || this.readonly,
189
+ invalid: this.invalid || this.hasInvalidTextSlotContent,
190
+ onInput: value => {
191
+ this.dsInput.emit(value);
192
+ },
193
+ onChange: value => {
194
+ this.setValue(value);
195
+ },
196
+ });
197
+ (_a = this.picker.handleEl) === null || _a === void 0 ? void 0 : _a.addEventListener('focus', this.handleFocus);
198
+ (_b = this.picker.handleEl) === null || _b === void 0 ? void 0 : _b.addEventListener('blur', this.handleBlur);
199
+ }
200
+ disconnectedCallback() {
201
+ var _a, _b;
202
+ (_a = this.picker) === null || _a === void 0 ? void 0 : _a.destroy();
203
+ this.picker = undefined;
204
+ (_b = this.disconnectInvalidTextSlotWatcher) === null || _b === void 0 ? void 0 : _b.call(this);
205
+ }
206
+ /**
207
+ * PUBLIC LISTENERS
208
+ * ------------------------------------------------------
209
+ */
210
+ listenToClick(ev) {
211
+ if ((this.disabled || this.readonly) && ev.target === this.el) {
212
+ ev.preventDefault();
213
+ ev.stopPropagation();
214
+ }
215
+ }
216
+ listenToReset(ev) {
217
+ const form = ev.target;
218
+ if (form === null || form === void 0 ? void 0 : form.contains(this.el)) {
219
+ this.value = this.initialValue;
220
+ }
221
+ }
222
+ /**
223
+ * @internal define config for the component
224
+ */
225
+ async configChanged(state) {
226
+ this.language = state.language;
227
+ this.region = state.region;
228
+ }
229
+ /**
230
+ * PUBLIC METHODS
231
+ * ------------------------------------------------------
232
+ */
233
+ /**
234
+ * Sets focus on `ds-input-slider`'s slider handle. Use this method instead of the global
235
+ * `element.focus()`.
236
+ */
237
+ async setFocus() {
238
+ var _a;
239
+ (_a = this.picker) === null || _a === void 0 ? void 0 : _a.focus();
240
+ }
241
+ /**
242
+ * Sets blur on `ds-input-slider`'s slider handle. Use this method instead of the global
243
+ * `element.blur()`.
244
+ * @internal
245
+ */
246
+ async setBlur() {
247
+ var _a;
248
+ (_a = this.picker) === null || _a === void 0 ? void 0 : _a.blur();
249
+ }
250
+ /**
251
+ * Returns the noUiSlider handle element used under the hood.
252
+ */
253
+ async getInputElement() {
254
+ var _a;
255
+ return (_a = this.picker) === null || _a === void 0 ? void 0 : _a.handleEl;
256
+ }
257
+ /**
258
+ * PRIVATE METHODS
259
+ * ------------------------------------------------------
260
+ */
261
+ setValue(newValue) {
262
+ if (this.value === newValue)
263
+ return;
264
+ this.value = newValue;
265
+ this.dsChange.emit(newValue);
266
+ }
267
+ syncFormValue(value) {
268
+ this.internals.setFormValue(String(value));
269
+ }
270
+ syncDisabledState() {
271
+ var _a;
272
+ (_a = this.picker) === null || _a === void 0 ? void 0 : _a.setDisabled(this.disabled || this.readonly);
273
+ }
274
+ /**
275
+ * RENDER
276
+ * ------------------------------------------------------
277
+ */
278
+ render() {
279
+ return (h(Field, { key: '69b0dc7ea5f958598cee12e42879d5e4f025bd2e', disabled: this.disabled || this.readonly, color: this.color, invalid: this.invalid, label: this.label, description: this.description, invalidText: this.invalidText, required: this.required, language: this.language, cssClasses: {
280
+ 'is-brand-yellow': hasValue(this.brandColor) && this.brandColor === 'yellow',
281
+ 'is-brand-purple': hasValue(this.brandColor) && this.brandColor === 'purple',
282
+ 'is-brand-red': hasValue(this.brandColor) && this.brandColor === 'red',
283
+ 'is-brand-green': hasValue(this.brandColor) && this.brandColor === 'green',
284
+ } }, h("div", Object.assign({ key: 'b89ecd4c3ac4f8c11c05b3de1e79215d4c076766', id: "slider", part: "slider", ref: el => (this.sliderEl = el), onClick: this.handleClick }, this.inheritedAttributes))));
285
+ }
286
+ static get is() { return "ds-input-slider"; }
287
+ static get encapsulation() { return "shadow"; }
288
+ static get formAssociated() { return true; }
289
+ static get originalStyleUrls() {
290
+ return {
291
+ "$": ["input-slider.host.scss"]
292
+ };
293
+ }
294
+ static get styleUrls() {
295
+ return {
296
+ "$": ["input-slider.host.css"]
297
+ };
298
+ }
299
+ static get properties() {
300
+ return {
301
+ "value": {
302
+ "type": "number",
303
+ "mutable": true,
304
+ "complexType": {
305
+ "original": "number",
306
+ "resolved": "number",
307
+ "references": {}
308
+ },
309
+ "required": false,
310
+ "optional": false,
311
+ "docs": {
312
+ "tags": [],
313
+ "text": "The value of the slider. Unlike a text input, a slider can never be\nempty; when unset it defaults to `min`. Internally starts as `NaN` (this\ncodebase's established \"empty number\" sentinel, see `isValueEmpty`) until\n`connectedCallback` resolves it \u2014 never actually rendered or emitted."
314
+ },
315
+ "getter": false,
316
+ "setter": false,
317
+ "reflect": true,
318
+ "attribute": "value",
319
+ "defaultValue": "NaN"
320
+ },
321
+ "name": {
322
+ "type": "string",
323
+ "mutable": false,
324
+ "complexType": {
325
+ "original": "string",
326
+ "resolved": "string",
327
+ "references": {}
328
+ },
329
+ "required": false,
330
+ "optional": false,
331
+ "docs": {
332
+ "tags": [],
333
+ "text": "The name of the control, which is submitted with the form data."
334
+ },
335
+ "getter": false,
336
+ "setter": false,
337
+ "reflect": true,
338
+ "attribute": "name",
339
+ "defaultValue": "this.inputSliderId"
340
+ },
341
+ "label": {
342
+ "type": "string",
343
+ "mutable": false,
344
+ "complexType": {
345
+ "original": "string",
346
+ "resolved": "string",
347
+ "references": {}
348
+ },
349
+ "required": false,
350
+ "optional": false,
351
+ "docs": {
352
+ "tags": [],
353
+ "text": "The label of the slider, which is displayed above the control."
354
+ },
355
+ "getter": false,
356
+ "setter": false,
357
+ "reflect": false,
358
+ "attribute": "label",
359
+ "defaultValue": "''"
360
+ },
361
+ "description": {
362
+ "type": "string",
363
+ "mutable": false,
364
+ "complexType": {
365
+ "original": "string",
366
+ "resolved": "string",
367
+ "references": {}
368
+ },
369
+ "required": false,
370
+ "optional": false,
371
+ "docs": {
372
+ "tags": [],
373
+ "text": "The description of the slider, which is displayed below the control."
374
+ },
375
+ "getter": false,
376
+ "setter": false,
377
+ "reflect": false,
378
+ "attribute": "description",
379
+ "defaultValue": "''"
380
+ },
381
+ "color": {
382
+ "type": "string",
383
+ "mutable": false,
384
+ "complexType": {
385
+ "original": "InputColor",
386
+ "resolved": "\"\" | \"danger\" | \"primary\" | \"success\" | \"warning\"",
387
+ "references": {
388
+ "InputColor": {
389
+ "location": "import",
390
+ "path": "../input/input.interfaces",
391
+ "id": "src/components/input/input.interfaces.ts::InputColor",
392
+ "referenceLocation": "InputColor"
393
+ }
394
+ }
395
+ },
396
+ "required": false,
397
+ "optional": false,
398
+ "docs": {
399
+ "tags": [],
400
+ "text": "Defines the color of the slider. The default value is `primary`."
401
+ },
402
+ "getter": false,
403
+ "setter": false,
404
+ "reflect": false,
405
+ "attribute": "color",
406
+ "defaultValue": "'primary'"
407
+ },
408
+ "brandColor": {
409
+ "type": "string",
410
+ "mutable": false,
411
+ "complexType": {
412
+ "original": "InputSliderBrandColor",
413
+ "resolved": "\"\" | \"green\" | \"purple\" | \"red\" | \"yellow\"",
414
+ "references": {
415
+ "InputSliderBrandColor": {
416
+ "location": "import",
417
+ "path": "./input-slider.interfaces",
418
+ "id": "src/components/input-slider/input-slider.interfaces.ts::InputSliderBrandColor",
419
+ "referenceLocation": "InputSliderBrandColor"
420
+ }
421
+ }
422
+ },
423
+ "required": false,
424
+ "optional": false,
425
+ "docs": {
426
+ "tags": [],
427
+ "text": "Recolors the connect (the filled progress track) with a brand color instead of the default\ngrey/primary style. Left of the handle uses the darker `-4` shade, right of it the lighter\n`-2` shade. Empty (default) keeps the current grey/primary look."
428
+ },
429
+ "getter": false,
430
+ "setter": false,
431
+ "reflect": false,
432
+ "attribute": "brand-color",
433
+ "defaultValue": "''"
434
+ },
435
+ "invalid": {
436
+ "type": "boolean",
437
+ "mutable": false,
438
+ "complexType": {
439
+ "original": "boolean",
440
+ "resolved": "boolean",
441
+ "references": {}
442
+ },
443
+ "required": false,
444
+ "optional": false,
445
+ "docs": {
446
+ "tags": [],
447
+ "text": "If `true` the component gets an invalid style."
448
+ },
449
+ "getter": false,
450
+ "setter": false,
451
+ "reflect": true,
452
+ "attribute": "invalid",
453
+ "defaultValue": "false"
454
+ },
455
+ "invalidText": {
456
+ "type": "string",
457
+ "mutable": false,
458
+ "complexType": {
459
+ "original": "string",
460
+ "resolved": "string",
461
+ "references": {}
462
+ },
463
+ "required": false,
464
+ "optional": false,
465
+ "docs": {
466
+ "tags": [],
467
+ "text": "The text to display when the slider is in an invalid state."
468
+ },
469
+ "getter": false,
470
+ "setter": false,
471
+ "reflect": false,
472
+ "attribute": "invalid-text",
473
+ "defaultValue": "''"
474
+ },
475
+ "min": {
476
+ "type": "number",
477
+ "mutable": false,
478
+ "complexType": {
479
+ "original": "number",
480
+ "resolved": "number",
481
+ "references": {}
482
+ },
483
+ "required": false,
484
+ "optional": false,
485
+ "docs": {
486
+ "tags": [],
487
+ "text": "The minimum value of the slider."
488
+ },
489
+ "getter": false,
490
+ "setter": false,
491
+ "reflect": false,
492
+ "attribute": "min",
493
+ "defaultValue": "0"
494
+ },
495
+ "max": {
496
+ "type": "number",
497
+ "mutable": false,
498
+ "complexType": {
499
+ "original": "number",
500
+ "resolved": "number",
501
+ "references": {}
502
+ },
503
+ "required": false,
504
+ "optional": false,
505
+ "docs": {
506
+ "tags": [],
507
+ "text": "The maximum value of the slider."
508
+ },
509
+ "getter": false,
510
+ "setter": false,
511
+ "reflect": false,
512
+ "attribute": "max",
513
+ "defaultValue": "100"
514
+ },
515
+ "step": {
516
+ "type": "string",
517
+ "mutable": false,
518
+ "complexType": {
519
+ "original": "string",
520
+ "resolved": "string",
521
+ "references": {}
522
+ },
523
+ "required": false,
524
+ "optional": false,
525
+ "docs": {
526
+ "tags": [],
527
+ "text": "The granularity the value must adhere to, as a string so `\"any\"` (free,\ncontinuous dragging with no step snapping) can be expressed alongside\nnumeric step sizes."
528
+ },
529
+ "getter": false,
530
+ "setter": false,
531
+ "reflect": false,
532
+ "attribute": "step",
533
+ "defaultValue": "'1'"
534
+ },
535
+ "debounce": {
536
+ "type": "number",
537
+ "mutable": false,
538
+ "complexType": {
539
+ "original": "number",
540
+ "resolved": "number",
541
+ "references": {}
542
+ },
543
+ "required": false,
544
+ "optional": false,
545
+ "docs": {
546
+ "tags": [],
547
+ "text": "Set the amount of time, in milliseconds, to wait to trigger the `dsChange` event after each keystroke. This also impacts form bindings such as `ngModel` or `v-model`."
548
+ },
549
+ "getter": false,
550
+ "setter": false,
551
+ "reflect": false,
552
+ "attribute": "debounce",
553
+ "defaultValue": "0"
554
+ },
555
+ "disabled": {
556
+ "type": "boolean",
557
+ "mutable": false,
558
+ "complexType": {
559
+ "original": "boolean",
560
+ "resolved": "boolean",
561
+ "references": {}
562
+ },
563
+ "required": false,
564
+ "optional": false,
565
+ "docs": {
566
+ "tags": [],
567
+ "text": "If `true`, the element is not mutable, focusable, or even submitted with the form. The user can neither edit nor focus on the control, nor its form control descendants."
568
+ },
569
+ "getter": false,
570
+ "setter": false,
571
+ "reflect": false,
572
+ "attribute": "disabled",
573
+ "defaultValue": "false"
574
+ },
575
+ "readonly": {
576
+ "type": "boolean",
577
+ "mutable": false,
578
+ "complexType": {
579
+ "original": "boolean",
580
+ "resolved": "boolean",
581
+ "references": {}
582
+ },
583
+ "required": false,
584
+ "optional": false,
585
+ "docs": {
586
+ "tags": [],
587
+ "text": "If `true` the element can not be mutated. noUiSlider has no native concept of\n`readonly`, so this is treated as equivalent to `disabled`."
588
+ },
589
+ "getter": false,
590
+ "setter": false,
591
+ "reflect": false,
592
+ "attribute": "readonly",
593
+ "defaultValue": "false"
594
+ },
595
+ "required": {
596
+ "type": "boolean",
597
+ "mutable": false,
598
+ "complexType": {
599
+ "original": "boolean",
600
+ "resolved": "boolean",
601
+ "references": {}
602
+ },
603
+ "required": false,
604
+ "optional": false,
605
+ "docs": {
606
+ "tags": [],
607
+ "text": "If `true`, the user must fill in a value before submitting a form."
608
+ },
609
+ "getter": false,
610
+ "setter": false,
611
+ "reflect": false,
612
+ "attribute": "required",
613
+ "defaultValue": "true"
614
+ },
615
+ "autoInvalidOff": {
616
+ "type": "boolean",
617
+ "mutable": false,
618
+ "complexType": {
619
+ "original": "boolean",
620
+ "resolved": "boolean",
621
+ "references": {}
622
+ },
623
+ "required": false,
624
+ "optional": false,
625
+ "docs": {
626
+ "tags": [],
627
+ "text": "If `true`, in Angular reactive forms the control will not be set invalid"
628
+ },
629
+ "getter": false,
630
+ "setter": false,
631
+ "reflect": true,
632
+ "attribute": "auto-invalid-off",
633
+ "defaultValue": "false"
634
+ }
635
+ };
636
+ }
637
+ static get states() {
638
+ return {
639
+ "language": {},
640
+ "region": {},
641
+ "hasInvalidTextSlotContent": {}
642
+ };
643
+ }
644
+ static get events() {
645
+ return [{
646
+ "method": "dsInput",
647
+ "name": "dsInput",
648
+ "bubbles": true,
649
+ "cancelable": true,
650
+ "composed": true,
651
+ "docs": {
652
+ "tags": [],
653
+ "text": "Emitted on each keyboard/pointer movement, before the value is committed."
654
+ },
655
+ "complexType": {
656
+ "original": "InputSliderInputDetail",
657
+ "resolved": "number",
658
+ "references": {
659
+ "InputSliderInputDetail": {
660
+ "location": "import",
661
+ "path": "./input-slider.interfaces",
662
+ "id": "src/components/input-slider/input-slider.interfaces.ts::InputSliderInputDetail",
663
+ "referenceLocation": "InputSliderInputDetail"
664
+ }
665
+ }
666
+ }
667
+ }, {
668
+ "method": "dsFocus",
669
+ "name": "dsFocus",
670
+ "bubbles": true,
671
+ "cancelable": true,
672
+ "composed": true,
673
+ "docs": {
674
+ "tags": [],
675
+ "text": "Emitted when the input has focus."
676
+ },
677
+ "complexType": {
678
+ "original": "InputSliderFocusDetail",
679
+ "resolved": "FocusEvent",
680
+ "references": {
681
+ "InputSliderFocusDetail": {
682
+ "location": "import",
683
+ "path": "./input-slider.interfaces",
684
+ "id": "src/components/input-slider/input-slider.interfaces.ts::InputSliderFocusDetail",
685
+ "referenceLocation": "InputSliderFocusDetail"
686
+ }
687
+ }
688
+ }
689
+ }, {
690
+ "method": "dsBlur",
691
+ "name": "dsBlur",
692
+ "bubbles": true,
693
+ "cancelable": true,
694
+ "composed": true,
695
+ "docs": {
696
+ "tags": [],
697
+ "text": "Emitted when the input loses focus."
698
+ },
699
+ "complexType": {
700
+ "original": "InputSliderBlurDetail",
701
+ "resolved": "FocusEvent",
702
+ "references": {
703
+ "InputSliderBlurDetail": {
704
+ "location": "import",
705
+ "path": "./input-slider.interfaces",
706
+ "id": "src/components/input-slider/input-slider.interfaces.ts::InputSliderBlurDetail",
707
+ "referenceLocation": "InputSliderBlurDetail"
708
+ }
709
+ }
710
+ }
711
+ }, {
712
+ "method": "dsClick",
713
+ "name": "dsClick",
714
+ "bubbles": true,
715
+ "cancelable": true,
716
+ "composed": true,
717
+ "docs": {
718
+ "tags": [],
719
+ "text": "Emitted when the input is clicked."
720
+ },
721
+ "complexType": {
722
+ "original": "InputSliderClickDetail",
723
+ "resolved": "MouseEvent",
724
+ "references": {
725
+ "InputSliderClickDetail": {
726
+ "location": "import",
727
+ "path": "./input-slider.interfaces",
728
+ "id": "src/components/input-slider/input-slider.interfaces.ts::InputSliderClickDetail",
729
+ "referenceLocation": "InputSliderClickDetail"
730
+ }
731
+ }
732
+ }
733
+ }, {
734
+ "method": "dsChange",
735
+ "name": "dsChange",
736
+ "bubbles": true,
737
+ "cancelable": true,
738
+ "composed": true,
739
+ "docs": {
740
+ "tags": [],
741
+ "text": "Emitted when the value is committed (noUiSlider `change`, not `blur` \u2014 see\nADR-0010/ADR-0007). Fires once per discrete drag/step, independent of focus."
742
+ },
743
+ "complexType": {
744
+ "original": "InputSliderChangeDetail",
745
+ "resolved": "number",
746
+ "references": {
747
+ "InputSliderChangeDetail": {
748
+ "location": "import",
749
+ "path": "./input-slider.interfaces",
750
+ "id": "src/components/input-slider/input-slider.interfaces.ts::InputSliderChangeDetail",
751
+ "referenceLocation": "InputSliderChangeDetail"
752
+ }
753
+ }
754
+ }
755
+ }];
756
+ }
757
+ static get methods() {
758
+ return {
759
+ "configChanged": {
760
+ "complexType": {
761
+ "signature": "(state: DsConfigState) => Promise<void>",
762
+ "parameters": [{
763
+ "name": "state",
764
+ "type": "DsConfigState",
765
+ "docs": ""
766
+ }],
767
+ "references": {
768
+ "Promise": {
769
+ "location": "global",
770
+ "id": "global::Promise"
771
+ },
772
+ "DsConfigState": {
773
+ "location": "import",
774
+ "path": "@global",
775
+ "id": "src/global/index.ts::DsConfigState",
776
+ "referenceLocation": "DsConfigState"
777
+ }
778
+ },
779
+ "return": "Promise<void>"
780
+ },
781
+ "docs": {
782
+ "text": "",
783
+ "tags": [{
784
+ "name": "internal",
785
+ "text": "define config for the component"
786
+ }]
787
+ }
788
+ },
789
+ "setFocus": {
790
+ "complexType": {
791
+ "signature": "() => Promise<void>",
792
+ "parameters": [],
793
+ "references": {
794
+ "Promise": {
795
+ "location": "global",
796
+ "id": "global::Promise"
797
+ }
798
+ },
799
+ "return": "Promise<void>"
800
+ },
801
+ "docs": {
802
+ "text": "Sets focus on `ds-input-slider`'s slider handle. Use this method instead of the global\n`element.focus()`.",
803
+ "tags": []
804
+ }
805
+ },
806
+ "setBlur": {
807
+ "complexType": {
808
+ "signature": "() => Promise<void>",
809
+ "parameters": [],
810
+ "references": {
811
+ "Promise": {
812
+ "location": "global",
813
+ "id": "global::Promise"
814
+ }
815
+ },
816
+ "return": "Promise<void>"
817
+ },
818
+ "docs": {
819
+ "text": "Sets blur on `ds-input-slider`'s slider handle. Use this method instead of the global\n`element.blur()`.",
820
+ "tags": [{
821
+ "name": "internal",
822
+ "text": undefined
823
+ }]
824
+ }
825
+ },
826
+ "getInputElement": {
827
+ "complexType": {
828
+ "signature": "() => Promise<HTMLElement | undefined>",
829
+ "parameters": [],
830
+ "references": {
831
+ "Promise": {
832
+ "location": "global",
833
+ "id": "global::Promise"
834
+ },
835
+ "HTMLElement": {
836
+ "location": "global",
837
+ "id": "global::HTMLElement"
838
+ }
839
+ },
840
+ "return": "Promise<HTMLElement | undefined>"
841
+ },
842
+ "docs": {
843
+ "text": "Returns the noUiSlider handle element used under the hood.",
844
+ "tags": []
845
+ }
846
+ }
847
+ };
848
+ }
849
+ static get elementRef() { return "el"; }
850
+ static get watchers() {
851
+ return [{
852
+ "propName": "value",
853
+ "methodName": "valueChanged"
854
+ }, {
855
+ "propName": "invalid",
856
+ "methodName": "invalidChanged"
857
+ }, {
858
+ "propName": "min",
859
+ "methodName": "minChanged"
860
+ }, {
861
+ "propName": "max",
862
+ "methodName": "minChanged"
863
+ }, {
864
+ "propName": "step",
865
+ "methodName": "stepChanged"
866
+ }, {
867
+ "propName": "debounce",
868
+ "methodName": "debounceChanged"
869
+ }, {
870
+ "propName": "disabled",
871
+ "methodName": "disabledChanged"
872
+ }, {
873
+ "propName": "readonly",
874
+ "methodName": "readonlyChanged"
875
+ }];
876
+ }
877
+ static get listeners() {
878
+ return [{
879
+ "name": "click",
880
+ "method": "listenToClick",
881
+ "target": "document",
882
+ "capture": true,
883
+ "passive": false
884
+ }, {
885
+ "name": "reset",
886
+ "method": "listenToReset",
887
+ "target": "document",
888
+ "capture": true,
889
+ "passive": false
890
+ }];
891
+ }
892
+ static get attachInternalsMemberName() { return "internals"; }
893
+ }
894
+ __decorate([
895
+ Logger('input-slider'),
896
+ __metadata("design:type", Function),
897
+ __metadata("design:paramtypes", [Function]),
898
+ __metadata("design:returntype", void 0)
899
+ ], InputSlider.prototype, "createLogger", null);
900
+ __decorate([
901
+ Type('number'),
902
+ __metadata("design:type", Number)
903
+ ], InputSlider.prototype, "value", void 0);
904
+ __decorate([
905
+ Type('string'),
906
+ __metadata("design:type", String)
907
+ ], InputSlider.prototype, "name", void 0);
908
+ __decorate([
909
+ Type('string'),
910
+ __metadata("design:type", String)
911
+ ], InputSlider.prototype, "label", void 0);
912
+ __decorate([
913
+ Type('string'),
914
+ __metadata("design:type", String)
915
+ ], InputSlider.prototype, "description", void 0);
916
+ __decorate([
917
+ OneOf(INPUT_COLORS),
918
+ __metadata("design:type", String)
919
+ ], InputSlider.prototype, "color", void 0);
920
+ __decorate([
921
+ OneOf(INPUT_SLIDER_BRAND_COLORS),
922
+ __metadata("design:type", String)
923
+ ], InputSlider.prototype, "brandColor", void 0);
924
+ __decorate([
925
+ Type('boolean'),
926
+ __metadata("design:type", Boolean)
927
+ ], InputSlider.prototype, "invalid", void 0);
928
+ __decorate([
929
+ Type('string'),
930
+ __metadata("design:type", String)
931
+ ], InputSlider.prototype, "invalidText", void 0);
932
+ __decorate([
933
+ Type('number'),
934
+ __metadata("design:type", Number)
935
+ ], InputSlider.prototype, "min", void 0);
936
+ __decorate([
937
+ Type('number'),
938
+ __metadata("design:type", Number)
939
+ ], InputSlider.prototype, "max", void 0);
940
+ __decorate([
941
+ Type('string'),
942
+ __metadata("design:type", String)
943
+ ], InputSlider.prototype, "step", void 0);
944
+ __decorate([
945
+ Type('number'),
946
+ __metadata("design:type", Number)
947
+ ], InputSlider.prototype, "debounce", void 0);
948
+ __decorate([
949
+ Type('boolean'),
950
+ __metadata("design:type", Boolean)
951
+ ], InputSlider.prototype, "disabled", void 0);
952
+ __decorate([
953
+ Type('boolean'),
954
+ __metadata("design:type", Boolean)
955
+ ], InputSlider.prototype, "readonly", void 0);
956
+ __decorate([
957
+ Type('boolean'),
958
+ __metadata("design:type", Boolean)
959
+ ], InputSlider.prototype, "required", void 0);
960
+ __decorate([
961
+ Type('boolean'),
962
+ __metadata("design:type", Boolean)
963
+ ], InputSlider.prototype, "autoInvalidOff", void 0);
964
+ __decorate([
965
+ ListenToConfig(),
966
+ __metadata("design:type", Function),
967
+ __metadata("design:paramtypes", [Object]),
968
+ __metadata("design:returntype", Promise)
969
+ ], InputSlider.prototype, "configChanged", null);
970
+ let InputSliderIds = 0;