@six-group/ui-library 4.3.2 → 5.0.0-rc.1

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 (1703) hide show
  1. package/dist/cjs/animation-ZgWV0fC6.js +54 -0
  2. package/dist/cjs/animation-ZgWV0fC6.js.map +1 -0
  3. package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
  4. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
  5. package/dist/cjs/{error-messages-6e8049a4.js → error-messages-Bi-7xy31.js} +5 -4
  6. package/dist/cjs/error-messages-Bi-7xy31.js.map +1 -0
  7. package/dist/cjs/{event-listeners-9fb878f1.js → event-listeners-BrSR7arL.js} +2 -1
  8. package/dist/cjs/event-listeners-BrSR7arL.js.map +1 -0
  9. package/dist/cjs/{execution-control-d728da70.js → execution-control-oU0MWBWI.js} +2 -1
  10. package/dist/cjs/execution-control-oU0MWBWI.js.map +1 -0
  11. package/dist/cjs/{focus-visible-e2c9255a.js → focus-visible-CMftNtQ2.js} +2 -1
  12. package/dist/cjs/focus-visible-CMftNtQ2.js.map +1 -0
  13. package/dist/cjs/{form-9ebaae7c.js → form-CaXKJAMY.js} +2 -1
  14. package/dist/cjs/form-CaXKJAMY.js.map +1 -0
  15. package/dist/cjs/{form-control-b39f1df5.js → form-control-CX8QRq9v.js} +5 -4
  16. package/dist/cjs/form-control-CX8QRq9v.js.map +1 -0
  17. package/dist/cjs/{index-417a06c8.js → index-C8rK7OAe.js} +532 -321
  18. package/dist/cjs/index-C8rK7OAe.js.map +1 -0
  19. package/dist/cjs/index.cjs.js +2 -3
  20. package/dist/cjs/index.cjs.js.map +1 -1
  21. package/dist/cjs/loader.cjs.js +4 -5
  22. package/dist/cjs/loader.cjs.js.map +1 -1
  23. package/dist/cjs/{modal-bd7fc5bc.js → modal-BVAZIrez.js} +2 -1
  24. package/dist/cjs/modal-BVAZIrez.js.map +1 -0
  25. package/dist/cjs/{popover-1e7c09f1.js → popover-BUVXXnz7.js} +26 -12
  26. package/dist/cjs/popover-BUVXXnz7.js.map +1 -0
  27. package/dist/cjs/{popup-e854acda.js → popup-BBJQmXUh.js} +2 -1
  28. package/dist/cjs/popup-BBJQmXUh.js.map +1 -0
  29. package/dist/cjs/{scroll-68033901.js → scroll-BQR9FxnJ.js} +2 -1
  30. package/dist/cjs/scroll-BQR9FxnJ.js.map +1 -0
  31. package/dist/cjs/six-alert.cjs.entry.js +22 -16
  32. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  33. package/dist/cjs/six-alert.entry.cjs.js.map +1 -0
  34. package/dist/cjs/six-avatar.cjs.entry.js +13 -11
  35. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  36. package/dist/cjs/six-avatar.entry.cjs.js.map +1 -0
  37. package/dist/cjs/six-badge.cjs.entry.js +9 -8
  38. package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
  39. package/dist/cjs/six-badge.entry.cjs.js.map +1 -0
  40. package/dist/cjs/six-button.cjs.entry.js +53 -30
  41. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  42. package/dist/cjs/six-button.entry.cjs.js.map +1 -0
  43. package/dist/cjs/six-card.cjs.entry.js +5 -7
  44. package/dist/cjs/six-card.cjs.entry.js.map +1 -1
  45. package/dist/cjs/six-card.entry.cjs.js.map +1 -0
  46. package/dist/cjs/six-checkbox.six-menu-item.entry.cjs.js.map +1 -0
  47. package/dist/cjs/six-checkbox_2.cjs.entry.js +208 -0
  48. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -0
  49. package/dist/cjs/six-date.cjs.entry.js +22700 -0
  50. package/dist/cjs/six-date.cjs.entry.js.map +1 -0
  51. package/dist/cjs/six-date.entry.cjs.js.map +1 -0
  52. package/dist/cjs/six-datepicker.cjs.entry.js +86 -44
  53. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  54. package/dist/cjs/six-datepicker.entry.cjs.js.map +1 -0
  55. package/dist/cjs/six-details.cjs.entry.js +28 -23
  56. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  57. package/dist/cjs/six-details.entry.cjs.js.map +1 -0
  58. package/dist/cjs/six-dialog.cjs.entry.js +41 -28
  59. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  60. package/dist/cjs/six-dialog.entry.cjs.js.map +1 -0
  61. package/dist/cjs/six-drawer.cjs.entry.js +48 -30
  62. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  63. package/dist/cjs/six-drawer.entry.cjs.js.map +1 -0
  64. package/dist/cjs/six-dropdown.six-menu.entry.cjs.js.map +1 -0
  65. package/dist/cjs/{six-dropdown_3.cjs.entry.js → six-dropdown_2.cjs.entry.js} +119 -139
  66. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -0
  67. package/dist/cjs/six-error-page.cjs.entry.js +7 -10
  68. package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
  69. package/dist/cjs/six-error-page.entry.cjs.js.map +1 -0
  70. package/dist/cjs/six-error.cjs.entry.js +4 -6
  71. package/dist/cjs/six-error.cjs.entry.js.map +1 -1
  72. package/dist/cjs/six-error.entry.cjs.js.map +1 -0
  73. package/dist/cjs/six-file-list-item.cjs.entry.js +17 -15
  74. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  75. package/dist/cjs/six-file-list-item.entry.cjs.js.map +1 -0
  76. package/dist/cjs/six-file-list.cjs.entry.js +4 -6
  77. package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
  78. package/dist/cjs/six-file-list.entry.cjs.js.map +1 -0
  79. package/dist/cjs/six-file-upload.cjs.entry.js +34 -29
  80. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  81. package/dist/cjs/six-file-upload.entry.cjs.js.map +1 -0
  82. package/dist/cjs/six-footer.cjs.entry.js +5 -7
  83. package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
  84. package/dist/cjs/six-footer.entry.cjs.js.map +1 -0
  85. package/dist/cjs/six-group-label.cjs.entry.js +16 -13
  86. package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
  87. package/dist/cjs/six-group-label.entry.cjs.js.map +1 -0
  88. package/dist/cjs/six-header-dropdown-item.cjs.entry.js +16 -9
  89. package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -1
  90. package/dist/cjs/six-header-dropdown-item.entry.cjs.js.map +1 -0
  91. package/dist/cjs/six-header-item.cjs.entry.js +28 -0
  92. package/dist/cjs/six-header-item.cjs.entry.js.map +1 -0
  93. package/dist/cjs/six-header-item.entry.cjs.js.map +1 -0
  94. package/dist/cjs/six-header-menu-button.cjs.entry.js +15 -8
  95. package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -1
  96. package/dist/cjs/six-header-menu-button.entry.cjs.js.map +1 -0
  97. package/dist/cjs/six-header.cjs.entry.js +18 -183
  98. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  99. package/dist/cjs/six-header.entry.cjs.js.map +1 -0
  100. package/dist/cjs/six-icon-button.cjs.entry.js +12 -18
  101. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  102. package/dist/cjs/six-icon-button.entry.cjs.js.map +1 -0
  103. package/dist/cjs/six-icon.cjs.entry.js +8 -8
  104. package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
  105. package/dist/cjs/six-icon.entry.cjs.js.map +1 -0
  106. package/dist/cjs/six-input.cjs.entry.js +65 -53
  107. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  108. package/dist/cjs/six-input.entry.cjs.js.map +1 -0
  109. package/dist/cjs/six-item-picker.cjs.entry.js +33 -16
  110. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
  111. package/dist/cjs/six-item-picker.entry.cjs.js.map +1 -0
  112. package/dist/cjs/six-language-switcher.cjs.entry.js +7 -9
  113. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
  114. package/dist/cjs/six-language-switcher.entry.cjs.js.map +1 -0
  115. package/dist/cjs/six-layout-grid.cjs.entry.js +4 -7
  116. package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
  117. package/dist/cjs/six-layout-grid.entry.cjs.js.map +1 -0
  118. package/dist/cjs/six-logo.cjs.entry.js +28 -0
  119. package/dist/cjs/six-logo.cjs.entry.js.map +1 -0
  120. package/dist/cjs/six-logo.entry.cjs.js.map +1 -0
  121. package/dist/cjs/six-main-container.cjs.entry.js +6 -6
  122. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
  123. package/dist/cjs/six-main-container.entry.cjs.js.map +1 -0
  124. package/dist/cjs/six-menu-divider.cjs.entry.js +5 -7
  125. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
  126. package/dist/cjs/six-menu-divider.entry.cjs.js.map +1 -0
  127. package/dist/cjs/six-menu-label.cjs.entry.js +5 -7
  128. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
  129. package/dist/cjs/six-menu-label.entry.cjs.js.map +1 -0
  130. package/dist/cjs/six-picto.cjs.entry.js +7 -6
  131. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  132. package/dist/cjs/six-picto.entry.cjs.js.map +1 -0
  133. package/dist/cjs/six-progress-bar.cjs.entry.js +9 -9
  134. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  135. package/dist/cjs/six-progress-bar.entry.cjs.js.map +1 -0
  136. package/dist/cjs/six-progress-ring.cjs.entry.js +8 -7
  137. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  138. package/dist/cjs/six-progress-ring.entry.cjs.js.map +1 -0
  139. package/dist/cjs/six-radio.cjs.entry.js +21 -18
  140. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  141. package/dist/cjs/six-radio.entry.cjs.js.map +1 -0
  142. package/dist/cjs/six-range.cjs.entry.js +43 -33
  143. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  144. package/dist/cjs/six-range.entry.cjs.js.map +1 -0
  145. package/dist/cjs/six-root.cjs.entry.js +8 -6
  146. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  147. package/dist/cjs/six-root.entry.cjs.js.map +1 -0
  148. package/dist/cjs/six-search-field.cjs.entry.js +16 -15
  149. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
  150. package/dist/cjs/six-search-field.entry.cjs.js.map +1 -0
  151. package/dist/cjs/six-select.cjs.entry.js +90 -56
  152. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  153. package/dist/cjs/six-select.entry.cjs.js.map +1 -0
  154. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +24 -16
  155. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  156. package/dist/cjs/six-sidebar-item-group.entry.cjs.js.map +1 -0
  157. package/dist/cjs/six-sidebar-item.cjs.entry.js +11 -9
  158. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  159. package/dist/cjs/six-sidebar-item.entry.cjs.js.map +1 -0
  160. package/dist/cjs/six-sidebar.cjs.entry.js +21 -19
  161. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
  162. package/dist/cjs/six-sidebar.entry.cjs.js.map +1 -0
  163. package/dist/cjs/six-spinner.cjs.entry.js +4 -8
  164. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  165. package/dist/cjs/six-spinner.entry.cjs.js.map +1 -0
  166. package/dist/cjs/six-stage-indicator.cjs.entry.js +5 -6
  167. package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -1
  168. package/dist/cjs/six-stage-indicator.entry.cjs.js.map +1 -0
  169. package/dist/cjs/six-switch.cjs.entry.js +30 -25
  170. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  171. package/dist/cjs/six-switch.entry.cjs.js.map +1 -0
  172. package/dist/cjs/six-tab-group.cjs.entry.js +17 -50
  173. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  174. package/dist/cjs/six-tab-group.entry.cjs.js.map +1 -0
  175. package/dist/cjs/six-tab-panel.cjs.entry.js +7 -7
  176. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
  177. package/dist/cjs/six-tab-panel.entry.cjs.js.map +1 -0
  178. package/dist/cjs/six-tab.cjs.entry.js +11 -9
  179. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  180. package/dist/cjs/six-tab.entry.cjs.js.map +1 -0
  181. package/dist/cjs/six-tag.cjs.entry.js +17 -15
  182. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  183. package/dist/cjs/six-tag.entry.cjs.js.map +1 -0
  184. package/dist/cjs/six-textarea.cjs.entry.js +51 -41
  185. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  186. package/dist/cjs/six-textarea.entry.cjs.js.map +1 -0
  187. package/dist/cjs/six-tile.cjs.entry.js +29 -24
  188. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  189. package/dist/cjs/six-tile.entry.cjs.js.map +1 -0
  190. package/dist/cjs/six-timepicker.cjs.entry.js +99 -40
  191. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  192. package/dist/cjs/six-timepicker.entry.cjs.js.map +1 -0
  193. package/dist/cjs/six-tooltip.cjs.entry.js +39 -27
  194. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
  195. package/dist/cjs/six-tooltip.entry.cjs.js.map +1 -0
  196. package/dist/cjs/{slot-1b1232a1.js → slot-DBK7c7jH.js} +2 -1
  197. package/dist/cjs/slot-DBK7c7jH.js.map +1 -0
  198. package/dist/cjs/{types-d3da200b.js → types-7ZstPoJD.js} +2 -1
  199. package/dist/cjs/types-7ZstPoJD.js.map +1 -0
  200. package/dist/cjs/ui-library.cjs.js +8 -7
  201. package/dist/cjs/ui-library.cjs.js.map +1 -1
  202. package/dist/collection/collection-manifest.json +6 -5
  203. package/dist/collection/components/six-alert/six-alert.css +11 -0
  204. package/dist/collection/components/six-alert/six-alert.js +25 -9
  205. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  206. package/dist/collection/components/six-avatar/six-avatar.css +11 -0
  207. package/dist/collection/components/six-avatar/six-avatar.js +21 -9
  208. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  209. package/dist/collection/components/six-badge/six-badge.css +11 -0
  210. package/dist/collection/components/six-badge/six-badge.js +14 -5
  211. package/dist/collection/components/six-badge/six-badge.js.map +1 -1
  212. package/dist/collection/components/six-button/six-button.css +14 -1
  213. package/dist/collection/components/six-button/six-button.js +87 -34
  214. package/dist/collection/components/six-button/six-button.js.map +1 -1
  215. package/dist/collection/components/six-card/six-card.css +11 -0
  216. package/dist/collection/components/six-card/six-card.js +1 -1
  217. package/dist/collection/components/six-checkbox/six-checkbox.css +11 -0
  218. package/dist/collection/components/six-checkbox/six-checkbox.js +59 -25
  219. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  220. package/dist/collection/components/six-date/calendar-grid.js +30 -0
  221. package/dist/collection/components/six-date/calendar-grid.js.map +1 -0
  222. package/dist/collection/components/six-date/components/day-selection.js +16 -0
  223. package/dist/collection/components/six-date/components/day-selection.js.map +1 -0
  224. package/dist/collection/components/six-date/components/month-selection.js +17 -0
  225. package/dist/collection/components/six-date/components/month-selection.js.map +1 -0
  226. package/dist/collection/components/six-date/components/year-selection.js +16 -0
  227. package/dist/collection/components/six-date/components/year-selection.js.map +1 -0
  228. package/dist/collection/components/six-date/iso-date.js +92 -0
  229. package/dist/collection/components/six-date/iso-date.js.map +1 -0
  230. package/dist/collection/components/six-date/six-date.css +168 -0
  231. package/dist/collection/components/six-date/six-date.js +735 -0
  232. package/dist/collection/components/six-date/six-date.js.map +1 -0
  233. package/dist/collection/components/six-date/translations.js +110 -0
  234. package/dist/collection/components/six-date/translations.js.map +1 -0
  235. package/dist/collection/components/six-datepicker/six-datepicker.css +11 -0
  236. package/dist/collection/components/six-datepicker/six-datepicker.js +159 -56
  237. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  238. package/dist/collection/components/six-details/six-details.css +11 -0
  239. package/dist/collection/components/six-details/six-details.js +43 -20
  240. package/dist/collection/components/six-details/six-details.js.map +1 -1
  241. package/dist/collection/components/six-dialog/six-dialog.css +11 -0
  242. package/dist/collection/components/six-dialog/six-dialog.js +46 -25
  243. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  244. package/dist/collection/components/six-drawer/six-drawer.css +11 -0
  245. package/dist/collection/components/six-drawer/six-drawer.js +59 -29
  246. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  247. package/dist/collection/components/six-dropdown/six-dropdown.css +11 -0
  248. package/dist/collection/components/six-dropdown/six-dropdown.js +120 -79
  249. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  250. package/dist/collection/components/six-error/six-error.js +1 -1
  251. package/dist/collection/components/six-error-page/six-error-page.js +20 -10
  252. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
  253. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  254. package/dist/collection/components/six-file-list-item/six-file-list-item.js +30 -14
  255. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  256. package/dist/collection/components/six-file-upload/six-file-upload.css +11 -3
  257. package/dist/collection/components/six-file-upload/six-file-upload.js +55 -30
  258. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  259. package/dist/collection/components/six-footer/six-footer.css +11 -0
  260. package/dist/collection/components/six-footer/six-footer.js +1 -1
  261. package/dist/collection/components/six-group-label/six-group-label.css +11 -0
  262. package/dist/collection/components/six-group-label/six-group-label.js +25 -10
  263. package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
  264. package/dist/collection/components/six-header/six-header.css +11 -20
  265. package/dist/collection/components/six-header/six-header.js +20 -487
  266. package/dist/collection/components/six-header/six-header.js.map +1 -1
  267. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +0 -2
  268. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +56 -3
  269. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -1
  270. package/dist/collection/components/six-header-item/six-header-item.css +2 -2
  271. package/dist/collection/components/six-header-item/six-header-item.js +12 -6
  272. package/dist/collection/components/six-header-item/six-header-item.js.map +1 -1
  273. package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +5 -0
  274. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +101 -10
  275. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -1
  276. package/dist/collection/components/six-icon/six-icon.css +11 -0
  277. package/dist/collection/components/six-icon/six-icon.js +10 -4
  278. package/dist/collection/components/six-icon/six-icon.js.map +1 -1
  279. package/dist/collection/components/six-icon-button/six-icon-button.css +11 -0
  280. package/dist/collection/components/six-icon-button/six-icon-button.js +31 -19
  281. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  282. package/dist/collection/components/six-input/six-input.css +11 -0
  283. package/dist/collection/components/six-input/six-input.js +142 -68
  284. package/dist/collection/components/six-input/six-input.js.map +1 -1
  285. package/dist/collection/components/six-item-picker/six-item-picker.js +68 -20
  286. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  287. package/dist/collection/components/six-language-switcher/six-language-switcher.js +9 -4
  288. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  289. package/dist/collection/components/six-layout-grid/six-layout-grid.js +4 -5
  290. package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
  291. package/dist/collection/components/six-logo/six-logo.js +5 -2
  292. package/dist/collection/components/six-logo/six-logo.js.map +1 -1
  293. package/dist/collection/components/six-main-container/six-main-container.js +6 -2
  294. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
  295. package/dist/collection/components/six-menu/six-menu.css +11 -0
  296. package/dist/collection/components/six-menu/six-menu.js +50 -15
  297. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  298. package/dist/collection/components/six-menu-divider/six-menu-divider.css +11 -0
  299. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  300. package/dist/collection/components/six-menu-item/six-menu-item.css +11 -0
  301. package/dist/collection/components/six-menu-item/six-menu-item.js +22 -9
  302. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  303. package/dist/collection/components/six-menu-label/six-menu-label.css +11 -0
  304. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  305. package/dist/collection/components/six-picto/six-picto.js +7 -2
  306. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  307. package/dist/collection/components/six-progress-bar/six-progress-bar.css +11 -0
  308. package/dist/collection/components/six-progress-bar/six-progress-bar.js +11 -5
  309. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  310. package/dist/collection/components/six-progress-ring/six-progress-ring.css +11 -0
  311. package/dist/collection/components/six-progress-ring/six-progress-ring.js +13 -4
  312. package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
  313. package/dist/collection/components/six-radio/six-radio.css +11 -0
  314. package/dist/collection/components/six-radio/six-radio.js +28 -13
  315. package/dist/collection/components/six-radio/six-radio.js.map +1 -1
  316. package/dist/collection/components/six-range/six-range.css +11 -0
  317. package/dist/collection/components/six-range/six-range.js +75 -34
  318. package/dist/collection/components/six-range/six-range.js.map +1 -1
  319. package/dist/collection/components/six-root/six-root.js +14 -4
  320. package/dist/collection/components/six-root/six-root.js.map +1 -1
  321. package/dist/collection/components/six-search-field/six-search-field.css +11 -0
  322. package/dist/collection/components/six-search-field/six-search-field.js +24 -11
  323. package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
  324. package/dist/collection/components/six-select/six-select.css +11 -10
  325. package/dist/collection/components/six-select/six-select.js +157 -89
  326. package/dist/collection/components/six-select/six-select.js.map +1 -1
  327. package/dist/collection/components/six-sidebar/six-sidebar.css +11 -0
  328. package/dist/collection/components/six-sidebar/six-sidebar.js +23 -11
  329. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
  330. package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +8 -2
  331. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +39 -7
  332. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
  333. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +19 -2
  334. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +38 -16
  335. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  336. package/dist/collection/components/six-spinner/six-spinner.css +11 -0
  337. package/dist/collection/components/six-spinner/six-spinner.js +6 -6
  338. package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
  339. package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +11 -0
  340. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +4 -1
  341. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js.map +1 -1
  342. package/dist/collection/components/six-switch/six-switch.css +11 -0
  343. package/dist/collection/components/six-switch/six-switch.js +47 -22
  344. package/dist/collection/components/six-switch/six-switch.js.map +1 -1
  345. package/dist/collection/components/six-tab/six-tab.css +23 -0
  346. package/dist/collection/components/six-tab/six-tab.js +18 -6
  347. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  348. package/dist/collection/components/six-tab-group/six-tab-group.css +11 -0
  349. package/dist/collection/components/six-tab-group/six-tab-group.js +14 -8
  350. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  351. package/dist/collection/components/six-tab-panel/six-tab-panel.css +11 -0
  352. package/dist/collection/components/six-tab-panel/six-tab-panel.js +9 -3
  353. package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
  354. package/dist/collection/components/six-tag/six-tag.css +11 -0
  355. package/dist/collection/components/six-tag/six-tag.js +22 -10
  356. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  357. package/dist/collection/components/six-textarea/six-textarea.css +11 -0
  358. package/dist/collection/components/six-textarea/six-textarea.js +106 -50
  359. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
  360. package/dist/collection/components/six-tile/six-tile.css +11 -0
  361. package/dist/collection/components/six-tile/six-tile.js +43 -22
  362. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  363. package/dist/collection/components/six-timepicker/six-timepicker.css +12 -2
  364. package/dist/collection/components/six-timepicker/six-timepicker.js +156 -49
  365. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  366. package/dist/collection/components/six-tooltip/six-tooltip.css +11 -0
  367. package/dist/collection/components/six-tooltip/six-tooltip.js +51 -23
  368. package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
  369. package/dist/collection/files/material-icons-latin-400-normal.woff +0 -0
  370. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
  371. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  372. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
  373. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  374. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
  375. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  376. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
  377. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  378. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
  379. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  380. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
  381. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  382. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
  383. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  384. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
  385. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  386. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
  387. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  388. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
  389. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  390. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
  391. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  392. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
  393. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  394. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
  395. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  396. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
  397. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  398. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
  399. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  400. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
  401. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  402. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
  403. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  404. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
  405. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  406. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  407. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  408. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  409. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  410. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  411. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  412. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  413. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  414. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  415. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  416. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  417. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  418. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  419. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  420. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  421. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  422. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  423. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  424. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  425. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  426. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  427. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  428. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  429. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  430. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  431. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  432. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  433. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  434. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  435. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  436. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  437. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  438. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  439. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  440. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  441. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  442. package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
  443. package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  444. package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
  445. package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  446. package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
  447. package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  448. package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
  449. package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  450. package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
  451. package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  452. package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
  453. package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  454. package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
  455. package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  456. package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
  457. package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  458. package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
  459. package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  460. package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
  461. package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  462. package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
  463. package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  464. package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
  465. package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  466. package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
  467. package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  468. package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
  469. package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  470. package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
  471. package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  472. package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
  473. package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  474. package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
  475. package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  476. package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
  477. package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  478. package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
  479. package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
  480. package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
  481. package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
  482. package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
  483. package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
  484. package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
  485. package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
  486. package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
  487. package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
  488. package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
  489. package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
  490. package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
  491. package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
  492. package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
  493. package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
  494. package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
  495. package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
  496. package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
  497. package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
  498. package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
  499. package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
  500. package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
  501. package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
  502. package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
  503. package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
  504. package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
  505. package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
  506. package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
  507. package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
  508. package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
  509. package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
  510. package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
  511. package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
  512. package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
  513. package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
  514. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
  515. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  516. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
  517. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  518. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
  519. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  520. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
  521. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  522. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
  523. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  524. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
  525. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  526. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
  527. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  528. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
  529. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  530. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
  531. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  532. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
  533. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  534. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
  535. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  536. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
  537. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  538. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
  539. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  540. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
  541. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  542. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
  543. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  544. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
  545. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  546. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
  547. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  548. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
  549. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  550. package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
  551. package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
  552. package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
  553. package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
  554. package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
  555. package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
  556. package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
  557. package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
  558. package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
  559. package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
  560. package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
  561. package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
  562. package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
  563. package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
  564. package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
  565. package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
  566. package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
  567. package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
  568. package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
  569. package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
  570. package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
  571. package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
  572. package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
  573. package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
  574. package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
  575. package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
  576. package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
  577. package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
  578. package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
  579. package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
  580. package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
  581. package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
  582. package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
  583. package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
  584. package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
  585. package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
  586. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
  587. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  588. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
  589. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  590. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
  591. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  592. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
  593. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  594. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
  595. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  596. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
  597. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  598. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
  599. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  600. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
  601. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  602. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
  603. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  604. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
  605. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  606. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
  607. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  608. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
  609. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  610. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
  611. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  612. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
  613. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  614. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
  615. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  616. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
  617. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  618. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
  619. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  620. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
  621. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  622. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
  623. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  624. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
  625. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  626. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
  627. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  628. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
  629. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  630. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
  631. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  632. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
  633. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  634. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
  635. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  636. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
  637. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  638. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
  639. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  640. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
  641. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  642. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
  643. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  644. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
  645. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  646. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
  647. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  648. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
  649. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  650. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
  651. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  652. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
  653. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  654. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
  655. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  656. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
  657. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  658. package/dist/collection/functional-components/form-control/form-control.js +2 -2
  659. package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
  660. package/dist/collection/utils/animation.js +13 -0
  661. package/dist/collection/utils/animation.js.map +1 -1
  662. package/dist/collection/utils/error-messages.js +3 -3
  663. package/dist/collection/utils/error-messages.js.map +1 -1
  664. package/dist/collection/utils/popover-util.js +8 -0
  665. package/dist/collection/utils/popover-util.js.map +1 -0
  666. package/dist/components/index.js +4 -1
  667. package/dist/components/index.js.map +1 -1
  668. package/dist/components/{six-dropdown2.js → p-9aUb96SZ.js} +95 -69
  669. package/dist/components/p-9aUb96SZ.js.map +1 -0
  670. package/dist/{esm/form-4b145b7a.js → components/p-B1bClJZ6.js} +2 -1
  671. package/dist/components/p-B1bClJZ6.js.map +1 -0
  672. package/dist/components/{six-spinner2.js → p-BB2rei7y.js} +6 -8
  673. package/dist/components/p-BB2rei7y.js.map +1 -0
  674. package/dist/components/{six-item-picker2.js → p-BR2t7cws.js} +35 -16
  675. package/dist/components/p-BR2t7cws.js.map +1 -0
  676. package/dist/components/{six-icon2.js → p-BSHZAiyG.js} +10 -8
  677. package/dist/components/p-BSHZAiyG.js.map +1 -0
  678. package/dist/components/p-BUN8hFmL.js +173 -0
  679. package/dist/components/p-BUN8hFmL.js.map +1 -0
  680. package/dist/{esm/scroll-3e16851e.js → components/p-BY6hIEFX.js} +2 -1
  681. package/dist/components/p-BY6hIEFX.js.map +1 -0
  682. package/dist/components/{six-menu-item2.js → p-C28WDWgL.js} +20 -15
  683. package/dist/components/p-C28WDWgL.js.map +1 -0
  684. package/dist/components/{event-listeners.js → p-C4h4qpGl.js} +2 -1
  685. package/dist/{cjs/event-listeners-9fb878f1.js.map → components/p-C4h4qpGl.js.map} +1 -1
  686. package/dist/components/{execution-control.js → p-CKhg9ibv.js} +2 -1
  687. package/dist/components/p-CKhg9ibv.js.map +1 -0
  688. package/dist/components/{six-menu2.js → p-CSL17OWk.js} +43 -23
  689. package/dist/components/p-CSL17OWk.js.map +1 -0
  690. package/dist/components/{six-error2.js → p-CWKq6Dyt.js} +6 -6
  691. package/dist/components/p-CWKq6Dyt.js.map +1 -0
  692. package/dist/components/{modal.js → p-CfIoyvm-.js} +2 -1
  693. package/dist/components/p-CfIoyvm-.js.map +1 -0
  694. package/dist/components/p-Cfyrva2T.js +180 -0
  695. package/dist/components/p-Cfyrva2T.js.map +1 -0
  696. package/dist/components/p-Cosz73fX.js +76 -0
  697. package/dist/components/p-Cosz73fX.js.map +1 -0
  698. package/dist/components/{six-details2.js → p-Cs1jspzx.js} +31 -24
  699. package/dist/components/p-Cs1jspzx.js.map +1 -0
  700. package/dist/components/{six-tooltip2.js → p-Cs6mMfx-.js} +41 -27
  701. package/dist/components/p-Cs6mMfx-.js.map +1 -0
  702. package/dist/components/p-D512q9rn.js +1709 -0
  703. package/dist/components/p-D512q9rn.js.map +1 -0
  704. package/dist/{esm/form-control-ad1710bf.js → components/p-DIkvCBxr.js} +5 -4
  705. package/dist/components/p-DIkvCBxr.js.map +1 -0
  706. package/dist/components/{six-picto2.js → p-DYlDF9Rw.js} +9 -6
  707. package/dist/components/p-DYlDF9Rw.js.map +1 -0
  708. package/dist/components/{six-timepicker2.js → p-DnLdSdN5.js} +103 -42
  709. package/dist/components/p-DnLdSdN5.js.map +1 -0
  710. package/dist/components/p-DsGIkEDB.js +305 -0
  711. package/dist/components/p-DsGIkEDB.js.map +1 -0
  712. package/dist/components/{six-stage-indicator2.js → p-DyYwMIDQ.js} +8 -7
  713. package/dist/components/p-DyYwMIDQ.js.map +1 -0
  714. package/dist/components/p-SLlDVtvF.js +51 -0
  715. package/dist/components/p-SLlDVtvF.js.map +1 -0
  716. package/dist/{esm/focus-visible-d9dbfeef.js → components/p-Vw_F19Fv.js} +2 -1
  717. package/dist/components/p-Vw_F19Fv.js.map +1 -0
  718. package/dist/{esm/slot-56531341.js → components/p-j3oIB5oT.js} +2 -1
  719. package/dist/components/p-j3oIB5oT.js.map +1 -0
  720. package/dist/{esm/popover-25996e62.js → components/p-kHci8ddv.js} +26 -12
  721. package/dist/components/p-kHci8ddv.js.map +1 -0
  722. package/dist/components/six-alert.js +26 -18
  723. package/dist/components/six-alert.js.map +1 -1
  724. package/dist/components/six-avatar.js +15 -11
  725. package/dist/components/six-avatar.js.map +1 -1
  726. package/dist/components/six-badge.js +10 -7
  727. package/dist/components/six-badge.js.map +1 -1
  728. package/dist/components/six-button.js +2 -1
  729. package/dist/components/six-card.js +6 -6
  730. package/dist/components/six-card.js.map +1 -1
  731. package/dist/components/six-checkbox.js +2 -1
  732. package/dist/components/six-date.d.ts +11 -0
  733. package/dist/components/six-date.js +22764 -0
  734. package/dist/components/six-date.js.map +1 -0
  735. package/dist/components/six-datepicker.js +93 -49
  736. package/dist/components/six-datepicker.js.map +1 -1
  737. package/dist/components/six-details.js +2 -1
  738. package/dist/components/six-dialog.js +44 -29
  739. package/dist/components/six-dialog.js.map +1 -1
  740. package/dist/components/six-drawer.js +51 -31
  741. package/dist/components/six-drawer.js.map +1 -1
  742. package/dist/components/six-dropdown.js +2 -1
  743. package/dist/components/six-error-page.js +10 -11
  744. package/dist/components/six-error-page.js.map +1 -1
  745. package/dist/components/six-error.js +2 -1
  746. package/dist/components/six-file-list-item.js +19 -15
  747. package/dist/components/six-file-list-item.js.map +1 -1
  748. package/dist/components/six-file-list.js +5 -5
  749. package/dist/components/six-file-list.js.map +1 -1
  750. package/dist/components/six-file-upload.js +38 -31
  751. package/dist/components/six-file-upload.js.map +1 -1
  752. package/dist/components/six-footer.js +6 -6
  753. package/dist/components/six-footer.js.map +1 -1
  754. package/dist/components/six-group-label.js +18 -13
  755. package/dist/components/six-group-label.js.map +1 -1
  756. package/dist/components/six-header-dropdown-item.js +26 -15
  757. package/dist/components/six-header-dropdown-item.js.map +1 -1
  758. package/dist/components/six-header-item.js +39 -1
  759. package/dist/components/six-header-item.js.map +1 -1
  760. package/dist/components/six-header-menu-button.js +24 -17
  761. package/dist/components/six-header-menu-button.js.map +1 -1
  762. package/dist/components/six-header.js +21 -253
  763. package/dist/components/six-header.js.map +1 -1
  764. package/dist/components/six-icon-button.js +2 -1
  765. package/dist/components/six-icon.js +2 -1
  766. package/dist/components/six-input.js +2 -1
  767. package/dist/components/six-item-picker.js +2 -1
  768. package/dist/components/six-language-switcher.js +8 -8
  769. package/dist/components/six-language-switcher.js.map +1 -1
  770. package/dist/components/six-layout-grid.js +5 -6
  771. package/dist/components/six-layout-grid.js.map +1 -1
  772. package/dist/components/six-logo.js +39 -1
  773. package/dist/components/six-logo.js.map +1 -1
  774. package/dist/components/six-main-container.js +7 -5
  775. package/dist/components/six-main-container.js.map +1 -1
  776. package/dist/components/six-menu-divider.js +6 -6
  777. package/dist/components/six-menu-divider.js.map +1 -1
  778. package/dist/components/six-menu-item.js +2 -1
  779. package/dist/components/six-menu-label.js +6 -6
  780. package/dist/components/six-menu-label.js.map +1 -1
  781. package/dist/components/six-menu.js +2 -1
  782. package/dist/components/six-picto.js +2 -1
  783. package/dist/components/six-progress-bar.js +10 -8
  784. package/dist/components/six-progress-bar.js.map +1 -1
  785. package/dist/components/six-progress-ring.js +9 -6
  786. package/dist/components/six-progress-ring.js.map +1 -1
  787. package/dist/components/six-radio.js +22 -17
  788. package/dist/components/six-radio.js.map +1 -1
  789. package/dist/components/six-range.js +46 -34
  790. package/dist/components/six-range.js.map +1 -1
  791. package/dist/components/six-root.js +11 -7
  792. package/dist/components/six-root.js.map +1 -1
  793. package/dist/components/six-search-field.js +20 -17
  794. package/dist/components/six-search-field.js.map +1 -1
  795. package/dist/components/six-select.js +103 -68
  796. package/dist/components/six-select.js.map +1 -1
  797. package/dist/components/six-sidebar-item-group.js +28 -18
  798. package/dist/components/six-sidebar-item-group.js.map +1 -1
  799. package/dist/components/six-sidebar-item.js +20 -9
  800. package/dist/components/six-sidebar-item.js.map +1 -1
  801. package/dist/components/six-sidebar.js +22 -18
  802. package/dist/components/six-sidebar.js.map +1 -1
  803. package/dist/components/six-spinner.js +2 -1
  804. package/dist/components/six-stage-indicator.js +2 -1
  805. package/dist/components/six-switch.js +32 -25
  806. package/dist/components/six-switch.js.map +1 -1
  807. package/dist/components/six-tab-group.js +19 -50
  808. package/dist/components/six-tab-group.js.map +1 -1
  809. package/dist/components/six-tab-panel.js +8 -6
  810. package/dist/components/six-tab-panel.js.map +1 -1
  811. package/dist/components/six-tab.js +14 -10
  812. package/dist/components/six-tab.js.map +1 -1
  813. package/dist/components/six-tag.js +21 -17
  814. package/dist/components/six-tag.js.map +1 -1
  815. package/dist/components/six-textarea.js +53 -41
  816. package/dist/components/six-textarea.js.map +1 -1
  817. package/dist/components/six-tile.js +33 -26
  818. package/dist/components/six-tile.js.map +1 -1
  819. package/dist/components/six-timepicker.js +2 -1
  820. package/dist/components/six-tooltip.js +2 -1
  821. package/dist/components.d.ts +8 -0
  822. package/dist/components.json +3990 -1480
  823. package/dist/esm/animation-SLlDVtvF.js +51 -0
  824. package/dist/esm/animation-SLlDVtvF.js.map +1 -0
  825. package/dist/esm/app-globals-DQuL1Twl.js +6 -0
  826. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
  827. package/dist/esm/{error-messages-1eaaad23.js → error-messages-1oJarDAY.js} +5 -4
  828. package/dist/esm/error-messages-1oJarDAY.js.map +1 -0
  829. package/dist/esm/{event-listeners-706d4309.js → event-listeners-C4h4qpGl.js} +2 -1
  830. package/dist/esm/event-listeners-C4h4qpGl.js.map +1 -0
  831. package/dist/esm/{execution-control-2ebaf4ef.js → execution-control-CKhg9ibv.js} +2 -1
  832. package/dist/esm/execution-control-CKhg9ibv.js.map +1 -0
  833. package/dist/{components/focus-visible.js → esm/focus-visible-Vw_F19Fv.js} +2 -1
  834. package/dist/esm/focus-visible-Vw_F19Fv.js.map +1 -0
  835. package/dist/{components/form.js → esm/form-B1bClJZ6.js} +2 -1
  836. package/dist/esm/form-B1bClJZ6.js.map +1 -0
  837. package/dist/{components/form-control.js → esm/form-control-DI6V1ZhR.js} +5 -4
  838. package/dist/esm/form-control-DI6V1ZhR.js.map +1 -0
  839. package/dist/esm/{index-a7bee415.js → index-JoG9I7EO.js} +531 -300
  840. package/dist/esm/index-JoG9I7EO.js.map +1 -0
  841. package/dist/esm/index.js +2 -1
  842. package/dist/esm/index.js.map +1 -1
  843. package/dist/esm/loader.js +5 -4
  844. package/dist/esm/loader.js.map +1 -1
  845. package/dist/esm/{modal-6c1288e3.js → modal-CfIoyvm-.js} +2 -1
  846. package/dist/esm/modal-CfIoyvm-.js.map +1 -0
  847. package/dist/{components/popover.js → esm/popover-kHci8ddv.js} +26 -12
  848. package/dist/esm/popover-kHci8ddv.js.map +1 -0
  849. package/dist/esm/{popup-7209e9d5.js → popup-Dd6pdO8C.js} +2 -1
  850. package/dist/esm/popup-Dd6pdO8C.js.map +1 -0
  851. package/dist/{components/scroll.js → esm/scroll-BY6hIEFX.js} +2 -1
  852. package/dist/esm/scroll-BY6hIEFX.js.map +1 -0
  853. package/dist/esm/six-alert.entry.js +22 -14
  854. package/dist/esm/six-alert.entry.js.map +1 -1
  855. package/dist/esm/six-avatar.entry.js +13 -9
  856. package/dist/esm/six-avatar.entry.js.map +1 -1
  857. package/dist/esm/six-badge.entry.js +9 -6
  858. package/dist/esm/six-badge.entry.js.map +1 -1
  859. package/dist/esm/six-button.entry.js +53 -28
  860. package/dist/esm/six-button.entry.js.map +1 -1
  861. package/dist/esm/six-card.entry.js +5 -5
  862. package/dist/esm/six-card.entry.js.map +1 -1
  863. package/dist/esm/six-checkbox.six-menu-item.entry.js.map +1 -0
  864. package/dist/esm/six-checkbox_2.entry.js +205 -0
  865. package/dist/esm/six-checkbox_2.entry.js.map +1 -0
  866. package/dist/esm/six-date.entry.js +22698 -0
  867. package/dist/esm/six-date.entry.js.map +1 -0
  868. package/dist/esm/six-datepicker.entry.js +86 -42
  869. package/dist/esm/six-datepicker.entry.js.map +1 -1
  870. package/dist/esm/six-details.entry.js +28 -21
  871. package/dist/esm/six-details.entry.js.map +1 -1
  872. package/dist/esm/six-dialog.entry.js +41 -26
  873. package/dist/esm/six-dialog.entry.js.map +1 -1
  874. package/dist/esm/six-drawer.entry.js +48 -28
  875. package/dist/esm/six-drawer.entry.js.map +1 -1
  876. package/dist/esm/six-dropdown.six-menu.entry.js.map +1 -0
  877. package/dist/esm/{six-dropdown_3.entry.js → six-dropdown_2.entry.js} +120 -137
  878. package/dist/esm/six-dropdown_2.entry.js.map +1 -0
  879. package/dist/esm/six-error-page.entry.js +7 -8
  880. package/dist/esm/six-error-page.entry.js.map +1 -1
  881. package/dist/esm/six-error.entry.js +4 -4
  882. package/dist/esm/six-error.entry.js.map +1 -1
  883. package/dist/esm/six-file-list-item.entry.js +17 -13
  884. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  885. package/dist/esm/six-file-list.entry.js +4 -4
  886. package/dist/esm/six-file-list.entry.js.map +1 -1
  887. package/dist/esm/six-file-upload.entry.js +34 -27
  888. package/dist/esm/six-file-upload.entry.js.map +1 -1
  889. package/dist/esm/six-footer.entry.js +5 -5
  890. package/dist/esm/six-footer.entry.js.map +1 -1
  891. package/dist/esm/six-group-label.entry.js +16 -11
  892. package/dist/esm/six-group-label.entry.js.map +1 -1
  893. package/dist/esm/six-header-dropdown-item.entry.js +16 -7
  894. package/dist/esm/six-header-dropdown-item.entry.js.map +1 -1
  895. package/dist/esm/six-header-item.entry.js +26 -0
  896. package/dist/esm/six-header-item.entry.js.map +1 -0
  897. package/dist/esm/six-header-menu-button.entry.js +15 -6
  898. package/dist/esm/six-header-menu-button.entry.js.map +1 -1
  899. package/dist/esm/six-header.entry.js +18 -181
  900. package/dist/esm/six-header.entry.js.map +1 -1
  901. package/dist/esm/six-icon-button.entry.js +12 -16
  902. package/dist/esm/six-icon-button.entry.js.map +1 -1
  903. package/dist/esm/six-icon.entry.js +8 -6
  904. package/dist/esm/six-icon.entry.js.map +1 -1
  905. package/dist/esm/six-input.entry.js +65 -51
  906. package/dist/esm/six-input.entry.js.map +1 -1
  907. package/dist/esm/six-item-picker.entry.js +33 -14
  908. package/dist/esm/six-item-picker.entry.js.map +1 -1
  909. package/dist/esm/six-language-switcher.entry.js +7 -7
  910. package/dist/esm/six-language-switcher.entry.js.map +1 -1
  911. package/dist/esm/six-layout-grid.entry.js +4 -5
  912. package/dist/esm/six-layout-grid.entry.js.map +1 -1
  913. package/dist/esm/six-logo.entry.js +26 -0
  914. package/dist/esm/six-logo.entry.js.map +1 -0
  915. package/dist/esm/six-main-container.entry.js +6 -4
  916. package/dist/esm/six-main-container.entry.js.map +1 -1
  917. package/dist/esm/six-menu-divider.entry.js +5 -5
  918. package/dist/esm/six-menu-divider.entry.js.map +1 -1
  919. package/dist/esm/six-menu-label.entry.js +5 -5
  920. package/dist/esm/six-menu-label.entry.js.map +1 -1
  921. package/dist/esm/six-picto.entry.js +7 -4
  922. package/dist/esm/six-picto.entry.js.map +1 -1
  923. package/dist/esm/six-progress-bar.entry.js +9 -7
  924. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  925. package/dist/esm/six-progress-ring.entry.js +8 -5
  926. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  927. package/dist/esm/six-radio.entry.js +21 -16
  928. package/dist/esm/six-radio.entry.js.map +1 -1
  929. package/dist/esm/six-range.entry.js +43 -31
  930. package/dist/esm/six-range.entry.js.map +1 -1
  931. package/dist/esm/six-root.entry.js +8 -4
  932. package/dist/esm/six-root.entry.js.map +1 -1
  933. package/dist/esm/six-search-field.entry.js +16 -13
  934. package/dist/esm/six-search-field.entry.js.map +1 -1
  935. package/dist/esm/six-select.entry.js +90 -54
  936. package/dist/esm/six-select.entry.js.map +1 -1
  937. package/dist/esm/six-sidebar-item-group.entry.js +24 -14
  938. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  939. package/dist/esm/six-sidebar-item.entry.js +11 -7
  940. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  941. package/dist/esm/six-sidebar.entry.js +21 -17
  942. package/dist/esm/six-sidebar.entry.js.map +1 -1
  943. package/dist/esm/six-spinner.entry.js +4 -6
  944. package/dist/esm/six-spinner.entry.js.map +1 -1
  945. package/dist/esm/six-stage-indicator.entry.js +5 -4
  946. package/dist/esm/six-stage-indicator.entry.js.map +1 -1
  947. package/dist/esm/six-switch.entry.js +30 -23
  948. package/dist/esm/six-switch.entry.js.map +1 -1
  949. package/dist/esm/six-tab-group.entry.js +16 -47
  950. package/dist/esm/six-tab-group.entry.js.map +1 -1
  951. package/dist/esm/six-tab-panel.entry.js +7 -5
  952. package/dist/esm/six-tab-panel.entry.js.map +1 -1
  953. package/dist/esm/six-tab.entry.js +11 -7
  954. package/dist/esm/six-tab.entry.js.map +1 -1
  955. package/dist/esm/six-tag.entry.js +17 -13
  956. package/dist/esm/six-tag.entry.js.map +1 -1
  957. package/dist/esm/six-textarea.entry.js +51 -39
  958. package/dist/esm/six-textarea.entry.js.map +1 -1
  959. package/dist/esm/six-tile.entry.js +29 -22
  960. package/dist/esm/six-tile.entry.js.map +1 -1
  961. package/dist/esm/six-timepicker.entry.js +99 -38
  962. package/dist/esm/six-timepicker.entry.js.map +1 -1
  963. package/dist/esm/six-tooltip.entry.js +39 -25
  964. package/dist/esm/six-tooltip.entry.js.map +1 -1
  965. package/dist/{components/slot.js → esm/slot-j3oIB5oT.js} +2 -1
  966. package/dist/esm/slot-j3oIB5oT.js.map +1 -0
  967. package/dist/esm/{types-a07bb999.js → types-WA6V9mN8.js} +2 -1
  968. package/dist/esm/types-WA6V9mN8.js.map +1 -0
  969. package/dist/esm/ui-library.js +7 -5
  970. package/dist/esm/ui-library.js.map +1 -1
  971. package/dist/types/components/six-button/six-button.d.ts +1 -0
  972. package/dist/types/components/six-date/calendar-grid.d.ts +20 -0
  973. package/dist/types/components/six-date/components/day-selection.d.ts +8 -0
  974. package/dist/types/components/six-date/components/month-selection.d.ts +7 -0
  975. package/dist/types/components/six-date/components/year-selection.d.ts +7 -0
  976. package/dist/types/components/six-date/iso-date.d.ts +57 -0
  977. package/dist/types/components/six-date/six-date.d.ts +143 -0
  978. package/dist/types/components/six-date/translations.d.ts +37 -0
  979. package/dist/types/components/six-dialog/six-dialog.d.ts +10 -2
  980. package/dist/types/components/six-drawer/six-drawer.d.ts +10 -2
  981. package/dist/types/components/six-dropdown/six-dropdown.d.ts +1 -8
  982. package/dist/types/components/six-file-upload/six-file-upload.d.ts +2 -6
  983. package/dist/types/components/six-header/six-header.d.ts +2 -128
  984. package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +10 -1
  985. package/dist/types/components/six-header-item/six-header-item.d.ts +1 -1
  986. package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +11 -5
  987. package/dist/types/components/six-select/six-select.d.ts +1 -7
  988. package/dist/types/components/six-sidebar-item/six-sidebar-item.d.ts +2 -0
  989. package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +2 -0
  990. package/dist/types/components/six-tooltip/six-tooltip.d.ts +1 -1
  991. package/dist/types/components.d.ts +901 -153
  992. package/dist/types/stencil-public-runtime.d.ts +28 -0
  993. package/dist/types/utils/animation.d.ts +4 -0
  994. package/dist/types/utils/error-messages.d.ts +2 -2
  995. package/dist/types/utils/popover-util.d.ts +1 -0
  996. package/dist/ui-library/files/material-icons-latin-400-normal.woff +0 -0
  997. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
  998. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  999. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
  1000. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  1001. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
  1002. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  1003. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
  1004. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  1005. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
  1006. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  1007. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
  1008. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  1009. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
  1010. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  1011. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
  1012. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  1013. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
  1014. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  1015. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
  1016. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  1017. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
  1018. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  1019. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
  1020. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  1021. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
  1022. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  1023. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
  1024. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  1025. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
  1026. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  1027. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
  1028. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  1029. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
  1030. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  1031. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
  1032. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  1033. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  1034. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  1035. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  1036. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  1037. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  1038. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  1039. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  1040. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  1041. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  1042. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  1043. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  1044. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  1045. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  1046. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  1047. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  1048. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  1049. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  1050. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  1051. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  1052. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  1053. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  1054. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  1055. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  1056. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  1057. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  1058. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  1059. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  1060. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  1061. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  1062. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  1063. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  1064. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  1065. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  1066. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  1067. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  1068. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  1069. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
  1070. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  1071. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
  1072. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  1073. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
  1074. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  1075. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
  1076. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  1077. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
  1078. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  1079. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
  1080. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  1081. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
  1082. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  1083. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
  1084. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  1085. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
  1086. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  1087. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
  1088. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  1089. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
  1090. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  1091. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
  1092. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  1093. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
  1094. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  1095. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
  1096. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  1097. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
  1098. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  1099. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
  1100. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  1101. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
  1102. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  1103. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
  1104. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  1105. package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
  1106. package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
  1107. package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
  1108. package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
  1109. package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
  1110. package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
  1111. package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
  1112. package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
  1113. package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
  1114. package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
  1115. package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
  1116. package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
  1117. package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
  1118. package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
  1119. package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
  1120. package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
  1121. package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
  1122. package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
  1123. package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
  1124. package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
  1125. package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
  1126. package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
  1127. package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
  1128. package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
  1129. package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
  1130. package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
  1131. package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
  1132. package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
  1133. package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
  1134. package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
  1135. package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
  1136. package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
  1137. package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
  1138. package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
  1139. package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
  1140. package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
  1141. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
  1142. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  1143. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
  1144. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  1145. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
  1146. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  1147. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
  1148. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  1149. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
  1150. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  1151. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
  1152. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  1153. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
  1154. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  1155. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
  1156. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  1157. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
  1158. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  1159. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
  1160. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  1161. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
  1162. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  1163. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
  1164. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  1165. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
  1166. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  1167. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
  1168. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  1169. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
  1170. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  1171. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
  1172. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  1173. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
  1174. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  1175. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
  1176. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  1177. package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
  1178. package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
  1179. package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
  1180. package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
  1181. package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
  1182. package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
  1183. package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
  1184. package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
  1185. package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
  1186. package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
  1187. package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
  1188. package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
  1189. package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
  1190. package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
  1191. package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
  1192. package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
  1193. package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
  1194. package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
  1195. package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
  1196. package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
  1197. package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
  1198. package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
  1199. package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
  1200. package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
  1201. package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
  1202. package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
  1203. package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
  1204. package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
  1205. package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
  1206. package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
  1207. package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
  1208. package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
  1209. package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
  1210. package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
  1211. package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
  1212. package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
  1213. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
  1214. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  1215. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
  1216. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  1217. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
  1218. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  1219. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
  1220. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  1221. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
  1222. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  1223. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
  1224. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  1225. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
  1226. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  1227. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
  1228. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  1229. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
  1230. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  1231. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
  1232. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  1233. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
  1234. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  1235. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
  1236. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  1237. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
  1238. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  1239. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
  1240. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  1241. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
  1242. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  1243. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
  1244. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  1245. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
  1246. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  1247. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
  1248. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  1249. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
  1250. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  1251. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
  1252. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  1253. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
  1254. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  1255. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
  1256. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  1257. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
  1258. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  1259. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
  1260. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  1261. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
  1262. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  1263. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
  1264. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  1265. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
  1266. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  1267. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
  1268. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  1269. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
  1270. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  1271. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
  1272. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  1273. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
  1274. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  1275. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
  1276. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  1277. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
  1278. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  1279. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
  1280. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  1281. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
  1282. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  1283. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
  1284. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  1285. package/dist/ui-library/index.esm.js +1 -1
  1286. package/dist/ui-library/index.esm.js.map +1 -1
  1287. package/dist/ui-library/loader.esm.js.map +1 -0
  1288. package/dist/ui-library/p-01243b2e.entry.js +2 -0
  1289. package/dist/ui-library/p-01243b2e.entry.js.map +1 -0
  1290. package/dist/ui-library/p-09de2bda.entry.js +2 -0
  1291. package/dist/ui-library/p-09de2bda.entry.js.map +1 -0
  1292. package/dist/ui-library/p-0eb90caf.entry.js +2 -0
  1293. package/dist/ui-library/p-0eb90caf.entry.js.map +1 -0
  1294. package/dist/ui-library/p-14f79bfc.entry.js +2 -0
  1295. package/dist/ui-library/p-14f79bfc.entry.js.map +1 -0
  1296. package/dist/ui-library/p-174dd242.entry.js +2 -0
  1297. package/dist/ui-library/p-174dd242.entry.js.map +1 -0
  1298. package/dist/ui-library/p-18e755bc.entry.js +2 -0
  1299. package/dist/ui-library/p-18e755bc.entry.js.map +1 -0
  1300. package/dist/ui-library/p-194037e9.entry.js +2 -0
  1301. package/dist/ui-library/p-194037e9.entry.js.map +1 -0
  1302. package/dist/ui-library/p-1cfa2df4.entry.js +2 -0
  1303. package/dist/ui-library/p-1cfa2df4.entry.js.map +1 -0
  1304. package/dist/ui-library/p-1oJarDAY.js +2 -0
  1305. package/dist/ui-library/p-1oJarDAY.js.map +1 -0
  1306. package/dist/ui-library/p-22ad3353.entry.js +2 -0
  1307. package/dist/ui-library/p-22ad3353.entry.js.map +1 -0
  1308. package/dist/ui-library/p-25ff87fe.entry.js +2 -0
  1309. package/dist/ui-library/p-25ff87fe.entry.js.map +1 -0
  1310. package/dist/ui-library/p-285666de.entry.js +2 -0
  1311. package/dist/ui-library/p-285666de.entry.js.map +1 -0
  1312. package/dist/ui-library/p-29d79fe3.entry.js +2 -0
  1313. package/dist/ui-library/p-29d79fe3.entry.js.map +1 -0
  1314. package/dist/ui-library/p-2a245a37.entry.js +2 -0
  1315. package/dist/ui-library/p-2a245a37.entry.js.map +1 -0
  1316. package/dist/ui-library/p-2a82de6c.entry.js +2 -0
  1317. package/dist/ui-library/p-2a82de6c.entry.js.map +1 -0
  1318. package/dist/ui-library/p-2fb16281.entry.js +2 -0
  1319. package/dist/ui-library/p-2fb16281.entry.js.map +1 -0
  1320. package/dist/ui-library/p-31c5f8fa.entry.js +2 -0
  1321. package/dist/ui-library/p-31c5f8fa.entry.js.map +1 -0
  1322. package/dist/{components/six-button2.js → ui-library/p-336610a9.entry.js} +2 -148
  1323. package/dist/ui-library/p-336610a9.entry.js.map +1 -0
  1324. package/dist/ui-library/p-362ff192.entry.js +2 -0
  1325. package/dist/ui-library/p-362ff192.entry.js.map +1 -0
  1326. package/dist/ui-library/p-371ef302.entry.js +2 -0
  1327. package/dist/ui-library/p-371ef302.entry.js.map +1 -0
  1328. package/dist/ui-library/p-39109b96.entry.js +2 -0
  1329. package/dist/ui-library/p-39109b96.entry.js.map +1 -0
  1330. package/dist/ui-library/p-3d49deae.entry.js +2 -0
  1331. package/dist/ui-library/p-3d49deae.entry.js.map +1 -0
  1332. package/dist/ui-library/p-3dc98466.entry.js +2 -0
  1333. package/dist/ui-library/p-3dc98466.entry.js.map +1 -0
  1334. package/dist/ui-library/p-4152b371.entry.js +2 -0
  1335. package/dist/ui-library/p-4152b371.entry.js.map +1 -0
  1336. package/dist/ui-library/p-494546c8.entry.js +2 -0
  1337. package/dist/ui-library/p-494546c8.entry.js.map +1 -0
  1338. package/dist/ui-library/p-4f52c56f.entry.js +2 -0
  1339. package/dist/ui-library/p-4f52c56f.entry.js.map +1 -0
  1340. package/dist/ui-library/p-54490d28.entry.js +2 -0
  1341. package/dist/ui-library/p-54490d28.entry.js.map +1 -0
  1342. package/dist/ui-library/p-56e172e0.entry.js +2 -0
  1343. package/dist/ui-library/p-56e172e0.entry.js.map +1 -0
  1344. package/dist/ui-library/p-5b52d097.entry.js +2 -0
  1345. package/dist/ui-library/p-5b52d097.entry.js.map +1 -0
  1346. package/dist/ui-library/p-65e53a1b.entry.js +2 -0
  1347. package/dist/ui-library/p-65e53a1b.entry.js.map +1 -0
  1348. package/dist/ui-library/p-6607d03a.entry.js +2 -0
  1349. package/dist/ui-library/p-6607d03a.entry.js.map +1 -0
  1350. package/dist/ui-library/p-6dd3f54c.entry.js +2 -0
  1351. package/dist/ui-library/p-6dd3f54c.entry.js.map +1 -0
  1352. package/dist/ui-library/p-811ce2a0.entry.js +2 -0
  1353. package/dist/ui-library/p-811ce2a0.entry.js.map +1 -0
  1354. package/dist/ui-library/p-83d5fa7c.entry.js +2 -0
  1355. package/dist/ui-library/p-83d5fa7c.entry.js.map +1 -0
  1356. package/dist/ui-library/p-850aff56.entry.js +2 -0
  1357. package/dist/ui-library/p-850aff56.entry.js.map +1 -0
  1358. package/dist/ui-library/p-8884a48b.entry.js +2 -0
  1359. package/dist/ui-library/p-8884a48b.entry.js.map +1 -0
  1360. package/dist/ui-library/p-91c195d3.entry.js +2 -0
  1361. package/dist/ui-library/{p-70fac778.entry.js.map → p-91c195d3.entry.js.map} +1 -1
  1362. package/dist/ui-library/p-9ec79195.entry.js +2 -0
  1363. package/dist/ui-library/p-9ec79195.entry.js.map +1 -0
  1364. package/dist/ui-library/{p-842b492e.js → p-B1bClJZ6.js} +1 -1
  1365. package/dist/ui-library/p-B1bClJZ6.js.map +1 -0
  1366. package/dist/ui-library/{p-8227aaed.js → p-BY6hIEFX.js} +1 -1
  1367. package/dist/ui-library/p-BY6hIEFX.js.map +1 -0
  1368. package/dist/ui-library/{p-8bfb4bfc.js → p-C4h4qpGl.js} +1 -1
  1369. package/dist/ui-library/p-C4h4qpGl.js.map +1 -0
  1370. package/dist/ui-library/{p-a1502802.js → p-CKhg9ibv.js} +1 -1
  1371. package/dist/ui-library/p-CKhg9ibv.js.map +1 -0
  1372. package/dist/ui-library/{p-651293e7.js → p-CfIoyvm-.js} +1 -1
  1373. package/dist/ui-library/p-CfIoyvm-.js.map +1 -0
  1374. package/dist/ui-library/p-DQuL1Twl.js +2 -0
  1375. package/dist/ui-library/p-DQuL1Twl.js.map +1 -0
  1376. package/dist/ui-library/{p-f136a6b2.js → p-Dd6pdO8C.js} +1 -1
  1377. package/dist/ui-library/p-Dd6pdO8C.js.map +1 -0
  1378. package/dist/ui-library/p-Dg9366Gk.js +2 -0
  1379. package/dist/ui-library/p-Dg9366Gk.js.map +1 -0
  1380. package/dist/ui-library/p-JoG9I7EO.js +3 -0
  1381. package/dist/ui-library/p-JoG9I7EO.js.map +1 -0
  1382. package/dist/ui-library/p-SLlDVtvF.js +2 -0
  1383. package/dist/ui-library/p-SLlDVtvF.js.map +1 -0
  1384. package/dist/ui-library/{p-06ba4450.js → p-Vw_F19Fv.js} +1 -1
  1385. package/dist/ui-library/p-Vw_F19Fv.js.map +1 -0
  1386. package/dist/ui-library/{p-862d474e.js → p-WA6V9mN8.js} +1 -1
  1387. package/dist/ui-library/p-WA6V9mN8.js.map +1 -0
  1388. package/dist/ui-library/p-a43843d6.entry.js +2 -0
  1389. package/dist/ui-library/p-a43843d6.entry.js.map +1 -0
  1390. package/dist/ui-library/p-a4b523ed.entry.js +2 -0
  1391. package/dist/ui-library/p-a4b523ed.entry.js.map +1 -0
  1392. package/dist/ui-library/p-ab043a8c.entry.js +2 -0
  1393. package/dist/ui-library/p-ab043a8c.entry.js.map +1 -0
  1394. package/dist/ui-library/{p-1f7a0cb5.entry.js → p-b37d9771.entry.js} +2 -2
  1395. package/dist/ui-library/p-b37d9771.entry.js.map +1 -0
  1396. package/dist/ui-library/{p-d46acf21.entry.js → p-b6244904.entry.js} +2 -2
  1397. package/dist/ui-library/p-b6244904.entry.js.map +1 -0
  1398. package/dist/ui-library/p-c47f11e4.entry.js +2 -0
  1399. package/dist/ui-library/p-c47f11e4.entry.js.map +1 -0
  1400. package/dist/ui-library/p-c90a59fc.entry.js +2 -0
  1401. package/dist/ui-library/p-c90a59fc.entry.js.map +1 -0
  1402. package/dist/ui-library/p-cea7f777.entry.js +2 -0
  1403. package/dist/ui-library/p-cea7f777.entry.js.map +1 -0
  1404. package/dist/ui-library/p-d36ec323.entry.js +2 -0
  1405. package/dist/ui-library/p-d36ec323.entry.js.map +1 -0
  1406. package/dist/ui-library/p-dc2109d2.entry.js +2 -0
  1407. package/dist/ui-library/p-dc2109d2.entry.js.map +1 -0
  1408. package/dist/ui-library/p-e85be7d2.entry.js +2 -0
  1409. package/dist/ui-library/p-e85be7d2.entry.js.map +1 -0
  1410. package/dist/ui-library/p-e92df84a.entry.js +2 -0
  1411. package/dist/ui-library/p-e92df84a.entry.js.map +1 -0
  1412. package/dist/ui-library/p-ea61b009.entry.js +2 -0
  1413. package/dist/ui-library/p-ea61b009.entry.js.map +1 -0
  1414. package/dist/ui-library/p-ed6625e6.entry.js +2 -0
  1415. package/dist/ui-library/p-ed6625e6.entry.js.map +1 -0
  1416. package/dist/ui-library/p-ee980a0f.entry.js +2 -0
  1417. package/dist/ui-library/p-ee980a0f.entry.js.map +1 -0
  1418. package/dist/ui-library/p-f4dd7b57.entry.js +2 -0
  1419. package/dist/ui-library/p-f4dd7b57.entry.js.map +1 -0
  1420. package/dist/ui-library/p-f6423fca.entry.js +2 -0
  1421. package/dist/ui-library/p-f6423fca.entry.js.map +1 -0
  1422. package/dist/ui-library/p-fe7d3665.entry.js +2 -0
  1423. package/dist/ui-library/p-fe7d3665.entry.js.map +1 -0
  1424. package/dist/ui-library/{p-0cebf1d2.js → p-j3oIB5oT.js} +1 -1
  1425. package/dist/ui-library/p-j3oIB5oT.js.map +1 -0
  1426. package/dist/ui-library/p-kHci8ddv.js +2 -0
  1427. package/dist/{esm/popover-25996e62.js.map → ui-library/p-kHci8ddv.js.map} +1 -1
  1428. package/dist/ui-library/six-alert.entry.esm.js.map +1 -0
  1429. package/dist/ui-library/six-avatar.entry.esm.js.map +1 -0
  1430. package/dist/ui-library/six-badge.entry.esm.js.map +1 -0
  1431. package/dist/ui-library/six-button.entry.esm.js.map +1 -0
  1432. package/dist/ui-library/six-card.entry.esm.js.map +1 -0
  1433. package/dist/ui-library/six-checkbox.six-menu-item.entry.esm.js.map +1 -0
  1434. package/dist/ui-library/six-date.entry.esm.js.map +1 -0
  1435. package/dist/ui-library/six-datepicker.entry.esm.js.map +1 -0
  1436. package/dist/ui-library/six-details.entry.esm.js.map +1 -0
  1437. package/dist/ui-library/six-dialog.entry.esm.js.map +1 -0
  1438. package/dist/ui-library/six-drawer.entry.esm.js.map +1 -0
  1439. package/dist/ui-library/six-dropdown.six-menu.entry.esm.js.map +1 -0
  1440. package/dist/ui-library/six-error-page.entry.esm.js.map +1 -0
  1441. package/dist/ui-library/six-error.entry.esm.js.map +1 -0
  1442. package/dist/ui-library/six-file-list-item.entry.esm.js.map +1 -0
  1443. package/dist/ui-library/six-file-list.entry.esm.js.map +1 -0
  1444. package/dist/ui-library/six-file-upload.entry.esm.js.map +1 -0
  1445. package/dist/ui-library/six-footer.entry.esm.js.map +1 -0
  1446. package/dist/ui-library/six-group-label.entry.esm.js.map +1 -0
  1447. package/dist/ui-library/six-header-dropdown-item.entry.esm.js.map +1 -0
  1448. package/dist/ui-library/six-header-item.entry.esm.js.map +1 -0
  1449. package/dist/ui-library/six-header-menu-button.entry.esm.js.map +1 -0
  1450. package/dist/ui-library/six-header.entry.esm.js.map +1 -0
  1451. package/dist/ui-library/six-icon-button.entry.esm.js.map +1 -0
  1452. package/dist/ui-library/six-icon.entry.esm.js.map +1 -0
  1453. package/dist/ui-library/six-input.entry.esm.js.map +1 -0
  1454. package/dist/ui-library/six-item-picker.entry.esm.js.map +1 -0
  1455. package/dist/ui-library/six-language-switcher.entry.esm.js.map +1 -0
  1456. package/dist/ui-library/six-layout-grid.entry.esm.js.map +1 -0
  1457. package/dist/ui-library/six-logo.entry.esm.js.map +1 -0
  1458. package/dist/ui-library/six-main-container.entry.esm.js.map +1 -0
  1459. package/dist/ui-library/six-menu-divider.entry.esm.js.map +1 -0
  1460. package/dist/ui-library/six-menu-label.entry.esm.js.map +1 -0
  1461. package/dist/ui-library/six-picto.entry.esm.js.map +1 -0
  1462. package/dist/ui-library/six-progress-bar.entry.esm.js.map +1 -0
  1463. package/dist/ui-library/six-progress-ring.entry.esm.js.map +1 -0
  1464. package/dist/ui-library/six-radio.entry.esm.js.map +1 -0
  1465. package/dist/ui-library/six-range.entry.esm.js.map +1 -0
  1466. package/dist/ui-library/six-root.entry.esm.js.map +1 -0
  1467. package/dist/ui-library/six-search-field.entry.esm.js.map +1 -0
  1468. package/dist/ui-library/six-select.entry.esm.js.map +1 -0
  1469. package/dist/ui-library/six-sidebar-item-group.entry.esm.js.map +1 -0
  1470. package/dist/ui-library/six-sidebar-item.entry.esm.js.map +1 -0
  1471. package/dist/ui-library/six-sidebar.entry.esm.js.map +1 -0
  1472. package/dist/ui-library/six-spinner.entry.esm.js.map +1 -0
  1473. package/dist/ui-library/six-stage-indicator.entry.esm.js.map +1 -0
  1474. package/dist/ui-library/six-switch.entry.esm.js.map +1 -0
  1475. package/dist/ui-library/six-tab-group.entry.esm.js.map +1 -0
  1476. package/dist/ui-library/six-tab-panel.entry.esm.js.map +1 -0
  1477. package/dist/ui-library/six-tab.entry.esm.js.map +1 -0
  1478. package/dist/ui-library/six-tag.entry.esm.js.map +1 -0
  1479. package/dist/ui-library/six-textarea.entry.esm.js.map +1 -0
  1480. package/dist/ui-library/six-tile.entry.esm.js.map +1 -0
  1481. package/dist/ui-library/six-timepicker.entry.esm.js.map +1 -0
  1482. package/dist/ui-library/six-tooltip.entry.esm.js.map +1 -0
  1483. package/dist/ui-library/ui-library.css +1 -1
  1484. package/dist/ui-library/ui-library.esm.js +1 -1
  1485. package/dist/ui-library/ui-library.esm.js.map +1 -1
  1486. package/package.json +17 -12
  1487. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  1488. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  1489. package/dist/cjs/error-messages-6e8049a4.js.map +0 -1
  1490. package/dist/cjs/execution-control-d728da70.js.map +0 -1
  1491. package/dist/cjs/focus-visible-e2c9255a.js.map +0 -1
  1492. package/dist/cjs/form-9ebaae7c.js.map +0 -1
  1493. package/dist/cjs/form-control-b39f1df5.js.map +0 -1
  1494. package/dist/cjs/index-417a06c8.js.map +0 -1
  1495. package/dist/cjs/modal-bd7fc5bc.js.map +0 -1
  1496. package/dist/cjs/popover-1e7c09f1.js.map +0 -1
  1497. package/dist/cjs/popup-e854acda.js.map +0 -1
  1498. package/dist/cjs/scroll-68033901.js.map +0 -1
  1499. package/dist/cjs/six-checkbox.cjs.entry.js +0 -128
  1500. package/dist/cjs/six-checkbox.cjs.entry.js.map +0 -1
  1501. package/dist/cjs/six-dropdown_3.cjs.entry.js.map +0 -1
  1502. package/dist/cjs/six-header-item_2.cjs.entry.js +0 -47
  1503. package/dist/cjs/six-header-item_2.cjs.entry.js.map +0 -1
  1504. package/dist/cjs/slot-1b1232a1.js.map +0 -1
  1505. package/dist/cjs/types-d3da200b.js.map +0 -1
  1506. package/dist/collection/material-icons-round.woff +0 -0
  1507. package/dist/collection/material-icons-round.woff2 +0 -0
  1508. package/dist/collection/material-icons-sharp.woff +0 -0
  1509. package/dist/collection/material-icons-sharp.woff2 +0 -0
  1510. package/dist/collection/material-icons-two-tone.woff +0 -0
  1511. package/dist/collection/material-icons-two-tone.woff2 +0 -0
  1512. package/dist/collection/material-icons.css +0 -124
  1513. package/dist/collection/material-icons.scss +0 -5
  1514. package/dist/collection/material-icons.woff +0 -0
  1515. package/dist/components/event-listeners.js.map +0 -1
  1516. package/dist/components/execution-control.js.map +0 -1
  1517. package/dist/components/focus-visible.js.map +0 -1
  1518. package/dist/components/form-control.js.map +0 -1
  1519. package/dist/components/form.js.map +0 -1
  1520. package/dist/components/modal.js.map +0 -1
  1521. package/dist/components/popover.js.map +0 -1
  1522. package/dist/components/scroll.js.map +0 -1
  1523. package/dist/components/six-button2.js.map +0 -1
  1524. package/dist/components/six-checkbox2.js +0 -166
  1525. package/dist/components/six-checkbox2.js.map +0 -1
  1526. package/dist/components/six-details2.js.map +0 -1
  1527. package/dist/components/six-dropdown2.js.map +0 -1
  1528. package/dist/components/six-error2.js.map +0 -1
  1529. package/dist/components/six-header-item2.js +0 -39
  1530. package/dist/components/six-header-item2.js.map +0 -1
  1531. package/dist/components/six-icon-button2.js +0 -80
  1532. package/dist/components/six-icon-button2.js.map +0 -1
  1533. package/dist/components/six-icon2.js.map +0 -1
  1534. package/dist/components/six-input2.js +0 -291
  1535. package/dist/components/six-input2.js.map +0 -1
  1536. package/dist/components/six-item-picker2.js.map +0 -1
  1537. package/dist/components/six-logo2.js +0 -42
  1538. package/dist/components/six-logo2.js.map +0 -1
  1539. package/dist/components/six-menu-item2.js.map +0 -1
  1540. package/dist/components/six-menu2.js.map +0 -1
  1541. package/dist/components/six-picto2.js.map +0 -1
  1542. package/dist/components/six-spinner2.js.map +0 -1
  1543. package/dist/components/six-stage-indicator2.js.map +0 -1
  1544. package/dist/components/six-timepicker2.js.map +0 -1
  1545. package/dist/components/six-tooltip2.js.map +0 -1
  1546. package/dist/components/slot.js.map +0 -1
  1547. package/dist/esm/app-globals-0f993ce5.js +0 -5
  1548. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  1549. package/dist/esm/error-messages-1eaaad23.js.map +0 -1
  1550. package/dist/esm/event-listeners-706d4309.js.map +0 -1
  1551. package/dist/esm/execution-control-2ebaf4ef.js.map +0 -1
  1552. package/dist/esm/focus-visible-d9dbfeef.js.map +0 -1
  1553. package/dist/esm/form-4b145b7a.js.map +0 -1
  1554. package/dist/esm/form-control-ad1710bf.js.map +0 -1
  1555. package/dist/esm/index-a7bee415.js.map +0 -1
  1556. package/dist/esm/modal-6c1288e3.js.map +0 -1
  1557. package/dist/esm/popup-7209e9d5.js.map +0 -1
  1558. package/dist/esm/scroll-3e16851e.js.map +0 -1
  1559. package/dist/esm/six-checkbox.entry.js +0 -124
  1560. package/dist/esm/six-checkbox.entry.js.map +0 -1
  1561. package/dist/esm/six-dropdown_3.entry.js.map +0 -1
  1562. package/dist/esm/six-header-item_2.entry.js +0 -42
  1563. package/dist/esm/six-header-item_2.entry.js.map +0 -1
  1564. package/dist/esm/slot-56531341.js.map +0 -1
  1565. package/dist/esm/types-a07bb999.js.map +0 -1
  1566. package/dist/ui-library/material-icons-round.woff +0 -0
  1567. package/dist/ui-library/material-icons-round.woff2 +0 -0
  1568. package/dist/ui-library/material-icons-sharp.woff +0 -0
  1569. package/dist/ui-library/material-icons-sharp.woff2 +0 -0
  1570. package/dist/ui-library/material-icons-two-tone.woff +0 -0
  1571. package/dist/ui-library/material-icons-two-tone.woff2 +0 -0
  1572. package/dist/ui-library/material-icons.css +0 -124
  1573. package/dist/ui-library/material-icons.scss +0 -5
  1574. package/dist/ui-library/material-icons.woff +0 -0
  1575. package/dist/ui-library/p-03acec96.entry.js +0 -2
  1576. package/dist/ui-library/p-03acec96.entry.js.map +0 -1
  1577. package/dist/ui-library/p-06ba4450.js.map +0 -1
  1578. package/dist/ui-library/p-06d562b7.entry.js +0 -2
  1579. package/dist/ui-library/p-06d562b7.entry.js.map +0 -1
  1580. package/dist/ui-library/p-07b6203f.entry.js +0 -2
  1581. package/dist/ui-library/p-07b6203f.entry.js.map +0 -1
  1582. package/dist/ui-library/p-0a6b6429.entry.js +0 -2
  1583. package/dist/ui-library/p-0a6b6429.entry.js.map +0 -1
  1584. package/dist/ui-library/p-0cebf1d2.js.map +0 -1
  1585. package/dist/ui-library/p-14d09601.entry.js +0 -2
  1586. package/dist/ui-library/p-14d09601.entry.js.map +0 -1
  1587. package/dist/ui-library/p-171df3ad.entry.js +0 -2
  1588. package/dist/ui-library/p-171df3ad.entry.js.map +0 -1
  1589. package/dist/ui-library/p-1cc3b56d.entry.js +0 -2
  1590. package/dist/ui-library/p-1cc3b56d.entry.js.map +0 -1
  1591. package/dist/ui-library/p-1cd09d9b.entry.js +0 -2
  1592. package/dist/ui-library/p-1cd09d9b.entry.js.map +0 -1
  1593. package/dist/ui-library/p-1f7a0cb5.entry.js.map +0 -1
  1594. package/dist/ui-library/p-2355c444.entry.js +0 -2
  1595. package/dist/ui-library/p-2355c444.entry.js.map +0 -1
  1596. package/dist/ui-library/p-281ffc35.entry.js +0 -2
  1597. package/dist/ui-library/p-281ffc35.entry.js.map +0 -1
  1598. package/dist/ui-library/p-2ad904a7.entry.js +0 -2
  1599. package/dist/ui-library/p-2ad904a7.entry.js.map +0 -1
  1600. package/dist/ui-library/p-30000e86.entry.js +0 -2
  1601. package/dist/ui-library/p-30000e86.entry.js.map +0 -1
  1602. package/dist/ui-library/p-42cd3588.entry.js +0 -2
  1603. package/dist/ui-library/p-42cd3588.entry.js.map +0 -1
  1604. package/dist/ui-library/p-48118ce8.js +0 -3
  1605. package/dist/ui-library/p-48118ce8.js.map +0 -1
  1606. package/dist/ui-library/p-49019d6c.entry.js +0 -2
  1607. package/dist/ui-library/p-49019d6c.entry.js.map +0 -1
  1608. package/dist/ui-library/p-4d72b179.entry.js +0 -2
  1609. package/dist/ui-library/p-4d72b179.entry.js.map +0 -1
  1610. package/dist/ui-library/p-4de4ee7a.entry.js +0 -2
  1611. package/dist/ui-library/p-4de4ee7a.entry.js.map +0 -1
  1612. package/dist/ui-library/p-4edde816.entry.js +0 -2
  1613. package/dist/ui-library/p-4edde816.entry.js.map +0 -1
  1614. package/dist/ui-library/p-4f129bb3.entry.js +0 -2
  1615. package/dist/ui-library/p-4f129bb3.entry.js.map +0 -1
  1616. package/dist/ui-library/p-57ea4cb7.entry.js +0 -2
  1617. package/dist/ui-library/p-57ea4cb7.entry.js.map +0 -1
  1618. package/dist/ui-library/p-5ece7986.entry.js +0 -2
  1619. package/dist/ui-library/p-5ece7986.entry.js.map +0 -1
  1620. package/dist/ui-library/p-5f491974.entry.js +0 -2
  1621. package/dist/ui-library/p-5f491974.entry.js.map +0 -1
  1622. package/dist/ui-library/p-5fc9cd7b.entry.js +0 -2
  1623. package/dist/ui-library/p-5fc9cd7b.entry.js.map +0 -1
  1624. package/dist/ui-library/p-618bf750.entry.js +0 -2
  1625. package/dist/ui-library/p-618bf750.entry.js.map +0 -1
  1626. package/dist/ui-library/p-62a1f514.entry.js +0 -2
  1627. package/dist/ui-library/p-62a1f514.entry.js.map +0 -1
  1628. package/dist/ui-library/p-651293e7.js.map +0 -1
  1629. package/dist/ui-library/p-6513b8ce.entry.js +0 -2
  1630. package/dist/ui-library/p-6513b8ce.entry.js.map +0 -1
  1631. package/dist/ui-library/p-6795e0a9.entry.js +0 -2
  1632. package/dist/ui-library/p-6795e0a9.entry.js.map +0 -1
  1633. package/dist/ui-library/p-6ec126f7.entry.js +0 -2
  1634. package/dist/ui-library/p-6ec126f7.entry.js.map +0 -1
  1635. package/dist/ui-library/p-705e3612.entry.js +0 -2
  1636. package/dist/ui-library/p-705e3612.entry.js.map +0 -1
  1637. package/dist/ui-library/p-70fac778.entry.js +0 -2
  1638. package/dist/ui-library/p-7afdff5c.entry.js +0 -2
  1639. package/dist/ui-library/p-7afdff5c.entry.js.map +0 -1
  1640. package/dist/ui-library/p-7eb9ae75.entry.js +0 -2
  1641. package/dist/ui-library/p-7eb9ae75.entry.js.map +0 -1
  1642. package/dist/ui-library/p-7f856f00.js +0 -2
  1643. package/dist/ui-library/p-7f856f00.js.map +0 -1
  1644. package/dist/ui-library/p-8227aaed.js.map +0 -1
  1645. package/dist/ui-library/p-842b492e.js.map +0 -1
  1646. package/dist/ui-library/p-862d474e.js.map +0 -1
  1647. package/dist/ui-library/p-870139dc.entry.js +0 -2
  1648. package/dist/ui-library/p-870139dc.entry.js.map +0 -1
  1649. package/dist/ui-library/p-8bfb4bfc.js.map +0 -1
  1650. package/dist/ui-library/p-a04460e3.js +0 -2
  1651. package/dist/ui-library/p-a04460e3.js.map +0 -1
  1652. package/dist/ui-library/p-a1502802.js.map +0 -1
  1653. package/dist/ui-library/p-a20a702a.entry.js +0 -2
  1654. package/dist/ui-library/p-a20a702a.entry.js.map +0 -1
  1655. package/dist/ui-library/p-adc65fc8.entry.js +0 -2
  1656. package/dist/ui-library/p-adc65fc8.entry.js.map +0 -1
  1657. package/dist/ui-library/p-afb15ea4.entry.js +0 -2
  1658. package/dist/ui-library/p-afb15ea4.entry.js.map +0 -1
  1659. package/dist/ui-library/p-b361d5da.entry.js +0 -2
  1660. package/dist/ui-library/p-b361d5da.entry.js.map +0 -1
  1661. package/dist/ui-library/p-bfb398c6.entry.js +0 -2
  1662. package/dist/ui-library/p-bfb398c6.entry.js.map +0 -1
  1663. package/dist/ui-library/p-cd65e3b2.entry.js +0 -2
  1664. package/dist/ui-library/p-cd65e3b2.entry.js.map +0 -1
  1665. package/dist/ui-library/p-cd79700c.entry.js +0 -2
  1666. package/dist/ui-library/p-cd79700c.entry.js.map +0 -1
  1667. package/dist/ui-library/p-cdc9224d.entry.js +0 -2
  1668. package/dist/ui-library/p-cdc9224d.entry.js.map +0 -1
  1669. package/dist/ui-library/p-cdc94cd6.entry.js +0 -2
  1670. package/dist/ui-library/p-cdc94cd6.entry.js.map +0 -1
  1671. package/dist/ui-library/p-d46acf21.entry.js.map +0 -1
  1672. package/dist/ui-library/p-d67b8482.entry.js +0 -2
  1673. package/dist/ui-library/p-d67b8482.entry.js.map +0 -1
  1674. package/dist/ui-library/p-db193a32.entry.js +0 -2
  1675. package/dist/ui-library/p-db193a32.entry.js.map +0 -1
  1676. package/dist/ui-library/p-e080d5b6.js +0 -2
  1677. package/dist/ui-library/p-e080d5b6.js.map +0 -1
  1678. package/dist/ui-library/p-e1255160.js +0 -2
  1679. package/dist/ui-library/p-e1255160.js.map +0 -1
  1680. package/dist/ui-library/p-e1529ef6.entry.js +0 -2
  1681. package/dist/ui-library/p-e1529ef6.entry.js.map +0 -1
  1682. package/dist/ui-library/p-e181944f.entry.js +0 -2
  1683. package/dist/ui-library/p-e181944f.entry.js.map +0 -1
  1684. package/dist/ui-library/p-e6efc08a.entry.js +0 -2
  1685. package/dist/ui-library/p-e6efc08a.entry.js.map +0 -1
  1686. package/dist/ui-library/p-e9462085.entry.js +0 -2
  1687. package/dist/ui-library/p-e9462085.entry.js.map +0 -1
  1688. package/dist/ui-library/p-ea854ec5.entry.js +0 -2
  1689. package/dist/ui-library/p-ea854ec5.entry.js.map +0 -1
  1690. package/dist/ui-library/p-f12b22bc.entry.js +0 -2
  1691. package/dist/ui-library/p-f12b22bc.entry.js.map +0 -1
  1692. package/dist/ui-library/p-f136a6b2.js.map +0 -1
  1693. package/dist/ui-library/p-f9a1f6ab.entry.js +0 -2
  1694. package/dist/ui-library/p-f9a1f6ab.entry.js.map +0 -1
  1695. package/dist/ui-library/p-ffce31da.entry.js +0 -2
  1696. package/dist/ui-library/p-ffce31da.entry.js.map +0 -1
  1697. package/loader/package.json +0 -11
  1698. /package/dist/collection/{material-icons.woff2 → files/material-icons-latin-400-normal.woff2} +0 -0
  1699. /package/dist/collection/{material-icons-outlined.woff → files/material-icons-outlined-latin-400-normal.woff} +0 -0
  1700. /package/dist/collection/{material-icons-outlined.woff2 → files/material-icons-outlined-latin-400-normal.woff2} +0 -0
  1701. /package/dist/ui-library/{material-icons.woff2 → files/material-icons-latin-400-normal.woff2} +0 -0
  1702. /package/dist/ui-library/{material-icons-outlined.woff → files/material-icons-outlined-latin-400-normal.woff} +0 -0
  1703. /package/dist/ui-library/{material-icons-outlined.woff2 → files/material-icons-outlined-latin-400-normal.woff2} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["isString","value","isNil","i18nDate","en","months","monthsShort","monthsShortGrouped","weekdays","weekdaysShort","weekdaysMin","de","fr","it","es","now","Date","removeTime","date","getFullYear","getMonth","getDate","isValidDate","isNaN","getTime","toString","year","Error","month","day","hours","getHours","minutes","getMinutes","seconds","getSeconds","getFirstDayOfTheWeek","weekdayDiff","setDate","getDay","isSameYear","a","b","isSameMonth","isSameDay","isSameWeek","isValidDateString","datestring","format","length","getDateParts","toDate","isInRange","minDate","maxDate","lookAhead","iFormat","match","increment","followingCharacterMatches","charAt","hasProperLength","formatNumber","len","num","String","formatDate","output","FORMATTING_TOKENS","TWO_NUMERICS_REGEX","FOUR_NUMERICS_REGEX","NON_NUMERIC_REGEX","YEAR","MONTH","DAY","HOUR","MINUTE","SECOND","parseFlags","addParseFlag","token","regex","callback","tokens","Array","isArray","func","input","parseInt","forEach","key","cent","Math","floor","getFullInputArray","backupDate","result","backupArr","useBackup","i","undefined","createDate","hour","minute","second","isFinite","setFullYear","makeParser","dateString","mark","parseTo","word","replace","indexOf","substr","parser","exec","obj","Object","assign","getCleanDateString","dirtyDateString","separator","split","map","s","join","inputArray","e","NaN","createCalendarGrid","calendarGridArguments","firstDateOfBox","allowedDates","dateFormat","selectedDate","pointerDate","weekDatePointer","dayDatePointer","calendar","row","display","label","isToday","isSelected","isDisabled","isOutdated","rangeAround","number","range","itemsPerGroup","keys","n","reduce","curr","item","index","push","SixDateFormats","MonthSelection","monthSelectionParams","locale","isSelectedMonth","_a","findIndex","m","h","class","part","onClick","onClickMonthCell","DaySelection","daySelectionParams","weekday","calendarGrid","cell","onClickDateCell","YearSelection","yearSelectionParams","yearSelection","onClickYearCell","sixDatepickerCss","NUMBER_OF_YEARS_SHOWN","MIN_POPUP_HEIGHT","SelectionMode","SixDatepicker","constructor","hostRef","this","eventListeners","EventListeners","getCurrentDateAsPointer","selectionMode","isDropDownContentUp","type","open","inline","readonly","disabled","closeOnSelect","size","required","errorText","invalid","DDMMYYY_DOT","debounce","DEFAULT_DEBOUNCE_FAST","name","clearable","iconPosition","hoist","previousUnit","previousMonth","previousYear","previousYearGroup","nextUnit","nextMonth","nextYear","nextYearGroup","handleDocumentKeyDown","event","keyboardEvent","stopPropagation","closePopup","inputElement","setFocus","handleDocumentMouseDown","path","composedPath","includes","container","handleClearClick","async","select","sixClear","emit","onTimepickerChange","sixTimepickerChange","time","detail","newDate","setHours","updateValue","updatePointerDates","selectedMonth","monthShort","handleInputChange","inputValue","inputValueDate","updateIfChanged","datesOnly","dateAsString","handleOnBlur","sixSelect","currentDate","_b","_c","sixBlur","debounceChanged","debounceEvent","valueChanged","console","warn","resizeHandler","updateDropdownDirection","moveOpenHoistedPopup","adjustPopupPosition","scrollHandler","movePopup","popup","wrapper","containingElement","host","options","min","max","calcIsDropDownContentUp","getMonthStringForIndex","openCalendar","setupEventListenersForOpenPopup","add","document","remove","getPointerDate","differsFromPointerDate","defaultDate","componentWillLoad","componentDidLoad","componentDidRender","renderHeader","viewBox","width","height","d","points","renderBody","renderCustomIcon","icon","hasSlot","slot","prefix","renderClearable","tabindex","render","ref","el","placeholder","errorTextCount","datepicker__popup","placement","adjustPopupForHoisting","isUp","adjustPopupForSmallScreens","connectedCallback","forward","disconnectedCallback","removeAll"],"sources":["src/utils/type-check.ts","src/utils/date-util.ts","src/components/six-datepicker/six-date-formats.tsx","src/components/six-datepicker/components/month-selection.tsx","src/components/six-datepicker/components/day-selection.tsx","src/components/six-datepicker/components/year-selection.tsx","src/components/six-datepicker/six-datepicker.scss?tag=six-datepicker&encapsulation=shadow","src/components/six-datepicker/six-datepicker.tsx"],"sourcesContent":["export const isString = (value: unknown): value is string => typeof value === 'string';\n\n// only use '==' instead of '===' to also catch undefined and void\nexport const isNil = (value: unknown): value is undefined | null => value == null;\n\nexport const isDate = (value: unknown): value is Date => value instanceof Date;\n","/* eslint-disable */\n// @ts-nocheck\n\nimport { isDate, isNil, isString } from './type-check';\nimport { SixDateFormats } from '../components/six-datepicker/six-date-formats';\nimport { CalendarCell } from '../components/six-datepicker/six-datepicker';\n\nexport type DateLocale = typeof i18nDate.en;\nexport const i18nDate = {\n en: {\n months: [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n ],\n monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n monthsShortGrouped: [\n ['Jan', 'Feb', 'Mar', 'Apr'],\n ['May', 'Jun', 'Jul', 'Aug'],\n ['Sep', 'Oct', 'Nov', 'Dec'],\n ],\n weekdays: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'],\n weekdaysShort: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],\n weekdaysMin: ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'],\n },\n de: {\n months: [\n 'Januar',\n 'Februar',\n 'März',\n 'April',\n 'Mai',\n 'Juni',\n 'Juli',\n 'August',\n 'September',\n 'Oktober',\n 'November',\n 'Dezember',\n ],\n monthsShort: ['Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'],\n monthsShortGrouped: [\n ['Jan.', 'Feb.', 'März', 'Apr.'],\n ['Mai', 'Juni', 'Juli', 'Aug.'],\n ['Sep.', 'Okt.', 'Nov.', 'Dez.'],\n ],\n weekdays: ['Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag', 'Sonntag'],\n weekdaysShort: ['Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.', 'So.'],\n weekdaysMin: ['Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa', 'So'],\n },\n fr: {\n months: [\n 'janvier',\n 'février',\n 'mars',\n 'avril',\n 'mai',\n 'juin',\n 'juillet',\n 'août',\n 'septembre',\n 'octobre',\n 'novembre',\n 'décembre',\n ],\n monthsShort: ['janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', 'déc.'],\n monthsShortGrouped: [\n ['janv.', 'févr.', 'mars', 'avr.'],\n ['mai', 'juin', 'juil.', 'août'],\n ['sept.', 'oct.', 'nov.', 'déc.'],\n ],\n weekdays: ['lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi', 'dimanche'],\n weekdaysShort: ['lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.', 'dim.'],\n weekdaysMin: ['lu', 'ma', 'me', 'je', 've', 'sa', 'di'],\n },\n it: {\n months: [\n 'gennaio',\n 'febbraio',\n 'marzo',\n 'aprile',\n 'maggio',\n 'giugno',\n 'luglio',\n 'agosto',\n 'settembre',\n 'ottobre',\n 'novembre',\n 'dicembre',\n ],\n monthsShort: ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'],\n monthsShortGrouped: [\n ['gen', 'feb', 'mar', 'apr'],\n ['mag', 'giu', 'lug', 'ago'],\n ['set', 'ott', 'nov', 'dic'],\n ],\n weekdays: ['lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato', 'domenica'],\n weekdaysShort: ['lun', 'mar', 'mer', 'gio', 'ven', 'sab', 'dom'],\n weekdaysMin: ['lu', 'ma', 'me', 'gi', 've', 'sa', 'do'],\n },\n es: {\n months: [\n 'enero',\n 'febrero',\n 'marzo',\n 'abril',\n 'mayo',\n 'junio',\n 'julio',\n 'agosto',\n 'septiembre',\n 'octubre',\n 'noviembre',\n 'diciembre',\n ],\n monthsShort: ['ene', 'feb', 'mar', 'abr', 'may', 'jun', 'jul', 'ago', 'sep', 'oct', 'nov', 'dic'],\n monthsShortGrouped: [\n ['ene', 'feb', 'mar', 'abr'],\n ['may', 'jun', 'jul', 'ago'],\n ['sep', 'oct', 'nov', 'dic'],\n ],\n weekdays: ['lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado', 'domingo'],\n weekdaysShort: ['lun', 'mar', 'mié', 'jue', 'vie', 'sáb', 'dom'],\n weekdaysMin: ['lu', 'ma', 'mi', 'ju', 'vi', 'sa', 'do'],\n },\n};\n\n/**\n * Returns a JS Date instance of the exact moment\n *\n * ```typescript\n * const date = now()\n * // Wed Mar 10 2021 20:30:32 GMT+0100 (Central European Standard Time)\n * ```\n */\nexport const now = () => new Date();\n\nexport const removeTime = (date: Date) => new Date(date.getFullYear(), date.getMonth(), date.getDate());\n\nexport const pad = (value: number) => String(value).padStart(2, '0');\n\n/**\n * Returns `true` if the given date is valid\n */\nexport const isValidDate = (value: unknown): boolean => {\n return value instanceof Date && !isNaN(value.getTime()) && new Date(value).toString() !== 'Invalid Date';\n};\n\n/**\n * Returns the year number of the given date\n *\n * ```typescript\n * year(new Date(2020, 0, 1)) // 2020\n * ```\n */\nexport const year = (date: Date | undefined): number => {\n if (date && isValidDate(date)) {\n return date.getFullYear();\n }\n throw new Error('Not a valid date');\n};\n\n/**\n * Returns the month number of the given date\n *\n * ```typescript\n * month(new Date(2020, 0, 1)) // 0\n * ```\n */\nexport const month = (date: Date | undefined): number => {\n if (date && isValidDate(date)) {\n return date.getMonth();\n }\n throw new Error('Not a valid date');\n};\n\n/**\n * Returns the day number of the given date\n *\n * ```typescript\n * day(new Date(2020, 0, 1)) // 1\n * ```\n */\nexport const day = (date: Date | undefined): number => {\n if (date && isValidDate(date)) {\n return date.getDate();\n }\n throw new Error('Not a valid date');\n};\n\n/**\n * Returns the hours of the given date\n */\nexport const hours = (date: Date | undefined): number => {\n if (date && isValidDate(date)) {\n return date.getHours();\n }\n throw new Error('Not a valid date');\n};\n\n/**\n * Returns the minutes of the given date\n */\nexport const minutes = (date: Date | undefined): number => {\n if (date && isValidDate(date)) {\n return date.getMinutes();\n }\n throw new Error('Not a valid date');\n};\n\n/**\n * Returns the seconds of the given date\n */\nexport const seconds = (date: Date | undefined): number => {\n if (date && isValidDate(date)) {\n return date.getSeconds();\n }\n throw new Error('Not a valid date');\n};\n\n/**\n * Returns the first day of the week of the given date.\n */\nexport const getFirstDayOfTheWeek = (date: Date) => {\n const weekdayDiff = [6, 0, 1, 2, 3, 4, 5];\n const day = new Date(date);\n day.setDate(day.getDate() - weekdayDiff[day.getDay()]);\n return day;\n};\n\n/**\n * Returns `true` when the year of the dates are the same\n */\nexport const isSameYear = (a: Date | undefined, b: Date | undefined) => a?.getFullYear() === b?.getFullYear();\n\n/**\n * Returns `true` when the month of the dates are the same\n */\nexport const isSameMonth = (a: Date | undefined, b: Date | undefined) =>\n isSameYear(a, b) && a?.getMonth() === b?.getMonth();\n\n/**\n * Returns `true` when the day of the dates are the same\n */\nexport const isSameDay = (a: Date | undefined, b: Date | undefined) =>\n isSameMonth(a, b) && a?.getDate() === b?.getDate();\n\n/**\n * Returns `true` when the week of the dates are the same\n */\nexport const isSameWeek = (a: Date, b: Date) => isSameDay(getFirstDayOfTheWeek(a), getFirstDayOfTheWeek(b));\n\nconst localDatetime = (date: Date) => new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()));\n\n/**\n * Returns the ISO string `yyyy-mm-dd` of the given date\n *\n * ```typescript\n * isoString(new Date(2020, 0, 13)) // '2020-01-13'\n * ```\n */\nexport const isoString = (date: Date | undefined): string => {\n if (isNil(date) || Date.toString() === 'Invalid Date') {\n return '';\n }\n\n return `${year(date)}-${pad(month(date) + 1)}-${pad(day(date))}`;\n};\n\n/**\n * Returns the ISO string `yyyy-mm-dd` of the given parameters year, month and day\n *\n * ```typescript\n * newDateString(2020, 0, 13) // '2020-01-13'\n * or\n * newDateString(new Date(2020, 0, 13)) // '2020-01-13'\n * ```\n */\nexport const newDateString = (yearOrDate: Date | number, month?: number, day?: number): string => {\n let date;\n if (isDate(yearOrDate)) {\n date = localDatetime(yearOrDate);\n } else {\n date = new Date(Date.UTC(yearOrDate, (month as number) - 1, day as number));\n }\n\n return isoString(date);\n};\n\n/**\n * Returns `true` if the given datestring is valid\n */\nexport const isValidDateString = (datestring: string | undefined, format: string) => {\n if (!isString(datestring) || !isString(format)) {\n return false;\n }\n\n if (datestring.length < 6 || format.length < 6) {\n return false;\n }\n\n const { day, month } = getDateParts(datestring, format);\n\n if (day > 31 || month > 11 || day <= 0 || month < 0) {\n return false;\n }\n\n const date = toDate(datestring, format);\n\n if (isNil(date)) {\n return false;\n }\n\n return date.toString() !== 'Invalid Date';\n};\n\n/**\n * Returns `true` when the given date is not smaller than the minDate and not bigger than the maxDate.\n *\n * ```typescript\n * isInRange(new Date(2020, 1, 1), new Date(2020, 0, 1), new Date(2020, 2, 1)) // true\n * ```\n */\nexport const isInRange = (date: Date | undefined, minDate: Date | undefined, maxDate: Date | undefined): boolean => {\n if (!date) {\n return true;\n }\n\n if (minDate && date < minDate) {\n return false;\n }\n\n if (maxDate && maxDate < date) {\n return false;\n }\n\n return true;\n};\n\nconst validateTwoDates = (\n first: any,\n second: Date | string | undefined,\n validateFn: (irst: Date, second: Date) => boolean\n) => {\n if (isNil(first) && isNil(second)) {\n return false;\n }\n\n const _first: Date = new Date(first as string | Date);\n const _second: Date = new Date(second as string | Date);\n\n if (!isValidDate(_first) || !isValidDate(_second)) {\n return false;\n }\n\n return validateFn(_first, _second);\n};\n\n/**\n * Returns `true` when the given date is not smaller than the before date.\n *\n * ```typescript\n * isBefore(new Date(2020, 1, 1), new Date(2020, 3, 1)) // true\n * ```\n */\nexport const isBefore = (date: any, beforeDate: Date | string | undefined): boolean =>\n validateTwoDates(date, beforeDate, (first, second) => first < second);\n\n/**\n * Returns `true` when the given date is not smaller than the before date.\n *\n * ```typescript\n * isAfter(new Date(2020, 5, 1), new Date(2020, 3, 1)) // true\n * ```\n */\nexport const isAfter = (date: any, afterDate: Date | string | undefined): boolean =>\n validateTwoDates(date, afterDate, (first, second) => first > second);\n\n/**\n * Increases the year of a date and retunrs the result\n *\n * ```typescript\n * increaseYear(new Date(2020, 0, 1), 1) // 2021\n * ```\n */\nexport const increaseYear = (date: Date, years: number): number => year(date) + years;\n\n/**\n * Decreases the year of a date and retunrs the result\n *\n * ```typescript\n * decreaseYear(new Date(2020, 0, 1), 1) // 2019\n * ```\n */\nexport const decreaseYear = (date: Date, years: number): number => year(date) - years;\n\nconst lookAhead = (iFormat: number, format: string, match: string, length = 2) => {\n const increment = length - 1;\n const followingCharacterMatches = format.charAt(iFormat + increment) === match;\n const hasProperLength = iFormat + increment < format.length;\n return hasProperLength && followingCharacterMatches;\n};\n\nconst formatNumber = (value, len) => {\n let num = String(value);\n\n while (num.length < len) {\n num = '0' + num;\n }\n\n return num;\n};\n\nexport const formatDate = (date: Date | undefined | null, format: string): string => {\n if (date == null) {\n return '';\n }\n\n let output = '';\n\n for (let iFormat = 0; iFormat < format.length; iFormat++) {\n switch (format.charAt(iFormat)) {\n case 'd':\n if (lookAhead(iFormat, format, 'd')) {\n output += formatNumber(date.getDate(), 2);\n iFormat++;\n } else {\n output += String(date.getDate());\n }\n break;\n case 'm':\n if (lookAhead(iFormat, format, 'm')) {\n output += formatNumber(date.getMonth() + 1, 2);\n iFormat++;\n } else {\n output += String(date.getMonth() + 1);\n }\n break;\n case 'y':\n if (lookAhead(iFormat, format, 'y', 4)) {\n iFormat += 3;\n output += date.getFullYear();\n } else {\n output += (date.getFullYear() % 100 < 10 ? '0' : '') + (date.getFullYear() % 100);\n iFormat++;\n }\n break;\n case 'h':\n if (lookAhead(iFormat, format, 'h')) {\n output += formatNumber(date.getHours(), 2);\n iFormat++;\n } else {\n output += String(date.getHours());\n }\n break;\n case 'M':\n if (lookAhead(iFormat, format, 'M')) {\n output += formatNumber(date.getMinutes(), 2);\n iFormat++;\n } else {\n output += String(date.getMinutes());\n }\n break;\n case 's':\n if (lookAhead(iFormat, format, 's')) {\n output += formatNumber(date.getSeconds(), 2);\n iFormat++;\n } else {\n output += String(date.getSeconds());\n }\n break;\n default:\n output += format.charAt(iFormat);\n }\n }\n return output;\n};\n\nconst daylightSavingAdjust = (date): Date => {\n if (!date) {\n return null;\n }\n\n date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0);\n\n return date;\n};\n\nconst getDaysCountInMonth = (month: number, year: number) =>\n 32 - daylightSavingAdjust(new Date(year, month, 32)).getDate();\n\nexport const parseDate = (value: any, format: string, locale: string): Date => {\n if (format == null || value == null) {\n throw 'Invalid arguments';\n }\n\n value = typeof value === 'object' ? value.toString() : value + '';\n if (value === '') {\n return null;\n }\n\n let iFormat;\n let dim;\n let extra;\n let iValue = 0;\n let shortYearCutoff = 100;\n let year = -1;\n let month = -1;\n let day = -1;\n let doy = -1;\n let literal = false;\n let date: Date;\n let lookAhead = (match: string, len = 2) => {\n const increment = len - 1;\n let matches = iFormat + increment < format.length && format.charAt(iFormat + increment) === match;\n if (matches) {\n iFormat += increment;\n }\n return matches;\n };\n let getNumber = (match, len = 2) => {\n let isDoubled = lookAhead(match, len),\n size = match === '@' ? 14 : match === '!' ? 20 : match === 'y' && isDoubled ? 4 : match === 'o' ? 3 : 2,\n minSize = match === 'y' ? size : 1,\n digits = new RegExp('^\\\\d{' + minSize + ',' + size + '}'),\n num = value.substring(iValue).match(digits);\n if (!num) {\n throw 'Missing number at position ' + iValue;\n }\n iValue += num[0].length;\n return parseInt(num[0], 10);\n };\n let getName = (match, shortNames, longNames) => {\n let index = -1;\n let arr = lookAhead(match) ? longNames : shortNames;\n let names = [];\n\n for (let i = 0; i < arr.length; i++) {\n names.push([i, arr[i]]);\n }\n names.sort((a, b) => {\n return -(a[1].length - b[1].length);\n });\n\n for (let i = 0; i < names.length; i++) {\n let name = names[i][1];\n if (value.substr(iValue, name.length).toLowerCase() === name.toLowerCase()) {\n index = names[i][0];\n iValue += name.length;\n break;\n }\n }\n\n if (index !== -1) {\n return index + 1;\n } else {\n throw 'Unknown name at position ' + iValue;\n }\n };\n let checkLiteral = () => {\n if (value.charAt(iValue) !== format.charAt(iFormat)) {\n throw 'Unexpected literal at position ' + iValue;\n }\n iValue++;\n };\n\n for (iFormat = 0; iFormat < format.length; iFormat++) {\n if (literal) {\n if (format.charAt(iFormat) === \"'\" && !lookAhead(\"'\")) {\n literal = false;\n } else {\n checkLiteral();\n }\n } else {\n switch (format.charAt(iFormat)) {\n case 'd':\n day = getNumber('d');\n break;\n case 'D':\n getName('D', i18nDate[locale].weekdaysShort, i18nDate[locale].weekdays);\n break;\n case 'm':\n month = getNumber('m');\n break;\n case 'M':\n month = getName('M', i18nDate[locale].monthsShort, i18nDate[locale].months);\n break;\n case 'y':\n year = getNumber('y', 4);\n break;\n default:\n checkLiteral();\n }\n }\n }\n\n if (iValue < value.length) {\n extra = value.substr(iValue);\n if (!/^\\s+/.test(extra)) {\n throw 'Extra/unparsed characters found in date: ' + extra;\n }\n }\n\n if (year === -1) {\n year = new Date().getFullYear();\n } else if (year < 100) {\n year += new Date().getFullYear() - (new Date().getFullYear() % 100) + (year <= shortYearCutoff ? 0 : -100);\n }\n\n if (doy > -1) {\n month = 1;\n day = doy;\n do {\n dim = getDaysCountInMonth(year, month - 1);\n if (day <= dim) {\n break;\n }\n month++;\n day -= dim;\n } while (true);\n }\n\n date = daylightSavingAdjust(new Date(year, month - 1, day));\n if (date.getFullYear() !== year || date.getMonth() + 1 !== month || date.getDate() !== day) {\n throw 'Invalid date'; // E.g. 31/02/00\n }\n\n return date;\n};\n\nconst FORMATTING_TOKENS = /(\\[[^\\[]*\\])|(mm|dd|yyyy|yy|hh|MM|ss|.)/g;\n\nconst TWO_NUMERICS_REGEX = /\\d\\d/; // 00 - 99\nconst FOUR_NUMERICS_REGEX = /\\d{4}/; // 0000 - 9999\nconst NON_NUMERIC_REGEX = /[^0-9]/g;\n\nconst YEAR = 'year';\nconst MONTH = 'month';\nconst DAY = 'day';\nconst HOUR = 'hour';\nconst MINUTE = 'minute';\nconst SECOND = 'second';\n\ninterface ParseFlagMark {\n year: number;\n month: number;\n day: number;\n hour: number;\n minute: number;\n second: number;\n date: Date;\n}\n\ntype ParseFlagCallBackReturn = any;\n\ntype ParseFlagRegExp = RegExp | ((locale: any) => RegExp);\ntype ParseFlagCallBack = (input: string) => ParseFlagCallBackReturn;\n\ninterface ParseFlag {\n [key: string]: [ParseFlagRegExp, ParseFlagCallBack];\n}\n\nconst parseFlags: ParseFlag = {};\n\nconst addParseFlag = (token: string | string[], regex: ParseFlagRegExp, callback) => {\n const tokens = Array.isArray(token) ? token : [token];\n let func: ParseFlagCallBack;\n if (typeof callback === 'string') {\n func = (input) => {\n const value = parseInt(input, 10);\n return { [callback]: value };\n };\n } else {\n func = callback;\n }\n tokens.forEach((key) => {\n parseFlags[key] = [regex, func];\n });\n};\n\naddParseFlag('yy', TWO_NUMERICS_REGEX, (input) => {\n const year = new Date().getFullYear();\n const cent = Math.floor(year / 100);\n let value = parseInt(input, 10);\n value = (value > 68 ? cent - 1 : cent) * 100 + value;\n return { [YEAR]: value };\n});\naddParseFlag('yyyy', FOUR_NUMERICS_REGEX, YEAR);\naddParseFlag('mm', TWO_NUMERICS_REGEX, (input) => ({ [MONTH]: parseInt(input, 10) - 1 }));\naddParseFlag('dd', TWO_NUMERICS_REGEX, DAY);\naddParseFlag('hh', TWO_NUMERICS_REGEX, HOUR);\naddParseFlag('MM', TWO_NUMERICS_REGEX, MINUTE);\naddParseFlag('ss', TWO_NUMERICS_REGEX, SECOND);\n\ntype DateArgs = [number, number, number, number, number, number];\n\nconst getFullInputArray = (input: Array<number | undefined>, backupDate = new Date()) => {\n const result: DateArgs = [0, 0, 1, 0, 0, 0];\n const backupArr = [\n backupDate.getFullYear(),\n backupDate.getMonth(),\n backupDate.getDate(),\n backupDate.getHours(),\n backupDate.getMinutes(),\n backupDate.getSeconds(),\n ];\n\n let useBackup = true;\n for (let i = 0; i < 7; i++) {\n if (input[i] === undefined) {\n result[i] = useBackup ? backupArr[i] : result[i];\n } else {\n result[i] = input[i]!;\n useBackup = false;\n }\n }\n return result;\n};\n\nconst createDate = (year: number, month: number, day: number, hour: number, minute: number, second: number): Date => {\n if (!(year < 100 && year >= 0)) {\n return new Date(year, month, day, hour, minute, second);\n }\n\n const date = new Date(year + 400, month, day, hour, minute, second);\n if (isFinite(date.getFullYear())) {\n date.setFullYear(year);\n }\n return date;\n};\n\nconst makeParser = (dateString: string, format: string) => {\n const tokens = format.match(FORMATTING_TOKENS);\n if (!tokens) {\n throw new Error();\n }\n const { length } = tokens;\n let mark: Partial<ParseFlagMark> = {};\n for (let i = 0; i < length; i += 1) {\n const token = tokens[i];\n const parseTo = parseFlags[token];\n if (!parseTo) {\n const word = token.replace(/^\\[|\\]$/g, '');\n if (dateString.indexOf(word) === 0) {\n dateString = dateString.substr(word.length);\n } else {\n throw new Error('not match');\n }\n } else {\n const regex = parseTo[0] as RegExp;\n const parser = parseTo[1];\n const value = (regex.exec(dateString) || [])[0];\n const obj = parser(value);\n mark = { ...mark, ...obj };\n dateString = dateString.replace(value, '');\n }\n }\n return mark;\n};\n\nconst getCleanDateString = (dirtyDateString: string, format: string) => {\n if (dirtyDateString.length === format.length) {\n return dirtyDateString;\n }\n\n const separator = dirtyDateString.match(NON_NUMERIC_REGEX)[0];\n\n // pad signle digits to follow supported dateformats\n return dirtyDateString\n .split(separator)\n .map((s) => (s.length === 1 ? '0' + s : s))\n .join(separator);\n};\n\nconst getDateParts: (dirtyDateString: string, format: string) => Partial<ParseFlagMark> = (\n dirtyDateString: string,\n format: string\n) => {\n const dateString = getCleanDateString(dirtyDateString, format);\n\n return makeParser(dateString, format);\n};\n\nexport const toDate = (dirtyDateString: string | undefined, format: string): Date | undefined => {\n try {\n const { backupDate = new Date() } = {};\n const { year, month, day, hour, minute, second, date } = getDateParts(dirtyDateString, format);\n if (date != null) {\n return date;\n }\n const inputArray = [year, month, day, hour, minute, second];\n const result = getFullInputArray(inputArray, backupDate);\n return createDate(...result);\n } catch (e) {\n return new Date(NaN);\n }\n};\n\nexport interface PointerDate {\n year: number;\n month: number;\n day: number;\n hours: number;\n minutes: number;\n seconds: number;\n}\n\nexport interface CalendarGridArgs {\n firstDateOfBox: Date;\n minDate?: Date;\n maxDate?: Date;\n dateFormat: SixDateFormats;\n pointerDate: { month: number; year: number; day: number };\n allowedDates: (date: Date) => boolean;\n locale: 'en' | 'de' | 'fr' | 'it' | 'es';\n selectedDate?: Date;\n}\n\nexport const createCalendarGrid: (calendarGridArguments: CalendarGridArgs) => CalendarCell[][] = (\n calendarGridArguments: CalendarGridArgs\n) => {\n const { firstDateOfBox, allowedDates, dateFormat, selectedDate, minDate, maxDate, pointerDate } =\n calendarGridArguments;\n\n const weekDatePointer = new Date(firstDateOfBox);\n const dayDatePointer = new Date(firstDateOfBox);\n\n let calendar: CalendarCell[][] = [];\n\n do {\n let row: CalendarCell[] = [];\n do {\n row = [\n ...row,\n {\n date: new Date(dayDatePointer),\n display: formatDate(dayDatePointer, dateFormat),\n dateString: formatDate(dayDatePointer, dateFormat),\n label: day(dayDatePointer).toString(),\n isToday: isSameDay(dayDatePointer, now()),\n isSelected: selectedDate && isSameDay(dayDatePointer, selectedDate),\n isDisabled: !allowedDates(dayDatePointer) || !isInRange(dayDatePointer, minDate, maxDate),\n isOutdated: pointerDate.month !== dayDatePointer.getMonth() || !isInRange(dayDatePointer, minDate, maxDate),\n },\n ];\n dayDatePointer.setDate(dayDatePointer.getDate() + 1);\n } while (isSameWeek(dayDatePointer, weekDatePointer));\n calendar = [...calendar, row];\n weekDatePointer.setDate(weekDatePointer.getDate() + 7);\n } while (isSameMonth(new Date(pointerDate.year, pointerDate.month, pointerDate.day), dayDatePointer));\n return calendar;\n};\n\n/**\n * Returns a range of numbers around the given number grouped into buckets of 5.\n * @param number the given number around which you want to get the other numbers\n * @param range range of numbers to include in the result\n */\nexport function rangeAround(number: number, range: number): number[][] {\n const itemsPerGroup = 5;\n return [...Array(range).keys()]\n .map((n) => n + number - Math.floor(range / 2))\n .reduce((curr, item, index) => {\n if (index % itemsPerGroup === 0) {\n curr.push([]);\n }\n curr[curr.length - 1].push(item);\n return curr;\n }, [] as number[][]);\n}\n","// eslint-disable-next-line @stencil-community/ban-exported-const-enums\nexport enum SixDateFormats {\n DDMMYYY_DOT = 'dd.mm.yyyy',\n YYYYMMDD_DASH = 'yyyy-mm-dd',\n DDMMYYYY_DASH = 'dd-mm-yyyy',\n DDMMYYYY_SLASH = 'dd/mm/yyyy',\n YYYYMMDD_SLASH = 'yyyy/mm/dd',\n DDMMYY_DOT = 'dd.mm.yy',\n YYMMDD_DASH = 'yy-mm-dd',\n DDMMYY_DASH = 'dd-mm-yy',\n DDMMYY_SLASH = 'dd/mm/yy',\n YYMMDD_SLASH = 'yy/mm/dd',\n\n DDMMYYY_DOT_TIME = 'dd.mm.yyyy hh:MM:ss',\n YYYYMMDD_DASH_TIME = 'yyyy-mm-dd hh:MM:ss',\n DDMMYYYY_DASH_TIME = 'dd-mm-yyyy hh:MM:ss',\n DDMMYYYY_SLASH_TIME = 'dd/mm/yyyy hh:MM:ss',\n YYYYMMDD_SLASH_TIME = 'yyyy/mm/dd hh:MM:ss',\n DDMMYY_DOT_TIME = 'dd.mm.yy hh:MM:ss',\n YYMMDD_DASH_TIME = 'yy-mm-dd hh:MM:ss',\n DDMMYY_DASH_TIME = 'dd-mm-yy hh:MM:ss',\n DDMMYY_SLASH_TIME = 'dd/mm/yy hh:MM:ss',\n YYMMDD_SLASH_TIME = 'yy/mm/dd hh:MM:ss',\n}\n","import { h } from '@stencil/core';\nimport { DateLocale, now } from '../../../utils/date-util';\n\ninterface MonthSelectionParams {\n locale: DateLocale;\n selectedDate?: Date;\n onClickMonthCell: (month: string) => void;\n}\nexport const MonthSelection = (monthSelectionParams: MonthSelectionParams) => {\n const locale = monthSelectionParams.locale;\n const isToday = (value: string) => locale.monthsShort[now().getMonth()] === value;\n\n const isSelectedMonth = (value: string) =>\n monthSelectionParams.selectedDate?.getMonth() === locale.monthsShort.findIndex((m) => m === value);\n\n return (\n <table class=\"datepicker-table\" part=\"month-selection\">\n <tbody>\n {locale.monthsShortGrouped.map((row: string[]) => (\n <tr class=\"datepicker-table__row\">\n {row.map((month) => (\n <td\n onClick={() => monthSelectionParams.onClickMonthCell(month)}\n class={{\n 'datepicker-table__cell': true,\n 'datepicker-table__cell--is-today': isToday(month),\n 'datepicker-table__cell--is-selected': isSelectedMonth(month),\n }}\n >\n {month}\n </td>\n ))}\n </tr>\n ))}\n </tbody>\n </table>\n );\n};\n","import { h } from '@stencil/core';\nimport { DateLocale } from '../../../utils/date-util';\nimport { CalendarCell } from '../six-datepicker';\n\ninterface DaySelectionParams {\n locale: DateLocale;\n calendarGrid: CalendarCell[][];\n onClickDateCell: (cell: CalendarCell) => void;\n}\nexport const DaySelection = (daySelectionParams: DaySelectionParams) => {\n return (\n <table class=\"datepicker-table\" part=\"day-selection\">\n <thead part=\"weekday-header\">\n {daySelectionParams.locale.weekdaysMin.map((weekday) => (\n <th class=\"datepicker__cell\">{weekday}</th>\n ))}\n </thead>\n <tbody>\n {daySelectionParams.calendarGrid.map((row) => (\n <tr class=\"datepicker-table__row\">\n {row.map((cell) => (\n <td\n data-date={cell.dateString}\n onClick={() => daySelectionParams.onClickDateCell(cell)}\n class={{\n 'datepicker-table__cell': true,\n 'datepicker-table__cell--is-today': cell.isToday,\n 'datepicker-table__cell--is-selected': cell.isSelected,\n 'datepicker-table__cell--is-outdated': cell.isOutdated,\n 'datepicker-table__cell--is-disabled': cell.isDisabled,\n 'datepicker-table__cell--is-selectable': !cell.isDisabled,\n }}\n >\n {cell.label}\n </td>\n ))}\n </tr>\n ))}\n </tbody>\n </table>\n );\n};\n","import { now } from '../../../utils/date-util';\nimport { h } from '@stencil/core';\n\ninterface YearSelectionParams {\n selectedDate?: Date;\n yearSelection: number[][];\n onClickYearCell: (year: number) => void;\n}\nexport const YearSelection = (yearSelectionParams: YearSelectionParams) => {\n return (\n <table class=\"datepicker-table\" part=\"year-selection\">\n <tbody>\n {yearSelectionParams.yearSelection.map((row) => (\n <tr class=\"datepicker-table__row\">\n {row.map((year) => (\n <td\n onClick={() => yearSelectionParams.onClickYearCell(year)}\n class={{\n 'datepicker-table__cell': true,\n 'datepicker-table__cell--is-today': now().getFullYear() === year,\n 'datepicker-table__cell--is-selected': yearSelectionParams.selectedDate?.getFullYear() === year,\n }}\n >\n {year}\n </td>\n ))}\n </tr>\n ))}\n </tbody>\n </table>\n );\n};\n","@import 'src/global/component';\n\n:host {\n display: block;\n font-family: var(--six-font-family);\n}\n\n.datepicker {\n &__container {\n position: relative;\n }\n\n &__popup {\n min-width: 400px;\n background-color: white;\n padding: 0.5em 0.5em 1.5em;\n box-shadow:\n 0 2px 4px -1px rgb(0 0 0 / 20%),\n 0 4px 5px 0 rgb(0 0 0 / 14%),\n 0 1px 10px 0 rgb(0 0 0 / 12%);\n user-select: none;\n position: absolute;\n z-index: var(--six-z-index-dropdown);\n right: 0;\n left: 0;\n\n &--is-up {\n bottom: 100%;\n // fix problem where you would need to jump around with the cursor when switching months and\n // its a dropup since not all months have the same height\n min-height: 382px;\n }\n\n &--is-inline {\n position: initial;\n box-shadow: none;\n border: 1px solid var(--six-color-web-rock-400);\n }\n }\n}\n\n.datepicker-header {\n display: flex;\n justify-content: space-between;\n border-bottom: 1px solid var(--six-color-web-rock-400);\n padding: 0.5em;\n margin-bottom: 1em;\n\n & svg {\n fill: var(--six-color-web-rock-900);\n stroke: none;\n }\n\n &__btn {\n cursor: pointer;\n width: 2.5em;\n height: 2.5em;\n display: flex;\n vertical-align: middle;\n align-items: center;\n justify-content: center;\n\n &:hover {\n background-color: var(--six-color-web-rock-100);\n border-radius: 100%;\n }\n }\n\n &__label {\n display: flex;\n\n & > div {\n cursor: pointer;\n padding: 0.5em;\n display: flex;\n vertical-align: middle;\n align-items: center;\n justify-content: center;\n\n &:hover {\n background-color: var(--six-color-web-rock-100);\n }\n }\n }\n}\n\n.datepicker-table {\n width: 100%;\n\n &__cell {\n text-align: center;\n width: 2.5rem;\n height: 2.5rem;\n cursor: pointer;\n\n &:hover {\n background-color: var(--six-color-web-rock-100);\n }\n\n &--is-today {\n border: 1px solid var(--six-color-web-rock-400);\n }\n\n &--is-selected {\n background-color: var(--six-color-red);\n color: var(--six-color-white);\n }\n\n &--is-disabled {\n background-color: var(--six-color-web-rock-200);\n cursor: initial;\n\n &:hover {\n background-color: var(--six-color-web-rock-200);\n }\n }\n\n &--is-outdated {\n color: var(--six-color-web-rock-400);\n }\n }\n}\n\n// Clearable\n.datepicker-clear {\n display: inline-flex;\n align-items: center;\n font-size: inherit;\n color: var(--six-input-icon-color);\n border: none;\n background: none;\n padding: 0;\n transition: var(--six-transition-fast) color;\n cursor: pointer;\n\n &:hover {\n color: var(--six-input-icon-color-hover);\n }\n\n &:focus {\n outline: none;\n }\n\n &--right {\n right: 0;\n position: absolute;\n }\n\n &--left {\n right: 35px;\n position: absolute;\n }\n}\n\n.input--empty .datepicker-clear {\n visibility: hidden;\n}\n\n// Icon position\n.prefix {\n cursor: pointer;\n\n &--right {\n right: 0;\n display: inline-flex;\n position: absolute;\n font-size: inherit;\n color: var(--six-input-icon-color);\n border: none;\n background: none;\n margin-right: var(--six-input-spacing-medium);\n transition: var(--six-transition-fast) color;\n }\n}\n\n// time-picker\nsix-timepicker::part(popup) {\n border: none;\n padding: 0.5em 0.5em 0;\n min-height: 0;\n}\n","import { Component, Element, Event, EventEmitter, h, Listen, Method, Prop, State, Watch } from '@stencil/core';\nimport {\n createCalendarGrid,\n day,\n formatDate,\n getFirstDayOfTheWeek,\n hours,\n i18nDate,\n isValidDate,\n isValidDateString,\n minutes,\n month,\n now,\n PointerDate,\n rangeAround,\n removeTime,\n seconds,\n toDate,\n year,\n} from '../../utils/date-util';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { debounce, debounceEvent, DEFAULT_DEBOUNCE_FAST } from '../../utils/execution-control';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { SixDateFormats } from './six-date-formats';\nimport { MonthSelection } from './components/month-selection';\nimport { DaySelection } from './components/day-selection';\nimport { YearSelection } from './components/year-selection';\nimport { SixTimepickerChange } from '../six-timepicker/six-timepicker';\nimport {\n adjustPopupForHoisting,\n adjustPopupForSmallScreens,\n calcIsDropDownContentUp,\n movePopup,\n} from '../../utils/popup';\n\nconst NUMBER_OF_YEARS_SHOWN = 25;\n\nconst MIN_POPUP_HEIGHT = 400;\n\nexport type SixDatepickerSelectPayload = Date | undefined | null;\n\nexport interface CalendarCell {\n date: Date;\n dateString: string;\n display: string;\n isDisabled: boolean;\n isOutdated: boolean;\n isSelected: boolean;\n isToday: boolean;\n label: string;\n}\n\nenum SelectionMode {\n DAY = 'day',\n MONTH = 'month',\n YEAR = 'year',\n}\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define a footer for the date picker.\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n */\n@Component({\n tag: 'six-datepicker',\n styleUrl: 'six-datepicker.scss',\n shadow: true,\n})\nexport class SixDatepicker {\n private eventListeners = new EventListeners();\n private inputElement?: HTMLSixInputElement;\n private popup?: HTMLElement;\n private wrapper?: HTMLElement;\n private selectedDate?: Date;\n\n @Element() host!: HTMLSixDatepickerElement;\n\n @State() private pointerDate = SixDatepicker.getCurrentDateAsPointer();\n @State() selectionMode: SelectionMode = SelectionMode.DAY;\n @State() isDropDownContentUp = false;\n\n /**\n * Set the type.\n */\n @Prop() type: 'date' | 'date-time' = 'date';\n\n /**\n * The language used to render the weekdays and months.\n */\n @Prop() locale: 'en' | 'de' | 'fr' | 'it' | 'es' = 'en';\n\n /** Indicates whether or not the calendar dropdown is open on startup. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Indicates whether or not the calendar should be shown as an inline (always open) component */\n @Prop({ reflect: true }) inline = false;\n\n /**\n * If `true` the user can only select a date via the component in the popup, but not directly edit the input field.\n */\n @Prop() readonly = false;\n\n /**\n * If `true` the component is disabled.\n */\n @Prop() disabled = false;\n\n /**\n * Callback to determine which date in the datepicker should be selectable.\n * the callback function will get a datestring as an argument, e.g. '2021-07-04'\n *\n * Usage e.g.:\n * const datepicker = document.getElementById('allowed-date-picker');\n * datepicker.allowedDates = datestring => parseInt(datestring.split('-')[2], 10) % 2 === 0;\n */\n @Prop() allowedDates: (date: Date) => boolean = () => true;\n\n /**\n * The minimum datetime allowed. Value must be a date object\n */\n @Prop() min?: Date;\n\n /**\n * The maximum datetime allowed. Value must be a date object\n */\n @Prop() max?: Date;\n\n /**\n * Closes the datepicker dropdown after selection\n */\n @Prop() closeOnSelect = this.type === 'date';\n\n /**\n * The enforced placement of the dropdown panel.\n */\n @Prop() placement?: 'top' | 'bottom';\n\n /** Datepicker size. */\n @Prop() size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /**\n * The date to defines where the datepicker popup starts. The prop accepts ISO 8601 date strings (YYYY-MM-DD).\n */\n @Prop() defaultDate?: string;\n\n /**\n * The placeholder defines what text to be shown on the input element\n */\n @Prop() placeholder?: string;\n\n /**\n * The value of the form field, which accepts a date object.\n */\n @Prop({ mutable: true }) value?: Date;\n\n /** The label text. */\n @Prop() label = '';\n\n /** The error message shown, if `invalid` is set to true. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n /** The dropdown will close when the user interacts outside of this element (e.g. clicking). */\n @Prop() containingElement?: HTMLElement;\n\n /** Define the dateFormat. Valid formats are:\n * 'dd.mm.yyyy'\n * 'yyyy-mm-dd'\n * 'dd-mm-yyyy'\n * 'dd/mm/yyyy'\n * 'yyyy/mm/dd'\n * 'dd.mm.yy'\n * 'yy-mm-dd'\n * 'dd-mm-yy'\n * 'dd/mm/yy'\n * 'yy/mm/dd'\n * */\n @Prop() dateFormat: SixDateFormats = SixDateFormats.DDMMYYY_DOT;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger the `dateChange` event after each keystroke.\n */\n @Prop() debounce = DEFAULT_DEBOUNCE_FAST;\n\n /** The input's name attribute. */\n @Prop({ reflect: true }) name = '';\n\n /** Set to true to add a clear button when the input is populated. */\n @Prop() clearable = false;\n\n /** Set the position of the icon */\n @Prop() iconPosition: 'left' | 'right' = 'left';\n\n /**\n * Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n * `overflow: auto|scroll`.\n */\n @Prop() hoist = false;\n\n @Watch('debounce')\n protected debounceChanged() {\n this.sixSelect = debounceEvent(this.sixSelect, this.debounce);\n }\n\n /**\n * Update the native input element when the value changes\n */\n @Watch('value')\n protected valueChanged() {\n if (this.value != null && !isValidDate(this.value)) {\n console.warn('invalid date value: ', this.value);\n this.value = undefined;\n this.sixSelect.emit(this.value);\n }\n this.selectedDate = this.value;\n this.updatePointerDates();\n }\n\n /**\n * Emitted when a option got selected.\n */\n @Event({ eventName: 'six-datepicker-select' }) sixSelect!: EventEmitter<SixDatepickerSelectPayload>;\n\n /**\n * Emitted when the clear button is activated.\n */\n @Event({ eventName: 'six-datepicker-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when a option got selected.\n */\n @Event({ eventName: 'six-datepicker-blur' }) sixBlur!: EventEmitter<SixDatepickerSelectPayload>;\n\n @Listen('resize', { target: 'window' })\n async resizeHandler() {\n this.updateDropdownDirection();\n this.moveOpenHoistedPopup();\n this.adjustPopupPosition();\n }\n\n @Listen('scroll', { target: 'window' })\n async scrollHandler() {\n this.updateDropdownDirection();\n this.moveOpenHoistedPopup();\n }\n\n private moveOpenHoistedPopup() {\n movePopup(this.hoist, this.open, this.popup, this.inputElement, this.wrapper, MIN_POPUP_HEIGHT);\n }\n\n get container() {\n return this.containingElement || this.host;\n }\n\n get firstDateOfBox(): Date {\n const date = new Date(this.pointerDate.year, this.pointerDate.month, 1);\n return getFirstDayOfTheWeek(date);\n }\n\n /** Sets focus on the datepickers input. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.inputElement?.setFocus(options);\n }\n\n get calendarGrid() {\n return createCalendarGrid({\n firstDateOfBox: this.firstDateOfBox,\n allowedDates: this.allowedDates,\n dateFormat: this.dateFormat,\n locale: this.locale,\n selectedDate: this.selectedDate,\n minDate: this.min,\n maxDate: this.max,\n pointerDate: this.pointerDate,\n });\n }\n\n private updateDropdownDirection() {\n if (this.inputElement == null || this.wrapper == null) {\n return;\n }\n this.isDropDownContentUp = calcIsDropDownContentUp(this.inputElement, this.wrapper, MIN_POPUP_HEIGHT);\n }\n\n private getMonthStringForIndex(index: number) {\n return i18nDate[this.locale].months[index];\n }\n\n private previousUnit = () => {\n if (this.selectionMode === SelectionMode.DAY) {\n this.previousMonth();\n } else if (this.selectionMode === SelectionMode.MONTH) {\n this.previousYear();\n } else if (this.selectionMode === SelectionMode.YEAR) {\n this.previousYearGroup();\n }\n };\n\n private previousYear() {\n this.pointerDate = { ...this.pointerDate, year: this.pointerDate.year - 1 };\n }\n\n private previousYearGroup() {\n this.pointerDate = { ...this.pointerDate, year: this.pointerDate.year - NUMBER_OF_YEARS_SHOWN };\n }\n\n private previousMonth() {\n if (this.pointerDate.month === 0) {\n this.pointerDate = { year: this.pointerDate.year - 1, month: 11, day: 1, hours: 0, minutes: 0, seconds: 0 };\n } else {\n this.pointerDate = {\n year: this.pointerDate.year,\n month: this.pointerDate.month - 1,\n day: 1,\n hours: 0,\n minutes: 0,\n seconds: 0,\n };\n }\n }\n\n private nextUnit = () => {\n if (this.selectionMode === SelectionMode.DAY) {\n this.nextMonth();\n } else if (this.selectionMode === SelectionMode.MONTH) {\n this.nextYear();\n } else if (this.selectionMode === SelectionMode.YEAR) {\n this.nextYearGroup();\n }\n };\n\n private nextMonth() {\n if (this.pointerDate.month === 11) {\n this.pointerDate = { year: this.pointerDate.year + 1, month: 0, day: 1, hours: 0, minutes: 0, seconds: 0 };\n } else {\n this.pointerDate = {\n year: this.pointerDate.year,\n month: this.pointerDate.month + 1,\n day: 1,\n hours: 0,\n minutes: 0,\n seconds: 0,\n };\n }\n }\n\n private nextYear() {\n this.pointerDate = { ...this.pointerDate, year: this.pointerDate.year + 1 };\n }\n\n private nextYearGroup() {\n this.pointerDate = { ...this.pointerDate, year: this.pointerDate.year + NUMBER_OF_YEARS_SHOWN };\n }\n\n private openCalendar() {\n if (!this.open && !this.disabled) {\n this.open = true;\n this.setupEventListenersForOpenPopup();\n }\n }\n\n private setupEventListenersForOpenPopup() {\n this.eventListeners.add(document, 'keydown', this.handleDocumentKeyDown);\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n }\n\n private handleDocumentKeyDown = (event: Event) => {\n const keyboardEvent = event as KeyboardEvent;\n // Close when escape is pressed\n if (this.open && keyboardEvent.key === 'Escape') {\n keyboardEvent.stopPropagation();\n this.closePopup();\n void this.inputElement?.setFocus();\n }\n\n // Handle tabbing\n if (keyboardEvent.key === 'Tab') {\n this.closePopup();\n }\n };\n\n private handleDocumentMouseDown = (event: Event) => {\n // Close when clicking outside the containing element\n const path = event.composedPath() as EventTarget[];\n if (!path.includes(this.container)) {\n this.closePopup();\n return;\n }\n };\n\n private handleClearClick = async (event: MouseEvent) => {\n event.stopPropagation();\n await this.select(undefined);\n this.sixClear.emit();\n };\n\n private closePopup() {\n if (this.inline) {\n return;\n }\n\n this.open = false;\n this.eventListeners.remove(document, 'keydown', this.handleDocumentKeyDown);\n this.eventListeners.remove(document, 'mousedown', this.handleDocumentMouseDown);\n this.selectionMode = SelectionMode.DAY;\n }\n\n private updatePointerDates() {\n const date = this.getPointerDate();\n if (this.differsFromPointerDate(date)) {\n this.pointerDate = {\n year: year(date),\n month: month(date),\n day: day(date),\n hours: hours(date),\n minutes: minutes(date),\n seconds: seconds(date),\n };\n }\n }\n\n private differsFromPointerDate(date?: Date): boolean {\n return (\n this.pointerDate.day !== day(date) ||\n this.pointerDate.month !== month(date) ||\n this.pointerDate.year !== year(date) ||\n this.pointerDate.hours !== hours(date) ||\n this.pointerDate.minutes !== minutes(date) ||\n this.pointerDate.seconds !== seconds(date)\n );\n }\n\n private getPointerDate(): Date | undefined {\n if (this.selectedDate !== undefined && this.selectedDate !== null) {\n return this.selectedDate;\n }\n if (this.defaultDate == null) {\n return this.type === 'date' ? removeTime(now()) : now();\n } else {\n return toDate(this.defaultDate, this.dateFormat);\n }\n }\n\n private updateValue(newDate?: Date) {\n this.updateIfChanged(newDate);\n }\n\n private updateIfChanged(newDate?: Date) {\n if (this.value?.getTime() === newDate?.getTime()) {\n return;\n }\n this.value = newDate;\n this.sixSelect.emit(this.value);\n }\n\n /**\n * Selects an option\n */\n @Method()\n async select(datestring?: string) {\n if (datestring == null) {\n this.updateValue(undefined);\n } else {\n const newDate = toDate(datestring, this.dateFormat);\n newDate?.setHours(this.pointerDate.hours, this.pointerDate.minutes, this.pointerDate.seconds);\n this.updateValue(newDate);\n }\n\n this.updatePointerDates();\n\n if (this.closeOnSelect) {\n this.closePopup();\n }\n }\n\n private onTimepickerChange = (sixTimepickerChange: CustomEvent<SixTimepickerChange>) => {\n const time = sixTimepickerChange.detail.value;\n const newDate = new Date();\n\n if (this.selectedDate != null) {\n newDate.setFullYear(this.selectedDate.getFullYear(), this.selectedDate.getMonth(), this.selectedDate.getDate());\n }\n\n if (time != null) {\n const hours = time.hours;\n const minutes = time.minutes;\n const seconds = time.seconds;\n if (hours != null) {\n newDate.setHours(hours, minutes, seconds);\n }\n }\n\n this.updateValue(newDate);\n this.updatePointerDates();\n };\n\n private onClickDateCell = (cell: CalendarCell) => {\n if (!cell.isDisabled) {\n void this.select(cell.dateString);\n }\n };\n\n private onClickMonthCell = (selectedMonth: string) => {\n const month = i18nDate[this.locale].monthsShort.findIndex((monthShort) => monthShort === selectedMonth);\n this.pointerDate = { ...this.pointerDate, month };\n this.selectionMode = SelectionMode.DAY;\n };\n\n private onClickYearCell = (year: number) => {\n this.pointerDate = { ...this.pointerDate, year };\n this.selectionMode = SelectionMode.DAY;\n };\n\n private handleInputChange = (event: Event) => {\n if (this.inputElement == null) {\n return;\n }\n event.stopPropagation();\n\n const inputValue = this.inputElement.value;\n if (!isValidDateString(inputValue, this.dateFormat)) {\n return;\n }\n\n const inputValueDate = toDate(inputValue, this.dateFormat);\n\n if (inputValueDate === undefined) {\n return;\n }\n\n this.updateIfChanged(inputValueDate);\n const datesOnly = inputValue.replace(/[^\\d]/g, '');\n if (datesOnly.length >= 6) {\n const date = toDate(inputValue, this.dateFormat);\n const dateAsString = formatDate(date, this.dateFormat);\n if (isValidDateString(dateAsString, this.dateFormat)) {\n this.selectedDate = toDate(dateAsString, this.dateFormat);\n this.updatePointerDates();\n this.updateValue(this.selectedDate);\n }\n }\n };\n\n private handleOnBlur = (event: Event) => {\n event.stopPropagation();\n\n // clear the value if the user deleted the date\n if (this.inputElement?.value === '' && isValidDate(this.value)) {\n this.value = undefined;\n this.sixSelect.emit(this.value);\n }\n\n const currentDate = toDate(this.inputElement?.value, this.dateFormat);\n if (isValidDate(currentDate) && this.value?.getTime() !== currentDate?.getTime()) {\n // Set the value if the input field's value has changed. This can happen if the blur occurs\n // before the change event had a chance to fire due to its debouncing.\n this.value = currentDate;\n }\n if (this.inputElement != null) {\n this.inputElement.value = formatDate(this.value, this.dateFormat);\n }\n this.sixBlur.emit(this.value);\n };\n\n componentWillLoad() {\n this.selectedDate = this.value;\n this.updatePointerDates();\n this.updateValue(this.value);\n\n if (this.inline) {\n this.open = true;\n }\n\n if (this.open) {\n this.setupEventListenersForOpenPopup();\n }\n }\n\n componentDidLoad() {\n if (this.inputElement != null) {\n this.eventListeners.add(this.inputElement, 'six-input-input', debounce(this.handleInputChange, this.debounce));\n this.eventListeners.add(this.inputElement, 'six-input-blur', this.handleOnBlur);\n }\n }\n\n componentDidRender() {\n this.adjustPopupPosition();\n }\n\n private renderHeader() {\n return (\n <header class=\"datepicker-header\" part=\"header\">\n <div class=\"datepicker-header__btn prev\" onClick={this.previousUnit}>\n <svg viewBox=\"0 5 13 13\" width=\"14\" height=\"23\">\n <path d=\"M11.67 3.87L9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z\" />\n </svg>\n </div>\n\n <div class=\"datepicker-header__label\">\n {this.selectionMode === SelectionMode.DAY && (\n <div onClick={() => (this.selectionMode = SelectionMode.MONTH)}>\n <span class=\"datepicker-header__label-month\">{this.getMonthStringForIndex(this.pointerDate.month)}</span>\n <span>\n <svg viewBox=\"-3 -4 24 24\" width=\"20\" height=\"20\">\n <polyline points=\"6 9 12 15 18 9\" />\n </svg>\n </span>\n </div>\n )}\n\n {this.selectionMode !== SelectionMode.YEAR && (\n <div onClick={() => (this.selectionMode = SelectionMode.YEAR)}>\n <span class=\"datepicker-header__label-year\">{this.pointerDate.year}</span>\n <span>\n <svg viewBox=\"-3 -4 24 24\" width=\"20\" height=\"20\">\n <polyline points=\"6 9 12 15 18 9\" />\n </svg>\n </span>\n </div>\n )}\n\n {this.selectionMode === SelectionMode.YEAR && (\n <div>\n {this.pointerDate.year - Math.floor(NUMBER_OF_YEARS_SHOWN / 2)} –{' '}\n {this.pointerDate.year + Math.floor(NUMBER_OF_YEARS_SHOWN / 2)}\n </div>\n )}\n </div>\n\n <div class=\"datepicker-header__btn next\" onClick={this.nextUnit}>\n <svg viewBox=\"5 5 13 13\" width=\"14\" height=\"23\">\n <path d=\"M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z\" />\n </svg>\n </div>\n </header>\n );\n }\n\n private renderBody() {\n switch (this.selectionMode) {\n case SelectionMode.DAY:\n return (\n <DaySelection\n locale={i18nDate[this.locale]}\n calendarGrid={this.calendarGrid}\n onClickDateCell={this.onClickDateCell}\n />\n );\n case SelectionMode.MONTH:\n return (\n <MonthSelection\n locale={i18nDate[this.locale]}\n selectedDate={this.selectedDate}\n onClickMonthCell={this.onClickMonthCell}\n />\n );\n case SelectionMode.YEAR:\n return (\n <YearSelection\n selectedDate={this.selectedDate}\n yearSelection={rangeAround(this.pointerDate.year, NUMBER_OF_YEARS_SHOWN)}\n onClickYearCell={this.onClickYearCell}\n />\n );\n }\n }\n\n private renderCustomIcon() {\n const icon = hasSlot(this.host, 'custom-icon') ? (\n <slot name=\"custom-icon\"></slot>\n ) : (\n <six-icon size={this.size === 'large' ? 'medium' : this.size}>today</six-icon>\n );\n\n return (\n <span\n slot=\"prefix\"\n part=\"icon\"\n class={{\n prefix: true,\n 'prefix--right': this.iconPosition === 'right',\n }}\n >\n {icon}\n </span>\n );\n }\n\n private renderClearable() {\n return (\n this.clearable && (\n <button\n slot=\"suffix\"\n class={{\n 'datepicker-clear': true,\n 'datepicker-clear--right': this.iconPosition === 'left',\n 'datepicker-clear--left': this.iconPosition === 'right',\n }}\n type=\"button\"\n onClick={this.handleClearClick}\n tabindex=\"-1\"\n >\n <six-icon size=\"small\">clear</six-icon>\n </button>\n )\n );\n }\n\n render() {\n this.adjustPopupPosition();\n\n return (\n <div ref={(el) => (this.wrapper = el)} class=\"datepicker__container\">\n <six-input\n part=\"base\"\n value={formatDate(this.value, this.dateFormat)}\n ref={(el) => (this.inputElement = el)}\n placeholder={this.placeholder}\n readonly={this.readonly}\n disabled={this.disabled}\n name={this.name}\n label={this.label}\n required={this.required}\n errorText={this.errorText}\n errorTextCount={this.errorTextCount}\n invalid={this.invalid}\n onClick={() => this.openCalendar()}\n size={this.size}\n class={{ 'input--empty': this.value == null }}\n >\n {this.renderCustomIcon()}\n {this.renderClearable()}\n {hasSlot(this.host, 'label') ? (\n <span slot=\"label\">\n <slot name=\"label\" />\n </span>\n ) : null}\n {hasSlot(this.host, 'error-text') ? (\n <span slot=\"error-text\">\n <slot name=\"error-text\"></slot>\n </span>\n ) : null}\n </six-input>\n {this.open && (\n <div\n part=\"popup\"\n ref={(el) => (this.popup = el)}\n class={{\n datepicker__popup: true,\n 'datepicker__popup--is-up': this.placement != null ? this.placement === 'top' : this.isDropDownContentUp,\n 'datepicker__popup--is-inline': this.inline,\n }}\n >\n {this.renderHeader()}\n {this.renderBody()}\n {this.type === 'date-time' && (\n <six-timepicker\n debounce={this.debounce}\n inline={true}\n onSix-timepicker-change-debounced={(event) => this.onTimepickerChange(event)}\n value={\n this.selectedDate?.getHours() +\n ':' +\n this.selectedDate?.getMinutes() +\n ':' +\n this.selectedDate?.getSeconds()\n }\n ></six-timepicker>\n )}\n <div class=\"datepicker__footer\">\n <slot />\n </div>\n </div>\n )}\n </div>\n );\n }\n\n private adjustPopupPosition() {\n adjustPopupForHoisting(\n this.hoist,\n this.popup,\n this.inputElement,\n this.wrapper,\n MIN_POPUP_HEIGHT,\n (isUp) => (this.isDropDownContentUp = isUp)\n );\n adjustPopupForSmallScreens(this.popup);\n }\n\n connectedCallback() {\n this.eventListeners.forward('six-datepicker-select', 'change', this.host);\n this.eventListeners.forward('six-datepicker-blur', 'blur', this.host);\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n\n private static getCurrentDateAsPointer(): PointerDate {\n return {\n year: year(now()),\n month: month(now()),\n day: day(now()),\n hours: hours(now()),\n minutes: minutes(now()),\n seconds: seconds(now()),\n };\n }\n}\n"],"mappings":"uOAAO,MAAMA,EAAYC,UAA2CA,IAAU,SAGvE,MAAMC,EAASD,GAA8CA,GAAS,KCKtE,MAAME,EAAW,CACtBC,GAAI,CACFC,OAAQ,CACN,UACA,WACA,QACA,QACA,MACA,OACA,OACA,SACA,YACA,UACA,WACA,YAEFC,YAAa,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,OAC3FC,mBAAoB,CAClB,CAAC,MAAO,MAAO,MAAO,OACtB,CAAC,MAAO,MAAO,MAAO,OACtB,CAAC,MAAO,MAAO,MAAO,QAExBC,SAAU,CAAC,SAAU,UAAW,YAAa,WAAY,SAAU,WAAY,UAC/EC,cAAe,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,OAC1DC,YAAa,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,OAEpDC,GAAI,CACFN,OAAQ,CACN,SACA,UACA,OACA,QACA,MACA,OACA,OACA,SACA,YACA,UACA,WACA,YAEFC,YAAa,CAAC,OAAQ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ACrF,+BAAgCL,KAAKQ,SAGtCR,KAAKqG,eACLrG,KAAK2G,aACL3G,KAAKM,OAAS,aACb5B,EACE,kBAAA5E,IAAA,2CAAAmH,SAAUjB,KAAKiB,SACfT,OAAQ,KAAI,oCACwBwB,GAAUhC,KAAKgD,mBAAmBhB,GACtE3N,QACEkK,EAAAyB,KAAKrD,gBAAY,MAAA4B,SAAA,SAAAA,EAAEpI,YACnB,MACAgO,EAAAnE,KAAKrD,gBAAc,MAAAwH,SAAA,SAAAA,EAAA9N,cACnB,MACA+N,EAAApE,KAAKrD,gBAAY,MAAAyH,SAAA,SAAAA,EAAE7N,gBAIzBmI,EAAK,OAAA5E,IAAA,2CAAA6E,MAAM,sBACTD,EAAA,QAAA5E,IAAA,+C,CAQJ,mBAAAgL,GACN4C,EACE1H,KAAKsB,MACLtB,KAAKiF,MACLjF,KAAKoC,aACLpC,KAAKkF,QACLvF,IACCgI,GAAU3H,KAAKK,oBAAsBsH,IAExCC,EAA2B5H,KAAKiF,M,CAGlC,iBAAA4C,GACE7H,KAAKC,eAAe6H,QAAQ,wBAAyB,SAAU9H,KAAKoF,MACpEpF,KAAKC,eAAe6H,QAAQ,sBAAuB,OAAQ9H,KAAKoF,K,CAGlE,oBAAA2C,GACE/H,KAAKC,eAAe+H,W,CAGd,8BAAO7H,GACb,MAAO,CACLrK,KAAMA,EAAKX,KACXa,MAAOA,EAAMb,KACbc,IAAKA,EAAId,KACTe,MAAOA,EAAMf,KACbiB,QAASA,EAAQjB,KACjBmB,QAASA,EAAQnB,K","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as s,c as i,h as e}from"./p-JoG9I7EO.js";import{D as t,a as h}from"./p-CKhg9ibv.js";import{E as a}from"./p-C4h4qpGl.js";const o=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host{display:block}.search-box{z-index:var(--six-z-index-search-field)}.search-box__icon{cursor:pointer}";const r=class{constructor(e){s(this,e);this.searchFieldChange=i(this,"six-search-field-change");this.debounce=t;this.disabled=false;this.value="";this.clearable=false;this.eventListeners=new a;this.handleInputChange=()=>{if(this.inputElement!=null){this.searchFieldChange.emit({value:this.inputElement.value})}}}handleValueChange(){if(this.inputElement!=null){this.inputElement.value=this.value}}componentDidLoad(){if(this.inputElement==null)return;this.eventListeners.add(this.inputElement,"six-input-input",h(this.handleInputChange,this.debounce));this.eventListeners.add(this.inputElement,"keydown",(s=>{const i=s;if(i.key==="Enter"){this.handleInputChange()}}))}disconnectedCallback(){this.eventListeners.removeAll()}render(){return e("div",{key:"9172dbb88cc35be7390727842483a74241e1330f",class:"search-box"},e("six-input",{key:"44c1d20960202129a19cb412bb67823ac927ad98",ref:s=>this.inputElement=s,placeholder:this.placeholder,value:this.value,disabled:this.disabled,clearable:this.clearable},e("six-icon",{key:"af8431bd85223a37fee7e17d51288313c4494fed",class:"search-box__icon",slot:"prefix",size:"small",onClick:this.handleInputChange},"search")),e("slot",{key:"5d4f9bf280fc5fe215c268818b641753bb786869"}))}static get watchers(){return{value:["handleValueChange"]}}};r.style=o;export{r as six_search_field};
