@six-group/ui-library 0.0.0-insider.2b3efd5 → 0.0.0-insider.2c5f541

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 (368) hide show
  1. package/dist/cjs/index-417a06c8.js +14 -10
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/six-avatar.cjs.entry.js +2 -2
  4. package/dist/cjs/six-badge.cjs.entry.js +2 -2
  5. package/dist/cjs/six-button.cjs.entry.js +2 -2
  6. package/dist/cjs/six-card.cjs.entry.js +1 -1
  7. package/dist/cjs/{six-checkbox.cjs.entry.js → six-checkbox_2.cjs.entry.js} +67 -3
  8. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -0
  9. package/dist/cjs/six-details.cjs.entry.js +3 -3
  10. package/dist/cjs/six-dialog.cjs.entry.js +2 -2
  11. package/dist/cjs/six-drawer.cjs.entry.js +2 -2
  12. package/dist/cjs/{six-dropdown_3.cjs.entry.js → six-dropdown_2.cjs.entry.js} +6 -81
  13. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -0
  14. package/dist/cjs/six-error-page.cjs.entry.js +1 -1
  15. package/dist/cjs/six-error.cjs.entry.js +1 -1
  16. package/dist/cjs/six-file-list.cjs.entry.js +1 -1
  17. package/dist/cjs/six-footer.cjs.entry.js +1 -1
  18. package/dist/cjs/six-group-label.cjs.entry.js +1 -1
  19. package/dist/cjs/six-header-dropdown-item.cjs.entry.js +5 -3
  20. package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -1
  21. package/dist/cjs/six-header-item.cjs.entry.js +23 -0
  22. package/dist/cjs/six-header-item.cjs.entry.js.map +1 -0
  23. package/dist/cjs/six-header-menu-button.cjs.entry.js +7 -3
  24. package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -1
  25. package/dist/cjs/six-header.cjs.entry.js +7 -175
  26. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  27. package/dist/cjs/six-icon-button.cjs.entry.js +3 -3
  28. package/dist/cjs/six-icon.cjs.entry.js +2 -2
  29. package/dist/cjs/six-input.cjs.entry.js +3 -3
  30. package/dist/cjs/six-language-switcher.cjs.entry.js +1 -1
  31. package/dist/cjs/six-layout-grid.cjs.entry.js +1 -1
  32. package/dist/cjs/six-logo.cjs.entry.js +29 -0
  33. package/dist/cjs/six-logo.cjs.entry.js.map +1 -0
  34. package/dist/cjs/six-main-container.cjs.entry.js +1 -1
  35. package/dist/cjs/six-menu-divider.cjs.entry.js +1 -1
  36. package/dist/cjs/six-menu-label.cjs.entry.js +1 -1
  37. package/dist/cjs/six-picto.cjs.entry.js +1 -1
  38. package/dist/cjs/six-progress-bar.cjs.entry.js +3 -3
  39. package/dist/cjs/six-progress-ring.cjs.entry.js +1 -1
  40. package/dist/cjs/six-radio.cjs.entry.js +2 -2
  41. package/dist/cjs/six-range.cjs.entry.js +2 -2
  42. package/dist/cjs/six-root.cjs.entry.js +1 -1
  43. package/dist/cjs/six-search-field.cjs.entry.js +1 -1
  44. package/dist/cjs/six-select.cjs.entry.js +6 -7
  45. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  46. package/dist/cjs/six-sidebar-item.cjs.entry.js +2 -2
  47. package/dist/cjs/six-sidebar.cjs.entry.js +2 -2
  48. package/dist/cjs/six-switch.cjs.entry.js +2 -2
  49. package/dist/cjs/six-tab-group.cjs.entry.js +2 -2
  50. package/dist/cjs/six-tab-panel.cjs.entry.js +1 -1
  51. package/dist/cjs/six-tab.cjs.entry.js +2 -2
  52. package/dist/cjs/six-tag.cjs.entry.js +2 -2
  53. package/dist/cjs/six-textarea.cjs.entry.js +2 -2
  54. package/dist/cjs/six-tile.cjs.entry.js +5 -5
  55. package/dist/cjs/six-timepicker.cjs.entry.js +1 -1
  56. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  57. package/dist/cjs/six-tooltip.cjs.entry.js +2 -2
  58. package/dist/cjs/ui-library.cjs.js +1 -1
  59. package/dist/collection/collection-manifest.json +1 -1
  60. package/dist/collection/components/six-avatar/six-avatar.js +2 -2
  61. package/dist/collection/components/six-badge/six-badge.js +2 -2
  62. package/dist/collection/components/six-button/six-button.js +2 -2
  63. package/dist/collection/components/six-card/six-card.js +1 -1
  64. package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
  65. package/dist/collection/components/six-details/six-details.js +3 -3
  66. package/dist/collection/components/six-dialog/six-dialog.js +2 -2
  67. package/dist/collection/components/six-drawer/six-drawer.js +2 -2
  68. package/dist/collection/components/six-dropdown/six-dropdown.js +5 -36
  69. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  70. package/dist/collection/components/six-error/six-error.js +1 -1
  71. package/dist/collection/components/six-error-page/six-error-page.js +1 -1
  72. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  73. package/dist/collection/components/six-footer/six-footer.js +1 -1
  74. package/dist/collection/components/six-group-label/six-group-label.js +1 -1
  75. package/dist/collection/components/six-header/six-header.css +0 -20
  76. package/dist/collection/components/six-header/six-header.js +8 -484
  77. package/dist/collection/components/six-header/six-header.js.map +1 -1
  78. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +0 -2
  79. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +45 -3
  80. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -1
  81. package/dist/collection/components/six-header-item/six-header-item.css +2 -2
  82. package/dist/collection/components/six-header-item/six-header-item.js +2 -5
  83. package/dist/collection/components/six-header-item/six-header-item.js.map +1 -1
  84. package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +5 -0
  85. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +86 -10
  86. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -1
  87. package/dist/collection/components/six-icon/six-icon.js +2 -2
  88. package/dist/collection/components/six-icon-button/six-icon-button.js +3 -3
  89. package/dist/collection/components/six-input/six-input.js +3 -3
  90. package/dist/collection/components/six-language-switcher/six-language-switcher.js +1 -1
  91. package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
  92. package/dist/collection/components/six-logo/six-logo.js +1 -1
  93. package/dist/collection/components/six-logo/six-logo.js.map +1 -1
  94. package/dist/collection/components/six-main-container/six-main-container.js +1 -1
  95. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  96. package/dist/collection/components/six-menu-item/six-menu-item.js +2 -2
  97. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  98. package/dist/collection/components/six-picto/six-picto.js +1 -1
  99. package/dist/collection/components/six-progress-bar/six-progress-bar.js +3 -3
  100. package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
  101. package/dist/collection/components/six-radio/six-radio.js +2 -2
  102. package/dist/collection/components/six-range/six-range.js +2 -2
  103. package/dist/collection/components/six-root/six-root.js +1 -1
  104. package/dist/collection/components/six-search-field/six-search-field.js +1 -1
  105. package/dist/collection/components/six-select/six-select.js +6 -28
  106. package/dist/collection/components/six-select/six-select.js.map +1 -1
  107. package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
  108. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
  109. package/dist/collection/components/six-switch/six-switch.js +2 -2
  110. package/dist/collection/components/six-tab/six-tab.js +2 -2
  111. package/dist/collection/components/six-tab-group/six-tab-group.js +2 -2
  112. package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
  113. package/dist/collection/components/six-tag/six-tag.js +2 -2
  114. package/dist/collection/components/six-textarea/six-textarea.js +2 -2
  115. package/dist/collection/components/six-tile/six-tile.js +5 -5
  116. package/dist/collection/components/six-timepicker/six-timepicker.css +1 -2
  117. package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
  118. package/dist/components/six-avatar.js +2 -2
  119. package/dist/components/six-badge.js +2 -2
  120. package/dist/components/six-button2.js +2 -2
  121. package/dist/components/six-card.js +1 -1
  122. package/dist/components/six-checkbox2.js +2 -2
  123. package/dist/components/six-details2.js +3 -3
  124. package/dist/components/six-dialog.js +2 -2
  125. package/dist/components/six-drawer.js +2 -2
  126. package/dist/components/six-dropdown2.js +6 -18
  127. package/dist/components/six-dropdown2.js.map +1 -1
  128. package/dist/components/six-error-page.js +1 -1
  129. package/dist/components/six-error2.js +1 -1
  130. package/dist/components/six-file-list.js +1 -1
  131. package/dist/components/six-footer.js +1 -1
  132. package/dist/components/six-group-label.js +1 -1
  133. package/dist/components/six-header-dropdown-item.js +7 -3
  134. package/dist/components/six-header-dropdown-item.js.map +1 -1
  135. package/dist/components/six-header-item.js +32 -1
  136. package/dist/components/six-header-item.js.map +1 -1
  137. package/dist/components/six-header-menu-button.js +14 -12
  138. package/dist/components/six-header-menu-button.js.map +1 -1
  139. package/dist/components/six-header.js +11 -248
  140. package/dist/components/six-header.js.map +1 -1
  141. package/dist/components/six-icon-button2.js +3 -3
  142. package/dist/components/six-icon2.js +2 -2
  143. package/dist/components/six-input2.js +3 -3
  144. package/dist/components/six-language-switcher.js +1 -1
  145. package/dist/components/six-layout-grid.js +1 -1
  146. package/dist/components/six-logo.js +38 -1
  147. package/dist/components/six-logo.js.map +1 -1
  148. package/dist/components/six-main-container.js +1 -1
  149. package/dist/components/six-menu-divider.js +1 -1
  150. package/dist/components/six-menu-item2.js +2 -2
  151. package/dist/components/six-menu-label.js +1 -1
  152. package/dist/components/six-picto2.js +1 -1
  153. package/dist/components/six-progress-bar.js +3 -3
  154. package/dist/components/six-progress-ring.js +1 -1
  155. package/dist/components/six-radio.js +2 -2
  156. package/dist/components/six-range.js +2 -2
  157. package/dist/components/six-root.js +1 -1
  158. package/dist/components/six-search-field.js +1 -1
  159. package/dist/components/six-select.js +6 -8
  160. package/dist/components/six-select.js.map +1 -1
  161. package/dist/components/six-sidebar-item.js +2 -2
  162. package/dist/components/six-sidebar.js +2 -2
  163. package/dist/components/six-switch.js +2 -2
  164. package/dist/components/six-tab-group.js +2 -2
  165. package/dist/components/six-tab-panel.js +1 -1
  166. package/dist/components/six-tab.js +2 -2
  167. package/dist/components/six-tag.js +2 -2
  168. package/dist/components/six-textarea.js +2 -2
  169. package/dist/components/six-tile.js +5 -5
  170. package/dist/components/six-timepicker2.js +1 -1
  171. package/dist/components/six-timepicker2.js.map +1 -1
  172. package/dist/components/six-tooltip2.js +2 -2
  173. package/dist/components.json +158 -571
  174. package/dist/esm/index-a7bee415.js +14 -10
  175. package/dist/esm/loader.js +1 -1
  176. package/dist/esm/six-avatar.entry.js +2 -2
  177. package/dist/esm/six-badge.entry.js +2 -2
  178. package/dist/esm/six-button.entry.js +2 -2
  179. package/dist/esm/six-card.entry.js +1 -1
  180. package/dist/esm/{six-checkbox.entry.js → six-checkbox_2.entry.js} +68 -5
  181. package/dist/esm/six-checkbox_2.entry.js.map +1 -0
  182. package/dist/esm/six-details.entry.js +3 -3
  183. package/dist/esm/six-dialog.entry.js +2 -2
  184. package/dist/esm/six-drawer.entry.js +2 -2
  185. package/dist/esm/{six-dropdown_3.entry.js → six-dropdown_2.entry.js} +7 -81
  186. package/dist/esm/six-dropdown_2.entry.js.map +1 -0
  187. package/dist/esm/six-error-page.entry.js +1 -1
  188. package/dist/esm/six-error.entry.js +1 -1
  189. package/dist/esm/six-file-list.entry.js +1 -1
  190. package/dist/esm/six-footer.entry.js +1 -1
  191. package/dist/esm/six-group-label.entry.js +1 -1
  192. package/dist/esm/six-header-dropdown-item.entry.js +5 -3
  193. package/dist/esm/six-header-dropdown-item.entry.js.map +1 -1
  194. package/dist/esm/six-header-item.entry.js +19 -0
  195. package/dist/esm/six-header-item.entry.js.map +1 -0
  196. package/dist/esm/six-header-menu-button.entry.js +7 -3
  197. package/dist/esm/six-header-menu-button.entry.js.map +1 -1
  198. package/dist/esm/six-header.entry.js +9 -177
  199. package/dist/esm/six-header.entry.js.map +1 -1
  200. package/dist/esm/six-icon-button.entry.js +3 -3
  201. package/dist/esm/six-icon.entry.js +2 -2
  202. package/dist/esm/six-input.entry.js +3 -3
  203. package/dist/esm/six-language-switcher.entry.js +1 -1
  204. package/dist/esm/six-layout-grid.entry.js +1 -1
  205. package/dist/esm/six-logo.entry.js +25 -0
  206. package/dist/esm/six-logo.entry.js.map +1 -0
  207. package/dist/esm/six-main-container.entry.js +1 -1
  208. package/dist/esm/six-menu-divider.entry.js +1 -1
  209. package/dist/esm/six-menu-label.entry.js +1 -1
  210. package/dist/esm/six-picto.entry.js +1 -1
  211. package/dist/esm/six-progress-bar.entry.js +3 -3
  212. package/dist/esm/six-progress-ring.entry.js +1 -1
  213. package/dist/esm/six-radio.entry.js +2 -2
  214. package/dist/esm/six-range.entry.js +2 -2
  215. package/dist/esm/six-root.entry.js +1 -1
  216. package/dist/esm/six-search-field.entry.js +1 -1
  217. package/dist/esm/six-select.entry.js +6 -7
  218. package/dist/esm/six-select.entry.js.map +1 -1
  219. package/dist/esm/six-sidebar-item.entry.js +2 -2
  220. package/dist/esm/six-sidebar.entry.js +2 -2
  221. package/dist/esm/six-switch.entry.js +2 -2
  222. package/dist/esm/six-tab-group.entry.js +2 -2
  223. package/dist/esm/six-tab-panel.entry.js +1 -1
  224. package/dist/esm/six-tab.entry.js +2 -2
  225. package/dist/esm/six-tag.entry.js +2 -2
  226. package/dist/esm/six-textarea.entry.js +2 -2
  227. package/dist/esm/six-tile.entry.js +5 -5
  228. package/dist/esm/six-timepicker.entry.js +1 -1
  229. package/dist/esm/six-timepicker.entry.js.map +1 -1
  230. package/dist/esm/six-tooltip.entry.js +2 -2
  231. package/dist/esm/ui-library.js +1 -1
  232. package/dist/types/components/six-dropdown/six-dropdown.d.ts +0 -7
  233. package/dist/types/components/six-header/six-header.d.ts +2 -128
  234. package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +10 -1
  235. package/dist/types/components/six-header-item/six-header-item.d.ts +1 -1
  236. package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +11 -5
  237. package/dist/types/components/six-select/six-select.d.ts +0 -7
  238. package/dist/types/components.d.ts +66 -147
  239. package/dist/ui-library/{p-1f7a0cb5.entry.js → p-0e3be65b.entry.js} +2 -2
  240. package/dist/ui-library/{p-f12b22bc.entry.js → p-0ea87016.entry.js} +2 -2
  241. package/dist/ui-library/{p-4d72b179.entry.js → p-107c1cc9.entry.js} +2 -2
  242. package/dist/ui-library/{p-e1529ef6.entry.js → p-119e0252.entry.js} +2 -2
  243. package/dist/ui-library/{p-5fc9cd7b.entry.js → p-2dda9f79.entry.js} +2 -2
  244. package/dist/ui-library/{p-171df3ad.entry.js → p-31dc219a.entry.js} +2 -2
  245. package/dist/ui-library/p-31dc219a.entry.js.map +1 -0
  246. package/dist/ui-library/{p-49019d6c.entry.js → p-3362f0a6.entry.js} +2 -2
  247. package/dist/ui-library/p-33eff94d.entry.js +2 -0
  248. package/dist/ui-library/p-33eff94d.entry.js.map +1 -0
  249. package/dist/ui-library/p-38dca7f5.entry.js +2 -0
  250. package/dist/ui-library/{p-1cc3b56d.entry.js.map → p-38dca7f5.entry.js.map} +1 -1
  251. package/dist/ui-library/p-3dde8246.entry.js +2 -0
  252. package/dist/ui-library/p-3dde8246.entry.js.map +1 -0
  253. package/dist/ui-library/{p-03acec96.entry.js → p-3de9f1dd.entry.js} +2 -2
  254. package/dist/ui-library/p-4777053f.entry.js +2 -0
  255. package/dist/ui-library/{p-618bf750.entry.js → p-484f68f9.entry.js} +2 -2
  256. package/dist/ui-library/p-4eb49fc9.entry.js +2 -0
  257. package/dist/ui-library/{p-5ece7986.entry.js → p-5236fc59.entry.js} +2 -2
  258. package/dist/ui-library/{p-f9a1f6ab.entry.js → p-5442fd21.entry.js} +2 -2
  259. package/dist/ui-library/{p-4de4ee7a.entry.js → p-54713ac9.entry.js} +2 -2
  260. package/dist/ui-library/p-59c4dc13.entry.js +2 -0
  261. package/dist/ui-library/p-62cb7f97.entry.js +2 -0
  262. package/dist/ui-library/p-62cb7f97.entry.js.map +1 -0
  263. package/dist/ui-library/p-7abd746b.entry.js +2 -0
  264. package/dist/ui-library/p-7abd746b.entry.js.map +1 -0
  265. package/dist/ui-library/p-7b413e80.entry.js +2 -0
  266. package/dist/ui-library/{p-62a1f514.entry.js.map → p-7b413e80.entry.js.map} +1 -1
  267. package/dist/ui-library/{p-a20a702a.entry.js → p-7f3769d0.entry.js} +2 -2
  268. package/dist/ui-library/{p-06d562b7.entry.js → p-801c8ff4.entry.js} +2 -2
  269. package/dist/ui-library/p-8837e3fc.entry.js +2 -0
  270. package/dist/ui-library/p-8837e3fc.entry.js.map +1 -0
  271. package/dist/ui-library/{p-281ffc35.entry.js → p-88f4177a.entry.js} +2 -2
  272. package/dist/ui-library/{p-afb15ea4.entry.js → p-8d0d99c9.entry.js} +2 -2
  273. package/dist/ui-library/{p-ce13acf3.entry.js → p-90462eea.entry.js} +2 -2
  274. package/dist/ui-library/p-99c8138a.entry.js +2 -0
  275. package/dist/ui-library/p-99c8138a.entry.js.map +1 -0
  276. package/dist/ui-library/{p-ffce31da.entry.js → p-9af41a65.entry.js} +2 -2
  277. package/dist/ui-library/{p-bfb398c6.entry.js → p-9c40c714.entry.js} +2 -2
  278. package/dist/ui-library/{p-0a6b6429.entry.js → p-a480590a.entry.js} +2 -2
  279. package/dist/ui-library/{p-ea854ec5.entry.js → p-aa980af9.entry.js} +2 -2
  280. package/dist/ui-library/{p-db193a32.entry.js → p-b5f193e8.entry.js} +2 -2
  281. package/dist/ui-library/{p-cd65e3b2.entry.js → p-b8b15329.entry.js} +2 -2
  282. package/dist/ui-library/{p-1cd09d9b.entry.js → p-c4045cb9.entry.js} +2 -2
  283. package/dist/ui-library/{p-e6efc08a.entry.js → p-c656cbbe.entry.js} +2 -2
  284. package/dist/ui-library/{p-cd79700c.entry.js → p-c71f6a4d.entry.js} +2 -2
  285. package/dist/ui-library/{p-6795e0a9.entry.js → p-c7860973.entry.js} +2 -2
  286. package/dist/ui-library/{p-e181944f.entry.js → p-cc5d6ffb.entry.js} +2 -2
  287. package/dist/ui-library/{p-870139dc.entry.js → p-d18354fa.entry.js} +2 -2
  288. package/dist/ui-library/p-d5ea5ee3.entry.js +2 -0
  289. package/dist/ui-library/p-df01fb64.entry.js +2 -0
  290. package/dist/ui-library/p-ed371177.entry.js +2 -0
  291. package/dist/ui-library/p-f206cd87.entry.js +2 -0
  292. package/dist/ui-library/p-f206cd87.entry.js.map +1 -0
  293. package/dist/ui-library/p-f5145520.entry.js +2 -0
  294. package/dist/ui-library/p-f5145520.entry.js.map +1 -0
  295. package/dist/ui-library/{p-7eb9ae75.entry.js → p-f90411a2.entry.js} +2 -2
  296. package/dist/ui-library/ui-library.esm.js +1 -1
  297. package/dist/ui-library/ui-library.esm.js.map +1 -1
  298. package/package.json +1 -1
  299. package/dist/cjs/six-checkbox.cjs.entry.js.map +0 -1
  300. package/dist/cjs/six-dropdown_3.cjs.entry.js.map +0 -1
  301. package/dist/cjs/six-header-item_2.cjs.entry.js +0 -47
  302. package/dist/cjs/six-header-item_2.cjs.entry.js.map +0 -1
  303. package/dist/components/six-header-item2.js +0 -39
  304. package/dist/components/six-header-item2.js.map +0 -1
  305. package/dist/components/six-logo2.js +0 -42
  306. package/dist/components/six-logo2.js.map +0 -1
  307. package/dist/esm/six-checkbox.entry.js.map +0 -1
  308. package/dist/esm/six-dropdown_3.entry.js.map +0 -1
  309. package/dist/esm/six-header-item_2.entry.js +0 -42
  310. package/dist/esm/six-header-item_2.entry.js.map +0 -1
  311. package/dist/ui-library/p-07b6203f.entry.js +0 -2
  312. package/dist/ui-library/p-14d09601.entry.js +0 -2
  313. package/dist/ui-library/p-171df3ad.entry.js.map +0 -1
  314. package/dist/ui-library/p-1cc3b56d.entry.js +0 -2
  315. package/dist/ui-library/p-2355c444.entry.js +0 -2
  316. package/dist/ui-library/p-30000e86.entry.js +0 -2
  317. package/dist/ui-library/p-30000e86.entry.js.map +0 -1
  318. package/dist/ui-library/p-4f129bb3.entry.js +0 -2
  319. package/dist/ui-library/p-4f129bb3.entry.js.map +0 -1
  320. package/dist/ui-library/p-57ea4cb7.entry.js +0 -2
  321. package/dist/ui-library/p-57ea4cb7.entry.js.map +0 -1
  322. package/dist/ui-library/p-5f491974.entry.js +0 -2
  323. package/dist/ui-library/p-5f491974.entry.js.map +0 -1
  324. package/dist/ui-library/p-62a1f514.entry.js +0 -2
  325. package/dist/ui-library/p-6513b8ce.entry.js +0 -2
  326. package/dist/ui-library/p-6ec126f7.entry.js +0 -2
  327. package/dist/ui-library/p-705e3612.entry.js +0 -2
  328. package/dist/ui-library/p-705e3612.entry.js.map +0 -1
  329. package/dist/ui-library/p-adc65fc8.entry.js +0 -2
  330. package/dist/ui-library/p-adc65fc8.entry.js.map +0 -1
  331. package/dist/ui-library/p-cdc94cd6.entry.js +0 -2
  332. package/dist/ui-library/p-cdc94cd6.entry.js.map +0 -1
  333. package/dist/ui-library/p-d67b8482.entry.js +0 -2
  334. /package/dist/ui-library/{p-1f7a0cb5.entry.js.map → p-0e3be65b.entry.js.map} +0 -0
  335. /package/dist/ui-library/{p-f12b22bc.entry.js.map → p-0ea87016.entry.js.map} +0 -0
  336. /package/dist/ui-library/{p-4d72b179.entry.js.map → p-107c1cc9.entry.js.map} +0 -0
  337. /package/dist/ui-library/{p-e1529ef6.entry.js.map → p-119e0252.entry.js.map} +0 -0
  338. /package/dist/ui-library/{p-5fc9cd7b.entry.js.map → p-2dda9f79.entry.js.map} +0 -0
  339. /package/dist/ui-library/{p-49019d6c.entry.js.map → p-3362f0a6.entry.js.map} +0 -0
  340. /package/dist/ui-library/{p-03acec96.entry.js.map → p-3de9f1dd.entry.js.map} +0 -0
  341. /package/dist/ui-library/{p-d67b8482.entry.js.map → p-4777053f.entry.js.map} +0 -0
  342. /package/dist/ui-library/{p-618bf750.entry.js.map → p-484f68f9.entry.js.map} +0 -0
  343. /package/dist/ui-library/{p-6ec126f7.entry.js.map → p-4eb49fc9.entry.js.map} +0 -0
  344. /package/dist/ui-library/{p-5ece7986.entry.js.map → p-5236fc59.entry.js.map} +0 -0
  345. /package/dist/ui-library/{p-f9a1f6ab.entry.js.map → p-5442fd21.entry.js.map} +0 -0
  346. /package/dist/ui-library/{p-4de4ee7a.entry.js.map → p-54713ac9.entry.js.map} +0 -0
  347. /package/dist/ui-library/{p-07b6203f.entry.js.map → p-59c4dc13.entry.js.map} +0 -0
  348. /package/dist/ui-library/{p-a20a702a.entry.js.map → p-7f3769d0.entry.js.map} +0 -0
  349. /package/dist/ui-library/{p-06d562b7.entry.js.map → p-801c8ff4.entry.js.map} +0 -0
  350. /package/dist/ui-library/{p-281ffc35.entry.js.map → p-88f4177a.entry.js.map} +0 -0
  351. /package/dist/ui-library/{p-afb15ea4.entry.js.map → p-8d0d99c9.entry.js.map} +0 -0
  352. /package/dist/ui-library/{p-ce13acf3.entry.js.map → p-90462eea.entry.js.map} +0 -0
  353. /package/dist/ui-library/{p-ffce31da.entry.js.map → p-9af41a65.entry.js.map} +0 -0
  354. /package/dist/ui-library/{p-bfb398c6.entry.js.map → p-9c40c714.entry.js.map} +0 -0
  355. /package/dist/ui-library/{p-0a6b6429.entry.js.map → p-a480590a.entry.js.map} +0 -0
  356. /package/dist/ui-library/{p-ea854ec5.entry.js.map → p-aa980af9.entry.js.map} +0 -0
  357. /package/dist/ui-library/{p-db193a32.entry.js.map → p-b5f193e8.entry.js.map} +0 -0
  358. /package/dist/ui-library/{p-cd65e3b2.entry.js.map → p-b8b15329.entry.js.map} +0 -0
  359. /package/dist/ui-library/{p-1cd09d9b.entry.js.map → p-c4045cb9.entry.js.map} +0 -0
  360. /package/dist/ui-library/{p-e6efc08a.entry.js.map → p-c656cbbe.entry.js.map} +0 -0
  361. /package/dist/ui-library/{p-cd79700c.entry.js.map → p-c71f6a4d.entry.js.map} +0 -0
  362. /package/dist/ui-library/{p-6795e0a9.entry.js.map → p-c7860973.entry.js.map} +0 -0
  363. /package/dist/ui-library/{p-e181944f.entry.js.map → p-cc5d6ffb.entry.js.map} +0 -0
  364. /package/dist/ui-library/{p-870139dc.entry.js.map → p-d18354fa.entry.js.map} +0 -0
  365. /package/dist/ui-library/{p-14d09601.entry.js.map → p-d5ea5ee3.entry.js.map} +0 -0
  366. /package/dist/ui-library/{p-6513b8ce.entry.js.map → p-df01fb64.entry.js.map} +0 -0
  367. /package/dist/ui-library/{p-2355c444.entry.js.map → p-ed371177.entry.js.map} +0 -0
  368. /package/dist/ui-library/{p-7eb9ae75.entry.js.map → p-f90411a2.entry.js.map} +0 -0
