@six-group/ui-library 0.0.0-insider.ccdf415 → 0.0.0-insider.cd56b84

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 (1136) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  3. package/dist/cjs/error-messages-6e8049a4.js +119 -0
  4. package/dist/cjs/error-messages-6e8049a4.js.map +1 -0
  5. package/dist/cjs/event-listeners-9fb878f1.js +61 -0
  6. package/dist/cjs/event-listeners-9fb878f1.js.map +1 -0
  7. package/dist/cjs/{execution-control-b4707294.js → execution-control-d728da70.js} +15 -15
  8. package/dist/cjs/{execution-control-b4707294.js.map → execution-control-d728da70.js.map} +1 -1
  9. package/dist/cjs/focus-visible-e2c9255a.js +47 -0
  10. package/dist/cjs/{focus-visible-ae2470dd.js.map → focus-visible-e2c9255a.js.map} +1 -1
  11. package/dist/cjs/form-9ebaae7c.js +20 -0
  12. package/dist/cjs/{form-2df8c5bb.js.map → form-9ebaae7c.js.map} +1 -1
  13. package/dist/cjs/form-control-b6ca8224.js +36 -0
  14. package/dist/cjs/form-control-b6ca8224.js.map +1 -0
  15. package/dist/cjs/{index-7d73cbd6.js → index-5bfcf88b.js} +336 -702
  16. package/dist/cjs/index-5bfcf88b.js.map +1 -0
  17. package/dist/cjs/index.cjs.js +55 -87
  18. package/dist/cjs/index.cjs.js.map +1 -1
  19. package/dist/cjs/loader.cjs.js +5 -3
  20. package/dist/cjs/loader.cjs.js.map +1 -1
  21. package/dist/cjs/modal-bd7fc5bc.js +35 -0
  22. package/dist/cjs/modal-bd7fc5bc.js.map +1 -0
  23. package/dist/cjs/{popover-2df7e154.js → popover-1e7c09f1.js} +99 -99
  24. package/dist/cjs/popover-1e7c09f1.js.map +1 -0
  25. package/dist/cjs/popup-e854acda.js +103 -0
  26. package/dist/cjs/popup-e854acda.js.map +1 -0
  27. package/dist/cjs/scroll-68033901.js +68 -0
  28. package/dist/cjs/{scroll-2c4200dc.js.map → scroll-68033901.js.map} +1 -1
  29. package/dist/cjs/six-alert.cjs.entry.js +144 -111
  30. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  31. package/dist/cjs/six-avatar.cjs.entry.js +23 -22
  32. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  33. package/dist/cjs/six-badge.cjs.entry.js +25 -24
  34. package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
  35. package/dist/cjs/six-button.cjs.entry.js +97 -96
  36. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  37. package/dist/cjs/six-card.cjs.entry.js +10 -9
  38. package/dist/cjs/six-card.cjs.entry.js.map +1 -1
  39. package/dist/cjs/six-checkbox_2.cjs.entry.js +192 -0
  40. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -0
  41. package/dist/cjs/six-datepicker.cjs.entry.js +862 -835
  42. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  43. package/dist/cjs/six-details.cjs.entry.js +129 -128
  44. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  45. package/dist/cjs/six-dialog.cjs.entry.js +115 -131
  46. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  47. package/dist/cjs/six-drawer.cjs.entry.js +132 -149
  48. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  49. package/dist/cjs/six-dropdown_2.cjs.entry.js +713 -639
  50. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
  51. package/dist/cjs/six-error-page.cjs.entry.js +84 -83
  52. package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
  53. package/dist/cjs/six-error.cjs.entry.js +9 -8
  54. package/dist/cjs/six-error.cjs.entry.js.map +1 -1
  55. package/dist/cjs/six-file-list-item.cjs.entry.js +36 -35
  56. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  57. package/dist/cjs/six-file-list.cjs.entry.js +9 -8
  58. package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
  59. package/dist/cjs/six-file-upload.cjs.entry.js +102 -100
  60. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  61. package/dist/cjs/six-footer.cjs.entry.js +10 -9
  62. package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
  63. package/dist/cjs/six-group-label.cjs.entry.js +45 -44
  64. package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
  65. package/dist/cjs/six-header.cjs.entry.js +173 -157
  66. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  67. package/dist/cjs/six-icon-button.cjs.entry.js +34 -33
  68. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  69. package/dist/cjs/six-icon.cjs.entry.js +24 -23
  70. package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
  71. package/dist/cjs/six-input.cjs.entry.js +194 -191
  72. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  73. package/dist/cjs/six-item-picker.cjs.entry.js +407 -310
  74. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
  75. package/dist/cjs/six-language-switcher.cjs.entry.js +49 -48
  76. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
  77. package/dist/cjs/six-layout-grid.cjs.entry.js +22 -21
  78. package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
  79. package/dist/cjs/six-main-container.cjs.entry.js +11 -10
  80. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
  81. package/dist/cjs/six-menu-divider.cjs.entry.js +10 -9
  82. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
  83. package/dist/cjs/six-menu-label.cjs.entry.js +10 -9
  84. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
  85. package/dist/cjs/six-picto.cjs.entry.js +16 -15
  86. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  87. package/dist/cjs/six-progress-bar.cjs.entry.js +17 -16
  88. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  89. package/dist/cjs/six-progress-ring.cjs.entry.js +32 -31
  90. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  91. package/dist/cjs/six-radio.cjs.entry.js +106 -105
  92. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  93. package/dist/cjs/six-range.cjs.entry.js +200 -189
  94. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  95. package/dist/cjs/six-root.cjs.entry.js +13 -31
  96. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  97. package/dist/cjs/six-search-field.cjs.entry.js +46 -45
  98. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
  99. package/dist/cjs/six-select.cjs.entry.js +499 -367
  100. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  101. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +56 -55
  102. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  103. package/dist/cjs/six-sidebar-item.cjs.entry.js +18 -17
  104. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  105. package/dist/cjs/six-sidebar.cjs.entry.js +176 -175
  106. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
  107. package/dist/cjs/six-spinner.cjs.entry.js +17 -16
  108. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  109. package/dist/cjs/six-stage-indicator.cjs.entry.js +23 -0
  110. package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -0
  111. package/dist/cjs/six-switch.cjs.entry.js +109 -108
  112. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  113. package/dist/cjs/six-tab-group.cjs.entry.js +242 -216
  114. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  115. package/dist/cjs/six-tab-panel.cjs.entry.js +16 -15
  116. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
  117. package/dist/cjs/six-tab.cjs.entry.js +57 -56
  118. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  119. package/dist/cjs/six-tag.cjs.entry.js +55 -54
  120. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  121. package/dist/cjs/six-textarea.cjs.entry.js +183 -182
  122. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  123. package/dist/cjs/six-tile.cjs.entry.js +79 -78
  124. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  125. package/dist/cjs/six-timepicker.cjs.entry.js +351 -350
  126. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  127. package/dist/cjs/six-tooltip.cjs.entry.js +150 -149
  128. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
  129. package/dist/cjs/slot-1b1232a1.js +51 -0
  130. package/dist/cjs/slot-1b1232a1.js.map +1 -0
  131. package/dist/cjs/types-d3da200b.js +19 -0
  132. package/dist/cjs/types-d3da200b.js.map +1 -0
  133. package/dist/cjs/ui-library.cjs.js +6 -4
  134. package/dist/cjs/ui-library.cjs.js.map +1 -1
  135. package/dist/collection/collection-manifest.json +5 -6
  136. package/dist/collection/components/six-alert/six-alert.css +5 -1
  137. package/dist/collection/components/six-alert/six-alert.js +382 -337
  138. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  139. package/dist/collection/components/six-alert/test/six-alert.spec.js +7 -7
  140. package/dist/collection/components/six-alert/test/six-alert.spec.js.map +1 -1
  141. package/dist/collection/components/six-avatar/six-avatar.css +2 -2
  142. package/dist/collection/components/six-avatar/six-avatar.js +111 -111
  143. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  144. package/dist/collection/components/six-avatar/test/six-avatar.spec.js +7 -7
  145. package/dist/collection/components/six-avatar/test/six-avatar.spec.js.map +1 -1
  146. package/dist/collection/components/six-badge/six-badge.css +1 -1
  147. package/dist/collection/components/six-badge/six-badge.js +90 -90
  148. package/dist/collection/components/six-badge/six-badge.js.map +1 -1
  149. package/dist/collection/components/six-badge/test/six-badge.spec.js +7 -7
  150. package/dist/collection/components/six-badge/test/six-badge.spec.js.map +1 -1
  151. package/dist/collection/components/six-button/six-button.css +2 -1
  152. package/dist/collection/components/six-button/six-button.js +447 -446
  153. package/dist/collection/components/six-button/six-button.js.map +1 -1
  154. package/dist/collection/components/six-button/test/six-button.spec.js +44 -44
  155. package/dist/collection/components/six-button/test/six-button.spec.js.map +1 -1
  156. package/dist/collection/components/six-card/six-card.css +4 -5
  157. package/dist/collection/components/six-card/six-card.js +15 -15
  158. package/dist/collection/components/six-card/six-card.js.map +1 -1
  159. package/dist/collection/components/six-card/test/six-card.spec.js +7 -7
  160. package/dist/collection/components/six-card/test/six-card.spec.js.map +1 -1
  161. package/dist/collection/components/six-checkbox/six-checkbox.css +6 -1
  162. package/dist/collection/components/six-checkbox/six-checkbox.js +421 -420
  163. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  164. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +13 -13
  165. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +1 -1
  166. package/dist/collection/components/six-datepicker/components/day-selection.js +8 -8
  167. package/dist/collection/components/six-datepicker/components/day-selection.js.map +1 -1
  168. package/dist/collection/components/six-datepicker/components/month-selection.js +8 -8
  169. package/dist/collection/components/six-datepicker/components/month-selection.js.map +1 -1
  170. package/dist/collection/components/six-datepicker/components/year-selection.js +8 -8
  171. package/dist/collection/components/six-datepicker/components/year-selection.js.map +1 -1
  172. package/dist/collection/components/six-datepicker/six-date-formats.js +21 -20
  173. package/dist/collection/components/six-datepicker/six-date-formats.js.map +1 -1
  174. package/dist/collection/components/six-datepicker/six-datepicker.css +1 -1
  175. package/dist/collection/components/six-datepicker/six-datepicker.js +1052 -1050
  176. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  177. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +7 -7
  178. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +1 -1
  179. package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js +14 -14
  180. package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js.map +1 -1
  181. package/dist/collection/components/six-details/six-details.css +1 -5
  182. package/dist/collection/components/six-details/six-details.js +410 -410
  183. package/dist/collection/components/six-details/six-details.js.map +1 -1
  184. package/dist/collection/components/six-details/test/six-details.spec.js +7 -7
  185. package/dist/collection/components/six-details/test/six-details.spec.js.map +1 -1
  186. package/dist/collection/components/six-dialog/six-dialog.css +2 -2
  187. package/dist/collection/components/six-dialog/six-dialog.js +340 -358
  188. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  189. package/dist/collection/components/six-dialog/test/six-dialog.spec.js +7 -7
  190. package/dist/collection/components/six-dialog/test/six-dialog.spec.js.map +1 -1
  191. package/dist/collection/components/six-drawer/six-drawer.css +2 -2
  192. package/dist/collection/components/six-drawer/six-drawer.js +393 -412
  193. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  194. package/dist/collection/components/six-drawer/test/six-drawer.spec.js +7 -7
  195. package/dist/collection/components/six-drawer/test/six-drawer.spec.js.map +1 -1
  196. package/dist/collection/components/six-dropdown/six-dropdown.css +22 -7
  197. package/dist/collection/components/six-dropdown/six-dropdown.js +983 -891
  198. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  199. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +92 -67
  200. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +1 -1
  201. package/dist/collection/components/six-error/six-error.js +15 -15
  202. package/dist/collection/components/six-error/six-error.js.map +1 -1
  203. package/dist/collection/components/six-error-page/six-error-page.js +177 -177
  204. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
  205. package/dist/collection/components/six-error-page/test/six-error-page.spec.js +77 -77
  206. package/dist/collection/components/six-error-page/test/six-error-page.spec.js.map +1 -1
  207. package/dist/collection/components/six-file-list/six-file-list.js +15 -15
  208. package/dist/collection/components/six-file-list/six-file-list.js.map +1 -1
  209. package/dist/collection/components/six-file-list/test/six-file-list.spec.js +16 -16
  210. package/dist/collection/components/six-file-list/test/six-file-list.spec.js.map +1 -1
  211. package/dist/collection/components/six-file-list-item/six-file-list-item.css +1 -1
  212. package/dist/collection/components/six-file-list-item/six-file-list-item.js +195 -195
  213. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  214. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js +42 -42
  215. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js.map +1 -1
  216. package/dist/collection/components/six-file-upload/six-file-upload.css +9 -4
  217. package/dist/collection/components/six-file-upload/six-file-upload.js +310 -291
  218. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  219. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +103 -48
  220. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +1 -1
  221. package/dist/collection/components/six-footer/six-footer.css +2 -2
  222. package/dist/collection/components/six-footer/six-footer.js +15 -15
  223. package/dist/collection/components/six-footer/six-footer.js.map +1 -1
  224. package/dist/collection/components/six-footer/test/six-footer.spec.js +7 -7
  225. package/dist/collection/components/six-footer/test/six-footer.spec.js.map +1 -1
  226. package/dist/collection/components/six-group-label/six-group-label.css +1 -1
  227. package/dist/collection/components/six-group-label/six-group-label.js +155 -155
  228. package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
  229. package/dist/collection/components/six-group-label/test/six-group-label.spec.js +12 -12
  230. package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +1 -1
  231. package/dist/collection/components/six-header/six-header.css +6 -2
  232. package/dist/collection/components/six-header/six-header.js +439 -405
  233. package/dist/collection/components/six-header/six-header.js.map +1 -1
  234. package/dist/collection/components/six-header/test/six-header.spec.js +77 -33
  235. package/dist/collection/components/six-header/test/six-header.spec.js.map +1 -1
  236. package/dist/collection/components/six-icon/six-icon.css +5 -2
  237. package/dist/collection/components/six-icon/six-icon.js +71 -71
  238. package/dist/collection/components/six-icon/six-icon.js.map +1 -1
  239. package/dist/collection/components/six-icon/test/six-icon.spec.js +7 -7
  240. package/dist/collection/components/six-icon/test/six-icon.spec.js.map +1 -1
  241. package/dist/collection/components/six-icon-button/six-icon-button.css +1 -1
  242. package/dist/collection/components/six-icon-button/six-icon-button.js +131 -131
  243. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  244. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js +7 -7
  245. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js.map +1 -1
  246. package/dist/collection/components/six-input/six-input.css +10 -1
  247. package/dist/collection/components/six-input/six-input.js +967 -939
  248. package/dist/collection/components/six-input/six-input.js.map +1 -1
  249. package/dist/collection/components/six-input/test/six-input.spec.js +7 -7
  250. package/dist/collection/components/six-input/test/six-input.spec.js.map +1 -1
  251. package/dist/collection/components/six-item-picker/six-item-picker.css +8 -0
  252. package/dist/collection/components/six-item-picker/six-item-picker.js +727 -631
  253. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  254. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js +82 -82
  255. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js.map +1 -1
  256. package/dist/collection/components/six-item-picker/types.js +9 -7
  257. package/dist/collection/components/six-item-picker/types.js.map +1 -1
  258. package/dist/collection/components/six-language-switcher/six-language-switcher.css +3 -2
  259. package/dist/collection/components/six-language-switcher/six-language-switcher.js +124 -124
  260. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  261. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +87 -87
  262. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +1 -1
  263. package/dist/collection/components/six-layout-grid/six-layout-grid.js +54 -54
  264. package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
  265. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js +7 -7
  266. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js.map +1 -1
  267. package/dist/collection/components/six-main-container/six-main-container.js +41 -41
  268. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
  269. package/dist/collection/components/six-main-container/test/six-main-container.spec.js +7 -7
  270. package/dist/collection/components/six-main-container/test/six-main-container.spec.js.map +1 -1
  271. package/dist/collection/components/six-menu/six-menu.css +8 -7
  272. package/dist/collection/components/six-menu/six-menu.js +388 -366
  273. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  274. package/dist/collection/components/six-menu/test/six-menu.spec.js +41 -41
  275. package/dist/collection/components/six-menu/test/six-menu.spec.js.map +1 -1
  276. package/dist/collection/components/six-menu-divider/six-menu-divider.css +3 -2
  277. package/dist/collection/components/six-menu-divider/six-menu-divider.js +15 -15
  278. package/dist/collection/components/six-menu-divider/six-menu-divider.js.map +1 -1
  279. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js +7 -7
  280. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js.map +1 -1
  281. package/dist/collection/components/six-menu-item/six-menu-item.css +13 -2
  282. package/dist/collection/components/six-menu-item/six-menu-item.js +209 -180
  283. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  284. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js +7 -7
  285. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js.map +1 -1
  286. package/dist/collection/components/six-menu-label/six-menu-label.css +1 -1
  287. package/dist/collection/components/six-menu-label/six-menu-label.js +15 -15
  288. package/dist/collection/components/six-menu-label/six-menu-label.js.map +1 -1
  289. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js +7 -7
  290. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js.map +1 -1
  291. package/dist/collection/components/six-picto/six-picto.js +46 -46
  292. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  293. package/dist/collection/components/six-picto/test/six-picto.spec.js +13 -13
  294. package/dist/collection/components/six-picto/test/six-picto.spec.js.map +1 -1
  295. package/dist/collection/components/six-progress-bar/six-progress-bar.css +1 -1
  296. package/dist/collection/components/six-progress-bar/six-progress-bar.js +64 -64
  297. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  298. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js +7 -7
  299. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js.map +1 -1
  300. package/dist/collection/components/six-progress-ring/six-progress-ring.css +1 -1
  301. package/dist/collection/components/six-progress-ring/six-progress-ring.js +100 -100
  302. package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
  303. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js +7 -7
  304. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js.map +1 -1
  305. package/dist/collection/components/six-radio/six-radio.css +1 -1
  306. package/dist/collection/components/six-radio/six-radio.js +321 -320
  307. package/dist/collection/components/six-radio/six-radio.js.map +1 -1
  308. package/dist/collection/components/six-radio/test/six-radio.spec.js +13 -13
  309. package/dist/collection/components/six-radio/test/six-radio.spec.js.map +1 -1
  310. package/dist/collection/components/six-range/six-range.css +2 -2
  311. package/dist/collection/components/six-range/six-range.js +574 -563
  312. package/dist/collection/components/six-range/six-range.js.map +1 -1
  313. package/dist/collection/components/six-range/test/six-range.spec.js +8 -8
  314. package/dist/collection/components/six-range/test/six-range.spec.js.map +1 -1
  315. package/dist/collection/components/six-root/six-root.js +84 -152
  316. package/dist/collection/components/six-root/six-root.js.map +1 -1
  317. package/dist/collection/components/six-root/test/six-root.spec.js +7 -14
  318. package/dist/collection/components/six-root/test/six-root.spec.js.map +1 -1
  319. package/dist/collection/components/six-search-field/six-search-field.css +1 -1
  320. package/dist/collection/components/six-search-field/six-search-field.js +169 -169
  321. package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
  322. package/dist/collection/components/six-search-field/test/six-search-field.spec.js +7 -7
  323. package/dist/collection/components/six-search-field/test/six-search-field.spec.js.map +1 -1
  324. package/dist/collection/components/six-select/six-select.css +54 -66
  325. package/dist/collection/components/six-select/six-select.js +1117 -942
  326. package/dist/collection/components/six-select/six-select.js.map +1 -1
  327. package/dist/collection/components/six-select/test/six-select.spec.js +45 -29
  328. package/dist/collection/components/six-select/test/six-select.spec.js.map +1 -1
  329. package/dist/collection/components/six-select/test/util.spec.js +73 -73
  330. package/dist/collection/components/six-select/test/util.spec.js.map +1 -1
  331. package/dist/collection/components/six-select/util.js +34 -34
  332. package/dist/collection/components/six-select/util.js.map +1 -1
  333. package/dist/collection/components/six-sidebar/six-sidebar.css +2 -2
  334. package/dist/collection/components/six-sidebar/six-sidebar.js +466 -464
  335. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
  336. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js +7 -7
  337. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js.map +1 -1
  338. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +101 -101
  339. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
  340. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js +19 -19
  341. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js.map +1 -1
  342. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +1 -1
  343. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +178 -178
  344. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  345. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +14 -14
  346. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +1 -1
  347. package/dist/collection/components/six-spinner/six-spinner.css +1 -1
  348. package/dist/collection/components/six-spinner/six-spinner.js +47 -46
  349. package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
  350. package/dist/collection/components/six-spinner/test/six-spinner.spec.js +14 -14
  351. package/dist/collection/components/six-spinner/test/six-spinner.spec.js.map +1 -1
  352. package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +1 -1
  353. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +45 -45
  354. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js.map +1 -1
  355. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js +37 -37
  356. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js.map +1 -1
  357. package/dist/collection/components/six-switch/six-switch.css +1 -1
  358. package/dist/collection/components/six-switch/six-switch.js +384 -383
  359. package/dist/collection/components/six-switch/six-switch.js.map +1 -1
  360. package/dist/collection/components/six-switch/test/six-switch.spec.js +13 -13
  361. package/dist/collection/components/six-switch/test/six-switch.spec.js.map +1 -1
  362. package/dist/collection/components/six-tab/six-tab.css +1 -1
  363. package/dist/collection/components/six-tab/six-tab.js +206 -205
  364. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  365. package/dist/collection/components/six-tab-group/six-tab-group.css +1 -1
  366. package/dist/collection/components/six-tab-group/six-tab-group.js +342 -315
  367. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  368. package/dist/collection/components/six-tab-panel/six-tab-panel.css +1 -1
  369. package/dist/collection/components/six-tab-panel/six-tab-panel.js +63 -63
  370. package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
  371. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js +7 -7
  372. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js.map +1 -1
  373. package/dist/collection/components/six-tag/six-tag.css +1 -1
  374. package/dist/collection/components/six-tag/six-tag.js +158 -158
  375. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  376. package/dist/collection/components/six-tag/test/six-tag.spec.js +19 -19
  377. package/dist/collection/components/six-tag/test/six-tag.spec.js.map +1 -1
  378. package/dist/collection/components/six-textarea/six-textarea.css +1 -1
  379. package/dist/collection/components/six-textarea/six-textarea.js +792 -784
  380. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
  381. package/dist/collection/components/six-textarea/test/six-textarea.spec.js +94 -94
  382. package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +1 -1
  383. package/dist/collection/components/six-tile/six-tile.css +2 -2
  384. package/dist/collection/components/six-tile/six-tile.js +298 -298
  385. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  386. package/dist/collection/components/six-tile/test/six-tile.spec.js +14 -14
  387. package/dist/collection/components/six-tile/test/six-tile.spec.js.map +1 -1
  388. package/dist/collection/components/six-timepicker/six-timepicker.css +1 -1
  389. package/dist/collection/components/six-timepicker/six-timepicker.js +823 -822
  390. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  391. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +155 -155
  392. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +1 -1
  393. package/dist/collection/components/six-tooltip/six-tooltip.css +1 -1
  394. package/dist/collection/components/six-tooltip/six-tooltip.js +407 -407
  395. package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
  396. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js +7 -7
  397. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js.map +1 -1
  398. package/dist/collection/functional-components/form-control/form-control.js +19 -19
  399. package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
  400. package/dist/collection/index.js +1 -0
  401. package/dist/collection/index.js.map +1 -1
  402. package/dist/collection/testUtil/delay.js +1 -1
  403. package/dist/collection/testUtil/delay.js.map +1 -1
  404. package/dist/collection/utils/alert.js +54 -0
  405. package/dist/collection/utils/alert.js.map +1 -0
  406. package/dist/collection/utils/animation.js +19 -19
  407. package/dist/collection/utils/animation.js.map +1 -1
  408. package/dist/collection/utils/date-util.js +525 -500
  409. package/dist/collection/utils/date-util.js.map +1 -1
  410. package/dist/collection/utils/date-util.spec.js +984 -984
  411. package/dist/collection/utils/date-util.spec.js.map +1 -1
  412. package/dist/collection/utils/error-messages.js +102 -81
  413. package/dist/collection/utils/error-messages.js.map +1 -1
  414. package/dist/collection/utils/event-listeners.js +51 -51
  415. package/dist/collection/utils/event-listeners.js.map +1 -1
  416. package/dist/collection/utils/execution-control.js +14 -14
  417. package/dist/collection/utils/execution-control.js.map +1 -1
  418. package/dist/collection/utils/focus-visible.js +28 -28
  419. package/dist/collection/utils/focus-visible.js.map +1 -1
  420. package/dist/collection/utils/form.js +12 -12
  421. package/dist/collection/utils/form.js.map +1 -1
  422. package/dist/collection/utils/modal.js +25 -25
  423. package/dist/collection/utils/modal.js.map +1 -1
  424. package/dist/collection/utils/offset.js +4 -4
  425. package/dist/collection/utils/offset.js.map +1 -1
  426. package/dist/collection/utils/popover.js +99 -99
  427. package/dist/collection/utils/popover.js.map +1 -1
  428. package/dist/collection/utils/popup.js +71 -71
  429. package/dist/collection/utils/popup.js.map +1 -1
  430. package/dist/collection/utils/scroll.js +27 -27
  431. package/dist/collection/utils/scroll.js.map +1 -1
  432. package/dist/collection/utils/scroll.spec.js +116 -116
  433. package/dist/collection/utils/scroll.spec.js.map +1 -1
  434. package/dist/collection/utils/slot.js +28 -29
  435. package/dist/collection/utils/slot.js.map +1 -1
  436. package/dist/collection/utils/tabbable.js +17 -17
  437. package/dist/collection/utils/tabbable.js.map +1 -1
  438. package/dist/collection/utils/time.util.js +72 -72
  439. package/dist/collection/utils/time.util.js.map +1 -1
  440. package/dist/collection/utils/time.util.spec.js +353 -353
  441. package/dist/collection/utils/time.util.spec.js.map +1 -1
  442. package/dist/components/event-listeners.js +51 -51
  443. package/dist/components/event-listeners.js.map +1 -1
  444. package/dist/components/execution-control.js +14 -14
  445. package/dist/components/execution-control.js.map +1 -1
  446. package/dist/components/focus-visible.js +28 -28
  447. package/dist/components/focus-visible.js.map +1 -1
  448. package/dist/components/form-control.js +26 -26
  449. package/dist/components/form-control.js.map +1 -1
  450. package/dist/components/form.js +12 -12
  451. package/dist/components/form.js.map +1 -1
  452. package/dist/components/index.js +111 -149
  453. package/dist/components/index.js.map +1 -1
  454. package/dist/components/modal.js +26 -42
  455. package/dist/components/modal.js.map +1 -1
  456. package/dist/components/popover.js +98 -98
  457. package/dist/components/popover.js.map +1 -1
  458. package/dist/components/scroll.js +31 -31
  459. package/dist/components/scroll.js.map +1 -1
  460. package/dist/components/six-alert.d.ts +2 -2
  461. package/dist/components/six-alert.js +178 -145
  462. package/dist/components/six-alert.js.map +1 -1
  463. package/dist/components/six-avatar.d.ts +2 -2
  464. package/dist/components/six-avatar.js +46 -45
  465. package/dist/components/six-avatar.js.map +1 -1
  466. package/dist/components/six-badge.d.ts +2 -2
  467. package/dist/components/six-badge.js +41 -40
  468. package/dist/components/six-badge.js.map +1 -1
  469. package/dist/components/six-button.d.ts +2 -2
  470. package/dist/components/six-button.js +1 -142
  471. package/dist/components/six-button.js.map +1 -1
  472. package/dist/components/six-button2.js +147 -0
  473. package/dist/components/six-button2.js.map +1 -0
  474. package/dist/components/six-card.d.ts +2 -2
  475. package/dist/components/six-card.js +22 -21
  476. package/dist/components/six-card.js.map +1 -1
  477. package/dist/components/six-checkbox.d.ts +2 -2
  478. package/dist/components/six-checkbox.js +1 -161
  479. package/dist/components/six-checkbox.js.map +1 -1
  480. package/dist/components/six-checkbox2.js +166 -0
  481. package/dist/components/six-checkbox2.js.map +1 -0
  482. package/dist/components/six-datepicker.d.ts +2 -2
  483. package/dist/components/six-datepicker.js +931 -904
  484. package/dist/components/six-datepicker.js.map +1 -1
  485. package/dist/components/six-details.d.ts +2 -2
  486. package/dist/components/six-details2.js +159 -158
  487. package/dist/components/six-details2.js.map +1 -1
  488. package/dist/components/six-dialog.d.ts +2 -2
  489. package/dist/components/six-dialog.js +145 -161
  490. package/dist/components/six-dialog.js.map +1 -1
  491. package/dist/components/six-drawer.d.ts +2 -2
  492. package/dist/components/six-drawer.js +164 -181
  493. package/dist/components/six-drawer.js.map +1 -1
  494. package/dist/components/six-dropdown.d.ts +2 -2
  495. package/dist/components/six-dropdown2.js +553 -476
  496. package/dist/components/six-dropdown2.js.map +1 -1
  497. package/dist/components/six-error-page.d.ts +2 -2
  498. package/dist/components/six-error-page.js +107 -106
  499. package/dist/components/six-error-page.js.map +1 -1
  500. package/dist/components/six-error.d.ts +2 -2
  501. package/dist/components/six-error2.js +21 -20
  502. package/dist/components/six-error2.js.map +1 -1
  503. package/dist/components/six-file-list-item.d.ts +2 -2
  504. package/dist/components/six-file-list-item.js +60 -59
  505. package/dist/components/six-file-list-item.js.map +1 -1
  506. package/dist/components/six-file-list.d.ts +2 -2
  507. package/dist/components/six-file-list.js +21 -20
  508. package/dist/components/six-file-list.js.map +1 -1
  509. package/dist/components/six-file-upload.d.ts +2 -2
  510. package/dist/components/six-file-upload.js +134 -125
  511. package/dist/components/six-file-upload.js.map +1 -1
  512. package/dist/components/six-footer.d.ts +2 -2
  513. package/dist/components/six-footer.js +22 -21
  514. package/dist/components/six-footer.js.map +1 -1
  515. package/dist/components/six-group-label.d.ts +2 -2
  516. package/dist/components/six-group-label.js +71 -70
  517. package/dist/components/six-group-label.js.map +1 -1
  518. package/dist/components/six-header.d.ts +2 -2
  519. package/dist/components/six-header.js +236 -213
  520. package/dist/components/six-header.js.map +1 -1
  521. package/dist/components/six-icon-button.d.ts +2 -2
  522. package/dist/components/six-icon-button2.js +56 -55
  523. package/dist/components/six-icon-button2.js.map +1 -1
  524. package/dist/components/six-icon.d.ts +2 -2
  525. package/dist/components/six-icon2.js +39 -38
  526. package/dist/components/six-icon2.js.map +1 -1
  527. package/dist/components/six-input.d.ts +2 -2
  528. package/dist/components/six-input2.js +258 -254
  529. package/dist/components/six-input2.js.map +1 -1
  530. package/dist/components/six-item-picker.d.ts +2 -2
  531. package/dist/components/six-item-picker2.js +451 -352
  532. package/dist/components/six-item-picker2.js.map +1 -1
  533. package/dist/components/six-language-switcher.d.ts +2 -2
  534. package/dist/components/six-language-switcher.js +66 -65
  535. package/dist/components/six-language-switcher.js.map +1 -1
  536. package/dist/components/six-layout-grid.d.ts +2 -2
  537. package/dist/components/six-layout-grid.js +38 -37
  538. package/dist/components/six-layout-grid.js.map +1 -1
  539. package/dist/components/six-main-container.d.ts +2 -2
  540. package/dist/components/six-main-container.js +25 -24
  541. package/dist/components/six-main-container.js.map +1 -1
  542. package/dist/components/six-menu-divider.d.ts +2 -2
  543. package/dist/components/six-menu-divider.js +22 -21
  544. package/dist/components/six-menu-divider.js.map +1 -1
  545. package/dist/components/six-menu-item.d.ts +2 -2
  546. package/dist/components/six-menu-item2.js +99 -75
  547. package/dist/components/six-menu-item2.js.map +1 -1
  548. package/dist/components/six-menu-label.d.ts +2 -2
  549. package/dist/components/six-menu-label.js +22 -21
  550. package/dist/components/six-menu-label.js.map +1 -1
  551. package/dist/components/six-menu.d.ts +2 -2
  552. package/dist/components/six-menu2.js +237 -220
  553. package/dist/components/six-menu2.js.map +1 -1
  554. package/dist/components/six-picto.d.ts +2 -2
  555. package/dist/components/six-picto2.js +30 -29
  556. package/dist/components/six-picto2.js.map +1 -1
  557. package/dist/components/six-progress-bar.d.ts +2 -2
  558. package/dist/components/six-progress-bar.js +32 -31
  559. package/dist/components/six-progress-bar.js.map +1 -1
  560. package/dist/components/six-progress-ring.d.ts +2 -2
  561. package/dist/components/six-progress-ring.js +50 -49
  562. package/dist/components/six-progress-ring.js.map +1 -1
  563. package/dist/components/six-radio.d.ts +2 -2
  564. package/dist/components/six-radio.js +129 -128
  565. package/dist/components/six-radio.js.map +1 -1
  566. package/dist/components/six-range.d.ts +2 -2
  567. package/dist/components/six-range.js +243 -232
  568. package/dist/components/six-range.js.map +1 -1
  569. package/dist/components/six-root.d.ts +2 -2
  570. package/dist/components/six-root.js +40 -68
  571. package/dist/components/six-root.js.map +1 -1
  572. package/dist/components/six-search-field.d.ts +2 -2
  573. package/dist/components/six-search-field.js +79 -78
  574. package/dist/components/six-search-field.js.map +1 -1
  575. package/dist/components/six-select.d.ts +2 -2
  576. package/dist/components/six-select.js +720 -469
  577. package/dist/components/six-select.js.map +1 -1
  578. package/dist/components/six-sidebar-item-group.d.ts +2 -2
  579. package/dist/components/six-sidebar-item-group.js +86 -85
  580. package/dist/components/six-sidebar-item-group.js.map +1 -1
  581. package/dist/components/six-sidebar-item.d.ts +2 -2
  582. package/dist/components/six-sidebar-item.js +35 -34
  583. package/dist/components/six-sidebar-item.js.map +1 -1
  584. package/dist/components/six-sidebar.d.ts +2 -2
  585. package/dist/components/six-sidebar.js +200 -199
  586. package/dist/components/six-sidebar.js.map +1 -1
  587. package/dist/components/six-spinner.d.ts +2 -2
  588. package/dist/components/six-spinner2.js +31 -30
  589. package/dist/components/six-spinner2.js.map +1 -1
  590. package/dist/components/six-stage-indicator.d.ts +2 -2
  591. package/dist/components/six-stage-indicator2.js +30 -29
  592. package/dist/components/six-stage-indicator2.js.map +1 -1
  593. package/dist/components/six-switch.d.ts +2 -2
  594. package/dist/components/six-switch.js +141 -140
  595. package/dist/components/six-switch.js.map +1 -1
  596. package/dist/components/six-tab-group.d.ts +2 -2
  597. package/dist/components/six-tab-group.js +271 -244
  598. package/dist/components/six-tab-group.js.map +1 -1
  599. package/dist/components/six-tab-panel.d.ts +2 -2
  600. package/dist/components/six-tab-panel.js +31 -30
  601. package/dist/components/six-tab-panel.js.map +1 -1
  602. package/dist/components/six-tab.d.ts +2 -2
  603. package/dist/components/six-tab.js +86 -85
  604. package/dist/components/six-tab.js.map +1 -1
  605. package/dist/components/six-tag.d.ts +2 -2
  606. package/dist/components/six-tag.js +99 -1
  607. package/dist/components/six-tag.js.map +1 -1
  608. package/dist/components/six-textarea.d.ts +2 -2
  609. package/dist/components/six-textarea.js +235 -234
  610. package/dist/components/six-textarea.js.map +1 -1
  611. package/dist/components/six-tile.d.ts +2 -2
  612. package/dist/components/six-tile.js +118 -117
  613. package/dist/components/six-tile.js.map +1 -1
  614. package/dist/components/six-timepicker.d.ts +2 -2
  615. package/dist/components/six-timepicker2.js +491 -490
  616. package/dist/components/six-timepicker2.js.map +1 -1
  617. package/dist/components/six-tooltip.d.ts +2 -2
  618. package/dist/components/six-tooltip2.js +173 -172
  619. package/dist/components/six-tooltip2.js.map +1 -1
  620. package/dist/components/slot.js +29 -30
  621. package/dist/components/slot.js.map +1 -1
  622. package/dist/components.d.ts +1 -21
  623. package/dist/components.json +636 -235
  624. package/dist/esm/app-globals-0f993ce5.js +5 -0
  625. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  626. package/dist/esm/error-messages-1eaaad23.js +115 -0
  627. package/dist/esm/error-messages-1eaaad23.js.map +1 -0
  628. package/dist/esm/event-listeners-706d4309.js +59 -0
  629. package/dist/esm/event-listeners-706d4309.js.map +1 -0
  630. package/dist/esm/{execution-control-e0892a05.js → execution-control-2ebaf4ef.js} +15 -15
  631. package/dist/esm/{execution-control-e0892a05.js.map → execution-control-2ebaf4ef.js.map} +1 -1
  632. package/dist/esm/focus-visible-d9dbfeef.js +45 -0
  633. package/dist/esm/{focus-visible-fc6ac671.js.map → focus-visible-d9dbfeef.js.map} +1 -1
  634. package/dist/esm/form-4b145b7a.js +18 -0
  635. package/dist/esm/{form-81252534.js.map → form-4b145b7a.js.map} +1 -1
  636. package/dist/esm/form-control-5d3cf9d4.js +34 -0
  637. package/dist/esm/form-control-5d3cf9d4.js.map +1 -0
  638. package/dist/esm/{index-4ee8b33e.js → index-d415464d.js} +336 -702
  639. package/dist/esm/index-d415464d.js.map +1 -0
  640. package/dist/esm/index.js +52 -87
  641. package/dist/esm/index.js.map +1 -1
  642. package/dist/esm/loader.js +6 -4
  643. package/dist/esm/loader.js.map +1 -1
  644. package/dist/esm/modal-6c1288e3.js +33 -0
  645. package/dist/esm/modal-6c1288e3.js.map +1 -0
  646. package/dist/esm/{popover-136d1f73.js → popover-25996e62.js} +99 -99
  647. package/dist/esm/popover-25996e62.js.map +1 -0
  648. package/dist/esm/popup-7209e9d5.js +98 -0
  649. package/dist/esm/popup-7209e9d5.js.map +1 -0
  650. package/dist/esm/scroll-3e16851e.js +64 -0
  651. package/dist/esm/{scroll-774762d6.js.map → scroll-3e16851e.js.map} +1 -1
  652. package/dist/esm/six-alert.entry.js +144 -111
  653. package/dist/esm/six-alert.entry.js.map +1 -1
  654. package/dist/esm/six-avatar.entry.js +23 -22
  655. package/dist/esm/six-avatar.entry.js.map +1 -1
  656. package/dist/esm/six-badge.entry.js +25 -24
  657. package/dist/esm/six-badge.entry.js.map +1 -1
  658. package/dist/esm/six-button.entry.js +97 -96
  659. package/dist/esm/six-button.entry.js.map +1 -1
  660. package/dist/esm/six-card.entry.js +10 -9
  661. package/dist/esm/six-card.entry.js.map +1 -1
  662. package/dist/esm/six-checkbox_2.entry.js +187 -0
  663. package/dist/esm/six-checkbox_2.entry.js.map +1 -0
  664. package/dist/esm/six-datepicker.entry.js +862 -835
  665. package/dist/esm/six-datepicker.entry.js.map +1 -1
  666. package/dist/esm/six-details.entry.js +129 -128
  667. package/dist/esm/six-details.entry.js.map +1 -1
  668. package/dist/esm/six-dialog.entry.js +115 -131
  669. package/dist/esm/six-dialog.entry.js.map +1 -1
  670. package/dist/esm/six-drawer.entry.js +132 -149
  671. package/dist/esm/six-drawer.entry.js.map +1 -1
  672. package/dist/esm/six-dropdown_2.entry.js +713 -639
  673. package/dist/esm/six-dropdown_2.entry.js.map +1 -1
  674. package/dist/esm/six-error-page.entry.js +84 -83
  675. package/dist/esm/six-error-page.entry.js.map +1 -1
  676. package/dist/esm/six-error.entry.js +9 -8
  677. package/dist/esm/six-error.entry.js.map +1 -1
  678. package/dist/esm/six-file-list-item.entry.js +36 -35
  679. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  680. package/dist/esm/six-file-list.entry.js +9 -8
  681. package/dist/esm/six-file-list.entry.js.map +1 -1
  682. package/dist/esm/six-file-upload.entry.js +102 -100
  683. package/dist/esm/six-file-upload.entry.js.map +1 -1
  684. package/dist/esm/six-footer.entry.js +10 -9
  685. package/dist/esm/six-footer.entry.js.map +1 -1
  686. package/dist/esm/six-group-label.entry.js +45 -44
  687. package/dist/esm/six-group-label.entry.js.map +1 -1
  688. package/dist/esm/six-header.entry.js +173 -157
  689. package/dist/esm/six-header.entry.js.map +1 -1
  690. package/dist/esm/six-icon-button.entry.js +34 -33
  691. package/dist/esm/six-icon-button.entry.js.map +1 -1
  692. package/dist/esm/six-icon.entry.js +24 -23
  693. package/dist/esm/six-icon.entry.js.map +1 -1
  694. package/dist/esm/six-input.entry.js +194 -191
  695. package/dist/esm/six-input.entry.js.map +1 -1
  696. package/dist/esm/six-item-picker.entry.js +407 -310
  697. package/dist/esm/six-item-picker.entry.js.map +1 -1
  698. package/dist/esm/six-language-switcher.entry.js +49 -48
  699. package/dist/esm/six-language-switcher.entry.js.map +1 -1
  700. package/dist/esm/six-layout-grid.entry.js +22 -21
  701. package/dist/esm/six-layout-grid.entry.js.map +1 -1
  702. package/dist/esm/six-main-container.entry.js +11 -10
  703. package/dist/esm/six-main-container.entry.js.map +1 -1
  704. package/dist/esm/six-menu-divider.entry.js +10 -9
  705. package/dist/esm/six-menu-divider.entry.js.map +1 -1
  706. package/dist/esm/six-menu-label.entry.js +10 -9
  707. package/dist/esm/six-menu-label.entry.js.map +1 -1
  708. package/dist/esm/six-picto.entry.js +16 -15
  709. package/dist/esm/six-picto.entry.js.map +1 -1
  710. package/dist/esm/six-progress-bar.entry.js +17 -16
  711. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  712. package/dist/esm/six-progress-ring.entry.js +32 -31
  713. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  714. package/dist/esm/six-radio.entry.js +106 -105
  715. package/dist/esm/six-radio.entry.js.map +1 -1
  716. package/dist/esm/six-range.entry.js +200 -189
  717. package/dist/esm/six-range.entry.js.map +1 -1
  718. package/dist/esm/six-root.entry.js +13 -31
  719. package/dist/esm/six-root.entry.js.map +1 -1
  720. package/dist/esm/six-search-field.entry.js +46 -45
  721. package/dist/esm/six-search-field.entry.js.map +1 -1
  722. package/dist/esm/six-select.entry.js +499 -367
  723. package/dist/esm/six-select.entry.js.map +1 -1
  724. package/dist/esm/six-sidebar-item-group.entry.js +56 -55
  725. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  726. package/dist/esm/six-sidebar-item.entry.js +18 -17
  727. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  728. package/dist/esm/six-sidebar.entry.js +176 -175
  729. package/dist/esm/six-sidebar.entry.js.map +1 -1
  730. package/dist/esm/six-spinner.entry.js +17 -16
  731. package/dist/esm/six-spinner.entry.js.map +1 -1
  732. package/dist/esm/six-stage-indicator.entry.js +19 -0
  733. package/dist/esm/six-stage-indicator.entry.js.map +1 -0
  734. package/dist/esm/six-switch.entry.js +109 -108
  735. package/dist/esm/six-switch.entry.js.map +1 -1
  736. package/dist/esm/six-tab-group.entry.js +242 -216
  737. package/dist/esm/six-tab-group.entry.js.map +1 -1
  738. package/dist/esm/six-tab-panel.entry.js +16 -15
  739. package/dist/esm/six-tab-panel.entry.js.map +1 -1
  740. package/dist/esm/six-tab.entry.js +57 -56
  741. package/dist/esm/six-tab.entry.js.map +1 -1
  742. package/dist/esm/six-tag.entry.js +55 -54
  743. package/dist/esm/six-tag.entry.js.map +1 -1
  744. package/dist/esm/six-textarea.entry.js +183 -182
  745. package/dist/esm/six-textarea.entry.js.map +1 -1
  746. package/dist/esm/six-tile.entry.js +79 -78
  747. package/dist/esm/six-tile.entry.js.map +1 -1
  748. package/dist/esm/six-timepicker.entry.js +351 -350
  749. package/dist/esm/six-timepicker.entry.js.map +1 -1
  750. package/dist/esm/six-tooltip.entry.js +150 -149
  751. package/dist/esm/six-tooltip.entry.js.map +1 -1
  752. package/dist/esm/slot-56531341.js +47 -0
  753. package/dist/esm/slot-56531341.js.map +1 -0
  754. package/dist/esm/types-a07bb999.js +19 -0
  755. package/dist/esm/types-a07bb999.js.map +1 -0
  756. package/dist/esm/ui-library.js +7 -5
  757. package/dist/esm/ui-library.js.map +1 -1
  758. package/dist/types/components/six-alert/six-alert.d.ts +47 -40
  759. package/dist/types/components/six-avatar/six-avatar.d.ts +11 -11
  760. package/dist/types/components/six-badge/six-badge.d.ts +7 -7
  761. package/dist/types/components/six-button/six-button.d.ts +48 -48
  762. package/dist/types/components/six-card/six-card.d.ts +1 -1
  763. package/dist/types/components/six-checkbox/six-checkbox.d.ts +58 -58
  764. package/dist/types/components/six-datepicker/components/day-selection.d.ts +3 -3
  765. package/dist/types/components/six-datepicker/components/month-selection.d.ts +3 -3
  766. package/dist/types/components/six-datepicker/components/year-selection.d.ts +3 -3
  767. package/dist/types/components/six-datepicker/six-date-formats.d.ts +20 -20
  768. package/dist/types/components/six-datepicker/six-datepicker.d.ts +187 -187
  769. package/dist/types/components/six-details/six-details.d.ts +42 -42
  770. package/dist/types/components/six-dialog/six-dialog.d.ts +51 -50
  771. package/dist/types/components/six-drawer/six-drawer.d.ts +58 -58
  772. package/dist/types/components/six-dropdown/six-dropdown.d.ts +131 -112
  773. package/dist/types/components/six-error/six-error.d.ts +1 -1
  774. package/dist/types/components/six-error-page/six-error-page.d.ts +25 -25
  775. package/dist/types/components/six-file-list/six-file-list.d.ts +1 -1
  776. package/dist/types/components/six-file-list-item/six-file-list-item.d.ts +23 -23
  777. package/dist/types/components/six-file-upload/six-file-upload.d.ts +35 -33
  778. package/dist/types/components/six-footer/six-footer.d.ts +1 -1
  779. package/dist/types/components/six-group-label/six-group-label.d.ts +22 -22
  780. package/dist/types/components/six-header/six-header.d.ts +59 -55
  781. package/dist/types/components/six-icon/six-icon.d.ts +5 -5
  782. package/dist/types/components/six-icon-button/six-icon-button.d.ts +18 -18
  783. package/dist/types/components/six-input/six-input.d.ts +109 -105
  784. package/dist/types/components/six-item-picker/six-item-picker.d.ts +95 -88
  785. package/dist/types/components/six-item-picker/types.d.ts +7 -7
  786. package/dist/types/components/six-language-switcher/six-language-switcher.d.ts +15 -15
  787. package/dist/types/components/six-layout-grid/six-layout-grid.d.ts +6 -6
  788. package/dist/types/components/six-main-container/six-main-container.d.ts +4 -4
  789. package/dist/types/components/six-menu/six-menu.d.ts +67 -63
  790. package/dist/types/components/six-menu-divider/six-menu-divider.d.ts +1 -1
  791. package/dist/types/components/six-menu-item/six-menu-item.d.ts +27 -21
  792. package/dist/types/components/six-menu-label/six-menu-label.d.ts +1 -1
  793. package/dist/types/components/six-picto/six-picto.d.ts +6 -6
  794. package/dist/types/components/six-progress-bar/six-progress-bar.d.ts +5 -5
  795. package/dist/types/components/six-progress-ring/six-progress-ring.d.ts +11 -11
  796. package/dist/types/components/six-radio/six-radio.d.ts +38 -38
  797. package/dist/types/components/six-range/six-range.d.ts +77 -75
  798. package/dist/types/components/six-root/six-root.d.ts +8 -21
  799. package/dist/types/components/six-search-field/six-search-field.d.ts +20 -20
  800. package/dist/types/components/six-select/six-select.d.ts +137 -122
  801. package/dist/types/components/six-select/util.d.ts +1 -1
  802. package/dist/types/components/six-sidebar/six-sidebar.d.ts +45 -45
  803. package/dist/types/components/six-sidebar-item/six-sidebar-item.d.ts +12 -12
  804. package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +25 -25
  805. package/dist/types/components/six-spinner/six-spinner.d.ts +6 -5
  806. package/dist/types/components/six-stage-indicator/six-stage-indicator.d.ts +3 -3
  807. package/dist/types/components/six-switch/six-switch.d.ts +48 -48
  808. package/dist/types/components/six-tab/six-tab.d.ts +20 -20
  809. package/dist/types/components/six-tab-group/six-tab-group.d.ts +38 -35
  810. package/dist/types/components/six-tab-panel/six-tab-panel.d.ts +7 -7
  811. package/dist/types/components/six-tag/six-tag.d.ts +20 -20
  812. package/dist/types/components/six-textarea/six-textarea.d.ts +89 -89
  813. package/dist/types/components/six-tile/six-tile.d.ts +31 -31
  814. package/dist/types/components/six-timepicker/six-timepicker.d.ts +152 -152
  815. package/dist/types/components/six-tooltip/six-tooltip.d.ts +55 -55
  816. package/dist/types/components.d.ts +80 -60
  817. package/dist/types/functional-components/form-control/form-control.d.ts +32 -32
  818. package/dist/types/index.d.ts +1 -0
  819. package/dist/types/stencil-public-runtime.d.ts +8 -0
  820. package/dist/types/types.d.ts +1 -0
  821. package/dist/types/utils/alert.d.ts +10 -0
  822. package/dist/types/utils/date-util.d.ts +58 -50
  823. package/dist/types/utils/error-messages.d.ts +27 -25
  824. package/dist/types/utils/event-listeners.d.ts +11 -11
  825. package/dist/types/utils/focus-visible.d.ts +2 -2
  826. package/dist/types/utils/modal.d.ts +8 -8
  827. package/dist/types/utils/offset.d.ts +2 -2
  828. package/dist/types/utils/popover.d.ts +21 -21
  829. package/dist/types/utils/slot.d.ts +0 -1
  830. package/dist/types/utils/time.util.d.ts +6 -6
  831. package/dist/types/utils/types.d.ts +1 -1
  832. package/dist/ui-library/index.esm.js +1 -1
  833. package/dist/ui-library/index.esm.js.map +1 -1
  834. package/dist/ui-library/p-0054410d.entry.js +2 -0
  835. package/dist/ui-library/p-0054410d.entry.js.map +1 -0
  836. package/dist/ui-library/p-034b3bb1.entry.js +2 -0
  837. package/dist/ui-library/p-034b3bb1.entry.js.map +1 -0
  838. package/dist/ui-library/{p-5654e4c7.js → p-06ba4450.js} +1 -1
  839. package/dist/ui-library/p-0cebf1d2.js +2 -0
  840. package/dist/ui-library/p-0cebf1d2.js.map +1 -0
  841. package/dist/ui-library/p-1903aa37.entry.js +2 -0
  842. package/dist/ui-library/p-1903aa37.entry.js.map +1 -0
  843. package/dist/ui-library/p-1a17a806.entry.js +2 -0
  844. package/dist/ui-library/p-1a17a806.entry.js.map +1 -0
  845. package/dist/ui-library/p-1c5e8dec.entry.js +2 -0
  846. package/dist/ui-library/p-1c5e8dec.entry.js.map +1 -0
  847. package/dist/ui-library/p-23f5dae2.entry.js +2 -0
  848. package/dist/ui-library/p-23f5dae2.entry.js.map +1 -0
  849. package/dist/ui-library/p-24c42aab.entry.js +2 -0
  850. package/dist/ui-library/p-24c42aab.entry.js.map +1 -0
  851. package/dist/ui-library/p-2b7e2bcb.entry.js +2 -0
  852. package/dist/ui-library/p-2b7e2bcb.entry.js.map +1 -0
  853. package/dist/ui-library/p-2e7312fc.entry.js +2 -0
  854. package/dist/ui-library/p-2e7312fc.entry.js.map +1 -0
  855. package/dist/ui-library/p-380ba2b7.entry.js +2 -0
  856. package/dist/ui-library/p-380ba2b7.entry.js.map +1 -0
  857. package/dist/ui-library/p-38271a5e.entry.js +2 -0
  858. package/dist/ui-library/p-38271a5e.entry.js.map +1 -0
  859. package/dist/ui-library/p-3a879e1d.entry.js +2 -0
  860. package/dist/ui-library/p-3a879e1d.entry.js.map +1 -0
  861. package/dist/ui-library/p-3c05fdf3.entry.js +2 -0
  862. package/dist/ui-library/p-3c05fdf3.entry.js.map +1 -0
  863. package/dist/ui-library/p-3c582981.entry.js +2 -0
  864. package/dist/ui-library/p-3c582981.entry.js.map +1 -0
  865. package/dist/ui-library/p-3f8ed1d4.entry.js +2 -0
  866. package/dist/ui-library/p-3f8ed1d4.entry.js.map +1 -0
  867. package/dist/ui-library/p-4272021f.entry.js +2 -0
  868. package/dist/ui-library/p-4272021f.entry.js.map +1 -0
  869. package/dist/ui-library/p-499480a2.entry.js +2 -0
  870. package/dist/ui-library/p-499480a2.entry.js.map +1 -0
  871. package/dist/ui-library/p-50d589eb.entry.js +2 -0
  872. package/dist/ui-library/p-50d589eb.entry.js.map +1 -0
  873. package/dist/ui-library/{p-7d00de3a.entry.js → p-52e2a64b.entry.js} +2 -2
  874. package/dist/ui-library/p-52e2a64b.entry.js.map +1 -0
  875. package/dist/ui-library/p-57ab8f42.entry.js +2 -0
  876. package/dist/ui-library/p-57ab8f42.entry.js.map +1 -0
  877. package/dist/ui-library/p-59744f17.entry.js +2 -0
  878. package/dist/ui-library/p-59744f17.entry.js.map +1 -0
  879. package/dist/ui-library/p-5cde0403.entry.js +2 -0
  880. package/dist/ui-library/p-5cde0403.entry.js.map +1 -0
  881. package/dist/ui-library/p-61c91764.entry.js +2 -0
  882. package/dist/ui-library/p-61c91764.entry.js.map +1 -0
  883. package/dist/ui-library/p-651293e7.js +2 -0
  884. package/dist/ui-library/p-651293e7.js.map +1 -0
  885. package/dist/ui-library/{p-f3fdc121.js → p-6ee48e81.js} +2 -2
  886. package/dist/ui-library/p-716019b6.entry.js +2 -0
  887. package/dist/ui-library/p-716019b6.entry.js.map +1 -0
  888. package/dist/ui-library/p-71ff0e72.entry.js +2 -0
  889. package/dist/ui-library/p-71ff0e72.entry.js.map +1 -0
  890. package/dist/ui-library/p-740d3c8b.entry.js +2 -0
  891. package/dist/ui-library/p-740d3c8b.entry.js.map +1 -0
  892. package/dist/ui-library/p-786148a6.entry.js +2 -0
  893. package/dist/ui-library/p-786148a6.entry.js.map +1 -0
  894. package/dist/ui-library/p-7ad67887.entry.js +2 -0
  895. package/dist/ui-library/p-7ad67887.entry.js.map +1 -0
  896. package/dist/ui-library/{p-0fdb185d.js → p-7f856f00.js} +1 -1
  897. package/dist/ui-library/p-81390410.entry.js +2 -0
  898. package/dist/ui-library/p-81390410.entry.js.map +1 -0
  899. package/dist/ui-library/{p-052aa8d3.js → p-8227aaed.js} +1 -1
  900. package/dist/ui-library/{p-8c0971e0.js → p-842b492e.js} +1 -1
  901. package/dist/ui-library/{p-0f510624.js → p-862d474e.js} +1 -1
  902. package/dist/ui-library/p-862d474e.js.map +1 -0
  903. package/dist/ui-library/{p-7d95def3.js → p-8bfb4bfc.js} +1 -1
  904. package/dist/ui-library/p-9a7c45c4.entry.js +2 -0
  905. package/dist/ui-library/p-9a7c45c4.entry.js.map +1 -0
  906. package/dist/ui-library/p-9e14b37a.entry.js +2 -0
  907. package/dist/ui-library/p-9e14b37a.entry.js.map +1 -0
  908. package/dist/ui-library/{p-698bb2c8.js → p-a1502802.js} +1 -1
  909. package/dist/ui-library/p-a2dad0ab.entry.js +2 -0
  910. package/dist/ui-library/p-a2dad0ab.entry.js.map +1 -0
  911. package/dist/ui-library/p-a67b3f42.entry.js +2 -0
  912. package/dist/ui-library/p-a67b3f42.entry.js.map +1 -0
  913. package/dist/ui-library/p-a69ba529.entry.js +2 -0
  914. package/dist/ui-library/p-a69ba529.entry.js.map +1 -0
  915. package/dist/ui-library/p-ab22dafd.entry.js +2 -0
  916. package/dist/ui-library/p-ab22dafd.entry.js.map +1 -0
  917. package/dist/ui-library/p-ad244587.entry.js +2 -0
  918. package/dist/ui-library/p-ad244587.entry.js.map +1 -0
  919. package/dist/ui-library/p-b68f4556.entry.js +2 -0
  920. package/dist/ui-library/p-b68f4556.entry.js.map +1 -0
  921. package/dist/ui-library/p-b863dcc4.entry.js +2 -0
  922. package/dist/ui-library/p-b863dcc4.entry.js.map +1 -0
  923. package/dist/ui-library/p-b902eb65.entry.js +2 -0
  924. package/dist/ui-library/p-b902eb65.entry.js.map +1 -0
  925. package/dist/ui-library/p-b922e8ac.entry.js +2 -0
  926. package/dist/ui-library/p-b922e8ac.entry.js.map +1 -0
  927. package/dist/ui-library/p-c297662b.entry.js +2 -0
  928. package/dist/ui-library/p-c297662b.entry.js.map +1 -0
  929. package/dist/ui-library/p-ce59d17f.entry.js +2 -0
  930. package/dist/ui-library/p-ce59d17f.entry.js.map +1 -0
  931. package/dist/ui-library/p-dea8f89c.entry.js +2 -0
  932. package/dist/ui-library/p-dea8f89c.entry.js.map +1 -0
  933. package/dist/ui-library/p-e080d5b6.js +2 -0
  934. package/dist/ui-library/p-e080d5b6.js.map +1 -0
  935. package/dist/ui-library/p-e1255160.js +2 -0
  936. package/dist/ui-library/p-e1255160.js.map +1 -0
  937. package/dist/ui-library/p-e6db01a9.entry.js +2 -0
  938. package/dist/ui-library/p-e6db01a9.entry.js.map +1 -0
  939. package/dist/ui-library/p-e6db442b.entry.js +2 -0
  940. package/dist/ui-library/p-e6db442b.entry.js.map +1 -0
  941. package/dist/ui-library/p-e8d5a789.js +3 -0
  942. package/dist/ui-library/p-e8d5a789.js.map +1 -0
  943. package/dist/ui-library/p-e924132d.entry.js +2 -0
  944. package/dist/ui-library/p-e924132d.entry.js.map +1 -0
  945. package/dist/ui-library/p-e9726db2.entry.js +2 -0
  946. package/dist/ui-library/p-e9726db2.entry.js.map +1 -0
  947. package/dist/ui-library/p-f136a6b2.js +2 -0
  948. package/dist/ui-library/p-f136a6b2.js.map +1 -0
  949. package/dist/ui-library/p-f2320c65.entry.js +2 -0
  950. package/dist/ui-library/p-f2320c65.entry.js.map +1 -0
  951. package/dist/ui-library/p-fdf271fd.entry.js +2 -0
  952. package/dist/ui-library/p-fdf271fd.entry.js.map +1 -0
  953. package/dist/ui-library/p-fe483fc6.entry.js +2 -0
  954. package/dist/ui-library/p-fe483fc6.entry.js.map +1 -0
  955. package/dist/ui-library/ui-library.css +1 -10
  956. package/dist/ui-library/ui-library.esm.js +1 -1
  957. package/dist/ui-library/ui-library.esm.js.map +1 -1
  958. package/package.json +11 -15
  959. package/dist/cjs/event-listeners-fdfe838c.js +0 -61
  960. package/dist/cjs/event-listeners-fdfe838c.js.map +0 -1
  961. package/dist/cjs/focus-visible-ae2470dd.js +0 -47
  962. package/dist/cjs/form-2df8c5bb.js +0 -20
  963. package/dist/cjs/form-control-19303ed2.js +0 -36
  964. package/dist/cjs/form-control-19303ed2.js.map +0 -1
  965. package/dist/cjs/index-7d73cbd6.js.map +0 -1
  966. package/dist/cjs/modal-d5f074c7.js +0 -52
  967. package/dist/cjs/modal-d5f074c7.js.map +0 -1
  968. package/dist/cjs/popover-2df7e154.js.map +0 -1
  969. package/dist/cjs/popup-f1d9910f.js +0 -103
  970. package/dist/cjs/popup-f1d9910f.js.map +0 -1
  971. package/dist/cjs/scroll-2c4200dc.js +0 -68
  972. package/dist/cjs/set-attributes_2.cjs.entry.js +0 -73
  973. package/dist/cjs/set-attributes_2.cjs.entry.js.map +0 -1
  974. package/dist/cjs/six-checkbox.cjs.entry.js +0 -127
  975. package/dist/cjs/six-checkbox.cjs.entry.js.map +0 -1
  976. package/dist/cjs/six-menu-item.cjs.entry.js +0 -63
  977. package/dist/cjs/six-menu-item.cjs.entry.js.map +0 -1
  978. package/dist/cjs/slot-6e6a400f.js +0 -53
  979. package/dist/cjs/slot-6e6a400f.js.map +0 -1
  980. package/dist/cjs/types-47199040.js +0 -17
  981. package/dist/cjs/types-47199040.js.map +0 -1
  982. package/dist/collection/utils/support.js +0 -16
  983. package/dist/collection/utils/support.js.map +0 -1
  984. package/dist/collection/wrappers/set-attributes/set-attributes.js +0 -74
  985. package/dist/collection/wrappers/set-attributes/set-attributes.js.map +0 -1
  986. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js +0 -16
  987. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js.map +0 -1
  988. package/dist/components/set-attributes.d.ts +0 -11
  989. package/dist/components/set-attributes.js +0 -8
  990. package/dist/components/set-attributes.js.map +0 -1
  991. package/dist/components/set-attributes2.js +0 -73
  992. package/dist/components/set-attributes2.js.map +0 -1
  993. package/dist/components/six-tag2.js +0 -102
  994. package/dist/components/six-tag2.js.map +0 -1
  995. package/dist/esm/event-listeners-f6e5b0ab.js +0 -59
  996. package/dist/esm/event-listeners-f6e5b0ab.js.map +0 -1
  997. package/dist/esm/focus-visible-fc6ac671.js +0 -45
  998. package/dist/esm/form-81252534.js +0 -18
  999. package/dist/esm/form-control-079f7fb6.js +0 -34
  1000. package/dist/esm/form-control-079f7fb6.js.map +0 -1
  1001. package/dist/esm/index-4ee8b33e.js.map +0 -1
  1002. package/dist/esm/modal-7d32e141.js +0 -49
  1003. package/dist/esm/modal-7d32e141.js.map +0 -1
  1004. package/dist/esm/popover-136d1f73.js.map +0 -1
  1005. package/dist/esm/popup-7f89a001.js +0 -98
  1006. package/dist/esm/popup-7f89a001.js.map +0 -1
  1007. package/dist/esm/scroll-774762d6.js +0 -64
  1008. package/dist/esm/set-attributes_2.entry.js +0 -68
  1009. package/dist/esm/set-attributes_2.entry.js.map +0 -1
  1010. package/dist/esm/six-checkbox.entry.js +0 -123
  1011. package/dist/esm/six-checkbox.entry.js.map +0 -1
  1012. package/dist/esm/six-menu-item.entry.js +0 -59
  1013. package/dist/esm/six-menu-item.entry.js.map +0 -1
  1014. package/dist/esm/slot-ad36df3a.js +0 -48
  1015. package/dist/esm/slot-ad36df3a.js.map +0 -1
  1016. package/dist/esm/types-59b455aa.js +0 -17
  1017. package/dist/esm/types-59b455aa.js.map +0 -1
  1018. package/dist/types/utils/support.d.ts +0 -1
  1019. package/dist/types/wrappers/set-attributes/set-attributes.d.ts +0 -9
  1020. package/dist/ui-library/p-0416ec85.entry.js +0 -2
  1021. package/dist/ui-library/p-0416ec85.entry.js.map +0 -1
  1022. package/dist/ui-library/p-0d8154b1.entry.js +0 -2
  1023. package/dist/ui-library/p-0d8154b1.entry.js.map +0 -1
  1024. package/dist/ui-library/p-0f510624.js.map +0 -1
  1025. package/dist/ui-library/p-120a1b66.entry.js +0 -2
  1026. package/dist/ui-library/p-120a1b66.entry.js.map +0 -1
  1027. package/dist/ui-library/p-15559d38.js +0 -2
  1028. package/dist/ui-library/p-15559d38.js.map +0 -1
  1029. package/dist/ui-library/p-16eb37cd.entry.js +0 -2
  1030. package/dist/ui-library/p-16eb37cd.entry.js.map +0 -1
  1031. package/dist/ui-library/p-1f7dac36.entry.js +0 -2
  1032. package/dist/ui-library/p-1f7dac36.entry.js.map +0 -1
  1033. package/dist/ui-library/p-20cb60c9.entry.js +0 -2
  1034. package/dist/ui-library/p-20cb60c9.entry.js.map +0 -1
  1035. package/dist/ui-library/p-21606e14.entry.js +0 -2
  1036. package/dist/ui-library/p-21606e14.entry.js.map +0 -1
  1037. package/dist/ui-library/p-2280038f.entry.js +0 -2
  1038. package/dist/ui-library/p-2280038f.entry.js.map +0 -1
  1039. package/dist/ui-library/p-24e80289.entry.js +0 -2
  1040. package/dist/ui-library/p-24e80289.entry.js.map +0 -1
  1041. package/dist/ui-library/p-27987d45.entry.js +0 -2
  1042. package/dist/ui-library/p-27987d45.entry.js.map +0 -1
  1043. package/dist/ui-library/p-2945a132.entry.js +0 -2
  1044. package/dist/ui-library/p-2945a132.entry.js.map +0 -1
  1045. package/dist/ui-library/p-2e99f389.entry.js +0 -2
  1046. package/dist/ui-library/p-2e99f389.entry.js.map +0 -1
  1047. package/dist/ui-library/p-3d7678a8.entry.js +0 -2
  1048. package/dist/ui-library/p-3d7678a8.entry.js.map +0 -1
  1049. package/dist/ui-library/p-4196a75a.entry.js +0 -2
  1050. package/dist/ui-library/p-4196a75a.entry.js.map +0 -1
  1051. package/dist/ui-library/p-48b7c199.entry.js +0 -2
  1052. package/dist/ui-library/p-48b7c199.entry.js.map +0 -1
  1053. package/dist/ui-library/p-51630491.entry.js +0 -2
  1054. package/dist/ui-library/p-51630491.entry.js.map +0 -1
  1055. package/dist/ui-library/p-5218986b.entry.js +0 -2
  1056. package/dist/ui-library/p-5218986b.entry.js.map +0 -1
  1057. package/dist/ui-library/p-5904d3c3.entry.js +0 -2
  1058. package/dist/ui-library/p-5904d3c3.entry.js.map +0 -1
  1059. package/dist/ui-library/p-59210f0b.js +0 -2
  1060. package/dist/ui-library/p-59210f0b.js.map +0 -1
  1061. package/dist/ui-library/p-66a48dc4.entry.js +0 -2
  1062. package/dist/ui-library/p-66a48dc4.entry.js.map +0 -1
  1063. package/dist/ui-library/p-66d1d93d.entry.js +0 -2
  1064. package/dist/ui-library/p-66d1d93d.entry.js.map +0 -1
  1065. package/dist/ui-library/p-6aced322.entry.js +0 -2
  1066. package/dist/ui-library/p-6aced322.entry.js.map +0 -1
  1067. package/dist/ui-library/p-6e87aeea.entry.js +0 -2
  1068. package/dist/ui-library/p-6e87aeea.entry.js.map +0 -1
  1069. package/dist/ui-library/p-74179b03.entry.js +0 -2
  1070. package/dist/ui-library/p-74179b03.entry.js.map +0 -1
  1071. package/dist/ui-library/p-77424c6b.entry.js +0 -2
  1072. package/dist/ui-library/p-77424c6b.entry.js.map +0 -1
  1073. package/dist/ui-library/p-7d00de3a.entry.js.map +0 -1
  1074. package/dist/ui-library/p-7e9257f3.entry.js +0 -2
  1075. package/dist/ui-library/p-7e9257f3.entry.js.map +0 -1
  1076. package/dist/ui-library/p-8226e363.entry.js +0 -2
  1077. package/dist/ui-library/p-8226e363.entry.js.map +0 -1
  1078. package/dist/ui-library/p-8296e24c.entry.js +0 -2
  1079. package/dist/ui-library/p-8296e24c.entry.js.map +0 -1
  1080. package/dist/ui-library/p-93a9b693.entry.js +0 -2
  1081. package/dist/ui-library/p-93a9b693.entry.js.map +0 -1
  1082. package/dist/ui-library/p-94bd8347.entry.js +0 -2
  1083. package/dist/ui-library/p-94bd8347.entry.js.map +0 -1
  1084. package/dist/ui-library/p-9ace84c7.js +0 -2
  1085. package/dist/ui-library/p-9ace84c7.js.map +0 -1
  1086. package/dist/ui-library/p-9bec3e14.entry.js +0 -2
  1087. package/dist/ui-library/p-9bec3e14.entry.js.map +0 -1
  1088. package/dist/ui-library/p-a15928c4.entry.js +0 -2
  1089. package/dist/ui-library/p-a15928c4.entry.js.map +0 -1
  1090. package/dist/ui-library/p-a4348ad4.entry.js +0 -2
  1091. package/dist/ui-library/p-a4348ad4.entry.js.map +0 -1
  1092. package/dist/ui-library/p-acd3ecfd.entry.js +0 -2
  1093. package/dist/ui-library/p-acd3ecfd.entry.js.map +0 -1
  1094. package/dist/ui-library/p-ae383f66.entry.js +0 -2
  1095. package/dist/ui-library/p-ae383f66.entry.js.map +0 -1
  1096. package/dist/ui-library/p-af0e163e.entry.js +0 -2
  1097. package/dist/ui-library/p-af0e163e.entry.js.map +0 -1
  1098. package/dist/ui-library/p-b3a14438.entry.js +0 -2
  1099. package/dist/ui-library/p-b3a14438.entry.js.map +0 -1
  1100. package/dist/ui-library/p-b42fd9c3.entry.js +0 -2
  1101. package/dist/ui-library/p-b42fd9c3.entry.js.map +0 -1
  1102. package/dist/ui-library/p-b5fdfa6a.js +0 -3
  1103. package/dist/ui-library/p-b5fdfa6a.js.map +0 -1
  1104. package/dist/ui-library/p-b7597736.entry.js +0 -2
  1105. package/dist/ui-library/p-b7597736.entry.js.map +0 -1
  1106. package/dist/ui-library/p-b906a605.entry.js +0 -2
  1107. package/dist/ui-library/p-b906a605.entry.js.map +0 -1
  1108. package/dist/ui-library/p-b97764a1.entry.js +0 -2
  1109. package/dist/ui-library/p-b97764a1.entry.js.map +0 -1
  1110. package/dist/ui-library/p-bbefcec9.entry.js +0 -2
  1111. package/dist/ui-library/p-bbefcec9.entry.js.map +0 -1
  1112. package/dist/ui-library/p-c75694df.entry.js +0 -2
  1113. package/dist/ui-library/p-c75694df.entry.js.map +0 -1
  1114. package/dist/ui-library/p-cb32f8d2.entry.js +0 -2
  1115. package/dist/ui-library/p-cb32f8d2.entry.js.map +0 -1
  1116. package/dist/ui-library/p-cd3281fb.entry.js +0 -2
  1117. package/dist/ui-library/p-cd3281fb.entry.js.map +0 -1
  1118. package/dist/ui-library/p-cec8c149.entry.js +0 -2
  1119. package/dist/ui-library/p-cec8c149.entry.js.map +0 -1
  1120. package/dist/ui-library/p-d1ba2ad5.entry.js +0 -2
  1121. package/dist/ui-library/p-d1ba2ad5.entry.js.map +0 -1
  1122. package/dist/ui-library/p-d2196113.entry.js +0 -2
  1123. package/dist/ui-library/p-d2196113.entry.js.map +0 -1
  1124. package/dist/ui-library/p-de7a9448.entry.js +0 -2
  1125. package/dist/ui-library/p-de7a9448.entry.js.map +0 -1
  1126. package/dist/ui-library/p-df1c4a1f.entry.js +0 -2
  1127. package/dist/ui-library/p-df1c4a1f.entry.js.map +0 -1
  1128. package/dist/ui-library/p-e740215a.entry.js +0 -2
  1129. package/dist/ui-library/p-e740215a.entry.js.map +0 -1
  1130. /package/dist/ui-library/{p-5654e4c7.js.map → p-06ba4450.js.map} +0 -0
  1131. /package/dist/ui-library/{p-f3fdc121.js.map → p-6ee48e81.js.map} +0 -0
  1132. /package/dist/ui-library/{p-0fdb185d.js.map → p-7f856f00.js.map} +0 -0
  1133. /package/dist/ui-library/{p-052aa8d3.js.map → p-8227aaed.js.map} +0 -0
  1134. /package/dist/ui-library/{p-8c0971e0.js.map → p-842b492e.js.map} +0 -0
  1135. /package/dist/ui-library/{p-7d95def3.js.map → p-8bfb4bfc.js.map} +0 -0
  1136. /package/dist/ui-library/{p-698bb2c8.js.map → p-a1502802.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixProgressRingCss","SixProgressRingStyle0","SixProgressRing","handlePercentageChange","this","updateProgress","componentDidLoad","_a","indicator","r","radius","baseVal","value","circumference","Math","PI","offset","percentage","style","strokeDasharray","strokeDashoffset","render","h","key","part","class","width","size","height","strokeWidth","fill","cx","cy","ref","el"],"sources":["src/components/six-progress-ring/six-progress-ring.scss?tag=six-progress-ring&encapsulation=shadow","src/components/six-progress-ring/six-progress-ring.tsx"],"sourcesContent":["@import 'src/global/component';\n\n/**\n * @prop --track-color: The track color.\n * @prop --indicator-color: The indicator color.\n */\n:host {\n --track-color: var(--six-progress-track-color);\n --indicator-color: var(--six-progress-indicator-color);\n\n display: inline-flex;\n}\n\n.progress-ring {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.progress-ring__image {\n transform: rotate(-90deg);\n transform-origin: 50% 50%;\n}\n\n.progress-ring__track {\n stroke: var(--track-color);\n}\n\n.progress-ring__indicator {\n stroke: var(--indicator-color);\n transition: 0.35s stroke-dashoffset, 0.35s stroke;\n}\n\n.progress-ring__label {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n text-align: center;\n user-select: none;\n font-family: var(--six-font-family);\n}\n","import { Component, h, Prop, Watch } 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 - A label to show inside the ring.\n *\n * @part base - The component's base wrapper.\n * @part label - The progress ring label.\n */\n\n@Component({\n tag: 'six-progress-ring',\n styleUrl: 'six-progress-ring.scss',\n shadow: true,\n})\nexport class SixProgressRing {\n private indicator?: SVGCircleElement;\n\n /** The size of the progress ring in pixels. */\n @Prop() size = 128;\n\n /** The stroke width of the progress ring in pixels. */\n @Prop() strokeWidth = 4;\n\n /** The current progress percentage, 0 - 100. */\n @Prop() percentage = 0;\n\n @Watch('percentage')\n handlePercentageChange() {\n this.updateProgress();\n }\n\n componentDidLoad() {\n this.updateProgress();\n }\n\n private updateProgress() {\n if (this.indicator?.r == null) return;\n\n const radius = this.indicator.r.baseVal.value;\n const circumference = radius * 2 * Math.PI;\n const offset = circumference - (this.percentage / 100) * circumference;\n\n this.indicator.style.strokeDasharray = `${circumference} ${circumference}`;\n this.indicator.style.strokeDashoffset = `${offset}`;\n }\n\n render() {\n return (\n <div part=\"base\" class=\"progress-ring\">\n <svg class=\"progress-ring__image\" width={this.size} height={this.size}>\n <circle\n class=\"progress-ring__track\"\n stroke-width={this.strokeWidth}\n stroke-linecap=\"round\"\n fill=\"transparent\"\n r={this.size / 2 - this.strokeWidth * 2}\n cx={this.size / 2}\n cy={this.size / 2}\n />\n\n <circle\n ref={(el) => (this.indicator = el as SVGCircleElement)}\n class=\"progress-ring__indicator\"\n stroke-width={this.strokeWidth}\n stroke-linecap=\"round\"\n fill=\"transparent\"\n r={this.size / 2 - this.strokeWidth * 2}\n cx={this.size / 2}\n cy={this.size / 2}\n />\n </svg>\n\n <span part=\"label\" class=\"progress-ring__label\">\n <slot />\n </span>\n </div>\n );\n }\n}\n"],"mappings":"sCAAA,MAAMA,EAAqB,mvBAC3B,MAAAC,EAAeD,E,MCkBFE,EAAe,M,mCAIX,I,iBAGO,E,gBAGD,C,CAGrB,sBAAAC,GACEC,KAAKC,gB,CAGP,gBAAAC,GACEF,KAAKC,gB,CAGC,cAAAA,G,MACN,KAAIE,EAAAH,KAAKI,aAAS,MAAAD,SAAA,SAAAA,EAAEE,IAAK,KAAM,OAE/B,MAAMC,EAASN,KAAKI,UAAUC,EAAEE,QAAQC,MACxC,MAAMC,EAAgBH,EAAS,EAAII,KAAKC,GACxC,MAAMC,EAASH,EAAiBT,KAAKa,WAAa,IAAOJ,EAEzDT,KAAKI,UAAUU,MAAMC,gBAAkB,GAAGN,KAAiBA,IAC3DT,KAAKI,UAAUU,MAAME,iBAAmB,GAAGJ,G,CAG7C,MAAAK,GACE,OACEC,EAAA,OAAAC,IAAA,2CAAKC,KAAK,OAAOC,MAAM,iBACrBH,EAAA,OAAAC,IAAA,2CAAKE,MAAM,uBAAuBC,MAAOtB,KAAKuB,KAAMC,OAAQxB,KAAKuB,MAC/DL,EAAA,UAAAC,IAAA,2CACEE,MAAM,uBAAsB,eACdrB,KAAKyB,YAAW,iBACf,QACfC,KAAK,cACLrB,EAAGL,KAAKuB,KAAO,EAAIvB,KAAKyB,YAAc,EACtCE,GAAI3B,KAAKuB,KAAO,EAChBK,GAAI5B,KAAKuB,KAAO,IAGlBL,EAAA,UAAAC,IAAA,2CACEU,IAAMC,GAAQ9B,KAAKI,UAAY0B,EAC/BT,MAAM,2BAA0B,eAClBrB,KAAKyB,YAAW,iBACf,QACfC,KAAK,cACLrB,EAAGL,KAAKuB,KAAO,EAAIvB,KAAKyB,YAAc,EACtCE,GAAI3B,KAAKuB,KAAO,EAChBK,GAAI5B,KAAKuB,KAAO,KAIpBL,EAAA,QAAAC,IAAA,2CAAMC,KAAK,QAAQC,MAAM,wBACvBH,EAAA,QAAAC,IAAA,8C"}
@@ -0,0 +1,2 @@
1
+ import{r as s,c as e,h as i}from"./p-e8d5a789.js";import{D as t,a}from"./p-a1502802.js";import{E as h}from"./p-8bfb4bfc.js";const o=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:block}.search-box{z-index:var(--six-z-index-search-field)}.search-box__icon{cursor:pointer}";const c=o;const r=class{constructor(i){s(this,i);this.searchFieldChange=e(this,"six-search-field-change",7);this.eventListeners=new h;this.handleInputChange=()=>{if(this.inputElement!=null){this.searchFieldChange.emit({value:this.inputElement.value})}};this.placeholder=undefined;this.debounce=t;this.disabled=false;this.value="";this.clearable=false}handleValueChange(){if(this.inputElement!=null){this.inputElement.value=this.value}}componentDidLoad(){if(this.inputElement==null)return;this.eventListeners.add(this.inputElement,"six-input-input",a(this.handleInputChange,this.debounce));this.eventListeners.add(this.inputElement,"keydown",(s=>{const e=s;if(e.key==="Enter"){this.handleInputChange()}}))}disconnectedCallback(){this.eventListeners.removeAll()}render(){return i("div",{key:"3083fe949be687f4540c7ee0115d9befc4faa90d",class:"search-box"},i("six-input",{key:"addaf6279a2473b3c44d2284c11a4e822c0883fe",ref:s=>this.inputElement=s,placeholder:this.placeholder,value:this.value,disabled:this.disabled,clearable:this.clearable},i("six-icon",{key:"d6953c6b87cbf8f6ed1fb1625aa510857ccfb421",class:"search-box__icon",slot:"prefix",size:"small",onClick:this.handleInputChange},"search")),i("slot",{key:"d7f0a5e0974d5e0cbe8b0e120999804be0299aef"}))}static get watchers(){return{value:["handleValueChange"]}}};r.style=c;export{r as six_search_field};
2
+ //# sourceMappingURL=p-e9726db2.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixSearchFieldCss","SixSearchFieldStyle0","SixSearchField","this","eventListeners","EventListeners","handleInputChange","inputElement","searchFieldChange","emit","value","DEFAULT_DEBOUNCE_FAST","handleValueChange","componentDidLoad","add","debounce","event","keyboardEvent","key","disconnectedCallback","removeAll","render","h","class","ref","el","placeholder","disabled","clearable","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":"4HAAA,MAAMA,EAAoB,qNAC1B,MAAAC,EAAeD,E,MCmBFE,EAAc,M,oFAqBjBC,KAAAC,eAAiB,IAAIC,EAErBF,KAAAG,kBAAoB,KAC1B,GAAIH,KAAKI,cAAgB,KAAM,CAC7BJ,KAAKK,kBAAkBC,KAAK,CAAEC,MAAOP,KAAKI,aAAaG,O,4CApBvBC,E,cAGA,M,WAGH,G,eAGb,K,CAgBpB,iBAAAC,GACE,GAAIT,KAAKI,cAAgB,KAAM,CAC7BJ,KAAKI,aAAaG,MAAQP,KAAKO,K,EAInC,gBAAAG,GACE,GAAIV,KAAKI,cAAgB,KAAM,OAE/BJ,KAAKC,eAAeU,IAAIX,KAAKI,aAAc,kBAAmBQ,EAASZ,KAAKG,kBAAmBH,KAAKY,WACpGZ,KAAKC,eAAeU,IAAIX,KAAKI,aAAc,WAAYS,IACrD,MAAMC,EAAgBD,EACtB,GAAIC,EAAcC,MAAQ,QAAS,CAEjCf,KAAKG,mB,KAKX,oBAAAa,GACEhB,KAAKC,eAAegB,W,CAGtB,MAAAC,GACE,OACEC,EAAA,OAAAJ,IAAA,2CAAKK,MAAM,cACTD,EAAA,aAAAJ,IAAA,2CACEM,IAAMC,GAAQtB,KAAKI,aAAekB,EAClCC,YAAavB,KAAKuB,YAClBhB,MAAOP,KAAKO,MACZiB,SAAUxB,KAAKwB,SACfC,UAAWzB,KAAKyB,WAEhBN,EAAA,YAAAJ,IAAA,2CAAUK,MAAM,mBAAmBM,KAAK,SAASC,KAAK,QAAQC,QAAS5B,KAAKG,mBAAiB,WAI/FgB,EAAA,QAAAJ,IAAA,6C"}
@@ -0,0 +1,2 @@
1
+ function n(n,t,c,s,w,u){if(!n||t==null||c==null||s==null){return}const l=i(t);const f=c.getBoundingClientRect();const e=f.top;const d=l.top;const r=o(c,s,w);if(r&&e<d){t.style.top=`${d-l.height-f.height}px`}u(r)}function t(n){setTimeout((()=>{if(n==null){return}const t=n.getBoundingClientRect();if(t.y<0&&window.innerHeight-t.height>0&&Math.abs(t.y)<=t.height){i(n);n.style.top="0px"}else if(window.innerHeight<t.y+t.height&&window.innerHeight>t.height&&Math.abs(t.y-window.innerHeight)<=t.height){i(n);n.style.top=`${window.innerHeight-t.height}px`}if(window.innerWidth<t.x+t.width&&window.innerWidth>t.width&&Math.abs(t.x-window.innerWidth)<=t.width){i(n);n.style.left=`${window.innerWidth-t.width}px`}}),0)}function o(n,t,o){const i=n.getBoundingClientRect();const c=t.getBoundingClientRect();const s=Math.max(c.height,o);const w=i.y>window.innerHeight/2;return w&&window.innerHeight<i.bottom+s}function i(n){const t=n.getBoundingClientRect();n.style.position="fixed";n.style.top=t["top"]+"px";n.style.left=t["left"]+"px";n.style.width=t["width"]+"px";n.style.minHeight="fit-content";return t}function c(n,t,i,c,s,w){if(!n||!t||i==null||c==null||s==null){return}const u=i.getBoundingClientRect();const l=u.height;const f=c.getBoundingClientRect();const e=f.top;const d=f.height;const r=o(c,s,w);if(r){i.style.top=`${e-l}px`}else{i.style.top=`${e+d}px`}}export{n as a,t as b,o as c,c as m};
2
+ //# sourceMappingURL=p-f136a6b2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["adjustPopupForHoisting","hoist","popup","inputElement","wrapper","minPopupHeight","dropdownDirectionChanged","popupDimensions","setPopupAsFixPosition","inputDimensions","getBoundingClientRect","inputTop","top","popupTop","isUp","calcIsDropDownContentUp","style","height","adjustPopupForSmallScreens","setTimeout","y","window","innerHeight","Math","abs","innerWidth","x","width","left","inputBoundingRect","wrapperBoundingRect","popupHeight","max","moreSpaceInTop","bottom","position","minHeight","movePopup","open","popupBoundingClientRect","inputBoundingClientRect","inputHeight"],"sources":["src/utils/popup.ts"],"sourcesContent":["/**\n * If the popup is hoisted we popup is hoisted its position will change to fix to not be clipped of by a containing container.\n * To render the popup correctly we render it normally, and then assign this screenposition to the fixed popup\n */\nexport function adjustPopupForHoisting(\n hoist: boolean,\n popup: HTMLElement | undefined,\n inputElement: HTMLElement | undefined,\n wrapper: HTMLElement | undefined,\n minPopupHeight: number,\n dropdownDirectionChanged: (isUp: boolean) => void\n) {\n if (!hoist || popup == null || inputElement == null || wrapper == null) {\n return;\n }\n // take a snapshot of normally rendered popup\n const popupDimensions = setPopupAsFixPosition(popup);\n const inputDimensions = inputElement.getBoundingClientRect();\n const inputTop = inputDimensions.top;\n const popupTop = popupDimensions.top;\n\n const isUp = calcIsDropDownContentUp(inputElement, wrapper, minPopupHeight);\n // check screen position to check whether the popup should be moved above or below the trigger element\n if (isUp && inputTop < popupTop) {\n // move popup above input field if datepicker is at bottom of screen\n popup.style.top = `${popupTop - popupDimensions.height - inputDimensions.height}px`;\n }\n dropdownDirectionChanged(isUp);\n}\n\n/*\n * For small screens the datepicker popup could be cut-off even though there might still be space within the viewport.\n * This is because the popup is always aligned with the trigger input field. However in the scenario of small screens\n * we should reposition the popup to use the space available.\n */\nexport function adjustPopupForSmallScreens(popup?: HTMLElement) {\n // execute after dropdown has been rendered to make sure the popup reference is correctly set\n setTimeout(() => {\n if (popup == null) {\n return;\n }\n const popupDimensions = popup.getBoundingClientRect();\n if (\n popupDimensions.y < 0 &&\n window.innerHeight - popupDimensions.height > 0 &&\n Math.abs(popupDimensions.y) <= popupDimensions.height\n ) {\n // handle case where popup is cut-off on top but there is still space available\n setPopupAsFixPosition(popup);\n popup.style.top = '0px';\n } else if (\n window.innerHeight < popupDimensions.y + popupDimensions.height &&\n window.innerHeight > popupDimensions.height &&\n Math.abs(popupDimensions.y - window.innerHeight) <= popupDimensions.height\n ) {\n // handle case where popup is cut-off at the bottom but there is still space available above\n // apply screen position to fixed popup\n setPopupAsFixPosition(popup);\n popup.style.top = `${window.innerHeight - popupDimensions.height}px`;\n }\n\n if (\n window.innerWidth < popupDimensions.x + popupDimensions.width &&\n window.innerWidth > popupDimensions.width &&\n Math.abs(popupDimensions.x - window.innerWidth) <= popupDimensions.width\n ) {\n // handle case where popup is cut-off to the right\n setPopupAsFixPosition(popup);\n popup.style.left = `${window.innerWidth - popupDimensions.width}px`;\n }\n }, 0);\n}\n\nexport function calcIsDropDownContentUp(\n inputElement: HTMLElement,\n wrapper: HTMLElement,\n minPopupHeight: number\n): boolean {\n const inputBoundingRect = inputElement.getBoundingClientRect();\n const wrapperBoundingRect = wrapper.getBoundingClientRect();\n const popupHeight = Math.max(wrapperBoundingRect.height, minPopupHeight);\n const moreSpaceInTop = inputBoundingRect.y > window.innerHeight / 2;\n return moreSpaceInTop && window.innerHeight < inputBoundingRect.bottom + popupHeight;\n}\n\nexport function setPopupAsFixPosition(popup: HTMLElement): DOMRect {\n const popupDimensions = popup.getBoundingClientRect();\n popup.style.position = 'fixed';\n popup.style.top = popupDimensions['top'] + 'px';\n popup.style.left = popupDimensions['left'] + 'px';\n popup.style.width = popupDimensions['width'] + 'px';\n popup.style.minHeight = 'fit-content';\n return popupDimensions;\n}\n\n/*\n * The position of the hoisted datepicker needs to be correctly calculated since the position changes to fixed.\n * Thus if the user scrolls or adjusts the screen size we need to recalculate the datepicker position.\n */\nexport function movePopup(\n hoist: boolean,\n open: boolean,\n popup: HTMLElement | undefined,\n inputElement: HTMLElement | undefined,\n wrapper: HTMLElement | undefined,\n minPopupHeight: number\n) {\n if (!hoist || !open || popup == null || inputElement == null || wrapper == null) {\n return;\n }\n const popupBoundingClientRect = popup.getBoundingClientRect();\n const popupHeight = popupBoundingClientRect.height;\n const inputBoundingClientRect = inputElement.getBoundingClientRect();\n const inputTop = inputBoundingClientRect.top;\n const inputHeight = inputBoundingClientRect.height;\n\n const isUp = calcIsDropDownContentUp(inputElement, wrapper, minPopupHeight);\n\n if (isUp) {\n popup.style.top = `${inputTop - popupHeight}px`;\n } else {\n popup.style.top = `${inputTop + inputHeight}px`;\n }\n}\n"],"mappings":"SAIgBA,EACdC,EACAC,EACAC,EACAC,EACAC,EACAC,GAEA,IAAKL,GAASC,GAAS,MAAQC,GAAgB,MAAQC,GAAW,KAAM,CACtE,M,CAGF,MAAMG,EAAkBC,EAAsBN,GAC9C,MAAMO,EAAkBN,EAAaO,wBACrC,MAAMC,EAAWF,EAAgBG,IACjC,MAAMC,EAAWN,EAAgBK,IAEjC,MAAME,EAAOC,EAAwBZ,EAAcC,EAASC,GAE5D,GAAIS,GAAQH,EAAWE,EAAU,CAE/BX,EAAMc,MAAMJ,IAAM,GAAGC,EAAWN,EAAgBU,OAASR,EAAgBQ,U,CAE3EX,EAAyBQ,EAC3B,C,SAOgBI,EAA2BhB,GAEzCiB,YAAW,KACT,GAAIjB,GAAS,KAAM,CACjB,M,CAEF,MAAMK,EAAkBL,EAAMQ,wBAC9B,GACEH,EAAgBa,EAAI,GACpBC,OAAOC,YAAcf,EAAgBU,OAAS,GAC9CM,KAAKC,IAAIjB,EAAgBa,IAAMb,EAAgBU,OAC/C,CAEAT,EAAsBN,GACtBA,EAAMc,MAAMJ,IAAM,K,MACb,GACLS,OAAOC,YAAcf,EAAgBa,EAAIb,EAAgBU,QACzDI,OAAOC,YAAcf,EAAgBU,QACrCM,KAAKC,IAAIjB,EAAgBa,EAAIC,OAAOC,cAAgBf,EAAgBU,OACpE,CAGAT,EAAsBN,GACtBA,EAAMc,MAAMJ,IAAM,GAAGS,OAAOC,YAAcf,EAAgBU,U,CAG5D,GACEI,OAAOI,WAAalB,EAAgBmB,EAAInB,EAAgBoB,OACxDN,OAAOI,WAAalB,EAAgBoB,OACpCJ,KAAKC,IAAIjB,EAAgBmB,EAAIL,OAAOI,aAAelB,EAAgBoB,MACnE,CAEAnB,EAAsBN,GACtBA,EAAMc,MAAMY,KAAO,GAAGP,OAAOI,WAAalB,EAAgBoB,S,IAE3D,EACL,C,SAEgBZ,EACdZ,EACAC,EACAC,GAEA,MAAMwB,EAAoB1B,EAAaO,wBACvC,MAAMoB,EAAsB1B,EAAQM,wBACpC,MAAMqB,EAAcR,KAAKS,IAAIF,EAAoBb,OAAQZ,GACzD,MAAM4B,EAAiBJ,EAAkBT,EAAIC,OAAOC,YAAc,EAClE,OAAOW,GAAkBZ,OAAOC,YAAcO,EAAkBK,OAASH,CAC3E,C,SAEgBvB,EAAsBN,GACpC,MAAMK,EAAkBL,EAAMQ,wBAC9BR,EAAMc,MAAMmB,SAAW,QACvBjC,EAAMc,MAAMJ,IAAML,EAAgB,OAAS,KAC3CL,EAAMc,MAAMY,KAAOrB,EAAgB,QAAU,KAC7CL,EAAMc,MAAMW,MAAQpB,EAAgB,SAAW,KAC/CL,EAAMc,MAAMoB,UAAY,cACxB,OAAO7B,CACT,C,SAMgB8B,EACdpC,EACAqC,EACApC,EACAC,EACAC,EACAC,GAEA,IAAKJ,IAAUqC,GAAQpC,GAAS,MAAQC,GAAgB,MAAQC,GAAW,KAAM,CAC/E,M,CAEF,MAAMmC,EAA0BrC,EAAMQ,wBACtC,MAAMqB,EAAcQ,EAAwBtB,OAC5C,MAAMuB,EAA0BrC,EAAaO,wBAC7C,MAAMC,EAAW6B,EAAwB5B,IACzC,MAAM6B,EAAcD,EAAwBvB,OAE5C,MAAMH,EAAOC,EAAwBZ,EAAcC,EAASC,GAE5D,GAAIS,EAAM,CACRZ,EAAMc,MAAMJ,IAAM,GAAGD,EAAWoB,K,KAC3B,CACL7B,EAAMc,MAAMJ,IAAM,GAAGD,EAAW8B,K,CAEpC,Q"}
@@ -0,0 +1,2 @@
1
+ import{r as i,c as t,h as e,g as s}from"./p-e8d5a789.js";import{I as r}from"./p-862d474e.js";import{D as n,b as o,a as h}from"./p-a1502802.js";import{E as a}from"./p-8bfb4bfc.js";import{h as c}from"./p-0cebf1d2.js";import{a as l,m as p}from"./p-f136a6b2.js";const u=()=>{const i=new Date;return{hours:i.getHours(),minutes:i.getMinutes(),seconds:i.getSeconds(),milliseconds:i.getMilliseconds(),has24Hours:true}};const m=12;const d=i=>i>m?i-m:i;const f=()=>{const i=new Date;const t=i.getHours();return{hours:d(t),minutes:i.getMinutes(),seconds:i.getSeconds(),milliseconds:i.getMilliseconds(),has24Hours:false,period:t>=m?"PM":"AM"}};const g=(i=true)=>i?u():f();const x=(i,t)=>{const e=i.split(":");const s=t.split(":");return e.length===s.length};const b=(i,t)=>{const e=i.split(":");const s=t.split(":");if(!x(i,t)){console.error(`Timestring did not match expected format.\nExpected format: ${t}\nReceived timestring: ${i}`)}const r={};e.forEach(((i,t)=>{const e=s[t];switch(e){case"HH":r.hours=Number(i);r.has24Hours=true;break;case"hh":r.hours=Number(i);r.has24Hours=false;break;case"mm":r.minutes=Number(i);break;case"ss":r.seconds=Number(i);break;case"ms":r.milliseconds=Number(i);break;case"aa":r.period=i.toUpperCase()==="PM"?"PM":"AM"}}));return r};const k=(i,t)=>{if(i==null){return""}const e=t.split(":");return e.map((t=>{switch(t){case"HH":case"hh":return String(i.hours).padStart(2,"0");case"mm":return String(i.minutes).padStart(2,"0");case"ss":return String(i.seconds).padStart(2,"0");case"ms":return String(i.milliseconds).padStart(3,"0");case"aa":return String(i.period)}})).join(":")};const v=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}: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;min-height:145px;background-color:white;padding:0.5em 0.5em 1.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 _=v;const y=145;const w=class{constructor(e){i(this,e);this.sixChange=t(this,"six-timepicker-change",7);this.sixChangeDebounced=t(this,"six-timepicker-change-debounced",7);this.sixClear=t(this,"six-timepicker-clear",7);this.eventListeners=new a;this.handlePickerChange=(i,t)=>{i.stopPropagation();if(this.popupValue==null){return}this.popupValue[t]=i.detail;const e=k(this.popupValue,this.format);this.value=e;this.sixChange.emit({changedProperty:t,value:this.popupValue,valueAsString:e})};this.handleDocumentMouseDown=i=>{const t=i.composedPath();if(!t.includes(this.host)){this.closePopup();return}};this.handleClearClick=i=>{i.stopPropagation();this.value="";this.sixClear.emit();this.sixChange.emit({value:{},valueAsString:""})};this.format="HH:mm:ss";this.separator=":";this.value="";this.open=false;this.inline=false;this.readonly=false;this.disabled=false;this.placement=undefined;this.size="medium";this.required=false;this.placeholder=undefined;this.errorText="";this.errorTextCount=undefined;this.label="";this.invalid=false;this.name="";this.clearable=false;this.iconPosition="left";this.hoist=false;this.timeout=n;this.interval=o;this.defaultTime=undefined;this.debounce=n;this.isPopupContentUp=false;this.isDropDownContentUp=false;this.popupValue={}}async resizeHandler(){this.calcIsPopupContentUp();this.moveOpenHoistedPopup()}async scrollHandler(){this.calcIsPopupContentUp();this.moveOpenHoistedPopup()}valueChanged(){this.updateValue()}async setFocus(i){var t;(t=this.inputElement)===null||t===void 0?void 0:t.setFocus(i)}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 i=this.inputElement;this.eventListeners.add(this.host,"six-timepicker-change",h((i=>this.sixChangeDebounced.emit(i.detail)),this.debounce));this.eventListeners.add(i,"six-input-input",h((t=>{t.stopPropagation();if(!x(i.value,this.format)){this.value=i.value;this.sixChange.emit({value:{},valueAsString:""});return}this.value=i.value;this.popupValue=b(i.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,y,(i=>this.isDropDownContentUp=i))}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 i=this.inputElement.getBoundingClientRect();const t=this.wrapper.getBoundingClientRect();const e=Math.max(t.height,y);const s=i.y>window.innerHeight/2;this.isPopupContentUp=s&&window.innerHeight<i.bottom+e}moveOpenHoistedPopup(){p(this.hoist,this.open,this.popup,this.inputElement,this.wrapper,y)}getSixTimeUnitPicker(i){return e("six-item-picker",{class:i.class,timeout:this.timeout,interval:this.interval,padded:true,min:i.min,max:i.max,value:this.popupValue[i.propertyName],items:i.items,type:i.type||r.NUMBER,"padding-length":i.paddingLength,"onSix-item-picker-change":t=>this.handlePickerChange(t,i.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 i=["AM","PM"];return this.getSixTimeUnitPicker({items:i,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 e("div",{class:"timepicker__separator"},e("span",null,this.separator))}getContent(){const i=[this.getHour24Picker(),this.getHour12Picker(),this.getMinutePicker(),this.getSecondsPicker(),this.getMillisecondsPicker()];const t=i.filter((i=>i!==undefined));return t.map(((i,e)=>{if(e===t.length-1){return[i]}return[i,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&&e("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"},e("six-icon",{size:"small"},"clear"))}renderCustomIcon(){const i=c(this.host,"custom-icon")?e("slot",{name:"custom-icon"}):e("six-icon",{size:this.size==="large"?"medium":this.size},"watch_later");return e("span",{slot:"prefix",part:"icon",class:{prefix:true,"prefix--right":this.iconPosition==="right"}},i)}render(){return e("div",{key:"19badfa42a1f8d5ef4b6b385780e88dbdceaa9e4",part:"container",ref:i=>this.wrapper=i,class:"timepicker__container"},e("six-input",{key:"7cd0508f766099136b7b85bd15dce64170ec3eca",ref:i=>this.inputElement=i,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")?e("span",{slot:"label"},e("slot",{name:"label"})):null,c(this.host,"error-text")?e("span",{slot:"error-text"},e("slot",{name:"error-text"})):null),this.open&&e("div",{ref:i=>this.popup=i,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 s(this)}static get watchers(){return{value:["valueChanged"]}}};w.style=_;export{w as six_timepicker};
2
+ //# sourceMappingURL=p-f2320c65.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","SixTimepickerStyle0","MIN_POPUP_HEIGHT","SixTimepicker","this","eventListeners","EventListeners","handlePickerChange","event","property","stopPropagation","popupValue","detail","timeString","value","sixChange","emit","changedProperty","valueAsString","handleDocumentMouseDown","path","composedPath","includes","host","closePopup","handleClearClick","sixClear","DEFAULT_DEBOUNCE_FAST","DEFAULT_DEBOUNCE_INSANELY_FAST","resizeHandler","calcIsPopupContentUp","moveOpenHoistedPopup","scrollHandler","valueChanged","updateValue","setFocus","options","_a","inputElement","connectedCallback","forward","componentWillLoad","inline","open","add","document","componentDidLoad","debounce","sixChangeDebounced","componentDidRender","adjustPopupForHoisting","hoist","popup","wrapper","isUp","isDropDownContentUp","disconnectedCallback","removeAll","defaultTime","is24HourClock","inputBoundingRect","getBoundingClientRect","wrapperBoundingRect","minPopupHeight","Math","max","height","moreSpaceInTop","y","window","innerHeight","isPopupContentUp","bottom","movePopup","getSixTimeUnitPicker","params","h","class","timeout","interval","padded","min","propertyName","items","type","ItemPickerType","NUMBER","paddingLength","getHour24Picker","getHour12Picker","is12HourClock","getAmPmPicker","CUSTOM","getMinutePicker","getSecondsPicker","getMillisecondsPicker","getSeparator","separator","getContent","elementsInOrder","visibleElements","filter","el","undefined","idx","openPopup","disabled","remove","renderClearable","clearable","slot","timepicker_clear","iconPosition","onClick","tabindex","size","renderCustomIcon","icon","hasSlot","name","part","prefix","render","key","ref","placeholder","readonly","errorTextCount","errorText","invalid","label","required","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 min-height: 145px;\n background-color: white;\n padding: 0.5em 0.5em 1.5em;\n box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%), 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":"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"}
@@ -0,0 +1,2 @@
1
+ import{r as e,h as i}from"./p-e8d5a789.js";const s=":host{display:block}a{text-decoration:none;display:block}.sidebar-item{padding:8px 8px 16px 16px;font-size:0.9rem;color:var(--six-sidebar-color);cursor:pointer;font-family:var(--six-font-family)}.sidebar-item:hover:not(.sidebar-item--disabled){color:var(--six-color-web-rock-600)}.sidebar-item.sidebar-item--disabled{outline:none;color:var(--six-input-color-disabled);cursor:not-allowed}.sidebar-item.sidebar-item--selected{font-weight:var(--six-font-weight-bold)}";const t=s;const a=class{constructor(i){e(this,i);this.value="";this.selected=false;this.disabled=false;this.href=undefined}render(){const e=this.href!=null?"a":"div";return i(e,{key:"f788eac06884030c12500ba61fb96f711e7ab6b0",class:{"sidebar-item":true,"sidebar-item--selected":this.selected,"sidebar-item--disabled":this.disabled},role:"menuitem",href:this.href,"aria-selected":this.selected?"true":"false","aria-disabled":this.disabled?"true":"false"},i("slot",{key:"30c6ac2df0c6def1ae3baf90e5cd694d9db76538"}))}};a.style=t;export{a as six_sidebar_item};
2
+ //# sourceMappingURL=p-fdf271fd.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixSidebarItemCss","SixSidebarItemStyle0","SixSidebarItem","render","Tag","this","href","h","key","class","selected","disabled","role"],"sources":["src/components/six-sidebar-item/six-sidebar-item.scss?tag=six-sidebar-item&encapsulation=shadow","src/components/six-sidebar-item/six-sidebar-item.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\na {\n text-decoration: none;\n display: block;\n}\n\n.sidebar-item {\n padding: 8px 8px 16px 16px;\n font-size: 0.9rem;\n color: var(--six-sidebar-color);\n cursor: pointer;\n font-family: var(--six-font-family);\n\n &:hover:not(.sidebar-item--disabled) {\n color: var(--six-color-web-rock-600);\n }\n\n &.sidebar-item--disabled {\n outline: none;\n color: var(--six-input-color-disabled);\n cursor: not-allowed;\n }\n\n &.sidebar-item--selected {\n font-weight: var(--six-font-weight-bold);\n }\n}\n","import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the nested displayed text of the item.\n */\n\n@Component({\n tag: 'six-sidebar-item',\n styleUrl: 'six-sidebar-item.scss',\n shadow: true,\n})\nexport class SixSidebarItem {\n /** A unique value to store in the sidebar item. This can be used as a way to identify sidebar items when selected. */\n @Prop({ reflect: true }) value = '';\n\n /** Set to true to draw the item in a selected state. */\n @Prop({ reflect: true }) selected = false;\n\n /** Set to true to draw the sidebar item in a disabled state. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * Provide if the item should be rendered as anchor tag.\n * Note, that the href is added automatically when using routerLink in Angular.\n */\n @Prop({ reflect: true }) href: string | undefined;\n\n render() {\n const Tag = this.href != null ? 'a' : 'div';\n return (\n <Tag\n class={{\n 'sidebar-item': true,\n 'sidebar-item--selected': this.selected,\n 'sidebar-item--disabled': this.disabled,\n }}\n role=\"menuitem\"\n href={this.href}\n aria-selected={this.selected ? 'true' : 'false'}\n aria-disabled={this.disabled ? 'true' : 'false'}\n >\n <slot></slot>\n </Tag>\n );\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAoB,mdAC1B,MAAAC,EAAeD,E,MCaFE,EAAc,M,oCAEQ,G,cAGG,M,cAGA,M,oBAQpC,MAAAC,GACE,MAAMC,EAAMC,KAAKC,MAAQ,KAAO,IAAM,MACtC,OACEC,EAACH,EAAG,CAAAI,IAAA,2CACFC,MAAO,CACL,eAAgB,KAChB,yBAA0BJ,KAAKK,SAC/B,yBAA0BL,KAAKM,UAEjCC,KAAK,WACLN,KAAMD,KAAKC,KAAI,gBACAD,KAAKK,SAAW,OAAS,QAAO,gBAChCL,KAAKM,SAAW,OAAS,SAExCJ,EAAA,QAAAC,IAAA,6C"}
@@ -0,0 +1,2 @@
1
+ import{r as i,c as s,h as e}from"./p-e8d5a789.js";const t=".six-files-list-item{padding-bottom:0.5rem}.six-files-list-item__name{color:var(--six-color-action-600);cursor:pointer}.six-files-list-item__name--disabled{cursor:inherit;color:var(--six-color-web-rock-500)}.six-files-list-item__name:hover:not(.six-files-list-item__name--disabled){color:var(--six-color-action-500)}.six-files-list-item__date{padding-left:1rem;color:var(--six-color-web-rock-600)}.six-files-list-item__size{padding-left:1rem;color:var(--six-color-web-rock-600)}.six-files-list-item__icon{padding-left:0.5rem;display:inline-block;transform:translateY(-3px);cursor:pointer;color:var(--six-color-web-rock-600)}.six-files-list-item__icon--disabled{cursor:not-allowed;color:var(--six-color-web-rock-500)}.six-files-list-item__icon:hover:not(.six-files-list-item__icon--disabled){color:var(--six-color-web-rock-900)}";const l=t;const o=class{constructor(e){i(this,e);this.downloadEvent=s(this,"six-file-list-item-download",7);this.removeEvent=s(this,"six-file-list-item-remove",7);this.downloadFile=()=>{if(this.nodownload){return}this.downloadEvent.emit({fileId:this.identifier,name:this.name})};this.removeFile=()=>{if(this.nodelete){return}this.removeEvent.emit({fileId:this.identifier,name:this.name})};this.identifier="";this.name="";this.date="";this.size=undefined;this.nodownload=false;this.nodelete=false}render(){return e("div",{key:"d952d96c29ffa8e5e4b0476e3c7ed2f28d635517",class:"six-files-list-item"},e("span",{key:"1690a23c428c3b70281fbcff30183d8079ed83a4",class:{"six-files-list-item__name":true,"six-files-list-item__name--disabled":this.nodownload},onClick:this.downloadFile},this.name),e("span",{key:"8c7437e946edaeeeedee8e76e28950f0f14ed4bb",class:"six-files-list-item__date"},this.date),this.size!=null&&e("span",{class:"six-files-list-item__size"},Math.round(this.size/1024)," KB"),e("six-icon",{key:"1b433c6baf5a67b7b812919058562e31bc402a9d",class:{"six-files-list-item__icon":true,"six-files-list-item__icon--disabled":this.nodelete},size:"small",onClick:this.removeFile},"delete"))}};o.style=l;export{o as six_file_list_item};
2
+ //# sourceMappingURL=p-fe483fc6.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixFileListItemCss","SixFileListItemStyle0","SixFileListItem","this","downloadFile","nodownload","downloadEvent","emit","fileId","identifier","name","removeFile","nodelete","removeEvent","render","h","key","class","onClick","date","size","Math","round"],"sources":["src/components/six-file-list-item/six-file-list-item.scss?tag=six-file-list-item&encapsulation=shadow","src/components/six-file-list-item/six-file-list-item.tsx"],"sourcesContent":[".six-files-list-item {\n padding-bottom: 0.5rem;\n\n &__name {\n color: var(--six-color-action-600);\n cursor: pointer;\n\n &--disabled {\n cursor: inherit;\n color: var(--six-color-web-rock-500);\n }\n\n &:hover:not(&--disabled) {\n color: var(--six-color-action-500);\n }\n }\n\n &__date {\n padding-left: 1rem;\n color: var(--six-color-web-rock-600);\n }\n\n &__size {\n padding-left: 1rem;\n color: var(--six-color-web-rock-600);\n }\n\n &__icon {\n padding-left: 0.5rem;\n display: inline-block;\n transform: translateY(-3px);\n cursor: pointer;\n color: var(--six-color-web-rock-600);\n\n &--disabled {\n cursor: not-allowed;\n color: var(--six-color-web-rock-500);\n }\n\n &:hover:not(&--disabled) {\n color: var(--six-color-web-rock-900);\n }\n }\n}\n","import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\n\nexport interface SixFileListDownloadPayload {\n fileId: string;\n name: string;\n}\n\nexport interface SixFileListRemovePayload {\n fileId: string;\n name: string;\n}\n\n/**\n * @since 2.0.0\n * @status experimental\n *\n */\n@Component({\n tag: 'six-file-list-item',\n styleUrl: 'six-file-list-item.scss',\n shadow: true,\n})\nexport class SixFileListItem {\n /** An id to clearly identify the file */\n @Prop({ reflect: true }) identifier = '';\n\n /** The filename */\n @Prop({ reflect: true }) name = '';\n\n /** The date when the file was uploaded */\n @Prop({ reflect: true }) date = '';\n\n /** The file size. This number will be divided by 1024 to show the filesize in KB */\n @Prop({ reflect: true }) size?: number;\n\n /** Set to true if you don't want to allow to download this file */\n @Prop({ reflect: true }) nodownload = false;\n\n /** Set to true if you don't want to allow to delete this file */\n @Prop({ reflect: true }) nodelete = false;\n\n /** Triggered on file download. */\n @Event({ eventName: 'six-file-list-item-download' }) downloadEvent!: EventEmitter<SixFileListDownloadPayload>;\n\n /** Triggered on file remove. */\n @Event({ eventName: 'six-file-list-item-remove' }) removeEvent!: EventEmitter<SixFileListRemovePayload>;\n\n private downloadFile = () => {\n if (this.nodownload) {\n return;\n }\n\n this.downloadEvent.emit({ fileId: this.identifier, name: this.name });\n };\n\n private removeFile = () => {\n if (this.nodelete) {\n return;\n }\n\n this.removeEvent.emit({ fileId: this.identifier, name: this.name });\n };\n\n render() {\n return (\n <div class=\"six-files-list-item\">\n <span\n class={{\n 'six-files-list-item__name': true,\n 'six-files-list-item__name--disabled': this.nodownload,\n }}\n onClick={this.downloadFile}\n >\n {this.name}\n </span>\n <span class=\"six-files-list-item__date\">{this.date}</span>\n {this.size != null && <span class=\"six-files-list-item__size\">{Math.round(this.size / 1024)} KB</span>}\n <six-icon\n class={{\n 'six-files-list-item__icon': true,\n 'six-files-list-item__icon--disabled': this.nodelete,\n }}\n size=\"small\"\n onClick={this.removeFile}\n >\n delete\n </six-icon>\n </div>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAqB,8zBAC3B,MAAAC,EAAeD,E,MCqBFE,EAAe,M,2IAyBlBC,KAAAC,aAAe,KACrB,GAAID,KAAKE,WAAY,CACnB,M,CAGFF,KAAKG,cAAcC,KAAK,CAAEC,OAAQL,KAAKM,WAAYC,KAAMP,KAAKO,MAAO,EAG/DP,KAAAQ,WAAa,KACnB,GAAIR,KAAKS,SAAU,CACjB,M,CAGFT,KAAKU,YAAYN,KAAK,CAAEC,OAAQL,KAAKM,WAAYC,KAAMP,KAAKO,MAAO,E,gBApC/B,G,UAGN,G,UAGA,G,oCAMM,M,cAGF,K,CAwBpC,MAAAI,GACE,OACEC,EAAA,OAAAC,IAAA,2CAAKC,MAAM,uBACTF,EAAA,QAAAC,IAAA,2CACEC,MAAO,CACL,4BAA6B,KAC7B,sCAAuCd,KAAKE,YAE9Ca,QAASf,KAAKC,cAEbD,KAAKO,MAERK,EAAA,QAAAC,IAAA,2CAAMC,MAAM,6BAA6Bd,KAAKgB,MAC7ChB,KAAKiB,MAAQ,MAAQL,EAAA,QAAME,MAAM,6BAA6BI,KAAKC,MAAMnB,KAAKiB,KAAO,MAAK,OAC3FL,EAAA,YAAAC,IAAA,2CACEC,MAAO,CACL,4BAA6B,KAC7B,sCAAuCd,KAAKS,UAE9CQ,KAAK,QACLF,QAASf,KAAKQ,YAAU,U"}
@@ -1,10 +1 @@
1
- @font-face{font-family:"Material Icons";font-style:normal;font-weight:400;font-display:block;src:url("./material-icons.woff2") format("woff2"), url("./material-icons.woff") format("woff")}.material-icons{font-family:"Material Icons";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}@font-face{font-family:"Material Icons Outlined";font-style:normal;font-weight:400;font-display:block;src:url("./material-icons-outlined.woff2") format("woff2"), url("./material-icons-outlined.woff") format("woff")}.material-icons-outlined{font-family:"Material Icons Outlined";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}@font-face{font-family:"Material Icons Round";font-style:normal;font-weight:400;font-display:block;src:url("./material-icons-round.woff2") format("woff2"), url("./material-icons-round.woff") format("woff")}.material-icons-round{font-family:"Material Icons Round";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}@font-face{font-family:"Material Icons Sharp";font-style:normal;font-weight:400;font-display:block;src:url("./material-icons-sharp.woff2") format("woff2"), url("./material-icons-sharp.woff") format("woff")}.material-icons-sharp{font-family:"Material Icons Sharp";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}@font-face{font-family:"Material Icons Two Tone";font-style:normal;font-weight:400;font-display:block;src:url("./material-icons-two-tone.woff2") format("woff2"), url("./material-icons-two-tone.woff") format("woff")}.material-icons-two-tone{font-family:"Material Icons Two Tone";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:100;src:url('./files/noto-sans-latin-100-normal.woff2') format('woff2'), url('./files/noto-sans-latin-100-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:200;src:url('./files/noto-sans-latin-200-normal.woff2') format('woff2'), url('./files/noto-sans-latin-200-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:300;src:url('./files/noto-sans-latin-300-normal.woff2') format('woff2'), url('./files/noto-sans-latin-300-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:400;src:url('./files/noto-sans-latin-400-normal.woff2') format('woff2'), url('./files/noto-sans-latin-400-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:500;src:url('./files/noto-sans-latin-500-normal.woff2') format('woff2'), url('./files/noto-sans-latin-500-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:600;src:url('./files/noto-sans-latin-600-normal.woff2') format('woff2'), url('./files/noto-sans-latin-600-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:700;src:url('./files/noto-sans-latin-700-normal.woff2') format('woff2'), url('./files/noto-sans-latin-700-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:800;src:url('./files/noto-sans-latin-800-normal.woff2') format('woff2'), url('./files/noto-sans-latin-800-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:900;src:url('./files/noto-sans-latin-900-normal.woff2') format('woff2'), url('./files/noto-sans-latin-900-normal.woff') format('woff')}:root{--six-color-red:#de3919;--six-color-black:#000;--six-color-white:#fff;--six-color-indigo:#5c1bb8;--six-color-web-rock-900:#262626;--six-color-web-rock-800:#484848;--six-color-web-rock-700:#676767;--six-color-web-rock-600:#7b7b7b;--six-color-web-rock-500:#a5a5a5;--six-color-web-rock-400:#c3c3c3;--six-color-web-rock-300:#e5e5e5;--six-color-web-rock-200:#f1f1f1;--six-color-web-rock-100:#f6f6f6;--six-color-web-rock-50:#fbfbfb;--six-color-clay-200:#ada398;--six-color-clay-50:#ebe8e7;--six-color-danger-900:#c52c0f;--six-color-danger-800:#de3919;--six-color-danger-light-to-be-defined:#f58c78;--six-color-warning-800:#ef9f25;--six-color-warning-700:#f2b72c;--six-color-warning-light-to-be-defined:#f9deb4;--six-color-success-600:#58d200;--six-color-success-500:#6ae300;--six-color-success-light-to-be-defined:#aaff6c;--six-color-action-600:#1f87e5;--six-color-action-500:#2196f3;--six-color-action-light-to-be-defined:#a8d0f5;--six-color-inactive:#c3c3c3;--six-focus-ring-color:var(--six-color-action-600)}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}html,body{margin:0;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:'Noto Sans', sans-serif}code{background:rgba(0, 0, 0, 0.04);padding:0.2rem;border-radius:3px;font-weight:bold}.warn{border-left:solid 3px var(--six-color-warning-700);background:rgba(0, 0, 0, 0.02);padding:1rem}body>div.container{margin:1rem}:root{--six-border-radius-small:0rem;--six-border-radius-medium:0rem;--six-border-radius-large:0.5rem;--six-border-radius-x-large:1rem;--six-border-radius-circle:50%;--six-border-radius-pill:9999px;--six-shadow-x-small:0 1px 0 #00000029;--six-shadow-small:0 6px 12px 0px #00000029;--six-shadow-medium:0 12px 24px 0 #00000029;--six-shadow-large:0 2px 8px #0d131e1a;--six-shadow-x-large:0 4px 16px #0d131e1a;--six-shadow-x-large-top:0 -4px 16px #0d131e1a;--six-spacing-xxx-small:0.125rem;--six-spacing-xx-small:0.25rem;--six-spacing-x-small:0.5rem;--six-spacing-small:0.75rem;--six-spacing-medium:1rem;--six-spacing-large:1.25rem;--six-spacing-x-large:1.75rem;--six-spacing-xx-large:2.25rem;--six-spacing-xxx-large:3rem;--six-spacing-xxxx-large:4.5rem;--six-transition-x-slow:1000ms;--six-transition-slow:500ms;--six-transition-medium:250ms;--six-transition-fast:150ms;--six-transition-x-fast:50ms;--six-font-mono:SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;--six-font-sans:'Noto Sans', sans-serif;--six-font-family:var(--six-font-sans);--six-font-serif:Georgia, 'Times New Roman', serif;--six-font-size-xxx-small:0.5rem;--six-font-size-xx-small:0.625rem;--six-font-size-x-small:0.75rem;--six-font-size-small:0.875rem;--six-font-size-medium:1rem;--six-font-size-large:1.25rem;--six-font-size-x-large:1.5rem;--six-font-size-xx-large:2.25rem;--six-font-size-xxx-large:3rem;--six-font-size-xxxx-large:4.5rem;--six-font-weight-light:300;--six-font-weight-normal:400;--six-font-weight-semibold:500;--six-font-weight-bold:700;--six-letter-spacing-dense:-0.015em;--six-letter-spacing-normal:normal;--six-letter-spacing-loose:0.075em;--six-line-height-dense:1.4;--six-line-height-normal:1.8;--six-line-height-loose:2.2;--six-z-index-header:500;--six-z-index-search-field:500;--six-z-index-drawer:600;--six-z-index-dropdown:700;--six-z-index-toast:800;--six-z-index-tooltip:900;--six-z-index-dialog:1000;--six-elevation-1dp:0 2px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.12);--six-elevation-2dp:0 2px 3px 0 rgba(0, 0, 0, 0.2), 0 3px 1px -2px rgba(0, 0, 0, 0.14),
2
- 0 2px 2px 0 rgba(0, 0, 0, 0.12);--six-elevation-3dp:0 1px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.14),
3
- 0 3px 3px -2px rgba(0, 0, 0, 0.12);--six-elevation-4dp:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14),
4
- 0 1px 10px -2px rgba(0, 0, 0, 0.12);--six-elevation-6dp:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14),
5
- 0 1px 18px -2px rgba(0, 0, 0, 0.12);--six-elevation-8dp:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14),
6
- 0 3px 14px 2px rgba(0, 0, 0, 0.12);--six-elevation-9dp:0 5px 6px -3px rgba(0, 0, 0, 0.2), 0 9px 12px 1px rgba(0, 0, 0, 0.14),
7
- 0 3px 16px 2px rgba(0, 0, 0, 0.12);--six-elevation-12dp:0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14),
8
- 0 5px 22px 4px rgba(0, 0, 0, 0.12);--six-elevation-16dp:0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14),
9
- 0 6px 30px 5px rgba(0, 0, 0, 0.12);--six-elevation-24dp:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14),
10
- 0 9px 46px 8px rgba(0, 0, 0, 0.12);--six-height-small:1.875rem;--six-height-medium:2.5rem;--six-height-large:3.125rem;--six-border-width:1px;--six-focus-ring-style:solid;--six-focus-ring-width:2px;--six-focus-ring-offset:2px;--six-focus-ring:var(--six-focus-ring-style) var(--six-focus-ring-width) var(--six-focus-ring-color);--six-focus-offset-input:1px;--six-button-font-size-medium:var(--six-font-size-medium);--six-button-font-size-large:var(--six-font-size-large);--six-focus-shadow:0 0 0 var(--six-focus-offset-input);--six-input-focus-shadow:var(--six-focus-shadow) var(--six-input-border-color-focus);--six-input-background-color:var(--six-color-white);--six-input-background-color-hover:var(--six-color-white);--six-input-background-color-focus:var(--six-color-white);--six-input-background-color-disabled:var(--six-color-web-rock-100);--six-input-border-color:var(--six-color-web-rock-400);--six-input-border-color-hover:var(--six-color-web-rock-600);--six-input-border-color-focus:var(--six-color-action-600);--six-input-border-color-danger:var(--six-color-danger-800);--six-input-border-color-disabled:var(--six-color-web-rock-400);--six-input-border-radius-small:var(--six-border-radius-medium);--six-input-border-radius-medium:var(--six-border-radius-medium);--six-input-border-radius-large:var(--six-border-radius-medium);--six-input-font-weight:var(--six-font-weight-normal);--six-input-font-size-small:var(--six-font-size-x-small);--six-input-font-size-medium:var(--six-font-size-small);--six-input-font-size-large:var(--six-font-size-medium);--six-input-letter-spacing:var(--six-letter-spacing-normal);--six-input-color:var(--six-color-web-rock-900);--six-input-color-hover:var(--six-color-web-rock-900);--six-input-color-focus:var(--six-color-web-rock-900);--six-input-color-disabled:var(--six-color-web-rock-600);--six-input-icon-color:var(--six-color-web-rock-900);--six-input-icon-color-hover:var(--six-color-web-rock-600);--six-input-icon-color-focus:var(--six-color-web-rock-900);--six-input-placeholder-color:var(--six-color-web-rock-500);--six-input-placeholder-color-disabled:var(--six-color-web-rock-500);--six-input-spacing-small:var(--six-spacing-small);--six-input-spacing-medium:var(--six-spacing-medium);--six-input-spacing-large:var(--six-spacing-large);--six-input-prefix-spacing-small:var(--six-spacing-xx-small);--six-input-prefix-spacing-medium:var(--six-spacing-x-small);--six-input-prefix-spacing-large:var(--six-spacing-small);--six-input-label-font-size-small:var(--six-font-size-xx-small);--six-input-label-font-size-medium:var(--six-font-size-x-small);--six-input-label-font-size-large:var(--six-font-size-small);--six-input-label-color:var(--six-color-web-rock-900);--six-input-label-color-disabled:var(--six-color-web-rock-600);--six-input-help-text-font-size-small:var(--six-font-size-xx-small);--six-input-help-text-font-size-medium:var(--six-font-size-x-small);--six-input-help-text-font-size-large:var(--six-font-size-small);--six-input-help-text-color:var(--six-color-web-rock-600);--six-input-help-text-color-disabled:var(--six-color-web-rock-600);--six-overlay-background-color:var(--six-color-web-rock-900);--six-panel-background-color:var(--six-color-white);--six-panel-border-color:var(--six-color-clay-50);--six-progress-track-color:var(--six-color-web-rock-300);--six-progress-indicator-color:var(--six-color-danger-800);--six-progress-label-color:var(--six-color-white);--six-tooltip-background-color:var(--six-color-web-rock-900);--six-tooltip-color:var(--six-color-white);--six-tooltip-arrow-size:5px;--six-tooltip-arrow-start-end-offset:8px;--six-tooltip-font-size:var(--six-font-size-small);--six-tooltip-font-weight:var(--six-font-weight-normal);--six-tooltip-line-height:var(--six-line-height-dense);--six-avatar-color:var(--six-color-white);--six-avatar-background-color:var(--six-color-web-rock-300);--six-checkbox-color:var(--six-color-white);--six-selection-control-color:var(--six-color-action-500);--six-selection-control-color-disabled:var(--six-color-web-rock-400);--six-selection-control-toggle-size:1rem;--six-details-color:var(--six-color-web-rock-600);--six-drawer-color:var(--six-color-web-rock-900);--six-drawer-background-color:var(--six-color-clay-50);--six-footer-background-color:var(--six-color-white);--six-header-background-color:var(--six-color-white);--six-header-border-color:var(--six-color-web-rock-300);--six-header-border-color-open:var(--six-color-web-rock-900);--six-header-border-with:1px;--six-header-selected-app-color-hover:var(--six-color-web-rock-600);--six-menu-divider-color:var(--six-color-clay-50);--six-menu-item-background-color:var(--six-color-clay-50);--six-search-color:var(--six-color-action-600);--six-sidebar-color:var(--six-color-web-rock-900);--six-sidebar-background-color:var(--six-color-white);--six-sidebar-hover-background-color:var(--six-color-clay-50);--six-sidebar-header-background-color:var(--six-color-clay-50);--six-sidebar-item-background-color:var(--six-color-web-rock-50);--six-tab-color:var(--six-color-web-rock-900);--six-tab-color-active:var(--six-color-web-rock-900);--six-tab-color-hover:var(--six-color-web-rock-700);--six-tab-color-disabled:var(--six-color-web-rock-400);--six-tab-border-color:var(--six-color-white);--six-tab-border-width:3px;--six-tab-border-color-active:var(--six-color-web-rock-900)}[hidden]{display:none !important}.six-scroll-lock{overflow:hidden !important}
1
+ @font-face{font-family:"Material Icons";font-style:normal;font-weight:400;font-display:block;src:url("./material-icons.woff2") format("woff2"), url("./material-icons.woff") format("woff")}.material-icons{font-family:"Material Icons";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}@font-face{font-family:"Material Icons Outlined";font-style:normal;font-weight:400;font-display:block;src:url("./material-icons-outlined.woff2") format("woff2"), url("./material-icons-outlined.woff") format("woff")}.material-icons-outlined{font-family:"Material Icons Outlined";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}@font-face{font-family:"Material Icons Round";font-style:normal;font-weight:400;font-display:block;src:url("./material-icons-round.woff2") format("woff2"), url("./material-icons-round.woff") format("woff")}.material-icons-round{font-family:"Material Icons Round";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}@font-face{font-family:"Material Icons Sharp";font-style:normal;font-weight:400;font-display:block;src:url("./material-icons-sharp.woff2") format("woff2"), url("./material-icons-sharp.woff") format("woff")}.material-icons-sharp{font-family:"Material Icons Sharp";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}@font-face{font-family:"Material Icons Two Tone";font-style:normal;font-weight:400;font-display:block;src:url("./material-icons-two-tone.woff2") format("woff2"), url("./material-icons-two-tone.woff") format("woff")}.material-icons-two-tone{font-family:"Material Icons Two Tone";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:100;src:url('./files/noto-sans-latin-100-normal.woff2') format('woff2'), url('./files/noto-sans-latin-100-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:200;src:url('./files/noto-sans-latin-200-normal.woff2') format('woff2'), url('./files/noto-sans-latin-200-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:300;src:url('./files/noto-sans-latin-300-normal.woff2') format('woff2'), url('./files/noto-sans-latin-300-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:400;src:url('./files/noto-sans-latin-400-normal.woff2') format('woff2'), url('./files/noto-sans-latin-400-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:500;src:url('./files/noto-sans-latin-500-normal.woff2') format('woff2'), url('./files/noto-sans-latin-500-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:600;src:url('./files/noto-sans-latin-600-normal.woff2') format('woff2'), url('./files/noto-sans-latin-600-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:700;src:url('./files/noto-sans-latin-700-normal.woff2') format('woff2'), url('./files/noto-sans-latin-700-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:800;src:url('./files/noto-sans-latin-800-normal.woff2') format('woff2'), url('./files/noto-sans-latin-800-normal.woff') format('woff')}@font-face{font-family:'Noto Sans';font-style:normal;font-display:swap;font-weight:900;src:url('./files/noto-sans-latin-900-normal.woff2') format('woff2'), url('./files/noto-sans-latin-900-normal.woff') format('woff')}:root{--six-color-red:#de3919;--six-color-black:#000;--six-color-white:#fff;--six-color-indigo:#5c1bb8;--six-color-web-rock-900:#262626;--six-color-web-rock-800:#484848;--six-color-web-rock-700:#676767;--six-color-web-rock-600:#7b7b7b;--six-color-web-rock-500:#a5a5a5;--six-color-web-rock-400:#c3c3c3;--six-color-web-rock-300:#e5e5e5;--six-color-web-rock-200:#f1f1f1;--six-color-web-rock-100:#f6f6f6;--six-color-web-rock-50:#fbfbfb;--six-color-clay-200:#ada398;--six-color-clay-50:#ebe8e7;--six-color-danger-900:#c52c0f;--six-color-danger-800:#de3919;--six-color-danger-light-to-be-defined:#f58c78;--six-color-warning-800:#ef9f25;--six-color-warning-700:#f2b72c;--six-color-warning-light-to-be-defined:#f9deb4;--six-color-success-600:#58d200;--six-color-success-500:#6ae300;--six-color-success-light-to-be-defined:#aaff6c;--six-color-action-600:#1f87e5;--six-color-action-500:#2196f3;--six-color-action-light-to-be-defined:#a8d0f5;--six-color-inactive:#c3c3c3;--six-focus-ring-color:var(--six-color-action-600)}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}html,body{margin:0;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:'Noto Sans', sans-serif}code{background:rgba(0, 0, 0, 0.04);padding:0.2rem;border-radius:3px;font-weight:bold}.warn{border-left:solid 3px var(--six-color-warning-700);background:rgba(0, 0, 0, 0.02);padding:1rem}body>div.container{margin:1rem}:root{--six-border-radius-small:0rem;--six-border-radius-medium:0rem;--six-border-radius-large:0.5rem;--six-border-radius-x-large:1rem;--six-border-radius-circle:50%;--six-border-radius-pill:9999px;--six-spacing-xxx-small:0.125rem;--six-spacing-xx-small:0.25rem;--six-spacing-x-small:0.5rem;--six-spacing-small:0.75rem;--six-spacing-medium:1rem;--six-spacing-large:1.25rem;--six-spacing-x-large:1.75rem;--six-spacing-xx-large:2.25rem;--six-spacing-xxx-large:3rem;--six-spacing-xxxx-large:4.5rem;--six-transition-x-slow:1000ms;--six-transition-slow:500ms;--six-transition-medium:250ms;--six-transition-fast:150ms;--six-transition-x-fast:50ms;--six-font-mono:SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;--six-font-sans:'Noto Sans', sans-serif;--six-font-family:var(--six-font-sans);--six-font-serif:Georgia, 'Times New Roman', serif;--six-font-size-xxx-small:0.5rem;--six-font-size-xx-small:0.625rem;--six-font-size-x-small:0.75rem;--six-font-size-small:0.875rem;--six-font-size-medium:1rem;--six-font-size-large:1.25rem;--six-font-size-x-large:1.5rem;--six-font-size-xx-large:2.25rem;--six-font-size-xxx-large:3rem;--six-font-size-xxxx-large:4.5rem;--six-font-weight-light:300;--six-font-weight-normal:400;--six-font-weight-semibold:500;--six-font-weight-bold:700;--six-letter-spacing-dense:-0.015em;--six-letter-spacing-normal:normal;--six-letter-spacing-loose:0.075em;--six-line-height-dense:1.4;--six-line-height-normal:1.8;--six-line-height-loose:2.2;--six-z-index-header:500;--six-z-index-search-field:500;--six-z-index-drawer:600;--six-z-index-dropdown:700;--six-z-index-toast:800;--six-z-index-tooltip:900;--six-z-index-dialog:1000;--six-shadow-small:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--six-shadow-medium:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--six-shadow-medium-top:0 -10px 15px -3px rgb(0 0 0 / 0.1), 0 -4px 6px -4px rgb(0 0 0 / 0.1);--six-shadow-large:0 25px 50px -12px rgb(0 0 0 / 0.25);--six-height-small:1.875rem;--six-height-medium:2.5rem;--six-height-large:3.125rem;--six-border-width:1px;--six-focus-ring-style:solid;--six-focus-ring-width:2px;--six-focus-ring-offset:2px;--six-focus-ring:var(--six-focus-ring-style) var(--six-focus-ring-width) var(--six-focus-ring-color);--six-focus-offset-input:1px;--six-button-font-size-medium:var(--six-font-size-medium);--six-button-font-size-large:var(--six-font-size-large);--six-focus-shadow:0 0 0 var(--six-focus-offset-input);--six-input-focus-shadow:var(--six-focus-shadow) var(--six-input-border-color-focus);--six-input-background-color:var(--six-color-white);--six-input-background-color-hover:var(--six-color-white);--six-input-background-color-focus:var(--six-color-white);--six-input-background-color-disabled:var(--six-color-web-rock-100);--six-input-border-color:var(--six-color-web-rock-400);--six-input-border-color-hover:var(--six-color-web-rock-600);--six-input-border-color-focus:var(--six-color-action-600);--six-input-border-color-danger:var(--six-color-danger-800);--six-input-border-color-disabled:var(--six-color-web-rock-400);--six-input-border-radius-small:var(--six-border-radius-medium);--six-input-border-radius-medium:var(--six-border-radius-medium);--six-input-border-radius-large:var(--six-border-radius-medium);--six-input-font-weight:var(--six-font-weight-normal);--six-input-font-size-small:var(--six-font-size-x-small);--six-input-font-size-medium:var(--six-font-size-small);--six-input-font-size-large:var(--six-font-size-medium);--six-input-letter-spacing:var(--six-letter-spacing-normal);--six-input-color:var(--six-color-web-rock-900);--six-input-color-hover:var(--six-color-web-rock-900);--six-input-color-focus:var(--six-color-web-rock-900);--six-input-color-disabled:var(--six-color-web-rock-600);--six-input-icon-color:var(--six-color-web-rock-900);--six-input-icon-color-hover:var(--six-color-web-rock-600);--six-input-icon-color-focus:var(--six-color-web-rock-900);--six-input-placeholder-color:var(--six-color-web-rock-500);--six-input-placeholder-color-disabled:var(--six-color-web-rock-500);--six-input-spacing-small:var(--six-spacing-small);--six-input-spacing-medium:var(--six-spacing-medium);--six-input-spacing-large:var(--six-spacing-large);--six-input-prefix-spacing-small:var(--six-spacing-xx-small);--six-input-prefix-spacing-medium:var(--six-spacing-x-small);--six-input-prefix-spacing-large:var(--six-spacing-small);--six-input-label-font-size-small:var(--six-font-size-xx-small);--six-input-label-font-size-medium:var(--six-font-size-x-small);--six-input-label-font-size-large:var(--six-font-size-small);--six-input-label-color:var(--six-color-web-rock-900);--six-input-label-color-disabled:var(--six-color-web-rock-600);--six-input-help-text-font-size-small:var(--six-font-size-xx-small);--six-input-help-text-font-size-medium:var(--six-font-size-x-small);--six-input-help-text-font-size-large:var(--six-font-size-small);--six-input-help-text-color:var(--six-color-web-rock-600);--six-input-help-text-color-disabled:var(--six-color-web-rock-600);--six-overlay-background-color:var(--six-color-web-rock-900);--six-panel-background-color:var(--six-color-white);--six-panel-border-color:var(--six-color-clay-50);--six-progress-track-color:var(--six-color-web-rock-300);--six-progress-indicator-color:var(--six-color-danger-800);--six-progress-label-color:var(--six-color-white);--six-tooltip-background-color:var(--six-color-web-rock-900);--six-tooltip-color:var(--six-color-white);--six-tooltip-arrow-size:5px;--six-tooltip-arrow-start-end-offset:8px;--six-tooltip-font-size:var(--six-font-size-small);--six-tooltip-font-weight:var(--six-font-weight-normal);--six-tooltip-line-height:var(--six-line-height-dense);--six-avatar-color:var(--six-color-white);--six-avatar-background-color:var(--six-color-web-rock-300);--six-checkbox-color:var(--six-color-white);--six-selection-control-color:var(--six-color-action-500);--six-selection-control-color-disabled:var(--six-color-web-rock-400);--six-selection-control-toggle-size:1rem;--six-details-color:var(--six-color-web-rock-900);--six-drawer-color:var(--six-color-web-rock-900);--six-drawer-background-color:var(--six-color-clay-50);--six-footer-background-color:var(--six-color-white);--six-header-background-color:var(--six-color-white);--six-header-border-color:var(--six-color-web-rock-300);--six-header-border-color-open:var(--six-color-web-rock-900);--six-header-border-with:1px;--six-header-selected-app-color-hover:var(--six-color-web-rock-600);--six-menu-divider-color:var(--six-color-clay-50);--six-menu-item-background-color:var(--six-color-clay-50);--six-search-color:var(--six-color-action-600);--six-sidebar-color:var(--six-color-web-rock-900);--six-sidebar-background-color:var(--six-color-white);--six-sidebar-hover-background-color:var(--six-color-clay-50);--six-sidebar-header-background-color:var(--six-color-clay-50);--six-sidebar-item-background-color:var(--six-color-web-rock-50);--six-tab-color:var(--six-color-web-rock-900);--six-tab-color-active:var(--six-color-web-rock-900);--six-tab-color-hover:var(--six-color-web-rock-700);--six-tab-color-disabled:var(--six-color-web-rock-400);--six-tab-border-color:var(--six-color-white);--six-tab-border-width:3px;--six-tab-border-color-active:var(--six-color-web-rock-900)}[hidden]{display:none !important}.six-scroll-lock{overflow:hidden !important}.six-toast-stack{position:fixed;top:0;right:0;z-index:var(--six-z-index-toast);display:flex;flex-direction:column;gap:var(--six-spacing-small);margin-top:var(--six-spacing-medium);margin-right:var(--six-spacing-medium);width:32rem;max-width:100%;max-height:100%}
@@ -1,2 +1,2 @@
1
- import{p as e,b as a}from"./p-b5fdfa6a.js";export{s as setNonce}from"./p-b5fdfa6a.js";const l=()=>{const a=import.meta.url;const l={};if(a!==""){l.resourcesUrl=new URL(".",a).href}return e(l)};l().then((e=>a(JSON.parse('[["p-8226e363",[[1,"six-select",{"multiple":[4],"maxTagsVisible":[2,"max-tags-visible"],"disabled":[4],"name":[1],"placeholder":[1],"filterPlaceholder":[1,"filter-placeholder"],"filterDebounce":[2,"filter-debounce"],"size":[1],"hoist":[4],"value":[1025],"pill":[4],"helpText":[1,"help-text"],"required":[4],"clearable":[4],"label":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"invalid":[516],"line":[4],"filter":[4],"asyncFilter":[4,"async-filter"],"autocomplete":[4],"inputDebounce":[2,"input-debounce"],"options":[16],"virtualScroll":[4,"virtual-scroll"],"hasFocus":[32],"hasHelpTextSlot":[32],"hasLabelSlot":[32],"hasErrorTextSlot":[32],"isOpen":[32],"displayLabel":[32],"displayTags":[32],"setFocus":[64]},null,{"disabled":["handleDisabledChange"],"helpText":["handleLabelChange"],"errorText":["handleLabelChange"],"label":["handleLabelChange"],"multiple":["handleMultipleChange"],"value":["handleValueChange"]}]]],["p-0d8154b1",[[1,"six-header",{"shiftContent":[4,"shift-content"],"openHamburgerMenu":[4,"open-hamburger-menu"],"openSearch":[4,"open-search"],"clickableLogo":[4,"clickable-logo"],"selectedApp":[32],"selectedSection":[32],"setSearchOpenState":[64],"getIsSearchOpen":[64]},null,{"openSearch":["handleOpenSearchChange"]}]]],["p-5218986b",[[1,"six-datepicker",{"type":[1],"locale":[1],"open":[1540],"inline":[516],"readonly":[4],"disabled":[4],"allowedDates":[16],"min":[16],"max":[16],"closeOnSelect":[4,"close-on-select"],"placement":[1],"size":[1],"required":[4],"defaultDate":[1,"default-date"],"placeholder":[1],"value":[1040],"label":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"invalid":[516],"containingElement":[16],"dateFormat":[1,"date-format"],"debounce":[2],"name":[513],"clearable":[4],"iconPosition":[1,"icon-position"],"hoist":[4],"pointerDate":[32],"selectionMode":[32],"isDropDownContentUp":[32],"setFocus":[64],"select":[64]},[[9,"resize","resizeHandler"],[9,"scroll","scrollHandler"]],{"debounce":["debounceChanged"],"value":["valueChanged"]}]]],["p-df1c4a1f",[[1,"six-root",{"breakpoint":[2],"padded":[4],"stage":[1],"version":[1],"collapse":[32]},null,{"collapse":["handleCollapsed"]}]]],["p-51630491",[[1,"six-search-field",{"placeholder":[1],"debounce":[514],"disabled":[516],"value":[513],"clearable":[4]},null,{"value":["handleValueChange"]}]]],["p-b906a605",[[1,"six-tile",{"label":[1],"iconName":[1,"icon-name"],"closeable":[4],"elevated":[4],"disableTooltip":[4,"disable-tooltip"],"disabled":[516],"size":[513],"visible":[32],"hasIconSlot":[32],"hasLabelSlot":[32],"hide":[64],"show":[64]}]]],["p-2280038f",[[1,"six-alert",{"open":[1540],"closable":[516],"type":[513],"duration":[2],"isVisible":[32],"show":[64],"hide":[64],"toast":[64]},null,{"open":["handleOpenChange"],"duration":["handleDurationChange"]}]]],["p-cec8c149",[[1,"six-dialog",{"open":[1540],"label":[1],"noHeader":[4,"no-header"],"hasFooter":[32],"isVisible":[32],"show":[64],"hide":[64]},null,{"open":["handleOpenChange"]}]]],["p-8296e24c",[[1,"six-drawer",{"open":[1540],"label":[1],"placement":[1],"contained":[4],"noHeader":[4,"no-header"],"hasFooter":[32],"isVisible":[32],"show":[64],"hide":[64]},null,{"open":["handleOpenChange"]}]]],["p-de7a9448",[[1,"six-sidebar-item-group",{"name":[1],"icon":[1],"value":[513],"open":[516],"summaryIcon":[1,"summary-icon"],"href":[513],"hasItems":[32],"summaryIconHasContent":[32]}]]],["p-6e87aeea",[[1,"six-tab",{"panel":[513],"active":[516],"closable":[4],"disabled":[516],"setFocus":[64],"removeFocus":[64]}]]],["p-5904d3c3",[[1,"six-tab-group",{"placement":[1],"noScrollControls":[4,"no-scroll-controls"],"hasScrollControls":[32],"show":[64]},null,{"noScrollControls":["handleNoScrollControlsChange"]}]]],["p-1f7dac36",[[1,"six-avatar",{"image":[1],"alt":[1],"initials":[1],"shape":[1],"hasError":[32]}]]],["p-af0e163e",[[1,"six-button",{"type":[513],"size":[513],"caret":[4],"disabled":[516],"loading":[516],"pill":[516],"circle":[516],"submit":[516],"reset":[516],"name":[1],"value":[1],"href":[1],"target":[1],"download":[1],"hasFocus":[32],"hasLabel":[32],"hasPrefix":[32],"hasSuffix":[32],"setFocus":[64],"removeFocus":[64]}]]],["p-74179b03",[[1,"six-checkbox",{"name":[1],"value":[1],"disabled":[4],"required":[4],"label":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"invalid":[516],"checked":[1540],"indeterminate":[1540],"hasFocus":[32],"hasLabelSlot":[32],"hasErrorSlot":[32],"setFocus":[64],"removeFocus":[64]},null,{"checked":["handleCheckedChange"],"indeterminate":["handleCheckedChange"],"errorText":["handleLabelChange"],"label":["handleLabelChange"]}]]],["p-a15928c4",[[1,"six-error-page",{"errorCode":[2,"error-code"],"language":[1],"customTitle":[1,"custom-title"],"customDescription":[16],"customIcon":[1,"custom-icon"]}]]],["p-94bd8347",[[1,"six-file-list-item",{"identifier":[513],"name":[513],"date":[513],"size":[514],"nodownload":[516],"nodelete":[516]}]]],["p-7e9257f3",[[2,"six-file-upload",{"compact":[4],"label":[1],"disabled":[4],"accept":[1],"multiple":[4],"maxFileSize":[2,"max-file-size"],"isOver":[32]},[[1,"dragenter","dragenterHandler"],[1,"dragover","dragoverHandler"],[1,"dragleave","dragleaveHandler"],[1,"drop","dropHandler"]]]]],["p-66a48dc4",[[1,"six-group-label",{"size":[513],"label":[1],"helpText":[1,"help-text"],"disabled":[516],"required":[4],"hasHelpTextSlot":[32],"hasLabelSlot":[32]},null,{"helpText":["handleLabelChange"],"label":["handleLabelChange"]}]]],["p-b7597736",[[1,"six-range",{"name":[1],"value":[1026],"required":[4],"helpText":[1,"help-text"],"disabled":[4],"label":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"invalid":[516],"min":[2],"max":[2],"step":[2],"tooltip":[1],"tooltipFormatter":[16],"hasFocus":[32],"hasHelpTextSlot":[32],"hasErrorTextSlot":[32],"hasLabelSlot":[32],"hasTooltip":[32],"setFocus":[64],"removeFocus":[64]},null,{"label":["handleLabelChange"],"errorText":["handleLabelChange"],"helpText":["handleLabelChange"],"value":["handleValueChange"],"min":["handleValueChange"],"max":["handleValueChange"]}]]],["p-bbefcec9",[[1,"six-switch",{"name":[1],"value":[1],"disabled":[4],"required":[4],"checked":[1540],"label":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"invalid":[516],"hasFocus":[32],"hasErrorTextSlot":[32],"setFocus":[64],"removeFocus":[64]},null,{"checked":["handleCheckedChange"],"errorText":["handleLabelChange"],"label":["handleLabelChange"]}]]],["p-4196a75a",[[1,"six-textarea",{"size":[513],"name":[513],"value":[1537],"helpText":[1,"help-text"],"placeholder":[1],"rows":[2],"resize":[1],"disabled":[516],"readonly":[516],"minlength":[514],"maxlength":[514],"required":[4],"label":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"invalid":[516],"autocapitalize":[1],"autocorrect":[1],"autocomplete":[1],"autofocus":[4],"spellcheck":[4],"inputmode":[1],"hasFocus":[32],"hasHelpTextSlot":[32],"hasLabelSlot":[32],"hasErrorTextSlot":[32],"setFocus":[64],"removeFocus":[64],"select":[64],"setSelectionRange":[64],"setRangeText":[64]},null,{"helpText":["handleLabelChange"],"errorText":["handleLabelChange"],"label":["handleLabelChange"],"rows":["handleRowsChange"],"value":["handleValueChange"]}]]],["p-cd3281fb",[[1,"six-badge",{"type":[1],"pill":[4],"pulse":[4]}]]],["p-21606e14",[[1,"six-card"]]],["p-b42fd9c3",[[1,"six-file-list"]]],["p-77424c6b",[[1,"six-footer"]]],["p-c75694df",[[1,"six-language-switcher",{"selected":[1537],"languages":[16]},null,{"languages":["handleChangesLanguages"]}]]],["p-66d1d93d",[[1,"six-layout-grid",{"columns":[1026]},null,{"columns":["handleColumnsChange"]}]]],["p-b97764a1",[[1,"six-main-container",{"padded":[4]}]]],["p-d2196113",[[1,"six-menu-divider"]]],["p-20cb60c9",[[1,"six-menu-label"]]],["p-2e99f389",[[1,"six-progress-bar",{"percentage":[2],"indeterminate":[4]}]]],["p-9bec3e14",[[1,"six-progress-ring",{"size":[2],"strokeWidth":[2,"stroke-width"],"percentage":[2]},null,{"percentage":["handlePercentageChange"]}]]],["p-27987d45",[[1,"six-radio",{"name":[1],"value":[513],"disabled":[4],"checked":[1540],"invalid":[516],"hasFocus":[32],"setFocus":[64],"removeFocus":[64]},null,{"checked":["handleCheckedChange"],"name":["handleNameChange"]}]]],["p-0416ec85",[[1,"six-sidebar",{"position":[1],"open":[1540],"width":[1],"toggled":[4],"isVisible":[32],"toggle":[64],"show":[64],"hide":[64],"selectItemByIndex":[64],"selectItemByName":[64]},null,{"open":["handleOpenChange"]}]]],["p-3d7678a8",[[1,"six-sidebar-item",{"value":[513],"selected":[516],"disabled":[516],"href":[513]}]]],["p-2945a132",[[1,"six-tab-panel",{"name":[1],"active":[516]}]]],["p-6aced322",[[1,"six-error"]]],["p-acd3ecfd",[[1,"six-icon",{"size":[513],"filled":[4]}]]],["p-cb32f8d2",[[1,"six-timepicker",{"format":[1],"separator":[1],"value":[1025],"open":[1540],"inline":[516],"readonly":[4],"disabled":[4],"placement":[1],"size":[1],"required":[4],"placeholder":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"label":[1],"invalid":[516],"name":[513],"clearable":[4],"iconPosition":[1,"icon-position"],"hoist":[4],"timeout":[2],"interval":[2],"defaultTime":[1,"default-time"],"debounce":[2],"isPopupContentUp":[32],"isDropDownContentUp":[32],"popupValue":[32],"setFocus":[64]},[[9,"resize","resizeHandler"],[9,"scroll","scrollHandler"]],{"value":["valueChanged"]}]]],["p-ae383f66",[[1,"six-tag",{"type":[513],"size":[513],"pill":[516],"clearable":[516]}]]],["p-a4348ad4",[[1,"six-details",{"open":[1540],"summary":[1],"summaryIcon":[1,"summary-icon"],"summaryIconSize":[513,"summary-icon-size"],"disabled":[4],"inline":[4],"selectableEmpty":[4,"selectable-empty"],"hasContent":[4,"has-content"],"animateSummaryIcon":[32],"show":[64],"hide":[64]},null,{"open":["handleOpenChange"]}]]],["p-7d00de3a",[[1,"six-picto",{"size":[1]}]]],["p-93a9b693",[[1,"six-spinner",{"six":[4]}]]],["p-d1ba2ad5",[[1,"six-stage-indicator",{"stage":[1]}],[4,"set-attributes",{"value":[16]},null,{"value":["attrsUpdated"]}]]],["p-e740215a",[[1,"six-item-picker",{"value":[1544],"type":[1],"min":[1544],"max":[1544],"roundtrip":[516],"step":[514],"items":[16],"padded":[4],"paddingLength":[2,"padding-length"],"paddingChar":[1,"padding-char"],"paddingDirection":[1,"padding-direction"],"timeout":[2],"interval":[2],"debounce":[2],"_items":[32],"_itemIndexes":[32]},null,{"value":["handleValueChange"],"debounce":["debounceChanged"],"items":["handleSetChange"]}]]],["p-48b7c199",[[1,"six-tooltip",{"content":[1],"placement":[1],"disabled":[4],"distance":[2],"open":[1540],"skidding":[2],"trigger":[1],"show":[64],"hide":[64]},null,{"open":["handleOpenChange"]}]]],["p-16eb37cd",[[1,"six-menu-item",{"checked":[516],"value":[513],"disabled":[516],"hasFocus":[32],"setFocus":[64],"removeFocus":[64],"getTextLabel":[64]}]]],["p-120a1b66",[[1,"six-input",{"type":[513],"size":[513],"name":[513],"value":[1537],"pill":[516],"helpText":[1,"help-text"],"placeholder":[1],"disabled":[516],"readonly":[516],"minlength":[514],"maxlength":[514],"min":[514],"max":[514],"step":[514],"pattern":[513],"required":[4],"autocapitalize":[1],"autocorrect":[1],"autocomplete":[1],"autofocus":[4],"spellcheck":[4],"label":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"invalid":[516],"clearable":[4],"togglePassword":[4,"toggle-password"],"inputmode":[1],"line":[4],"hasFocus":[32],"hasHelpTextSlot":[32],"hasLabelSlot":[32],"hasErrorSlot":[32],"isPasswordVisible":[32],"setFocus":[64],"removeFocus":[64],"select":[64],"setSelectionRange":[64],"setRangeText":[64]},null,{"helpText":["handleLabelChange"],"errorText":["handleLabelChange"],"label":["handleLabelChange"],"value":["handleValueChange"]}]]],["p-24e80289",[[1,"six-dropdown",{"open":[1540],"placement":[1],"closeOnSelect":[4,"close-on-select"],"distance":[2],"skidding":[2],"hoist":[4],"containingElement":[16],"filter":[4],"asyncFilter":[4,"async-filter"],"filterPlaceholder":[1,"filter-placeholder"],"autofocusFilter":[4,"autofocus-filter"],"filterDebounce":[2,"filter-debounce"],"disableHideOnEnterAndSpace":[4,"disable-hide-on-enter-and-space"],"options":[16],"virtualScroll":[4,"virtual-scroll"],"filteredOptions":[32],"show":[64],"hide":[64],"reposition":[64]},null,{"open":["handleOpenChange"],"distance":["handlePopoverOptionsChange"],"hoist":["handlePopoverOptionsChange"],"placement":["handlePopoverOptionsChange"],"skidding":["handlePopoverOptionsChange"],"options":["handleOptionsChange"]}],[1,"six-menu",{"removeBoxShadow":[4,"remove-box-shadow"],"items":[16],"itemsShown":[2,"items-shown"],"virtualScroll":[4,"virtual-scroll"],"itemSize":[2,"item-size"],"scrollingDebounce":[2,"scrolling-debounce"],"scrollingIndex":[32],"sixMenuItemHeight":[32],"typeToSelect":[64]}]]],["p-b3a14438",[[1,"six-icon-button",{"name":[513],"size":[513],"label":[513],"disabled":[516],"html":[513]}]]]]'),e)));
1
+ import{p as e,b as a}from"./p-e8d5a789.js";export{s as setNonce}from"./p-e8d5a789.js";import{g as l}from"./p-e1255160.js";const t=()=>{const a=import.meta.url;const l={};if(a!==""){l.resourcesUrl=new URL(".",a).href}return e(l)};t().then((async e=>{await l();return a(JSON.parse('[["p-7ad67887",[[1,"six-select",{"multiple":[4],"selectAllButton":[4,"select-all-button"],"selectAllText":[1,"select-all-text"],"maxTagsVisible":[2,"max-tags-visible"],"disabled":[4],"name":[1],"placeholder":[1],"filterPlaceholder":[1,"filter-placeholder"],"filterDebounce":[2,"filter-debounce"],"size":[1],"hoist":[4],"value":[1025],"pill":[4],"helpText":[1,"help-text"],"required":[4],"clearable":[4],"label":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"invalid":[516],"line":[4],"filter":[4],"asyncFilter":[4,"async-filter"],"autocomplete":[4],"inputDebounce":[2,"input-debounce"],"options":[16],"virtualScroll":[4,"virtual-scroll"],"hasFocus":[32],"hasHelpTextSlot":[32],"hasLabelSlot":[32],"hasErrorTextSlot":[32],"isOpen":[32],"displayedValues":[32],"selectionContainerItems":[32],"setFocus":[64]},null,{"disabled":["handleDisabledChange"],"helpText":["handleLabelChange"],"errorText":["handleLabelChange"],"label":["handleLabelChange"],"multiple":["handleMultipleChange"],"value":["handleValueChange"]}]]],["p-c297662b",[[1,"six-header",{"shiftContent":[4,"shift-content"],"hideHamburgerMenu":[4,"hide-hamburger-menu"],"openHamburgerMenu":[4,"open-hamburger-menu"],"openSearch":[4,"open-search"],"clickableLogo":[4,"clickable-logo"],"selectedApp":[32],"selectedSection":[32],"setSearchOpenState":[64],"getIsSearchOpen":[64]},null,{"openSearch":["handleOpenSearchChange"]}]]],["p-2e7312fc",[[1,"six-datepicker",{"type":[1],"locale":[1],"open":[1540],"inline":[516],"readonly":[4],"disabled":[4],"allowedDates":[16],"min":[16],"max":[16],"closeOnSelect":[4,"close-on-select"],"placement":[1],"size":[1],"required":[4],"defaultDate":[1,"default-date"],"placeholder":[1],"value":[1040],"label":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"invalid":[516],"containingElement":[16],"dateFormat":[1,"date-format"],"debounce":[2],"name":[513],"clearable":[4],"iconPosition":[1,"icon-position"],"hoist":[4],"pointerDate":[32],"selectionMode":[32],"isDropDownContentUp":[32],"setFocus":[64],"select":[64]},[[9,"resize","resizeHandler"],[9,"scroll","scrollHandler"]],{"debounce":["debounceChanged"],"value":["valueChanged"]}]]],["p-e9726db2",[[1,"six-search-field",{"placeholder":[1],"debounce":[514],"disabled":[516],"value":[513],"clearable":[4]},null,{"value":["handleValueChange"]}]]],["p-61c91764",[[1,"six-tag",{"type":[513],"size":[513],"pill":[516],"clearable":[516]}]]],["p-57ab8f42",[[1,"six-tile",{"label":[1],"iconName":[1,"icon-name"],"closeable":[4],"elevated":[4],"disableTooltip":[4,"disable-tooltip"],"disabled":[516],"size":[513],"visible":[32],"hasIconSlot":[32],"hasLabelSlot":[32],"hide":[64],"show":[64]}]]],["p-a69ba529",[[1,"six-alert",{"open":[1540],"closable":[516],"type":[513],"duration":[2],"isVisible":[32],"show":[64],"hide":[64],"toast":[64]},null,{"open":["handleOpenChange"],"duration":["handleDurationChange"]}]]],["p-ad244587",[[1,"six-dialog",{"open":[1540],"label":[1],"noHeader":[4,"no-header"],"hasFooter":[32],"isVisible":[32],"show":[64],"hide":[64]},null,{"open":["handleOpenChange"]}]]],["p-786148a6",[[1,"six-drawer",{"open":[1540],"label":[1],"placement":[1],"contained":[4],"noHeader":[4,"no-header"],"hasFooter":[32],"isVisible":[32],"show":[64],"hide":[64]},null,{"open":["handleOpenChange"]}]]],["p-9a7c45c4",[[2,"six-file-upload",{"compact":[4],"label":[1],"disabled":[4],"accept":[1],"multiple":[4],"maxFileSize":[2,"max-file-size"],"uploading":[516],"isOver":[32]},[[1,"dragenter","dragenterHandler"],[1,"dragover","dragoverHandler"],[1,"dragleave","dragleaveHandler"],[1,"drop","dropHandler"]]]]],["p-a2dad0ab",[[1,"six-root",{"padded":[4],"stage":[1],"version":[1]}]]],["p-2b7e2bcb",[[1,"six-sidebar-item-group",{"name":[1],"icon":[1],"value":[513],"open":[516],"summaryIcon":[1,"summary-icon"],"href":[513],"hasItems":[32],"summaryIconHasContent":[32]}]]],["p-b922e8ac",[[1,"six-tab",{"panel":[513],"active":[516],"closable":[4],"disabled":[516],"setFocus":[64],"removeFocus":[64]}]]],["p-71ff0e72",[[1,"six-tab-group",{"placement":[1],"noScrollControls":[4,"no-scroll-controls"],"hasLeftControl":[32],"hasRightControl":[32],"show":[64]},null,{"noScrollControls":["handleNoScrollControlsChange"]}]]],["p-1903aa37",[[1,"six-avatar",{"image":[1],"alt":[1],"initials":[1],"shape":[1],"hasError":[32]}]]],["p-24c42aab",[[1,"six-error-page",{"errorCode":[2,"error-code"],"language":[1],"customTitle":[1,"custom-title"],"customDescription":[16],"customIcon":[1,"custom-icon"]}]]],["p-fe483fc6",[[1,"six-file-list-item",{"identifier":[513],"name":[513],"date":[513],"size":[514],"nodownload":[516],"nodelete":[516]}]]],["p-dea8f89c",[[1,"six-group-label",{"size":[513],"label":[1],"helpText":[1,"help-text"],"disabled":[516],"required":[4],"hasHelpTextSlot":[32],"hasLabelSlot":[32]},null,{"helpText":["handleLabelChange"],"label":["handleLabelChange"]}]]],["p-716019b6",[[1,"six-range",{"name":[1],"value":[1026],"required":[4],"helpText":[1,"help-text"],"disabled":[4],"label":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"invalid":[516],"min":[2],"max":[2],"step":[2],"tooltip":[1],"tooltipFormatter":[16],"hasFocus":[32],"hasHelpTextSlot":[32],"hasErrorTextSlot":[32],"hasLabelSlot":[32],"hasTooltip":[32],"setFocus":[64],"removeFocus":[64]},null,{"label":["handleLabelChange"],"errorText":["handleLabelChange"],"helpText":["handleLabelChange"],"value":["handleValueChange"],"min":["handleValueChange"],"max":["handleValueChange"]}]]],["p-3f8ed1d4",[[1,"six-switch",{"name":[1],"value":[1],"disabled":[4],"required":[4],"checked":[1540],"label":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"invalid":[516],"hasFocus":[32],"hasErrorTextSlot":[32],"setFocus":[64],"removeFocus":[64]},null,{"checked":["handleCheckedChange"],"errorText":["handleLabelChange"],"label":["handleLabelChange"]}]]],["p-b902eb65",[[1,"six-textarea",{"size":[513],"name":[513],"value":[1537],"helpText":[1,"help-text"],"placeholder":[1],"rows":[2],"resize":[1],"disabled":[516],"readonly":[516],"minlength":[514],"maxlength":[514],"required":[4],"label":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"invalid":[516],"autocapitalize":[1],"autocorrect":[1],"autocomplete":[1],"autofocus":[4],"spellcheck":[4],"inputmode":[1],"hasFocus":[32],"hasHelpTextSlot":[32],"hasLabelSlot":[32],"hasErrorTextSlot":[32],"setFocus":[64],"removeFocus":[64],"select":[64],"setSelectionRange":[64],"setRangeText":[64]},null,{"helpText":["handleLabelChange"],"errorText":["handleLabelChange"],"label":["handleLabelChange"],"rows":["handleRowsChange"],"value":["handleValueChange"]}]]],["p-38271a5e",[[1,"six-badge",{"type":[1],"pill":[4],"pulse":[4]}]]],["p-3c05fdf3",[[1,"six-card"]]],["p-e6db442b",[[1,"six-file-list"]]],["p-23f5dae2",[[1,"six-footer"]]],["p-4272021f",[[1,"six-language-switcher",{"selected":[1537],"languages":[16]},null,{"languages":["handleChangesLanguages"]}]]],["p-499480a2",[[1,"six-layout-grid",{"columns":[1026]},null,{"columns":["handleColumnsChange"]}]]],["p-ce59d17f",[[1,"six-main-container",{"padded":[4]}]]],["p-ab22dafd",[[1,"six-menu-divider"]]],["p-0054410d",[[1,"six-menu-label"]]],["p-81390410",[[1,"six-progress-bar",{"percentage":[2],"indeterminate":[4]}]]],["p-e924132d",[[1,"six-progress-ring",{"size":[2],"strokeWidth":[2,"stroke-width"],"percentage":[2]},null,{"percentage":["handlePercentageChange"]}]]],["p-59744f17",[[1,"six-radio",{"name":[1],"value":[513],"disabled":[4],"checked":[1540],"invalid":[516],"hasFocus":[32],"setFocus":[64],"removeFocus":[64]},null,{"checked":["handleCheckedChange"],"name":["handleNameChange"]}]]],["p-b68f4556",[[1,"six-sidebar",{"position":[1],"open":[1540],"width":[1],"toggled":[4],"isVisible":[32],"toggle":[64],"show":[64],"hide":[64],"selectItemByIndex":[64],"selectItemByName":[64]},null,{"open":["handleOpenChange"]}]]],["p-fdf271fd",[[1,"six-sidebar-item",{"value":[513],"selected":[516],"disabled":[516],"href":[513]}]]],["p-1c5e8dec",[[1,"six-tab-panel",{"name":[1],"active":[516]}]]],["p-740d3c8b",[[1,"six-error"]]],["p-380ba2b7",[[1,"six-icon",{"size":[513],"filled":[4]}]]],["p-f2320c65",[[1,"six-timepicker",{"format":[1],"separator":[1],"value":[1025],"open":[1540],"inline":[516],"readonly":[4],"disabled":[4],"placement":[1],"size":[1],"required":[4],"placeholder":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"label":[1],"invalid":[516],"name":[513],"clearable":[4],"iconPosition":[1,"icon-position"],"hoist":[4],"timeout":[2],"interval":[2],"defaultTime":[1,"default-time"],"debounce":[2],"isPopupContentUp":[32],"isDropDownContentUp":[32],"popupValue":[32],"setFocus":[64]},[[9,"resize","resizeHandler"],[9,"scroll","scrollHandler"]],{"value":["valueChanged"]}]]],["p-a67b3f42",[[1,"six-button",{"type":[513],"size":[513],"caret":[4],"disabled":[516],"loading":[516],"pill":[516],"circle":[516],"submit":[516],"reset":[516],"name":[1],"value":[1],"href":[1],"target":[1],"download":[1],"hasFocus":[32],"hasLabel":[32],"hasPrefix":[32],"hasSuffix":[32],"setFocus":[64],"removeFocus":[64]}]]],["p-3c582981",[[1,"six-details",{"open":[1540],"summary":[1],"summaryIcon":[1,"summary-icon"],"summaryIconSize":[513,"summary-icon-size"],"disabled":[4],"inline":[4],"selectableEmpty":[4,"selectable-empty"],"hasContent":[4,"has-content"],"animateSummaryIcon":[32],"show":[64],"hide":[64]},null,{"open":["handleOpenChange"]}]]],["p-e6db01a9",[[1,"six-stage-indicator",{"stage":[1]}]]],["p-52e2a64b",[[1,"six-picto",{"size":[1]}]]],["p-b863dcc4",[[1,"six-item-picker",{"value":[1544],"type":[1],"min":[1544],"max":[1544],"roundtrip":[516],"step":[514],"items":[16],"padded":[4],"paddingLength":[2,"padding-length"],"paddingChar":[1,"padding-char"],"paddingDirection":[1,"padding-direction"],"timeout":[2],"interval":[2],"debounce":[2],"_items":[32],"_itemIndexes":[32]},null,{"value":["handleValueChange"],"debounce":["debounceChanged"],"items":["handleSetChange"]}]]],["p-034b3bb1",[[1,"six-tooltip",{"content":[1],"placement":[1],"disabled":[4],"distance":[2],"open":[1540],"skidding":[2],"trigger":[1],"show":[64],"hide":[64]},null,{"open":["handleOpenChange"]}]]],["p-9e14b37a",[[1,"six-spinner",{"six":[4]}]]],["p-1a17a806",[[1,"six-input",{"type":[513],"size":[513],"name":[513],"value":[1537],"pill":[516],"helpText":[1,"help-text"],"placeholder":[1],"disabled":[516],"readonly":[516],"minlength":[514],"maxlength":[514],"min":[514],"max":[514],"step":[514],"pattern":[513],"dropdownSearch":[4,"dropdown-search"],"required":[4],"autocapitalize":[1],"autocorrect":[1],"autocomplete":[1],"autofocus":[4],"spellcheck":[4],"label":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"invalid":[516],"clearable":[4],"togglePassword":[4,"toggle-password"],"inputmode":[1],"line":[4],"hasFocus":[32],"hasHelpTextSlot":[32],"hasLabelSlot":[32],"hasErrorSlot":[32],"isPasswordVisible":[32],"setFocus":[64],"removeFocus":[64],"select":[64],"setSelectionRange":[64],"setRangeText":[64]},null,{"helpText":["handleLabelChange"],"errorText":["handleLabelChange"],"label":["handleLabelChange"],"value":["handleValueChange"]}]]],["p-50d589eb",[[1,"six-menu-item",{"checkType":[1,"check-type"],"checked":[516],"value":[513],"disabled":[516],"hasFocus":[32],"active":[32],"setFocus":[64],"removeFocus":[64],"getTextLabel":[64]}],[1,"six-checkbox",{"name":[1],"value":[1],"disabled":[4],"required":[4],"label":[1],"errorText":[1,"error-text"],"errorTextCount":[2,"error-text-count"],"invalid":[516],"checked":[1540],"indeterminate":[1540],"hasFocus":[32],"hasLabelSlot":[32],"hasErrorSlot":[32],"setFocus":[64],"removeFocus":[64]},null,{"checked":["handleCheckedChange"],"indeterminate":["handleCheckedChange"],"errorText":["handleLabelChange"],"label":["handleLabelChange"]}]]],["p-5cde0403",[[1,"six-dropdown",{"open":[1540],"placement":[1],"closeOnSelect":[4,"close-on-select"],"distance":[2],"skidding":[2],"hoist":[4],"containingElement":[16],"filter":[4],"asyncFilter":[4,"async-filter"],"filterPlaceholder":[1,"filter-placeholder"],"autofocusFilter":[4,"autofocus-filter"],"filterDebounce":[1026,"filter-debounce"],"disableHideOnEnterAndSpace":[4,"disable-hide-on-enter-and-space"],"options":[1040],"virtualScroll":[4,"virtual-scroll"],"matchTriggerWidth":[4,"match-trigger-width"],"renderedOptions":[32],"show":[64],"hide":[64],"reposition":[64]},null,{"open":["handleOpenChange"],"distance":["handlePopoverOptionsChange"],"hoist":["handlePopoverOptionsChange"],"placement":["handlePopoverOptionsChange"],"skidding":["handlePopoverOptionsChange"],"options":["handleOptionsChange"],"virtualScroll":["handleOptionsChange"]}],[1,"six-menu",{"removeBoxShadow":[4,"remove-box-shadow"],"items":[16],"itemsShown":[2,"items-shown"],"virtualScroll":[4,"virtual-scroll"],"itemSize":[2,"item-size"],"scrollingDebounce":[2,"scrolling-debounce"],"disableKeyboardHandling":[4,"disable-keyboard-handling"],"scrollingIndex":[32],"sixMenuItemHeight":[32],"typeToSelect":[64]}]]],["p-3a879e1d",[[1,"six-icon-button",{"name":[513],"size":[513],"label":[513],"disabled":[516],"html":[513]}]]]]'),e)}));
2
2
  //# sourceMappingURL=ui-library.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","JSON","parse"],"sources":["../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.7.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAKA,MAAMA,EAAe,KAajB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,ECnB/BH,IAAeQ,MAAKC,GAEXC,EAAcC,KAAAC,MAAA,kgZAAuCH"}
1
+ {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.12.4 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"0HAKA,MAAMA,EAAe,KAajB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,ECnB/BH,IAAeQ,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAcC,KAAAC,MAAA,gwZAAuCJ,EAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@six-group/ui-library",
3
- "version": "0.0.0-insider.ccdf415",
3
+ "version": "0.0.0-insider.cd56b84",
4
4
  "description": "Web components in alignment with the SIX corporate styleguide",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.cjs.js",
@@ -18,7 +18,7 @@
18
18
  "scripts": {
19
19
  "build": "npm run clean && stencil build --docs",
20
20
  "watch": "npm run clean && stencil build --watch",
21
- "start": "stencil build --dev --watch --serve",
21
+ "start": "stencil build --dev --watch --serve --no-open",
22
22
  "test": "stencil test --spec",
23
23
  "test:e2e": "stencil test --e2e",
24
24
  "test:all": "stencil test --spec --e2e",
@@ -35,29 +35,25 @@
35
35
  "codeclean": "npm run lint:fix && npm run prettier:fix"
36
36
  },
37
37
  "dependencies": {
38
- "@stencil/core": "^4.6.0",
38
+ "@stencil/core": "^4.12.0",
39
39
  "@types/resize-observer-browser": "^0.1.5"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@fontsource/noto-sans": "^4.5.11",
43
43
  "@popperjs/core": "^2.5.3",
44
- "@stencil-community/eslint-plugin": "^0.5.0",
44
+ "@stencil-community/eslint-plugin": "^0.7.1",
45
45
  "@stencil/angular-output-target": "^0.8.2",
46
46
  "@stencil/react-output-target": "^0.5.3",
47
47
  "@stencil/sass": "^3.0.7",
48
- "@stencil/vue-output-target": "^0.8.6",
49
- "@types/jest": "27.0.3",
50
- "@typescript-eslint/eslint-plugin": "^5.59.7",
51
- "@typescript-eslint/parser": "^5.59.6",
52
- "eslint": "^8.41.0",
53
- "eslint-config-prettier": "^8.8.0",
54
- "jest": "27.4.5",
55
- "jest-cli": "27.4.5",
48
+ "@stencil/vue-output-target": "^0.8.7",
49
+ "@types/jest": "^29.5.11",
50
+ "@typescript-eslint/eslint-plugin": "^6.15.0",
51
+ "@typescript-eslint/parser": "^6.15.0",
52
+ "jest": "^29.7.0",
53
+ "jest-cli": "^29.7.0",
56
54
  "material-icons": "^1.13.12",
57
- "puppeteer": "^20.9.0",
58
55
  "replace-in-file": "^6.3.5",
59
- "rimraf": "^3.0.2",
60
- "typescript": "~5.2.2"
56
+ "rimraf": "^3.0.2"
61
57
  },
62
58
  "jest": {
63
59
  "preset": "@stencil/core/testing",
@@ -1,61 +0,0 @@
1
- 'use strict';
2
-
3
- class EventListeners {
4
- constructor() {
5
- this.eventListeners = [];
6
- this.add = (el, name, listener, identifier = null) => {
7
- this.eventListeners.push({ el, name, listener, identifier });
8
- el.addEventListener(name, listener);
9
- };
10
- this.remove = (el, name, listener) => {
11
- this.eventListeners = this.getFilteredEventListeners((eventListener) => eventListener.listener == listener && eventListener.el === el && eventListener.name === name);
12
- };
13
- this.removeByIdentifier = (identifier) => {
14
- const sameItem = (el) => el.identifier === identifier;
15
- const foundListener = this.eventListeners.find(sameItem) !== undefined;
16
- if (!foundListener) {
17
- return;
18
- }
19
- this.eventListeners = this.getFilteredEventListeners(sameItem);
20
- };
21
- this.removeAll = () => {
22
- while (this.eventListeners.length > 0) {
23
- const eventListener = this.eventListeners.pop();
24
- if (eventListener != null) {
25
- eventListener.el.removeEventListener(eventListener.name, eventListener.listener);
26
- }
27
- }
28
- };
29
- }
30
- getFilteredEventListeners(sameItem) {
31
- return this.eventListeners.filter((item) => {
32
- if (sameItem(item)) {
33
- item.el.removeEventListener(item.name, item.listener);
34
- return false;
35
- }
36
- else {
37
- return true;
38
- }
39
- });
40
- }
41
- forward(from, to, host) {
42
- switch (to) {
43
- case 'input':
44
- this.add(host, from, () => host.dispatchEvent(new InputEvent(to, { bubbles: true, cancelable: true })));
45
- break;
46
- case 'change':
47
- this.add(host, from, () => host.dispatchEvent(new InputEvent(to, { bubbles: true, cancelable: true })));
48
- break;
49
- case 'blur':
50
- this.add(host, from, () => host.dispatchEvent(new FocusEvent(to, { bubbles: true, cancelable: true })));
51
- break;
52
- case 'focus':
53
- this.add(host, from, () => host.dispatchEvent(new FocusEvent(to, { bubbles: true, cancelable: true })));
54
- break;
55
- }
56
- }
57
- }
58
-
59
- exports.EventListeners = EventListeners;
60
-
61
- //# sourceMappingURL=event-listeners-fdfe838c.js.map
@@ -1 +0,0 @@
1
- {"file":"event-listeners-fdfe838c.js","mappings":"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","names":[],"sources":["src/utils/event-listeners.ts"],"sourcesContent":["interface EventListener {\n el: GlobalEventHandlers;\n name: string;\n listener: EventListenerOrEventListenerObject;\n identifier?: string | null;\n}\n\nexport class EventListeners {\n eventListeners: EventListener[] = [];\n\n add = <T extends GlobalEventHandlers>(\n el: T,\n name: string,\n listener: EventListenerOrEventListenerObject,\n identifier: string | null | undefined = null\n ) => {\n this.eventListeners.push({ el, name, listener, identifier });\n el.addEventListener(name, listener);\n };\n\n remove = <T extends GlobalEventHandlers>(el: T, name: string, listener: EventListenerOrEventListenerObject) => {\n this.eventListeners = this.getFilteredEventListeners(\n (eventListener: EventListener) =>\n eventListener.listener == listener && eventListener.el === el && eventListener.name === name\n );\n };\n\n removeByIdentifier = (identifier: string) => {\n const sameItem = (el: EventListener) => el.identifier === identifier;\n const foundListener = this.eventListeners.find(sameItem) !== undefined;\n if (!foundListener) {\n return;\n }\n this.eventListeners = this.getFilteredEventListeners(sameItem);\n };\n\n private getFilteredEventListeners(sameItem: (el: EventListener) => boolean) {\n return this.eventListeners.filter((item) => {\n if (sameItem(item)) {\n item.el.removeEventListener(item.name, item.listener);\n return false;\n } else {\n return true;\n }\n });\n }\n\n removeAll = () => {\n while (this.eventListeners.length > 0) {\n const eventListener: EventListener | undefined = this.eventListeners.pop();\n if (eventListener != null) {\n eventListener.el.removeEventListener(eventListener.name, eventListener.listener);\n }\n }\n };\n\n forward(from: string, to: 'input' | 'change' | 'blur' | 'focus', host: HTMLElement) {\n switch (to) {\n case 'input':\n this.add(host, from, () => host.dispatchEvent(new InputEvent(to, { bubbles: true, cancelable: true })));\n break;\n case 'change':\n this.add(host, from, () => host.dispatchEvent(new InputEvent(to, { bubbles: true, cancelable: true })));\n break;\n case 'blur':\n this.add(host, from, () => host.dispatchEvent(new FocusEvent(to, { bubbles: true, cancelable: true })));\n break;\n case 'focus':\n this.add(host, from, () => host.dispatchEvent(new FocusEvent(to, { bubbles: true, cancelable: true })));\n break;\n }\n }\n}\n"],"version":3}
@@ -1,47 +0,0 @@
1
- 'use strict';
2
-
3
- //
4
- // Simulates :focus-visible behavior on an element by watching for certain keyboard and mouse heuristics and toggling a
5
- // `focus-visible` class. Works at the component level so no global polyfill is necessary.
6
- //
7
- // This will eventually be removed pending better :focus-visible support: https://caniuse.com/#search=focus-visible
8
- //
9
- const listeners = new WeakMap();
10
- function observe(el) {
11
- if (el == null)
12
- return;
13
- const keys = ['Tab', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Home', 'End', 'PageDown', 'PageUp'];
14
- const is = (event) => {
15
- if (keys.includes(event.key)) {
16
- el.classList.add('focus-visible');
17
- }
18
- };
19
- const isNot = () => el.classList.remove('focus-visible');
20
- listeners.set(el, { is, isNot });
21
- el.addEventListener('keydown', is);
22
- el.addEventListener('keyup', is);
23
- el.addEventListener('mousedown', isNot);
24
- el.addEventListener('mousedown', isNot);
25
- }
26
- function unobserve(el) {
27
- if (el == null)
28
- return;
29
- const listener = listeners.get(el);
30
- if (!listener) {
31
- return;
32
- }
33
- const { is, isNot } = listener;
34
- el.classList.remove('focus-visible');
35
- el.removeEventListener('keydown', is);
36
- el.removeEventListener('keyup', is);
37
- el.removeEventListener('mousedown', isNot);
38
- el.removeEventListener('mousedown', isNot);
39
- }
40
- const focusVisible = {
41
- observe,
42
- unobserve,
43
- };
44
-
45
- exports.focusVisible = focusVisible;
46
-
47
- //# sourceMappingURL=focus-visible-ae2470dd.js.map