2
+ //# sourceMappingURL=p-4152b371.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixSearchFieldCss","SixSearchField","constructor","hostRef","this","debounce","DEFAULT_DEBOUNCE_FAST","disabled","value","clearable","eventListeners","EventListeners","handleInputChange","inputElement","searchFieldChange","emit","handleValueChange","componentDidLoad","add","event","keyboardEvent","key","disconnectedCallback","removeAll","render","h","class","ref","el","placeholder","slot","size","onClick"],"sources":["src/components/six-search-field/six-search-field.scss?tag=six-search-field&encapsulation=shadow","src/components/six-search-field/six-search-field.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: block;\n}\n\n.search-box {\n z-index: var(--six-z-index-search-field);\n\n &__icon {\n cursor: pointer;\n }\n}\n","import { Component, Event, EventEmitter, h, Prop, Watch } from '@stencil/core';\nimport { debounce, DEFAULT_DEBOUNCE_FAST } from '../../utils/execution-control';\nimport { EventListeners } from '../../utils/event-listeners';\n\nexport interface SixSearchFieldChangePayload {\n value: string;\n}\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the results below the search component.\n */\n\n@Component({\n tag: 'six-search-field',\n styleUrl: 'six-search-field.scss',\n shadow: true,\n})\nexport class SixSearchField {\n /** The input's placeholder text. */\n @Prop() placeholder?: string;\n\n /** Debounce time in milliseconds, default is 300 ms */\n @Prop({ reflect: true }) debounce = DEFAULT_DEBOUNCE_FAST;\n\n /** Set to true to disable the input. */\n @Prop({ reflect: true }) disabled = false;\n\n /** The input's value attribute. */\n @Prop({ reflect: true }) value = '';\n\n /** Set to true to add a clear button when the input is populated. */\n @Prop() clearable = false;\n\n /** Emitted when a search is triggered */\n @Event({ eventName: 'six-search-field-change' }) searchFieldChange!: EventEmitter<SixSearchFieldChangePayload>;\n\n private inputElement?: HTMLSixInputElement;\n\n private eventListeners = new EventListeners();\n\n private handleInputChange = () => {\n if (this.inputElement != null) {\n this.searchFieldChange.emit({ value: this.inputElement.value });\n }\n };\n\n @Watch('value')\n handleValueChange() {\n if (this.inputElement != null) {\n this.inputElement.value = this.value;\n }\n }\n\n componentDidLoad() {\n if (this.inputElement == null) return;\n\n this.eventListeners.add(this.inputElement, 'six-input-input', debounce(this.handleInputChange, this.debounce));\n this.eventListeners.add(this.inputElement, 'keydown', (event: Event) => {\n const keyboardEvent = event as KeyboardEvent;\n if (keyboardEvent.key === 'Enter') {\n // emit immediately\n this.handleInputChange();\n }\n });\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n\n render() {\n return (\n <div class=\"search-box\">\n <six-input\n ref={(el) => (this.inputElement = el)}\n placeholder={this.placeholder}\n value={this.value}\n disabled={this.disabled}\n clearable={this.clearable}\n >\n <six-icon class=\"search-box__icon\" slot=\"prefix\" size=\"small\" onClick={this.handleInputChange}>\n search\n </six-icon>\n </six-input>\n <slot />\n </div>\n );\n }\n}\n"],"mappings":"iIAAA,MAAMA,EAAoB,gV,MCoBbC,EAAc,MAL3B,WAAAC,CAAAC,G,mEAU2BC,KAAQC,SAAGC,EAGXF,KAAQG,SAAG,MAGXH,KAAKI,MAAG,GAGzBJ,KAASK,UAAG,MAOZL,KAAAM,eAAiB,IAAIC,EAErBP,KAAiBQ,kBAAG,KAC1B,GAAIR,KAAKS,cAAgB,KAAM,CAC7BT,KAAKU,kBAAkBC,KAAK,CAAEP,MAAOJ,KAAKS,aAAaL,O,EA8C5D,CAzCC,iBAAAQ,GACE,GAAIZ,KAAKS,cAAgB,KAAM,CAC7BT,KAAKS,aAAaL,MAAQJ,KAAKI,K,EAInC,gBAAAS,GACE,GAAIb,KAAKS,cAAgB,KAAM,OAE/BT,KAAKM,eAAeQ,IAAId,KAAKS,aAAc,kBAAmBR,EAASD,KAAKQ,kBAAmBR,KAAKC,WACpGD,KAAKM,eAAeQ,IAAId,KAAKS,aAAc,WAAYM,IACrD,MAAMC,EAAgBD,EACtB,GAAIC,EAAcC,MAAQ,QAAS,CAEjCjB,KAAKQ,mB,KAKX,oBAAAU,GACElB,KAAKM,eAAea,W,CAGtB,MAAAC,GACE,OACEC,EAAA,OAAAJ,IAAA,2CAAKK,MAAM,cACTD,EAAA,aAAAJ,IAAA,2CACEM,IAAMC,GAAQxB,KAAKS,aAAee,EAClCC,YAAazB,KAAKyB,YAClBrB,MAAOJ,KAAKI,MACZD,SAAUH,KAAKG,SACfE,UAAWL,KAAKK,WAEhBgB,EAAA,YAAAJ,IAAA,2CAAUK,MAAM,mBAAmBI,KAAK,SAASC,KAAK,QAAQC,QAAS5B,KAAKQ,mBAAiB,WAI/Fa,EAAQ,QAAAJ,IAAA,6C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,h as t,H as s,g as a}from"./p-JoG9I7EO.js";const i=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host{display:block;font-family:var(--six-font-family)}.tab-panel{border:solid 1px transparent;padding:20px 20px}";let o=0;const r=class{constructor(t){e(this,t);this.componentId=`tab-panel-${++o}`;this.name="";this.active=false}render(){return t(s,{key:"2a0ab4d655a8de97585c947099381c1fab61e858",id:this.host.id||this.componentId,style:{display:this.active?"block":"none"}},t("div",{key:"7ee7661cd01b4390bea7981c4f3fad3e8bb0e6c0",part:"base",class:"tab-panel",role:"tabpanel","aria-selected":this.active?"true":"false","aria-hidden":this.active?"false":"true"},t("slot",{key:"21c8561d0a126ef557c1fa9660209f10b6cd7936"})))}get host(){return a(this)}};r.style=i;export{r as six_tab_panel};
2
+ //# sourceMappingURL=p-494546c8.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixTabPanelCss","id","SixTabPanel","constructor","hostRef","this","componentId","name","active","render","h","Host","key","host","style","display","part","class","role"],"sources":["src/components/six-tab-panel/six-tab-panel.scss?tag=six-tab-panel&encapsulation=shadow","src/components/six-tab-panel/six-tab-panel.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: block;\n font-family: var(--six-font-family);\n}\n\n.tab-panel {\n border: solid 1px transparent;\n padding: 20px 20px;\n}\n","import { Component, Element, h, Host, Prop } from '@stencil/core';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The tab panel's content.\n *\n * @part base - The component's base wrapper.\n */\n\n@Component({\n tag: 'six-tab-panel',\n styleUrl: 'six-tab-panel.scss',\n shadow: true,\n})\nexport class SixTabPanel {\n private componentId = `tab-panel-${++id}`;\n\n @Element() host!: HTMLSixTabPanelElement;\n\n /** The tab panel's name. */\n @Prop() name = '';\n\n /** When true, the tab panel will be shown. */\n @Prop({ reflect: true }) active = false;\n\n render() {\n return (\n // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels\n <Host id={this.host.id || this.componentId} style={{ display: this.active ? 'block' : 'none' }}>\n <div\n part=\"base\"\n class=\"tab-panel\"\n role=\"tabpanel\"\n aria-selected={this.active ? 'true' : 'false'}\n aria-hidden={this.active ? 'false' : 'true'}\n >\n <slot />\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAiB,wVCEvB,IAAIC,EAAK,E,MAkBIC,EAAW,MALxB,WAAAC,CAAAC,G,UAMUC,KAAAC,YAAc,eAAeL,IAK7BI,KAAIE,KAAG,GAGUF,KAAMG,OAAG,KAkBnC,CAhBC,MAAAC,GACE,OAEEC,EAACC,EAAI,CAAAC,IAAA,2CAACX,GAAII,KAAKQ,KAAKZ,IAAMI,KAAKC,YAAaQ,MAAO,CAAEC,QAASV,KAAKG,OAAS,QAAU,SACpFE,EAAA,OAAAE,IAAA,2CACEI,KAAK,OACLC,MAAM,YACNC,KAAK,WAAU,gBACAb,KAAKG,OAAS,OAAS,QAAO,cAChCH,KAAKG,OAAS,QAAU,QAErCE,EAAQ,QAAAE,IAAA,8C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as s,g as e}from"./p-JoG9I7EO.js";import{I as r}from"./p-WA6V9mN8.js";import{D as n,b as o,a as h}from"./p-CKhg9ibv.js";import{E as a}from"./p-C4h4qpGl.js";import{h as c}from"./p-j3oIB5oT.js";import{a as l,m as p}from"./p-Dd6pdO8C.js";const u=()=>{const t=new Date;return{hours:t.getHours(),minutes:t.getMinutes(),seconds:t.getSeconds(),milliseconds:t.getMilliseconds(),has24Hours:true}};const m=12;const d=t=>t>m?t-m:t;const f=()=>{const t=new Date;const i=t.getHours();return{hours:d(i),minutes:t.getMinutes(),seconds:t.getSeconds(),milliseconds:t.getMilliseconds(),has24Hours:false,period:i>=m?"PM":"AM"}};const g=(t=true)=>t?u():f();const x=(t,i)=>{const s=t.split(":");const e=i.split(":");return s.length===e.length};const b=(t,i)=>{const s=t.split(":");const e=i.split(":");if(!x(t,i)){console.error(`Timestring did not match expected format.\nExpected format: ${i}\nReceived timestring: ${t}`)}const r={};s.forEach(((t,i)=>{const s=e[i];switch(s){case"HH":r.hours=Number(t);r.has24Hours=true;break;case"hh":r.hours=Number(t);r.has24Hours=false;break;case"mm":r.minutes=Number(t);break;case"ss":r.seconds=Number(t);break;case"ms":r.milliseconds=Number(t);break;case"aa":r.period=t.toUpperCase()==="PM"?"PM":"AM"}}));return r};const k=(t,i)=>{if(t==null){return""}const s=i.split(":");return s.map((i=>{switch(i){case"HH":case"hh":return String(t.hours).padStart(2,"0");case"mm":return String(t.minutes).padStart(2,"0");case"ss":return String(t.seconds).padStart(2,"0");case"ms":return String(t.milliseconds).padStart(3,"0");case"aa":return String(t.period)}})).join(":")};const v=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host{display:block;font-family:var(--six-font-family)}.timepicker_clear{display:inline-flex;align-items:center;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;padding:0;transition:var(--six-transition-fast) color;cursor:pointer}.timepicker_clear:hover{color:var(--six-input-icon-color-hover)}.timepicker_clear:focus{outline:none}.timepicker_clear--right{right:0;position:absolute}.timepicker_clear--left{right:35px;position:absolute}.timepicker__container{position:relative}.timepicker__popup{display:flex;justify-content:center;min-width:min-content;background-color:white;padding:0.5em;box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);user-select:none;position:absolute;z-index:var(--six-z-index-dropdown);right:0;left:0}.timepicker__popup--is-up{bottom:100%}.timepicker__popup--is-inline{position:initial;box-shadow:none;border:1px solid var(--six-color-web-rock-400)}.timepicker__separator{display:flex;align-items:center}.timepicker__item--wide{padding-left:0.5rem;padding-right:0.5rem}.input--empty .timepicker_clear{visibility:hidden}.input--hide{display:none}.prefix{cursor:pointer}.prefix--right{right:0;display:inline-flex;position:absolute;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;margin-right:var(--six-input-spacing-medium);transition:var(--six-transition-fast) color}";const _=145;const y=class{constructor(s){t(this,s);this.sixChange=i(this,"six-timepicker-change");this.sixChangeDebounced=i(this,"six-timepicker-change-debounced");this.sixClear=i(this,"six-timepicker-clear");this.eventListeners=new a;this.format="HH:mm:ss";this.separator=":";this.value="";this.open=false;this.inline=false;this.readonly=false;this.disabled=false;this.size="medium";this.required=false;this.errorText="";this.label="";this.invalid=false;this.name="";this.clearable=false;this.iconPosition="left";this.hoist=false;this.timeout=n;this.interval=o;this.debounce=n;this.isPopupContentUp=false;this.isDropDownContentUp=false;this.popupValue={};this.handlePickerChange=(t,i)=>{t.stopPropagation();if(this.popupValue==null){return}this.popupValue[i]=t.detail;const s=k(this.popupValue,this.format);this.value=s;this.sixChange.emit({changedProperty:i,value:this.popupValue,valueAsString:s})};this.handleDocumentMouseDown=t=>{const i=t.composedPath();if(!i.includes(this.host)){this.closePopup();return}};this.handleClearClick=t=>{t.stopPropagation();this.value="";this.sixClear.emit();this.sixChange.emit({value:{},valueAsString:""})}}async resizeHandler(){this.calcIsPopupContentUp();this.moveOpenHoistedPopup()}async scrollHandler(){this.calcIsPopupContentUp();this.moveOpenHoistedPopup()}valueChanged(){this.updateValue()}async setFocus(t){var i;(i=this.inputElement)===null||i===void 0?void 0:i.setFocus(t)}connectedCallback(){this.eventListeners.forward("six-timepicker-change","change",this.host)}componentWillLoad(){this.updateValue();if(this.inline){this.open=true}if(this.open){this.eventListeners.add(document,"mousedown",this.handleDocumentMouseDown)}}componentDidLoad(){if(this.inputElement==null)return;const t=this.inputElement;this.eventListeners.add(this.host,"six-timepicker-change",h((t=>this.sixChangeDebounced.emit(t.detail)),this.debounce));this.eventListeners.add(t,"six-input-input",h((i=>{i.stopPropagation();if(!x(t.value,this.format)){this.value=t.value;this.sixChange.emit({value:{},valueAsString:""});return}this.value=t.value;this.popupValue=b(t.value,this.format);this.sixChange.emit({value:this.popupValue,valueAsString:k(this.popupValue,this.format)})}),this.debounce))}componentDidRender(){l(this.hoist,this.popup,this.inputElement,this.wrapper,_,(t=>this.isDropDownContentUp=t))}disconnectedCallback(){this.eventListeners.removeAll()}updateValue(){if(typeof this.value!=="string"||!x(this.value,this.format)){this.value=""}if(this.value===""){if(this.defaultTime==null){this.popupValue=g(this.is24HourClock())}else{this.popupValue=b(this.defaultTime,this.format)}}else{this.popupValue=b(this.value,this.format)}}calcIsPopupContentUp(){if(this.inputElement==null||this.wrapper==null){return}const t=this.inputElement.getBoundingClientRect();const i=this.wrapper.getBoundingClientRect();const s=Math.max(i.height,_);const e=t.y>window.innerHeight/2;this.isPopupContentUp=e&&window.innerHeight<t.bottom+s}moveOpenHoistedPopup(){p(this.hoist,this.open,this.popup,this.inputElement,this.wrapper,_)}getSixTimeUnitPicker(t){return s("six-item-picker",{class:t.class,timeout:this.timeout,interval:this.interval,padded:true,min:t.min,max:t.max,value:this.popupValue[t.propertyName],items:t.items,type:t.type||r.NUMBER,"padding-length":t.paddingLength,"onSix-item-picker-change":i=>this.handlePickerChange(i,t.propertyName)})}getHour24Picker(){if(!this.is24HourClock()){return}return this.getSixTimeUnitPicker({min:0,max:23,propertyName:"hours"})}is24HourClock(){return this.format.includes("HH")}getHour12Picker(){if(!this.is12HourClock()){return}return this.getSixTimeUnitPicker({min:0,max:11,propertyName:"hours"})}is12HourClock(){return this.format.includes("hh")}getAmPmPicker(){if(!this.is12HourClock()){return}const t=["AM","PM"];return this.getSixTimeUnitPicker({items:t,type:r.CUSTOM,propertyName:"period"})}getMinutePicker(){if(!this.format.includes("mm")){return}return this.getSixTimeUnitPicker({min:0,max:59,propertyName:"minutes"})}getSecondsPicker(){if(!this.format.includes("ss")){return}return this.getSixTimeUnitPicker({min:0,max:59,propertyName:"seconds"})}getMillisecondsPicker(){if(!this.format.includes("ms")){return}return this.getSixTimeUnitPicker({min:0,max:999,class:"timepicker__item--wide",paddingLength:3,propertyName:"milliseconds"})}getSeparator(){return s("div",{class:"timepicker__separator"},s("span",null,this.separator))}getContent(){const t=[this.getHour24Picker(),this.getHour12Picker(),this.getMinutePicker(),this.getSecondsPicker(),this.getMillisecondsPicker()];const i=t.filter((t=>t!==undefined));return i.map(((t,s)=>{if(s===i.length-1){return[t]}return[t,this.getSeparator()]}))}openPopup(){if(!this.open&&!this.disabled){this.open=true;this.eventListeners.add(document,"mousedown",this.handleDocumentMouseDown)}}closePopup(){if(this.inline){return}this.open=false;this.eventListeners.remove(document,"mousedown",this.handleDocumentMouseDown)}renderClearable(){return this.clearable&&s("button",{slot:"suffix",class:{timepicker_clear:true,"timepicker_clear--right":this.iconPosition==="left","timepicker_clear--left":this.iconPosition==="right"},type:"button",onClick:this.handleClearClick,tabindex:"-1"},s("six-icon",{size:"small"},"clear"))}renderCustomIcon(){const t=c(this.host,"custom-icon")?s("slot",{name:"custom-icon"}):s("six-icon",{size:this.size==="large"?"medium":this.size},"watch_later");return s("span",{slot:"prefix",part:"icon",class:{prefix:true,"prefix--right":this.iconPosition==="right"}},t)}render(){return s("div",{key:"58240c7c32227225d1811fa59e9cf336aad03a4d",part:"container",ref:t=>this.wrapper=t,class:"timepicker__container"},s("six-input",{key:"1b6e9b28d997b67a933d055fa3e73e3c0751aa53",ref:t=>this.inputElement=t,part:"input",onClick:()=>this.openPopup(),value:this.value,placeholder:this.placeholder,readonly:this.readonly,disabled:this.disabled,errorTextCount:this.errorTextCount,errorText:this.errorText,invalid:this.invalid,size:this.size,name:this.name,label:this.label,required:this.required,class:{"input--empty":this.value==="","input--hide":this.inline}},this.renderCustomIcon(),this.renderClearable(),c(this.host,"label")?s("span",{slot:"label"},s("slot",{name:"label"})):null,c(this.host,"error-text")?s("span",{slot:"error-text"},s("slot",{name:"error-text"})):null),this.open&&s("div",{key:"b762116d0af1bc11d7f2cbb255b071e8fe3b52cf",ref:t=>this.popup=t,part:"popup",class:{timepicker__popup:true,"timepicker__popup--is-up":this.placement==null?this.placement==="top":this.isPopupContentUp,"timepicker__popup--is-inline":this.inline}},...this.getContent(),this.getAmPmPicker()))}get host(){return e(this)}static get watchers(){return{value:["valueChanged"]}}};y.style=v;export{y as six_timepicker};
2
+ //# sourceMappingURL=p-4f52c56f.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["getCurrentTimeIn24Hours","now","Date","hours","getHours","minutes","getMinutes","seconds","getSeconds","milliseconds","getMilliseconds","has24Hours","HOURS_IN_12_HOUR_CLOCK_FORMAT","getHoursIn12HourFormat","getCurrentTimeIn12Hours","period","getCurrentTime","isValidTimeString","timeStr","format","timeStringParts","split","timeFormatParts","length","parseTimeString","timeParts","formatParts","console","error","time","forEach","timeStringPart","i","formatStringPart","Number","toUpperCase","createTimeString","map","timeFormatPart","String","padStart","join","sixTimepickerCss","MIN_POPUP_HEIGHT","SixTimepicker","constructor","hostRef","this","eventListeners","EventListeners","separator","value","open","inline","readonly","disabled","size","required","errorText","label","invalid","name","clearable","iconPosition","hoist","timeout","DEFAULT_DEBOUNCE_FAST","interval","DEFAULT_DEBOUNCE_INSANELY_FAST","debounce","isPopupContentUp","isDropDownContentUp","popupValue","handlePickerChange","event","property","stopPropagation","detail","timeString","sixChange","emit","changedProperty","valueAsString","handleDocumentMouseDown","path","composedPath","includes","host","closePopup","handleClearClick","sixClear","resizeHandler","calcIsPopupContentUp","moveOpenHoistedPopup","scrollHandler","valueChanged","updateValue","setFocus","options","_a","inputElement","connectedCallback","forward","componentWillLoad","add","document","componentDidLoad","sixChangeDebounced","componentDidRender","adjustPopupForHoisting","popup","wrapper","isUp","disconnectedCallback","removeAll","defaultTime","is24HourClock","inputBoundingRect","getBoundingClientRect","wrapperBoundingRect","minPopupHeight","Math","max","height","moreSpaceInTop","y","window","innerHeight","bottom","movePopup","getSixTimeUnitPicker","params","h","class","padded","min","propertyName","items","type","ItemPickerType","NUMBER","paddingLength","getHour24Picker","getHour12Picker","is12HourClock","getAmPmPicker","CUSTOM","getMinutePicker","getSecondsPicker","getMillisecondsPicker","getSeparator","getContent","elementsInOrder","visibleElements","filter","el","undefined","idx","openPopup","remove","renderClearable","slot","timepicker_clear","onClick","tabindex","renderCustomIcon","icon","hasSlot","part","prefix","render","key","ref","placeholder","errorTextCount","timepicker__popup","placement"],"sources":["src/utils/time.util.ts","src/components/six-timepicker/six-timepicker.scss?tag=six-timepicker&encapsulation=shadow","src/components/six-timepicker/six-timepicker.tsx"],"sourcesContent":["export type TimePeriod = 'AM' | 'PM';\n\nexport interface Time {\n hours?: number;\n minutes?: number;\n seconds?: number;\n milliseconds?: number;\n has24Hours?: boolean; // true => 24h, false => 12h\n period?: TimePeriod; // only needed for 12-hour clock\n}\n\nexport type TimeProperties = keyof Time;\n\nexport type TimeFormatChar =\n | 'HH' // 24h\n | 'hh' // 12h\n | 'mm' // minutes\n | 'ss' // seconds\n | 'ms' // milliseconds\n | 'aa'; // period (AM/PM)\n\n/*\n * Supported time formats\n */\nexport type TimeFormat =\n | 'HH:mm:ss'\n | 'hh:mm:ss:aa'\n | 'HH:mm:ss:ms'\n | 'hh:mm:ss:ms:aa'\n | 'HH:mm'\n | 'hh:mm:aa'\n | 'HH'\n | 'hh:aa'\n | 'mm'\n | 'ss'\n | 'ms';\n\nexport const getCurrentTimeIn24Hours = (): Time => {\n const now = new Date();\n return {\n hours: now.getHours(),\n minutes: now.getMinutes(),\n seconds: now.getSeconds(),\n milliseconds: now.getMilliseconds(),\n has24Hours: true,\n };\n};\n\nconst HOURS_IN_12_HOUR_CLOCK_FORMAT = 12;\n\nexport const getHoursIn12HourFormat = (hours: number) =>\n hours > HOURS_IN_12_HOUR_CLOCK_FORMAT ? hours - HOURS_IN_12_HOUR_CLOCK_FORMAT : hours;\n\nexport const getCurrentTimeIn12Hours = (): Time => {\n const now = new Date();\n const hours = now.getHours();\n return {\n hours: getHoursIn12HourFormat(hours),\n minutes: now.getMinutes(),\n seconds: now.getSeconds(),\n milliseconds: now.getMilliseconds(),\n has24Hours: false,\n period: hours >= HOURS_IN_12_HOUR_CLOCK_FORMAT ? 'PM' : 'AM',\n };\n};\n\nexport const getCurrentTime = (has24Hours = true): Time => {\n return has24Hours ? getCurrentTimeIn24Hours() : getCurrentTimeIn12Hours();\n};\n\nexport const isValidTimeString = (timeStr: string, format: TimeFormat) => {\n const timeStringParts = timeStr.split(':');\n const timeFormatParts = format.split(':');\n return timeStringParts.length === timeFormatParts.length;\n};\n\nexport const parseTimeString = (timeStr: string, format: TimeFormat): Time => {\n const timeParts = timeStr.split(':');\n const formatParts = format.split(':') as TimeFormatChar[];\n\n if (!isValidTimeString(timeStr, format)) {\n console.error(\n `Timestring did not match expected format.\\nExpected format: ${format}\\nReceived timestring: ${timeStr}`\n );\n }\n\n const time: Time = {};\n\n timeParts.forEach((timeStringPart, i) => {\n const formatStringPart: TimeFormatChar = formatParts[i];\n switch (formatStringPart) {\n case 'HH':\n time.hours = Number(timeStringPart);\n time.has24Hours = true;\n break;\n case 'hh':\n time.hours = Number(timeStringPart);\n time.has24Hours = false;\n break;\n case 'mm':\n time.minutes = Number(timeStringPart);\n break;\n case 'ss':\n time.seconds = Number(timeStringPart);\n break;\n case 'ms':\n time.milliseconds = Number(timeStringPart);\n break;\n case 'aa':\n time.period = timeStringPart.toUpperCase() === 'PM' ? 'PM' : 'AM';\n }\n });\n return time;\n};\n\nexport const createTimeString = (time: Time | undefined, format: TimeFormat): string => {\n if (time == null) {\n return '';\n }\n\n const formatParts = format.split(':') as TimeFormatChar[];\n\n return formatParts\n .map((timeFormatPart) => {\n switch (timeFormatPart) {\n case 'HH':\n case 'hh':\n return String(time.hours).padStart(2, '0');\n case 'mm':\n return String(time.minutes).padStart(2, '0');\n case 'ss':\n return String(time.seconds).padStart(2, '0');\n case 'ms':\n return String(time.milliseconds).padStart(3, '0');\n case 'aa':\n return String(time.period);\n }\n })\n .join(':');\n};\n","@import 'src/global/component';\n\n:host {\n display: block;\n font-family: var(--six-font-family);\n}\n\n.timepicker {\n &_clear {\n display: inline-flex;\n align-items: center;\n font-size: inherit;\n color: var(--six-input-icon-color);\n border: none;\n background: none;\n padding: 0;\n transition: var(--six-transition-fast) color;\n cursor: pointer;\n\n &:hover {\n color: var(--six-input-icon-color-hover);\n }\n\n &:focus {\n outline: none;\n }\n\n &--right {\n right: 0;\n position: absolute;\n }\n\n &--left {\n right: 35px;\n position: absolute;\n }\n }\n\n &__container {\n position: relative;\n }\n\n &__popup {\n display: flex;\n justify-content: center;\n min-width: min-content;\n background-color: white;\n padding: 0.5em;\n box-shadow:\n 0 2px 4px -1px rgb(0 0 0 / 20%),\n 0 4px 5px 0 rgb(0 0 0 / 14%),\n 0 1px 10px 0 rgb(0 0 0 / 12%);\n user-select: none;\n position: absolute;\n z-index: var(--six-z-index-dropdown);\n right: 0;\n left: 0;\n\n &--is-up {\n bottom: 100%;\n }\n\n &--is-inline {\n position: initial;\n box-shadow: none;\n border: 1px solid var(--six-color-web-rock-400);\n }\n }\n\n &__separator {\n display: flex;\n align-items: center;\n }\n\n &__item {\n &--wide {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n }\n }\n}\n\n.input--empty .timepicker_clear {\n visibility: hidden;\n}\n\n.input--hide {\n display: none;\n}\n\n// Icon position\n.prefix {\n cursor: pointer;\n\n &--right {\n right: 0;\n display: inline-flex;\n position: absolute;\n font-size: inherit;\n color: var(--six-input-icon-color);\n border: none;\n background: none;\n margin-right: var(--six-input-spacing-medium);\n transition: var(--six-transition-fast) color;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Listen, Method, Prop, State, Watch } from '@stencil/core';\nimport { ItemPickerType } from '../six-item-picker/types';\nimport {\n createTimeString,\n getCurrentTime,\n isValidTimeString,\n parseTimeString,\n Time,\n TimeFormat,\n TimeProperties,\n} from '../../utils/time.util';\nimport { debounce, DEFAULT_DEBOUNCE_FAST, DEFAULT_DEBOUNCE_INSANELY_FAST } from '../../utils/execution-control';\nimport { SixItemPickerChangePayload } from '../six-item-picker/six-item-picker';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { adjustPopupForHoisting, movePopup } from '../../utils/popup';\n\nexport interface SixTimepickerChange {\n value?: Time;\n valueAsString: string;\n changedProperty?: string;\n}\n\ninterface SixTimeUnitPickerParams {\n min?: number;\n max?: number;\n items?: string[];\n type?: ItemPickerType;\n class?: string;\n paddingLength?: number;\n propertyName: TimeProperties;\n}\n\nconst MIN_POPUP_HEIGHT = 145;\n\n/**\n * @since 2.0.0\n * @status experimental\n *\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part input - The input field\n * @part container - The container of whole component\n * @part popup - The popup of the timepicker component\n *\n */\n@Component({\n tag: 'six-timepicker',\n styleUrl: 'six-timepicker.scss',\n shadow: true,\n})\nexport class SixTimepicker {\n private eventListeners = new EventListeners();\n private popup?: HTMLElement;\n private wrapper?: HTMLElement;\n private inputElement?: HTMLSixInputElement;\n\n @Element() host!: HTMLSixTimepickerElement;\n\n /**\n * Define the time format. Valid formats are:\n *\n * HH:mm:ss\n * hh:mm:ss:aa\n * HH:mm:ss:ms\n * hh:mm:ss:ms:aa\n * HH:mm\n * hh:mm:aa\n * HH\n * hh:aa\n * mm\n * ss\n * ms\n *\n * where HH is the 24 hour format\n * and hh is the 12 hour format\n *\n * Please notice that when using the 12-hour-clock (hh)\n * you always need a period indicator (aa). So the time can be parsed as either am or pm\n * */\n @Prop() format: TimeFormat = 'HH:mm:ss';\n\n /**\n * Define the separator to be shown between the time unit pickers.\n * Please be aware that this property will modify the displayed separator only.\n * The separator for a timestring is always expected to be a colon (eg. '13:52:20')\n * */\n @Prop() separator = ':';\n\n /**\n * The value of the timepicker provided as a string. The string mast match the provided format (or default format)\n */\n @Prop({ mutable: true }) value = '';\n\n /** Indicates whether the timepicker dropdown is open on startup. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Indicates whether the timepicker should be shown as an inline (always open) component */\n @Prop({ reflect: true }) inline = false;\n\n /**\n * If `true` the user can only select a time via the timepicker but not directly edit the input field.\n */\n @Prop() readonly = false;\n\n /**\n * If `true` the component is disabled.\n */\n @Prop() disabled = false;\n\n /**\n * The enforced placement of the dropdown panel.\n */\n @Prop() placement?: 'top' | 'bottom';\n\n /** Timepicker size. */\n @Prop() size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /**\n * The placeholder defines what text to be shown on the input element\n */\n @Prop() placeholder?: string;\n\n /** The input's error text. Alternatively, you can use the error-text slot. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** The input's label. Alternatively, you can use the label slot. */\n @Prop() label = '';\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n /** The input's name attribute. */\n @Prop({ reflect: true }) name = '';\n\n /** Set to true to add a clear button when the input is populated. */\n @Prop() clearable = false;\n\n /** Set the position of the icon */\n @Prop() iconPosition: 'left' | 'right' = 'left';\n\n /**\n * Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n * `overflow: auto|scroll`.\n */\n @Prop() hoist = false;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger faster switching between timeunits (e.g. hours).\n */\n @Prop() timeout = DEFAULT_DEBOUNCE_FAST;\n\n /**\n * Set the amount of time, in milliseconds, to wait between switching to next timeunit (e.g. next hour) when mouse button is held pressed.\n */\n @Prop() interval = DEFAULT_DEBOUNCE_INSANELY_FAST;\n\n /**\n * The defaultTime defines the default setting for the timepicker when you open the popup. Default time must match the provided format.\n */\n @Prop() defaultTime?: string;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger the `six-timepicker-change-debounced` event.\n * If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce\n * is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click\n * (and keep pressed) and once you release\n */\n @Prop() debounce = DEFAULT_DEBOUNCE_FAST;\n\n /**\n * Emitted when the timepicker's value changes\n */\n @Event({ eventName: 'six-timepicker-change' }) sixChange!: EventEmitter<SixTimepickerChange>;\n\n /**\n * Emitted when the timepicker's value changes, but debounced\n */\n @Event({ eventName: 'six-timepicker-change-debounced' }) sixChangeDebounced!: EventEmitter<SixTimepickerChange>;\n\n /**\n * Emitted when the clear button is activated.\n */\n @Event({ eventName: 'six-timepicker-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n @State() isPopupContentUp = false;\n\n @State() isDropDownContentUp = false;\n\n @Listen('resize', { target: 'window' })\n async resizeHandler() {\n this.calcIsPopupContentUp();\n this.moveOpenHoistedPopup();\n }\n\n @Listen('scroll', { target: 'window' })\n async scrollHandler() {\n this.calcIsPopupContentUp();\n this.moveOpenHoistedPopup();\n }\n\n /**\n * Update the native input element when the value changes\n */\n @Watch('value')\n protected valueChanged() {\n this.updateValue();\n }\n\n /** Sets focus on the datepickers input. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.inputElement?.setFocus(options);\n }\n\n /*\n * Internally the six-timepicker uses a standardized representation of time, so we don't have a mess,\n * when switching between formats\n */\n @State() private popupValue: Time = {};\n\n connectedCallback() {\n this.eventListeners.forward('six-timepicker-change', 'change', this.host);\n }\n\n componentWillLoad() {\n this.updateValue();\n\n if (this.inline) {\n this.open = true;\n }\n\n if (this.open) {\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n }\n }\n\n componentDidLoad() {\n if (this.inputElement == null) return;\n const inputElement = this.inputElement;\n\n // emit debounced change event\n this.eventListeners.add(\n this.host,\n 'six-timepicker-change',\n debounce((event: Event) => this.sixChangeDebounced.emit((event as CustomEvent).detail), this.debounce)\n );\n\n // update value and popup value based on input-element value\n this.eventListeners.add(\n inputElement,\n 'six-input-input',\n debounce((event: Event) => {\n event.stopPropagation();\n\n // emit empty event if time string is invalid\n if (!isValidTimeString(inputElement.value, this.format)) {\n this.value = inputElement.value;\n this.sixChange.emit({\n value: {},\n valueAsString: '',\n });\n return;\n }\n\n // update value and popup value, and emit the new value\n this.value = inputElement.value;\n this.popupValue = parseTimeString(inputElement.value, this.format);\n this.sixChange.emit({\n value: this.popupValue,\n valueAsString: createTimeString(this.popupValue, this.format),\n });\n }, this.debounce)\n );\n }\n\n componentDidRender() {\n adjustPopupForHoisting(\n this.hoist,\n this.popup,\n this.inputElement,\n this.wrapper,\n MIN_POPUP_HEIGHT,\n (isUp) => (this.isDropDownContentUp = isUp)\n );\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n private updateValue() {\n // normalize value\n if (typeof this.value !== 'string' || !isValidTimeString(this.value, this.format)) {\n this.value = '';\n }\n\n // update popup value\n if (this.value === '') {\n if (this.defaultTime == null) {\n this.popupValue = getCurrentTime(this.is24HourClock());\n } else {\n this.popupValue = parseTimeString(this.defaultTime, this.format);\n }\n } else {\n this.popupValue = parseTimeString(this.value, this.format);\n }\n }\n\n private calcIsPopupContentUp() {\n if (this.inputElement == null || this.wrapper == null) {\n return;\n }\n\n const inputBoundingRect = this.inputElement.getBoundingClientRect();\n const wrapperBoundingRect = this.wrapper.getBoundingClientRect();\n const minPopupHeight = Math.max(wrapperBoundingRect.height, MIN_POPUP_HEIGHT);\n\n const moreSpaceInTop = inputBoundingRect.y > window.innerHeight / 2;\n this.isPopupContentUp = moreSpaceInTop && window.innerHeight < inputBoundingRect.bottom + minPopupHeight;\n }\n\n private moveOpenHoistedPopup() {\n movePopup(this.hoist, this.open, this.popup, this.inputElement, this.wrapper, MIN_POPUP_HEIGHT);\n }\n\n private handlePickerChange = (event: CustomEvent<SixItemPickerChangePayload>, property: TimeProperties) => {\n // stop propagation, since the timepicker should not expose the events of the underlying item-picker\n event.stopPropagation();\n if (this.popupValue == null) {\n return;\n }\n\n // update the internal state\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this.popupValue[property] = event.detail;\n\n const timeString = createTimeString(this.popupValue, this.format);\n\n // update the input value\n this.value = timeString;\n\n // emit change event\n this.sixChange.emit({\n changedProperty: property,\n value: this.popupValue,\n valueAsString: timeString,\n });\n };\n\n private getSixTimeUnitPicker(params: SixTimeUnitPickerParams) {\n return (\n <six-item-picker\n class={params.class}\n timeout={this.timeout}\n interval={this.interval}\n padded\n min={params.min}\n max={params.max}\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n value={this.popupValue[params.propertyName]}\n items={params.items}\n type={params.type || ItemPickerType.NUMBER}\n padding-length={params.paddingLength}\n onSix-item-picker-change={(event) => this.handlePickerChange(event, params.propertyName)}\n ></six-item-picker>\n );\n }\n\n private getHour24Picker() {\n if (!this.is24HourClock()) {\n return;\n }\n return this.getSixTimeUnitPicker({ min: 0, max: 23, propertyName: 'hours' });\n }\n\n private is24HourClock() {\n return this.format.includes('HH');\n }\n\n private getHour12Picker() {\n if (!this.is12HourClock()) {\n return;\n }\n return this.getSixTimeUnitPicker({ min: 0, max: 11, propertyName: 'hours' });\n }\n\n private is12HourClock() {\n return this.format.includes('hh');\n }\n\n private getAmPmPicker() {\n if (!this.is12HourClock()) {\n return;\n }\n const items = ['AM', 'PM'];\n return this.getSixTimeUnitPicker({\n items,\n type: ItemPickerType.CUSTOM,\n propertyName: 'period',\n });\n }\n\n private getMinutePicker() {\n if (!this.format.includes('mm')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName: 'minutes' });\n }\n\n private getSecondsPicker() {\n if (!this.format.includes('ss')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName: 'seconds' });\n }\n\n private getMillisecondsPicker() {\n if (!this.format.includes('ms')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({\n min: 0,\n max: 999,\n class: 'timepicker__item--wide',\n paddingLength: 3,\n propertyName: 'milliseconds',\n });\n }\n\n private getSeparator() {\n return (\n <div class=\"timepicker__separator\">\n <span>{this.separator}</span>\n </div>\n );\n }\n\n private getContent() {\n const elementsInOrder = [\n this.getHour24Picker(),\n this.getHour12Picker(),\n this.getMinutePicker(),\n this.getSecondsPicker(),\n this.getMillisecondsPicker(),\n ];\n\n const visibleElements = elementsInOrder.filter((el) => el !== undefined);\n\n return visibleElements.map((el, idx) => {\n if (idx === visibleElements.length - 1) {\n return [el];\n }\n\n return [el, this.getSeparator()];\n });\n }\n\n private openPopup() {\n if (!this.open && !this.disabled) {\n this.open = true;\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n }\n }\n\n private closePopup() {\n if (this.inline) {\n return;\n }\n\n this.open = false;\n this.eventListeners.remove(document, 'mousedown', this.handleDocumentMouseDown);\n }\n\n private handleDocumentMouseDown = (event: Event) => {\n // Close when clicking outside the containing element\n const path = event.composedPath() as EventTarget[];\n if (!path.includes(this.host)) {\n this.closePopup();\n return;\n }\n };\n\n private handleClearClick = (event: MouseEvent) => {\n event.stopPropagation();\n this.value = '';\n this.sixClear.emit();\n this.sixChange.emit({\n value: {},\n valueAsString: '',\n });\n };\n\n private renderClearable() {\n return (\n this.clearable && (\n <button\n slot=\"suffix\"\n class={{\n timepicker_clear: true,\n 'timepicker_clear--right': this.iconPosition === 'left',\n 'timepicker_clear--left': this.iconPosition === 'right',\n }}\n type=\"button\"\n onClick={this.handleClearClick}\n tabindex=\"-1\"\n >\n <six-icon size=\"small\">clear</six-icon>\n </button>\n )\n );\n }\n\n private renderCustomIcon() {\n const icon = hasSlot(this.host, 'custom-icon') ? (\n <slot name=\"custom-icon\"></slot>\n ) : (\n <six-icon size={this.size === 'large' ? 'medium' : this.size}>watch_later</six-icon>\n );\n\n return (\n <span\n slot=\"prefix\"\n part=\"icon\"\n class={{\n prefix: true,\n 'prefix--right': this.iconPosition === 'right',\n }}\n >\n {icon}\n </span>\n );\n }\n\n render() {\n return (\n <div part=\"container\" ref={(el) => (this.wrapper = el)} class=\"timepicker__container\">\n <six-input\n ref={(el) => (this.inputElement = el)}\n part=\"input\"\n onClick={() => this.openPopup()}\n value={this.value}\n placeholder={this.placeholder}\n readonly={this.readonly}\n disabled={this.disabled}\n errorTextCount={this.errorTextCount}\n errorText={this.errorText}\n invalid={this.invalid}\n size={this.size}\n name={this.name}\n label={this.label}\n required={this.required}\n class={{\n 'input--empty': this.value === '',\n 'input--hide': this.inline,\n }}\n >\n {this.renderCustomIcon()}\n {this.renderClearable()}\n {hasSlot(this.host, 'label') ? (\n <span slot=\"label\">\n <slot name=\"label\" />\n </span>\n ) : null}\n {hasSlot(this.host, 'error-text') ? (\n <span slot=\"error-text\">\n <slot name=\"error-text\" />\n </span>\n ) : null}\n </six-input>\n {this.open && (\n <div\n ref={(el) => (this.popup = el)}\n part=\"popup\"\n class={{\n timepicker__popup: true,\n 'timepicker__popup--is-up': this.placement == null ? this.placement === 'top' : this.isPopupContentUp,\n 'timepicker__popup--is-inline': this.inline,\n }}\n >\n {...this.getContent()}\n {this.getAmPmPicker()}\n </div>\n )}\n </div>\n );\n }\n}\n"],"mappings":"kQAqCO,MAAMA,EAA0B,KACrC,MAAMC,EAAM,IAAIC,KAChB,MAAO,CACLC,MAAOF,EAAIG,WACXC,QAASJ,EAAIK,aACbC,QAASN,EAAIO,aACbC,aAAcR,EAAIS,kBAClBC,WAAY,KACb,EAGH,MAAMC,EAAgC,GAE/B,MAAMC,EAA0BV,GACrCA,EAAQS,EAAgCT,EAAQS,EAAgCT,EAE3E,MAAMW,EAA0B,KACrC,MAAMb,EAAM,IAAIC,KAChB,MAAMC,EAAQF,EAAIG,WAClB,MAAO,CACLD,MAAOU,EAAuBV,GAC9BE,QAASJ,EAAIK,aACbC,QAASN,EAAIO,aACbC,aAAcR,EAAIS,kBAClBC,WAAY,MACZI,OAAQZ,GAASS,EAAgC,KAAO,KACzD,EAGI,MAAMI,EAAiB,CAACL,EAAa,OACnCA,EAAaX,IAA4Bc,IAG3C,MAAMG,EAAoB,CAACC,EAAiBC,KACjD,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,QACdJ,KAAMT,KAAKS,KACXK,KAAMd,KAAKc,KACXF,MAAOZ,KAAKY,MACZF,SAAUV,KAAKU,SACf4E,MAAO,CACL,eAAgBtF,KAAKI,QAAU,GAC/B,cAAeJ,KAAKM,SAGrBN,KAAKsH,mBACLtH,KAAKiH,kBACLO,EAAQxH,KAAKwC,KAAM,SAClB6C,EAAM,QAAA6B,KAAK,SACT7B,EAAM,QAAAvE,KAAK,WAEX,KACH0G,EAAQxH,KAAKwC,KAAM,cAClB6C,EAAM,QAAA6B,KAAK,cACT7B,EAAM,QAAAvE,KAAK,gBAEX,MAELd,KAAKK,MACJgF,EAAA,OAAAuC,IAAA,2CACEC,IAAMjB,GAAQ5G,KAAK+D,MAAQ6C,EAC3Ba,KAAK,QACLnC,MAAO,CACL0C,kBAAmB,KACnB,2BAA4BhI,KAAKiI,WAAa,KAAOjI,KAAKiI,YAAc,MAAQjI,KAAKuB,iBACrF,+BAAgCvB,KAAKM,YAGnCN,KAAKwG,aACRxG,KAAKkG,iB","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as s,h as a}from"./p-JoG9I7EO.js";const t=".language-switcher__container{display:flex}.language-switcher__separator{padding:0 0.25rem}.language-switcher__label{cursor:pointer}.language-switcher__label:hover{color:var(--six-color-web-rock-600)}.language-switcher__label:focus-visible{outline:var(--six-focus-ring);outline-offset:var(--six-focus-ring-offset)}.language-switcher__label--selected{color:var(--six-color-black);text-decoration:underline}";const i=["EN","DE","ES"];const r=class{constructor(a){e(this,a);this.sixChange=s(this,"six-language-switcher-change");this.languages=i;this.handleLanguageSwitching=(e,s)=>()=>{if(s!==undefined){this.sixChange.emit(s)}else{this.sixChange.emit(e)}this.selected=e}}handleChangesLanguages(e){if(!Array.isArray(e)){throw new Error("languages is expected to be an array")}this.updateSelectedLanguage()}componentWillLoad(){if(this.selected===undefined){this.updateSelectedLanguage()}}updateSelectedLanguage(){const e=this.languages[0];if(typeof e==="string"){this.selected=e;this.sixChange.emit(this.selected)}else{this.selected=e.key;this.sixChange.emit(e.value)}}render(){return a("div",{key:"4e324d4503e9d65278e4b3c55025363a685d9a69",part:"container",class:"language-switcher__container"},this.languages.map(((e,s)=>{const t=typeof e==="string"?e:e.key;return a("div",{onClick:this.handleLanguageSwitching(t,typeof e==="string"?e:e.value),onKeyDown:s=>{if(s.key==="Enter"||s.key===" "){this.handleLanguageSwitching(t,typeof e==="string"?e:e.value)()}}},a("span",{part:"label",tabindex:"0",class:{"language-switcher__label":true,"language-switcher__label--selected":this.selected===t}},t),s<this.languages.length-1&&a("span",{part:"separator",class:"language-switcher__separator"},"|"))})))}static get watchers(){return{languages:["handleChangesLanguages"]}}};r.style=t;export{r as six_language_switcher};
2
+ //# sourceMappingURL=p-54490d28.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixLanguageSwitcherCss","DEFAULT_LANGUAGES","SixLanguageSwitcher","constructor","hostRef","this","languages","handleLanguageSwitching","newLanguage","languageValue","undefined","sixChange","emit","selected","handleChangesLanguages","newValue","Array","isArray","Error","updateSelectedLanguage","componentWillLoad","selectedLanguage","key","value","render","h","part","class","map","lang","index","language","onClick","onKeyDown","e","tabindex","length"],"sources":["src/components/six-language-switcher/six-language-switcher.scss?tag=six-language-switcher&encapsulation=shadow","src/components/six-language-switcher/six-language-switcher.tsx"],"sourcesContent":[".language-switcher {\n &__container {\n display: flex;\n }\n\n &__separator {\n padding: 0 0.25rem;\n }\n\n &__label {\n cursor: pointer;\n\n &:hover {\n color: var(--six-color-web-rock-600);\n }\n\n &:focus-visible {\n outline: var(--six-focus-ring);\n outline-offset: var(--six-focus-ring-offset);\n }\n\n &--selected {\n color: var(--six-color-black);\n text-decoration: underline;\n }\n }\n}\n","import { Component, Event, EventEmitter, h, Prop, Watch } from '@stencil/core';\n\n/**\n * @since 2.1.0\n * @status experimental\n **/\n\nexport interface SixLanguageSwitcherInput {\n key: string;\n value: string;\n}\nexport type SixLanguageSwitcherChangePayload = string;\n\nconst DEFAULT_LANGUAGES = ['EN', 'DE', 'ES'];\n\n/*\n * @since 2.2.0\n * @status experimental\n * @part container - The whole component container\n * @part label - The language label\n * @part separator - The separator between the language labels\n */\n@Component({\n tag: 'six-language-switcher',\n styleUrl: 'six-language-switcher.scss',\n shadow: true,\n})\nexport class SixLanguageSwitcher {\n /** The language which should be shown as selected */\n @Prop({ mutable: true, reflect: true }) selected?: string;\n\n /** The languages which should be selectable options. */\n @Prop() languages: string[] | SixLanguageSwitcherInput[] = DEFAULT_LANGUAGES;\n\n @Watch('languages')\n handleChangesLanguages(newValue: string[]) {\n if (!Array.isArray(newValue)) {\n throw new Error('languages is expected to be an array');\n }\n\n this.updateSelectedLanguage();\n }\n /**\n * Emitted when the language switchers value changes\n */\n @Event({ eventName: 'six-language-switcher-change' }) sixChange!: EventEmitter<SixLanguageSwitcherChangePayload>;\n\n componentWillLoad() {\n if (this.selected === undefined) {\n this.updateSelectedLanguage();\n }\n }\n\n private updateSelectedLanguage() {\n const selectedLanguage = this.languages[0];\n if (typeof selectedLanguage === 'string') {\n this.selected = selectedLanguage;\n this.sixChange.emit(this.selected);\n } else {\n this.selected = selectedLanguage.key;\n this.sixChange.emit(selectedLanguage.value);\n }\n }\n\n private handleLanguageSwitching = (newLanguage: string, languageValue?: string) => () => {\n if (languageValue !== undefined) {\n this.sixChange.emit(languageValue);\n } else {\n this.sixChange.emit(newLanguage);\n }\n this.selected = newLanguage;\n };\n\n render() {\n return (\n <div part=\"container\" class=\"language-switcher__container\">\n {this.languages.map((lang, index) => {\n const language = typeof lang === 'string' ? lang : lang.key;\n return (\n <div\n onClick={this.handleLanguageSwitching(language, typeof lang === 'string' ? lang : lang.value)}\n onKeyDown={(e) => {\n if (e.key === 'Enter' || e.key === ' ') {\n this.handleLanguageSwitching(language, typeof lang === 'string' ? lang : lang.value)();\n }\n }}\n >\n <span\n part=\"label\"\n tabindex=\"0\"\n class={{\n 'language-switcher__label': true,\n 'language-switcher__label--selected': this.selected === language,\n }}\n >\n {language}\n </span>\n\n {index < this.languages.length - 1 && (\n <span part=\"separator\" class=\"language-switcher__separator\">\n |\n </span>\n )}\n </div>\n );\n })}\n </div>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAyB,wZCa/B,MAAMC,EAAoB,CAAC,KAAM,KAAM,M,MAc1BC,EAAmB,MALhC,WAAAC,CAAAC,G,gEAUUC,KAASC,UAA0CL,EAgCnDI,KAAuBE,wBAAG,CAACC,EAAqBC,IAA2B,KACjF,GAAIA,IAAkBC,UAAW,CAC/BL,KAAKM,UAAUC,KAAKH,E,KACf,CACLJ,KAAKM,UAAUC,KAAKJ,E,CAEtBH,KAAKQ,SAAWL,CAAW,CAuC9B,CA1EC,sBAAAM,CAAuBC,GACrB,IAAKC,MAAMC,QAAQF,GAAW,CAC5B,MAAM,IAAIG,MAAM,uC,CAGlBb,KAAKc,wB,CAOP,iBAAAC,GACE,GAAIf,KAAKQ,WAAaH,UAAW,CAC/BL,KAAKc,wB,EAID,sBAAAA,GACN,MAAME,EAAmBhB,KAAKC,UAAU,GACxC,UAAWe,IAAqB,SAAU,CACxChB,KAAKQ,SAAWQ,EAChBhB,KAAKM,UAAUC,KAAKP,KAAKQ,S,KACpB,CACLR,KAAKQ,SAAWQ,EAAiBC,IACjCjB,KAAKM,UAAUC,KAAKS,EAAiBE,M,EAazC,MAAAC,GACE,OACEC,EAAA,OAAAH,IAAA,2CAAKI,KAAK,YAAYC,MAAM,gCACzBtB,KAAKC,UAAUsB,KAAI,CAACC,EAAMC,KACzB,MAAMC,SAAkBF,IAAS,SAAWA,EAAOA,EAAKP,IACxD,OACEG,EAAA,OACEO,QAAS3B,KAAKE,wBAAwBwB,SAAiBF,IAAS,SAAWA,EAAOA,EAAKN,OACvFU,UAAYC,IACV,GAAIA,EAAEZ,MAAQ,SAAWY,EAAEZ,MAAQ,IAAK,CACtCjB,KAAKE,wBAAwBwB,SAAiBF,IAAS,SAAWA,EAAOA,EAAKN,MAA9ElB,E,IAIJoB,EACE,QAAAC,KAAK,QACLS,SAAS,IACTR,MAAO,CACL,2BAA4B,KAC5B,qCAAsCtB,KAAKQ,WAAakB,IAGzDA,GAGFD,EAAQzB,KAAKC,UAAU8B,OAAS,GAC/BX,EAAA,QAAMC,KAAK,YAAYC,MAAM,gCAEtB,KAEL,I","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as e,h as i,g as r}from"./p-JoG9I7EO.js";import{u as a,l as s}from"./p-BY6hIEFX.js";import{h as o}from"./p-j3oIB5oT.js";import{M as n}from"./p-CfIoyvm-.js";import{a as h}from"./p-SLlDVtvF.js";const l=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host{--size:25rem;display:contents}.drawer{top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.drawer:not(.drawer--visible){position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;pointer-events:none;visibility:hidden}.drawer--contained{position:absolute;z-index:initial}.drawer--fixed{position:fixed;z-index:var(--six-z-index-drawer)}.drawer__panel{position:absolute;display:flex;flex-direction:column;z-index:2;max-width:100%;max-height:100%;background-color:var(--six-drawer-background-color);color:var(--six-drawer-color);box-shadow:var(--six-shadow-large);transition:var(--six-transition-medium) transform;overflow:auto;pointer-events:all}.drawer__panel:focus{outline:none}.drawer--top .drawer__panel{top:0;right:auto;bottom:auto;left:0;width:100%;height:var(--size);transform:translate(0, -100%)}.drawer--right .drawer__panel{top:0;right:0;bottom:auto;left:auto;width:var(--size);height:100%;transform:translate(100%, 0)}.drawer--bottom .drawer__panel{top:auto;right:auto;bottom:0;left:0;width:100%;height:var(--size);transform:translate(0, 100%)}.drawer--left .drawer__panel{top:0;right:auto;bottom:auto;left:0;width:var(--size);height:100%;transform:translate(-100%, 0)}.drawer--open .drawer__panel{transform:none}.drawer__header{display:flex}.drawer__title{flex:1 1 auto;font-size:var(--six-font-size-large);line-height:var(--six-line-height-dense);padding:var(--six-spacing-large)}.drawer__close{flex:0 0 auto;display:flex;align-items:center;font-size:var(--six-font-size-x-large);padding:0 var(--six-spacing-large)}.drawer__body{flex:1 1 auto;padding:var(--six-spacing-large);overflow:auto;-webkit-overflow-scrolling:touch}.drawer__footer{text-align:right;padding:var(--six-spacing-large)}.drawer__footer ::slotted(six-button:not(:last-of-type)){margin-right:var(--six-spacing-x-small)}.drawer:not(.drawer--has-footer) .drawer__footer{display:none}.drawer__overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--six-overlay-background-color);opacity:0;transition:var(--six-transition-medium) opacity;pointer-events:all}.drawer--contained .drawer__overlay{position:absolute}.drawer--open .drawer__overlay{opacity:0.4}";let d=0;const c=class{constructor(i){t(this,i);this.sixShow=e(this,"six-drawer-show");this.sixAfterShow=e(this,"six-drawer-after-show");this.sixHide=e(this,"six-drawer-hide");this.sixAfterHide=e(this,"six-drawer-after-hide");this.sixInitialFocus=e(this,"six-drawer-initial-focus");this.sixRequestClose=e(this,"six-drawer-request-close");this.componentId=`drawer-${++d}`;this.willShow=false;this.willHide=false;this.hasFooter=false;this.isVisible=false;this.open=false;this.label="";this.placement="right";this.contained=false;this.noHeader=false;this.handleCloseClick=()=>{this.preventClose("close-button")};this.handleKeyDown=t=>{if(t.key==="Escape"){this.preventClose("keyboard")}};this.handleOverlayClick=()=>{this.preventClose("overlay")};this.handleSlotChange=()=>{this.hasFooter=o(this.host,"footer")};this.handleTransitionEnd=t=>{const e=t.target;if(t.propertyName==="transform"&&e.classList.contains("drawer__panel")){this.resetTransitionVariables()}}}handleOpenChange(){this.open?this.show():this.hide()}connectedCallback(){this.modal=new n(this.host,{onFocusOut:()=>{var t;return this.contained?null:(t=this.panel)===null||t===void 0?void 0:t.focus()}})}componentWillLoad(){this.handleSlotChange();if(this.open){this.show();this.resetTransitionVariables()}}disconnectedCallback(){a(this.host)}async show(){if(this.willShow||this.modal==null||this.panel==null||this.drawer==null){return}const t=this.panel;const e=this.sixShow.emit();if(e.defaultPrevented){this.open=false;return}this.willShow=true;this.isVisible=true;this.open=true;if(!this.contained){this.modal.activate();s(this.host)}if(this.open){requestAnimationFrame((()=>{const e=this.sixInitialFocus.emit();if(!e.defaultPrevented){t.focus({preventScroll:true})}}))}}async hide(){if(this.willHide||this.modal==null){return}const t=this.sixHide.emit();if(t.defaultPrevented){this.open=true;return}this.willHide=true;this.open=false;this.modal.deactivate();a(this.host)}preventClose(t){const e=this.sixRequestClose.emit({source:t});if(e.defaultPrevented&&this.panel){h(this.panel,[{scale:1},{scale:1.01},{scale:1}],{duration:250});return}this.hide()}resetTransitionVariables(){this.isVisible=this.open;this.willShow=false;this.willHide=false;this.open?this.sixAfterShow.emit():this.sixAfterHide.emit()}render(){return i("div",{key:"17d045e1a06aa424bc59f7316525df73ae031227",ref:t=>this.drawer=t,part:"base",class:{drawer:true,"drawer--open":this.open,"drawer--visible":this.isVisible,"drawer--top":this.placement==="top","drawer--right":this.placement==="right","drawer--bottom":this.placement==="bottom","drawer--left":this.placement==="left","drawer--contained":this.contained,"drawer--fixed":!this.contained,"drawer--has-footer":this.hasFooter},onKeyDown:this.handleKeyDown,onTransitionEnd:this.handleTransitionEnd},i("div",{key:"804fcb75cc49156bfcb6af8958a40c33c20f8202",part:"overlay",class:"drawer__overlay",onClick:this.handleOverlayClick,tabIndex:-1}),i("div",{key:"e5095b200d370fe98163b3f0fa2bbf42ece7fa5f",ref:t=>this.panel=t,part:"panel",class:"drawer__panel",role:"dialog","aria-modal":"true","aria-hidden":this.open?"false":"true","aria-label":this.noHeader?this.label:null,"aria-labelledby":!this.noHeader?`${this.componentId}-title`:null,tabIndex:0},!this.noHeader&&i("header",{key:"c479cfa062277a6f1cf0f7433cff73e94139faea",part:"header",class:"drawer__header"},i("span",{key:"8d60e0eb1cecc9c8f2091b5b8c9aefaa2aac3c91",part:"title",class:"drawer__title",id:`${this.componentId}-title`},i("slot",{key:"26c5fb0feb42c9db7625e98f10cd5cbd0acfd742",name:"label"},this.label||String.fromCharCode(65279))),i("six-icon-button",{key:"454ee7cea511b470ae224c6559ee99f10e9cf095",exportparts:"base:close-button",class:"drawer__close",name:"close",onClick:this.handleCloseClick})),i("div",{key:"4f07be9128e7d2a292298b3e22ec0e5105adc3f3",part:"body",class:"drawer__body"},i("slot",{key:"856a4bd2ee8dacc8b6124d87d8e501a8bd8c3f23"})),i("footer",{key:"721ca11e6b5470d2170d9bc929ba2d973faf9117",part:"footer",class:"drawer__footer"},i("slot",{key:"afb8d35c7fee0fa3e9833ea1b381c2d81f8cb5b0",name:"footer",onSlotchange:this.handleSlotChange}))))}get host(){return r(this)}static get watchers(){return{open:["handleOpenChange"]}}};c.style=l;export{c as six_drawer};
2
+ //# sourceMappingURL=p-56e172e0.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixDrawerCss","id","SixDrawer","constructor","hostRef","this","componentId","willShow","willHide","hasFooter","isVisible","open","label","placement","contained","noHeader","handleCloseClick","preventClose","handleKeyDown","event","key","handleOverlayClick","handleSlotChange","hasSlot","host","handleTransitionEnd","target","propertyName","classList","contains","resetTransitionVariables","handleOpenChange","show","hide","connectedCallback","modal","Modal","onFocusOut","_a","panel","focus","componentWillLoad","disconnectedCallback","unlockBodyScrolling","drawer","sixShow","emit","defaultPrevented","activate","lockBodyScrolling","requestAnimationFrame","sixInitialFocus","preventScroll","sixHide","deactivate","source","sixRequestClose","animateTo","scale","duration","sixAfterShow","sixAfterHide","render","h","ref","el","part","class","onKeyDown","onTransitionEnd","onClick","tabIndex","role","name","String","fromCharCode","exportparts","onSlotchange"],"sources":["src/components/six-drawer/six-drawer.scss?tag=six-drawer&encapsulation=shadow","src/components/six-drawer/six-drawer.tsx"],"sourcesContent":["@import 'src/global/component';\n@import 'src/global/mixins/hidden';\n\n/**\n * @prop --size: The preferred size of the drawer. This will be applied to the drawer's width or height depending on its\n * `placement`. Note that the drawer will shrink to accommodate smaller screens.\n */\n:host {\n --size: 25rem;\n\n display: contents;\n}\n\n.drawer {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n overflow: hidden;\n\n &:not(.drawer--visible) {\n @include hidden;\n }\n}\n\n.drawer--contained {\n position: absolute;\n z-index: initial;\n}\n\n.drawer--fixed {\n position: fixed;\n z-index: var(--six-z-index-drawer);\n}\n\n.drawer__panel {\n position: absolute;\n display: flex;\n flex-direction: column;\n z-index: 2;\n max-width: 100%;\n max-height: 100%;\n background-color: var(--six-drawer-background-color);\n color: var(--six-drawer-color);\n box-shadow: var(--six-shadow-large);\n transition: var(--six-transition-medium) transform;\n overflow: auto;\n pointer-events: all;\n\n &:focus {\n outline: none;\n }\n}\n\n.drawer--top .drawer__panel {\n top: 0;\n right: auto;\n bottom: auto;\n left: 0;\n width: 100%;\n height: var(--size);\n transform: translate(0, -100%);\n}\n\n.drawer--right .drawer__panel {\n top: 0;\n right: 0;\n bottom: auto;\n left: auto;\n width: var(--size);\n height: 100%;\n transform: translate(100%, 0);\n}\n\n.drawer--bottom .drawer__panel {\n top: auto;\n right: auto;\n bottom: 0;\n left: 0;\n width: 100%;\n height: var(--size);\n transform: translate(0, 100%);\n}\n\n.drawer--left .drawer__panel {\n top: 0;\n right: auto;\n bottom: auto;\n left: 0;\n width: var(--size);\n height: 100%;\n transform: translate(-100%, 0);\n}\n\n.drawer--open .drawer__panel {\n // don't use translate here or it will cause problems with popovers inside the drawer e.g. dropdown, select etc.\n transform: none;\n}\n\n.drawer__header {\n display: flex;\n}\n\n.drawer__title {\n flex: 1 1 auto;\n font-size: var(--six-font-size-large);\n line-height: var(--six-line-height-dense);\n padding: var(--six-spacing-large);\n}\n\n.drawer__close {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-size: var(--six-font-size-x-large);\n padding: 0 var(--six-spacing-large);\n}\n\n.drawer__body {\n flex: 1 1 auto;\n padding: var(--six-spacing-large);\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n.drawer__footer {\n text-align: right;\n padding: var(--six-spacing-large);\n\n ::slotted(six-button:not(:last-of-type)) {\n margin-right: var(--six-spacing-x-small);\n }\n}\n\n.drawer:not(.drawer--has-footer) .drawer__footer {\n display: none;\n}\n\n.drawer__overlay {\n display: block;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--six-overlay-background-color);\n opacity: 0;\n transition: var(--six-transition-medium) opacity;\n pointer-events: all;\n}\n\n.drawer--contained .drawer__overlay {\n position: absolute;\n}\n\n.drawer--open .drawer__overlay {\n opacity: 0.4;\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../utils/scroll';\nimport { hasSlot } from '../../utils/slot';\nimport Modal from '../../utils/modal';\nimport { EmptyPayload } from '../../utils/types';\nimport { animateTo } from '../../utils/animation';\n\nexport interface SixDrawerRequestClose {\n source: 'close-button' | 'keyboard' | 'overlay';\n}\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The drawer's content.\n * @slot label - The drawer's label. Alternatively, you can use the label prop.\n * @slot footer - The drawer's footer, usually one or more buttons representing various options.\n *\n * @part base - The component's base wrapper.\n * @part overlay - The overlay.\n * @part panel - The drawer panel (where the drawer and its content is rendered).\n * @part header - The drawer header.\n * @part title - The drawer title.\n * @part close-button - The close button.\n * @part body - The drawer body.\n * @part footer - The drawer footer.\n */\n\n@Component({\n tag: 'six-drawer',\n styleUrl: 'six-drawer.scss',\n shadow: true,\n})\nexport class SixDrawer {\n private componentId = `drawer-${++id}`;\n private drawer?: HTMLElement;\n private modal?: Modal;\n private panel?: HTMLElement;\n private willShow = false;\n private willHide = false;\n\n @Element() host!: HTMLSixDrawerElement;\n\n @State() hasFooter = false;\n @State() isVisible = false;\n\n /** Indicates whether the drawer is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The drawer's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility.\n */\n @Prop() label = '';\n\n /** The direction from which the drawer will open. */\n @Prop() placement: 'top' | 'right' | 'bottom' | 'left' = 'right';\n\n /**\n * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\n * its parent element, set this prop and add `position: relative` to the parent.\n */\n @Prop() contained = false;\n\n /**\n * Removes the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the drawer.\n */\n @Prop() noHeader = false;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the drawer opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-drawer-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the drawer opens and all transitions are complete. */\n @Event({ eventName: 'six-drawer-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the drawer closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-drawer-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the drawer closes and all transitions are complete. */\n @Event({ eventName: 'six-drawer-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the drawer opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the drawer, such as an input or button.\n */\n @Event({ eventName: 'six-drawer-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or\n * pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing\n * the drawer will result in destructive behavior such as data loss.\n */\n @Event({ eventName: 'six-drawer-request-close' }) sixRequestClose!: EventEmitter<SixDrawerRequestClose>;\n\n connectedCallback() {\n this.modal = new Modal(this.host, {\n onFocusOut: () => (this.contained ? null : this.panel?.focus()),\n });\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n\n // Show on init if open\n if (this.open) {\n this.show();\n // if the sidebar is open by default we need to manually reset the\n // transition variables since there will be no transition event\n this.resetTransitionVariables();\n }\n }\n\n disconnectedCallback() {\n unlockBodyScrolling(this.host);\n }\n\n /** Shows the drawer */\n @Method()\n async show() {\n if (this.willShow || this.modal == null || this.panel == null || this.drawer == null) {\n return;\n }\n const panel = this.panel;\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n\n // Lock body scrolling only if the drawer isn't contained\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this.host);\n }\n\n if (this.open) {\n // Wait for the next frame before setting initial focus so the dialog is technically visible\n requestAnimationFrame(() => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus({ preventScroll: true });\n }\n });\n }\n }\n\n /** Hides the drawer */\n @Method()\n async hide() {\n if (this.willHide || this.modal == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n this.modal.deactivate();\n\n unlockBodyScrolling(this.host);\n }\n\n private handleCloseClick = () => {\n this.preventClose('close-button');\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.preventClose('keyboard');\n }\n };\n\n private handleOverlayClick = () => {\n this.preventClose('overlay');\n };\n\n private preventClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const sixRequestClose = this.sixRequestClose.emit({ source });\n\n if (sixRequestClose.defaultPrevented && this.panel) {\n animateTo(this.panel, [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }], { duration: 250 });\n return;\n }\n\n this.hide();\n }\n\n private handleSlotChange = () => {\n this.hasFooter = hasSlot(this.host, 'footer');\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'transform' && target.classList.contains('drawer__panel')) {\n this.resetTransitionVariables();\n }\n };\n\n private resetTransitionVariables() {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n\n render() {\n return (\n <div\n ref={(el) => (this.drawer = el)}\n part=\"base\"\n class={{\n drawer: true,\n 'drawer--open': this.open,\n 'drawer--visible': this.isVisible,\n 'drawer--top': this.placement === 'top',\n 'drawer--right': this.placement === 'right',\n 'drawer--bottom': this.placement === 'bottom',\n 'drawer--left': this.placement === 'left',\n 'drawer--contained': this.contained,\n 'drawer--fixed': !this.contained,\n 'drawer--has-footer': this.hasFooter,\n }}\n onKeyDown={this.handleKeyDown}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <div part=\"overlay\" class=\"drawer__overlay\" onClick={this.handleOverlayClick} tabIndex={-1} />\n\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"drawer__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-label={this.noHeader ? this.label : null}\n aria-labelledby={!this.noHeader ? `${this.componentId}-title` : null}\n tabIndex={0}\n >\n {!this.noHeader && (\n <header part=\"header\" class=\"drawer__header\">\n <span part=\"title\" class=\"drawer__title\" id={`${this.componentId}-title`}>\n <slot name=\"label\">\n {/* If there's no label, use an invisible character to prevent the heading from collapsing */}\n {this.label || String.fromCharCode(65279)}\n </slot>\n </span>\n <six-icon-button\n exportparts=\"base:close-button\"\n class=\"drawer__close\"\n name=\"close\"\n onClick={this.handleCloseClick}\n />\n </header>\n )}\n\n <div part=\"body\" class=\"drawer__body\">\n <slot />\n </div>\n\n <footer part=\"footer\" class=\"drawer__footer\">\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </footer>\n </div>\n </div>\n );\n }\n}\n"],"mappings":"gNAAA,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JoG9I7EO.js";const o=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host{display:block}.menu-label{font-family:var(--six-font-sans);font-size:var(--six-font-size-small);font-weight:var(--six-font-weight-normal);line-height:var(--six-line-height-normal);letter-spacing:var(--six-letter-spacing-normal);color:var(--six-input-label-color);padding:var(--six-spacing-xx-small) var(--six-spacing-small);user-select:none}";const i=class{constructor(e){s(this,e)}render(){return e("div",{key:"ac09a02af0b1d088f83877d5065b9b747032be77",part:"base",class:"menu-label"},e("slot",{key:"a4f45f90b223d3951bdb5a36b8667d67bcbf1fc7"}))}};i.style=o;export{i as six_menu_label};
2
+ //# sourceMappingURL=p-5b52d097.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixMenuLabelCss","SixMenuLabel","render","h","key","part","class"],"sources":["src/components/six-menu-label/six-menu-label.scss?tag=six-menu-label&encapsulation=shadow","src/components/six-menu-label/six-menu-label.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: block;\n}\n\n.menu-label {\n font-family: var(--six-font-sans);\n font-size: var(--six-font-size-small);\n font-weight: var(--six-font-weight-normal);\n line-height: var(--six-line-height-normal);\n letter-spacing: var(--six-letter-spacing-normal);\n color: var(--six-input-label-color);\n padding: var(--six-spacing-xx-small) var(--six-spacing-small);\n user-select: none;\n}\n","import { Component, h } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The menu label's content.\n *\n * @part base - The component's base wrapper.\n */\n\n@Component({\n tag: 'six-menu-label',\n styleUrl: 'six-menu-label.scss',\n shadow: true,\n})\nexport class SixMenuLabel {\n render() {\n return (\n <div part=\"base\" class=\"menu-label\">\n <slot />\n </div>\n );\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAkB,kkB,MCkBXC,EAAY,M,yBACvB,MAAAC,GACE,OACEC,EAAA,OAAAC,IAAA,2CAAKC,KAAK,OAAOC,MAAM,cACrBH,EAAQ,QAAAC,IAAA,6C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as s}from"./p-JoG9I7EO.js";const e=":host{display:block}six-button::part(base){border:none;padding-right:0}six-button[disabled]::part(base){color:var(--six-color-web-rock-600);background-color:transparent}six-button::part(label){border:none;font-weight:var(--six-font-weight-bold);font-size:var(--six-font-size-small);padding-left:0}six-button:focus::part(base),six-button:hover::part(base),six-button:active::part(base){background-color:initial;border-color:initial}six-button:hover::part(base),six-button:active::part(base){color:var(--six-header-selected-app-color-hover)}";const a=class{constructor(s){t(this,s);this.caret=false;this.disabled=false;this.loading=false;this.submit=false;this.reset=false}render(){return s("six-button",{key:"f24f383b4bfab7416a6da813c08fe42905560d32",type:"secondary",caret:this.caret,disabled:this.disabled,loading:this.loading,submit:this.submit,reset:this.reset},s("slot",{key:"0c5dff4023b79b26d0e7c8d79adb78223d4df61c",name:"suffix",slot:"suffix"}),s("slot",{key:"cdf0bf1a34a284066e288c1b138afcedb02c7e4a",name:"prefix",slot:"prefix"}),s("slot",{key:"c5e704b918a9e2395a61f40fdbf3ac74da97285f"}))}};a.style=e;export{a as six_header_menu_button};
2
+ //# sourceMappingURL=p-65e53a1b.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixHeaderMenuButtonCss","SixHeaderMenuButton","constructor","hostRef","this","caret","disabled","loading","submit","reset","render","h","key","type","name","slot"],"sources":["src/components/six-header-menu-button/six-header-menu-button.scss?tag=six-header-menu-button&encapsulation=shadow","src/components/six-header-menu-button/six-header-menu-button.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\nsix-button::part(base) {\n border: none;\n padding-right: 0;\n}\n\nsix-button[disabled]::part(base) {\n color: var(--six-color-web-rock-600);\n background-color: transparent;\n}\n\nsix-button::part(label) {\n border: none;\n font-weight: var(--six-font-weight-bold);\n font-size: var(--six-font-size-small);\n padding-left: 0;\n}\n\nsix-button:focus::part(base),\nsix-button:hover::part(base),\nsix-button:active::part(base) {\n background-color: initial;\n border-color: initial;\n}\n\nsix-button:hover::part(base),\nsix-button:active::part(base) {\n color: var(--six-header-selected-app-color-hover);\n}\n","import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @since 4.2.7\n * @status stable\n */\n\n@Component({\n tag: 'six-header-menu-button',\n styleUrl: 'six-header-menu-button.scss',\n shadow: true,\n})\nexport class SixHeaderMenuButton {\n /** Set to true to draw the button with a caret for use with dropdowns, popovers, etc. */\n @Prop() caret = false;\n\n /** Set to true to disable the button. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set to true to draw the button in a loading state. */\n @Prop({ reflect: true }) loading = false;\n\n /** Indicates if activating the button should submit the form. Ignored when `href` is set. */\n @Prop({ reflect: true }) submit = false;\n\n /** Indicates if activating the button should reset the form. */\n @Prop({ reflect: true }) reset = false;\n\n render() {\n return (\n <six-button\n type=\"secondary\"\n caret={this.caret}\n disabled={this.disabled}\n loading={this.loading}\n submit={this.submit}\n reset={this.reset}\n >\n <slot name=\"suffix\" slot=\"suffix\"></slot>\n <slot name=\"prefix\" slot=\"prefix\"></slot>\n <slot />\n </six-button>\n );\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAyB,8hB,MCYlBC,EAAmB,MALhC,WAAAC,CAAAC,G,UAOUC,KAAKC,MAAG,MAGSD,KAAQE,SAAG,MAGXF,KAAOG,QAAG,MAGVH,KAAMI,OAAG,MAGTJ,KAAKK,MAAG,KAkBlC,CAhBC,MAAAC,GACE,OACEC,EAAA,cAAAC,IAAA,2CACEC,KAAK,YACLR,MAAOD,KAAKC,MACZC,SAAUF,KAAKE,SACfC,QAASH,KAAKG,QACdC,OAAQJ,KAAKI,OACbC,MAAOL,KAAKK,OAEZE,EAAA,QAAAC,IAAA,2CAAME,KAAK,SAASC,KAAK,WACzBJ,EAAA,QAAAC,IAAA,2CAAME,KAAK,SAASC,KAAK,WACzBJ,EAAQ,QAAAC,IAAA,6C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as t,h as s,g as i}from"./p-JoG9I7EO.js";import{h as o,a as l,g as r}from"./p-j3oIB5oT.js";import{F as a}from"./p-Dg9366Gk.js";import{E as n}from"./p-C4h4qpGl.js";import{D as c,a as h}from"./p-CKhg9ibv.js";import{a as d}from"./p-1oJarDAY.js";function u(e,t){if(t){if(Array.isArray(e)){return e.filter((e=>typeof e==="string"))}else if(typeof e==="string"&&e.length>0){return[e]}else{return[]}}else{if(typeof e==="string"){return e}else{return""}}}function f(e){return u(e,true)}function b(e,t){if(Array.isArray(e)&&Array.isArray(t)){return e.length===t.length&&e.every(((e,s)=>e===t[s]))}else if(typeof e==="string"&&typeof t==="string"){return e===t}return false}const p=':host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.form-control .form-control__label{display:none}.form-control .form-control__help-text{display:none}.form-control .form-control__error-text{display:none;text-align:left}.form-control--has-label .form-control__label{display:inline-block;color:var(--six-input-label-color);font-weight:var(--six-font-weight-bold);margin-bottom:var(--six-spacing-x-small)}.form-control--has-label .form-control__label__required::after{color:var(--six-color-danger-800);content:"*";transform:scale(1.1);margin-left:var(--six-spacing-xxx-small);position:absolute}.form-control--has-label.form-control--small .form-control__label{font-size:var(--six-input-label-font-size-small)}.form-control--has-label.form-control--medium .form-control__label{font-size:var(--six-input-label-font-size-medium)}.form-control--has-label.form-control--large .form-control_label{font-size:var(--six-input-label-font-size-large)}.form-control--has-help-text .form-control__help-text{display:block;color:var(--six-input-help-text-color);margin-top:var(--six-spacing-x-small)}.form-control--has-help-text .form-control__help-text ::slotted(*){margin-top:var(--six-spacing-xxx-small)}.form-control--has-help-text.form-control--small .form-control__help-text{font-size:var(--six-input-help-text-font-size-small)}.form-control--has-help-text.form-control--medium .form-control__help-text{font-size:var(--six-input-help-text-font-size-medium)}.form-control--has-help-text.form-control--large .form-control__help-text{font-size:var(--six-input-help-text-font-size-large)}.form-control--has-error-text .form-control__error-text{display:block;margin-top:var(--six-spacing-xxx-small)}.form-control--has-error-text .form-control__error-text ::slotted(*){margin-top:var(--six-spacing-xxx-small)}.form-control--has-error-text.form-control--small .form-control__error-text{font-size:var(--six-input-help-text-font-size-small)}.form-control--has-error-text.form-control--medium .form-control__error-text{font-size:var(--six-input-help-text-font-size-medium)}.form-control--has-error-text.form-control--large .form-control__error-text{font-size:var(--six-input-help-text-font-size-large)}.form-control--disabled .form-control__help-text{color:var(--six-input-help-text-color-disabled)}.form-control--disabled .form-control__label{color:var(--six-input-label-color-disabled)}.form-control--invalid:not(.form-control--disabled) .form-control__label{color:var(--six-input-label-color)}:host,.select{display:block}.select__box{display:inline-flex;align-items:center;justify-content:start;position:relative;width:100%;font-family:var(--six-font-family);font-weight:var(--six-input-font-weight);font-size:var(--six-input-font-size-medium);letter-spacing:var(--six-input-letter-spacing);background-color:var(--six-input-background-color);border:solid var(--six-border-width) var(--six-input-border-color);vertical-align:middle;transition:var(--six-transition-fast) color, var(--six-transition-fast) border, var(--six-transition-fast) box-shadow;cursor:pointer}.select__box--line{border:none;border-bottom:solid var(--six-border-width) var(--six-input-border-color)}.select__box--autocomplete{border:none;overflow:initial}.select:not(.select--disabled) .select__box:hover{background-color:var(--six-input-background-color-hover);color:var(--six-input-color-hover);border-bottom-color:var(--six-input-border-color-hover)}.select:not(.select--disabled) .select__box:hover:not(.select__box--line){border-color:var(--six-input-border-color-hover)}.select:not(.select--disabled) .select__box:focus{background-color:var(--six-input-background-color-focus);outline:none;color:var(--six-input-color-focus);border-bottom-color:var(--six-input-border-color-focus);box-shadow:0 1px 0 0 var(--six-input-border-color-focus)}.select:not(.select--disabled) .select__box:focus:not(.select__box--line){border-color:var(--six-input-border-color-focus);box-shadow:var(--six-input-focus-shadow)}.select--disabled .select__box{background-color:var(--six-input-background-color-disabled);color:var(--six-input-color-disabled);cursor:not-allowed;outline:none}.select--disabled .select__box:not(.select__box--line){border-color:var(--six-input-border-color-disabled)}.select--disabled .select__clear{pointer-events:none}.select--invalid:not(.select--disabled):not(.select--focused) .select__box{border-bottom-color:var(--six-input-border-color-danger)}.select--invalid:not(.select--disabled):not(.select--focused) .select__box:not(.input--line){border-color:var(--six-input-border-color-danger)}.display__values{display:flex;flex:1 1 auto;align-items:center;user-select:none;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none}.display__values::-webkit-scrollbar{width:0;height:0}.display__values-values{flex:0 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.display__values-and-counter{display:flex;overflow:hidden}.select__clear{flex-shrink:0;flex-grow:0;display:inline}.select__icon{flex-shrink:0;flex-grow:0;display:inline;transition:var(--six-transition-medium) transform ease}.select--open .select__icon{transform:rotate(-180deg)}.placeholder{color:var(--six-input-placeholder-color)}.select--disabled .placeholder{color:var(--six-input-placeholder-color-disabled)}.select__input{position:absolute;top:0;left:0;width:100%;height:100%}.select--small .select__box{border-radius:var(--six-input-border-radius-small);font-size:var(--six-input-font-size-small);min-height:var(--six-height-small)}.select--small .select__box--line{border:none;border-bottom:solid var(--six-border-width) var(--six-input-border-color)}.select--small .display__values{margin:0 0 0 var(--six-input-spacing-small)}.select--small .select__clear{margin-right:var(--six-spacing-xxx-small)}.select--small .select__icon{margin-right:var(--six-spacing-x-small)}.select--medium .select__box{border-radius:var(--six-input-border-radius-medium);font-size:var(--six-input-font-size-medium);min-height:var(--six-height-medium)}.select--medium .select__box--line{border:none;border-bottom:solid var(--six-border-width) var(--six-input-border-color)}.select--medium .display__values{margin:0 0 0 var(--six-input-spacing-medium)}.select--medium .select__clear{margin-right:var(--six-spacing-xxx-small)}.select--medium .select__icon{margin-right:var(--six-spacing-x-small)}.select--large .select__box{border-radius:var(--six-input-border-radius-large);font-size:var(--six-input-font-size-large);min-height:var(--six-height-large)}.select--large .select__box--line{border:none;border-bottom:solid var(--six-border-width) var(--six-input-border-color)}.select--large .display__values{margin:0 0 0 var(--six-input-spacing-large)}.select--large .select__clear{margin-right:var(--six-spacing-xxx-small)}.select--large .select__icon{margin-right:var(--six-spacing-x-small)}.select--pill.select--small .select__box{border-radius:var(--six-height-small)}.select--pill.select--medium .select__box{border-radius:var(--six-height-medium)}.select--pill.select--large .select__box{border-radius:var(--six-height-large)}.select__menu{width:100%}.select__menu--hidden{display:none}six-icon-button::part(base){padding-top:0;padding-bottom:0}.selection-container--border{border-bottom:solid var(--six-border-width) var(--six-menu-divider-color);padding-top:var(--six-spacing-xx-small);padding-bottom:var(--six-spacing-xx-small)}.display-value--hidden{display:none}.overflow-count{color:var(--six-color-web-rock-600);padding-left:var(--six-spacing-x-small)}.overflow-count-hidden{display:none}.separator--hidden{display:none}.select-all{border-top:1px solid var(--six-color-web-rock-300);display:flex;justify-content:end}';let x=0;const m=class{constructor(i){e(this,i);this.sixChange=t(this,"six-select-change");this.sixFocus=t(this,"six-select-focus");this.sixBlur=t(this,"six-select-blur");this.inputId=`select-${++x}`;this.labelId=`select-label-${x}`;this.helpTextId=`select-help-text-${x}`;this.errorTextId=`select-error-text-${x}`;this.eventListeners=new n;this.activeItemIndex=-1;this.resizeObserver=new ResizeObserver((()=>this.updateDisplayedValues()));this.hasFocus=false;this.hasHelpTextSlot=false;this.hasLabelSlot=false;this.hasErrorTextSlot=false;this.isOpen=false;this.displayedValues=[];this.selectionContainerItems=[];this.multiple=false;this.selectAllButton=false;this.disabled=false;this.name="";this.placeholder="";this.size="medium";this.hoist=false;this.value="";this.pill=false;this.helpText="";this.required=false;this.clearable=false;this.label="";this.errorText="";this.invalid=false;this.line=false;this.filter=false;this.asyncFilter=false;this.autocomplete=false;this.inputDebounce=c;this.options=null;this.virtualScroll=false;this.handleBlur=()=>{this.hasFocus=false;this.sixBlur.emit()};this.handleFocus=()=>{this.hasFocus=true;this.sixFocus.emit()};this.handleClearClick=async e=>{var t;e.stopPropagation();await this.clearValues();await((t=this.dropdown)===null||t===void 0?void 0:t.show());await this.setFocus();this.sixChange.emit({value:this.value,isSelected:true})};this.handleKeyDown=e=>{var t,s,i,o;if(this.virtualScroll||this.autocomplete){return}if(["Control","Escape"].includes(e.key)){return}const l=this.getVisibleItems();if(this.isOpen&&this.multiple&&e.code==="KeyA"&&e.ctrlKey){e.preventDefault();this.selectAll();return}if(e.key==="Tab"){if(this.isOpen){(t=this.dropdown)===null||t===void 0?void 0:t.hide()}return}if(e.key===" "&&!this.multiple){return}if(this.activeItemIndex>=0&&["Enter"," "].includes(e.key)){const t=l.at(this.activeItemIndex);e.preventDefault();t===null||t===void 0?void 0:t.click();return}if(["ArrowDown","ArrowUp","Home","End"].includes(e.key)){if(!this.isOpen){(s=this.dropdown)===null||s===void 0?void 0:s.show()}if(l.length>0){e.preventDefault();if(e.key==="ArrowDown"){this.activeItemIndex++}else if(e.key==="ArrowUp"){this.activeItemIndex--}else if(e.key==="Home"){this.activeItemIndex=0}else if(e.key==="End"){this.activeItemIndex=l.length-1}if(this.activeItemIndex<0)this.activeItemIndex=0;if(this.activeItemIndex>l.length-1)this.activeItemIndex=l.length-1;(i=l.at(this.activeItemIndex))===null||i===void 0?void 0:i.setFocus()}}if(!this.isOpen){e.stopPropagation();e.preventDefault();(o=this.dropdown)===null||o===void 0?void 0:o.show()}};this.handleLabelClick=()=>{var e;(e=this.box)===null||e===void 0?void 0:e.focus()};this.handleMenuSelect=e=>{const t=e.detail.item;if(this.multiple){t.checked=!t.checked}else{this.getItems().forEach((e=>e.checked=false));t.checked=true}this.syncValueFromItems();this.sixChange.emit({value:this.value,isSelected:true})};this.handleMenuShow=e=>{if(this.disabled){e.preventDefault();return}this.activeItemIndex=-1;if(!this.virtualScroll&&this.multiple){const e=this.getItems();e.forEach((e=>e.style.display="unset"));const t=v(f(this.value),e);t.forEach((e=>e.style.display="none"));this.selectionContainerItems=t.map((e=>s("six-menu-item",{key:e.value,checked:true,value:e.value,checkType:this.multiple?"checkbox":"check",onClick:t=>{t.stopPropagation();if(!this.disabled){const s=t.target;const i=s.checked;s.checked=!i;e.checked=!i;this.syncValueFromItems();this.sixChange.emit({value:this.value,isSelected:true})}}},this.getSlottedItem(e,"prefix"),this.getItemLabel(e),this.getSlottedItem(e,"suffix"))))}this.isOpen=true};this.handleMenuHide=()=>{this.isOpen=false;if(this.multiple){this.handleBlur()}};this.handleSlotChange=()=>{this.hasHelpTextSlot=o(this.host,"help-text");this.hasLabelSlot=o(this.host,"label");this.hasErrorTextSlot=o(this.host,"error-text");this.syncItemsFromValue()}}handleDisabledChange(){var e;if(this.disabled&&this.isOpen){(e=this.dropdown)===null||e===void 0?void 0:e.hide()}}handleLabelChange(){this.handleSlotChange()}handleMultipleChange(){this.value=u(this.value,this.multiple);this.syncItemsFromValue()}async handleValueChange(){const e=u(this.value,this.multiple);if(!b(this.value,e)){this.value=e}await this.syncItemsFromValue()}connectedCallback(){var e;if(this.virtualScroll&&this.options===null){console.error("Options must be defined when using virtual scrolling")}(e=this.host.shadowRoot)===null||e===void 0?void 0:e.addEventListener("slotchange",this.handleSlotChange);this.eventListeners.forward("six-select-change","change",this.host);this.eventListeners.forward("six-select-blur","blur",this.host);this.eventListeners.forward("six-select-focus","focus",this.host);if(this.displayValuesContainer){this.resizeObserver.observe(this.displayValuesContainer)}}componentWillLoad(){this.value=u(this.value,this.multiple);this.handleSlotChange()}componentDidLoad(){if(this.displayValuesContainer){this.resizeObserver.observe(this.displayValuesContainer)}requestAnimationFrame((()=>this.syncItemsFromValue()));if(this.autocomplete&&this.autocompleteInput!=null){const e=this.autocompleteInput;this.eventListeners.add(e,"six-input-input",h((t=>{var s;this.value=e.value;this.sixChange.emit({value:this.value,isSelected:false});t.stopPropagation();if(this.virtualScroll||this.value.length>0){(s=this.dropdown)===null||s===void 0?void 0:s.show()}}),this.inputDebounce));const t=this.displayedValues.join(", ");e.value=t}}disconnectedCallback(){var e;this.resizeObserver.disconnect();(e=this.host.shadowRoot)===null||e===void 0?void 0:e.removeEventListener("slotchange",this.handleSlotChange);this.eventListeners.removeAll()}async setFocus(e){var t;this.hasFocus=true;(t=this.box)===null||t===void 0?void 0:t.focus(e)}getItemLabel(e){var t,s;const i=(t=e.shadowRoot)===null||t===void 0?void 0:t.querySelector("slot:not([name])");if(i!=null){return l(i)}else{return(s=e.textContent)!==null&&s!==void 0?s:""}}getSlottedItem(e,t){const i=r(e,t);if(i==null){return null}const o=Object.fromEntries([...i.attributes].map((e=>[e.name,e.value])));return s(i.tagName.toLowerCase(),Object.assign(Object.assign({},o),{innerHTML:i.innerHTML}))}getItems(){if(this.options!==null&&this.menu!=null&&this.menu.shadowRoot!=null){return[...this.menu.shadowRoot.querySelectorAll("six-menu-item")]}return[...this.host.querySelectorAll("six-menu-item")]}getVisibleItems(){const e=this.getSelectionContainerItems();const t=this.getItems();return[...e,...t].filter((e=>e.style.display!=="none"))}getSelectionContainerItems(){var e;return[...((e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("six-menu-item"))||[]]}async clearValues(){this.value=this.multiple?[]:"";this.selectionContainerItems=[];await this.syncItemsFromValue()}selectAll(){const e=this.getVisibleItems();const t=this.hasDeselectedOptions();e.filter((e=>!e.disabled)).forEach((e=>e.checked=t));const s=e.filter((e=>e.checked)).map((e=>e.value));this.value=t?s:[];this.sixChange.emit({value:this.value,isSelected:true})}async syncItemsFromValue(){const e=this.getSelectionContainerItems();const t=this.getItems();const s=u(this.value,this.multiple);e.forEach((e=>{e.checkType=this.multiple?"checkbox":"check";if(Array.isArray(s)){e.checked=s.some((t=>t===e.value))}else{e.checked=s===e.value}}));t.forEach((e=>{e.checkType=this.multiple?"checkbox":"check";if(Array.isArray(s)){e.checked=s.some((t=>t===e.value))}else{e.checked=s===e.value}}));const i=v(f(this.value),t);this.displayedValues=i.map((e=>this.getItemLabel(e)));if(this.autocomplete&&this.autocompleteInput!=null&&!this.hasFocus){const e=this.displayedValues.join(", ");this.autocompleteInput.value=e}requestAnimationFrame((()=>{this.updateDisplayedValues()}))}syncValueFromItems(){const e=this.getItems();const t=e.filter((e=>e.checked)).map((e=>e.value));if(this.multiple){this.value=t}else{this.value=t.length>0?t[0]:""}}updateDisplayedValues(){var e,t;const s=[...(t=(e=this.displayValuesContainer)===null||e===void 0?void 0:e.querySelectorAll(".display-value"))!==null&&t!==void 0?t:[]];if(this.displayValuesContainer==null||s.length===0||this.overflowCount==null){return}s.forEach((e=>{z(e);k(e)}));const i=s[s.length-1].querySelector(".separator");if(i==null)return;let o=_(this.displayValuesContainer)+_(i);let{fitCount:l,overflowCount:r}=g(s,o);if(r===0){T(this.overflowCount);y(s,l)}else{S(this.overflowCount,r+1);A(this.overflowCount);o=o-_(this.overflowCount);({fitCount:l,overflowCount:r}=g(s,o));S(this.overflowCount,r);y(s,l)}}render(){var e;const t=this.hasSelection();const i=this.getItems();const o=i.length>0;const l=this.hasDeselectedOptions();let r=false;let n=o;if(this.clearable&&t){r=true;n=false}return s(a,{key:"9312ec8e2cedbb88f1404d6ddb2f8e67a952f6da",inputId:this.inputId,label:this.label,labelId:this.labelId,hasLabelSlot:this.hasLabelSlot,helpTextId:this.helpTextId,helpText:this.helpText,hasHelpTextSlot:this.hasHelpTextSlot,errorTextId:this.errorTextId,errorText:this.errorText,errorTextCount:this.errorTextCount,hasErrorTextSlot:this.hasErrorTextSlot,size:this.size,onLabelClick:this.handleLabelClick,disabled:this.disabled,required:this.required,displayError:this.invalid},s("six-dropdown",{key:"77887d36593e973b83d80aec7fcb51c9f85d9d0c",part:"base",ref:e=>this.dropdown=e,hoist:this.hoist,matchTriggerWidth:true,closeOnSelect:!this.multiple,containingElement:this.host,disableHideOnEnterAndSpace:this.autocomplete,class:{select:true,"select--open":this.isOpen,"select--empty":((e=this.value)===null||e===void 0?void 0:e.length)===0,"select--focused":this.hasFocus,"select--clearable":this.clearable,"select--disabled":this.disabled,"select--multiple":this.multiple,"select--has-tags":this.multiple&&t,"select--placeholder-visible":this.displayedValues.length===0,"select--small":this.size==="small","select--medium":this.size==="medium","select--large":this.size==="large","select--pill":this.pill,"select--invalid":this.invalid},onKeyDown:this.handleKeyDown,"onSix-dropdown-show":this.handleMenuShow,"onSix-dropdown-hide":this.handleMenuHide,filterPlaceholder:this.filterPlaceholder,filterDebounce:this.filterDebounce,filter:this.filter,asyncFilter:this.asyncFilter,virtualScroll:this.virtualScroll},s("div",{key:"afddffa7f575127a3c53b2bd23f996809adb9844",slot:"trigger",ref:e=>this.box=e,id:this.inputId,class:{select__box:true,"select__box--line":this.line,"select__box--autocomplete":this.autocomplete},role:"combobox","aria-labelledby":this.labelId,"aria-describedby":this.helpTextId,"aria-haspopup":"true","aria-expanded":this.isOpen?"true":"false",tabIndex:this.disabled?-1:0,onBlur:this.handleBlur,onFocus:this.handleFocus},s("div",{key:"21b0e4ccb4535037e197b7dbd9a23f0bc37cf5f8",class:"display__values",ref:e=>this.displayValuesContainer=e},this.displayedValues.length>0?s("span",{class:"display__values-and-counter"},s("span",{class:"display__values-values"},this.displayedValues.map((e=>s("span",{key:e,class:"display-value"},e,s("span",{class:{separator:true}},", "))))),s("span",{ref:e=>this.overflowCount=e,class:"overflow-count"},"+10")):s("span",{class:"placeholder"},this.placeholder)),r&&s("six-icon-button",{key:"4dfa510d19ed31997002b1eefff2e467a34b5fd0",exportparts:"base:clear-button",class:"select__clear",name:"clear",size:"small",onClick:this.handleClearClick,tabindex:"-1"}),n&&s("span",{key:"f03b60a3935c809d9f98342ad7b27698abaf537c",part:"icon",class:"select__icon"},s("six-icon",{key:"271b8b90377be367a38abe77df0b5ae60960b9a8",size:"medium"},"expand_more")),s("six-input",{key:"0a8a3e663dd316f38e0d62625cd6c824022b0fd1",ref:e=>this.autocompleteInput=e,class:{select__input:true,"sr-only":!this.autocomplete},"aria-hidden":"true",required:this.required,onFocus:this.handleFocus,clearable:this.clearable,placeholder:this.placeholder,pill:this.pill,disabled:this.disabled,size:this.size,tabIndex:-1})),s("div",{key:"a5fe2da3ed21d2e8cacbeb84ada7538f960b182e",class:{"selection-container":true,"selection-container--border":this.selectionContainerItems.length>0&&i.length!==this.selectionContainerItems.length}},this.selectionContainerItems),s("six-menu",{key:"ba0c95940b5af32bdd1a8f5f65e4ea6f81ee5bb1",ref:e=>this.menu=e,part:"menu",class:{select__menu:true,"select__menu--hidden":!o},"onSix-menu-item-selected":this.handleMenuSelect,items:this.options,virtualScroll:this.virtualScroll,"remove-box-shadow":true,"disable-keyboard-handling":true},s("slot",{key:"f6be5fd5f9070395df4e165f0f912d274ffcc4b5",onSlotchange:this.handleSlotChange})),this.multiple&&this.selectAllButton&&s("div",{key:"bc6fe23ff6e09d9cb1c9709dc78199600d08cb3f",class:"select-all",slot:"dropdown-footer"},s("six-button",{key:"4ac03af8a7233ed46ac2d9e4ed515a79387a2d2b",type:"link",onClick:()=>this.selectAll()},this.selectAllText==null?D(l):this.selectAllText))))}hasSelection(){return this.multiple?this.value.length>0:this.value!==""}hasDeselectedOptions(){return this.getVisibleItems().some((e=>!e.disabled&&!e.checked))}get host(){return i(this)}static get watchers(){return{disabled:["handleDisabledChange"],helpText:["handleLabelChange"],errorText:["handleLabelChange"],label:["handleLabelChange"],multiple:["handleMultipleChange"],value:["handleValueChange"]}}};function v(e,t){return t.filter((t=>e.includes(t.value)))}function _(e){return e.getBoundingClientRect().width}function g(e,t){let s=0;let i=0;for(let o=0;o<e.length;o++){const l=e[o];const r=_(l);if(o===0&&r>t){i=1;break}s+=r;if(s>t){break}else{i+=1}}const o=e.length-i;return{fitCount:i,overflowCount:o}}function y(e,t){if(e.length>0){e.slice(0,t).forEach(((e,t,s)=>{z(e);const i=t===s.length-1;if(i){w(e)}else{k(e)}}));e.slice(t).forEach((e=>{C(e);k(e)}))}}function w(e){var t;(t=e.querySelector(".separator"))===null||t===void 0?void 0:t.classList.add("separator--hidden")}function k(e){var t;(t=e.querySelector(".separator"))===null||t===void 0?void 0:t.classList.remove("separator--hidden")}function z(e){e.classList.remove("display-value--hidden")}function C(e){e.classList.add("display-value--hidden")}function S(e,t){e.textContent=`+${t}`}function A(e){e.classList.remove("overflow-count-hidden")}function T(e){e.classList.add("overflow-count-hidden")}function D(e){const t=d();switch(t){case"de":return e?"Alle auswählen":"Alle abwählen";case"fr":return e?"Tout sélectionner":"Tout désélectionner";case"it":return e?"Seleziona tutto":"Deseleziona tutto";case"en":return e?"Select all":"Deselect all";case"es":return e?"Seleccionar todo":"Deseleccionar todo"}}m.style=p;export{m as six_select};
2
+ //# sourceMappingURL=p-6607d03a.entry.js.map