@@ -164,7 +164,7 @@ const SixTextarea = class {
164
164
  return ((_a = this.value) !== null && _a !== void 0 ? _a : '').toString();
165
165
  }
166
166
  render() {
167
- return (index.h(formControl.FormControl, { key: 'b030afca7e885857b87e5274ce3aa1baeb285fdb', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, disabled: this.disabled, required: this.required, displayError: this.invalid }, index.h("div", { key: 'a30bb02f40f681c42212586c0d761cb5759202ed', part: "base", class: {
167
+ return (index.h(formControl.FormControl, { key: 'edd8746cd95fba22bb809189ed5068747d20dc95', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, disabled: this.disabled, required: this.required, displayError: this.invalid }, index.h("div", { key: '4f032d83ce42a4bef56d46339bc905ebe16ddff9', part: "base", class: {
168
168
  textarea: true,
169
169
  // Sizes
170
170
  'textarea--small': this.size === 'small',
@@ -179,7 +179,7 @@ const SixTextarea = class {
179
179
  'textarea--resize-none': this.resize === 'none',
180
180
  'textarea--resize-vertical': this.resize === 'vertical',
181
181
  'textarea--resize-auto': this.resize === 'auto',
182
- } }, index.h("textarea", { key: '29faefaf45d099bc582beefe74160d93a2259873', part: "textarea", ref: (el) => (this.nativeTextarea = el), id: this.inputId, class: "textarea__control", name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, rows: this.rows, minLength: this.minlength, maxLength: this.maxlength, value: this.getValue(), autoCapitalize: this.autocapitalize, autoCorrect: this.autocorrect, autoFocus: this.autofocus, spellcheck: this.spellcheck, required: this.required, inputMode: this.inputmode, "aria-labelledby": this.labelId, onChange: this.handleChange, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }))));
182
+ } }, index.h("textarea", { key: '2ade9c08ca303b03b45325ba29b19ae8709a1978', part: "textarea", ref: (el) => (this.nativeTextarea = el), id: this.inputId, class: "textarea__control", name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, rows: this.rows, minLength: this.minlength, maxLength: this.maxlength, value: this.getValue(), autoCapitalize: this.autocapitalize, autoCorrect: this.autocorrect, autoFocus: this.autofocus, spellcheck: this.spellcheck, required: this.required, inputMode: this.inputmode, "aria-labelledby": this.labelId, onChange: this.handleChange, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }))));
183
183
  }
184
184
  get host() { return index.getElement(this); }
185
185
  static get watchers() { return {
@@ -55,22 +55,22 @@ const SixTile = class {
55
55
  this.handleSlotChange();
56
56
  }
57
57
  render() {
58
- return (index.h("six-tooltip", { key: '1f72a24651f78f933e475c7fc0cbac18d852cc76', disabled: this.disableTooltip || this.label === '', content: this.label }, index.h("div", { key: 'b45a460c355a9a30d7b5ebe93c63f48a49ed2fa1', part: "base", class: {
58
+ return (index.h("six-tooltip", { key: '336923c5af5761ba5216e953dd1660fb0c15f349', disabled: this.disableTooltip || this.label === '', content: this.label }, index.h("div", { key: 'b7344269567d04e07e3bfc65fe4ff6f0286ead04', part: "base", class: {
59
59
  tile: true,
60
60
  'tile--visible': this.visible,
61
61
  'tile--small': this.size === 'small',
62
62
  'tile--medium': this.size === 'medium',
63
63
  'tile--large': this.size === 'large',
64
64
  'tile--elevated': this.elevated,
65
- } }, index.h("div", { key: '2667122e6e2e925005bfd910ee60b6063871b5c1', part: "header", class: "tile__header" }, index.h("six-icon-button", { key: 'f6f0a96a7d681881bebf254860bca29c80c814d9', class: {
65
+ } }, index.h("div", { key: '3516bc0a5cd6b472f4d10ae53b3af0bf1bafc8fa', part: "header", class: "tile__header" }, index.h("six-icon-button", { key: 'bcf278f94bf47a6be6ac3ebbf75022c9d0accac9', class: {
66
66
  'tile__header--hidden': !this.closeable,
67
- }, name: "close", size: closeIconSize(this.size), onClick: this.handleCloseClickEvent })), index.h("div", { key: '973436e543725ba0916ba42ff3cf24a8f1420ffa', part: "body", class: "tile__body" }, this.iconName && (index.h("six-icon", { key: 'c2d43afacf61d8bdbfa9c082f443c6f7fc2d094d', onClick: this.handleClickEvent, size: iconSize(this.size) }, this.iconName)), this.hasIconSlot && index.h("slot", { key: '0cd3db9f8db8aa6241fcb84358aedbb6372b5f02', name: "icon" })), index.h("div", { key: 'a2e6c9642fa659248516153989e74f0ac0d99254', part: "footer", class: {
67
+ }, name: "close", size: closeIconSize(this.size), onClick: this.handleCloseClickEvent })), index.h("div", { key: '82478a6ecd97ddcce0b47b522c31b3e798e6b107', part: "body", class: "tile__body" }, this.iconName && (index.h("six-icon", { key: 'd18abe31b644ddf47481114ccf83495038965895', onClick: this.handleClickEvent, size: iconSize(this.size) }, this.iconName)), this.hasIconSlot && index.h("slot", { key: 'c4496fd0febcf2c01358cc8adbcab718c79dda6c', name: "icon" })), index.h("div", { key: 'd0568f6820efd46fcfa0ff5ee88bf1e18ced5427', part: "footer", class: {
68
68
  'tile__footer--small': this.size === 'small',
69
69
  'tile__footer--medium': this.size === 'medium',
70
70
  'tile__footer--large': this.size === 'large',
71
- } }, this.label && (index.h("div", { key: 'a9838fb0e6a65053320496233e38eec9f837dfd0', class: {
71
+ } }, this.label && (index.h("div", { key: '7205fd10c74b8ae433a02d3e69be59fdff19419d', class: {
72
72
  '.label__footer': true,
73
- }, onClick: this.handleClickEvent }, this.label)), this.hasLabelSlot && index.h("slot", { key: '9a21ee332f6e5ebefe292138e5204fd27458442d', name: "label" })))));
73
+ }, onClick: this.handleClickEvent }, this.label)), this.hasLabelSlot && index.h("slot", { key: 'bcc4658ff2d5e39c82c94ce97340fd84c7f98afe', name: "label" })))));
74
74
  }
75
75
  get host() { return index.getElement(this); }
76
76
  };
@@ -98,7 +98,7 @@ const createTimeString = (time, format) => {
98
98
  .join(':');
99
99
  };
100
100
 
101
- const sixTimepickerCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:block;font-family:var(--six-font-family)}.timepicker_clear{display:inline-flex;align-items:center;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;padding:0;transition:var(--six-transition-fast) color;cursor:pointer}.timepicker_clear:hover{color:var(--six-input-icon-color-hover)}.timepicker_clear:focus{outline:none}.timepicker_clear--right{right:0;position:absolute}.timepicker_clear--left{right:35px;position:absolute}.timepicker__container{position:relative}.timepicker__popup{display:flex;justify-content:center;min-width:min-content;min-height:145px;background-color:white;padding:0.5em 0.5em 1.5em;box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);user-select:none;position:absolute;z-index:var(--six-z-index-dropdown);right:0;left:0}.timepicker__popup--is-up{bottom:100%}.timepicker__popup--is-inline{position:initial;box-shadow:none;border:1px solid var(--six-color-web-rock-400)}.timepicker__separator{display:flex;align-items:center}.timepicker__item--wide{padding-left:0.5rem;padding-right:0.5rem}.input--empty .timepicker_clear{visibility:hidden}.input--hide{display:none}.prefix{cursor:pointer}.prefix--right{right:0;display:inline-flex;position:absolute;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;margin-right:var(--six-input-spacing-medium);transition:var(--six-transition-fast) color}";
101
+ const sixTimepickerCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:block;font-family:var(--six-font-family)}.timepicker_clear{display:inline-flex;align-items:center;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;padding:0;transition:var(--six-transition-fast) color;cursor:pointer}.timepicker_clear:hover{color:var(--six-input-icon-color-hover)}.timepicker_clear:focus{outline:none}.timepicker_clear--right{right:0;position:absolute}.timepicker_clear--left{right:35px;position:absolute}.timepicker__container{position:relative}.timepicker__popup{display:flex;justify-content:center;min-width:min-content;background-color:white;padding:0.5em;box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);user-select:none;position:absolute;z-index:var(--six-z-index-dropdown);right:0;left:0}.timepicker__popup--is-up{bottom:100%}.timepicker__popup--is-inline{position:initial;box-shadow:none;border:1px solid var(--six-color-web-rock-400)}.timepicker__separator{display:flex;align-items:center}.timepicker__item--wide{padding-left:0.5rem;padding-right:0.5rem}.input--empty .timepicker_clear{visibility:hidden}.input--hide{display:none}.prefix{cursor:pointer}.prefix--right{right:0;display:inline-flex;position:absolute;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;margin-right:var(--six-input-spacing-medium);transition:var(--six-transition-fast) color}";
102
102
  const SixTimepickerStyle0 = sixTimepickerCss;
