@six-group/ui-library 0.0.0-insider.ebd822a → 0.0.0-insider.f24090c

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 (1010) hide show
  1. package/README.md +9 -0
  2. package/dist/cjs/event-listeners-fdfe838c.js +61 -0
  3. package/dist/cjs/event-listeners-fdfe838c.js.map +1 -0
  4. package/dist/cjs/{execution-control-46f388e0.js → execution-control-b4707294.js} +6 -3
  5. package/dist/cjs/execution-control-b4707294.js.map +1 -0
  6. package/dist/cjs/{focus-visible-0b352c74.js → focus-visible-ae2470dd.js} +3 -3
  7. package/dist/cjs/focus-visible-ae2470dd.js.map +1 -0
  8. package/dist/cjs/form-2df8c5bb.js +20 -0
  9. package/dist/cjs/form-2df8c5bb.js.map +1 -0
  10. package/dist/cjs/form-control-9769b310.js +36 -0
  11. package/dist/cjs/form-control-9769b310.js.map +1 -0
  12. package/dist/cjs/{index-2f6daa5b.js → index-900437fc.js} +400 -54
  13. package/dist/cjs/index-900437fc.js.map +1 -0
  14. package/dist/cjs/index.cjs.js +94 -0
  15. package/dist/cjs/index.cjs.js.map +1 -1
  16. package/dist/cjs/loader.cjs.js +3 -12
  17. package/dist/cjs/loader.cjs.js.map +1 -1
  18. package/dist/cjs/{modal-48d42228.js → modal-d5f074c7.js} +4 -3
  19. package/dist/cjs/modal-d5f074c7.js.map +1 -0
  20. package/dist/cjs/{popover-f743f62b.js → popover-2df7e154.js} +39 -31
  21. package/dist/cjs/popover-2df7e154.js.map +1 -0
  22. package/dist/cjs/popup-f1d9910f.js +103 -0
  23. package/dist/cjs/popup-f1d9910f.js.map +1 -0
  24. package/dist/cjs/{scroll-76e6f5d7.js → scroll-2c4200dc.js} +1 -2
  25. package/dist/{esm/scroll-180b53fd.js.map → cjs/scroll-2c4200dc.js.map} +1 -1
  26. package/dist/cjs/set-attributes_2.cjs.entry.js +4 -2
  27. package/dist/cjs/set-attributes_2.cjs.entry.js.map +1 -1
  28. package/dist/cjs/six-alert.cjs.entry.js +18 -23
  29. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  30. package/dist/cjs/six-avatar.cjs.entry.js +5 -8
  31. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  32. package/dist/cjs/six-badge.cjs.entry.js +2 -2
  33. package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
  34. package/dist/cjs/six-button.cjs.entry.js +37 -35
  35. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  36. package/dist/cjs/six-card.cjs.entry.js +1 -1
  37. package/dist/cjs/six-card.cjs.entry.js.map +1 -1
  38. package/dist/cjs/six-checkbox.cjs.entry.js +54 -86
  39. package/dist/cjs/six-checkbox.cjs.entry.js.map +1 -1
  40. package/dist/cjs/six-datepicker.cjs.entry.js +149 -280
  41. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  42. package/dist/cjs/six-details.cjs.entry.js +49 -48
  43. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  44. package/dist/cjs/six-dialog.cjs.entry.js +37 -41
  45. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  46. package/dist/cjs/six-drawer.cjs.entry.js +34 -38
  47. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  48. package/dist/cjs/six-dropdown_2.cjs.entry.js +216 -197
  49. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
  50. package/dist/cjs/six-error-page.cjs.entry.js +20 -22
  51. package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
  52. package/dist/cjs/six-error.cjs.entry.js +21 -0
  53. package/dist/cjs/six-error.cjs.entry.js.map +1 -0
  54. package/dist/cjs/six-file-list-item.cjs.entry.js +2 -2
  55. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  56. package/dist/cjs/six-file-list.cjs.entry.js +1 -1
  57. package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
  58. package/dist/cjs/six-file-upload.cjs.entry.js +21 -21
  59. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  60. package/dist/cjs/six-footer.cjs.entry.js +1 -1
  61. package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
  62. package/dist/cjs/six-group-label.cjs.entry.js +13 -12
  63. package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
  64. package/dist/cjs/six-header.cjs.entry.js +66 -44
  65. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  66. package/dist/cjs/six-icon-button.cjs.entry.js +5 -5
  67. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  68. package/dist/cjs/six-icon.cjs.entry.js +1 -1
  69. package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
  70. package/dist/cjs/six-input.cjs.entry.js +36 -94
  71. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  72. package/dist/cjs/six-item-picker.cjs.entry.js +62 -81
  73. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
  74. package/dist/cjs/six-language-switcher.cjs.entry.js +2 -2
  75. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
  76. package/dist/cjs/six-layout-grid.cjs.entry.js +5 -3
  77. package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
  78. package/dist/cjs/six-main-container.cjs.entry.js +1 -1
  79. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
  80. package/dist/cjs/six-menu-divider.cjs.entry.js +1 -1
  81. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
  82. package/dist/cjs/six-menu-item.cjs.entry.js +9 -7
  83. package/dist/cjs/six-menu-item.cjs.entry.js.map +1 -1
  84. package/dist/cjs/six-menu-label.cjs.entry.js +1 -1
  85. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
  86. package/dist/cjs/six-picto.cjs.entry.js +5 -2
  87. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  88. package/dist/cjs/six-progress-bar.cjs.entry.js +1 -1
  89. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  90. package/dist/cjs/six-progress-ring.cjs.entry.js +4 -4
  91. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  92. package/dist/cjs/six-radio.cjs.entry.js +63 -72
  93. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  94. package/dist/cjs/six-range.cjs.entry.js +111 -107
  95. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  96. package/dist/cjs/six-root.cjs.entry.js +2 -2
  97. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  98. package/dist/cjs/six-search-field.cjs.entry.js +11 -6
  99. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
  100. package/dist/cjs/six-select.cjs.entry.js +193 -223
  101. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  102. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +12 -7
  103. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  104. package/dist/cjs/six-sidebar-item.cjs.entry.js +1 -1
  105. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  106. package/dist/cjs/six-sidebar.cjs.entry.js +41 -20
  107. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
  108. package/dist/cjs/six-spinner.cjs.entry.js +1 -1
  109. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  110. package/dist/cjs/six-switch.cjs.entry.js +77 -65
  111. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  112. package/dist/cjs/six-tab-group.cjs.entry.js +136 -123
  113. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  114. package/dist/cjs/six-tab-panel.cjs.entry.js +2 -2
  115. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
  116. package/dist/cjs/six-tab.cjs.entry.js +24 -6
  117. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  118. package/dist/cjs/six-tag.cjs.entry.js +26 -7
  119. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  120. package/dist/cjs/six-textarea.cjs.entry.js +86 -109
  121. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  122. package/dist/cjs/six-tile.cjs.entry.js +14 -17
  123. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  124. package/dist/cjs/six-timepicker.cjs.entry.js +154 -215
  125. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  126. package/dist/cjs/six-tooltip.cjs.entry.js +56 -59
  127. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
  128. package/dist/cjs/{slot-ad537f24.js → slot-6e6a400f.js} +11 -10
  129. package/dist/cjs/slot-6e6a400f.js.map +1 -0
  130. package/dist/cjs/{types-64878648.js → types-47199040.js} +1 -1
  131. package/dist/cjs/types-47199040.js.map +1 -0
  132. package/dist/cjs/ui-library.cjs.js +3 -6
  133. package/dist/cjs/ui-library.cjs.js.map +1 -1
  134. package/dist/collection/collection-manifest.json +55 -55
  135. package/dist/collection/components/six-alert/six-alert.js +32 -30
  136. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  137. package/dist/collection/components/six-alert/test/six-alert.spec.js +25 -0
  138. package/dist/collection/components/six-alert/test/six-alert.spec.js.map +1 -0
  139. package/dist/collection/components/six-avatar/six-avatar.js +5 -8
  140. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  141. package/dist/collection/components/six-avatar/test/six-avatar.spec.js +26 -0
  142. package/dist/collection/components/six-avatar/test/six-avatar.spec.js.map +1 -0
  143. package/dist/collection/components/six-badge/six-badge.js +2 -2
  144. package/dist/collection/components/six-badge/six-badge.js.map +1 -1
  145. package/dist/collection/components/six-badge/test/six-badge.spec.js +20 -0
  146. package/dist/collection/components/six-badge/test/six-badge.spec.js.map +1 -0
  147. package/dist/collection/components/six-button/six-button.css +5 -30
  148. package/dist/collection/components/six-button/six-button.js +56 -47
  149. package/dist/collection/components/six-button/six-button.js.map +1 -1
  150. package/dist/collection/components/six-button/test/six-button.spec.js +69 -0
  151. package/dist/collection/components/six-button/test/six-button.spec.js.map +1 -0
  152. package/dist/collection/components/six-card/six-card.js +1 -1
  153. package/dist/collection/components/six-card/six-card.js.map +1 -1
  154. package/dist/collection/components/six-card/test/six-card.spec.js +18 -0
  155. package/dist/collection/components/six-card/test/six-card.spec.js.map +1 -0
  156. package/dist/collection/components/six-checkbox/six-checkbox.css +1 -1
  157. package/dist/collection/components/six-checkbox/six-checkbox.js +97 -189
  158. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  159. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +83 -0
  160. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +1 -0
  161. package/dist/collection/components/six-datepicker/components/day-selection.js +3 -3
  162. package/dist/collection/components/six-datepicker/components/day-selection.js.map +1 -1
  163. package/dist/collection/components/six-datepicker/components/month-selection.js +6 -5
  164. package/dist/collection/components/six-datepicker/components/month-selection.js.map +1 -1
  165. package/dist/collection/components/six-datepicker/components/year-selection.js +11 -8
  166. package/dist/collection/components/six-datepicker/components/year-selection.js.map +1 -1
  167. package/dist/collection/components/six-datepicker/six-datepicker.js +223 -388
  168. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  169. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +26 -0
  170. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +1 -0
  171. package/dist/collection/components/six-details/six-details.css +3 -1
  172. package/dist/collection/components/six-details/six-details.js +65 -58
  173. package/dist/collection/components/six-details/six-details.js.map +1 -1
  174. package/dist/collection/components/six-details/test/six-details.spec.js +36 -0
  175. package/dist/collection/components/six-details/test/six-details.spec.js.map +1 -0
  176. package/dist/collection/components/six-dialog/six-dialog.js +55 -51
  177. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  178. package/dist/collection/components/six-dialog/test/six-dialog.spec.js +34 -0
  179. package/dist/collection/components/six-dialog/test/six-dialog.spec.js.map +1 -0
  180. package/dist/collection/components/six-drawer/six-drawer.js +52 -48
  181. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  182. package/dist/collection/components/six-drawer/test/six-drawer.spec.js +34 -0
  183. package/dist/collection/components/six-drawer/test/six-drawer.spec.js.map +1 -0
  184. package/dist/collection/components/six-dropdown/six-dropdown.css +2 -1
  185. package/dist/collection/components/six-dropdown/six-dropdown.js +215 -191
  186. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  187. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +122 -0
  188. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +1 -0
  189. package/dist/collection/components/six-error/six-error.css +5 -0
  190. package/dist/collection/components/six-error/six-error.js +25 -0
  191. package/dist/collection/components/six-error/six-error.js.map +1 -0
  192. package/dist/collection/components/six-error-page/six-error-page.js +26 -28
  193. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
  194. package/dist/collection/components/six-error-page/test/six-error-page.spec.js +240 -0
  195. package/dist/collection/components/six-error-page/test/six-error-page.spec.js.map +1 -0
  196. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  197. package/dist/collection/components/six-file-list/test/six-file-list.spec.js +67 -0
  198. package/dist/collection/components/six-file-list/test/six-file-list.spec.js.map +1 -0
  199. package/dist/collection/components/six-file-list-item/six-file-list-item.js +8 -6
  200. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  201. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js +169 -0
  202. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js.map +1 -0
  203. package/dist/collection/components/six-file-upload/six-file-upload.js +37 -35
  204. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  205. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +103 -0
  206. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +1 -0
  207. package/dist/collection/components/six-footer/six-footer.js +1 -1
  208. package/dist/collection/components/six-footer/test/six-footer.spec.js +21 -0
  209. package/dist/collection/components/six-footer/test/six-footer.spec.js.map +1 -0
  210. package/dist/collection/components/six-group-label/six-group-label.css +1 -1
  211. package/dist/collection/components/six-group-label/six-group-label.js +15 -13
  212. package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
  213. package/dist/collection/components/six-group-label/test/six-group-label.spec.js +45 -0
  214. package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +1 -0
  215. package/dist/collection/components/six-header/six-header.js +82 -52
  216. package/dist/collection/components/six-header/six-header.js.map +1 -1
  217. package/dist/collection/components/six-header/test/six-header.spec.js +133 -0
  218. package/dist/collection/components/six-header/test/six-header.spec.js.map +1 -0
  219. package/dist/collection/components/six-icon/six-icon.js +1 -1
  220. package/dist/collection/components/six-icon/test/six-icon.spec.js +20 -0
  221. package/dist/collection/components/six-icon/test/six-icon.spec.js.map +1 -0
  222. package/dist/collection/components/six-icon-button/six-icon-button.css +4 -4
  223. package/dist/collection/components/six-icon-button/six-icon-button.js +10 -10
  224. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  225. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js +23 -0
  226. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js.map +1 -0
  227. package/dist/collection/components/six-input/six-input.css +2 -2
  228. package/dist/collection/components/six-input/six-input.js +130 -295
  229. package/dist/collection/components/six-input/six-input.js.map +1 -1
  230. package/dist/collection/components/six-input/test/six-input.spec.js +39 -0
  231. package/dist/collection/components/six-input/test/six-input.spec.js.map +1 -0
  232. package/dist/collection/components/six-item-picker/six-item-picker.js +79 -94
  233. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  234. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js +90 -0
  235. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js.map +1 -0
  236. package/dist/collection/components/six-language-switcher/six-language-switcher.js +7 -5
  237. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  238. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +196 -0
  239. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +1 -0
  240. package/dist/collection/components/six-layout-grid/six-layout-grid.js +10 -8
  241. package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
  242. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js +18 -0
  243. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js.map +1 -0
  244. package/dist/collection/components/six-main-container/six-main-container.js +1 -1
  245. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
  246. package/dist/collection/components/six-main-container/test/six-main-container.spec.js +22 -0
  247. package/dist/collection/components/six-main-container/test/six-main-container.spec.js.map +1 -0
  248. package/dist/collection/components/six-menu/six-menu.js +41 -31
  249. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  250. package/dist/collection/components/six-menu/test/six-menu.spec.js +93 -0
  251. package/dist/collection/components/six-menu/test/six-menu.spec.js.map +1 -0
  252. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  253. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js +18 -0
  254. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js.map +1 -0
  255. package/dist/collection/components/six-menu-item/six-menu-item.js +17 -11
  256. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  257. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js +33 -0
  258. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js.map +1 -0
  259. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  260. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js +20 -0
  261. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js.map +1 -0
  262. package/dist/collection/components/six-picto/six-picto.js +5 -2
  263. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  264. package/dist/collection/components/six-picto/test/six-picto.spec.js +33 -0
  265. package/dist/collection/components/six-picto/test/six-picto.spec.js.map +1 -0
  266. package/dist/collection/components/six-progress-bar/six-progress-bar.js +1 -1
  267. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js +24 -0
  268. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js.map +1 -0
  269. package/dist/collection/components/six-progress-ring/six-progress-ring.js +6 -5
  270. package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
  271. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js +26 -0
  272. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js.map +1 -0
  273. package/dist/collection/components/six-radio/six-radio.js +82 -148
  274. package/dist/collection/components/six-radio/six-radio.js.map +1 -1
  275. package/dist/collection/components/six-radio/test/six-radio.spec.js +63 -0
  276. package/dist/collection/components/six-radio/test/six-radio.spec.js.map +1 -0
  277. package/dist/collection/components/six-range/six-range.css +1 -1
  278. package/dist/collection/components/six-range/six-range.js +168 -188
  279. package/dist/collection/components/six-range/six-range.js.map +1 -1
  280. package/dist/collection/components/six-range/test/six-range.spec.js +34 -0
  281. package/dist/collection/components/six-range/test/six-range.spec.js.map +1 -0
  282. package/dist/collection/components/six-root/six-root.js +9 -7
  283. package/dist/collection/components/six-root/six-root.js.map +1 -1
  284. package/dist/collection/components/six-root/test/six-root.spec.js +43 -0
  285. package/dist/collection/components/six-root/test/six-root.spec.js.map +1 -0
  286. package/dist/collection/components/six-search-field/six-search-field.js +15 -9
  287. package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
  288. package/dist/collection/components/six-search-field/test/six-search-field.spec.js +22 -0
  289. package/dist/collection/components/six-search-field/test/six-search-field.spec.js.map +1 -0
  290. package/dist/collection/components/six-select/six-select.css +7 -10
  291. package/dist/collection/components/six-select/six-select.js +254 -347
  292. package/dist/collection/components/six-select/six-select.js.map +1 -1
  293. package/dist/collection/components/six-select/test/six-select.spec.js +86 -0
  294. package/dist/collection/components/six-select/test/six-select.spec.js.map +1 -0
  295. package/dist/collection/components/six-select/test/util.spec.js +81 -0
  296. package/dist/collection/components/six-select/test/util.spec.js.map +1 -0
  297. package/dist/collection/components/six-select/util.js +52 -0
  298. package/dist/collection/components/six-select/util.js.map +1 -0
  299. package/dist/collection/components/six-sidebar/six-sidebar.js +66 -33
  300. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
  301. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js +22 -0
  302. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js.map +1 -0
  303. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +1 -1
  304. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js +50 -0
  305. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js.map +1 -0
  306. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +4 -0
  307. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +15 -10
  308. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  309. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +53 -0
  310. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +1 -0
  311. package/dist/collection/components/six-spinner/six-spinner.js +1 -1
  312. package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
  313. package/dist/collection/components/six-spinner/test/six-spinner.spec.js +37 -0
  314. package/dist/collection/components/six-spinner/test/six-spinner.spec.js.map +1 -0
  315. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +4 -3
  316. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js.map +1 -1
  317. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js +117 -0
  318. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js.map +1 -0
  319. package/dist/collection/components/six-switch/six-switch.css +77 -0
  320. package/dist/collection/components/six-switch/six-switch.js +150 -140
  321. package/dist/collection/components/six-switch/six-switch.js.map +1 -1
  322. package/dist/collection/components/six-switch/test/six-switch.spec.js +73 -0
  323. package/dist/collection/components/six-switch/test/six-switch.spec.js.map +1 -0
  324. package/dist/collection/components/six-tab/six-tab.css +54 -5
  325. package/dist/collection/components/six-tab/six-tab.js +31 -9
  326. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  327. package/dist/collection/components/six-tab-group/six-tab-group.css +0 -31
  328. package/dist/collection/components/six-tab-group/six-tab-group.js +109 -129
  329. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  330. package/dist/collection/components/six-tab-panel/six-tab-panel.js +2 -2
  331. package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
  332. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js +20 -0
  333. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js.map +1 -0
  334. package/dist/collection/components/six-tag/six-tag.css +6 -0
  335. package/dist/collection/components/six-tag/six-tag.js +27 -7
  336. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  337. package/dist/collection/components/six-tag/test/six-tag.spec.js +54 -0
  338. package/dist/collection/components/six-tag/test/six-tag.spec.js.map +1 -0
  339. package/dist/collection/components/six-textarea/six-textarea.css +1 -1
  340. package/dist/collection/components/six-textarea/six-textarea.js +189 -283
  341. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
  342. package/dist/collection/components/six-textarea/test/six-textarea.spec.js +119 -0
  343. package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +1 -0
  344. package/dist/collection/components/six-tile/six-tile.js +26 -25
  345. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  346. package/dist/collection/components/six-tile/test/six-tile.spec.js +69 -0
  347. package/dist/collection/components/six-tile/test/six-tile.spec.js.map +1 -0
  348. package/dist/collection/components/six-timepicker/six-timepicker.js +180 -263
  349. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  350. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +496 -0
  351. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +1 -0
  352. package/dist/collection/components/six-tooltip/six-tooltip.css +1 -1
  353. package/dist/collection/components/six-tooltip/six-tooltip.js +70 -67
  354. package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
  355. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js +28 -0
  356. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js.map +1 -0
  357. package/dist/collection/functional-components/form-control/form-control.js +11 -10
  358. package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
  359. package/dist/collection/index.js +1 -1
  360. package/dist/collection/index.js.map +1 -1
  361. package/dist/collection/testUtil/delay.js.map +1 -1
  362. package/dist/collection/utils/animation.js +34 -0
  363. package/dist/collection/utils/animation.js.map +1 -0
  364. package/dist/collection/utils/date-util.js +25 -16
  365. package/dist/collection/utils/date-util.js.map +1 -1
  366. package/dist/collection/utils/date-util.spec.js +995 -0
  367. package/dist/collection/utils/date-util.spec.js.map +1 -0
  368. package/dist/collection/utils/error-messages.js +91 -0
  369. package/dist/collection/utils/error-messages.js.map +1 -0
  370. package/dist/collection/utils/event-listeners.js +22 -6
  371. package/dist/collection/utils/event-listeners.js.map +1 -1
  372. package/dist/collection/utils/execution-control.js +5 -4
  373. package/dist/collection/utils/execution-control.js.map +1 -1
  374. package/dist/collection/utils/focus-visible.js +2 -2
  375. package/dist/collection/utils/focus-visible.js.map +1 -1
  376. package/dist/collection/utils/form.js +15 -0
  377. package/dist/collection/utils/form.js.map +1 -0
  378. package/dist/collection/utils/modal.js +3 -2
  379. package/dist/collection/utils/modal.js.map +1 -1
  380. package/dist/collection/utils/popover.js +33 -19
  381. package/dist/collection/utils/popover.js.map +1 -1
  382. package/dist/collection/utils/popup.js +95 -0
  383. package/dist/collection/utils/popup.js.map +1 -0
  384. package/dist/collection/utils/scroll.js +1 -1
  385. package/dist/collection/utils/scroll.spec.js +122 -0
  386. package/dist/collection/utils/scroll.spec.js.map +1 -0
  387. package/dist/collection/utils/slot.js +9 -24
  388. package/dist/collection/utils/slot.js.map +1 -1
  389. package/dist/collection/utils/tabbable.js +6 -6
  390. package/dist/collection/utils/tabbable.js.map +1 -1
  391. package/dist/collection/utils/time.util.js +48 -34
  392. package/dist/collection/utils/time.util.js.map +1 -1
  393. package/dist/collection/utils/time.util.spec.js +368 -0
  394. package/dist/collection/utils/time.util.spec.js.map +1 -0
  395. package/dist/collection/utils/type-check.js +0 -1
  396. package/dist/collection/utils/type-check.js.map +1 -1
  397. package/dist/collection/wrappers/set-attributes/set-attributes.js +4 -2
  398. package/dist/collection/wrappers/set-attributes/set-attributes.js.map +1 -1
  399. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js +16 -0
  400. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js.map +1 -0
  401. package/dist/components/event-listeners.js +22 -6
  402. package/dist/components/event-listeners.js.map +1 -1
  403. package/dist/components/execution-control.js +5 -2
  404. package/dist/components/execution-control.js.map +1 -1
  405. package/dist/components/focus-visible.js +2 -2
  406. package/dist/components/focus-visible.js.map +1 -1
  407. package/dist/components/form-control.js +11 -9
  408. package/dist/components/form-control.js.map +1 -1
  409. package/dist/components/form.js +18 -0
  410. package/dist/components/form.js.map +1 -0
  411. package/dist/components/index.js +94 -3
  412. package/dist/components/index.js.map +1 -1
  413. package/dist/components/modal.js +3 -2
  414. package/dist/components/modal.js.map +1 -1
  415. package/dist/components/popover.js +38 -30
  416. package/dist/components/popover.js.map +1 -1
  417. package/dist/components/scroll.js +1 -1
  418. package/dist/components/scroll.js.map +1 -1
  419. package/dist/components/set-attributes2.js +3 -1
  420. package/dist/components/set-attributes2.js.map +1 -1
  421. package/dist/components/six-alert.js +17 -22
  422. package/dist/components/six-alert.js.map +1 -1
  423. package/dist/components/six-avatar.js +4 -7
  424. package/dist/components/six-avatar.js.map +1 -1
  425. package/dist/components/six-badge.js +1 -1
  426. package/dist/components/six-badge.js.map +1 -1
  427. package/dist/components/six-button.js +35 -33
  428. package/dist/components/six-button.js.map +1 -1
  429. package/dist/components/six-card.js.map +1 -1
  430. package/dist/components/six-checkbox.js +61 -91
  431. package/dist/components/six-checkbox.js.map +1 -1
  432. package/dist/components/six-datepicker.js +156 -283
  433. package/dist/components/six-datepicker.js.map +1 -1
  434. package/dist/components/six-details2.js +47 -46
  435. package/dist/components/six-details2.js.map +1 -1
  436. package/dist/components/six-dialog.js +33 -37
  437. package/dist/components/six-dialog.js.map +1 -1
  438. package/dist/components/six-drawer.js +30 -34
  439. package/dist/components/six-drawer.js.map +1 -1
  440. package/dist/components/six-dropdown2.js +193 -175
  441. package/dist/components/six-dropdown2.js.map +1 -1
  442. package/dist/components/six-error-page.js +19 -21
  443. package/dist/components/six-error-page.js.map +1 -1
  444. package/dist/components/{six-form.d.ts → six-error.d.ts} +4 -4
  445. package/dist/components/six-error.js +8 -0
  446. package/dist/components/six-error.js.map +1 -0
  447. package/dist/components/six-error2.js +32 -0
  448. package/dist/components/six-error2.js.map +1 -0
  449. package/dist/components/six-file-list-item.js +1 -1
  450. package/dist/components/six-file-list-item.js.map +1 -1
  451. package/dist/components/six-file-list.js.map +1 -1
  452. package/dist/components/six-file-upload.js +20 -20
  453. package/dist/components/six-file-upload.js.map +1 -1
  454. package/dist/components/six-footer.js.map +1 -1
  455. package/dist/components/six-group-label.js +18 -11
  456. package/dist/components/six-group-label.js.map +1 -1
  457. package/dist/components/six-header.js +72 -44
  458. package/dist/components/six-header.js.map +1 -1
  459. package/dist/components/six-icon-button2.js +3 -3
  460. package/dist/components/six-icon-button2.js.map +1 -1
  461. package/dist/components/six-icon2.js.map +1 -1
  462. package/dist/components/six-input2.js +46 -105
  463. package/dist/components/six-input2.js.map +1 -1
  464. package/dist/components/six-item-picker2.js +58 -77
  465. package/dist/components/six-item-picker2.js.map +1 -1
  466. package/dist/components/six-language-switcher.js +1 -1
  467. package/dist/components/six-language-switcher.js.map +1 -1
  468. package/dist/components/six-layout-grid.js +5 -3
  469. package/dist/components/six-layout-grid.js.map +1 -1
  470. package/dist/components/six-main-container.js.map +1 -1
  471. package/dist/components/six-menu-divider.js.map +1 -1
  472. package/dist/components/six-menu-item2.js +7 -5
  473. package/dist/components/six-menu-item2.js.map +1 -1
  474. package/dist/components/six-menu-label.js.map +1 -1
  475. package/dist/components/six-menu2.js +25 -18
  476. package/dist/components/six-menu2.js.map +1 -1
  477. package/dist/components/six-picto2.js +4 -1
  478. package/dist/components/six-picto2.js.map +1 -1
  479. package/dist/components/six-progress-bar.js.map +1 -1
  480. package/dist/components/six-progress-ring.js +3 -3
  481. package/dist/components/six-progress-ring.js.map +1 -1
  482. package/dist/components/six-radio.js +65 -78
  483. package/dist/components/six-radio.js.map +1 -1
  484. package/dist/components/six-range.js +121 -113
  485. package/dist/components/six-range.js.map +1 -1
  486. package/dist/components/six-root.js +1 -1
  487. package/dist/components/six-root.js.map +1 -1
  488. package/dist/components/six-search-field.js +15 -4
  489. package/dist/components/six-search-field.js.map +1 -1
  490. package/dist/components/six-select.js +221 -243
  491. package/dist/components/six-select.js.map +1 -1
  492. package/dist/components/six-sidebar-item-group.js +10 -5
  493. package/dist/components/six-sidebar-item-group.js.map +1 -1
  494. package/dist/components/six-sidebar-item.js.map +1 -1
  495. package/dist/components/six-sidebar.js +39 -18
  496. package/dist/components/six-sidebar.js.map +1 -1
  497. package/dist/components/six-spinner2.js.map +1 -1
  498. package/dist/components/six-stage-indicator2.js.map +1 -1
  499. package/dist/components/six-switch.js +89 -71
  500. package/dist/components/six-switch.js.map +1 -1
  501. package/dist/components/six-tab-group.js +135 -122
  502. package/dist/components/six-tab-group.js.map +1 -1
  503. package/dist/components/six-tab-panel.js +1 -1
  504. package/dist/components/six-tab-panel.js.map +1 -1
  505. package/dist/components/six-tab.js +23 -5
  506. package/dist/components/six-tab.js.map +1 -1
  507. package/dist/components/six-tag2.js +35 -10
  508. package/dist/components/six-tag2.js.map +1 -1
  509. package/dist/components/six-textarea.js +96 -117
  510. package/dist/components/six-textarea.js.map +1 -1
  511. package/dist/components/six-tile.js +14 -17
  512. package/dist/components/six-tile.js.map +1 -1
  513. package/dist/components/six-timepicker.js +1 -1
  514. package/dist/components/six-timepicker2.js +250 -259
  515. package/dist/components/six-timepicker2.js.map +1 -1
  516. package/dist/components/six-tooltip2.js +54 -57
  517. package/dist/components/six-tooltip2.js.map +1 -1
  518. package/dist/components/slot.js +10 -9
  519. package/dist/components/slot.js.map +1 -1
  520. package/dist/components.d.ts +361 -88
  521. package/dist/components.json +4557 -944
  522. package/dist/esm/event-listeners-f6e5b0ab.js +59 -0
  523. package/dist/esm/event-listeners-f6e5b0ab.js.map +1 -0
  524. package/dist/esm/{execution-control-1a60d709.js → execution-control-e0892a05.js} +6 -3
  525. package/dist/esm/execution-control-e0892a05.js.map +1 -0
  526. package/dist/esm/{focus-visible-97933ea9.js → focus-visible-fc6ac671.js} +3 -3
  527. package/dist/esm/focus-visible-fc6ac671.js.map +1 -0
  528. package/dist/esm/form-81252534.js +18 -0
  529. package/dist/esm/form-81252534.js.map +1 -0
  530. package/dist/esm/form-control-b0febe88.js +34 -0
  531. package/dist/esm/form-control-b0febe88.js.map +1 -0
  532. package/dist/esm/{index-5c0f6628.js → index-8a74f992.js} +400 -54
  533. package/dist/esm/index-8a74f992.js.map +1 -0
  534. package/dist/esm/index.js +91 -0
  535. package/dist/esm/index.js.map +1 -1
  536. package/dist/esm/loader.js +4 -13
  537. package/dist/esm/loader.js.map +1 -1
  538. package/dist/esm/{modal-5ebdc320.js → modal-7d32e141.js} +4 -3
  539. package/dist/esm/modal-7d32e141.js.map +1 -0
  540. package/dist/esm/{popover-bd2c2fca.js → popover-136d1f73.js} +39 -31
  541. package/dist/esm/popover-136d1f73.js.map +1 -0
  542. package/dist/esm/popup-7f89a001.js +98 -0
  543. package/dist/esm/popup-7f89a001.js.map +1 -0
  544. package/dist/esm/{scroll-180b53fd.js → scroll-774762d6.js} +2 -2
  545. package/dist/esm/scroll-774762d6.js.map +1 -0
  546. package/dist/esm/set-attributes_2.entry.js +4 -2
  547. package/dist/esm/set-attributes_2.entry.js.map +1 -1
  548. package/dist/esm/six-alert.entry.js +18 -23
  549. package/dist/esm/six-alert.entry.js.map +1 -1
  550. package/dist/esm/six-avatar.entry.js +5 -8
  551. package/dist/esm/six-avatar.entry.js.map +1 -1
  552. package/dist/esm/six-badge.entry.js +2 -2
  553. package/dist/esm/six-badge.entry.js.map +1 -1
  554. package/dist/esm/six-button.entry.js +37 -35
  555. package/dist/esm/six-button.entry.js.map +1 -1
  556. package/dist/esm/six-card.entry.js +1 -1
  557. package/dist/esm/six-card.entry.js.map +1 -1
  558. package/dist/esm/six-checkbox.entry.js +54 -86
  559. package/dist/esm/six-checkbox.entry.js.map +1 -1
  560. package/dist/esm/six-datepicker.entry.js +147 -278
  561. package/dist/esm/six-datepicker.entry.js.map +1 -1
  562. package/dist/esm/six-details.entry.js +49 -48
  563. package/dist/esm/six-details.entry.js.map +1 -1
  564. package/dist/esm/six-dialog.entry.js +37 -41
  565. package/dist/esm/six-dialog.entry.js.map +1 -1
  566. package/dist/esm/six-drawer.entry.js +34 -38
  567. package/dist/esm/six-drawer.entry.js.map +1 -1
  568. package/dist/esm/six-dropdown_2.entry.js +216 -197
  569. package/dist/esm/six-dropdown_2.entry.js.map +1 -1
  570. package/dist/esm/six-error-page.entry.js +20 -22
  571. package/dist/esm/six-error-page.entry.js.map +1 -1
  572. package/dist/esm/six-error.entry.js +17 -0
  573. package/dist/esm/six-error.entry.js.map +1 -0
  574. package/dist/esm/six-file-list-item.entry.js +2 -2
  575. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  576. package/dist/esm/six-file-list.entry.js +1 -1
  577. package/dist/esm/six-file-list.entry.js.map +1 -1
  578. package/dist/esm/six-file-upload.entry.js +21 -21
  579. package/dist/esm/six-file-upload.entry.js.map +1 -1
  580. package/dist/esm/six-footer.entry.js +1 -1
  581. package/dist/esm/six-footer.entry.js.map +1 -1
  582. package/dist/esm/six-group-label.entry.js +13 -12
  583. package/dist/esm/six-group-label.entry.js.map +1 -1
  584. package/dist/esm/six-header.entry.js +66 -44
  585. package/dist/esm/six-header.entry.js.map +1 -1
  586. package/dist/esm/six-icon-button.entry.js +5 -5
  587. package/dist/esm/six-icon-button.entry.js.map +1 -1
  588. package/dist/esm/six-icon.entry.js +1 -1
  589. package/dist/esm/six-icon.entry.js.map +1 -1
  590. package/dist/esm/six-input.entry.js +36 -94
  591. package/dist/esm/six-input.entry.js.map +1 -1
  592. package/dist/esm/six-item-picker.entry.js +62 -81
  593. package/dist/esm/six-item-picker.entry.js.map +1 -1
  594. package/dist/esm/six-language-switcher.entry.js +2 -2
  595. package/dist/esm/six-language-switcher.entry.js.map +1 -1
  596. package/dist/esm/six-layout-grid.entry.js +5 -3
  597. package/dist/esm/six-layout-grid.entry.js.map +1 -1
  598. package/dist/esm/six-main-container.entry.js +1 -1
  599. package/dist/esm/six-main-container.entry.js.map +1 -1
  600. package/dist/esm/six-menu-divider.entry.js +1 -1
  601. package/dist/esm/six-menu-divider.entry.js.map +1 -1
  602. package/dist/esm/six-menu-item.entry.js +9 -7
  603. package/dist/esm/six-menu-item.entry.js.map +1 -1
  604. package/dist/esm/six-menu-label.entry.js +1 -1
  605. package/dist/esm/six-menu-label.entry.js.map +1 -1
  606. package/dist/esm/six-picto.entry.js +5 -2
  607. package/dist/esm/six-picto.entry.js.map +1 -1
  608. package/dist/esm/six-progress-bar.entry.js +1 -1
  609. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  610. package/dist/esm/six-progress-ring.entry.js +4 -4
  611. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  612. package/dist/esm/six-radio.entry.js +63 -72
  613. package/dist/esm/six-radio.entry.js.map +1 -1
  614. package/dist/esm/six-range.entry.js +111 -107
  615. package/dist/esm/six-range.entry.js.map +1 -1
  616. package/dist/esm/six-root.entry.js +2 -2
  617. package/dist/esm/six-root.entry.js.map +1 -1
  618. package/dist/esm/six-search-field.entry.js +11 -6
  619. package/dist/esm/six-search-field.entry.js.map +1 -1
  620. package/dist/esm/six-select.entry.js +193 -223
  621. package/dist/esm/six-select.entry.js.map +1 -1
  622. package/dist/esm/six-sidebar-item-group.entry.js +12 -7
  623. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  624. package/dist/esm/six-sidebar-item.entry.js +1 -1
  625. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  626. package/dist/esm/six-sidebar.entry.js +41 -20
  627. package/dist/esm/six-sidebar.entry.js.map +1 -1
  628. package/dist/esm/six-spinner.entry.js +1 -1
  629. package/dist/esm/six-spinner.entry.js.map +1 -1
  630. package/dist/esm/six-switch.entry.js +77 -65
  631. package/dist/esm/six-switch.entry.js.map +1 -1
  632. package/dist/esm/six-tab-group.entry.js +136 -123
  633. package/dist/esm/six-tab-group.entry.js.map +1 -1
  634. package/dist/esm/six-tab-panel.entry.js +2 -2
  635. package/dist/esm/six-tab-panel.entry.js.map +1 -1
  636. package/dist/esm/six-tab.entry.js +24 -6
  637. package/dist/esm/six-tab.entry.js.map +1 -1
  638. package/dist/esm/six-tag.entry.js +26 -7
  639. package/dist/esm/six-tag.entry.js.map +1 -1
  640. package/dist/esm/six-textarea.entry.js +86 -109
  641. package/dist/esm/six-textarea.entry.js.map +1 -1
  642. package/dist/esm/six-tile.entry.js +14 -17
  643. package/dist/esm/six-tile.entry.js.map +1 -1
  644. package/dist/esm/six-timepicker.entry.js +154 -215
  645. package/dist/esm/six-timepicker.entry.js.map +1 -1
  646. package/dist/esm/six-tooltip.entry.js +56 -59
  647. package/dist/esm/six-tooltip.entry.js.map +1 -1
  648. package/dist/esm/{slot-6f3984c7.js → slot-ad36df3a.js} +11 -10
  649. package/dist/esm/slot-ad36df3a.js.map +1 -0
  650. package/dist/esm/{types-4b10b413.js → types-59b455aa.js} +1 -1
  651. package/dist/esm/types-59b455aa.js.map +1 -0
  652. package/dist/esm/ui-library.js +4 -7
  653. package/dist/esm/ui-library.js.map +1 -1
  654. package/dist/types/components/six-alert/six-alert.d.ts +5 -7
  655. package/dist/types/components/six-avatar/six-avatar.d.ts +1 -2
  656. package/dist/types/components/six-badge/six-badge.d.ts +0 -1
  657. package/dist/types/components/six-button/six-button.d.ts +8 -9
  658. package/dist/types/components/six-checkbox/six-checkbox.d.ts +27 -36
  659. package/dist/types/components/six-datepicker/components/day-selection.d.ts +9 -5
  660. package/dist/types/components/six-datepicker/components/month-selection.d.ts +8 -5
  661. package/dist/types/components/six-datepicker/components/year-selection.d.ts +7 -5
  662. package/dist/types/components/six-datepicker/six-datepicker.d.ts +43 -52
  663. package/dist/types/components/six-details/six-details.d.ts +12 -12
  664. package/dist/types/components/six-dialog/six-dialog.d.ts +12 -13
  665. package/dist/types/components/six-drawer/six-drawer.d.ts +12 -13
  666. package/dist/types/components/six-dropdown/six-dropdown.d.ts +28 -32
  667. package/dist/types/components/six-error/six-error.d.ts +9 -0
  668. package/dist/types/components/six-error-page/six-error-page.d.ts +1 -1
  669. package/dist/types/components/six-file-list-item/six-file-list-item.d.ts +3 -3
  670. package/dist/types/components/six-file-upload/six-file-upload.d.ts +11 -11
  671. package/dist/types/components/six-group-label/six-group-label.d.ts +5 -5
  672. package/dist/types/components/six-header/six-header.d.ts +16 -27
  673. package/dist/types/components/six-icon-button/six-icon-button.d.ts +4 -4
  674. package/dist/types/components/six-input/six-input.d.ts +16 -37
  675. package/dist/types/components/six-item-picker/six-item-picker.d.ts +13 -16
  676. package/dist/types/components/six-layout-grid/six-layout-grid.d.ts +1 -1
  677. package/dist/types/components/six-menu/six-menu.d.ts +10 -11
  678. package/dist/types/components/six-menu-item/six-menu-item.d.ts +6 -6
  679. package/dist/types/components/six-progress-ring/six-progress-ring.d.ts +2 -2
  680. package/dist/types/components/six-radio/six-radio.d.ts +14 -25
  681. package/dist/types/components/six-range/six-range.d.ts +30 -38
  682. package/dist/types/components/six-root/six-root.d.ts +3 -3
  683. package/dist/types/components/six-search-field/six-search-field.d.ts +4 -5
  684. package/dist/types/components/six-select/six-select.d.ts +44 -58
  685. package/dist/types/components/six-select/util.d.ts +7 -0
  686. package/dist/types/components/six-sidebar/six-sidebar.d.ts +5 -5
  687. package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +7 -6
  688. package/dist/types/components/six-spinner/six-spinner.d.ts +2 -2
  689. package/dist/types/components/six-switch/six-switch.d.ts +25 -21
  690. package/dist/types/components/six-tab/six-tab.d.ts +3 -3
  691. package/dist/types/components/six-tab-group/six-tab-group.d.ts +18 -22
  692. package/dist/types/components/six-tab-panel/six-tab-panel.d.ts +1 -1
  693. package/dist/types/components/six-tag/six-tag.d.ts +8 -2
  694. package/dist/types/components/six-textarea/six-textarea.d.ts +30 -55
  695. package/dist/types/components/six-tile/six-tile.d.ts +2 -3
  696. package/dist/types/components/six-timepicker/six-timepicker.d.ts +30 -44
  697. package/dist/types/components/six-tooltip/six-tooltip.d.ts +19 -21
  698. package/dist/types/components.d.ts +280 -426
  699. package/dist/types/functional-components/form-control/form-control.d.ts +9 -6
  700. package/dist/types/index.d.ts +1 -0
  701. package/dist/types/stencil-public-runtime.d.ts +15 -2
  702. package/dist/types/testUtil/delay.d.ts +1 -1
  703. package/dist/types/types.d.ts +2 -0
  704. package/dist/types/utils/animation.d.ts +12 -0
  705. package/dist/types/utils/date-util.d.ts +18 -10
  706. package/dist/types/utils/error-messages.d.ts +42 -0
  707. package/dist/types/utils/event-listeners.d.ts +4 -3
  708. package/dist/types/utils/execution-control.d.ts +1 -3
  709. package/dist/types/utils/form.d.ts +1 -0
  710. package/dist/types/utils/modal.d.ts +2 -2
  711. package/dist/types/utils/popover.d.ts +5 -5
  712. package/dist/types/utils/popup.d.ts +9 -0
  713. package/dist/types/utils/slot.d.ts +2 -7
  714. package/dist/types/utils/tabbable.d.ts +1 -1
  715. package/dist/types/utils/time.util.d.ts +18 -9
  716. package/dist/types/utils/type-check.d.ts +3 -4
  717. package/dist/types/wrappers/set-attributes/set-attributes.d.ts +1 -1
  718. package/dist/ui-library/index.esm.js +1 -1
  719. package/dist/ui-library/index.esm.js.map +1 -1
  720. package/dist/ui-library/{p-eb8f05a9.js → p-052aa8d3.js} +2 -2
  721. package/dist/ui-library/p-052aa8d3.js.map +1 -0
  722. package/dist/ui-library/{p-25a3bf57.js → p-0f510624.js} +1 -1
  723. package/dist/ui-library/p-0f510624.js.map +1 -0
  724. package/dist/ui-library/p-0fdb185d.js +2 -0
  725. package/dist/ui-library/p-0fdb185d.js.map +1 -0
  726. package/dist/ui-library/{p-19364560.entry.js → p-13b43e04.entry.js} +2 -2
  727. package/dist/ui-library/p-13b43e04.entry.js.map +1 -0
  728. package/dist/ui-library/p-14c1ec31.entry.js +2 -0
  729. package/dist/ui-library/p-14c1ec31.entry.js.map +1 -0
  730. package/dist/ui-library/p-15559d38.js +2 -0
  731. package/dist/ui-library/p-15559d38.js.map +1 -0
  732. package/dist/ui-library/{p-97323ad7.entry.js → p-1d5ee1a0.entry.js} +2 -2
  733. package/dist/ui-library/p-1d5ee1a0.entry.js.map +1 -0
  734. package/dist/ui-library/p-22c9b8c3.entry.js +2 -0
  735. package/dist/ui-library/p-22c9b8c3.entry.js.map +1 -0
  736. package/dist/ui-library/p-25bb1752.entry.js +2 -0
  737. package/dist/ui-library/p-25bb1752.entry.js.map +1 -0
  738. package/dist/ui-library/p-264d4ea8.entry.js +2 -0
  739. package/dist/ui-library/p-264d4ea8.entry.js.map +1 -0
  740. package/dist/ui-library/{p-21859bca.entry.js → p-346f9557.entry.js} +2 -2
  741. package/dist/ui-library/p-346f9557.entry.js.map +1 -0
  742. package/dist/ui-library/p-37557787.entry.js +2 -0
  743. package/dist/ui-library/p-37557787.entry.js.map +1 -0
  744. package/dist/ui-library/{p-baa03951.entry.js → p-3cc5addb.entry.js} +2 -2
  745. package/dist/ui-library/p-3cc5addb.entry.js.map +1 -0
  746. package/dist/ui-library/p-3f1a5ecb.entry.js +2 -0
  747. package/dist/ui-library/p-3f1a5ecb.entry.js.map +1 -0
  748. package/dist/ui-library/p-411ed539.entry.js +2 -0
  749. package/dist/ui-library/p-411ed539.entry.js.map +1 -0
  750. package/dist/ui-library/p-4435ff73.entry.js +2 -0
  751. package/dist/ui-library/p-4435ff73.entry.js.map +1 -0
  752. package/dist/ui-library/p-538f3c50.entry.js +2 -0
  753. package/dist/ui-library/p-538f3c50.entry.js.map +1 -0
  754. package/dist/ui-library/p-5654e4c7.js +2 -0
  755. package/dist/ui-library/p-5654e4c7.js.map +1 -0
  756. package/dist/ui-library/p-5800663b.entry.js +2 -0
  757. package/dist/ui-library/p-5800663b.entry.js.map +1 -0
  758. package/dist/ui-library/p-59210f0b.js +2 -0
  759. package/dist/ui-library/p-59210f0b.js.map +1 -0
  760. package/dist/ui-library/{p-19b50b5a.entry.js → p-5af44076.entry.js} +2 -2
  761. package/dist/ui-library/p-5af44076.entry.js.map +1 -0
  762. package/dist/ui-library/p-5ba3a0fe.entry.js +2 -0
  763. package/dist/ui-library/p-5ba3a0fe.entry.js.map +1 -0
  764. package/dist/ui-library/{p-097cced4.entry.js → p-613283a7.entry.js} +2 -2
  765. package/dist/ui-library/p-613283a7.entry.js.map +1 -0
  766. package/dist/ui-library/p-6153045b.js +3 -0
  767. package/dist/ui-library/p-6153045b.js.map +1 -0
  768. package/dist/ui-library/{p-e19a6c95.entry.js → p-6197fe2f.entry.js} +2 -2
  769. package/dist/ui-library/p-6197fe2f.entry.js.map +1 -0
  770. package/dist/ui-library/p-658d9f79.entry.js +2 -0
  771. package/dist/ui-library/p-658d9f79.entry.js.map +1 -0
  772. package/dist/ui-library/p-66fe54b3.entry.js +2 -0
  773. package/dist/ui-library/p-66fe54b3.entry.js.map +1 -0
  774. package/dist/ui-library/p-698bb2c8.js +2 -0
  775. package/dist/ui-library/p-698bb2c8.js.map +1 -0
  776. package/dist/ui-library/p-724875b0.entry.js +2 -0
  777. package/dist/ui-library/p-724875b0.entry.js.map +1 -0
  778. package/dist/ui-library/{p-dd3c76f1.entry.js → p-7afafb9d.entry.js} +2 -2
  779. package/dist/ui-library/p-7afafb9d.entry.js.map +1 -0
  780. package/dist/ui-library/p-7d95def3.js +2 -0
  781. package/dist/ui-library/p-7d95def3.js.map +1 -0
  782. package/dist/ui-library/{p-63703ba3.entry.js → p-7e3ad38a.entry.js} +2 -2
  783. package/dist/ui-library/p-7e3ad38a.entry.js.map +1 -0
  784. package/dist/ui-library/{p-9328e5bc.entry.js → p-878226a0.entry.js} +2 -2
  785. package/dist/ui-library/p-878226a0.entry.js.map +1 -0
  786. package/dist/ui-library/p-8c0971e0.js +2 -0
  787. package/dist/ui-library/p-8c0971e0.js.map +1 -0
  788. package/dist/ui-library/p-91b51800.entry.js +2 -0
  789. package/dist/ui-library/p-91b51800.entry.js.map +1 -0
  790. package/dist/ui-library/p-95fbdd0b.entry.js +2 -0
  791. package/dist/ui-library/p-95fbdd0b.entry.js.map +1 -0
  792. package/dist/ui-library/{p-4f8394d7.js → p-9ace84c7.js} +2 -2
  793. package/dist/ui-library/p-9ace84c7.js.map +1 -0
  794. package/dist/ui-library/p-9b354f5d.entry.js +2 -0
  795. package/dist/ui-library/p-9b354f5d.entry.js.map +1 -0
  796. package/dist/ui-library/{p-c349d1d4.entry.js → p-9c1be3fb.entry.js} +2 -2
  797. package/dist/ui-library/p-9c1be3fb.entry.js.map +1 -0
  798. package/dist/ui-library/{p-af793d04.entry.js → p-a0f290d0.entry.js} +2 -2
  799. package/dist/ui-library/p-a0f290d0.entry.js.map +1 -0
  800. package/dist/ui-library/p-a2035543.entry.js +2 -0
  801. package/dist/ui-library/p-a2035543.entry.js.map +1 -0
  802. package/dist/ui-library/p-a457fee8.entry.js +2 -0
  803. package/dist/ui-library/p-a457fee8.entry.js.map +1 -0
  804. package/dist/ui-library/p-a55c7258.entry.js +2 -0
  805. package/dist/ui-library/p-a55c7258.entry.js.map +1 -0
  806. package/dist/ui-library/{p-6d75f216.entry.js → p-a6a9ee96.entry.js} +2 -2
  807. package/dist/ui-library/p-a6a9ee96.entry.js.map +1 -0
  808. package/dist/ui-library/p-ab91c2a9.entry.js +2 -0
  809. package/dist/ui-library/p-ab91c2a9.entry.js.map +1 -0
  810. package/dist/ui-library/{p-73597d13.entry.js → p-ac099e6b.entry.js} +2 -2
  811. package/dist/ui-library/p-ac099e6b.entry.js.map +1 -0
  812. package/dist/ui-library/p-ae601a0f.entry.js +2 -0
  813. package/dist/ui-library/p-ae601a0f.entry.js.map +1 -0
  814. package/dist/ui-library/p-b351f889.entry.js +2 -0
  815. package/dist/ui-library/p-b351f889.entry.js.map +1 -0
  816. package/dist/ui-library/p-b57afbe4.entry.js +2 -0
  817. package/dist/ui-library/p-b57afbe4.entry.js.map +1 -0
  818. package/dist/ui-library/p-b6f47c9d.entry.js +2 -0
  819. package/dist/ui-library/p-b6f47c9d.entry.js.map +1 -0
  820. package/dist/ui-library/p-c03ebf7d.entry.js +2 -0
  821. package/dist/ui-library/p-c03ebf7d.entry.js.map +1 -0
  822. package/dist/ui-library/p-cba69e9d.entry.js +2 -0
  823. package/dist/ui-library/p-cba69e9d.entry.js.map +1 -0
  824. package/dist/ui-library/{p-a1d4f6cf.entry.js → p-cd67da3d.entry.js} +2 -2
  825. package/dist/ui-library/p-cd67da3d.entry.js.map +1 -0
  826. package/dist/ui-library/p-cdaed936.entry.js +2 -0
  827. package/dist/ui-library/p-cdaed936.entry.js.map +1 -0
  828. package/dist/ui-library/p-d1bda563.entry.js +2 -0
  829. package/dist/ui-library/p-d1bda563.entry.js.map +1 -0
  830. package/dist/ui-library/p-db34a6cc.entry.js +2 -0
  831. package/dist/ui-library/p-db34a6cc.entry.js.map +1 -0
  832. package/dist/ui-library/p-db936ad7.entry.js +2 -0
  833. package/dist/ui-library/p-db936ad7.entry.js.map +1 -0
  834. package/dist/ui-library/p-dc4f41d8.entry.js +2 -0
  835. package/dist/ui-library/p-dc4f41d8.entry.js.map +1 -0
  836. package/dist/ui-library/{p-820c23f0.entry.js → p-dfed33c5.entry.js} +2 -2
  837. package/dist/ui-library/p-dfed33c5.entry.js.map +1 -0
  838. package/dist/ui-library/p-e5020f0d.js +2 -0
  839. package/dist/ui-library/p-e5020f0d.js.map +1 -0
  840. package/dist/ui-library/p-e775dcb4.entry.js +2 -0
  841. package/dist/ui-library/p-e775dcb4.entry.js.map +1 -0
  842. package/dist/ui-library/p-ee950ce2.entry.js +2 -0
  843. package/dist/ui-library/p-ee950ce2.entry.js.map +1 -0
  844. package/dist/ui-library/p-f1dc3a88.entry.js +2 -0
  845. package/dist/ui-library/p-f1dc3a88.entry.js.map +1 -0
  846. package/dist/ui-library/ui-library.css +2 -2
  847. package/dist/ui-library/ui-library.esm.js +1 -1
  848. package/dist/ui-library/ui-library.esm.js.map +1 -1
  849. package/loader/index.d.ts +1 -1
  850. package/package.json +10 -10
  851. package/dist/cjs/event-listeners-74715e62.js +0 -45
  852. package/dist/cjs/event-listeners-74715e62.js.map +0 -1
  853. package/dist/cjs/execution-control-46f388e0.js.map +0 -1
  854. package/dist/cjs/focus-visible-0b352c74.js.map +0 -1
  855. package/dist/cjs/form-control-2c17c573.js +0 -34
  856. package/dist/cjs/form-control-2c17c573.js.map +0 -1
  857. package/dist/cjs/index-2f6daa5b.js.map +0 -1
  858. package/dist/cjs/modal-48d42228.js.map +0 -1
  859. package/dist/cjs/popover-f743f62b.js.map +0 -1
  860. package/dist/cjs/scroll-76e6f5d7.js.map +0 -1
  861. package/dist/cjs/six-form.cjs.entry.js +0 -231
  862. package/dist/cjs/six-form.cjs.entry.js.map +0 -1
  863. package/dist/cjs/six-timepicker.types-c19ebff3.js +0 -56
  864. package/dist/cjs/six-timepicker.types-c19ebff3.js.map +0 -1
  865. package/dist/cjs/slot-ad537f24.js.map +0 -1
  866. package/dist/cjs/types-64878648.js.map +0 -1
  867. package/dist/collection/components/six-form/six-form.css +0 -11
  868. package/dist/collection/components/six-form/six-form.js +0 -419
  869. package/dist/collection/components/six-form/six-form.js.map +0 -1
  870. package/dist/collection/components/six-timepicker/six-time-format.js +0 -15
  871. package/dist/collection/components/six-timepicker/six-time-format.js.map +0 -1
  872. package/dist/collection/components/six-timepicker/six-timepicker.types.js +0 -41
  873. package/dist/collection/components/six-timepicker/six-timepicker.types.js.map +0 -1
  874. package/dist/collection/utils/as-array.js +0 -2
  875. package/dist/collection/utils/as-array.js.map +0 -1
  876. package/dist/collection/utils/matchers.js +0 -3
  877. package/dist/collection/utils/matchers.js.map +0 -1
  878. package/dist/collection/utils/testing.js +0 -39
  879. package/dist/collection/utils/testing.js.map +0 -1
  880. package/dist/components/six-form.js +0 -252
  881. package/dist/components/six-form.js.map +0 -1
  882. package/dist/esm/event-listeners-570a24ea.js +0 -43
  883. package/dist/esm/event-listeners-570a24ea.js.map +0 -1
  884. package/dist/esm/execution-control-1a60d709.js.map +0 -1
  885. package/dist/esm/focus-visible-97933ea9.js.map +0 -1
  886. package/dist/esm/form-control-3b440ea1.js +0 -32
  887. package/dist/esm/form-control-3b440ea1.js.map +0 -1
  888. package/dist/esm/index-5c0f6628.js.map +0 -1
  889. package/dist/esm/modal-5ebdc320.js.map +0 -1
  890. package/dist/esm/polyfills/css-shim.js +0 -1
  891. package/dist/esm/popover-bd2c2fca.js.map +0 -1
  892. package/dist/esm/six-form.entry.js +0 -227
  893. package/dist/esm/six-form.entry.js.map +0 -1
  894. package/dist/esm/six-timepicker.types-e161a447.js +0 -50
  895. package/dist/esm/six-timepicker.types-e161a447.js.map +0 -1
  896. package/dist/esm/slot-6f3984c7.js.map +0 -1
  897. package/dist/esm/types-4b10b413.js.map +0 -1
  898. package/dist/types/components/six-form/six-form.d.ts +0 -69
  899. package/dist/types/components/six-timepicker/six-time-format.d.ts +0 -13
  900. package/dist/types/components/six-timepicker/six-timepicker.types.d.ts +0 -36
  901. package/dist/types/utils/as-array.d.ts +0 -1
  902. package/dist/types/utils/matchers.d.ts +0 -2
  903. package/dist/types/utils/popper.d.ts +0 -33
  904. package/dist/types/utils/testing.d.ts +0 -2
  905. package/dist/ui-library/p-054e12cc.entry.js +0 -2
  906. package/dist/ui-library/p-054e12cc.entry.js.map +0 -1
  907. package/dist/ui-library/p-0786fa7c.js +0 -2
  908. package/dist/ui-library/p-0786fa7c.js.map +0 -1
  909. package/dist/ui-library/p-097cced4.entry.js.map +0 -1
  910. package/dist/ui-library/p-0d79b0c6.entry.js +0 -2
  911. package/dist/ui-library/p-0d79b0c6.entry.js.map +0 -1
  912. package/dist/ui-library/p-18e5f772.entry.js +0 -2
  913. package/dist/ui-library/p-18e5f772.entry.js.map +0 -1
  914. package/dist/ui-library/p-18ea0c56.js +0 -2
  915. package/dist/ui-library/p-18ea0c56.js.map +0 -1
  916. package/dist/ui-library/p-19364560.entry.js.map +0 -1
  917. package/dist/ui-library/p-19b50b5a.entry.js.map +0 -1
  918. package/dist/ui-library/p-21859bca.entry.js.map +0 -1
  919. package/dist/ui-library/p-25a3bf57.js.map +0 -1
  920. package/dist/ui-library/p-2e48c8d2.entry.js +0 -2
  921. package/dist/ui-library/p-2e48c8d2.entry.js.map +0 -1
  922. package/dist/ui-library/p-308261c4.entry.js +0 -2
  923. package/dist/ui-library/p-308261c4.entry.js.map +0 -1
  924. package/dist/ui-library/p-33f7e22b.entry.js +0 -2
  925. package/dist/ui-library/p-33f7e22b.entry.js.map +0 -1
  926. package/dist/ui-library/p-4ae91795.entry.js +0 -2
  927. package/dist/ui-library/p-4ae91795.entry.js.map +0 -1
  928. package/dist/ui-library/p-4f8394d7.js.map +0 -1
  929. package/dist/ui-library/p-53a13db5.entry.js +0 -2
  930. package/dist/ui-library/p-53a13db5.entry.js.map +0 -1
  931. package/dist/ui-library/p-559c87f0.entry.js +0 -2
  932. package/dist/ui-library/p-559c87f0.entry.js.map +0 -1
  933. package/dist/ui-library/p-611e1978.entry.js +0 -2
  934. package/dist/ui-library/p-611e1978.entry.js.map +0 -1
  935. package/dist/ui-library/p-63703ba3.entry.js.map +0 -1
  936. package/dist/ui-library/p-6403fd87.entry.js +0 -2
  937. package/dist/ui-library/p-6403fd87.entry.js.map +0 -1
  938. package/dist/ui-library/p-6433c0da.entry.js +0 -2
  939. package/dist/ui-library/p-6433c0da.entry.js.map +0 -1
  940. package/dist/ui-library/p-6d75f216.entry.js.map +0 -1
  941. package/dist/ui-library/p-73597d13.entry.js.map +0 -1
  942. package/dist/ui-library/p-79eee01b.js +0 -2
  943. package/dist/ui-library/p-79eee01b.js.map +0 -1
  944. package/dist/ui-library/p-7e0cc4ae.entry.js +0 -2
  945. package/dist/ui-library/p-7e0cc4ae.entry.js.map +0 -1
  946. package/dist/ui-library/p-820c23f0.entry.js.map +0 -1
  947. package/dist/ui-library/p-835c3ff7.entry.js +0 -2
  948. package/dist/ui-library/p-835c3ff7.entry.js.map +0 -1
  949. package/dist/ui-library/p-8a970a40.entry.js +0 -2
  950. package/dist/ui-library/p-8a970a40.entry.js.map +0 -1
  951. package/dist/ui-library/p-90824648.entry.js +0 -2
  952. package/dist/ui-library/p-90824648.entry.js.map +0 -1
  953. package/dist/ui-library/p-90dc6af4.entry.js +0 -2
  954. package/dist/ui-library/p-90dc6af4.entry.js.map +0 -1
  955. package/dist/ui-library/p-9328e5bc.entry.js.map +0 -1
  956. package/dist/ui-library/p-97323ad7.entry.js.map +0 -1
  957. package/dist/ui-library/p-9a860acc.js +0 -2
  958. package/dist/ui-library/p-9a860acc.js.map +0 -1
  959. package/dist/ui-library/p-9d1d222f.entry.js +0 -2
  960. package/dist/ui-library/p-9d1d222f.entry.js.map +0 -1
  961. package/dist/ui-library/p-a1d4f6cf.entry.js.map +0 -1
  962. package/dist/ui-library/p-ac4f4d45.js +0 -3
  963. package/dist/ui-library/p-ac4f4d45.js.map +0 -1
  964. package/dist/ui-library/p-af793d04.entry.js.map +0 -1
  965. package/dist/ui-library/p-b0e5658f.entry.js +0 -2
  966. package/dist/ui-library/p-b0e5658f.entry.js.map +0 -1
  967. package/dist/ui-library/p-b1e66136.js +0 -2
  968. package/dist/ui-library/p-b1e66136.js.map +0 -1
  969. package/dist/ui-library/p-b4dfb7cf.js +0 -2
  970. package/dist/ui-library/p-b4dfb7cf.js.map +0 -1
  971. package/dist/ui-library/p-b997e43c.entry.js +0 -2
  972. package/dist/ui-library/p-b997e43c.entry.js.map +0 -1
  973. package/dist/ui-library/p-baa03951.entry.js.map +0 -1
  974. package/dist/ui-library/p-c0cb6436.entry.js +0 -2
  975. package/dist/ui-library/p-c0cb6436.entry.js.map +0 -1
  976. package/dist/ui-library/p-c30f9e0b.entry.js +0 -2
  977. package/dist/ui-library/p-c30f9e0b.entry.js.map +0 -1
  978. package/dist/ui-library/p-c349d1d4.entry.js.map +0 -1
  979. package/dist/ui-library/p-c53a63f9.entry.js +0 -2
  980. package/dist/ui-library/p-c53a63f9.entry.js.map +0 -1
  981. package/dist/ui-library/p-c640c2d8.entry.js +0 -2
  982. package/dist/ui-library/p-c640c2d8.entry.js.map +0 -1
  983. package/dist/ui-library/p-c94d0b07.entry.js +0 -2
  984. package/dist/ui-library/p-c94d0b07.entry.js.map +0 -1
  985. package/dist/ui-library/p-d12c6092.js +0 -2
  986. package/dist/ui-library/p-d12c6092.js.map +0 -1
  987. package/dist/ui-library/p-d5633a29.entry.js +0 -2
  988. package/dist/ui-library/p-d5633a29.entry.js.map +0 -1
  989. package/dist/ui-library/p-dd3c76f1.entry.js.map +0 -1
  990. package/dist/ui-library/p-df655bc9.entry.js +0 -2
  991. package/dist/ui-library/p-df655bc9.entry.js.map +0 -1
  992. package/dist/ui-library/p-e19a6c95.entry.js.map +0 -1
  993. package/dist/ui-library/p-e9e930d2.entry.js +0 -2
  994. package/dist/ui-library/p-e9e930d2.entry.js.map +0 -1
  995. package/dist/ui-library/p-eb8f05a9.js.map +0 -1
  996. package/dist/ui-library/p-edc96efc.entry.js +0 -2
  997. package/dist/ui-library/p-edc96efc.entry.js.map +0 -1
  998. package/dist/ui-library/p-f18ba86f.entry.js +0 -2
  999. package/dist/ui-library/p-f18ba86f.entry.js.map +0 -1
  1000. package/dist/ui-library/p-f4938771.entry.js +0 -2
  1001. package/dist/ui-library/p-f4938771.entry.js.map +0 -1
  1002. package/dist/ui-library/p-f70e2403.entry.js +0 -2
  1003. package/dist/ui-library/p-f70e2403.entry.js.map +0 -1
  1004. package/dist/ui-library/p-f9d345e0.entry.js +0 -2
  1005. package/dist/ui-library/p-f9d345e0.entry.js.map +0 -1
  1006. package/dist/ui-library/p-fed07a1f.entry.js +0 -2
  1007. package/dist/ui-library/p-fed07a1f.entry.js.map +0 -1
  1008. package/dist/ui-library/p-ff0257bf.entry.js +0 -2
  1009. package/dist/ui-library/p-ff0257bf.entry.js.map +0 -1
  1010. package/readme.md +0 -156