103
103
 
104
104
  const MIN_POPUP_HEIGHT = 145;
@@ -1 +1 @@
1
- {"file":"six-timepicker.entry.cjs.js","mappings":";;;;;;;;;;;AAqCO,MAAM,uBAAuB,GAAG;IACrC,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC;IACvB,OAAO;QACL,KAAK,EAAE,GAAG,CAAC,QAAQ,EAAE;QACrB,OAAO,EAAE,GAAG,CAAC,UAAU,EAAE;QACzB,OAAO,EAAE,GAAG,CAAC,UAAU,EAAE;QACzB,YAAY,EAAE,GAAG,CAAC,eAAe,EAAE;QACnC,UAAU,EAAE,IAAI;KACjB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,6BAA6B,GAAG,EAAE,CAAC;AAElC,MAAM,sBAAsB,G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,IAAI,IAAI,GAAG,IAAI,CAAC,SAAS,KAAK,KAAK,GAAG,IAAI,CAAC,gBAAgB;gBACrG,8BAA8B,EAAE,IAAI,CAAC,MAAM;aAC5C,OAEG,IAAI,CAAC,UAAU,EAAE,EACpB,IAAI,CAAC,aAAa,EAAE,CACjB,CACP,CACG,EACN;KACH;;;;;;;;;;","names":["EventListeners","DEFAULT_DEBOUNCE_FAST","DEFAULT_DEBOUNCE_INSANELY_FAST","debounce","adjustPopupForHoisting","movePopup","h","ItemPickerType","hasSlot"],"sources":["src/utils/time.util.ts","src/components/six-timepicker/six-timepicker.scss?tag=six-timepicker&encapsulation=shadow","src/components/six-timepicker/six-timepicker.tsx"],"sourcesContent":["export type TimePeriod = 'AM' | 'PM';\n\nexport interface Time {\n hours?: number;\n minutes?: number;\n seconds?: number;\n milliseconds?: number;\n has24Hours?: boolean; // true => 24h, false => 12h\n period?: TimePeriod; // only needed for 12-hour clock\n}\n\nexport type TimeProperties = keyof Time;\n\nexport type TimeFormatChar =\n | 'HH' // 24h\n | 'hh' // 12h\n | 'mm' // minutes\n | 'ss' // seconds\n | 'ms' // milliseconds\n | 'aa'; // period (AM/PM)\n\n/*\n * Supported time formats\n */\nexport type TimeFormat =\n | 'HH:mm:ss'\n | 'hh:mm:ss:aa'\n | 'HH:mm:ss:ms'\n | 'hh:mm:ss:ms:aa'\n | 'HH:mm'\n | 'hh:mm:aa'\n | 'HH'\n | 'hh:aa'\n | 'mm'\n | 'ss'\n | 'ms';\n\nexport const getCurrentTimeIn24Hours = (): Time => {\n const now = new Date();\n return {\n hours: now.getHours(),\n minutes: now.getMinutes(),\n seconds: now.getSeconds(),\n milliseconds: now.getMilliseconds(),\n has24Hours: true,\n };\n};\n\nconst HOURS_IN_12_HOUR_CLOCK_FORMAT = 12;\n\nexport const getHoursIn12HourFormat = (hours: number) =>\n hours > HOURS_IN_12_HOUR_CLOCK_FORMAT ? hours - HOURS_IN_12_HOUR_CLOCK_FORMAT : hours;\n\nexport const getCurrentTimeIn12Hours = (): Time => {\n const now = new Date();\n const hours = now.getHours();\n return {\n hours: getHoursIn12HourFormat(hours),\n minutes: now.getMinutes(),\n seconds: now.getSeconds(),\n milliseconds: now.getMilliseconds(),\n has24Hours: false,\n period: hours >= HOURS_IN_12_HOUR_CLOCK_FORMAT ? 'PM' : 'AM',\n };\n};\n\nexport const getCurrentTime = (has24Hours = true): Time => {\n return has24Hours ? getCurrentTimeIn24Hours() : getCurrentTimeIn12Hours();\n};\n\nexport const isValidTimeString = (timeStr: string, format: TimeFormat) => {\n const timeStringParts = timeStr.split(':');\n const timeFormatParts = format.split(':');\n return timeStringParts.length === timeFormatParts.length;\n};\n\nexport const parseTimeString = (timeStr: string, format: TimeFormat): Time => {\n const timeParts = timeStr.split(':');\n const formatParts = format.split(':') as TimeFormatChar[];\n\n if (!isValidTimeString(timeStr, format)) {\n console.error(\n `Timestring did not match expected format.\\nExpected format: ${format}\\nReceived timestring: ${timeStr}`\n );\n }\n\n const time: Time = {};\n\n timeParts.forEach((timeStringPart, i) => {\n const formatStringPart: TimeFormatChar = formatParts[i];\n switch (formatStringPart) {\n case 'HH':\n time.hours = Number(timeStringPart);\n time.has24Hours = true;\n break;\n case 'hh':\n time.hours = Number(timeStringPart);\n time.has24Hours = false;\n break;\n case 'mm':\n time.minutes = Number(timeStringPart);\n break;\n case 'ss':\n time.seconds = Number(timeStringPart);\n break;\n case 'ms':\n time.milliseconds = Number(timeStringPart);\n break;\n case 'aa':\n time.period = timeStringPart.toUpperCase() === 'PM' ? 'PM' : 'AM';\n }\n });\n return time;\n};\n\nexport const createTimeString = (time: Time | undefined, format: TimeFormat): string => {\n if (time == null) {\n return '';\n }\n\n const formatParts = format.split(':') as TimeFormatChar[];\n\n return formatParts\n .map((timeFormatPart) => {\n switch (timeFormatPart) {\n case 'HH':\n case 'hh':\n return String(time.hours).padStart(2, '0');\n case 'mm':\n return String(time.minutes).padStart(2, '0');\n case 'ss':\n return String(time.seconds).padStart(2, '0');\n case 'ms':\n return String(time.milliseconds).padStart(3, '0');\n case 'aa':\n return String(time.period);\n }\n })\n .join(':');\n};\n","@import 'src/global/component';\n\n:host {\n display: block;\n font-family: var(--six-font-family);\n}\n\n.timepicker {\n &_clear {\n display: inline-flex;\n align-items: center;\n font-size: inherit;\n color: var(--six-input-icon-color);\n border: none;\n background: none;\n padding: 0;\n transition: var(--six-transition-fast) color;\n cursor: pointer;\n\n &:hover {\n color: var(--six-input-icon-color-hover);\n }\n\n &:focus {\n outline: none;\n }\n\n &--right {\n right: 0;\n position: absolute;\n }\n\n &--left {\n right: 35px;\n position: absolute;\n }\n }\n\n &__container {\n position: relative;\n }\n\n &__popup {\n display: flex;\n justify-content: center;\n min-width: min-content;\n min-height: 145px;\n background-color: white;\n padding: 0.5em 0.5em 1.5em;\n box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%);\n user-select: none;\n position: absolute;\n z-index: var(--six-z-index-dropdown);\n right: 0;\n left: 0;\n\n &--is-up {\n bottom: 100%;\n }\n\n &--is-inline {\n position: initial;\n box-shadow: none;\n border: 1px solid var(--six-color-web-rock-400);\n }\n }\n\n &__separator {\n display: flex;\n align-items: center;\n }\n\n &__item {\n &--wide {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n }\n }\n}\n\n.input--empty .timepicker_clear {\n visibility: hidden;\n}\n\n.input--hide {\n display: none;\n}\n\n// Icon position\n.prefix {\n cursor: pointer;\n\n &--right {\n right: 0;\n display: inline-flex;\n position: absolute;\n font-size: inherit;\n color: var(--six-input-icon-color);\n border: none;\n background: none;\n margin-right: var(--six-input-spacing-medium);\n transition: var(--six-transition-fast) color;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Listen, Method, Prop, State, Watch } from '@stencil/core';\nimport { ItemPickerType } from '../six-item-picker/types';\nimport {\n createTimeString,\n getCurrentTime,\n isValidTimeString,\n parseTimeString,\n Time,\n TimeFormat,\n TimeProperties,\n} from '../../utils/time.util';\nimport { debounce, DEFAULT_DEBOUNCE_FAST, DEFAULT_DEBOUNCE_INSANELY_FAST } from '../../utils/execution-control';\nimport { SixItemPickerChangePayload } from '../six-item-picker/six-item-picker';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { adjustPopupForHoisting, movePopup } from '../../utils/popup';\n\nexport interface SixTimepickerChange {\n value?: Time;\n valueAsString: string;\n changedProperty?: string;\n}\n\ninterface SixTimeUnitPickerParams {\n min?: number;\n max?: number;\n items?: string[];\n type?: ItemPickerType;\n class?: string;\n paddingLength?: number;\n propertyName: TimeProperties;\n}\n\nconst MIN_POPUP_HEIGHT = 145;\n\n/**\n * @since 2.0.0\n * @status experimental\n *\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part input - The input field\n * @part container - The container of whole component\n * @part popup - The popup of the timepicker component\n *\n */\n@Component({\n tag: 'six-timepicker',\n styleUrl: 'six-timepicker.scss',\n shadow: true,\n})\nexport class SixTimepicker {\n private eventListeners = new EventListeners();\n private popup?: HTMLElement;\n private wrapper?: HTMLElement;\n private inputElement?: HTMLSixInputElement;\n\n @Element() host!: HTMLSixTimepickerElement;\n\n /**\n * Define the time format. Valid formats are:\n *\n * HH:mm:ss\n * hh:mm:ss:aa\n * HH:mm:ss:ms\n * hh:mm:ss:ms:aa\n * HH:mm\n * hh:mm:aa\n * HH\n * hh:aa\n * mm\n * ss\n * ms\n *\n * where HH is the 24 hour format\n * and hh is the 12 hour format\n *\n * Please notice that when using the 12-hour-clock (hh)\n * you always need a period indicator (aa). So the time can be parsed as either am or pm\n * */\n @Prop() format: TimeFormat = 'HH:mm:ss';\n\n /**\n * Define the separator to be shown between the time unit pickers.\n * Please be aware that this property will modify the displayed separator only.\n * The separator for a timestring is always expected to be a colon (eg. '13:52:20')\n * */\n @Prop() separator = ':';\n\n /**\n * The value of the timepicker provided as a string. The string mast match the provided format (or default format)\n */\n @Prop({ mutable: true }) value = '';\n\n /** Indicates whether the timepicker dropdown is open on startup. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Indicates whether the timepicker should be shown as an inline (always open) component */\n @Prop({ reflect: true }) inline = false;\n\n /**\n * If `true` the user can only select a time via the timepicker but not directly edit the input field.\n */\n @Prop() readonly = false;\n\n /**\n * If `true` the component is disabled.\n */\n @Prop() disabled = false;\n\n /**\n * The enforced placement of the dropdown panel.\n */\n @Prop() placement?: 'top' | 'bottom';\n\n /** Timepicker size. */\n @Prop() size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /**\n * The placeholder defines what text to be shown on the input element\n */\n @Prop() placeholder?: string;\n\n /** The input's error text. Alternatively, you can use the error-text slot. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** The input's label. Alternatively, you can use the label slot. */\n @Prop() label = '';\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n /** The input's name attribute. */\n @Prop({ reflect: true }) name = '';\n\n /** Set to true to add a clear button when the input is populated. */\n @Prop() clearable = false;\n\n /** Set the position of the icon */\n @Prop() iconPosition: 'left' | 'right' = 'left';\n\n /**\n * Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n * `overflow: auto|scroll`.\n */\n @Prop() hoist = false;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger faster switching between timeunits (e.g. hours).\n */\n @Prop() timeout = DEFAULT_DEBOUNCE_FAST;\n\n /**\n * Set the amount of time, in milliseconds, to wait between switching to next timeunit (e.g. next hour) when mouse button is held pressed.\n */\n @Prop() interval = DEFAULT_DEBOUNCE_INSANELY_FAST;\n\n /**\n * The defaultTime defines the default setting for the timepicker when you open the popup. Default time must match the provided format.\n */\n @Prop() defaultTime?: string;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger the `six-timepicker-change-debounced` event.\n * If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce\n * is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click\n * (and keep pressed) and once you release\n */\n @Prop() debounce = DEFAULT_DEBOUNCE_FAST;\n\n /**\n * Emitted when the timepicker's value changes\n */\n @Event({ eventName: 'six-timepicker-change' }) sixChange!: EventEmitter<SixTimepickerChange>;\n\n /**\n * Emitted when the timepicker's value changes, but debounced\n */\n @Event({ eventName: 'six-timepicker-change-debounced' }) sixChangeDebounced!: EventEmitter<SixTimepickerChange>;\n\n /**\n * Emitted when the clear button is activated.\n */\n @Event({ eventName: 'six-timepicker-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n @State() isPopupContentUp = false;\n\n @State() isDropDownContentUp = false;\n\n @Listen('resize', { target: 'window' })\n async resizeHandler() {\n this.calcIsPopupContentUp();\n this.moveOpenHoistedPopup();\n }\n\n @Listen('scroll', { target: 'window' })\n async scrollHandler() {\n this.calcIsPopupContentUp();\n this.moveOpenHoistedPopup();\n }\n\n /**\n * Update the native input element when the value changes\n */\n @Watch('value')\n protected valueChanged() {\n this.updateValue();\n }\n\n /** Sets focus on the datepickers input. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.inputElement?.setFocus(options);\n }\n\n /*\n * Internally the six-timepicker uses a standardized representation of time, so we don't have a mess,\n * when switching between formats\n */\n @State() private popupValue: Time = {};\n\n connectedCallback() {\n this.eventListeners.forward('six-timepicker-change', 'change', this.host);\n }\n\n componentWillLoad() {\n this.updateValue();\n\n if (this.inline) {\n this.open = true;\n }\n\n if (this.open) {\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n }\n }\n\n componentDidLoad() {\n if (this.inputElement == null) return;\n const inputElement = this.inputElement;\n\n // emit debounced change event\n this.eventListeners.add(\n this.host,\n 'six-timepicker-change',\n debounce((event: Event) => this.sixChangeDebounced.emit((event as CustomEvent).detail), this.debounce)\n );\n\n // update value and popup value based on input-element value\n this.eventListeners.add(\n inputElement,\n 'six-input-input',\n debounce((event: Event) => {\n event.stopPropagation();\n\n // emit empty event if time string is invalid\n if (!isValidTimeString(inputElement.value, this.format)) {\n this.value = inputElement.value;\n this.sixChange.emit({\n value: {},\n valueAsString: '',\n });\n return;\n }\n\n // update value and popup value, and emit the new value\n this.value = inputElement.value;\n this.popupValue = parseTimeString(inputElement.value, this.format);\n this.sixChange.emit({\n value: this.popupValue,\n valueAsString: createTimeString(this.popupValue, this.format),\n });\n }, this.debounce)\n );\n }\n\n componentDidRender() {\n adjustPopupForHoisting(\n this.hoist,\n this.popup,\n this.inputElement,\n this.wrapper,\n MIN_POPUP_HEIGHT,\n (isUp) => (this.isDropDownContentUp = isUp)\n );\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n private updateValue() {\n // normalize value\n if (typeof this.value !== 'string' || !isValidTimeString(this.value, this.format)) {\n this.value = '';\n }\n\n // update popup value\n if (this.value === '') {\n if (this.defaultTime == null) {\n this.popupValue = getCurrentTime(this.is24HourClock());\n } else {\n this.popupValue = parseTimeString(this.defaultTime, this.format);\n }\n } else {\n this.popupValue = parseTimeString(this.value, this.format);\n }\n }\n\n private calcIsPopupContentUp() {\n if (this.inputElement == null || this.wrapper == null) {\n return;\n }\n\n const inputBoundingRect = this.inputElement.getBoundingClientRect();\n const wrapperBoundingRect = this.wrapper.getBoundingClientRect();\n const minPopupHeight = Math.max(wrapperBoundingRect.height, MIN_POPUP_HEIGHT);\n\n const moreSpaceInTop = inputBoundingRect.y > window.innerHeight / 2;\n this.isPopupContentUp = moreSpaceInTop && window.innerHeight < inputBoundingRect.bottom + minPopupHeight;\n }\n\n private moveOpenHoistedPopup() {\n movePopup(this.hoist, this.open, this.popup, this.inputElement, this.wrapper, MIN_POPUP_HEIGHT);\n }\n\n private handlePickerChange = (event: CustomEvent<SixItemPickerChangePayload>, property: TimeProperties) => {\n // stop propagation, since the timepicker should not expose the events of the underlying item-picker\n event.stopPropagation();\n if (this.popupValue == null) {\n return;\n }\n\n // update the internal state\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this.popupValue[property] = event.detail;\n\n const timeString = createTimeString(this.popupValue, this.format);\n\n // update the input value\n this.value = timeString;\n\n // emit change event\n this.sixChange.emit({\n changedProperty: property,\n value: this.popupValue,\n valueAsString: timeString,\n });\n };\n\n private getSixTimeUnitPicker(params: SixTimeUnitPickerParams) {\n return (\n <six-item-picker\n class={params.class}\n timeout={this.timeout}\n interval={this.interval}\n padded\n min={params.min}\n max={params.max}\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n value={this.popupValue[params.propertyName]}\n items={params.items}\n type={params.type || ItemPickerType.NUMBER}\n padding-length={params.paddingLength}\n onSix-item-picker-change={(event) => this.handlePickerChange(event, params.propertyName)}\n ></six-item-picker>\n );\n }\n\n private getHour24Picker() {\n if (!this.is24HourClock()) {\n return;\n }\n return this.getSixTimeUnitPicker({ min: 0, max: 23, propertyName: 'hours' });\n }\n\n private is24HourClock() {\n return this.format.includes('HH');\n }\n\n private getHour12Picker() {\n if (!this.is12HourClock()) {\n return;\n }\n return this.getSixTimeUnitPicker({ min: 0, max: 11, propertyName: 'hours' });\n }\n\n private is12HourClock() {\n return this.format.includes('hh');\n }\n\n private getAmPmPicker() {\n if (!this.is12HourClock()) {\n return;\n }\n const items = ['AM', 'PM'];\n return this.getSixTimeUnitPicker({\n items,\n type: ItemPickerType.CUSTOM,\n propertyName: 'period',\n });\n }\n\n private getMinutePicker() {\n if (!this.format.includes('mm')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName: 'minutes' });\n }\n\n private getSecondsPicker() {\n if (!this.format.includes('ss')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName: 'seconds' });\n }\n\n private getMillisecondsPicker() {\n if (!this.format.includes('ms')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({\n min: 0,\n max: 999,\n class: 'timepicker__item--wide',\n paddingLength: 3,\n propertyName: 'milliseconds',\n });\n }\n\n private getSeparator() {\n return (\n <div class=\"timepicker__separator\">\n <span>{this.separator}</span>\n </div>\n );\n }\n\n private getContent() {\n const elementsInOrder = [\n this.getHour24Picker(),\n this.getHour12Picker(),\n this.getMinutePicker(),\n this.getSecondsPicker(),\n this.getMillisecondsPicker(),\n ];\n\n const visibleElements = elementsInOrder.filter((el) => el !== undefined);\n\n return visibleElements.map((el, idx) => {\n if (idx === visibleElements.length - 1) {\n return [el];\n }\n\n return [el, this.getSeparator()];\n });\n }\n\n private openPopup() {\n if (!this.open && !this.disabled) {\n this.open = true;\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n }\n }\n\n private closePopup() {\n if (this.inline) {\n return;\n }\n\n this.open = false;\n this.eventListeners.remove(document, 'mousedown', this.handleDocumentMouseDown);\n }\n\n private handleDocumentMouseDown = (event: Event) => {\n // Close when clicking outside the containing element\n const path = event.composedPath() as EventTarget[];\n if (!path.includes(this.host)) {\n this.closePopup();\n return;\n }\n };\n\n private handleClearClick = (event: MouseEvent) => {\n event.stopPropagation();\n this.value = '';\n this.sixClear.emit();\n this.sixChange.emit({\n value: {},\n valueAsString: '',\n });\n };\n\n private renderClearable() {\n return (\n this.clearable && (\n <button\n slot=\"suffix\"\n class={{\n timepicker_clear: true,\n 'timepicker_clear--right': this.iconPosition === 'left',\n 'timepicker_clear--left': this.iconPosition === 'right',\n }}\n type=\"button\"\n onClick={this.handleClearClick}\n tabindex=\"-1\"\n >\n <six-icon size=\"small\">clear</six-icon>\n </button>\n )\n );\n }\n\n private renderCustomIcon() {\n const icon = hasSlot(this.host, 'custom-icon') ? (\n <slot name=\"custom-icon\"></slot>\n ) : (\n <six-icon size={this.size === 'large' ? 'medium' : this.size}>watch_later</six-icon>\n );\n\n return (\n <span\n slot=\"prefix\"\n part=\"icon\"\n class={{\n prefix: true,\n 'prefix--right': this.iconPosition === 'right',\n }}\n >\n {icon}\n </span>\n );\n }\n\n render() {\n return (\n <div part=\"container\" ref={(el) => (this.wrapper = el)} class=\"timepicker__container\">\n <six-input\n ref={(el) => (this.inputElement = el)}\n part=\"input\"\n onClick={() => this.openPopup()}\n value={this.value}\n placeholder={this.placeholder}\n readonly={this.readonly}\n disabled={this.disabled}\n errorTextCount={this.errorTextCount}\n errorText={this.errorText}\n invalid={this.invalid}\n size={this.size}\n name={this.name}\n label={this.label}\n required={this.required}\n class={{\n 'input--empty': this.value === '',\n 'input--hide': this.inline,\n }}\n >\n {this.renderCustomIcon()}\n {this.renderClearable()}\n {hasSlot(this.host, 'label') ? (\n <span slot=\"label\">\n <slot name=\"label\" />\n </span>\n ) : null}\n {hasSlot(this.host, 'error-text') ? (\n <span slot=\"error-text\">\n <slot name=\"error-text\" />\n </span>\n ) : null}\n </six-input>\n {this.open && (\n <div\n ref={(el) => (this.popup = el)}\n part=\"popup\"\n class={{\n timepicker__popup: true,\n 'timepicker__popup--is-up': this.placement == null ? this.placement === 'top' : this.isPopupContentUp,\n 'timepicker__popup--is-inline': this.inline,\n }}\n >\n {...this.getContent()}\n {this.getAmPmPicker()}\n </div>\n )}\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"six-timepicker.entry.cjs.js","mappings":";;;;;;;;;;;AAqCO,MAAM,uBAAuB,GAAG;IACrC,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC;IACvB,OAAO;QACL,KAAK,EAAE,GAAG,CAAC,QAAQ,EAAE;QACrB,OAAO,EAAE,GAAG,CAAC,UAAU,EAAE;QACzB,OAAO,EAAE,GAAG,CAAC,UAAU,EAAE;QACzB,YAAY,EAAE,GAAG,CAAC,eAAe,EAAE;QACnC,UAAU,EAAE,IAAI;KACjB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,6BAA6B,GAAG,EAAE,CAAC;AAElC,MAAM,sBAAsB,GAAG,CAAC,KAAa,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AG,IAAI,CAAC,SAAS,KAAK,KAAK,GAAG,IAAI,CAAC,gBAAgB;gBACrG,8BAA8B,EAAE,IAAI,CAAC,MAAM;aAC5C,OAEG,IAAI,CAAC,UAAU,EAAE,EACpB,IAAI,CAAC,aAAa,EAAE,CACjB,CACP,CACG,EACN;KACH;;;;;;;;;;","names":["EventListeners","DEFAULT_DEBOUNCE_FAST","DEFAULT_DEBOUNCE_INSANELY_FAST","debounce","adjustPopupForHoisting","movePopup","h","ItemPickerType","hasSlot"],"sources":["src/utils/time.util.ts","src/components/six-timepicker/six-timepicker.scss?tag=six-timepicker&encapsulation=shadow","src/components/six-timepicker/six-timepicker.tsx"],"sourcesContent":["export type TimePeriod = 'AM' | 'PM';\n\nexport interface Time {\n hours?: number;\n minutes?: number;\n seconds?: number;\n milliseconds?: number;\n has24Hours?: boolean; // true => 24h, false => 12h\n period?: TimePeriod; // only needed for 12-hour clock\n}\n\nexport type TimeProperties = keyof Time;\n\nexport type TimeFormatChar =\n | 'HH' // 24h\n | 'hh' // 12h\n | 'mm' // minutes\n | 'ss' // seconds\n | 'ms' // milliseconds\n | 'aa'; // period (AM/PM)\n\n/*\n * Supported time formats\n */\nexport type TimeFormat =\n | 'HH:mm:ss'\n | 'hh:mm:ss:aa'\n | 'HH:mm:ss:ms'\n | 'hh:mm:ss:ms:aa'\n | 'HH:mm'\n | 'hh:mm:aa'\n | 'HH'\n | 'hh:aa'\n | 'mm'\n | 'ss'\n | 'ms';\n\nexport const getCurrentTimeIn24Hours = (): Time => {\n const now = new Date();\n return {\n hours: now.getHours(),\n minutes: now.getMinutes(),\n seconds: now.getSeconds(),\n milliseconds: now.getMilliseconds(),\n has24Hours: true,\n };\n};\n\nconst HOURS_IN_12_HOUR_CLOCK_FORMAT = 12;\n\nexport const getHoursIn12HourFormat = (hours: number) =>\n hours > HOURS_IN_12_HOUR_CLOCK_FORMAT ? hours - HOURS_IN_12_HOUR_CLOCK_FORMAT : hours;\n\nexport const getCurrentTimeIn12Hours = (): Time => {\n const now = new Date();\n const hours = now.getHours();\n return {\n hours: getHoursIn12HourFormat(hours),\n minutes: now.getMinutes(),\n seconds: now.getSeconds(),\n milliseconds: now.getMilliseconds(),\n has24Hours: false,\n period: hours >= HOURS_IN_12_HOUR_CLOCK_FORMAT ? 'PM' : 'AM',\n };\n};\n\nexport const getCurrentTime = (has24Hours = true): Time => {\n return has24Hours ? getCurrentTimeIn24Hours() : getCurrentTimeIn12Hours();\n};\n\nexport const isValidTimeString = (timeStr: string, format: TimeFormat) => {\n const timeStringParts = timeStr.split(':');\n const timeFormatParts = format.split(':');\n return timeStringParts.length === timeFormatParts.length;\n};\n\nexport const parseTimeString = (timeStr: string, format: TimeFormat): Time => {\n const timeParts = timeStr.split(':');\n const formatParts = format.split(':') as TimeFormatChar[];\n\n if (!isValidTimeString(timeStr, format)) {\n console.error(\n `Timestring did not match expected format.\\nExpected format: ${format}\\nReceived timestring: ${timeStr}`\n );\n }\n\n const time: Time = {};\n\n timeParts.forEach((timeStringPart, i) => {\n const formatStringPart: TimeFormatChar = formatParts[i];\n switch (formatStringPart) {\n case 'HH':\n time.hours = Number(timeStringPart);\n time.has24Hours = true;\n break;\n case 'hh':\n time.hours = Number(timeStringPart);\n time.has24Hours = false;\n break;\n case 'mm':\n time.minutes = Number(timeStringPart);\n break;\n case 'ss':\n time.seconds = Number(timeStringPart);\n break;\n case 'ms':\n time.milliseconds = Number(timeStringPart);\n break;\n case 'aa':\n time.period = timeStringPart.toUpperCase() === 'PM' ? 'PM' : 'AM';\n }\n });\n return time;\n};\n\nexport const createTimeString = (time: Time | undefined, format: TimeFormat): string => {\n if (time == null) {\n return '';\n }\n\n const formatParts = format.split(':') as TimeFormatChar[];\n\n return formatParts\n .map((timeFormatPart) => {\n switch (timeFormatPart) {\n case 'HH':\n case 'hh':\n return String(time.hours).padStart(2, '0');\n case 'mm':\n return String(time.minutes).padStart(2, '0');\n case 'ss':\n return String(time.seconds).padStart(2, '0');\n case 'ms':\n return String(time.milliseconds).padStart(3, '0');\n case 'aa':\n return String(time.period);\n }\n })\n .join(':');\n};\n","@import 'src/global/component';\n\n:host {\n display: block;\n font-family: var(--six-font-family);\n}\n\n.timepicker {\n &_clear {\n display: inline-flex;\n align-items: center;\n font-size: inherit;\n color: var(--six-input-icon-color);\n border: none;\n background: none;\n padding: 0;\n transition: var(--six-transition-fast) color;\n cursor: pointer;\n\n &:hover {\n color: var(--six-input-icon-color-hover);\n }\n\n &:focus {\n outline: none;\n }\n\n &--right {\n right: 0;\n position: absolute;\n }\n\n &--left {\n right: 35px;\n position: absolute;\n }\n }\n\n &__container {\n position: relative;\n }\n\n &__popup {\n display: flex;\n justify-content: center;\n min-width: min-content;\n background-color: white;\n padding: 0.5em;\n box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%);\n user-select: none;\n position: absolute;\n z-index: var(--six-z-index-dropdown);\n right: 0;\n left: 0;\n\n &--is-up {\n bottom: 100%;\n }\n\n &--is-inline {\n position: initial;\n box-shadow: none;\n border: 1px solid var(--six-color-web-rock-400);\n }\n }\n\n &__separator {\n display: flex;\n align-items: center;\n }\n\n &__item {\n &--wide {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n }\n }\n}\n\n.input--empty .timepicker_clear {\n visibility: hidden;\n}\n\n.input--hide {\n display: none;\n}\n\n// Icon position\n.prefix {\n cursor: pointer;\n\n &--right {\n right: 0;\n display: inline-flex;\n position: absolute;\n font-size: inherit;\n color: var(--six-input-icon-color);\n border: none;\n background: none;\n margin-right: var(--six-input-spacing-medium);\n transition: var(--six-transition-fast) color;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Listen, Method, Prop, State, Watch } from '@stencil/core';\nimport { ItemPickerType } from '../six-item-picker/types';\nimport {\n createTimeString,\n getCurrentTime,\n isValidTimeString,\n parseTimeString,\n Time,\n TimeFormat,\n TimeProperties,\n} from '../../utils/time.util';\nimport { debounce, DEFAULT_DEBOUNCE_FAST, DEFAULT_DEBOUNCE_INSANELY_FAST } from '../../utils/execution-control';\nimport { SixItemPickerChangePayload } from '../six-item-picker/six-item-picker';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { adjustPopupForHoisting, movePopup } from '../../utils/popup';\n\nexport interface SixTimepickerChange {\n value?: Time;\n valueAsString: string;\n changedProperty?: string;\n}\n\ninterface SixTimeUnitPickerParams {\n min?: number;\n max?: number;\n items?: string[];\n type?: ItemPickerType;\n class?: string;\n paddingLength?: number;\n propertyName: TimeProperties;\n}\n\nconst MIN_POPUP_HEIGHT = 145;\n\n/**\n * @since 2.0.0\n * @status experimental\n *\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part input - The input field\n * @part container - The container of whole component\n * @part popup - The popup of the timepicker component\n *\n */\n@Component({\n tag: 'six-timepicker',\n styleUrl: 'six-timepicker.scss',\n shadow: true,\n})\nexport class SixTimepicker {\n private eventListeners = new EventListeners();\n private popup?: HTMLElement;\n private wrapper?: HTMLElement;\n private inputElement?: HTMLSixInputElement;\n\n @Element() host!: HTMLSixTimepickerElement;\n\n /**\n * Define the time format. Valid formats are:\n *\n * HH:mm:ss\n * hh:mm:ss:aa\n * HH:mm:ss:ms\n * hh:mm:ss:ms:aa\n * HH:mm\n * hh:mm:aa\n * HH\n * hh:aa\n * mm\n * ss\n * ms\n *\n * where HH is the 24 hour format\n * and hh is the 12 hour format\n *\n * Please notice that when using the 12-hour-clock (hh)\n * you always need a period indicator (aa). So the time can be parsed as either am or pm\n * */\n @Prop() format: TimeFormat = 'HH:mm:ss';\n\n /**\n * Define the separator to be shown between the time unit pickers.\n * Please be aware that this property will modify the displayed separator only.\n * The separator for a timestring is always expected to be a colon (eg. '13:52:20')\n * */\n @Prop() separator = ':';\n\n /**\n * The value of the timepicker provided as a string. The string mast match the provided format (or default format)\n */\n @Prop({ mutable: true }) value = '';\n\n /** Indicates whether the timepicker dropdown is open on startup. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Indicates whether the timepicker should be shown as an inline (always open) component */\n @Prop({ reflect: true }) inline = false;\n\n /**\n * If `true` the user can only select a time via the timepicker but not directly edit the input field.\n */\n @Prop() readonly = false;\n\n /**\n * If `true` the component is disabled.\n */\n @Prop() disabled = false;\n\n /**\n * The enforced placement of the dropdown panel.\n */\n @Prop() placement?: 'top' | 'bottom';\n\n /** Timepicker size. */\n @Prop() size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /**\n * The placeholder defines what text to be shown on the input element\n */\n @Prop() placeholder?: string;\n\n /** The input's error text. Alternatively, you can use the error-text slot. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** The input's label. Alternatively, you can use the label slot. */\n @Prop() label = '';\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n /** The input's name attribute. */\n @Prop({ reflect: true }) name = '';\n\n /** Set to true to add a clear button when the input is populated. */\n @Prop() clearable = false;\n\n /** Set the position of the icon */\n @Prop() iconPosition: 'left' | 'right' = 'left';\n\n /**\n * Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n * `overflow: auto|scroll`.\n */\n @Prop() hoist = false;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger faster switching between timeunits (e.g. hours).\n */\n @Prop() timeout = DEFAULT_DEBOUNCE_FAST;\n\n /**\n * Set the amount of time, in milliseconds, to wait between switching to next timeunit (e.g. next hour) when mouse button is held pressed.\n */\n @Prop() interval = DEFAULT_DEBOUNCE_INSANELY_FAST;\n\n /**\n * The defaultTime defines the default setting for the timepicker when you open the popup. Default time must match the provided format.\n */\n @Prop() defaultTime?: string;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger the `six-timepicker-change-debounced` event.\n * If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce\n * is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click\n * (and keep pressed) and once you release\n */\n @Prop() debounce = DEFAULT_DEBOUNCE_FAST;\n\n /**\n * Emitted when the timepicker's value changes\n */\n @Event({ eventName: 'six-timepicker-change' }) sixChange!: EventEmitter<SixTimepickerChange>;\n\n /**\n * Emitted when the timepicker's value changes, but debounced\n */\n @Event({ eventName: 'six-timepicker-change-debounced' }) sixChangeDebounced!: EventEmitter<SixTimepickerChange>;\n\n /**\n * Emitted when the clear button is activated.\n */\n @Event({ eventName: 'six-timepicker-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n @State() isPopupContentUp = false;\n\n @State() isDropDownContentUp = false;\n\n @Listen('resize', { target: 'window' })\n async resizeHandler() {\n this.calcIsPopupContentUp();\n this.moveOpenHoistedPopup();\n }\n\n @Listen('scroll', { target: 'window' })\n async scrollHandler() {\n this.calcIsPopupContentUp();\n this.moveOpenHoistedPopup();\n }\n\n /**\n * Update the native input element when the value changes\n */\n @Watch('value')\n protected valueChanged() {\n this.updateValue();\n }\n\n /** Sets focus on the datepickers input. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.inputElement?.setFocus(options);\n }\n\n /*\n * Internally the six-timepicker uses a standardized representation of time, so we don't have a mess,\n * when switching between formats\n */\n @State() private popupValue: Time = {};\n\n connectedCallback() {\n this.eventListeners.forward('six-timepicker-change', 'change', this.host);\n }\n\n componentWillLoad() {\n this.updateValue();\n\n if (this.inline) {\n this.open = true;\n }\n\n if (this.open) {\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n }\n }\n\n componentDidLoad() {\n if (this.inputElement == null) return;\n const inputElement = this.inputElement;\n\n // emit debounced change event\n this.eventListeners.add(\n this.host,\n 'six-timepicker-change',\n debounce((event: Event) => this.sixChangeDebounced.emit((event as CustomEvent).detail), this.debounce)\n );\n\n // update value and popup value based on input-element value\n this.eventListeners.add(\n inputElement,\n 'six-input-input',\n debounce((event: Event) => {\n event.stopPropagation();\n\n // emit empty event if time string is invalid\n if (!isValidTimeString(inputElement.value, this.format)) {\n this.value = inputElement.value;\n this.sixChange.emit({\n value: {},\n valueAsString: '',\n });\n return;\n }\n\n // update value and popup value, and emit the new value\n this.value = inputElement.value;\n this.popupValue = parseTimeString(inputElement.value, this.format);\n this.sixChange.emit({\n value: this.popupValue,\n valueAsString: createTimeString(this.popupValue, this.format),\n });\n }, this.debounce)\n );\n }\n\n componentDidRender() {\n adjustPopupForHoisting(\n this.hoist,\n this.popup,\n this.inputElement,\n this.wrapper,\n MIN_POPUP_HEIGHT,\n (isUp) => (this.isDropDownContentUp = isUp)\n );\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n private updateValue() {\n // normalize value\n if (typeof this.value !== 'string' || !isValidTimeString(this.value, this.format)) {\n this.value = '';\n }\n\n // update popup value\n if (this.value === '') {\n if (this.defaultTime == null) {\n this.popupValue = getCurrentTime(this.is24HourClock());\n } else {\n this.popupValue = parseTimeString(this.defaultTime, this.format);\n }\n } else {\n this.popupValue = parseTimeString(this.value, this.format);\n }\n }\n\n private calcIsPopupContentUp() {\n if (this.inputElement == null || this.wrapper == null) {\n return;\n }\n\n const inputBoundingRect = this.inputElement.getBoundingClientRect();\n const wrapperBoundingRect = this.wrapper.getBoundingClientRect();\n const minPopupHeight = Math.max(wrapperBoundingRect.height, MIN_POPUP_HEIGHT);\n\n const moreSpaceInTop = inputBoundingRect.y > window.innerHeight / 2;\n this.isPopupContentUp = moreSpaceInTop && window.innerHeight < inputBoundingRect.bottom + minPopupHeight;\n }\n\n private moveOpenHoistedPopup() {\n movePopup(this.hoist, this.open, this.popup, this.inputElement, this.wrapper, MIN_POPUP_HEIGHT);\n }\n\n private handlePickerChange = (event: CustomEvent<SixItemPickerChangePayload>, property: TimeProperties) => {\n // stop propagation, since the timepicker should not expose the events of the underlying item-picker\n event.stopPropagation();\n if (this.popupValue == null) {\n return;\n }\n\n // update the internal state\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this.popupValue[property] = event.detail;\n\n const timeString = createTimeString(this.popupValue, this.format);\n\n // update the input value\n this.value = timeString;\n\n // emit change event\n this.sixChange.emit({\n changedProperty: property,\n value: this.popupValue,\n valueAsString: timeString,\n });\n };\n\n private getSixTimeUnitPicker(params: SixTimeUnitPickerParams) {\n return (\n <six-item-picker\n class={params.class}\n timeout={this.timeout}\n interval={this.interval}\n padded\n min={params.min}\n max={params.max}\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n value={this.popupValue[params.propertyName]}\n items={params.items}\n type={params.type || ItemPickerType.NUMBER}\n padding-length={params.paddingLength}\n onSix-item-picker-change={(event) => this.handlePickerChange(event, params.propertyName)}\n ></six-item-picker>\n );\n }\n\n private getHour24Picker() {\n if (!this.is24HourClock()) {\n return;\n }\n return this.getSixTimeUnitPicker({ min: 0, max: 23, propertyName: 'hours' });\n }\n\n private is24HourClock() {\n return this.format.includes('HH');\n }\n\n private getHour12Picker() {\n if (!this.is12HourClock()) {\n return;\n }\n return this.getSixTimeUnitPicker({ min: 0, max: 11, propertyName: 'hours' });\n }\n\n private is12HourClock() {\n return this.format.includes('hh');\n }\n\n private getAmPmPicker() {\n if (!this.is12HourClock()) {\n return;\n }\n const items = ['AM', 'PM'];\n return this.getSixTimeUnitPicker({\n items,\n type: ItemPickerType.CUSTOM,\n propertyName: 'period',\n });\n }\n\n private getMinutePicker() {\n if (!this.format.includes('mm')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName: 'minutes' });\n }\n\n private getSecondsPicker() {\n if (!this.format.includes('ss')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName: 'seconds' });\n }\n\n private getMillisecondsPicker() {\n if (!this.format.includes('ms')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({\n min: 0,\n max: 999,\n class: 'timepicker__item--wide',\n paddingLength: 3,\n propertyName: 'milliseconds',\n });\n }\n\n private getSeparator() {\n return (\n <div class=\"timepicker__separator\">\n <span>{this.separator}</span>\n </div>\n );\n }\n\n private getContent() {\n const elementsInOrder = [\n this.getHour24Picker(),\n this.getHour12Picker(),\n this.getMinutePicker(),\n this.getSecondsPicker(),\n this.getMillisecondsPicker(),\n ];\n\n const visibleElements = elementsInOrder.filter((el) => el !== undefined);\n\n return visibleElements.map((el, idx) => {\n if (idx === visibleElements.length - 1) {\n return [el];\n }\n\n return [el, this.getSeparator()];\n });\n }\n\n private openPopup() {\n if (!this.open && !this.disabled) {\n this.open = true;\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n }\n }\n\n private closePopup() {\n if (this.inline) {\n return;\n }\n\n this.open = false;\n this.eventListeners.remove(document, 'mousedown', this.handleDocumentMouseDown);\n }\n\n private handleDocumentMouseDown = (event: Event) => {\n // Close when clicking outside the containing element\n const path = event.composedPath() as EventTarget[];\n if (!path.includes(this.host)) {\n this.closePopup();\n return;\n }\n };\n\n private handleClearClick = (event: MouseEvent) => {\n event.stopPropagation();\n this.value = '';\n this.sixClear.emit();\n this.sixChange.emit({\n value: {},\n valueAsString: '',\n });\n };\n\n private renderClearable() {\n return (\n this.clearable && (\n <button\n slot=\"suffix\"\n class={{\n timepicker_clear: true,\n 'timepicker_clear--right': this.iconPosition === 'left',\n 'timepicker_clear--left': this.iconPosition === 'right',\n }}\n type=\"button\"\n onClick={this.handleClearClick}\n tabindex=\"-1\"\n >\n <six-icon size=\"small\">clear</six-icon>\n </button>\n )\n );\n }\n\n private renderCustomIcon() {\n const icon = hasSlot(this.host, 'custom-icon') ? (\n <slot name=\"custom-icon\"></slot>\n ) : (\n <six-icon size={this.size === 'large' ? 'medium' : this.size}>watch_later</six-icon>\n );\n\n return (\n <span\n slot=\"prefix\"\n part=\"icon\"\n class={{\n prefix: true,\n 'prefix--right': this.iconPosition === 'right',\n }}\n >\n {icon}\n </span>\n );\n }\n\n render() {\n return (\n <div part=\"container\" ref={(el) => (this.wrapper = el)} class=\"timepicker__container\">\n <six-input\n ref={(el) => (this.inputElement = el)}\n part=\"input\"\n onClick={() => this.openPopup()}\n value={this.value}\n placeholder={this.placeholder}\n readonly={this.readonly}\n disabled={this.disabled}\n errorTextCount={this.errorTextCount}\n errorText={this.errorText}\n invalid={this.invalid}\n size={this.size}\n name={this.name}\n label={this.label}\n required={this.required}\n class={{\n 'input--empty': this.value === '',\n 'input--hide': this.inline,\n }}\n >\n {this.renderCustomIcon()}\n {this.renderClearable()}\n {hasSlot(this.host, 'label') ? (\n <span slot=\"label\">\n <slot name=\"label\" />\n </span>\n ) : null}\n {hasSlot(this.host, 'error-text') ? (\n <span slot=\"error-text\">\n <slot name=\"error-text\" />\n </span>\n ) : null}\n </six-input>\n {this.open && (\n <div\n ref={(el) => (this.popup = el)}\n part=\"popup\"\n class={{\n timepicker__popup: true,\n 'timepicker__popup--is-up': this.placement == null ? this.placement === 'top' : this.isPopupContentUp,\n 'timepicker__popup--is-inline': this.inline,\n }}\n >\n {...this.getContent()}\n {this.getAmPmPicker()}\n </div>\n )}\n </div>\n );\n }\n}\n"],"version":3}
@@ -154,10 +154,10 @@ const SixTooltip = class {
154
154
  });
155
155
  }
156
156
  render() {
157
- return (index.h(index.Host, { key: '16e00bb78ae53bf05f9f7844db1066ea1a9712e9', onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onMouseOut: this.handleMouseOut }, index.h("slot", { key: '217252a61b1cdde92192d752a3115c05e3530445', onSlotchange: this.handleSlotChange }), index.h("div", { key: 'd80462cc7aafdd60459dad72be176aafa2660e7d', ref: (el) => (this.tooltipPositioner = el), class: "tooltip-positioner" }, index.h("div", { key: '28b80d3d255e77d46c1b235a0cf98273aa6812c0', part: "base", ref: (el) => (this.tooltip = el), id: this.componentId, class: {
157
+ return (index.h(index.Host, { key: 'b1517f225d268234d3b5b2bc48308f554fc69700', onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onMouseOut: this.handleMouseOut }, index.h("slot", { key: '5050b1106ffb536a7c9fd0a905014af549294a3e', onSlotchange: this.handleSlotChange }), index.h("div", { key: '2d1caefa96332aa56b5e8a01213c8e3adb2c378a', ref: (el) => (this.tooltipPositioner = el), class: "tooltip-positioner" }, index.h("div", { key: '338c6d46c3192b2112aae9f6d3aad482ce722949', part: "base", ref: (el) => (this.tooltip = el), id: this.componentId, class: {
158
158
  tooltip: true,
159
159
  'tooltip--open': this.open,
160
- }, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, index.h("slot", { key: '4bff119fb74d2eaa58bef4c598c89263350c8b0a', name: "content" }, this.content)))));
160
+ }, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, index.h("slot", { key: '767d9be06a0e0ad3455acbd88e9923a45aa7d096', name: "content" }, this.content)))));
161
161
  }
162
162
  get host() { return index.getElement(this); }
163
163
  static get watchers() { return {
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy(JSON.parse("[[\"six-header.cjs\",[[1,\"six-header\",{\"custom\":[4],\"shiftContent\":[4,\"shift-content\"],\"hideHamburgerMenu\":[4,\"hide-hamburger-menu\"],\"openHamburgerMenu\":[4,\"open-hamburger-menu\"],\"openSearch\":[4,\"open-search\"],\"clickableLogo\":[4,\"clickable-logo\"],\"logo\":[1],\"selectedApp\":[32],\"selectedSection\":[32],\"setSearchOpenState\":[64],\"getIsSearchOpen\":[64]},null,{\"openSearch\":[\"handleOpenSearchChange\"]}]]],[\"six-select.cjs\",[[1,\"six-select\",{\"multiple\":[4],\"selectAllButton\":[4,\"select-all-button\"],\"selectAllText\":[1,\"select-all-text\"],\"maxTagsVisible\":[2,\"max-tags-visible\"],\"disabled\":[4],\"name\":[1],\"placeholder\":[1],\"filterPlaceholder\":[1,\"filter-placeholder\"],\"filterDebounce\":[2,\"filter-debounce\"],\"size\":[1],\"hoist\":[4],\"value\":[1025],\"pill\":[4],\"helpText\":[1,\"help-text\"],\"required\":[4],\"clearable\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"line\":[4],\"filter\":[4],\"asyncFilter\":[4,\"async-filter\"],\"autocomplete\":[4],\"inputDebounce\":[2,\"input-debounce\"],\"options\":[16],\"virtualScroll\":[4,\"virtual-scroll\"],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32],\"hasErrorTextSlot\":[32],\"isOpen\":[32],\"displayedValues\":[32],\"selectionContainerItems\":[32],\"setFocus\":[64]},null,{\"disabled\":[\"handleDisabledChange\"],\"helpText\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"],\"multiple\":[\"handleMultipleChange\"],\"value\":[\"handleValueChange\"]}]]],[\"six-header-dropdown-item.cjs\",[[1,\"six-header-dropdown-item\",{\"active\":[32]}]]],[\"six-datepicker.cjs\",[[1,\"six-datepicker\",{\"type\":[1],\"locale\":[1],\"open\":[1540],\"inline\":[516],\"readonly\":[4],\"disabled\":[4],\"allowedDates\":[16],\"min\":[16],\"max\":[16],\"closeOnSelect\":[4,\"close-on-select\"],\"placement\":[1],\"size\":[1],\"required\":[4],\"defaultDate\":[1,\"default-date\"],\"placeholder\":[1],\"value\":[1040],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"containingElement\":[16],\"dateFormat\":[1,\"date-format\"],\"debounce\":[2],\"name\":[513],\"clearable\":[4],\"iconPosition\":[1,\"icon-position\"],\"hoist\":[4],\"pointerDate\":[32],\"selectionMode\":[32],\"isDropDownContentUp\":[32],\"setFocus\":[64],\"select\":[64]},[[9,\"resize\",\"resizeHandler\"],[9,\"scroll\",\"scrollHandler\"]],{\"debounce\":[\"debounceChanged\"],\"value\":[\"valueChanged\"]}]]],[\"six-file-upload.cjs\",[[6,\"six-file-upload\",{\"compact\":[4],\"label\":[1],\"disabled\":[4],\"accept\":[1],\"multiple\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"uploading\":[516],\"errorText\":[1,\"error-text\"],\"invalid\":[516],\"isOver\":[32],\"hasError\":[32]},[[1,\"dragenter\",\"dragenterHandler\"],[1,\"dragover\",\"dragoverHandler\"],[1,\"dragleave\",\"dragleaveHandler\"],[1,\"drop\",\"dropHandler\"]]]]],[\"six-header-menu-button.cjs\",[[1,\"six-header-menu-button\",{\"icon\":[513]}]]],[\"six-search-field.cjs\",[[1,\"six-search-field\",{\"placeholder\":[1],\"debounce\":[514],\"disabled\":[516],\"value\":[513],\"clearable\":[4]},null,{\"value\":[\"handleValueChange\"]}]]],[\"six-tag.cjs\",[[1,\"six-tag\",{\"type\":[513],\"size\":[513],\"pill\":[516],\"clearable\":[516]}]]],[\"six-tile.cjs\",[[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]}]]],[\"six-alert.cjs\",[[1,\"six-alert\",{\"open\":[1540],\"closable\":[516],\"type\":[513],\"duration\":[2],\"isVisible\":[32],\"show\":[64],\"hide\":[64],\"toast\":[64]},null,{\"open\":[\"handleOpenChange\"],\"duration\":[\"handleDurationChange\"]}]]],[\"six-dialog.cjs\",[[1,\"six-dialog\",{\"open\":[1540],\"label\":[1],\"noHeader\":[4,\"no-header\"],\"hasFooter\":[32],\"isVisible\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-drawer.cjs\",[[1,\"six-drawer\",{\"open\":[1540],\"label\":[1],\"placement\":[1],\"contained\":[4],\"noHeader\":[4,\"no-header\"],\"hasFooter\":[32],\"isVisible\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-root.cjs\",[[1,\"six-root\",{\"padded\":[4],\"stage\":[1],\"version\":[1]}]]],[\"six-sidebar-item-group.cjs\",[[1,\"six-sidebar-item-group\",{\"name\":[1],\"icon\":[1],\"value\":[513],\"open\":[516],\"summaryIcon\":[1,\"summary-icon\"],\"href\":[513],\"hasItems\":[32],\"summaryIconHasContent\":[32]}]]],[\"six-tab.cjs\",[[1,\"six-tab\",{\"panel\":[513],\"active\":[516],\"closable\":[4],\"disabled\":[516],\"setFocus\":[64],\"removeFocus\":[64]}]]],[\"six-tab-group.cjs\",[[1,\"six-tab-group\",{\"placement\":[1],\"noScrollControls\":[4,\"no-scroll-controls\"],\"hasLeftControl\":[32],\"hasRightControl\":[32],\"show\":[64]},null,{\"noScrollControls\":[\"handleNoScrollControlsChange\"]}]]],[\"six-avatar.cjs\",[[1,\"six-avatar\",{\"image\":[1],\"alt\":[1],\"initials\":[1],\"shape\":[1],\"hasError\":[32]}]]],[\"six-error-page.cjs\",[[1,\"six-error-page\",{\"errorCode\":[2,\"error-code\"],\"language\":[1],\"customTitle\":[1,\"custom-title\"],\"customDescription\":[16],\"customIcon\":[1,\"custom-icon\"]}]]],[\"six-file-list-item.cjs\",[[1,\"six-file-list-item\",{\"identifier\":[513],\"name\":[513],\"date\":[513],\"size\":[514],\"nodownload\":[516],\"nodelete\":[516]}]]],[\"six-group-label.cjs\",[[1,\"six-group-label\",{\"size\":[513],\"label\":[1],\"helpText\":[1,\"help-text\"],\"disabled\":[516],\"required\":[4],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32]},null,{\"helpText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"]}]]],[\"six-range.cjs\",[[1,\"six-range\",{\"name\":[1],\"value\":[1026],\"required\":[4],\"helpText\":[1,\"help-text\"],\"disabled\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"min\":[2],\"max\":[2],\"step\":[2],\"tooltip\":[1],\"tooltipFormatter\":[16],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasErrorTextSlot\":[32],\"hasLabelSlot\":[32],\"hasTooltip\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"label\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"helpText\":[\"handleLabelChange\"],\"value\":[\"handleValueChange\"],\"min\":[\"handleValueChange\"],\"max\":[\"handleValueChange\"]}]]],[\"six-switch.cjs\",[[1,\"six-switch\",{\"name\":[1],\"value\":[1],\"disabled\":[4],\"required\":[4],\"checked\":[1540],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"hasFocus\":[32],\"hasErrorTextSlot\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"checked\":[\"handleCheckedChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"]}]]],[\"six-textarea.cjs\",[[1,\"six-textarea\",{\"size\":[513],\"name\":[513],\"value\":[1537],\"helpText\":[1,\"help-text\"],\"placeholder\":[1],\"rows\":[2],\"resize\":[1],\"disabled\":[516],\"readonly\":[516],\"minlength\":[514],\"maxlength\":[514],\"required\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"autocapitalize\":[1],\"autocorrect\":[1],\"autocomplete\":[1],\"autofocus\":[4],\"spellcheck\":[4],\"inputmode\":[1],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32],\"hasErrorTextSlot\":[32],\"setFocus\":[64],\"removeFocus\":[64],\"select\":[64],\"setSelectionRange\":[64],\"setRangeText\":[64]},null,{\"helpText\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"],\"rows\":[\"handleRowsChange\"],\"value\":[\"handleValueChange\"]}]]],[\"six-badge.cjs\",[[1,\"six-badge\",{\"type\":[1],\"pill\":[4],\"pulse\":[4]}]]],[\"six-card.cjs\",[[1,\"six-card\"]]],[\"six-file-list.cjs\",[[1,\"six-file-list\"]]],[\"six-footer.cjs\",[[1,\"six-footer\"]]],[\"six-language-switcher.cjs\",[[1,\"six-language-switcher\",{\"selected\":[1537],\"languages\":[16]},null,{\"languages\":[\"handleChangesLanguages\"]}]]],[\"six-layout-grid.cjs\",[[1,\"six-layout-grid\",{\"columns\":[1026]},null,{\"columns\":[\"handleColumnsChange\"]}]]],[\"six-main-container.cjs\",[[1,\"six-main-container\",{\"padded\":[4]}]]],[\"six-menu-divider.cjs\",[[1,\"six-menu-divider\"]]],[\"six-menu-label.cjs\",[[1,\"six-menu-label\"]]],[\"six-progress-bar.cjs\",[[1,\"six-progress-bar\",{\"percentage\":[2],\"indeterminate\":[4]}]]],[\"six-progress-ring.cjs\",[[1,\"six-progress-ring\",{\"size\":[2],\"strokeWidth\":[2,\"stroke-width\"],\"percentage\":[2]},null,{\"percentage\":[\"handlePercentageChange\"]}]]],[\"six-radio.cjs\",[[1,\"six-radio\",{\"name\":[1],\"value\":[513],\"disabled\":[4],\"checked\":[1540],\"invalid\":[516],\"hasFocus\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"checked\":[\"handleCheckedChange\"],\"name\":[\"handleNameChange\"]}]]],[\"six-sidebar.cjs\",[[1,\"six-sidebar\",{\"position\":[1],\"open\":[1540],\"width\":[1],\"toggled\":[4],\"isVisible\":[32],\"toggle\":[64],\"show\":[64],\"hide\":[64],\"selectItemByIndex\":[64],\"selectItemByName\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-sidebar-item.cjs\",[[1,\"six-sidebar-item\",{\"value\":[513],\"selected\":[516],\"disabled\":[516],\"href\":[513]}]]],[\"six-tab-panel.cjs\",[[1,\"six-tab-panel\",{\"name\":[1],\"active\":[516]}]]],[\"six-error.cjs\",[[1,\"six-error\"]]],[\"six-icon.cjs\",[[1,\"six-icon\",{\"size\":[513],\"filled\":[4]}]]],[\"six-timepicker.cjs\",[[1,\"six-timepicker\",{\"format\":[1],\"separator\":[1],\"value\":[1025],\"open\":[1540],\"inline\":[516],\"readonly\":[4],\"disabled\":[4],\"placement\":[1],\"size\":[1],\"required\":[4],\"placeholder\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"label\":[1],\"invalid\":[516],\"name\":[513],\"clearable\":[4],\"iconPosition\":[1,\"icon-position\"],\"hoist\":[4],\"timeout\":[2],\"interval\":[2],\"defaultTime\":[1,\"default-time\"],\"debounce\":[2],\"isPopupContentUp\":[32],\"isDropDownContentUp\":[32],\"popupValue\":[32],\"setFocus\":[64]},[[9,\"resize\",\"resizeHandler\"],[9,\"scroll\",\"scrollHandler\"]],{\"value\":[\"valueChanged\"]}]]],[\"six-details.cjs\",[[1,\"six-details\",{\"open\":[1540],\"summary\":[1],\"summaryIcon\":[1,\"summary-icon\"],\"summaryIconSize\":[513,\"summary-icon-size\"],\"disabled\":[4],\"inline\":[4],\"selectableEmpty\":[4,\"selectable-empty\"],\"hasContent\":[4,\"has-content\"],\"animateSummaryIcon\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-stage-indicator.cjs\",[[1,\"six-stage-indicator\",{\"stage\":[1]}]]],[\"six-picto.cjs\",[[1,\"six-picto\",{\"size\":[1],\"svgContent\":[32]}]]],[\"six-button.cjs\",[[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]}]]],[\"six-item-picker.cjs\",[[1,\"six-item-picker\",{\"value\":[1544],\"type\":[1],\"min\":[1544],\"max\":[1544],\"roundtrip\":[516],\"step\":[514],\"items\":[16],\"padded\":[4],\"paddingLength\":[2,\"padding-length\"],\"paddingChar\":[1,\"padding-char\"],\"paddingDirection\":[1,\"padding-direction\"],\"timeout\":[2],\"interval\":[2],\"debounce\":[2],\"_items\":[32],\"_itemIndexes\":[32]},null,{\"value\":[\"handleValueChange\"],\"debounce\":[\"debounceChanged\"],\"items\":[\"handleSetChange\"]}]]],[\"six-header-item_2.cjs\",[[1,\"six-header-item\",{\"active\":[516]}],[1,\"six-logo\",{\"brand\":[513]}]]],[\"six-tooltip.cjs\",[[1,\"six-tooltip\",{\"content\":[1],\"placement\":[1],\"disabled\":[4],\"distance\":[2],\"open\":[1540],\"skidding\":[2],\"trigger\":[1],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-spinner.cjs\",[[1,\"six-spinner\",{\"logo\":[1],\"six\":[4]}]]],[\"six-checkbox.cjs\",[[1,\"six-checkbox\",{\"name\":[1],\"value\":[1],\"disabled\":[4],\"required\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"checked\":[1540],\"indeterminate\":[1540],\"hasFocus\":[32],\"hasLabelSlot\":[32],\"hasErrorSlot\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"checked\":[\"handleCheckedChange\"],\"indeterminate\":[\"handleCheckedChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"]}]]],[\"six-input.cjs\",[[1,\"six-input\",{\"type\":[513],\"size\":[513],\"name\":[513],\"value\":[1537],\"pill\":[516],\"helpText\":[1,\"help-text\"],\"placeholder\":[1],\"disabled\":[516],\"readonly\":[516],\"minlength\":[514],\"maxlength\":[514],\"min\":[514],\"max\":[514],\"step\":[514],\"pattern\":[513],\"dropdownSearch\":[4,\"dropdown-search\"],\"required\":[4],\"autocapitalize\":[1],\"autocorrect\":[1],\"autocomplete\":[1],\"autofocus\":[4],\"spellcheck\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"clearable\":[4],\"togglePassword\":[4,\"toggle-password\"],\"inputmode\":[1],\"line\":[4],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32],\"hasErrorSlot\":[32],\"isPasswordVisible\":[32],\"setFocus\":[64],\"removeFocus\":[64],\"select\":[64],\"setSelectionRange\":[64],\"getSelectionRange\":[64],\"setRangeText\":[64]},null,{\"helpText\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"],\"value\":[\"handleValueChange\"]}]]],[\"six-icon-button.cjs\",[[1,\"six-icon-button\",{\"name\":[513],\"size\":[513],\"label\":[513],\"disabled\":[516],\"html\":[513],\"href\":[1],\"target\":[1],\"download\":[1]}]]],[\"six-dropdown_3.cjs\",[[1,\"six-dropdown\",{\"open\":[1540],\"placement\":[1],\"closeOnSelect\":[4,\"close-on-select\"],\"distance\":[2],\"skidding\":[2],\"hoist\":[4],\"containingElement\":[16],\"filter\":[4],\"asyncFilter\":[4,\"async-filter\"],\"filterPlaceholder\":[1,\"filter-placeholder\"],\"autofocusFilter\":[4,\"autofocus-filter\"],\"filterDebounce\":[1026,\"filter-debounce\"],\"disableHideOnEnterAndSpace\":[4,\"disable-hide-on-enter-and-space\"],\"options\":[1040],\"virtualScroll\":[4,\"virtual-scroll\"],\"matchTriggerWidth\":[4,\"match-trigger-width\"],\"renderedOptions\":[32],\"show\":[64],\"hide\":[64],\"reposition\":[64]},null,{\"open\":[\"handleOpenChange\"],\"distance\":[\"handlePopoverOptionsChange\"],\"hoist\":[\"handlePopoverOptionsChange\"],\"placement\":[\"handlePopoverOptionsChange\"],\"skidding\":[\"handlePopoverOptionsChange\"],\"options\":[\"handleOptionsChange\"],\"virtualScroll\":[\"handleOptionsChange\"]}],[1,\"six-menu\",{\"removeBoxShadow\":[4,\"remove-box-shadow\"],\"items\":[16],\"itemsShown\":[2,\"items-shown\"],\"virtualScroll\":[4,\"virtual-scroll\"],\"itemSize\":[2,\"item-size\"],\"scrollingDebounce\":[2,\"scrolling-debounce\"],\"disableKeyboardHandling\":[4,\"disable-keyboard-handling\"],\"scrollingIndex\":[32],\"sixMenuItemHeight\":[32],\"typeToSelect\":[64]}],[1,\"six-menu-item\",{\"checkType\":[1,\"check-type\"],\"checked\":[516],\"value\":[513],\"disabled\":[516],\"hasFocus\":[32],\"active\":[32],\"setFocus\":[64],\"removeFocus\":[64],\"getTextLabel\":[64]}]]]]"), options);
22
+ return index.bootstrapLazy(JSON.parse("[[\"six-select.cjs\",[[1,\"six-select\",{\"multiple\":[4],\"selectAllButton\":[4,\"select-all-button\"],\"selectAllText\":[1,\"select-all-text\"],\"disabled\":[4],\"name\":[1],\"placeholder\":[1],\"filterPlaceholder\":[1,\"filter-placeholder\"],\"filterDebounce\":[2,\"filter-debounce\"],\"size\":[1],\"hoist\":[4],\"value\":[1025],\"pill\":[4],\"helpText\":[1,\"help-text\"],\"required\":[4],\"clearable\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"line\":[4],\"filter\":[4],\"asyncFilter\":[4,\"async-filter\"],\"autocomplete\":[4],\"inputDebounce\":[2,\"input-debounce\"],\"options\":[16],\"virtualScroll\":[4,\"virtual-scroll\"],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32],\"hasErrorTextSlot\":[32],\"isOpen\":[32],\"displayedValues\":[32],\"selectionContainerItems\":[32],\"setFocus\":[64]},null,{\"disabled\":[\"handleDisabledChange\"],\"helpText\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"],\"multiple\":[\"handleMultipleChange\"],\"value\":[\"handleValueChange\"]}]]],[\"six-header-dropdown-item.cjs\",[[1,\"six-header-dropdown-item\",{\"filter\":[4],\"filterPlaceholder\":[1,\"filter-placeholder\"],\"active\":[32]}]]],[\"six-datepicker.cjs\",[[1,\"six-datepicker\",{\"type\":[1],\"locale\":[1],\"open\":[1540],\"inline\":[516],\"readonly\":[4],\"disabled\":[4],\"allowedDates\":[16],\"min\":[16],\"max\":[16],\"closeOnSelect\":[4,\"close-on-select\"],\"placement\":[1],\"size\":[1],\"required\":[4],\"defaultDate\":[1,\"default-date\"],\"placeholder\":[1],\"value\":[1040],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"containingElement\":[16],\"dateFormat\":[1,\"date-format\"],\"debounce\":[2],\"name\":[513],\"clearable\":[4],\"iconPosition\":[1,\"icon-position\"],\"hoist\":[4],\"pointerDate\":[32],\"selectionMode\":[32],\"isDropDownContentUp\":[32],\"setFocus\":[64],\"select\":[64]},[[9,\"resize\",\"resizeHandler\"],[9,\"scroll\",\"scrollHandler\"]],{\"debounce\":[\"debounceChanged\"],\"value\":[\"valueChanged\"]}]]],[\"six-file-upload.cjs\",[[6,\"six-file-upload\",{\"compact\":[4],\"label\":[1],\"disabled\":[4],\"accept\":[1],\"multiple\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"uploading\":[516],\"errorText\":[1,\"error-text\"],\"invalid\":[516],\"isOver\":[32],\"hasError\":[32]},[[1,\"dragenter\",\"dragenterHandler\"],[1,\"dragover\",\"dragoverHandler\"],[1,\"dragleave\",\"dragleaveHandler\"],[1,\"drop\",\"dropHandler\"]]]]],[\"six-search-field.cjs\",[[1,\"six-search-field\",{\"placeholder\":[1],\"debounce\":[514],\"disabled\":[516],\"value\":[513],\"clearable\":[4]},null,{\"value\":[\"handleValueChange\"]}]]],[\"six-tag.cjs\",[[1,\"six-tag\",{\"type\":[513],\"size\":[513],\"pill\":[516],\"clearable\":[516]}]]],[\"six-tile.cjs\",[[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]}]]],[\"six-alert.cjs\",[[1,\"six-alert\",{\"open\":[1540],\"closable\":[516],\"type\":[513],\"duration\":[2],\"isVisible\":[32],\"show\":[64],\"hide\":[64],\"toast\":[64]},null,{\"open\":[\"handleOpenChange\"],\"duration\":[\"handleDurationChange\"]}]]],[\"six-dialog.cjs\",[[1,\"six-dialog\",{\"open\":[1540],\"label\":[1],\"noHeader\":[4,\"no-header\"],\"hasFooter\":[32],\"isVisible\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-drawer.cjs\",[[1,\"six-drawer\",{\"open\":[1540],\"label\":[1],\"placement\":[1],\"contained\":[4],\"noHeader\":[4,\"no-header\"],\"hasFooter\":[32],\"isVisible\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-header-menu-button.cjs\",[[1,\"six-header-menu-button\",{\"caret\":[4],\"disabled\":[516],\"loading\":[516],\"submit\":[516],\"reset\":[516]}]]],[\"six-root.cjs\",[[1,\"six-root\",{\"padded\":[4],\"stage\":[1],\"version\":[1]}]]],[\"six-sidebar-item-group.cjs\",[[1,\"six-sidebar-item-group\",{\"name\":[1],\"icon\":[1],\"value\":[513],\"open\":[516],\"summaryIcon\":[1,\"summary-icon\"],\"href\":[513],\"hasItems\":[32],\"summaryIconHasContent\":[32]}]]],[\"six-tab.cjs\",[[1,\"six-tab\",{\"panel\":[513],\"active\":[516],\"closable\":[4],\"disabled\":[516],\"setFocus\":[64],\"removeFocus\":[64]}]]],[\"six-tab-group.cjs\",[[1,\"six-tab-group\",{\"placement\":[1],\"noScrollControls\":[4,\"no-scroll-controls\"],\"hasLeftControl\":[32],\"hasRightControl\":[32],\"show\":[64]},null,{\"noScrollControls\":[\"handleNoScrollControlsChange\"]}]]],[\"six-avatar.cjs\",[[1,\"six-avatar\",{\"image\":[1],\"alt\":[1],\"initials\":[1],\"shape\":[1],\"hasError\":[32]}]]],[\"six-error-page.cjs\",[[1,\"six-error-page\",{\"errorCode\":[2,\"error-code\"],\"language\":[1],\"customTitle\":[1,\"custom-title\"],\"customDescription\":[16],\"customIcon\":[1,\"custom-icon\"]}]]],[\"six-file-list-item.cjs\",[[1,\"six-file-list-item\",{\"identifier\":[513],\"name\":[513],\"date\":[513],\"size\":[514],\"nodownload\":[516],\"nodelete\":[516]}]]],[\"six-group-label.cjs\",[[1,\"six-group-label\",{\"size\":[513],\"label\":[1],\"helpText\":[1,\"help-text\"],\"disabled\":[516],\"required\":[4],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32]},null,{\"helpText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"]}]]],[\"six-range.cjs\",[[1,\"six-range\",{\"name\":[1],\"value\":[1026],\"required\":[4],\"helpText\":[1,\"help-text\"],\"disabled\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"min\":[2],\"max\":[2],\"step\":[2],\"tooltip\":[1],\"tooltipFormatter\":[16],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasErrorTextSlot\":[32],\"hasLabelSlot\":[32],\"hasTooltip\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"label\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"helpText\":[\"handleLabelChange\"],\"value\":[\"handleValueChange\"],\"min\":[\"handleValueChange\"],\"max\":[\"handleValueChange\"]}]]],[\"six-switch.cjs\",[[1,\"six-switch\",{\"name\":[1],\"value\":[1],\"disabled\":[4],\"required\":[4],\"checked\":[1540],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"hasFocus\":[32],\"hasErrorTextSlot\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"checked\":[\"handleCheckedChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"]}]]],[\"six-textarea.cjs\",[[1,\"six-textarea\",{\"size\":[513],\"name\":[513],\"value\":[1537],\"helpText\":[1,\"help-text\"],\"placeholder\":[1],\"rows\":[2],\"resize\":[1],\"disabled\":[516],\"readonly\":[516],\"minlength\":[514],\"maxlength\":[514],\"required\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"autocapitalize\":[1],\"autocorrect\":[1],\"autocomplete\":[1],\"autofocus\":[4],\"spellcheck\":[4],\"inputmode\":[1],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32],\"hasErrorTextSlot\":[32],\"setFocus\":[64],\"removeFocus\":[64],\"select\":[64],\"setSelectionRange\":[64],\"setRangeText\":[64]},null,{\"helpText\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"],\"rows\":[\"handleRowsChange\"],\"value\":[\"handleValueChange\"]}]]],[\"six-badge.cjs\",[[1,\"six-badge\",{\"type\":[1],\"pill\":[4],\"pulse\":[4]}]]],[\"six-card.cjs\",[[1,\"six-card\"]]],[\"six-file-list.cjs\",[[1,\"six-file-list\"]]],[\"six-footer.cjs\",[[1,\"six-footer\"]]],[\"six-header.cjs\",[[1,\"six-header\",{\"shiftContent\":[4,\"shift-content\"],\"openSearch\":[4,\"open-search\"]},null,{\"openSearch\":[\"handleOpenSearchChange\"]}]]],[\"six-header-item.cjs\",[[1,\"six-header-item\",{\"active\":[516]}]]],[\"six-language-switcher.cjs\",[[1,\"six-language-switcher\",{\"selected\":[1537],\"languages\":[16]},null,{\"languages\":[\"handleChangesLanguages\"]}]]],[\"six-layout-grid.cjs\",[[1,\"six-layout-grid\",{\"columns\":[1026]},null,{\"columns\":[\"handleColumnsChange\"]}]]],[\"six-logo.cjs\",[[1,\"six-logo\",{\"brand\":[513]}]]],[\"six-main-container.cjs\",[[1,\"six-main-container\",{\"padded\":[4]}]]],[\"six-menu-divider.cjs\",[[1,\"six-menu-divider\"]]],[\"six-menu-label.cjs\",[[1,\"six-menu-label\"]]],[\"six-progress-bar.cjs\",[[1,\"six-progress-bar\",{\"percentage\":[2],\"indeterminate\":[4]}]]],[\"six-progress-ring.cjs\",[[1,\"six-progress-ring\",{\"size\":[2],\"strokeWidth\":[2,\"stroke-width\"],\"percentage\":[2]},null,{\"percentage\":[\"handlePercentageChange\"]}]]],[\"six-radio.cjs\",[[1,\"six-radio\",{\"name\":[1],\"value\":[513],\"disabled\":[4],\"checked\":[1540],\"invalid\":[516],\"hasFocus\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"checked\":[\"handleCheckedChange\"],\"name\":[\"handleNameChange\"]}]]],[\"six-sidebar.cjs\",[[1,\"six-sidebar\",{\"position\":[1],\"open\":[1540],\"width\":[1],\"toggled\":[4],\"isVisible\":[32],\"toggle\":[64],\"show\":[64],\"hide\":[64],\"selectItemByIndex\":[64],\"selectItemByName\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-sidebar-item.cjs\",[[1,\"six-sidebar-item\",{\"value\":[513],\"selected\":[516],\"disabled\":[516],\"href\":[513]}]]],[\"six-tab-panel.cjs\",[[1,\"six-tab-panel\",{\"name\":[1],\"active\":[516]}]]],[\"six-icon.cjs\",[[1,\"six-icon\",{\"size\":[513],\"filled\":[4]}]]],[\"six-timepicker.cjs\",[[1,\"six-timepicker\",{\"format\":[1],\"separator\":[1],\"value\":[1025],\"open\":[1540],\"inline\":[516],\"readonly\":[4],\"disabled\":[4],\"placement\":[1],\"size\":[1],\"required\":[4],\"placeholder\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"label\":[1],\"invalid\":[516],\"name\":[513],\"clearable\":[4],\"iconPosition\":[1,\"icon-position\"],\"hoist\":[4],\"timeout\":[2],\"interval\":[2],\"defaultTime\":[1,\"default-time\"],\"debounce\":[2],\"isPopupContentUp\":[32],\"isDropDownContentUp\":[32],\"popupValue\":[32],\"setFocus\":[64]},[[9,\"resize\",\"resizeHandler\"],[9,\"scroll\",\"scrollHandler\"]],{\"value\":[\"valueChanged\"]}]]],[\"six-details.cjs\",[[1,\"six-details\",{\"open\":[1540],\"summary\":[1],\"summaryIcon\":[1,\"summary-icon\"],\"summaryIconSize\":[513,\"summary-icon-size\"],\"disabled\":[4],\"inline\":[4],\"selectableEmpty\":[4,\"selectable-empty\"],\"hasContent\":[4,\"has-content\"],\"animateSummaryIcon\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-stage-indicator.cjs\",[[1,\"six-stage-indicator\",{\"stage\":[1]}]]],[\"six-picto.cjs\",[[1,\"six-picto\",{\"size\":[1],\"svgContent\":[32]}]]],[\"six-button.cjs\",[[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]}]]],[\"six-item-picker.cjs\",[[1,\"six-item-picker\",{\"value\":[1544],\"type\":[1],\"min\":[1544],\"max\":[1544],\"roundtrip\":[516],\"step\":[514],\"items\":[16],\"padded\":[4],\"paddingLength\":[2,\"padding-length\"],\"paddingChar\":[1,\"padding-char\"],\"paddingDirection\":[1,\"padding-direction\"],\"timeout\":[2],\"interval\":[2],\"debounce\":[2],\"_items\":[32],\"_itemIndexes\":[32]},null,{\"value\":[\"handleValueChange\"],\"debounce\":[\"debounceChanged\"],\"items\":[\"handleSetChange\"]}]]],[\"six-tooltip.cjs\",[[1,\"six-tooltip\",{\"content\":[1],\"placement\":[1],\"disabled\":[4],\"distance\":[2],\"open\":[1540],\"skidding\":[2],\"trigger\":[1],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-spinner.cjs\",[[1,\"six-spinner\",{\"logo\":[1],\"six\":[4]}]]],[\"six-error.cjs\",[[1,\"six-error\"]]],[\"six-input.cjs\",[[1,\"six-input\",{\"type\":[513],\"size\":[513],\"name\":[513],\"value\":[1537],\"pill\":[516],\"helpText\":[1,\"help-text\"],\"placeholder\":[1],\"disabled\":[516],\"readonly\":[516],\"minlength\":[514],\"maxlength\":[514],\"min\":[514],\"max\":[514],\"step\":[514],\"pattern\":[513],\"dropdownSearch\":[4,\"dropdown-search\"],\"required\":[4],\"autocapitalize\":[1],\"autocorrect\":[1],\"autocomplete\":[1],\"autofocus\":[4],\"spellcheck\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"clearable\":[4],\"togglePassword\":[4,\"toggle-password\"],\"inputmode\":[1],\"line\":[4],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32],\"hasErrorSlot\":[32],\"isPasswordVisible\":[32],\"setFocus\":[64],\"removeFocus\":[64],\"select\":[64],\"setSelectionRange\":[64],\"getSelectionRange\":[64],\"setRangeText\":[64]},null,{\"helpText\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"],\"value\":[\"handleValueChange\"]}]]],[\"six-checkbox_2.cjs\",[[1,\"six-menu-item\",{\"checkType\":[1,\"check-type\"],\"checked\":[516],\"value\":[513],\"disabled\":[516],\"hasFocus\":[32],\"active\":[32],\"setFocus\":[64],\"removeFocus\":[64],\"getTextLabel\":[64]}],[1,\"six-checkbox\",{\"name\":[1],\"value\":[1],\"disabled\":[4],\"required\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"checked\":[1540],\"indeterminate\":[1540],\"hasFocus\":[32],\"hasLabelSlot\":[32],\"hasErrorSlot\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"checked\":[\"handleCheckedChange\"],\"indeterminate\":[\"handleCheckedChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"]}]]],[\"six-dropdown_2.cjs\",[[1,\"six-dropdown\",{\"open\":[1540],\"placement\":[1],\"closeOnSelect\":[4,\"close-on-select\"],\"distance\":[2],\"skidding\":[2],\"hoist\":[4],\"containingElement\":[16],\"filter\":[4],\"asyncFilter\":[4,\"async-filter\"],\"filterPlaceholder\":[1,\"filter-placeholder\"],\"autofocusFilter\":[4,\"autofocus-filter\"],\"filterDebounce\":[1026,\"filter-debounce\"],\"disableHideOnEnterAndSpace\":[4,\"disable-hide-on-enter-and-space\"],\"options\":[1040],\"virtualScroll\":[4,\"virtual-scroll\"],\"matchTriggerWidth\":[4,\"match-trigger-width\"],\"renderedOptions\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"],\"distance\":[\"handlePopoverOptionsChange\"],\"hoist\":[\"handlePopoverOptionsChange\"],\"placement\":[\"handlePopoverOptionsChange\"],\"skidding\":[\"handlePopoverOptionsChange\"],\"options\":[\"handleOptionsChange\"],\"virtualScroll\":[\"handleOptionsChange\"]}],[1,\"six-menu\",{\"removeBoxShadow\":[4,\"remove-box-shadow\"],\"items\":[16],\"itemsShown\":[2,\"items-shown\"],\"virtualScroll\":[4,\"virtual-scroll\"],\"itemSize\":[2,\"item-size\"],\"scrollingDebounce\":[2,\"scrolling-debounce\"],\"disableKeyboardHandling\":[4,\"disable-keyboard-handling\"],\"scrollingIndex\":[32],\"sixMenuItemHeight\":[32],\"typeToSelect\":[64]}]]],[\"six-icon-button.cjs\",[[1,\"six-icon-button\",{\"name\":[513],\"size\":[513],\"label\":[513],\"disabled\":[516],\"html\":[513],\"href\":[1],\"target\":[1],\"download\":[1]}]]]]"), options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -8,7 +8,6 @@
8
8
  "components/six-dropdown/six-dropdown.js",
9
9
  "components/six-file-list-item/six-file-list-item.js",
10
10
  "components/six-file-upload/six-file-upload.js",
11
- "components/six-header/six-header.js",
12
11
  "components/six-input/six-input.js",
13
12
  "components/six-language-switcher/six-language-switcher.js",
14
13
  "components/six-stage-indicator/six-stage-indicator.js",
@@ -28,6 +27,7 @@
28
27
  "components/six-file-list/six-file-list.js",
29
28
  "components/six-footer/six-footer.js",
30
29
  "components/six-group-label/six-group-label.js",
30
+ "components/six-header/six-header.js",
31
31
  "components/six-header-dropdown-item/six-header-dropdown-item.js",
32
32
  "components/six-header-item/six-header-item.js",
33
33
  "components/six-header-menu-button/six-header-menu-button.js",
@@ -24,12 +24,12 @@ export class SixAvatar {
24
24
  this.shape = 'circle';
25
25
  }
26
26
  render() {
27
- return (h("div", { key: '0dbd57a48040d1a7c7c07fa838e8be3da457e2c1', part: "base", class: {
27
+ return (h("div", { key: '241da083cd4a35349c26dcee5aa7f73d9bce0de8', part: "base", class: {
28
28
  avatar: true,
29
29
  'avatar--circle': this.shape === 'circle',
30
30
  'avatar--rounded': this.shape === 'rounded',
31
31
  'avatar--square': this.shape === 'square',
32
- }, role: "image", "aria-label": this.alt, tabIndex: 0 }, this.initials === '' && (h("div", { key: '86e4e434e5da9fe126c6950b3716aa69e0738278', part: "icon", class: "avatar__icon" }, h("slot", { key: '376b3afc1ded98932f9f80c440f0f142e5bce33f', name: "icon" }, h("six-icon", { key: '0371ad768fc7440b24528bf2b1b331f466ab5574' }, "person")))), this.initials && (h("div", { key: 'd1a3412dc155ff96e7d3fddfac1d483561537e98', part: "initials", class: "avatar__initials" }, this.initials)), this.image && !this.hasError && (h("img", { key: 'e8a7e31f01329601ae9181c89b702f9469accc35', part: "image", class: "avatar__image", src: this.image, onError: this.handleImageError }))));
32
+ }, role: "image", "aria-label": this.alt, tabIndex: 0 }, this.initials === '' && (h("div", { key: '24ff23d7f3a6624422582766512d8d6bf293b9f5', part: "icon", class: "avatar__icon" }, h("slot", { key: 'a906ebe35934f5d94e762fa3c1f5017492aa3df5', name: "icon" }, h("six-icon", { key: '30387b657f408050ce97b0f630fd107ae571d3e9' }, "person")))), this.initials && (h("div", { key: '025c49d919586b0167e7851183f1bc288601f94c', part: "initials", class: "avatar__initials" }, this.initials)), this.image && !this.hasError && (h("img", { key: 'd2860b07997dbb935766cd124f2c670e24dc40a4', part: "image", class: "avatar__image", src: this.image, onError: this.handleImageError }))));
33
33
  }