@@ -0,0 +1 @@
1
+ {"version":3,"names":["isTabbable","el","tabIndex","getNearestTabbableElement","shadowRoot","tabbableShadowChild","children","find","e","map","at","undefined","sixDropdownCss","isTagName","name","tagName","toLowerCase","isSixMenu","isSixMenuItem","id","SixDropdown","this","componentId","isVisible","hasBeenInitialized","eventListeners","EventListeners","getMenuItems","filteredOptions","length","option","h","value","label","panel","getSlotChildren","Array","from","querySelectorAll","handleFilterInputChange","filterInputElement","lowerCaseFilterTerm","_b","_a","trim","handleFilteringForAttributeItems","handleFilteringForSlotItems","sixAutoFilter","emit","filterValue","handleDocumentKeyDown","event","keyboardEvent","key","hide","focusOnTrigger","host","activeElement","item","style","display","setFocus","open","document","preventDefault","setTimeout","container","getRootNode","ShadowRoot","closest","handleDocumentMouseDown","path","composedPath","includes","handlePanelSelect","target","closeOnSelect","handleTriggerClick","show","handleTriggerKeyDown","disableHideOnEnterAndSpace","menu","getMenu","menuItems","firstMenuItem","lastMenuItem","ignoredKeys","typeToSelect","handleTriggerKeyUp","handleTriggerSlotChange","updateAccessibleTrigger","handleDropdownScroll","sixScroll","scrollHeight","scrollTop","scrollbarHeight","offsetHeight","scrollRatio","clientHeight","DEFAULT_DEBOUNCE_FAST","hasFilterEnabled","filter","asyncFilter","containingElement","handleOpenChange","handlePopoverOptionsChange","popover","setOptions","strategy","hoist","placement","distance","skidding","handleOptionsChange","isArray","options","connectedCallback","virtualScroll","console","error","initializePopover","componentDidLoad","setupFiltering","sixAsyncFilterFired","trigger","positioner","onAfterHide","forEach","sixAfterHide","onAfterShow","async","autofocusFilter","sixAfterShow","onTransitionEnd","Popover","transitionElement","callback","add","debounce","filterDebounce","String","_d","_c","menuItem","elementContainsFilterTerm","getTextLabel","disconnectedCallback","removeAll","destroy","sixShow","defaultPrevented","sixHide","remove","focus","reposition","accessibleTrigger","setAttribute","render","part","class","dropdown","ref","onClick","onKeyDown","onKeyUp","onSlotchange","dropdown__positioner","dropdown__positioner__filtered","placeholder","filterPlaceholder","role","onScroll","items","sixMenuCss","isFocusedMenuItem","querySelector","classList","contains","isSIXMenuItemElement","mapToMenuItem","DEFAULT_NUMBER_OF_ITEMS_SHOWN_FOR_VIRTUAL_SCROLLING","DEFAULT_SIX_MENU_ITEM_HEIGHT","SixMenu","typeToSelectString","handleScrolling","menuWrapper","scrollingIndex","Math","floor","sixMenuItemHeight","handleClick","bind","handleKeyDown","componentWillLoad","setupForVirtualScrollingAfterRendering","clearTimeout","typeToSelectTimeout","getItems","slot","getTextContent","substring","getItemsShown","defaultItemsShown","itemsShown","scrollingDebounce","menuItemHeight","assignedElements","flatten","disabled","getActiveItemIndex","selectedItem","getActiveItem","itemIndex","indexOf","sixMenuItems","extractItemsFromDOM","findIndex","i","setActiveItem","clickedItem","sixMenuItemSelected","activeItem","indexOfActiveItem","getMenuWrapperStyle","styles","height","Object","assign","getMenuContainerStyle","transform","getScrollbarGhostStyle","itemSize","renderItems","slice","min","removeBoxShadow"],"sources":["src/utils/tabbable.ts","src/components/six-dropdown/six-dropdown.scss?tag=six-dropdown&encapsulation=shadow","src/components/six-dropdown/six-dropdown.tsx","src/components/six-menu/six-menu.scss?tag=six-menu&encapsulation=shadow","src/components/six-menu/six-menu.tsx"],"sourcesContent":["export function isTabbable(el: HTMLElement) {\n const tabIndex = el.tabIndex;\n return tabIndex > -1;\n}\n\nexport function getNearestTabbableElement(el: HTMLElement): HTMLElement | undefined {\n // Check the element\n if (isTabbable(el)) {\n return el;\n }\n\n // Check the element's shadow root\n if (el.shadowRoot != null) {\n const tabbableShadowChild = [...el.shadowRoot.children].find((e) => isTabbable(e as HTMLElement)) as HTMLElement;\n if (tabbableShadowChild != null) {\n return tabbableShadowChild;\n }\n }\n\n // Check the element's children\n if (el.children != null) {\n return [...el.children].map((e) => getNearestTabbableElement(e as HTMLElement)).at(0);\n }\n\n return undefined;\n}\n","@import 'src/global/component';\n@import 'src/global/mixins/scrollbar';\n\n:host {\n display: inline-block;\n}\n\n.dropdown {\n position: relative;\n}\n\n.dropdown__trigger {\n display: block;\n}\n\n.dropdown__positioner {\n position: absolute;\n z-index: var(--six-z-index-dropdown);\n\n &__filtered {\n width: 100%;\n }\n}\n\n.dropdown__panel {\n max-height: 50vh;\n font-family: var(--six-font-sans);\n font-size: var(--six-font-size-small);\n font-weight: var(--six-font-weight-normal);\n color: var(--color);\n background-color: var(--six-panel-background-color);\n border-radius: var(--six-border-radius-medium);\n box-shadow: var(--six-elevation-2dp);\n opacity: 0;\n overflow-y: auto;\n overflow-x: hidden;\n overscroll-behavior: none;\n pointer-events: none;\n transform: scale(0.9);\n transition: var(--six-transition-fast) opacity, var(--six-transition-fast) transform;\n // fix for firefox scrollbar\n scrollbar-width: thin;\n}\n\n.filter-hidden {\n display: none;\n}\n\n.dropdown__positioner {\n &[data-popper-placement^='top'] .dropdown__panel {\n transform-origin: bottom;\n }\n\n &[data-popper-placement^='bottom'] .dropdown__panel {\n transform-origin: top;\n }\n\n &[data-popper-placement^='left'] .dropdown__panel {\n transform-origin: right;\n }\n\n &[data-popper-placement^='right'] .dropdown__panel {\n transform-origin: left;\n }\n\n &.popover-visible .dropdown__panel {\n opacity: 1;\n transform: none;\n pointer-events: all;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { getNearestTabbableElement } from '../../utils/tabbable';\nimport Popover from '../../utils/popover';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { getSlotChildren } from '../../utils/slot';\nimport { debounce, DEFAULT_DEBOUNCE_FAST } from '../../utils/execution-control';\nimport { EmptyPayload } from '../../utils/types';\nimport { SixMenuItemData } from '../six-menu/six-menu';\n\nexport interface SixDropdownAutoFilterPayload {\n filterValue: string;\n}\n\nexport interface SixDropdownAsyncFilterPayload {\n filterValue: string;\n}\n\nexport interface SixDropdownScrollPayload {\n scrollHeight: number;\n scrollTop: number;\n scrollbarHeight: number;\n scrollRatio: number;\n}\n\nconst isTagName =\n (name: string) =>\n <T extends Element>(el?: T) =>\n el?.tagName.toLowerCase() === name.toLowerCase();\nconst isSixMenu = isTagName('six-menu');\nconst isSixMenuItem = isTagName('six-menu-item');\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot trigger - The dropdown's trigger, usually a `<six-button>` element.\n * @slot - The dropdown's content.\n *\n * @part base - The component's base wrapper.\n * @part trigger - The container that wraps the trigger.\n * @part panel - The panel that gets shown when the dropdown is open.\n */\n\n@Component({\n tag: 'six-dropdown',\n styleUrl: 'six-dropdown.scss',\n shadow: true,\n})\nexport class SixDropdown {\n private componentId = `dropdown-${++id}`;\n private isVisible = false;\n private panel?: HTMLElement;\n private positioner?: HTMLElement;\n private popover?: Popover;\n private trigger?: HTMLElement;\n private hasBeenInitialized = false;\n\n // the input element shown in the dropdown when filter is set to true\n private filterInputElement?: HTMLSixInputElement;\n\n @Element() host!: HTMLSixDropdownElement;\n\n /** Indicates whether the dropdown is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\n * inside the viewport.\n */\n @Prop() placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'bottom-start';\n\n /** Determines whether the dropdown should hide when a menu item is selected. */\n @Prop() closeOnSelect = true;\n\n /** The distance in pixels from which to offset the panel away from its trigger. */\n @Prop() distance = 0;\n\n /** The distance in pixels from which to offset the panel along its trigger. */\n @Prop() skidding = 0;\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 /** The dropdown will close when the user interacts outside of this element (e.g. clicking). */\n @Prop() containingElement?: HTMLElement;\n\n /**\n * Set to true to allow auto filtering for entries in the dropdown.\n * With this flag the dropdown will automatically filter itsel.\n * If you need to coordinate the shown elements yourself,\n * e.g. because you need to call an endpoint use asyncFilter instead\n */\n @Prop() filter = false;\n\n /**\n * Set to true to allow async filtering.\n * When you enter something in the search field the component will only emit an event but not filter any elements itself.\n * You can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself\n */\n @Prop() asyncFilter = false;\n\n /** The filter's placeholder text. */\n @Prop() filterPlaceholder = 'Filter...';\n\n /** By default the search field will be focused when opening a dropdown with filtering enabled. */\n @Prop() autofocusFilter = true;\n\n get hasFilterEnabled() {\n return this.filter || this.asyncFilter;\n }\n\n /** The debounce for the filter callbacks. */\n @Prop() filterDebounce = DEFAULT_DEBOUNCE_FAST;\n\n /** The panel can be opend/closed by pressing the spacebar or the enter key. In some cases you might want to avoid this */\n @Prop() disableHideOnEnterAndSpace = false;\n\n /** Set the options to be shown in the dropdown (alternative to setting the elements via html)*/\n @Prop() options: SixMenuItemData[] = [];\n\n /** Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around)\n * are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot. */\n @Prop() virtualScroll = false;\n\n get container() {\n return this.containingElement || this.host;\n }\n\n /** Emitted when the dropdown opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-dropdown-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dropdown opens and all transitions are complete. */\n @Event({ eventName: 'six-dropdown-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the dropdown closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-dropdown-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dropdown closes and all transitions are complete. */\n @Event({ eventName: 'six-dropdown-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the auto filter is triggered */\n @Event({ eventName: 'six-dropdown-auto-filter-fired' }) sixAutoFilter!: EventEmitter<SixDropdownAutoFilterPayload>;\n\n /** Emitted when the async filter is triggered */\n @Event({ eventName: 'six-async-filter-fired' }) sixAsyncFilterFired!: EventEmitter<SixDropdownAsyncFilterPayload>;\n\n /** Emitted when the user scrolls inside dropdown panel.*/\n @Event({ eventName: 'six-dropdown-scroll' }) sixScroll!: EventEmitter<SixDropdownScrollPayload>;\n\n private eventListeners = new EventListeners();\n\n // internal representation of options, so we don't have to make options mutable\n @State() filteredOptions: SixMenuItemData[] = [];\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n this.updateAccessibleTrigger();\n }\n\n @Watch('distance')\n @Watch('hoist')\n @Watch('placement')\n @Watch('skidding')\n handlePopoverOptionsChange() {\n if (this.popover == null) return;\n\n this.popover.setOptions({\n strategy: this.hoist ? 'fixed' : 'absolute',\n placement: this.placement,\n distance: this.distance,\n skidding: this.skidding,\n });\n }\n\n @Watch('options')\n handleOptionsChange() {\n if (Array.isArray(this.options)) {\n this.filteredOptions = [...this.options];\n }\n }\n\n connectedCallback() {\n if (this.virtualScroll && this.options === null) {\n console.error('Options must be defined when using virtual scrolling');\n }\n\n if (Array.isArray(this.options)) {\n this.filteredOptions = [...this.options];\n }\n\n if (this.hasBeenInitialized && this.popover == null) {\n // there was a weird bug when using six-dropdown inside an ag-grid filter. When closing the ag-grid filter\n // disconnectedCallback() is executed. However, since componentDidLoad() will not be rerendered the popover had\n // no longer a connected transitionEnd callback to the dropdown. To fix this, we have this sanity check here,\n // to re-initialize the popover in case the component has already been initialized but the popover is undefined.\n this.initializePopover();\n }\n }\n\n componentDidLoad() {\n this.hasBeenInitialized = true;\n this.initializePopover();\n\n // Show on init if open\n if (this.open) {\n void this.show();\n }\n\n if (this.filter) {\n this.setupFiltering(this.handleFilterInputChange);\n } else if (this.asyncFilter) {\n this.setupFiltering(() => this.sixAsyncFilterFired.emit({ filterValue: this.filterInputElement?.value ?? '' }));\n }\n }\n\n private initializePopover() {\n if (this.trigger == null || this.positioner == null) return;\n const onAfterHide = () => {\n if (this.filter && this.filterInputElement != null) {\n this.filterInputElement.value = '';\n\n if (this.filteredOptions.length > 0) {\n this.filteredOptions = [...this.options];\n } else {\n const menuItems = this.getMenuItems();\n menuItems.forEach((item) => (item.style.display = 'unset'));\n }\n }\n\n this.sixAfterHide.emit();\n };\n\n const onAfterShow = async () => {\n if (this.hasFilterEnabled && this.autofocusFilter) {\n // if dropdown filter is enabled we should autofocus the search field\n await this.filterInputElement?.setFocus();\n }\n\n this.sixAfterShow.emit();\n };\n\n const onTransitionEnd = () => {\n if (!this.open && this.panel != null) {\n this.panel.scrollTop = 0;\n }\n };\n\n this.popover = new Popover(this.trigger, this.positioner, {\n strategy: this.hoist ? 'fixed' : 'absolute',\n placement: this.placement,\n distance: this.distance,\n skidding: this.skidding,\n transitionElement: this.panel,\n onAfterHide,\n onAfterShow,\n onTransitionEnd,\n });\n }\n\n private setupFiltering(callback: () => void) {\n if (this.filterInputElement != null) {\n this.eventListeners.add(this.filterInputElement, 'six-input-input', debounce(callback, this.filterDebounce));\n }\n }\n\n private getMenuItems = (): HTMLSixMenuItemElement[] => {\n if (this.filteredOptions.length > 0) {\n return this.filteredOptions.map((option) => <six-menu-item value={option.value}>{option.label}</six-menu-item>);\n }\n if (this.panel == null) return [];\n\n const [panel] = getSlotChildren<HTMLSixMenuElement>(this.panel);\n\n // the menu-items can be in a slot e.g. in six-select or direct children of the panel\n return getSlotChildren(panel) || Array.from(panel.querySelectorAll('six-menu-item'));\n };\n\n private handleFilterInputChange = () => {\n if (this.filterInputElement == null) return;\n\n const lowerCaseFilterTerm = this.filterInputElement.value?.toLowerCase()?.trim() || '';\n\n if (this.filteredOptions.length > 0) {\n this.handleFilteringForAttributeItems(lowerCaseFilterTerm);\n } else {\n this.handleFilteringForSlotItems(lowerCaseFilterTerm);\n }\n\n this.sixAutoFilter.emit({ filterValue: lowerCaseFilterTerm });\n };\n\n private handleFilteringForAttributeItems(lowerCaseFilterTerm: string) {\n if (lowerCaseFilterTerm === '' && Array.isArray(this.options)) {\n this.filteredOptions = [...this.options];\n return;\n }\n\n this.filteredOptions = this.options.filter(\n (option) =>\n (option.label && String(option.label)?.toLowerCase()?.includes(lowerCaseFilterTerm)) ||\n (option.value && String(option.value)?.toLowerCase()?.includes(lowerCaseFilterTerm))\n );\n }\n\n private handleFilteringForSlotItems(lowerCaseFilterTerm: string) {\n const menuItems = this.getMenuItems();\n menuItems.forEach(async (menuItem) => {\n // hide all elements which don't contain the entered substring\n const elementContainsFilterTerm =\n menuItem?.value?.toLowerCase()?.includes(lowerCaseFilterTerm) ||\n (await menuItem?.getTextLabel())?.toLowerCase()?.includes(lowerCaseFilterTerm);\n\n menuItem.style.display = elementContainsFilterTerm ? 'unset' : 'none';\n });\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n\n void this.hide();\n this.popover?.destroy();\n this.popover = undefined;\n }\n\n /** Shows the dropdown panel */\n @Method()\n async show() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (this.isVisible || this.popover == null || this.panel == null) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.eventListeners.add(this.panel, 'six-menu-item-selected', this.handlePanelSelect);\n this.eventListeners.add(document, 'keydown', this.handleDocumentKeyDown);\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n\n this.isVisible = true;\n this.open = true;\n this.popover.show();\n }\n\n /** Hides the dropdown panel */\n @Method()\n async hide() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (!this.isVisible || this.panel == null || this.popover == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.eventListeners.remove(this.panel, 'six-menu-item-selected', this.handlePanelSelect);\n this.eventListeners.remove(document, 'keydown', this.handleDocumentKeyDown);\n this.eventListeners.remove(document, 'mousedown', this.handleDocumentMouseDown);\n\n this.isVisible = false;\n this.open = false;\n this.popover.hide();\n }\n\n private focusOnTrigger() {\n if (this.trigger == null) return;\n const [trigger] = getSlotChildren<HTMLSixButtonElement>(this.trigger);\n if (trigger != null) {\n if (typeof trigger.setFocus === 'function') {\n trigger.setFocus();\n } else if (typeof trigger.focus === 'function') {\n trigger.focus();\n }\n }\n }\n\n private getMenu(): HTMLSixMenuElement | undefined {\n if (this.panel == null) return;\n return getSlotChildren<HTMLSixMenuElement>(this.panel).filter(isSixMenu).at(0);\n }\n\n /**\n * Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\n * is activated.\n */\n @Method()\n async reposition() {\n if (!this.open || this.popover == null) {\n return;\n }\n this.popover.reposition();\n }\n\n private handleDocumentKeyDown = (event: Event) => {\n const keyboardEvent = event as KeyboardEvent;\n // Close when escape is pressed\n if (keyboardEvent.key === 'Escape') {\n void this.hide();\n this.focusOnTrigger();\n return;\n }\n\n if (this.filterInputElement === this.host.shadowRoot?.activeElement) {\n if (keyboardEvent.key === 'ArrowDown') {\n const item = this.getMenuItems().find((item) => item.style.display !== 'none');\n if (item != null) {\n item.setFocus();\n }\n }\n }\n\n // Handle tabbing\n if (keyboardEvent.key === 'Tab') {\n // Tabbing within an open menu should close the dropdown and refocus the trigger\n if (this.open && document.activeElement != null && isSixMenuItem(document.activeElement)) {\n keyboardEvent.preventDefault();\n void this.hide();\n this.focusOnTrigger();\n return;\n }\n\n // Tabbing outside the containing element closes the panel\n //\n // If the dropdown is used within a shadow DOM, we need to obtain the activeElement within that shadowRoot,\n // otherwise `document.activeElement` will only return the name of the parent shadow DOM element.\n setTimeout(() => {\n const activeElement =\n this.container.getRootNode() instanceof ShadowRoot\n ? document.activeElement?.shadowRoot?.activeElement\n : document.activeElement;\n\n if (activeElement?.closest(this.container.tagName.toLowerCase()) !== this.container) {\n void this.hide();\n return;\n }\n });\n }\n };\n\n private handleDocumentMouseDown = (event: Event) => {\n // Close when clicking outside the containing element\n const path = event.composedPath() as EventTarget[];\n if (!path.includes(this.container)) {\n void this.hide();\n return;\n }\n };\n\n private handlePanelSelect = (event: Event) => {\n const target = event.target as HTMLElement;\n\n // Hide the dropdown when a menu item is selected\n if (this.closeOnSelect && isSixMenu(target)) {\n void this.hide();\n this.focusOnTrigger();\n }\n };\n\n private handleTriggerClick = () => {\n this.open ? this.hide() : this.show();\n };\n\n private handleTriggerKeyDown = (event: KeyboardEvent) => {\n // Close when escape or tab is pressed\n if (event.key === 'Escape') {\n this.focusOnTrigger();\n void this.hide();\n return;\n }\n\n // When spacebar/enter is pressed, show the panel but don't focus on the menu. This let's the user press the same\n // key again to hide the menu in case they don't want to make a selection.\n if (!this.disableHideOnEnterAndSpace && [' ', 'Enter'].includes(event.key)) {\n event.preventDefault();\n this.open ? void this.hide() : void this.show();\n return;\n }\n\n const menu = this.getMenu();\n\n // When up/down is pressed, we make the assumption that the user is familiar with the menu and plans to make a\n // selection. Rather than toggle the panel, we focus on the menu (if one exists) and activate the first item for\n // faster navigation.\n if (['ArrowDown', 'ArrowUp'].includes(event.key)) {\n event.preventDefault();\n\n // Show the menu if it's not already open\n if (!this.open) {\n void this.show();\n }\n\n if (menu == null) {\n return;\n }\n const menuItems = [...menu.querySelectorAll('six-menu-item')];\n const firstMenuItem = menuItems.at(0);\n const lastMenuItem = menuItems.at(menuItems.length - 1);\n\n // Focus on a menu item\n if (event.key === 'ArrowDown' && firstMenuItem != null) {\n firstMenuItem.setFocus();\n return;\n }\n\n if (event.key === 'ArrowUp' && lastMenuItem != null) {\n lastMenuItem.setFocus();\n return;\n }\n }\n\n // Other keys bring focus to the menu and initiate type-to-select behavior\n const ignoredKeys = ['Tab', 'Shift', 'Meta', 'Ctrl', 'Alt'];\n if (this.open && menu != null && !ignoredKeys.includes(event.key)) {\n void menu.typeToSelect(event.key);\n return;\n }\n };\n\n private handleTriggerKeyUp = (event: KeyboardEvent) => {\n // Prevent space from triggering a click event in Firefox\n if (event.key === ' ') {\n event.preventDefault();\n }\n };\n\n private handleTriggerSlotChange = () => {\n this.updateAccessibleTrigger();\n };\n\n private handleDropdownScroll = () => {\n if (this.panel == null) return;\n\n this.sixScroll.emit({\n scrollHeight: this.panel.scrollHeight,\n scrollTop: this.panel.scrollTop,\n scrollbarHeight: this.panel.offsetHeight * (this.panel.offsetHeight / this.panel.scrollHeight),\n scrollRatio: this.panel.scrollTop / (this.panel.scrollHeight - this.panel.clientHeight),\n });\n };\n\n //\n // Slotted triggers can be arbitrary content, but we need to link them to the dropdown panel with `aria-haspopup` and\n // `aria-expanded`. These must be applied to the \"accessible trigger\" (the tabbable portion of the trigger element\n // that gets slotted in) so screen readers will understand them. The accessible trigger could be the slotted element,\n // a child of the slotted element, or an element in the slotted element's shadow root.\n //\n // For example, the accessible trigger of an <sl-button> is a <button> located inside its shadow root.\n //\n // To determine this, we assume the first tabbable element in the trigger slot is the \"accessible trigger.\"\n //\n private updateAccessibleTrigger() {\n if (this.trigger == null) return;\n\n const accessibleTrigger = getSlotChildren(this.trigger).map(getNearestTabbableElement).at(0);\n if (accessibleTrigger != null) {\n accessibleTrigger.setAttribute('aria-haspopup', 'true');\n accessibleTrigger.setAttribute('aria-expanded', this.open ? 'true' : 'false');\n }\n }\n\n render() {\n return (\n <div\n part=\"base\"\n id={this.componentId}\n class={{\n dropdown: true,\n 'dropdown--open': this.open,\n }}\n >\n <span\n part=\"trigger\"\n class=\"dropdown__trigger\"\n ref={(el) => (this.trigger = el)}\n onClick={this.handleTriggerClick}\n onKeyDown={this.handleTriggerKeyDown}\n onKeyUp={this.handleTriggerKeyUp}\n >\n <slot name=\"trigger\" onSlotchange={this.handleTriggerSlotChange} />\n </span>\n\n {/* Position the panel with a wrapper since the popover makes use of `translate`. This let's us add transitions\n on the panel without interfering with the position. */}\n <div\n ref={(el) => (this.positioner = el)}\n class={{\n dropdown__positioner: true,\n dropdown__positioner__filtered: (this.filter || this.asyncFilter) && !this.hoist,\n }}\n >\n {this.hasFilterEnabled && (\n <six-input\n class={{\n 'filter-hidden': !this.open,\n }}\n aria-hidden={this.open ? 'false' : 'true'}\n ref={(el) => (this.filterInputElement = el)}\n placeholder={this.filterPlaceholder}\n />\n )}\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"dropdown__panel\"\n role=\"menu\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-labelledby={this.componentId}\n onScroll={this.handleDropdownScroll}\n >\n <slot />\n {this.filteredOptions.length > 0 && (\n <six-menu part=\"menu\" items={this.filteredOptions} virtualScroll={this.virtualScroll}></six-menu>\n )}\n </div>\n </div>\n </div>\n );\n }\n}\n","@import 'src/global/component';\n\n:host {\n display: block;\n}\n\n.menu {\n padding: 0 0;\n border: none;\n box-shadow: var(--six-elevation-2dp);\n\n &:focus {\n outline: none;\n }\n\n &--noshadow {\n box-shadow: none;\n }\n\n &__wrapper {\n &--scrollable {\n overflow-y: auto;\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State } from '@stencil/core';\nimport { getTextContent } from '../../utils/slot';\nimport { StyleDeclaration } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { debounce } from '../../utils/execution-control';\n\nexport interface SixMenuItemData {\n label: string;\n value: string;\n}\n\nexport interface SixMenuItemSelectedPayload {\n name: string;\n item: HTMLSixMenuItemElement;\n}\n\nconst isFocusedMenuItem = (menuItem: HTMLSixMenuItemElement) =>\n menuItem?.shadowRoot?.querySelector('.menu-item')?.classList?.contains('menu-item--focused');\n\nconst isSIXMenuItemElement = (el?: Element): el is HTMLSixMenuItemElement =>\n el?.tagName.toLowerCase() === 'six-menu-item';\n\nconst mapToMenuItem = ({ value, label }: SixMenuItemData) => <six-menu-item value={value}>{label}</six-menu-item>;\n\nconst DEFAULT_NUMBER_OF_ITEMS_SHOWN_FOR_VIRTUAL_SCROLLING = 5;\n\nconst DEFAULT_SIX_MENU_ITEM_HEIGHT = 64;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The menu's content, including menu items, menu dividers, and menu labels.\n *\n * @part base - The component's base wrapper.\n */\n@Component({\n tag: 'six-menu',\n styleUrl: 'six-menu.scss',\n shadow: true,\n})\nexport class SixMenu {\n private readonly eventListeners = new EventListeners();\n\n private menu?: HTMLElement;\n private menuWrapper?: HTMLElement;\n private typeToSelectString = '';\n private typeToSelectTimeout?: number;\n\n @Element() host!: HTMLSixMenuElement;\n\n /** Emitted when a menu item is selected. */\n @Event({ eventName: 'six-menu-item-selected' }) sixMenuItemSelected!: EventEmitter<SixMenuItemSelectedPayload>;\n\n /** Set to true to remove the box-shadow */\n @Prop() removeBoxShadow = false;\n\n /** Set the options to be shown in the dropdown */\n @Prop() items: SixMenuItemData[] | null = null;\n\n /** Defines how many items should be shown. If the number of items is larger than this property a scrollbar will be shown */\n @Prop() itemsShown?: number;\n\n /** Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around)\n * are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot. */\n @Prop() virtualScroll = false;\n\n /**\n * Used for virtual scrolling\n * Define how many items should be rendered in the DOM when using virtual scrolling\n */\n @Prop() itemSize = 10;\n\n /**\n * Used for virtual scrolling\n * Define the debounce for listening on scrolling changes in milliseconds.\n * The lower the number the more sensitive the component reacts to scrolling changes.\n */\n @Prop() scrollingDebounce = 15;\n\n /**\n * Used to calculate which items should be rendered in the DOM\n */\n @State()\n private scrollingIndex = 0;\n\n // set a default item height, this variable will be updated with the real value after the first render.\n // However, it's necessary to have a default value because we can only fetch the proper height after the first render\n @State()\n sixMenuItemHeight = DEFAULT_SIX_MENU_ITEM_HEIGHT;\n\n connectedCallback() {\n this.handleClick = this.handleClick.bind(this);\n this.handleKeyDown = this.handleKeyDown.bind(this);\n }\n\n componentWillLoad() {\n if (this.items === null) {\n return;\n }\n }\n\n private handleScrolling = () => {\n if (this.menuWrapper == null) return;\n // for performance improvements we only update the DOM if the scrollRatio change \"enough\"\n this.scrollingIndex = Math.floor(this.menuWrapper.scrollTop / this.sixMenuItemHeight);\n };\n\n componentDidLoad() {\n this.setupForVirtualScrollingAfterRendering();\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n\n /**\n * Initiates type-to-select logic, which automatically selects an option based on what the user is currently typing.\n * The key passed will be appended to the internal query and the selection will be updated. After a brief period, the\n * internal query is cleared automatically. This method is intended to be used with the keydown event. Useful for\n * enabling type-to-select when the menu doesn't have focus.\n */\n @Method()\n async typeToSelect(key: string) {\n clearTimeout(this.typeToSelectTimeout);\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this.typeToSelectTimeout = setTimeout(() => (this.typeToSelectString = ''), 750);\n this.typeToSelectString += key.toLowerCase();\n const items = this.getItems();\n for (const item of items) {\n const slot = item.shadowRoot?.querySelector('slot:not([name])') as HTMLSlotElement;\n const label = getTextContent(slot).toLowerCase().trim();\n if (label.substring(0, this.typeToSelectString.length) === this.typeToSelectString) {\n item.setFocus();\n break;\n }\n }\n }\n\n private getItemsShown(): number {\n const defaultItemsShown = this.virtualScroll ? DEFAULT_NUMBER_OF_ITEMS_SHOWN_FOR_VIRTUAL_SCROLLING : 0;\n return this.itemsShown ?? defaultItemsShown;\n }\n\n private setupForVirtualScrollingAfterRendering() {\n if (!this.virtualScroll || this.menuWrapper == null) return;\n\n this.eventListeners.add(this.menuWrapper, 'scroll', debounce(this.handleScrolling, this.scrollingDebounce));\n\n // set menu height to proper height once the item is rendered.\n const menuItemHeight = this.menu?.querySelector('six-menu-item')?.clientHeight;\n if (menuItemHeight != null && menuItemHeight > 0) {\n this.sixMenuItemHeight = menuItemHeight;\n }\n }\n\n private getItems(): HTMLSixMenuItemElement[] {\n if (this.menu == null) return [];\n\n if (this.items != null) {\n return this.items.map(mapToMenuItem);\n }\n\n const slot = this.menu.querySelector('slot');\n if (slot == null) return [];\n return [...slot.assignedElements({ flatten: true })].filter(\n (el): el is HTMLSixMenuItemElement => isSIXMenuItemElement(el) && !el.disabled\n );\n }\n\n private getActiveItemIndex() {\n const items = this.getItems();\n const selectedItem = this.getActiveItem();\n if (selectedItem != null) {\n const itemIndex = items.indexOf(selectedItem);\n if (itemIndex > -1) {\n return itemIndex;\n }\n }\n const sixMenuItems = this.extractItemsFromDOM();\n return sixMenuItems.findIndex(isFocusedMenuItem);\n }\n\n private getActiveItem(): HTMLSixMenuItemElement | undefined {\n const activeElement = this.getItems().find((i) => i === document.activeElement);\n if (activeElement != null) {\n return activeElement;\n }\n return this.extractItemsFromDOM()?.find(isFocusedMenuItem);\n }\n\n private extractItemsFromDOM() {\n return Array.from(this.host.shadowRoot?.querySelectorAll('six-menu-item') ?? []);\n }\n\n private setActiveItem(item: HTMLSixMenuItemElement) {\n item?.setFocus();\n }\n\n private handleClick(event: MouseEvent) {\n const target = event.target as HTMLElement;\n const clickedItem = target.closest('six-menu-item');\n if (clickedItem && !clickedItem.disabled) {\n this.sixMenuItemSelected.emit({ name: clickedItem.value, item: clickedItem });\n }\n }\n\n private handleKeyDown(event: KeyboardEvent) {\n // Make a selection when pressing enter\n if (event.key === 'Enter') {\n const activeItem = this.getActiveItem();\n event.preventDefault();\n\n if (activeItem != null) {\n this.sixMenuItemSelected.emit({ name: activeItem.value, item: activeItem });\n }\n }\n\n // Prevent scrolling when space is pressed\n if (event.key === ' ') {\n event.preventDefault();\n }\n\n // Move the selection when pressing down or up\n if (['ArrowDown', 'ArrowUp', 'Home', 'End'].includes(event.key)) {\n const items = this.items === null ? this.getItems() : this.extractItemsFromDOM();\n\n let indexOfActiveItem = this.getActiveItemIndex();\n\n if (items.length > 0) {\n event.preventDefault();\n\n if (event.key === 'ArrowDown') {\n indexOfActiveItem++;\n } else if (event.key === 'ArrowUp') {\n indexOfActiveItem--;\n } else if (event.key === 'Home') {\n indexOfActiveItem = 0;\n } else if (event.key === 'End') {\n indexOfActiveItem = items.length - 1;\n }\n\n if (indexOfActiveItem < 0) indexOfActiveItem = 0;\n if (indexOfActiveItem > items.length - 1) indexOfActiveItem = items.length - 1;\n\n this.setActiveItem(items[indexOfActiveItem]);\n\n return;\n }\n }\n\n void this.typeToSelect(event.key);\n }\n\n private getMenuWrapperStyle() {\n const styles: Partial<StyleDeclaration> = {};\n if (this.getItemsShown() > 0) {\n // calculate the proper height to show the correct number of items\n styles.height = `${(this.getItemsShown() ?? 0) * this.sixMenuItemHeight}px`;\n }\n return {\n ...styles,\n };\n }\n\n private getMenuContainerStyle() {\n const styles: Partial<StyleDeclaration> = {};\n\n if (this.virtualScroll) {\n // calculate height of content are if all items would be rendered so the scrollbar has the proper size\n styles.transform = `translateY(${this.sixMenuItemHeight * this.scrollingIndex}px)`;\n }\n\n return {\n ...styles,\n };\n }\n\n private getScrollbarGhostStyle() {\n const styles: Partial<StyleDeclaration> = {};\n\n if (this.virtualScroll && this.items !== null) {\n styles.height = `${this.items.length * this.sixMenuItemHeight - this.itemSize * this.sixMenuItemHeight}px`;\n }\n\n return {\n ...styles,\n };\n }\n\n private renderItems() {\n if (this.items === undefined || this.items === null) {\n return;\n }\n\n if (!this.virtualScroll) {\n return this.items.map(mapToMenuItem);\n }\n\n return this.items\n .slice(this.scrollingIndex, Math.min(this.items.length, this.itemSize + this.scrollingIndex))\n .map(mapToMenuItem);\n }\n\n render() {\n return (\n <div\n ref={(el) => (this.menuWrapper = el)}\n style={this.getMenuWrapperStyle()}\n part=\"wrapper\"\n class={{\n menu: true,\n 'menu--noshadow': this.removeBoxShadow,\n 'menu__wrapper--scrollable': this.getItemsShown() > 0,\n }}\n >\n <div\n ref={(el) => (this.menu = el)}\n part=\"base\"\n role=\"menu\"\n onClick={this.handleClick}\n onKeyDown={this.handleKeyDown}\n tabIndex={0}\n style={this.getMenuContainerStyle()}\n >\n <slot />\n {this.renderItems()}\n </div>\n {this.virtualScroll && <div style={this.getScr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AM/I,OAAQR,KAAKkN,SAAWlN,KAAKqK,iBAC5EjL,IAAI0K,E,CAGT,MAAAtB,GACE,OACE9H,EAAA,OACEkI,IAAMhK,GAAQoB,KAAKoK,YAAcxL,EACjC0D,MAAOtC,KAAK0M,sBACZjE,KAAK,UACLC,MAAO,CACL9E,KAAM,KACN,iBAAkB5D,KAAKsN,gBACvB,4BAA6BtN,KAAKoL,gBAAkB,IAGtD1K,EAAA,OACEkI,IAAMhK,GAAQoB,KAAK4D,KAAOhF,EAC1B6J,KAAK,OACLY,KAAK,OACLR,QAAS7I,KAAKyK,YACd3B,UAAW9I,KAAK2K,cAChB9L,SAAU,EACVyD,MAAOtC,KAAK+M,yBAEZrM,EAAA,aACCV,KAAKmN,eAEPnN,KAAKgG,eAAiBtF,EAAA,OAAK4B,MAAOtC,KAAKiN,2B"}
@@ -0,0 +1,2 @@
1
+ import{r,h as s}from"./p-6153045b.js";const t=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{--track-color:var(--six-progress-track-color);--indicator-color:var(--six-progress-indicator-color);display:inline-flex}.progress-ring{display:inline-flex;align-items:center;justify-content:center;position:relative}.progress-ring__image{transform:rotate(-90deg);transform-origin:50% 50%}.progress-ring__track{stroke:var(--track-color)}.progress-ring__indicator{stroke:var(--indicator-color);transition:0.35s stroke-dashoffset, 0.35s stroke}.progress-ring__label{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;user-select:none;font-family:var(--six-font-family)}";const i=class{constructor(s){r(this,s);this.size=128;this.strokeWidth=4;this.percentage=0}handlePercentageChange(){this.updateProgress()}componentDidLoad(){this.updateProgress()}updateProgress(){var r;if(((r=this.indicator)===null||r===void 0?void 0:r.r)==null)return;const s=this.indicator.r.baseVal.value;const t=s*2*Math.PI;const i=t-this.percentage/100*t;this.indicator.style.strokeDasharray=`${t} ${t}`;this.indicator.style.strokeDashoffset=`${i}`}render(){return s("div",{part:"base",class:"progress-ring"},s("svg",{class:"progress-ring__image",width:this.size,height:this.size},s("circle",{class:"progress-ring__track","stroke-width":this.strokeWidth,"stroke-linecap":"round",fill:"transparent",r:this.size/2-this.strokeWidth*2,cx:this.size/2,cy:this.size/2}),s("circle",{ref:r=>this.indicator=r,class:"progress-ring__indicator","stroke-width":this.strokeWidth,"stroke-linecap":"round",fill:"transparent",r:this.size/2-this.strokeWidth*2,cx:this.size/2,cy:this.size/2})),s("span",{part:"label",class:"progress-ring__label"},s("slot",null)))}static get watchers(){return{percentage:["handlePercentageChange"]}}};i.style=t;export{i as six_progress_ring};
2
+ //# sourceMappingURL=p-ee950ce2.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixProgressRingCss","SixProgressRing","handlePercentageChange","this","updateProgress","componentDidLoad","_a","indicator","r","radius","baseVal","value","circumference","Math","PI","offset","percentage","style","strokeDasharray","strokeDashoffset","render","h","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,gvB,MCmBdC,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,OAAKC,KAAK,OAAOC,MAAM,iBACrBF,EAAA,OAAKE,MAAM,uBAAuBC,MAAOrB,KAAKsB,KAAMC,OAAQvB,KAAKsB,MAC/DJ,EAAA,UACEE,MAAM,uBAAsB,eACdpB,KAAKwB,YAAW,iBACf,QACfC,KAAK,cACLpB,EAAGL,KAAKsB,KAAO,EAAItB,KAAKwB,YAAc,EACtCE,GAAI1B,KAAKsB,KAAO,EAChBK,GAAI3B,KAAKsB,KAAO,IAGlBJ,EAAA,UACEU,IAAMC,GAAQ7B,KAAKI,UAAYyB,EAC/BT,MAAM,2BAA0B,eAClBpB,KAAKwB,YAAW,iBACf,QACfC,KAAK,cACLpB,EAAGL,KAAKsB,KAAO,EAAItB,KAAKwB,YAAc,EACtCE,GAAI1B,KAAKsB,KAAO,EAChBK,GAAI3B,KAAKsB,KAAO,KAIpBJ,EAAA,QAAMC,KAAK,QAAQC,MAAM,wBACvBF,EAAA,c"}
@@ -0,0 +1,2 @@
1
+ import{r as i,c as r,h as a}from"./p-6153045b.js";import{a as s}from"./p-15559d38.js";import{a as t}from"./p-698bb2c8.js";const o=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:inline-block;overflow:hidden}.tag{display:flex;align-items:center;border:solid 1px;font-family:var(--six-font-family);line-height:1;white-space:nowrap;user-select:none;cursor:default}.tag__content{text-overflow:ellipsis;overflow:hidden}.tag__clear::part(base){color:inherit;padding:0}.tag--info{color:var(--six-color-white);background-color:var(--six-color-web-rock-900);border-color:var(--six-color-web-rock-900)}.tag--success{color:var(--six-color-web-rock-900);border-color:var(--six-color-success-500);background-color:var(--six-color-success-500)}.tag--primary{color:var(--six-color-web-rock-900);border-color:var(--six-color-clay-50);background-color:var(--six-color-clay-50)}.tag--warning{color:var(--six-color-web-rock-900);border-color:var(--six-color-warning-700);background-color:var(--six-color-warning-700)}.tag--danger{color:var(--six-color-white);border-color:var(--six-color-danger-800);background-color:var(--six-color-danger-800)}.tag--action{color:var(--six-color-white);border-color:var(--six-color-action-500);background-color:var(--six-color-action-500)}.tag--small{font-size:var(--six-button-font-size-small);height:calc(var(--six-height-small) * 0.8);line-height:calc(var(--six-height-small) - var(--six-border-width) * 2);border-radius:var(--six-input-border-radius-small);padding:0 var(--six-spacing-x-small)}.tag--small .tag__clear{margin-left:var(--six-spacing-xx-small);margin-right:calc(-1 * var(--six-spacing-xxx-small))}.tag--medium{font-size:var(--six-button-font-size-medium);height:calc(var(--six-height-medium) * 0.8);line-height:calc(var(--six-height-medium) - var(--six-border-width) * 2);border-radius:var(--six-input-border-radius-medium);padding:0 var(--six-spacing-small)}.tag--medium .tag__clear{margin-left:var(--six-spacing-xx-small);margin-right:calc(-1 * var(--six-spacing-xx-small))}.tag--large{font-size:var(--six-button-font-size-large);height:calc(var(--six-height-large) * 0.8);line-height:calc(var(--six-height-large) - var(--six-border-width) * 2);border-radius:var(--six-input-border-radius-large);padding:0 var(--six-spacing-medium)}.tag--large .tag__clear{margin-left:var(--six-spacing-xx-small);margin-right:calc(-1 * var(--six-spacing-x-small))}.tag--pill{border-radius:var(--six-border-radius-pill)}";const l=class{constructor(a){i(this,a);this.sixClear=r(this,"six-tag-clear",7);this.resizeObserver=new ResizeObserver(t((()=>this.updateTooltip())));this.updateTooltip=()=>{if(this.tooltipElement!=null&&this.contentSlotElement!=null&&this.contentElement!=null){this.tooltipElement.content=s(this.contentSlotElement);this.tooltipElement.disabled=!(this.contentElement.offsetWidth<this.contentElement.scrollWidth)}};this.handleClearClick=()=>{this.sixClear.emit()};this.type="primary";this.size="medium";this.pill=false;this.clearable=false}connectedCallback(){if(this.contentElement!=null){this.resizeObserver.observe(this.contentElement)}}componentDidLoad(){if(this.contentElement!=null){this.resizeObserver.observe(this.contentElement)}}disconnectedCallback(){this.resizeObserver.disconnect()}render(){return a("span",{part:"base",class:{tag:true,"tag--primary":this.type==="primary","tag--success":this.type==="success","tag--info":this.type==="info","tag--warning":this.type==="warning","tag--danger":this.type==="danger","tag--action":this.type==="action","tag--text":this.type==="text","tag--small":this.size==="small","tag--medium":this.size==="medium","tag--large":this.size==="large","tag--pill":this.pill,"tag--clear":this.clearable}},a("six-tooltip",{ref:i=>this.tooltipElement=i},a("span",{ref:i=>this.contentElement=i,part:"content",class:"tag__content"},a("slot",{ref:i=>this.contentSlotElement=i}))),this.clearable&&a("six-icon-button",{exportparts:"base:clear-button",size:"xSmall",name:"clear",class:"tag__clear",onClick:this.handleClearClick}))}};l.style=o;export{l as six_tag};
2
+ //# sourceMappingURL=p-f1dc3a88.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixTagCss","SixTag","this","resizeObserver","ResizeObserver","debounce","updateTooltip","tooltipElement","contentSlotElement","contentElement","content","getTextContent","disabled","offsetWidth","scrollWidth","handleClearClick","sixClear","emit","connectedCallback","observe","componentDidLoad","disconnectedCallback","disconnect","render","h","part","class","tag","type","size","pill","clearable","ref","el","exportparts","name","onClick"],"sources":["src/components/six-tag/six-tag.scss?tag=six-tag&encapsulation=shadow","src/components/six-tag/six-tag.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: inline-block;\n overflow: hidden;\n}\n\n.tag {\n display: flex;\n align-items: center;\n border: solid 1px;\n font-family: var(--six-font-family);\n line-height: 1;\n white-space: nowrap;\n user-select: none;\n cursor: default;\n}\n\n.tag__content {\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.tag__clear::part(base) {\n color: inherit;\n padding: 0;\n}\n\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n// Type modifiers\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\n.tag--info {\n color: var(--six-color-white);\n background-color: var(--six-color-web-rock-900);\n border-color: var(--six-color-web-rock-900);\n}\n\n.tag--success {\n color: var(--six-color-web-rock-900);\n border-color: var(--six-color-success-500);\n background-color: var(--six-color-success-500);\n}\n\n.tag--primary {\n color: var(--six-color-web-rock-900);\n border-color: var(--six-color-clay-50);\n background-color: var(--six-color-clay-50);\n}\n\n.tag--warning {\n color: var(--six-color-web-rock-900);\n border-color: var(--six-color-warning-700);\n background-color: var(--six-color-warning-700);\n}\n\n.tag--danger {\n color: var(--six-color-white);\n border-color: var(--six-color-danger-800);\n background-color: var(--six-color-danger-800);\n}\n\n.tag--action {\n color: var(--six-color-white);\n border-color: var(--six-color-action-500);\n background-color: var(--six-color-action-500);\n}\n\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n// Size modifiers\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\n.tag--small {\n font-size: var(--six-button-font-size-small);\n height: calc(var(--six-height-small) * 0.8);\n line-height: calc(var(--six-height-small) - var(--six-border-width) * 2);\n border-radius: var(--six-input-border-radius-small);\n padding: 0 var(--six-spacing-x-small);\n\n .tag__clear {\n margin-left: var(--six-spacing-xx-small);\n margin-right: calc(-1 * var(--six-spacing-xxx-small));\n }\n}\n\n.tag--medium {\n font-size: var(--six-button-font-size-medium);\n height: calc(var(--six-height-medium) * 0.8);\n line-height: calc(var(--six-height-medium) - var(--six-border-width) * 2);\n border-radius: var(--six-input-border-radius-medium);\n padding: 0 var(--six-spacing-small);\n\n .tag__clear {\n margin-left: var(--six-spacing-xx-small);\n margin-right: calc(-1 * var(--six-spacing-xx-small));\n }\n}\n\n.tag--large {\n font-size: var(--six-button-font-size-large);\n height: calc(var(--six-height-large) * 0.8);\n line-height: calc(var(--six-height-large) - var(--six-border-width) * 2);\n border-radius: var(--six-input-border-radius-large);\n padding: 0 var(--six-spacing-medium);\n\n .tag__clear {\n margin-left: var(--six-spacing-xx-small);\n margin-right: calc(-1 * var(--six-spacing-x-small));\n }\n}\n\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n// Pill modifier\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\n.tag--pill {\n border-radius: var(--six-border-radius-pill);\n}\n","import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { getTextContent } from '../../utils/slot';\nimport { debounce } from '../../utils/execution-control';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The tag's content.\n *\n * @part base - The component's base wrapper.\n * @part content - The tag content.\n * @part clear-button - The clear button.\n */\n\n@Component({\n tag: 'six-tag',\n styleUrl: 'six-tag.scss',\n shadow: true,\n})\nexport class SixTag {\n /** The tag's type. */\n @Prop({ reflect: true }) type: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'action' | 'text' = 'primary';\n\n /** The tag's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Set to true to draw a pill-style tag with rounded edges. */\n @Prop({ reflect: true }) pill = false;\n\n /** Set to true to make the tag clearable. */\n @Prop({ reflect: true }) clearable = false;\n\n /** Emitted when the clear button is activated. */\n @Event({ eventName: 'six-tag-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n private contentSlotElement: HTMLSlotElement | undefined;\n private tooltipElement: HTMLSixTooltipElement | undefined;\n private contentElement: HTMLElement | undefined;\n private resizeObserver = new ResizeObserver(debounce(() => this.updateTooltip()));\n\n connectedCallback() {\n if (this.contentElement != null) {\n this.resizeObserver.observe(this.contentElement);\n }\n }\n\n componentDidLoad() {\n if (this.contentElement != null) {\n this.resizeObserver.observe(this.contentElement);\n }\n }\n\n disconnectedCallback() {\n this.resizeObserver.disconnect();\n }\n\n private updateTooltip = () => {\n if (this.tooltipElement != null && this.contentSlotElement != null && this.contentElement != null) {\n this.tooltipElement.content = getTextContent(this.contentSlotElement);\n this.tooltipElement.disabled = !(this.contentElement.offsetWidth < this.contentElement.scrollWidth);\n }\n };\n\n private handleClearClick = () => {\n this.sixClear.emit();\n };\n\n render() {\n return (\n <span\n part=\"base\"\n class={{\n tag: true,\n\n // Types\n 'tag--primary': this.type === 'primary',\n 'tag--success': this.type === 'success',\n 'tag--info': this.type === 'info',\n 'tag--warning': this.type === 'warning',\n 'tag--danger': this.type === 'danger',\n 'tag--action': this.type === 'action',\n 'tag--text': this.type === 'text',\n\n // Sizes\n 'tag--small': this.size === 'small',\n 'tag--medium': this.size === 'medium',\n 'tag--large': this.size === 'large',\n\n // Modifers\n 'tag--pill': this.pill,\n 'tag--clear': this.clearable,\n }}\n >\n <six-tooltip ref={(el) => (this.tooltipElement = el)}>\n <span ref={(el) => (this.contentElement = el)} part=\"content\" class=\"tag__content\">\n <slot ref={(el) => (this.contentSlotElement = el as HTMLSlotElement)} />\n </span>\n </six-tooltip>\n\n {this.clearable && (\n <six-icon-button\n exportparts=\"base:clear-button\"\n size=\"xSmall\"\n name=\"clear\"\n class=\"tag__clear\"\n onClick={this.handleClearClick}\n />\n )}\n </span>\n );\n }\n}\n"],"mappings":"0HAAA,MAAMA,EAAY,00E,MCuBLC,EAAM,M,iEAmBTC,KAAAC,eAAiB,IAAIC,eAAeC,GAAS,IAAMH,KAAKI,mBAkBxDJ,KAAAI,cAAgB,KACtB,GAAIJ,KAAKK,gBAAkB,MAAQL,KAAKM,oBAAsB,MAAQN,KAAKO,gBAAkB,KAAM,CACjGP,KAAKK,eAAeG,QAAUC,EAAeT,KAAKM,oBAClDN,KAAKK,eAAeK,WAAaV,KAAKO,eAAeI,YAAcX,KAAKO,eAAeK,Y,GAInFZ,KAAAa,iBAAmB,KACzBb,KAAKc,SAASC,MAAM,E,UA3CqF,U,UAG7C,S,UAG9B,M,eAGK,K,CAUrC,iBAAAC,GACE,GAAIhB,KAAKO,gBAAkB,KAAM,CAC/BP,KAAKC,eAAegB,QAAQjB,KAAKO,e,EAIrC,gBAAAW,GACE,GAAIlB,KAAKO,gBAAkB,KAAM,CAC/BP,KAAKC,eAAegB,QAAQjB,KAAKO,e,EAIrC,oBAAAY,GACEnB,KAAKC,eAAemB,Y,CActB,MAAAC,GACE,OACEC,EAAA,QACEC,KAAK,OACLC,MAAO,CACLC,IAAK,KAGL,eAAgBzB,KAAK0B,OAAS,UAC9B,eAAgB1B,KAAK0B,OAAS,UAC9B,YAAa1B,KAAK0B,OAAS,OAC3B,eAAgB1B,KAAK0B,OAAS,UAC9B,cAAe1B,KAAK0B,OAAS,SAC7B,cAAe1B,KAAK0B,OAAS,SAC7B,YAAa1B,KAAK0B,OAAS,OAG3B,aAAc1B,KAAK2B,OAAS,QAC5B,cAAe3B,KAAK2B,OAAS,SAC7B,aAAc3B,KAAK2B,OAAS,QAG5B,YAAa3B,KAAK4B,KAClB,aAAc5B,KAAK6B,YAGrBP,EAAA,eAAaQ,IAAMC,GAAQ/B,KAAKK,eAAiB0B,GAC/CT,EAAA,QAAMQ,IAAMC,GAAQ/B,KAAKO,eAAiBwB,EAAKR,KAAK,UAAUC,MAAM,gBAClEF,EAAA,QAAMQ,IAAMC,GAAQ/B,KAAKM,mBAAqByB,MAIjD/B,KAAK6B,WACJP,EAAA,mBACEU,YAAY,oBACZL,KAAK,SACLM,KAAK,QACLT,MAAM,aACNU,QAASlC,KAAKa,mB"}
@@ -1,4 +1,4 @@
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-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-web-rock-400)}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),
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-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
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
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
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),
@@ -7,4 +7,4 @@
7
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
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
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-width:1px;--six-focus-shadow:0 0 0 var(--six-focus-ring-width);--six-button-font-size-small:var(--six-font-size-small);--six-button-font-size-medium:var(--six-font-size-medium);--six-button-font-size-large:var(--six-font-size-large);--six-button-focus-shadow:var(--six-focus-shadow) var(--six-color-web-rock-400);--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:2px;--six-tab-border-color-active:var(--six-color-web-rock-900);--six-tab-border-width-active:3px}[hidden]{display:none !important}.six-scroll-lock{overflow:hidden !important}
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,2 +1,2 @@
1
- import{p as e,b as t}from"./p-ac4f4d45.js";export{s as setNonce}from"./p-ac4f4d45.js";const i=()=>{const t=import.meta.url;const i={};if(t!==""){i.resourcesUrl=new URL(".",t).href}return e(i)};i().then((e=>t(JSON.parse('[["p-835c3ff7",[[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],"label":[1],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"required":[4],"clearable":[4],"invalid":[1028],"line":[4],"errorOnBlur":[4,"error-on-blur"],"filter":[4],"asyncFilter":[4,"async-filter"],"autocomplete":[4],"inputDebounce":[2,"input-debounce"],"options":[16],"virtualScroll":[4,"virtual-scroll"],"defaultValue":[1,"default-value"],"hasFocus":[32],"hasHelpTextSlot":[32],"hasErrorTextSlot":[32],"hasLabelSlot":[32],"isOpen":[32],"displayLabel":[32],"displayTags":[32],"reportValidity":[64],"checkValidity":[64],"setCustomValidity":[64],"reset":[64]}]]],["p-559c87f0",[[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]}]]],["p-f18ba86f",[[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":[516],"defaultDate":[1,"default-date"],"placeholder":[1],"value":[1040],"containingElement":[16],"dateFormat":[1,"date-format"],"debounce":[2],"errorOnBlur":[4,"error-on-blur"],"errorText":[1,"error-text"],"label":[1],"name":[513],"clearable":[4],"iconPosition":[1,"icon-position"],"hoist":[4],"pointerDate":[32],"selectionMode":[32],"isDropDownContentUp":[32],"reportValidity":[64],"checkValidity":[64],"setCustomValidity":[64],"reset":[64],"select":[64]},[[9,"resize","resizeHandler"],[9,"scroll","scrollHandler"]]]]],["p-33f7e22b",[[1,"six-root",{"breakpoint":[2],"padded":[4],"stage":[1],"version":[1],"collapse":[32]}]]],["p-308261c4",[[1,"six-tile",{"label":[1],"iconName":[8,"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-9d1d222f",[[1,"six-alert",{"open":[1540],"closable":[516],"type":[513],"duration":[2],"isVisible":[32],"show":[64],"hide":[64],"toast":[64]}]]],["p-054e12cc",[[1,"six-dialog",{"open":[1540],"label":[1],"noHeader":[4,"no-header"],"hasFooter":[32],"isVisible":[32],"show":[64],"hide":[64]}]]],["p-53a13db5",[[1,"six-drawer",{"open":[1540],"label":[1],"placement":[1],"contained":[4],"noHeader":[4,"no-header"],"hasFooter":[32],"isVisible":[32],"show":[64],"hide":[64]}]]],["p-6403fd87",[[1,"six-search-field",{"placeholder":[1],"debounce":[514],"disabled":[516],"value":[513],"clearable":[4]}]]],["p-4ae91795",[[1,"six-sidebar-item-group",{"name":[1],"icon":[1],"value":[513],"open":[516],"summaryIcon":[1,"summary-icon"],"hasItems":[32],"summaryIconHasContent":[32]}]]],["p-c30f9e0b",[[1,"six-tab",{"panel":[513],"active":[516],"closable":[4],"disabled":[516],"setFocus":[64],"removeFocus":[64]}]]],["p-18e5f772",[[1,"six-tab-group",{"placement":[1],"noScrollControls":[4,"no-scroll-controls"],"hasScrollControls":[32],"show":[64]}]]],["p-9328e5bc",[[1,"six-avatar",{"image":[1],"alt":[1],"initials":[1],"shape":[1],"hasError":[32]}]]],["p-b0e5658f",[[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-fed07a1f",[[1,"six-error-page",{"errorCode":[2,"error-code"],"language":[1],"customTitle":[1,"custom-title"],"customDescription":[16],"customIcon":[1,"custom-icon"]}]]],["p-19b50b5a",[[1,"six-file-list-item",{"identifier":[513],"name":[513],"date":[513],"size":[514],"nodownload":[516],"nodelete":[516]}]]],["p-ff0257bf",[[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-af793d04",[[1,"six-badge",{"type":[1],"pill":[4],"pulse":[4]}]]],["p-097cced4",[[1,"six-card"]]],["p-90dc6af4",[[1,"six-checkbox",{"name":[1],"value":[1],"disabled":[4],"required":[4],"label":[1],"errorText":[1,"error-text"],"checked":[1540],"indeterminate":[1540],"invalid":[1540],"errorOnBlur":[4,"error-on-blur"],"hasFocus":[32],"hasLabelSlot":[32],"hasErrorTextSlot":[32],"setFocus":[64],"removeFocus":[64],"reportValidity":[64],"checkValidity":[64],"setCustomValidity":[64],"reset":[64]}]]],["p-820c23f0",[[1,"six-file-list"]]],["p-97323ad7",[[1,"six-footer"]]],["p-c640c2d8",[[1,"six-form",{"novalidate":[4],"getFormData":[64],"getFormControls":[64],"submit":[64],"checkValidity":[64],"reset":[64]}]]],["p-8a970a40",[[1,"six-group-label",{"size":[513],"label":[1],"helpText":[1,"help-text"],"disabled":[516],"required":[516],"hasHelpTextSlot":[32],"hasLabelSlot":[32]}]]],["p-c0cb6436",[[1,"six-language-switcher",{"selected":[1537],"languages":[16]}]]],["p-df655bc9",[[1,"six-layout-grid",{"columns":[8]}]]],["p-73597d13",[[1,"six-main-container",{"padded":[4]}]]],["p-21859bca",[[1,"six-menu-divider"]]],["p-6d75f216",[[1,"six-menu-label"]]],["p-baa03951",[[1,"six-progress-bar",{"percentage":[2],"indeterminate":[4]}]]],["p-c94d0b07",[[1,"six-progress-ring",{"size":[2],"strokeWidth":[2,"stroke-width"],"percentage":[2]}]]],["p-edc96efc",[[1,"six-radio",{"name":[1],"value":[1],"disabled":[4],"checked":[1540],"invalid":[1540],"hasFocus":[32],"setFocus":[64],"removeFocus":[64],"reportValidity":[64],"checkValidity":[64],"setCustomValidity":[64],"reset":[64]}]]],["p-7e0cc4ae",[[1,"six-range",{"name":[1],"value":[1026],"required":[516],"label":[1],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"disabled":[4],"invalid":[1540],"min":[2],"max":[2],"step":[2],"tooltip":[1],"tooltipFormatter":[16],"errorOnBlur":[4,"error-on-blur"],"hasFocus":[32],"hasHelpTextSlot":[32],"hasLabelSlot":[32],"hasErrorTextSlot":[32],"hasTooltip":[32],"setFocus":[64],"removeFocus":[64],"setCustomValidity":[64],"reset":[64]}]]],["p-f9d345e0",[[1,"six-sidebar",{"position":[1],"open":[1540],"width":[1],"toggled":[4],"isVisible":[32],"toggle":[64],"show":[64],"hide":[64],"selectItemByIndex":[64],"selectItemByName":[64]}]]],["p-e19a6c95",[[1,"six-sidebar-item",{"value":[513],"selected":[516],"disabled":[516]}]]],["p-90824648",[[1,"six-switch",{"name":[1],"value":[1],"disabled":[4],"required":[4],"checked":[1540],"invalid":[1540],"hasFocus":[32],"setFocus":[64],"removeFocus":[64],"reportValidity":[64],"checkValidity":[64],"setCustomValidity":[64],"reset":[64]}]]],["p-a1d4f6cf",[[1,"six-tab-panel",{"name":[1],"active":[516]}]]],["p-0d79b0c6",[[1,"six-textarea",{"size":[513],"name":[513],"value":[1537],"label":[1],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"placeholder":[1],"rows":[2],"resize":[1],"disabled":[516],"readonly":[516],"minlength":[514],"maxlength":[514],"required":[516],"invalid":[1540],"autocapitalize":[1],"autocorrect":[1],"autocomplete":[1],"autofocus":[4],"spellcheck":[4],"inputmode":[1],"errorOnBlur":[4,"error-on-blur"],"hasFocus":[32],"hasHelpTextSlot":[32],"hasErrorTextSlot":[32],"hasLabelSlot":[32],"setFocus":[64],"removeFocus":[64],"select":[64],"setSelectionRange":[64],"setRangeText":[64],"reportValidity":[64],"checkValidity":[64],"setCustomValidity":[64],"reset":[64]}]]],["p-dd3c76f1",[[1,"six-icon",{"size":[513],"filled":[4]}]]],["p-c53a63f9",[[1,"six-timepicker",{"format":[1],"separator":[1],"value":[1025],"open":[1540],"inline":[516],"readonly":[4],"disabled":[4],"placement":[1],"size":[1],"required":[516],"placeholder":[1],"errorOnBlur":[4,"error-on-blur"],"errorText":[1,"error-text"],"label":[1],"name":[513],"clearable":[4],"iconPosition":[1,"icon-position"],"hoist":[4],"timeout":[2],"interval":[2],"defaultTime":[1,"default-time"],"debounce":[2],"isPopupContentUp":[32],"isDropDownContentUp":[32],"internalValue":[32],"reportValidity":[64],"checkValidity":[64],"setCustomValidity":[64],"reset":[64]},[[9,"resize","resizeHandler"],[9,"scroll","scrollHandler"]]]]],["p-6433c0da",[[1,"six-tag",{"type":[513],"size":[513],"pill":[516],"clearable":[516]}]]],["p-2e48c8d2",[[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]}]]],["p-19364560",[[1,"six-picto",{"size":[1]}]]],["p-63703ba3",[[1,"six-spinner",{"six":[4]}]]],["p-d5633a29",[[1,"six-tooltip",{"content":[1],"placement":[1],"disabled":[4],"distance":[2],"open":[1540],"skidding":[2],"trigger":[1],"show":[64],"hide":[64]}]]],["p-f4938771",[[1,"six-stage-indicator",{"stage":[1]}],[4,"set-attributes",{"value":[16]}]]],["p-f70e2403",[[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]}]]],["p-c349d1d4",[[1,"six-menu-item",{"checked":[516],"value":[513],"disabled":[516],"hasFocus":[32],"setFocus":[64],"removeFocus":[64],"getTextLabel":[64]}]]],["p-e9e930d2",[[1,"six-input",{"type":[513],"size":[513],"name":[513],"value":[1537],"pill":[516],"label":[1],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"placeholder":[1],"disabled":[516],"readonly":[516],"minlength":[514],"maxlength":[514],"min":[514],"max":[514],"step":[514],"pattern":[513],"required":[516],"autocapitalize":[1],"autocorrect":[1],"autocomplete":[1],"autofocus":[4],"spellcheck":[4],"invalid":[1540],"clearable":[4],"togglePassword":[4,"toggle-password"],"inputmode":[1],"line":[4],"errorOnBlur":[4,"error-on-blur"],"hasFocus":[32],"hasHelpTextSlot":[32],"hasErrorTextSlot":[32],"hasLabelSlot":[32],"isPasswordVisible":[32],"setFocus":[64],"removeFocus":[64],"select":[64],"setSelectionRange":[64],"setRangeText":[64],"reportValidity":[64],"checkValidity":[64],"setCustomValidity":[64],"getValidity":[64],"isValid":[64],"getValidationMessage":[64],"reset":[64]}]]],["p-b997e43c",[[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"],"_options":[32],"show":[64],"hide":[64],"reposition":[64]}],[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-611e1978",[[1,"six-icon-button",{"name":[513],"size":[513],"label":[513],"disabled":[516],"html":[513]}]]]]'),e)));
1
+ import{p as e,b as t}from"./p-6153045b.js";export{s as setNonce}from"./p-6153045b.js";const a=()=>{const t=import.meta.url;const a={};if(t!==""){a.resourcesUrl=new URL(".",t).href}return e(a)};a().then((e=>t(JSON.parse('[["p-b57afbe4",[[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]}]]],["p-ae601a0f",[[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]}]]],["p-14c1ec31",[[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"]]]]],["p-a55c7258",[[1,"six-root",{"breakpoint":[2],"padded":[4],"stage":[1],"version":[1],"collapse":[32]}]]],["p-37557787",[[1,"six-search-field",{"placeholder":[1],"debounce":[514],"disabled":[516],"value":[513],"clearable":[4]}]]],["p-c03ebf7d",[[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-411ed539",[[1,"six-alert",{"open":[1540],"closable":[516],"type":[513],"duration":[2],"isVisible":[32],"show":[64],"hide":[64],"toast":[64]}]]],["p-d1bda563",[[1,"six-dialog",{"open":[1540],"label":[1],"noHeader":[4,"no-header"],"hasFooter":[32],"isVisible":[32],"show":[64],"hide":[64]}]]],["p-a2035543",[[1,"six-drawer",{"open":[1540],"label":[1],"placement":[1],"contained":[4],"noHeader":[4,"no-header"],"hasFooter":[32],"isVisible":[32],"show":[64],"hide":[64]}]]],["p-5ba3a0fe",[[1,"six-sidebar-item-group",{"name":[1],"icon":[1],"value":[513],"open":[516],"summaryIcon":[1,"summary-icon"],"hasItems":[32],"summaryIconHasContent":[32]}]]],["p-22c9b8c3",[[1,"six-tab",{"panel":[513],"active":[516],"closable":[4],"disabled":[516],"setFocus":[64],"removeFocus":[64]}]]],["p-66fe54b3",[[1,"six-tab-group",{"placement":[1],"noScrollControls":[4,"no-scroll-controls"],"hasScrollControls":[32],"show":[64]}]]],["p-878226a0",[[1,"six-avatar",{"image":[1],"alt":[1],"initials":[1],"shape":[1],"hasError":[32]}]]],["p-658d9f79",[[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-ab91c2a9",[[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]}]]],["p-9b354f5d",[[1,"six-error-page",{"errorCode":[2,"error-code"],"language":[1],"customTitle":[1,"custom-title"],"customDescription":[16],"customIcon":[1,"custom-icon"]}]]],["p-5af44076",[[1,"six-file-list-item",{"identifier":[513],"name":[513],"date":[513],"size":[514],"nodownload":[516],"nodelete":[516]}]]],["p-cdaed936",[[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-db936ad7",[[1,"six-group-label",{"size":[513],"label":[1],"helpText":[1,"help-text"],"disabled":[516],"required":[4],"hasHelpTextSlot":[32],"hasLabelSlot":[32]}]]],["p-4435ff73",[[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]}]]],["p-db34a6cc",[[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]}]]],["p-a457fee8",[[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]}]]],["p-a0f290d0",[[1,"six-badge",{"type":[1],"pill":[4],"pulse":[4]}]]],["p-613283a7",[[1,"six-card"]]],["p-dfed33c5",[[1,"six-file-list"]]],["p-1d5ee1a0",[[1,"six-footer"]]],["p-b351f889",[[1,"six-language-switcher",{"selected":[1537],"languages":[16]}]]],["p-91b51800",[[1,"six-layout-grid",{"columns":[1026]}]]],["p-ac099e6b",[[1,"six-main-container",{"padded":[4]}]]],["p-346f9557",[[1,"six-menu-divider"]]],["p-a6a9ee96",[[1,"six-menu-label"]]],["p-3cc5addb",[[1,"six-progress-bar",{"percentage":[2],"indeterminate":[4]}]]],["p-ee950ce2",[[1,"six-progress-ring",{"size":[2],"strokeWidth":[2,"stroke-width"],"percentage":[2]}]]],["p-264d4ea8",[[1,"six-radio",{"name":[1],"value":[513],"disabled":[4],"checked":[1540],"invalid":[516],"hasFocus":[32],"setFocus":[64],"removeFocus":[64]}]]],["p-5800663b",[[1,"six-sidebar",{"position":[1],"open":[1540],"width":[1],"toggled":[4],"isVisible":[32],"toggle":[64],"show":[64],"hide":[64],"selectItemByIndex":[64],"selectItemByName":[64]}]]],["p-6197fe2f",[[1,"six-sidebar-item",{"value":[513],"selected":[516],"disabled":[516]}]]],["p-cd67da3d",[[1,"six-tab-panel",{"name":[1],"active":[516]}]]],["p-25bb1752",[[1,"six-error"]]],["p-7afafb9d",[[1,"six-icon",{"size":[513],"filled":[4]}]]],["p-b6f47c9d",[[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"]]]]],["p-f1dc3a88",[[1,"six-tag",{"type":[513],"size":[513],"pill":[516],"clearable":[516]}]]],["p-cba69e9d",[[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]}]]],["p-13b43e04",[[1,"six-picto",{"size":[1]}]]],["p-7e3ad38a",[[1,"six-spinner",{"six":[4]}]]],["p-724875b0",[[1,"six-stage-indicator",{"stage":[1]}],[4,"set-attributes",{"value":[16]}]]],["p-95fbdd0b",[[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]}]]],["p-dc4f41d8",[[1,"six-tooltip",{"content":[1],"placement":[1],"disabled":[4],"distance":[2],"open":[1540],"skidding":[2],"trigger":[1],"show":[64],"hide":[64]}]]],["p-9c1be3fb",[[1,"six-menu-item",{"checked":[516],"value":[513],"disabled":[516],"hasFocus":[32],"setFocus":[64],"removeFocus":[64],"getTextLabel":[64]}]]],["p-538f3c50",[[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]}]]],["p-e775dcb4",[[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]}],[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-3f1a5ecb",[[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 v3.2.1 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\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 // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\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":"sFAmBA,MAAMA,EAAe,KAkCjB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAiB3E,GAAuBF,IAAe,GAAI,CACtCE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IAGrD,CAcI,OAAOC,EAAeJ,EAAK,ECrF/BH,IAAeQ,MAAKC,GAEXC,EAAcC,KAAAC,MAAA,wmWAAuCH"}
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.0.5 | 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 if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\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,KAyBjB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,EC/B/BH,IAAeQ,MAAKC,GAEXC,EAAcC,KAAAC,MAAA,87UAAuCH"}
package/loader/index.d.ts CHANGED
@@ -8,7 +8,7 @@ export interface CustomElementsDefineOptions {
8
8
  ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
9
9
  rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10
10
  }
11
- export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
11
+ export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
12
12
  export declare function applyPolyfills(): Promise<void>;
13
13
 
14
14
  /**
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@six-group/ui-library",
3
- "version": "0.0.0-insider.ebd822a",
4
- "description": "Stencil Component Library following the SIX style guide",
3
+ "version": "0.0.0-insider.f24090c",
4
+ "description": "Web components in alignment with the SIX corporate styleguide",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "./dist/index.js",
8
8
  "es2015": "dist/esm/index.mjs",
9
9
  "es2017": "dist/esm/index.mjs",
10
- "types": "./dist/types/components.d.ts",
10
+ "types": "./dist/types/types.d.ts",
11
11
  "collection": "dist/collection/collection-manifest.json",
12
12
  "collection:main": "dist/collection/index.js",
13
13
  "unpkg": "dist/ui-library/ui-library.esm.js",
@@ -17,7 +17,7 @@
17
17
  ],
18
18
  "scripts": {
19
19
  "build": "npm run clean && stencil build --docs",
20
- "build:watch": "stencil build --watch",
20
+ "watch": "npm run clean && stencil build --watch",
21
21
  "start": "stencil build --dev --watch --serve",
22
22
  "test": "stencil test --spec",
23
23
  "test:e2e": "stencil test --e2e",
@@ -35,19 +35,19 @@
35
35
  "codeclean": "npm run lint:fix && npm run prettier:fix"
36
36
  },
37
37
  "dependencies": {
38
- "@stencil/core": "3.2.1",
38
+ "@stencil/core": "^4.0.3",
39
39
  "@types/resize-observer-browser": "^0.1.5"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@fontsource/noto-sans": "^4.5.1",
43
43
  "@popperjs/core": "^2.5.3",
44
44
  "@stencil-community/eslint-plugin": "^0.5.0",
45
- "@stencil/angular-output-target": "^0.6.0",
46
- "@stencil/react-output-target": "^0.5.0",
47
- "@stencil/sass": "^3.0.1",
48
- "@stencil/vue-output-target": "^0.8.2",
45
+ "@stencil/angular-output-target": "^0.7.1",
46
+ "@stencil/react-output-target": "^0.5.3",
47
+ "@stencil/sass": "^3.0.5",
48
+ "@stencil/vue-output-target": "^0.8.6",
49
49
  "@types/jest": "27.0.3",
50
- "@typescript-eslint/eslint-plugin": "^5.59.6",
50
+ "@typescript-eslint/eslint-plugin": "^5.59.7",
51
51
  "@typescript-eslint/parser": "^5.59.6",
52
52
  "eslint": "^8.41.0",
53
53
  "eslint-config-prettier": "^8.8.0",
@@ -1,45 +0,0 @@
1
- 'use strict';
2
-
3
- const equals = (a) => (b) => Object.keys(a).every((key) => a[key] === b[key]);
4
- class EventListeners {
5
- constructor() {
6
- this.eventListeners = [];
7
- this.add = (el, name, listener, identifier = null) => {
8
- this.eventListeners.push({ el, name, listener, identifier });
9
- el.addEventListener(name, listener);
10
- };
11
- this.remove = (el, name, listener) => {
12
- const sameItem = equals({ el, name, listener });
13
- this.eventListeners = this.getFilteredEventListeners(sameItem);
14
- };
15
- this.removeByIdentifier = (identifier) => {
16
- const sameItem = (el) => el.identifier === identifier;
17
- const foundListener = this.eventListeners.find(sameItem) !== undefined;
18
- if (!foundListener) {
19
- return;
20
- }
21
- this.eventListeners = this.getFilteredEventListeners(sameItem);
22
- };
23
- this.removeAll = () => {
24
- while (this.eventListeners.length) {
25
- const { el, name, listener } = this.eventListeners.pop();
26
- el.removeEventListener(name, listener);
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
- }
42
-
43
- exports.EventListeners = EventListeners;
44
-
45
- //# sourceMappingURL=event-listeners-74715e62.js.map
@@ -1 +0,0 @@
1
- {"file":"event-listeners-74715e62.js","mappings":";;AAOA,MAAM,MAAM,GACV,CAAmB,CAAI,KACvB,CAAmB,CAAI,KACrB,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CA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CAAC,MAAM,CAAC,CAAC,IAAI;MACrC,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE;QAClB,IAAI,CAAC,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtD,OAAO,KAAK,CAAC;OACd;WAAM;QACL,OAAO,IAAI,CAAC;OACb;KACF,CAAC,CAAC;GACJ;;;;;","names":[],"sources":["./src/utils/event-listeners.ts"],"sourcesContent":["interface EventListener {\n el: DocumentAndElementEventHandlers;\n name: string;\n listener: EventListenerOrEventListenerObject;\n identifier?: string | null;\n}\n\nconst equals =\n <A extends Object>(a: A) =>\n <B extends Object>(b: B) =>\n Object.keys(a).every((key) => a[key] === b[key]);\n\nexport class EventListeners {\n eventListeners: EventListener[] = [];\n\n add = <T extends DocumentAndElementEventHandlers>(\n el: T,\n name: string,\n listener: EventListenerOrEventListenerObject,\n identifier = null\n ) => {\n this.eventListeners.push({ el, name, listener, identifier });\n el.addEventListener(name, listener);\n };\n\n remove = <T extends DocumentAndElementEventHandlers>(\n el: T,\n name: string,\n listener: EventListenerOrEventListenerObject\n ) => {\n const sameItem = equals({ el, name, listener });\n this.eventListeners = this.getFilteredEventListeners(sameItem);\n };\n\n removeByIdentifier = (identifier: string) => {\n const sameItem = (el) => el.identifier === identifier;\n const foundListener = this.eventListeners.find(sameItem) !== undefined;\n\n if (!foundListener) {\n return;\n }\n\n this.eventListeners = this.getFilteredEventListeners(sameItem);\n };\n\n private getFilteredEventListeners(sameItem: (el) => 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) {\n const { el, name, listener } = this.eventListeners.pop();\n el.removeEventListener(name, listener);\n }\n };\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"execution-control-46f388e0.js","mappings":";;MAEa,8BAA8B,GAAG,GAAG;MAEpC,qBAAqB,GAAG,IAAI;AAGzC;;;;;;;;;;;;;MAaa,QAAQ,GAAG,CAAC,QAAkB,EAAE,OAAO,GAAG,qBAAqB;EAC1E,IAAI,KAAqB,CAAC;EAC1B,OAAO,CAAI,GAAG,IAAS;IACrB,YAAY,CAAC,KAAK,CAAC,CAAC;IACpB,KAAK,GAAG,UAAU,CAAC,MAAM,QAAQ,CAAC,KAAK,CAACA,SAAI,EAAE,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC;GAC/D,CAAC;AACJ,EAAE;AAEF;;;;;;MAMa,aAAa,GAAG,CAAC,KAAmB,EAAE,OAAe;EAChE,MAAM,QAAQ,GAAI,KAAa,CAAC,SAAS,IAAI,KAAK,CAAC;EACnD,MAAM,IAAI,GAAG,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAyB,CAAC;EACrF,OAAO;IACL,SAAS,EAAE,KAAK;IAChB,IAAI,EAAE,IAAI;GACK,CAAC;AACpB;;;;;;;","names":["this"],"sources":["./src/utils/execution-control.ts"],"sourcesContent":["import { EventEmitter } from '@stencil/core';\n\nexport const DEFAULT_DEBOUNCE_INSANELY_FAST = 35;\nexport const DEFAULT_DEBOUNCE_VERY_FAST = 100;\nexport const DEFAULT_DEBOUNCE_FAST = 300;\nexport const DEFAULT_DEBOUNCE_SLOW = 600;\n\n/**\n * Debounce function to implement a timeframe to wait for no new changes before executing a callback\n\n * example usages:\n * debounce(() => saveInput());\n * debounce(() => saveInput(), 750);\n * this.searchInput.addEventListener('six-input-input', debounce((event) => this.searchInputChange(event)));\n *\n * regarding default timeout check https://lawsofux.com/doherty-threshold/\n *\n * @param callback\n * @param timeout\n */\nexport const debounce = (callback: Function, timeout = DEFAULT_DEBOUNCE_FAST) => {\n let timer: NodeJS.Timeout;\n return <T>(...args: T[]) => {\n clearTimeout(timer);\n timer = setTimeout(() => callback.apply(this, args), timeout);\n };\n};\n\n/**\n * Debounce an event\n *\n * @param event\n * @param timeout\n */\nexport const debounceEvent = (event: EventEmitter, timeout: number): EventEmitter => {\n const original = (event as any)._original || event;\n const emit = debounce(original.emit.bind(original), timeout) as (any) => CustomEvent;\n return {\n _original: event,\n emit: emit,\n } as EventEmitter;\n};\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"focus-visible-0b352c74.js","mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,SAAS,GAAG,IAAI,OAAO,EAAE,CAAC;SAEhB,OAAO,CAAC,EAAe;EACrC,IAAI,CAAC,EAAE;IAAE,OAAO;EAEhB,MAAM,IAAI,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;EAC7G,MAAM,EAAE,GAAG,CAAC,KAAoB;IAC9B,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;MAC5B,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;KACnC;GACF,CAAC;EACF,MAAM,KAAK,GAAG,MAAM,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;EACzD,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;EAEjC,EAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;EACnC,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;EACjC,EAAE,CAAC,gBAAgB,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;EACxC,EAAE,CAAC,gBAAgB,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAC1C,CAAC;SAEe,SAAS,CAAC,EAAe;EACvC,IAAI,CAAC,EAAE;IAAE,OAAO;EAEhB,MAAM,QAAQ,GAAG,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;EAEnC,IAAI,CAAC,QAAQ,EAAE;IACb,OAAO;GACR;EAED,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC;EAE/B,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;EACrC,EAAE,CAAC,mBAAmB,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;EACtC,EAAE,CAAC,mBAAmB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;EACpC,EAAE,CAAC,mBAAmB,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;EAC3C,EAAE,CAAC,mBAAmB,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAC7C,CAAC;MAEY,YAAY,GAAG;EAC1B,OAAO;EACP,SAAS;;;;;","names":[],"sources":["./src/utils/focus-visible.ts"],"sourcesContent":["//\n// Simulates :focus-visible behavior on an element by watching for certain keyboard and mouse heuristics and toggling a\n// `focus-visible` class. Works at the component level so no global polyfill is necessary.\n//\n// This will eventually be removed pending better :focus-visible support: https://caniuse.com/#search=focus-visible\n//\nconst listeners = new WeakMap();\n\nexport function observe(el: HTMLElement) {\n if (!el) return;\n\n const keys = ['Tab', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Home', 'End', 'PageDown', 'PageUp'];\n const is = (event: KeyboardEvent) => {\n if (keys.includes(event.key)) {\n el.classList.add('focus-visible');\n }\n };\n const isNot = () => el.classList.remove('focus-visible');\n listeners.set(el, { is, isNot });\n\n el.addEventListener('keydown', is);\n el.addEventListener('keyup', is);\n el.addEventListener('mousedown', isNot);\n el.addEventListener('mousedown', isNot);\n}\n\nexport function unobserve(el: HTMLElement) {\n if (!el) return;\n\n const listener = listeners.get(el);\n\n if (!listener) {\n return;\n }\n\n const { is, isNot } = listener;\n\n el.classList.remove('focus-visible');\n el.removeEventListener('keydown', is);\n el.removeEventListener('keyup', is);\n el.removeEventListener('mousedown', isNot);\n el.removeEventListener('mousedown', isNot);\n}\n\nexport const focusVisible = {\n observe,\n unobserve,\n};\n"],"version":3}
@@ -1,34 +0,0 @@
1
- 'use strict';
2
-
3
- const index = require('./index-2f6daa5b.js');
4
-
5
- const FormControl = (props, children) => {
6
- const hasLabel = props.label ? true : props.hasLabelSlot;
7
- const hasHelpText = props.helpText ? true : props.hasHelpTextSlot;
8
- /** ErrorTextAttribute has precedence if non empty value is provided or if slot is not set */
9
- const useErrorTextAttribute = (props.errorText && props.errorText !== '') || !props.hasErrorTextSlot;
10
- return (index.h("div", { part: "form-control", class: {
11
- 'form-control': true,
12
- 'form-control--small': props.size === 'small',
13
- 'form-control--medium': props.size === 'medium',
14
- 'form-control--large': props.size === 'large',
15
- 'form-control--has-label': hasLabel,
16
- 'form-control--has-help-text': hasHelpText,
17
- 'form-control--has-error-text': props.displayError,
18
- 'form-control--disabled': props.disabled,
19
- 'form-control--invalid': props.displayError && !props.disabled,
20
- } },
21
- index.h("label", { part: "label", id: props.labelId, class: {
22
- 'form-control__label': true,
23
- 'form-control__label__required': props.required,
24
- }, htmlFor: props.inputId, "aria-hidden": hasLabel ? 'false' : 'true', onClick: props.onLabelClick },
25
- index.h("slot", { name: "label" }, props.label)),
26
- index.h("div", { class: "form-control__input" }, children),
27
- index.h("div", { part: "error-text", id: props.errorTextId, class: "form-control__error-text", "aria-hidden": props.displayError ? 'false' : 'true' }, useErrorTextAttribute ? props.errorText : index.h("slot", { name: "error-text" })),
28
- index.h("div", { part: "help-text", id: props.helpTextId, class: "form-control__help-text", "aria-hidden": hasHelpText ? 'false' : 'true' },
29
- index.h("slot", { name: "help-text" }, props.helpText))));
30
- };
31
-
32
- exports.FormControl = FormControl;
33
-
34
- //# sourceMappingURL=form-control-2c17c573.js.map
@@ -1 +0,0 @@
1
- {"file":"form-control-2c17c573.js","mappings":";;;;MAiDM,WAAW,GAAG,CAAC,KAAuB,EAAE,QAAQ;EACpD,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK,G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AEjD,qBAAqB,GAAG,KAAK,CAAC,SAAS,GAAGA,kBAAM,IAAI,EAAC,YAAY,GAAG,CACjE;IAENA,iBACE,IAAI,EAAC,WAAW,EAChB,EAAE,EAAE,KAAK,CAAC,UAAU,EACpB,KAAK,EAAC,yBAAyB,iBAClB,WAAW,GAAG,OAAO,GAAG,MAAM;MAE3CA,kBAAM,IAAI,EAAC,WAAW,IAAE,KAAK,CAAC,QAAQ,CAAQ,CAC1C,CACF,EACN;AACJ;;;;","names":["h"],"sources":["./src/functional-components/form-control/form-control.tsx"],"sourcesContent":["import { h } from '@stencil/core';\n\nexport interface FormControlProps {\n /** The input id, used to map the input to the label */\n inputId: string;\n\n /** The size of the form control */\n size: 'small' | 'medium' | 'large';\n\n /** The label id, used to map the label to the input */\n labelId?: string;\n\n /** The label text (if the label slot isn't used) */\n label?: string;\n\n /** Whether or not a label slot has been provided. */\n hasLabelSlot?: boolean;\n\n /** The help text id, used to map the input to the help text */\n helpTextId?: string;\n\n /** The help text (if the help-text slot isn't used) */\n helpText?: string;\n\n /** Whether or not a help text slot has been provided. */\n hasHelpTextSlot?: boolean;\n\n /** The error text id, used to map the input to the help text */\n errorTextId?: string;\n\n /** The error text (if the error-text slot isn't used) */\n errorText?: string;\n\n /** Whether or not a error text slot has been provided. */\n hasErrorTextSlot?: boolean;\n\n /** Set to true to disable the input. */\n disabled?: boolean;\n\n /** Set if the value is required. */\n required?: boolean;\n\n /** Set if the error text is displayed. */\n displayError?: boolean;\n\n /** A function that gets called when the label is clicked. */\n onLabelClick?: (event: MouseEvent) => void;\n}\n\nconst FormControl = (props: FormControlProps, children) => {\n const hasLabel = props.label ? true : props.hasLabelSlot;\n const hasHelpText = props.helpText ? true : props.hasHelpTextSlot;\n /** ErrorTextAttribute has precedence if non empty value is provided or if slot is not set */\n const useErrorTextAttribute = (props.errorText && props.errorText !== '') || !props.hasErrorTextSlot;\n\n return (\n <div\n part=\"form-control\"\n class={{\n 'form-control': true,\n 'form-control--small': props.size === 'small',\n 'form-control--medium': props.size === 'medium',\n 'form-control--large': props.size === 'large',\n 'form-control--has-label': hasLabel,\n 'form-control--has-help-text': hasHelpText,\n 'form-control--has-error-text': props.displayError,\n 'form-control--disabled': props.disabled,\n 'form-control--invalid': props.displayError && !props.disabled,\n }}\n >\n <label\n part=\"label\"\n id={props.labelId}\n class={{\n 'form-control__label': true,\n 'form-control__label__required': props.required,\n }}\n htmlFor={props.inputId}\n aria-hidden={hasLabel ? 'false' : 'true'}\n onClick={props.onLabelClick}\n >\n <slot name=\"label\">{props.label}</slot>\n </label>\n\n <div class=\"form-control__input\">{children}</div>\n\n <div\n part=\"error-text\"\n id={props.errorTextId}\n class=\"form-control__error-text\"\n aria-hidden={props.displayError ? 'false' : 'true'}\n >\n {useErrorTextAttribute ? props.errorText : <slot name=\"error-text\" />}\n </div>\n\n <div\n part=\"help-text\"\n id={props.helpTextId}\n class=\"form-control__help-text\"\n aria-hidden={hasHelpText ? 'false' : 'true'}\n >\n <slot name=\"help-text\">{props.helpText}</slot>\n </div>\n </div>\n );\n};\n\nexport default FormControl;\n"],"version":3}