34
34
  static get is() { return "six-avatar"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -16,7 +16,7 @@ export class SixBadge {
16
16
  this.pulse = false;
17
17
  }
18
18
  render() {
19
- return (h("span", { key: '023a7f78c1ac275db32a3dc65d7bb46a0d4f3aba', part: "base", class: {
19
+ return (h("span", { key: 'af8c1f6bf15fb2ef27a05bda206b18ad306bf168', part: "base", class: {
20
20
  badge: true,
21
21
  // Types
22
22
  'badge--primary': this.type === 'primary',
@@ -28,7 +28,7 @@ export class SixBadge {
28
28
  'badge--info': this.type === 'info',
29
29
  'badge--pill': this.pill,
30
30
  'badge--pulse': this.pulse,
31
- }, role: "status" }, h("slot", { key: '09f7a992878ce4df2ac75fd99d7de7500cdb80d0' })));
31
+ }, role: "status" }, h("slot", { key: '59d58d613fb4665d0e7f03e21c43cd1300c00a19' })));
32
32
  }
33
33
  static get is() { return "six-badge"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -79,7 +79,7 @@ export class SixButton {
79
79
  const isLink = this.href != null;
80
80
  const isButton = !isLink;
81
81
  const Button = isLink ? 'a' : 'button';
82
- return (h("div", { key: '733c60d955d509acb4293ff6ac3bd28385fc0179', onClick: this.handleClick, class: { 'button-wrapper--disabled': this.disabled } }, h(Button, { key: 'f1c659d53e416d57c3d743accbc74fa71320fce5', ref: (el) => (this.nativeButton = el), part: "base", class: {
82
+ return (h("div", { key: '6d8805ed1d5c513d940b920d75651f945618f3e4', onClick: this.handleClick, class: { 'button-wrapper--disabled': this.disabled } }, h(Button, { key: 'c8d4d41bbd6ae8af44e15e73f64ccdea7ce0ae6e', ref: (el) => (this.nativeButton = el), part: "base", class: {
83
83
  button: true,
84
84
  // Types
85
85
  'button--secondary': this.type === 'secondary',
@@ -104,7 +104,7 @@ export class SixButton {
104
104
  'button--has-label': this.hasLabel,
105
105
  'button--has-prefix': this.hasPrefix,
106
106
  'button--has-suffix': this.hasSuffix,
107
- }, disabled: isButton ? this.disabled : undefined, tabindex: this.disabled ? '-1' : undefined, type: isButton ? (this.submit ? 'submit' : this.reset ? 'reset' : 'button') : undefined, name: isButton ? this.name : undefined, value: isButton ? this.value : undefined, href: isLink ? this.href : undefined, target: isLink && this.target != null ? this.target : undefined, download: isLink && this.download != null ? this.download : undefined, rel: isLink && this.target != null ? 'noreferrer noopener' : undefined, onBlur: this.handleBlur, onFocus: this.handleFocus, "data-testid": "button" }, h("span", { key: 'db88ca38040960f384a72f274c215c490abcd7be', part: "prefix", class: "button__prefix" }, h("slot", { key: '19a0077f9a1ea594f669cb3d5f56f7eabd6695b4', onSlotchange: this.handleSlotChange, name: "prefix" })), h("span", { key: 'd6ad98d9a36572228bc9ea4d50263323dac74322', part: "label", class: "button__label" }, h("slot", { key: '33e06a87ab2f18d0f1096fdf1904b1398811c014', onSlotchange: this.handleSlotChange })), h("span", { key: '771e0da37ab98f26cfa6189a9794ff1f6c4424bd', part: "suffix", class: "button__suffix" }, h("slot", { key: 'fa94fccd963ec5a65c84b7620182adb24a329383', onSlotchange: this.handleSlotChange, name: "suffix" })), this.caret && (h("span", { key: '7098e8219a536758498c0e76974080c96e5baecd', part: "caret", class: "button__caret" }, h("svg", { key: 'a8f4e991d39137a45dae525a550edd4ad79cf83f', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("polyline", { key: '03dbc033c9799c31b856e45cd3d4967f3098bd8e', points: "6 9 12 15 18 9" })))), this.loading && h("six-spinner", { key: '6ab43caf71a3ceadf32817b09e7c4d6885f2ba7a' }))));
107
+ }, disabled: isButton ? this.disabled : undefined, tabindex: this.disabled ? '-1' : undefined, type: isButton ? (this.submit ? 'submit' : this.reset ? 'reset' : 'button') : undefined, name: isButton ? this.name : undefined, value: isButton ? this.value : undefined, href: isLink ? this.href : undefined, target: isLink && this.target != null ? this.target : undefined, download: isLink && this.download != null ? this.download : undefined, rel: isLink && this.target != null ? 'noreferrer noopener' : undefined, onBlur: this.handleBlur, onFocus: this.handleFocus, "data-testid": "button" }, h("span", { key: '185a16d68e7d8ce5de6459d4fae511344dcabd47', part: "prefix", class: "button__prefix" }, h("slot", { key: 'a6128d2341dd34212529bc07dd06188ab0f73b5c', onSlotchange: this.handleSlotChange, name: "prefix" })), h("span", { key: '9f8c78eb8982bd61e9e440024bbafa6d097e9b05', part: "label", class: "button__label" }, h("slot", { key: '3752f84bcc8427663a3b7e61ab1f100f860027ba', onSlotchange: this.handleSlotChange })), h("span", { key: 'c936392626dead5ae3c568d21ee2595eb83171b4', part: "suffix", class: "button__suffix" }, h("slot", { key: '2e4d5d1bcb5cf2da616f0f1facc1c9b5b767a16f', onSlotchange: this.handleSlotChange, name: "suffix" })), this.caret && (h("span", { key: '71874a301d18ccfc0d109e03bf37712cec7f28f0', part: "caret", class: "button__caret" }, h("svg", { key: '4476a03737696128a77cbc1a5d0f307d027c5096', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("polyline", { key: '400c81a7d7266f5ccae85c30eb3c7a1a9f26cbdc', points: "6 9 12 15 18 9" })))), this.loading && h("six-spinner", { key: 'f1b153aaed8cb908f78d0e76c7c3b53911288b1d' }))));
108
108
  }
109
109
  static get is() { return "six-button"; }
110
110
  static get encapsulation() { return "shadow"; }
@@ -7,7 +7,7 @@ import { h, Host } from "@stencil/core";
7
7
  */
8
8
  export class SixCard {
9
9
  render() {
10
- return (h(Host, { key: 'aad0ccff1f39203ebe4e16e74c13cd7a344f2da8' }, h("slot", { key: '6e713eaee2db4b9dedbd9f5884911bce16f30c88' })));
10
+ return (h(Host, { key: 'c2bee3f44ff66341c55c3361de75aba4f8fefd38' }, h("slot", { key: 'fff6c572610f8ecae7793dde177fd6e32f07a28b' })));
11
11
  }
12
12
  static get is() { return "six-card"; }
13
13
  static get encapsulation() { return "shadow"; }
@@ -107,14 +107,14 @@ export class SixCheckbox {
107
107
  this.hasErrorSlot = hasSlot(this.host, 'error-text');
108
108
  }
109
109
  render() {
110
- return (h(FormControl, { key: '3881d6f70869fe371be4bdc084d1e2ee2ffcaad0', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, errorTextId: this.errorTextId, hasErrorTextSlot: this.hasErrorSlot, errorText: this.errorText, errorTextCount: this.errorTextCount, size: "medium", disabled: this.disabled, required: this.required, displayError: this.invalid }, h("label", { key: 'a42631ccd1b8fb0ee21d575c4f08d92b6349d9f8', part: "base", class: {
110
+ return (h(FormControl, { key: '13d7d3b8bfabde5d1edda90227fd18d6adf9e9af', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, errorTextId: this.errorTextId, hasErrorTextSlot: this.hasErrorSlot, errorText: this.errorText, errorTextCount: this.errorTextCount, size: "medium", disabled: this.disabled, required: this.required, displayError: this.invalid }, h("label", { key: '35bcfe787ad46a15548a17eb4f04573ff45e6fe6', part: "base", class: {
111
111
  checkbox: true,
112
112
  'checkbox--checked': this.checked,
113
113
  'checkbox--disabled': this.disabled,
114
114
  'checkbox--focused': this.hasFocus,
115
115
  'checkbox--invalid': this.invalid,
116
116
  'checkbox--indeterminate': this.indeterminate,
117
- }, htmlFor: this.inputId, onMouseDown: this.handleMouseDown }, h("span", { key: 'd1e1080dd43c4e3110b9f272f1dd2185c99ecbc4', part: "control", class: "checkbox__control" }, this.checked && (h("span", { key: 'e02e32f28b9e997ee1baf81aa5d12e00df275e9e', part: "checked-icon", class: "checkbox__icon" }, h("svg", { key: 'b313da8df11a0cce0c8f3c8785e46be998106528', viewBox: "0 0 16 16" }, h("g", { key: '9e49d0e0f0cf1070b1b283cc63586ad34c284302', stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" }, h("g", { key: 'a36e0b3299473a24a14ce268052b00f3929e0f31', stroke: "currentColor", "stroke-width": "2" }, h("g", { key: 'f4f0033909e86d0a79bfba797b6ec9f389e2d8c7', transform: "translate(3.428571, 3.428571)" }, h("path", { key: '09a34c50138270daad1968cd330f16d49d1807ce', d: "M0,5.71428571 L3.42857143,9.14285714" }), h("path", { key: '1fa1a9f56875cfd60d1595f05bf8a294bd85aaaa', d: "M9.14285714,0 L3.42857143,9.14285714" }))))))), !this.checked && this.indeterminate && (h("span", { key: 'd263c3e0de02a8c17869ff74b6c864d23d7539e6', part: "indeterminate-icon", class: "checkbox__icon" }, h("svg", { key: '192a9d79ce11edb96b51776a5d0a517ea160d0e6', viewBox: "0 0 16 16" }, h("g", { key: 'ccd9afa0efe3c764521dd1d34e02c2680b68fb37', stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" }, h("g", { key: 'f9d774248f858e7ff08d91a23f4a0290b2000a66', stroke: "currentColor", "stroke-width": "2" }, h("g", { key: 'd098b4ab5ee88a3d90f13488d86a3f37a382fee9', transform: "translate(2.285714, 6.857143)" }, h("path", { key: 'd47b208149e864b67ac8d25c0607b6e5868262a7', d: "M10.2857143,1.14285714 L1.14285714,1.14285714" }))))))), h("input", { key: 'e3da5bf1a133e8a31a6abfd8852cd1e8434f1861', ref: (el) => (this.nativeInput = el), id: this.inputId, type: "checkbox", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, required: this.required, role: "checkbox", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus })), h("span", { key: '298954f2c0314e37a43fb47a8d1e9a3069f7ee4e', part: "text", id: this.textId, class: "checkbox__text" }, h("slot", { key: '539f5cde4f4a771422145d6faf4a611c1c07b74f' })))));
117
+ }, htmlFor: this.inputId, onMouseDown: this.handleMouseDown }, h("span", { key: '3b1b498990230af36325505f7ca0c4a6b8920f3c', part: "control", class: "checkbox__control" }, this.checked && (h("span", { key: '3860a3eb88f6f83d483ec7285c409660758a7987', part: "checked-icon", class: "checkbox__icon" }, h("svg", { key: '1d8597170e10f7233865e98c440db3854e173a90', viewBox: "0 0 16 16" }, h("g", { key: '3c214889063cae7872ecf38c139851df47b5cb7a', stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" }, h("g", { key: '1593cb9509ac041f11f12a3a992d9adff8808d6f', stroke: "currentColor", "stroke-width": "2" }, h("g", { key: '9cc6010c84cdc82ecc2f2e83983cb8d1862a10d6', transform: "translate(3.428571, 3.428571)" }, h("path", { key: '5727cd4b7250f3d3e28d573e658f2d61dd80835c', d: "M0,5.71428571 L3.42857143,9.14285714" }), h("path", { key: '7cd48917d5c5479b303a5d16bb0711ea373222f0', d: "M9.14285714,0 L3.42857143,9.14285714" }))))))), !this.checked && this.indeterminate && (h("span", { key: '921925edba191dc728f6c080b253d55ff158ca1f', part: "indeterminate-icon", class: "checkbox__icon" }, h("svg", { key: 'e6ed138e7ea3d6917897522bbebc5604adc3372e', viewBox: "0 0 16 16" }, h("g", { key: 'af26d95b77942c7280230269681f15a940d3cb8a', stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" }, h("g", { key: 'f9594ba554f21fd63106ebe12810081c3c083d84', stroke: "currentColor", "stroke-width": "2" }, h("g", { key: '18f0e331348b0b0e8bdd266e3f56280a79c25d08', transform: "translate(2.285714, 6.857143)" }, h("path", { key: 'd26bd08e158169090186394370d894d1fc0f1a4e', d: "M10.2857143,1.14285714 L1.14285714,1.14285714" }))))))), h("input", { key: '0c71ecd68bc1ee72f760bd3d498f2521ff503cdb', ref: (el) => (this.nativeInput = el), id: this.inputId, type: "checkbox", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, required: this.required, role: "checkbox", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus })), h("span", { key: 'e26fa50555696c966b42f6546edcbd8b38dca448', part: "text", id: this.textId, class: "checkbox__text" }, h("slot", { key: '46556b4f621e998936118329572fea064b3fbe64' })))));
118
118
  }
119
119
  static get is() { return "six-checkbox"; }
120
120
  static get encapsulation() { return "shadow"; }
@@ -131,15 +131,15 @@ export class SixDetails {
131
131
  }
132
132
  render() {
133
133
  const summaryIcon = this.hasContent && (this.summaryIcon || 'expand_more');
134
- return (h("div", { key: '790a6c1cdc4bbc6c266f9e24bf7c94d151379115', ref: (el) => (this.details = el), part: "base", class: {
134
+ return (h("div", { key: 'e37ffbc5d21596e81b09b4fd717ea3c89029d528', ref: (el) => (this.details = el), part: "base", class: {
135
135
  details: true,
136
136
  'details--open': this.open,
137
137
  'details--disabled': this.disabled,
138
138
  inline: this.inline,
139
- } }, h("header", { key: 'e02a32f9923779375d81ee3d79d89aa2ddea38a1', ref: (el) => (this.header = el), part: "header", id: `${this.componentId}-header`, class: "details__header", role: "button", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": `${this.componentId}-content`, "aria-disabled": this.disabled ? 'true' : 'false', tabIndex: this.disabled ? -1 : 0, onClick: this.handleSummaryClick, onKeyDown: this.handleSummaryKeyDown }, h("div", { key: 'd8647eb075674116011662baf9b8baf3130ae0b7', part: "summary", class: "details__summary" }, h("slot", { key: '5e53c611396e795eb725e4ff364127a781544aad', name: "summary" }, this.summary)), h("span", { key: 'a2108bba713114123324ab7e41a250755daa5204', part: "summary-icon", class: {
139
+ } }, h("header", { key: '8e42100a1a675122482a6f98f59233c9e2824c8b', ref: (el) => (this.header = el), part: "header", id: `${this.componentId}-header`, class: "details__header", role: "button", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": `${this.componentId}-content`, "aria-disabled": this.disabled ? 'true' : 'false', tabIndex: this.disabled ? -1 : 0, onClick: this.handleSummaryClick, onKeyDown: this.handleSummaryKeyDown }, h("div", { key: 'c801b8cf8e6d01587f68ddb16402ba144f0d7414', part: "summary", class: "details__summary" }, h("slot", { key: '6abc028d09afb3e6c84bbdc2ef21f8472e9e3ab1', name: "summary" }, this.summary)), h("span", { key: 'd746ee18b3d3ad82dff099aa7cf4d3064aff1d3d', part: "summary-icon", class: {
140
140
  'details__summary-icon': true,
141
141
  'details__summary-icon--animate': this.animateSummaryIcon,
142
- } }, h("slot", { key: '344e5c319ce8e8fe2171afa277a4799c8477178b', name: "summary-icon", onSlotchange: () => (this.animateSummaryIcon = false) }, summaryIcon && h("six-icon", { key: '2b0fc2a643d699fcd17138d8cbf7320957d909b6', size: this.summaryIconSize }, summaryIcon)))), h("div", { key: 'e09bd4d2cb12bc92c595db4ada7d435b24453fb8', ref: (el) => (this.body = el), class: "details__body", onTransitionEnd: this.handleBodyTransitionEnd }, h("div", { key: '065ff7a042f603ccbccd137ecaba36016ccadf6b', part: "content", id: `${this.componentId}-content`, class: "details__content", role: "region", "aria-labelledby": `${this.componentId}-header` }, h("slot", { key: 'c7fa18ef6842f4f8af87e02d7a2e7ae892664276' })))));
142
+ } }, h("slot", { key: '3d3f60704b563f53bede51f313134c06ee2fe12e', name: "summary-icon", onSlotchange: () => (this.animateSummaryIcon = false) }, summaryIcon && h("six-icon", { key: 'eb4f6c11e5e23423d901b44cda8c9bb64b641345', size: this.summaryIconSize }, summaryIcon)))), h("div", { key: 'd5979fb0a16394cac15871b386aef52f2d8b79cc', ref: (el) => (this.body = el), class: "details__body", onTransitionEnd: this.handleBodyTransitionEnd }, h("div", { key: '5d131c7fa9e218e4f2a024350fd7c583ff6db897', part: "content", id: `${this.componentId}-content`, class: "details__content", role: "region", "aria-labelledby": `${this.componentId}-header` }, h("slot", { key: '91bb01513e084f8ebbb9e02a53bc0778e60a14f4' })))));
143
143
  }
144
144
  static get is() { return "six-details"; }
145
145
  static get encapsulation() { return "shadow"; }
@@ -122,12 +122,12 @@ export class SixDialog {
122
122
  unlockBodyScrolling(this.host);
123
123
  }
124
124
  render() {
125
- return (h("div", { key: '6f14cb488875cc193db6e577ba338514a548f938', ref: (el) => (this.dialog = el), part: "base", class: {
125
+ return (h("div", { key: '75859da889a7e5a2fe52734bf3676a340696745c', ref: (el) => (this.dialog = el), part: "base", class: {
126
126
  dialog: true,
127
127
  'dialog--open': this.open,
128
128
  'dialog--visible': this.isVisible,
129
129
  'dialog--has-footer': this.hasFooter,
130
- }, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: 'a68c26974993aae32b5af10726994d49673c548e', part: "overlay", class: "dialog__overlay", onClick: this.handleOverlayClick }), h("div", { key: 'd65b34ab367b255e11ec0153c5bbef8dea9b37bc', ref: (el) => (this.panel = el), part: "panel", class: "dialog__panel", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', "aria-label": this.noHeader ? this.label : null, "aria-labelledby": !this.noHeader ? `${this.componentId}-title` : null, tabIndex: 0 }, !this.noHeader && (h("header", { key: '9134f6b97e1115ee8a4921ce8a43b7fff93cc9a4', part: "header", class: "dialog__header" }, h("span", { key: 'f373bc7278c75661c420cdd4cff713965988fa73', part: "title", class: "dialog__title", id: `${this.componentId}-title` }, h("slot", { key: '23e17699f04a560f79127127eed5e2d93ef0a40d', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: 'f0cbdbbd0d99ae5307d0aaa7e543346549ac59b9', exportparts: "base:close-button", class: "dialog__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: '7cef3cee366fa1b5dd2666e2cd38591092e599ec', part: "body", class: "dialog__body" }, h("slot", { key: 'f5547ca08f289964e90e1897de2c662cf2ef4ecf' })), h("footer", { key: '6fd4cc4b379881d0d773dcb7c169319ebbd1cc86', part: "footer", class: "dialog__footer" }, h("slot", { key: 'f16e994808340a7c7d92069769af0f191fcbaf19', name: "footer", onSlotchange: this.handleSlotChange })))));
130
+ }, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '6f5e118594c9f91a69d797ec21129ff7cc5dfc6c', part: "overlay", class: "dialog__overlay", onClick: this.handleOverlayClick }), h("div", { key: '0dda1345d1263cce5070ecc26eb80c13d3dbd8df', ref: (el) => (this.panel = el), part: "panel", class: "dialog__panel", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', "aria-label": this.noHeader ? this.label : null, "aria-labelledby": !this.noHeader ? `${this.componentId}-title` : null, tabIndex: 0 }, !this.noHeader && (h("header", { key: '1598a701c0b49a3e8b4dfe57245cb9eaea9af96b', part: "header", class: "dialog__header" }, h("span", { key: '1398618fdc5802a2493e2f6c1919f8ff97ed73b9', part: "title", class: "dialog__title", id: `${this.componentId}-title` }, h("slot", { key: 'e8ba3e92b867a2f95e5bafbd2573a9a376591760', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: 'd967a6722d5da5daa397aa9f7a25b46da7fd336e', exportparts: "base:close-button", class: "dialog__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: '2b7b70d52fc2ce4a1aa9fdce3ddd8484f197f0e8', part: "body", class: "dialog__body" }, h("slot", { key: '109ac4b9bcb66d8df9ae060d8b7d9d6056ae3899' })), h("footer", { key: 'b45a2dce81ecbb194f9648255e5776fcf86af47b', part: "footer", class: "dialog__footer" }, h("slot", { key: 'cba1b4d078de3fb1d73d8224cb152df26e858871', name: "footer", onSlotchange: this.handleSlotChange })))));
131
131
  }
132
132
  static get is() { return "six-dialog"; }
133
133
  static get encapsulation() { return "shadow"; }
@@ -131,7 +131,7 @@ export class SixDrawer {
131
131
  this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
132
132
  }
133
133
  render() {
134
- return (h("div", { key: '36e3f65ac5f2721b42452c5c8bb6b7c82caaf90b', ref: (el) => (this.drawer = el), part: "base", class: {
134
+ return (h("div", { key: '3f0c58a92f99ceaedd021a99055d4b9d3cb6b490', ref: (el) => (this.drawer = el), part: "base", class: {
135
135
  drawer: true,
136
136
  'drawer--open': this.open,
137
137
  'drawer--visible': this.isVisible,
@@ -142,7 +142,7 @@ export class SixDrawer {
142
142
  'drawer--contained': this.contained,
143
143
  'drawer--fixed': !this.contained,
144
144
  'drawer--has-footer': this.hasFooter,
145
- }, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '1d882839efb405169548546f93eacabd88803051', part: "overlay", class: "drawer__overlay", onClick: this.handleOverlayClick, tabIndex: -1 }), h("div", { key: 'b53bc8fa6d3d233727f87b111b220674de9ab2d5', ref: (el) => (this.panel = el), part: "panel", class: "drawer__panel", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', "aria-label": this.noHeader ? this.label : null, "aria-labelledby": !this.noHeader ? `${this.componentId}-title` : null, tabIndex: 0 }, !this.noHeader && (h("header", { key: '3d580bea13f4ce5e361a1789550b011e52af859e', part: "header", class: "drawer__header" }, h("span", { key: 'e068532fb2b4e517ef09289396cba476ab699331', part: "title", class: "drawer__title", id: `${this.componentId}-title` }, h("slot", { key: '35a8c80566e7083d532817bd9cc6fa2acbf4416c', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: 'a294b23eb653e39fc714adf63b6df7c4b46e9002', exportparts: "base:close-button", class: "drawer__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: 'a347e151af6ecb2d79c6b5773ddd533405e6b5b6', part: "body", class: "drawer__body" }, h("slot", { key: '5a0634971a10582fb22c3cbbecd0975a6b65fd04' })), h("footer", { key: '051fe5aa4ec54b0fe82a20f569884adbf29256cb', part: "footer", class: "drawer__footer" }, h("slot", { key: 'dce35b793bbc64207727c39f7cc8153a8102ca86', name: "footer", onSlotchange: this.handleSlotChange })))));
145
+ }, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '06d4b753471747898380ad96df47d14eb97f3191', part: "overlay", class: "drawer__overlay", onClick: this.handleOverlayClick, tabIndex: -1 }), h("div", { key: '3c5fc6ef2f0e6fa30feacd66534628385957894a', ref: (el) => (this.panel = el), part: "panel", class: "drawer__panel", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', "aria-label": this.noHeader ? this.label : null, "aria-labelledby": !this.noHeader ? `${this.componentId}-title` : null, tabIndex: 0 }, !this.noHeader && (h("header", { key: '0b49d4f269ba18e09a4b249200385c58746057f2', part: "header", class: "drawer__header" }, h("span", { key: 'b6ae3162f1eef9678470add112b5a7588c1a59d2', part: "title", class: "drawer__title", id: `${this.componentId}-title` }, h("slot", { key: 'a6da570ad5f2cc9bfea3738be1f49f2da8e0e4bf', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: 'b91dcd172972abab22d6c3160d305a2188281a57', exportparts: "base:close-button", class: "drawer__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: '92e6853d2012222b7eaa29c1f8a3df56d138d7c5', part: "body", class: "drawer__body" }, h("slot", { key: '2abc9eb1633feb27ae0cf658602a79e5eef8a3f5' })), h("footer", { key: 'b772e1b63f3a50d1b68de0adae38aa28270fe884', part: "footer", class: "drawer__footer" }, h("slot", { key: 'a20158d9f897a62749150469ddb7e97ba545305e', name: "footer", onSlotchange: this.handleSlotChange })))));
146
146
  }
147
147
  static get is() { return "six-drawer"; }
148
148
  static get encapsulation() { return "shadow"; }