@six-group/ui-library 0.0.0-insider.0c6adc4 → 0.0.0-insider.0f5a398

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 (692) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  3. package/dist/cjs/{form-control-72186fcc.js → form-control-b6ca8224.js} +2 -2
  4. package/dist/cjs/{form-control-72186fcc.js.map → form-control-b6ca8224.js.map} +1 -1
  5. package/dist/cjs/{index-5dd19c4b.js → index-5bfcf88b.js} +67 -490
  6. package/dist/cjs/index-5bfcf88b.js.map +1 -0
  7. package/dist/cjs/loader.cjs.js +5 -3
  8. package/dist/cjs/loader.cjs.js.map +1 -1
  9. package/dist/cjs/{modal-3ce015be.js → modal-bd7fc5bc.js} +1 -18
  10. package/dist/cjs/modal-bd7fc5bc.js.map +1 -0
  11. package/dist/cjs/six-alert.cjs.entry.js +17 -7
  12. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  13. package/dist/cjs/six-avatar.cjs.entry.js +4 -3
  14. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  15. package/dist/cjs/six-badge.cjs.entry.js +5 -4
  16. package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
  17. package/dist/cjs/six-button.cjs.entry.js +5 -4
  18. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  19. package/dist/cjs/six-card.cjs.entry.js +4 -3
  20. package/dist/cjs/six-card.cjs.entry.js.map +1 -1
  21. package/dist/cjs/six-checkbox_2.cjs.entry.js +10 -8
  22. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -1
  23. package/dist/cjs/six-datepicker.cjs.entry.js +29 -3
  24. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  25. package/dist/cjs/six-details.cjs.entry.js +6 -5
  26. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  27. package/dist/cjs/six-dialog.cjs.entry.js +14 -30
  28. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  29. package/dist/cjs/six-drawer.cjs.entry.js +13 -30
  30. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  31. package/dist/cjs/six-dropdown_2.cjs.entry.js +17 -13
  32. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
  33. package/dist/cjs/six-error-page.cjs.entry.js +4 -3
  34. package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
  35. package/dist/cjs/six-error.cjs.entry.js +4 -3
  36. package/dist/cjs/six-error.cjs.entry.js.map +1 -1
  37. package/dist/cjs/six-file-list-item.cjs.entry.js +5 -4
  38. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  39. package/dist/cjs/six-file-list.cjs.entry.js +4 -3
  40. package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
  41. package/dist/cjs/six-file-upload.cjs.entry.js +7 -6
  42. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  43. package/dist/cjs/six-footer.cjs.entry.js +4 -3
  44. package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
  45. package/dist/cjs/six-group-label.cjs.entry.js +5 -4
  46. package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
  47. package/dist/cjs/six-header.cjs.entry.js +13 -12
  48. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  49. package/dist/cjs/six-icon-button.cjs.entry.js +6 -5
  50. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  51. package/dist/cjs/six-icon.cjs.entry.js +5 -4
  52. package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
  53. package/dist/cjs/six-input.cjs.entry.js +7 -6
  54. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  55. package/dist/cjs/six-item-picker.cjs.entry.js +6 -5
  56. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
  57. package/dist/cjs/six-language-switcher.cjs.entry.js +6 -5
  58. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
  59. package/dist/cjs/six-layout-grid.cjs.entry.js +4 -3
  60. package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
  61. package/dist/cjs/six-main-container.cjs.entry.js +4 -3
  62. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
  63. package/dist/cjs/six-menu-divider.cjs.entry.js +4 -3
  64. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
  65. package/dist/cjs/six-menu-label.cjs.entry.js +4 -3
  66. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
  67. package/dist/cjs/six-picto.cjs.entry.js +4 -3
  68. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  69. package/dist/cjs/six-progress-bar.cjs.entry.js +5 -4
  70. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  71. package/dist/cjs/six-progress-ring.cjs.entry.js +4 -3
  72. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  73. package/dist/cjs/six-radio.cjs.entry.js +5 -4
  74. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  75. package/dist/cjs/six-range.cjs.entry.js +17 -6
  76. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  77. package/dist/cjs/six-root.cjs.entry.js +4 -22
  78. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  79. package/dist/cjs/six-search-field.cjs.entry.js +4 -3
  80. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
  81. package/dist/cjs/six-select.cjs.entry.js +10 -9
  82. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  83. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +3 -2
  84. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  85. package/dist/cjs/six-sidebar-item.cjs.entry.js +5 -4
  86. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  87. package/dist/cjs/six-sidebar.cjs.entry.js +5 -4
  88. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
  89. package/dist/cjs/six-spinner.cjs.entry.js +3 -2
  90. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  91. package/dist/cjs/six-stage-indicator.cjs.entry.js +23 -0
  92. package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -0
  93. package/dist/cjs/six-switch.cjs.entry.js +6 -5
  94. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  95. package/dist/cjs/six-tab-group.cjs.entry.js +34 -8
  96. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  97. package/dist/cjs/six-tab-panel.cjs.entry.js +4 -3
  98. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
  99. package/dist/cjs/six-tab.cjs.entry.js +5 -4
  100. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  101. package/dist/cjs/six-tag.cjs.entry.js +5 -4
  102. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  103. package/dist/cjs/six-textarea.cjs.entry.js +6 -5
  104. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  105. package/dist/cjs/six-tile.cjs.entry.js +6 -5
  106. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  107. package/dist/cjs/six-timepicker.cjs.entry.js +4 -3
  108. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  109. package/dist/cjs/six-tooltip.cjs.entry.js +5 -4
  110. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
  111. package/dist/cjs/ui-library.cjs.js +6 -4
  112. package/dist/cjs/ui-library.cjs.js.map +1 -1
  113. package/dist/collection/collection-manifest.json +4 -5
  114. package/dist/collection/components/six-alert/six-alert.js +15 -6
  115. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  116. package/dist/collection/components/six-avatar/six-avatar.js +1 -1
  117. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  118. package/dist/collection/components/six-badge/six-badge.js +2 -2
  119. package/dist/collection/components/six-badge/six-badge.js.map +1 -1
  120. package/dist/collection/components/six-button/six-button.js +2 -2
  121. package/dist/collection/components/six-button/six-button.js.map +1 -1
  122. package/dist/collection/components/six-button/test/six-button.spec.js.map +1 -1
  123. package/dist/collection/components/six-card/six-card.js +1 -1
  124. package/dist/collection/components/six-card/six-card.js.map +1 -1
  125. package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
  126. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  127. package/dist/collection/components/six-datepicker/six-datepicker.js +3 -3
  128. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  129. package/dist/collection/components/six-details/six-details.js +3 -3
  130. package/dist/collection/components/six-details/six-details.js.map +1 -1
  131. package/dist/collection/components/six-dialog/six-dialog.js +10 -28
  132. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  133. package/dist/collection/components/six-drawer/six-drawer.js +9 -28
  134. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  135. package/dist/collection/components/six-dropdown/six-dropdown.js +10 -8
  136. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  137. package/dist/collection/components/six-error/six-error.js +1 -1
  138. package/dist/collection/components/six-error/six-error.js.map +1 -1
  139. package/dist/collection/components/six-error-page/six-error-page.js +1 -1
  140. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
  141. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  142. package/dist/collection/components/six-file-list/six-file-list.js.map +1 -1
  143. package/dist/collection/components/six-file-list-item/six-file-list-item.js +2 -2
  144. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  145. package/dist/collection/components/six-file-upload/six-file-upload.js +4 -4
  146. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  147. package/dist/collection/components/six-footer/six-footer.js +1 -1
  148. package/dist/collection/components/six-footer/six-footer.js.map +1 -1
  149. package/dist/collection/components/six-group-label/six-group-label.js +1 -1
  150. package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
  151. package/dist/collection/components/six-header/six-header.js +10 -10
  152. package/dist/collection/components/six-header/six-header.js.map +1 -1
  153. package/dist/collection/components/six-icon/six-icon.js +2 -2
  154. package/dist/collection/components/six-icon/six-icon.js.map +1 -1
  155. package/dist/collection/components/six-icon-button/six-icon-button.js +3 -3
  156. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  157. package/dist/collection/components/six-input/six-input.js +3 -3
  158. package/dist/collection/components/six-input/six-input.js.map +1 -1
  159. package/dist/collection/components/six-item-picker/six-item-picker.js +3 -3
  160. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  161. package/dist/collection/components/six-language-switcher/six-language-switcher.css +3 -2
  162. package/dist/collection/components/six-language-switcher/six-language-switcher.js +2 -2
  163. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  164. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +8 -8
  165. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +1 -1
  166. package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
  167. package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
  168. package/dist/collection/components/six-main-container/six-main-container.js +1 -1
  169. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
  170. package/dist/collection/components/six-menu/six-menu.js +2 -2
  171. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  172. package/dist/collection/components/six-menu/test/six-menu.spec.js.map +1 -1
  173. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  174. package/dist/collection/components/six-menu-divider/six-menu-divider.js.map +1 -1
  175. package/dist/collection/components/six-menu-item/six-menu-item.js +2 -2
  176. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  177. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  178. package/dist/collection/components/six-menu-label/six-menu-label.js.map +1 -1
  179. package/dist/collection/components/six-picto/six-picto.js +1 -1
  180. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  181. package/dist/collection/components/six-progress-bar/six-progress-bar.js +2 -2
  182. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  183. package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
  184. package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
  185. package/dist/collection/components/six-radio/six-radio.js +2 -2
  186. package/dist/collection/components/six-radio/six-radio.js.map +1 -1
  187. package/dist/collection/components/six-range/six-range.css +1 -1
  188. package/dist/collection/components/six-range/six-range.js +12 -2
  189. package/dist/collection/components/six-range/six-range.js.map +1 -1
  190. package/dist/collection/components/six-root/six-root.js +1 -69
  191. package/dist/collection/components/six-root/six-root.js.map +1 -1
  192. package/dist/collection/components/six-root/test/six-root.spec.js +0 -7
  193. package/dist/collection/components/six-root/test/six-root.spec.js.map +1 -1
  194. package/dist/collection/components/six-search-field/six-search-field.js +1 -1
  195. package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
  196. package/dist/collection/components/six-select/six-select.js +6 -6
  197. package/dist/collection/components/six-select/six-select.js.map +1 -1
  198. package/dist/collection/components/six-select/util.js.map +1 -1
  199. package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
  200. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
  201. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
  202. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
  203. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  204. package/dist/collection/components/six-switch/six-switch.js +2 -2
  205. package/dist/collection/components/six-switch/six-switch.js.map +1 -1
  206. package/dist/collection/components/six-tab/six-tab.js +2 -2
  207. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  208. package/dist/collection/components/six-tab-group/six-tab-group.js +33 -7
  209. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  210. package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
  211. package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
  212. package/dist/collection/components/six-tag/six-tag.js +2 -2
  213. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  214. package/dist/collection/components/six-textarea/six-textarea.js +2 -2
  215. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
  216. package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +1 -1
  217. package/dist/collection/components/six-tile/six-tile.js +3 -3
  218. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  219. package/dist/collection/components/six-timepicker/six-timepicker.js +1 -1
  220. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  221. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +1 -1
  222. package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
  223. package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
  224. package/dist/collection/utils/alert.js.map +1 -1
  225. package/dist/collection/utils/date-util.js +25 -0
  226. package/dist/collection/utils/date-util.js.map +1 -1
  227. package/dist/collection/utils/date-util.spec.js.map +1 -1
  228. package/dist/collection/utils/error-messages.js.map +1 -1
  229. package/dist/collection/utils/event-listeners.js.map +1 -1
  230. package/dist/collection/utils/focus-visible.js.map +1 -1
  231. package/dist/collection/utils/form.js.map +1 -1
  232. package/dist/collection/utils/modal.js.map +1 -1
  233. package/dist/collection/utils/popover.js.map +1 -1
  234. package/dist/collection/utils/popup.js.map +1 -1
  235. package/dist/collection/utils/scroll.js.map +1 -1
  236. package/dist/collection/utils/slot.js.map +1 -1
  237. package/dist/collection/utils/tabbable.js.map +1 -1
  238. package/dist/collection/utils/time.util.js.map +1 -1
  239. package/dist/collection/utils/time.util.spec.js.map +1 -1
  240. package/dist/components/index.js +0 -2
  241. package/dist/components/index.js.map +1 -1
  242. package/dist/components/modal.js +1 -17
  243. package/dist/components/modal.js.map +1 -1
  244. package/dist/components/six-alert.js +16 -6
  245. package/dist/components/six-alert.js.map +1 -1
  246. package/dist/components/six-avatar.js +3 -2
  247. package/dist/components/six-avatar.js.map +1 -1
  248. package/dist/components/six-badge.js +4 -3
  249. package/dist/components/six-badge.js.map +1 -1
  250. package/dist/components/six-button2.js +4 -3
  251. package/dist/components/six-button2.js.map +1 -1
  252. package/dist/components/six-card.js +3 -2
  253. package/dist/components/six-card.js.map +1 -1
  254. package/dist/components/six-checkbox2.js +4 -3
  255. package/dist/components/six-checkbox2.js.map +1 -1
  256. package/dist/components/six-datepicker.js +28 -2
  257. package/dist/components/six-datepicker.js.map +1 -1
  258. package/dist/components/six-details2.js +5 -4
  259. package/dist/components/six-details2.js.map +1 -1
  260. package/dist/components/six-dialog.js +13 -29
  261. package/dist/components/six-dialog.js.map +1 -1
  262. package/dist/components/six-drawer.js +12 -29
  263. package/dist/components/six-drawer.js.map +1 -1
  264. package/dist/components/six-dropdown2.js +12 -9
  265. package/dist/components/six-dropdown2.js.map +1 -1
  266. package/dist/components/six-error-page.js +3 -2
  267. package/dist/components/six-error-page.js.map +1 -1
  268. package/dist/components/six-error2.js +3 -2
  269. package/dist/components/six-error2.js.map +1 -1
  270. package/dist/components/six-file-list-item.js +4 -3
  271. package/dist/components/six-file-list-item.js.map +1 -1
  272. package/dist/components/six-file-list.js +3 -2
  273. package/dist/components/six-file-list.js.map +1 -1
  274. package/dist/components/six-file-upload.js +6 -5
  275. package/dist/components/six-file-upload.js.map +1 -1
  276. package/dist/components/six-footer.js +3 -2
  277. package/dist/components/six-footer.js.map +1 -1
  278. package/dist/components/six-group-label.js +3 -2
  279. package/dist/components/six-group-label.js.map +1 -1
  280. package/dist/components/six-header.js +12 -11
  281. package/dist/components/six-header.js.map +1 -1
  282. package/dist/components/six-icon-button2.js +5 -4
  283. package/dist/components/six-icon-button2.js.map +1 -1
  284. package/dist/components/six-icon2.js +4 -3
  285. package/dist/components/six-icon2.js.map +1 -1
  286. package/dist/components/six-input2.js +5 -4
  287. package/dist/components/six-input2.js.map +1 -1
  288. package/dist/components/six-item-picker2.js +5 -4
  289. package/dist/components/six-item-picker2.js.map +1 -1
  290. package/dist/components/six-language-switcher.js +5 -4
  291. package/dist/components/six-language-switcher.js.map +1 -1
  292. package/dist/components/six-layout-grid.js +3 -2
  293. package/dist/components/six-layout-grid.js.map +1 -1
  294. package/dist/components/six-main-container.js +3 -2
  295. package/dist/components/six-main-container.js.map +1 -1
  296. package/dist/components/six-menu-divider.js +3 -2
  297. package/dist/components/six-menu-divider.js.map +1 -1
  298. package/dist/components/six-menu-item2.js +4 -3
  299. package/dist/components/six-menu-item2.js.map +1 -1
  300. package/dist/components/six-menu-label.js +3 -2
  301. package/dist/components/six-menu-label.js.map +1 -1
  302. package/dist/components/six-menu2.js +4 -3
  303. package/dist/components/six-menu2.js.map +1 -1
  304. package/dist/components/six-picto2.js +3 -2
  305. package/dist/components/six-picto2.js.map +1 -1
  306. package/dist/components/six-progress-bar.js +4 -3
  307. package/dist/components/six-progress-bar.js.map +1 -1
  308. package/dist/components/six-progress-ring.js +3 -2
  309. package/dist/components/six-progress-ring.js.map +1 -1
  310. package/dist/components/six-radio.js +4 -3
  311. package/dist/components/six-radio.js.map +1 -1
  312. package/dist/components/six-range.js +15 -4
  313. package/dist/components/six-range.js.map +1 -1
  314. package/dist/components/six-root.js +6 -34
  315. package/dist/components/six-root.js.map +1 -1
  316. package/dist/components/six-search-field.js +3 -2
  317. package/dist/components/six-search-field.js.map +1 -1
  318. package/dist/components/six-select.js +8 -7
  319. package/dist/components/six-select.js.map +1 -1
  320. package/dist/components/six-sidebar-item-group.js +2 -1
  321. package/dist/components/six-sidebar-item-group.js.map +1 -1
  322. package/dist/components/six-sidebar-item.js +4 -3
  323. package/dist/components/six-sidebar-item.js.map +1 -1
  324. package/dist/components/six-sidebar.js +4 -3
  325. package/dist/components/six-sidebar.js.map +1 -1
  326. package/dist/components/six-spinner2.js +2 -1
  327. package/dist/components/six-spinner2.js.map +1 -1
  328. package/dist/components/six-stage-indicator2.js +2 -1
  329. package/dist/components/six-stage-indicator2.js.map +1 -1
  330. package/dist/components/six-switch.js +4 -3
  331. package/dist/components/six-switch.js.map +1 -1
  332. package/dist/components/six-tab-group.js +35 -8
  333. package/dist/components/six-tab-group.js.map +1 -1
  334. package/dist/components/six-tab-panel.js +3 -2
  335. package/dist/components/six-tab-panel.js.map +1 -1
  336. package/dist/components/six-tab.js +4 -3
  337. package/dist/components/six-tab.js.map +1 -1
  338. package/dist/components/six-tag.js +4 -3
  339. package/dist/components/six-tag.js.map +1 -1
  340. package/dist/components/six-textarea.js +4 -3
  341. package/dist/components/six-textarea.js.map +1 -1
  342. package/dist/components/six-tile.js +5 -4
  343. package/dist/components/six-tile.js.map +1 -1
  344. package/dist/components/six-timepicker2.js +3 -2
  345. package/dist/components/six-timepicker2.js.map +1 -1
  346. package/dist/components/six-tooltip2.js +4 -3
  347. package/dist/components/six-tooltip2.js.map +1 -1
  348. package/dist/components.json +14 -107
  349. package/dist/esm/app-globals-0f993ce5.js +5 -0
  350. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  351. package/dist/esm/{form-control-77fcccd0.js → form-control-5d3cf9d4.js} +2 -2
  352. package/dist/esm/{form-control-77fcccd0.js.map → form-control-5d3cf9d4.js.map} +1 -1
  353. package/dist/esm/{index-6c10d50b.js → index-d415464d.js} +67 -490
  354. package/dist/esm/index-d415464d.js.map +1 -0
  355. package/dist/esm/loader.js +6 -4
  356. package/dist/esm/loader.js.map +1 -1
  357. package/dist/esm/{modal-96526245.js → modal-6c1288e3.js} +2 -18
  358. package/dist/esm/modal-6c1288e3.js.map +1 -0
  359. package/dist/esm/six-alert.entry.js +17 -7
  360. package/dist/esm/six-alert.entry.js.map +1 -1
  361. package/dist/esm/six-avatar.entry.js +4 -3
  362. package/dist/esm/six-avatar.entry.js.map +1 -1
  363. package/dist/esm/six-badge.entry.js +5 -4
  364. package/dist/esm/six-badge.entry.js.map +1 -1
  365. package/dist/esm/six-button.entry.js +5 -4
  366. package/dist/esm/six-button.entry.js.map +1 -1
  367. package/dist/esm/six-card.entry.js +4 -3
  368. package/dist/esm/six-card.entry.js.map +1 -1
  369. package/dist/esm/six-checkbox_2.entry.js +10 -8
  370. package/dist/esm/six-checkbox_2.entry.js.map +1 -1
  371. package/dist/esm/six-datepicker.entry.js +29 -3
  372. package/dist/esm/six-datepicker.entry.js.map +1 -1
  373. package/dist/esm/six-details.entry.js +6 -5
  374. package/dist/esm/six-details.entry.js.map +1 -1
  375. package/dist/esm/six-dialog.entry.js +14 -30
  376. package/dist/esm/six-dialog.entry.js.map +1 -1
  377. package/dist/esm/six-drawer.entry.js +13 -30
  378. package/dist/esm/six-drawer.entry.js.map +1 -1
  379. package/dist/esm/six-dropdown_2.entry.js +17 -13
  380. package/dist/esm/six-dropdown_2.entry.js.map +1 -1
  381. package/dist/esm/six-error-page.entry.js +4 -3
  382. package/dist/esm/six-error-page.entry.js.map +1 -1
  383. package/dist/esm/six-error.entry.js +4 -3
  384. package/dist/esm/six-error.entry.js.map +1 -1
  385. package/dist/esm/six-file-list-item.entry.js +5 -4
  386. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  387. package/dist/esm/six-file-list.entry.js +4 -3
  388. package/dist/esm/six-file-list.entry.js.map +1 -1
  389. package/dist/esm/six-file-upload.entry.js +7 -6
  390. package/dist/esm/six-file-upload.entry.js.map +1 -1
  391. package/dist/esm/six-footer.entry.js +4 -3
  392. package/dist/esm/six-footer.entry.js.map +1 -1
  393. package/dist/esm/six-group-label.entry.js +5 -4
  394. package/dist/esm/six-group-label.entry.js.map +1 -1
  395. package/dist/esm/six-header.entry.js +13 -12
  396. package/dist/esm/six-header.entry.js.map +1 -1
  397. package/dist/esm/six-icon-button.entry.js +6 -5
  398. package/dist/esm/six-icon-button.entry.js.map +1 -1
  399. package/dist/esm/six-icon.entry.js +5 -4
  400. package/dist/esm/six-icon.entry.js.map +1 -1
  401. package/dist/esm/six-input.entry.js +7 -6
  402. package/dist/esm/six-input.entry.js.map +1 -1
  403. package/dist/esm/six-item-picker.entry.js +6 -5
  404. package/dist/esm/six-item-picker.entry.js.map +1 -1
  405. package/dist/esm/six-language-switcher.entry.js +6 -5
  406. package/dist/esm/six-language-switcher.entry.js.map +1 -1
  407. package/dist/esm/six-layout-grid.entry.js +4 -3
  408. package/dist/esm/six-layout-grid.entry.js.map +1 -1
  409. package/dist/esm/six-main-container.entry.js +4 -3
  410. package/dist/esm/six-main-container.entry.js.map +1 -1
  411. package/dist/esm/six-menu-divider.entry.js +4 -3
  412. package/dist/esm/six-menu-divider.entry.js.map +1 -1
  413. package/dist/esm/six-menu-label.entry.js +4 -3
  414. package/dist/esm/six-menu-label.entry.js.map +1 -1
  415. package/dist/esm/six-picto.entry.js +4 -3
  416. package/dist/esm/six-picto.entry.js.map +1 -1
  417. package/dist/esm/six-progress-bar.entry.js +5 -4
  418. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  419. package/dist/esm/six-progress-ring.entry.js +4 -3
  420. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  421. package/dist/esm/six-radio.entry.js +5 -4
  422. package/dist/esm/six-radio.entry.js.map +1 -1
  423. package/dist/esm/six-range.entry.js +17 -6
  424. package/dist/esm/six-range.entry.js.map +1 -1
  425. package/dist/esm/six-root.entry.js +4 -22
  426. package/dist/esm/six-root.entry.js.map +1 -1
  427. package/dist/esm/six-search-field.entry.js +4 -3
  428. package/dist/esm/six-search-field.entry.js.map +1 -1
  429. package/dist/esm/six-select.entry.js +10 -9
  430. package/dist/esm/six-select.entry.js.map +1 -1
  431. package/dist/esm/six-sidebar-item-group.entry.js +3 -2
  432. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  433. package/dist/esm/six-sidebar-item.entry.js +5 -4
  434. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  435. package/dist/esm/six-sidebar.entry.js +5 -4
  436. package/dist/esm/six-sidebar.entry.js.map +1 -1
  437. package/dist/esm/six-spinner.entry.js +3 -2
  438. package/dist/esm/six-spinner.entry.js.map +1 -1
  439. package/dist/esm/six-stage-indicator.entry.js +19 -0
  440. package/dist/esm/six-stage-indicator.entry.js.map +1 -0
  441. package/dist/esm/six-switch.entry.js +6 -5
  442. package/dist/esm/six-switch.entry.js.map +1 -1
  443. package/dist/esm/six-tab-group.entry.js +34 -8
  444. package/dist/esm/six-tab-group.entry.js.map +1 -1
  445. package/dist/esm/six-tab-panel.entry.js +4 -3
  446. package/dist/esm/six-tab-panel.entry.js.map +1 -1
  447. package/dist/esm/six-tab.entry.js +5 -4
  448. package/dist/esm/six-tab.entry.js.map +1 -1
  449. package/dist/esm/six-tag.entry.js +5 -4
  450. package/dist/esm/six-tag.entry.js.map +1 -1
  451. package/dist/esm/six-textarea.entry.js +6 -5
  452. package/dist/esm/six-textarea.entry.js.map +1 -1
  453. package/dist/esm/six-tile.entry.js +6 -5
  454. package/dist/esm/six-tile.entry.js.map +1 -1
  455. package/dist/esm/six-timepicker.entry.js +4 -3
  456. package/dist/esm/six-timepicker.entry.js.map +1 -1
  457. package/dist/esm/six-tooltip.entry.js +5 -4
  458. package/dist/esm/six-tooltip.entry.js.map +1 -1
  459. package/dist/esm/ui-library.js +7 -5
  460. package/dist/esm/ui-library.js.map +1 -1
  461. package/dist/types/components/six-alert/six-alert.d.ts +8 -4
  462. package/dist/types/components/six-datepicker/six-datepicker.d.ts +1 -1
  463. package/dist/types/components/six-dialog/six-dialog.d.ts +1 -0
  464. package/dist/types/components/six-range/six-range.d.ts +2 -0
  465. package/dist/types/components/six-root/six-root.d.ts +0 -13
  466. package/dist/types/components/six-tab-group/six-tab-group.d.ts +4 -1
  467. package/dist/types/components.d.ts +4 -54
  468. package/dist/types/utils/date-util.d.ts +9 -1
  469. package/dist/ui-library/p-00c784f9.entry.js +2 -0
  470. package/dist/ui-library/p-00c784f9.entry.js.map +1 -0
  471. package/dist/ui-library/{p-2cd674e0.entry.js → p-0a71815c.entry.js} +2 -2
  472. package/dist/ui-library/p-0a71815c.entry.js.map +1 -0
  473. package/dist/ui-library/p-195619ed.entry.js +2 -0
  474. package/dist/ui-library/p-195619ed.entry.js.map +1 -0
  475. package/dist/ui-library/p-254d32bf.entry.js +2 -0
  476. package/dist/ui-library/p-254d32bf.entry.js.map +1 -0
  477. package/dist/ui-library/p-25b9dacc.entry.js +2 -0
  478. package/dist/ui-library/p-25b9dacc.entry.js.map +1 -0
  479. package/dist/ui-library/p-29b50eae.entry.js +2 -0
  480. package/dist/ui-library/p-29b50eae.entry.js.map +1 -0
  481. package/dist/ui-library/p-2b7e2bcb.entry.js +2 -0
  482. package/dist/ui-library/p-2b7e2bcb.entry.js.map +1 -0
  483. package/dist/ui-library/p-2e7312fc.entry.js +2 -0
  484. package/dist/ui-library/p-2e7312fc.entry.js.map +1 -0
  485. package/dist/ui-library/p-2f586b01.entry.js +2 -0
  486. package/dist/ui-library/p-2f586b01.entry.js.map +1 -0
  487. package/dist/ui-library/p-35510b9d.entry.js +2 -0
  488. package/dist/ui-library/p-35510b9d.entry.js.map +1 -0
  489. package/dist/ui-library/p-3f84b852.entry.js +2 -0
  490. package/dist/ui-library/p-3f84b852.entry.js.map +1 -0
  491. package/dist/ui-library/p-46817c94.entry.js +2 -0
  492. package/dist/ui-library/p-46817c94.entry.js.map +1 -0
  493. package/dist/ui-library/{p-021f6da9.entry.js → p-51530e6d.entry.js} +2 -2
  494. package/dist/ui-library/p-51530e6d.entry.js.map +1 -0
  495. package/dist/ui-library/p-57d3562c.entry.js +2 -0
  496. package/dist/ui-library/p-57d3562c.entry.js.map +1 -0
  497. package/dist/ui-library/{p-4a3ba956.entry.js → p-5b8a5a21.entry.js} +2 -2
  498. package/dist/ui-library/p-5b8a5a21.entry.js.map +1 -0
  499. package/dist/ui-library/p-5cde0403.entry.js +2 -0
  500. package/dist/ui-library/p-5cde0403.entry.js.map +1 -0
  501. package/dist/ui-library/p-5ea7ffad.entry.js +2 -0
  502. package/dist/ui-library/p-5ea7ffad.entry.js.map +1 -0
  503. package/dist/ui-library/p-651293e7.js +2 -0
  504. package/dist/ui-library/p-651293e7.js.map +1 -0
  505. package/dist/ui-library/p-65b32e2b.entry.js +2 -0
  506. package/dist/ui-library/p-65b32e2b.entry.js.map +1 -0
  507. package/dist/ui-library/p-6741b418.entry.js +2 -0
  508. package/dist/ui-library/p-6741b418.entry.js.map +1 -0
  509. package/dist/ui-library/{p-d702b6ec.entry.js → p-6adcd790.entry.js} +2 -2
  510. package/dist/ui-library/p-6adcd790.entry.js.map +1 -0
  511. package/dist/ui-library/{p-831517cd.entry.js → p-6bf442d5.entry.js} +2 -2
  512. package/dist/ui-library/p-6bf442d5.entry.js.map +1 -0
  513. package/dist/ui-library/{p-67496e8c.js → p-6ee48e81.js} +2 -2
  514. package/dist/ui-library/p-7130a678.entry.js +2 -0
  515. package/dist/ui-library/p-7130a678.entry.js.map +1 -0
  516. package/dist/ui-library/p-71a4a398.entry.js +2 -0
  517. package/dist/ui-library/p-71a4a398.entry.js.map +1 -0
  518. package/dist/ui-library/p-7254e090.entry.js +2 -0
  519. package/dist/ui-library/p-7254e090.entry.js.map +1 -0
  520. package/dist/ui-library/p-8af4ae3e.entry.js +2 -0
  521. package/dist/ui-library/p-8af4ae3e.entry.js.map +1 -0
  522. package/dist/ui-library/p-957a36f7.entry.js +2 -0
  523. package/dist/ui-library/p-957a36f7.entry.js.map +1 -0
  524. package/dist/ui-library/{p-8c38a7bd.entry.js → p-9a4cc473.entry.js} +2 -2
  525. package/dist/ui-library/p-9a4cc473.entry.js.map +1 -0
  526. package/dist/ui-library/p-9ddaa7e2.entry.js +2 -0
  527. package/dist/ui-library/p-9ddaa7e2.entry.js.map +1 -0
  528. package/dist/ui-library/{p-88767c27.entry.js → p-9e0f0562.entry.js} +2 -2
  529. package/dist/ui-library/p-9e0f0562.entry.js.map +1 -0
  530. package/dist/ui-library/{p-1b135e1c.entry.js → p-9e14b37a.entry.js} +2 -2
  531. package/dist/ui-library/p-9e14b37a.entry.js.map +1 -0
  532. package/dist/ui-library/p-9effba13.entry.js +2 -0
  533. package/dist/ui-library/p-9effba13.entry.js.map +1 -0
  534. package/dist/ui-library/p-a0e324ad.entry.js +2 -0
  535. package/dist/ui-library/p-a0e324ad.entry.js.map +1 -0
  536. package/dist/ui-library/{p-e340a0ad.entry.js → p-a31dfc45.entry.js} +2 -2
  537. package/dist/ui-library/p-a31dfc45.entry.js.map +1 -0
  538. package/dist/ui-library/p-a4e3f4e5.entry.js +2 -0
  539. package/dist/ui-library/p-a4e3f4e5.entry.js.map +1 -0
  540. package/dist/ui-library/{p-2132da0a.entry.js → p-a627f6e0.entry.js} +2 -2
  541. package/dist/ui-library/p-a627f6e0.entry.js.map +1 -0
  542. package/dist/ui-library/p-a69ba529.entry.js +2 -0
  543. package/dist/ui-library/p-a69ba529.entry.js.map +1 -0
  544. package/dist/ui-library/p-a995283c.entry.js +2 -0
  545. package/dist/ui-library/p-a995283c.entry.js.map +1 -0
  546. package/dist/ui-library/p-b4f81f97.entry.js +2 -0
  547. package/dist/ui-library/p-b4f81f97.entry.js.map +1 -0
  548. package/dist/ui-library/p-b863dcc4.entry.js +2 -0
  549. package/dist/ui-library/p-b863dcc4.entry.js.map +1 -0
  550. package/dist/ui-library/{p-a036cc6f.entry.js → p-bca7a8c8.entry.js} +2 -2
  551. package/dist/ui-library/p-bca7a8c8.entry.js.map +1 -0
  552. package/dist/ui-library/p-c46013f4.entry.js +2 -0
  553. package/dist/ui-library/p-c46013f4.entry.js.map +1 -0
  554. package/dist/ui-library/{p-1431a2a8.entry.js → p-cec88a79.entry.js} +2 -2
  555. package/dist/ui-library/p-cec88a79.entry.js.map +1 -0
  556. package/dist/ui-library/p-d15331e7.entry.js +2 -0
  557. package/dist/ui-library/p-d15331e7.entry.js.map +1 -0
  558. package/dist/ui-library/p-d668844e.entry.js +2 -0
  559. package/dist/ui-library/p-d668844e.entry.js.map +1 -0
  560. package/dist/ui-library/p-e1255160.js +2 -0
  561. package/dist/ui-library/p-e1255160.js.map +1 -0
  562. package/dist/ui-library/p-e5c08d9f.entry.js +2 -0
  563. package/dist/ui-library/p-e5c08d9f.entry.js.map +1 -0
  564. package/dist/ui-library/p-e6db01a9.entry.js +2 -0
  565. package/dist/ui-library/p-e6db01a9.entry.js.map +1 -0
  566. package/dist/ui-library/p-e8d5a789.js +3 -0
  567. package/dist/ui-library/p-e8d5a789.js.map +1 -0
  568. package/dist/ui-library/p-f1dcaab0.entry.js +2 -0
  569. package/dist/ui-library/p-f1dcaab0.entry.js.map +1 -0
  570. package/dist/ui-library/p-f2320c65.entry.js +2 -0
  571. package/dist/ui-library/p-f2320c65.entry.js.map +1 -0
  572. package/dist/ui-library/p-f4c61910.entry.js +2 -0
  573. package/dist/ui-library/p-f4c61910.entry.js.map +1 -0
  574. package/dist/ui-library/p-fe483fc6.entry.js +2 -0
  575. package/dist/ui-library/p-fe483fc6.entry.js.map +1 -0
  576. package/dist/ui-library/ui-library.esm.js +1 -1
  577. package/dist/ui-library/ui-library.esm.js.map +1 -1
  578. package/package.json +1 -1
  579. package/dist/cjs/index-5dd19c4b.js.map +0 -1
  580. package/dist/cjs/modal-3ce015be.js.map +0 -1
  581. package/dist/cjs/set-attributes_2.cjs.entry.js +0 -73
  582. package/dist/cjs/set-attributes_2.cjs.entry.js.map +0 -1
  583. package/dist/collection/utils/support.js +0 -16
  584. package/dist/collection/utils/support.js.map +0 -1
  585. package/dist/collection/wrappers/set-attributes/set-attributes.js +0 -74
  586. package/dist/collection/wrappers/set-attributes/set-attributes.js.map +0 -1
  587. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js +0 -16
  588. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js.map +0 -1
  589. package/dist/components/set-attributes.d.ts +0 -11
  590. package/dist/components/set-attributes.js +0 -8
  591. package/dist/components/set-attributes.js.map +0 -1
  592. package/dist/components/set-attributes2.js +0 -73
  593. package/dist/components/set-attributes2.js.map +0 -1
  594. package/dist/esm/index-6c10d50b.js.map +0 -1
  595. package/dist/esm/modal-96526245.js.map +0 -1
  596. package/dist/esm/set-attributes_2.entry.js +0 -68
  597. package/dist/esm/set-attributes_2.entry.js.map +0 -1
  598. package/dist/types/utils/support.d.ts +0 -1
  599. package/dist/types/wrappers/set-attributes/set-attributes.d.ts +0 -9
  600. package/dist/ui-library/p-01ae4500.entry.js +0 -2
  601. package/dist/ui-library/p-01ae4500.entry.js.map +0 -1
  602. package/dist/ui-library/p-021f6da9.entry.js.map +0 -1
  603. package/dist/ui-library/p-0274c52c.entry.js +0 -2
  604. package/dist/ui-library/p-0274c52c.entry.js.map +0 -1
  605. package/dist/ui-library/p-0cb135aa.entry.js +0 -2
  606. package/dist/ui-library/p-0cb135aa.entry.js.map +0 -1
  607. package/dist/ui-library/p-1431a2a8.entry.js.map +0 -1
  608. package/dist/ui-library/p-1aa28025.entry.js +0 -2
  609. package/dist/ui-library/p-1aa28025.entry.js.map +0 -1
  610. package/dist/ui-library/p-1b135e1c.entry.js.map +0 -1
  611. package/dist/ui-library/p-1be990f9.entry.js +0 -2
  612. package/dist/ui-library/p-1be990f9.entry.js.map +0 -1
  613. package/dist/ui-library/p-2008636b.entry.js +0 -2
  614. package/dist/ui-library/p-2008636b.entry.js.map +0 -1
  615. package/dist/ui-library/p-2132da0a.entry.js.map +0 -1
  616. package/dist/ui-library/p-2cd674e0.entry.js.map +0 -1
  617. package/dist/ui-library/p-2d86ba99.entry.js +0 -2
  618. package/dist/ui-library/p-2d86ba99.entry.js.map +0 -1
  619. package/dist/ui-library/p-31a4a74c.entry.js +0 -2
  620. package/dist/ui-library/p-31a4a74c.entry.js.map +0 -1
  621. package/dist/ui-library/p-391f10f1.entry.js +0 -2
  622. package/dist/ui-library/p-391f10f1.entry.js.map +0 -1
  623. package/dist/ui-library/p-3dd28dc0.entry.js +0 -2
  624. package/dist/ui-library/p-3dd28dc0.entry.js.map +0 -1
  625. package/dist/ui-library/p-46ee280d.entry.js +0 -2
  626. package/dist/ui-library/p-46ee280d.entry.js.map +0 -1
  627. package/dist/ui-library/p-4752a63c.entry.js +0 -2
  628. package/dist/ui-library/p-4752a63c.entry.js.map +0 -1
  629. package/dist/ui-library/p-4772a9d3.entry.js +0 -2
  630. package/dist/ui-library/p-4772a9d3.entry.js.map +0 -1
  631. package/dist/ui-library/p-4a3ba956.entry.js.map +0 -1
  632. package/dist/ui-library/p-4b154936.entry.js +0 -2
  633. package/dist/ui-library/p-4b154936.entry.js.map +0 -1
  634. package/dist/ui-library/p-5a5f6869.entry.js +0 -2
  635. package/dist/ui-library/p-5a5f6869.entry.js.map +0 -1
  636. package/dist/ui-library/p-621c2742.entry.js +0 -2
  637. package/dist/ui-library/p-621c2742.entry.js.map +0 -1
  638. package/dist/ui-library/p-65778e3d.entry.js +0 -2
  639. package/dist/ui-library/p-65778e3d.entry.js.map +0 -1
  640. package/dist/ui-library/p-66cd3b0c.entry.js +0 -2
  641. package/dist/ui-library/p-66cd3b0c.entry.js.map +0 -1
  642. package/dist/ui-library/p-78529c8c.entry.js +0 -2
  643. package/dist/ui-library/p-78529c8c.entry.js.map +0 -1
  644. package/dist/ui-library/p-7eb592a8.entry.js +0 -2
  645. package/dist/ui-library/p-7eb592a8.entry.js.map +0 -1
  646. package/dist/ui-library/p-831517cd.entry.js.map +0 -1
  647. package/dist/ui-library/p-87e197ee.entry.js +0 -2
  648. package/dist/ui-library/p-87e197ee.entry.js.map +0 -1
  649. package/dist/ui-library/p-88767c27.entry.js.map +0 -1
  650. package/dist/ui-library/p-8c38a7bd.entry.js.map +0 -1
  651. package/dist/ui-library/p-943ce0f2.entry.js +0 -2
  652. package/dist/ui-library/p-943ce0f2.entry.js.map +0 -1
  653. package/dist/ui-library/p-979eabb5.entry.js +0 -2
  654. package/dist/ui-library/p-979eabb5.entry.js.map +0 -1
  655. package/dist/ui-library/p-98ce9502.entry.js +0 -2
  656. package/dist/ui-library/p-98ce9502.entry.js.map +0 -1
  657. package/dist/ui-library/p-998de05d.js +0 -2
  658. package/dist/ui-library/p-998de05d.js.map +0 -1
  659. package/dist/ui-library/p-a036cc6f.entry.js.map +0 -1
  660. package/dist/ui-library/p-a29f6a0e.entry.js +0 -2
  661. package/dist/ui-library/p-a29f6a0e.entry.js.map +0 -1
  662. package/dist/ui-library/p-a3fd8c74.entry.js +0 -2
  663. package/dist/ui-library/p-a3fd8c74.entry.js.map +0 -1
  664. package/dist/ui-library/p-a919b557.entry.js +0 -2
  665. package/dist/ui-library/p-a919b557.entry.js.map +0 -1
  666. package/dist/ui-library/p-ace4ec84.entry.js +0 -2
  667. package/dist/ui-library/p-ace4ec84.entry.js.map +0 -1
  668. package/dist/ui-library/p-adf5a4da.entry.js +0 -2
  669. package/dist/ui-library/p-adf5a4da.entry.js.map +0 -1
  670. package/dist/ui-library/p-b5f844f7.entry.js +0 -2
  671. package/dist/ui-library/p-b5f844f7.entry.js.map +0 -1
  672. package/dist/ui-library/p-b8ea574b.entry.js +0 -2
  673. package/dist/ui-library/p-b8ea574b.entry.js.map +0 -1
  674. package/dist/ui-library/p-bff679fa.entry.js +0 -2
  675. package/dist/ui-library/p-bff679fa.entry.js.map +0 -1
  676. package/dist/ui-library/p-ca63a6fa.js +0 -3
  677. package/dist/ui-library/p-ca63a6fa.js.map +0 -1
  678. package/dist/ui-library/p-d221d86a.entry.js +0 -2
  679. package/dist/ui-library/p-d221d86a.entry.js.map +0 -1
  680. package/dist/ui-library/p-d702b6ec.entry.js.map +0 -1
  681. package/dist/ui-library/p-db9d2fde.entry.js +0 -2
  682. package/dist/ui-library/p-db9d2fde.entry.js.map +0 -1
  683. package/dist/ui-library/p-e0dd0307.entry.js +0 -2
  684. package/dist/ui-library/p-e0dd0307.entry.js.map +0 -1
  685. package/dist/ui-library/p-e340a0ad.entry.js.map +0 -1
  686. package/dist/ui-library/p-f640731b.entry.js +0 -2
  687. package/dist/ui-library/p-f640731b.entry.js.map +0 -1
  688. package/dist/ui-library/p-fce214eb.entry.js +0 -2
  689. package/dist/ui-library/p-fce214eb.entry.js.map +0 -1
  690. package/dist/ui-library/p-fe87f64b.entry.js +0 -2
  691. package/dist/ui-library/p-fe87f64b.entry.js.map +0 -1
  692. /package/dist/ui-library/{p-67496e8c.js.map → p-6ee48e81.js.map} +0 -0
@@ -1 +1 @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CAAC,EAAE,KAAK,EAAC,oBAAoB,IACzE,WACE,IAAI,EAAC,MAAM,EACX,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC,EAChC,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,KAAK,EAAE;gBACL,OAAO,EAAE,IAAI;gBACb,eAAe,EAAE,IAAI,CAAC,IAAI;aAC3B,EACD,IAAI,EAAC,SAAS,iBACD,IAAI,CAAC,IAAI,GAAG,OAAO,GAAG,MAAM,IAEzC,YAAM,IAAI,EAAC,SAAS,IAAE,IAAI,CAAC,OAAO,CAAQ,CACtC,CACF,CACD,EACP;KACH;;;;;;;;;;","names":[],"sources":["src/components/six-tooltip/six-tooltip.scss?tag=six-tooltip&encapsulation=shadow","src/components/six-tooltip/six-tooltip.tsx"],"sourcesContent":["@import 'src/global/component';\n\n/**\n * @prop --hide-delay: The amount of time to wait before hiding the tooltip.\n * @prop --hide-duration: The amount of time the hide transition takes to complete.\n * @prop --hide-timing-function: The timing function (easing) to use for the hide transition.\n * @prop --max-width: The maximum width of the tooltip.\n * @prop --show-delay: The amount of time to wait before showing the tooltip.\n * @prop --show-duration: The amount of time the show transition takes to complete.\n * @prop --show-timing-function: The timing function (easing) to use for the show transition.\n */\n:host {\n --max-width: 20rem;\n --hide-delay: 0s;\n --hide-duration: 0.125s;\n --hide-timing-function: ease;\n --show-delay: 0.125s;\n --show-duration: 0.125s;\n --show-timing-function: ease;\n\n display: contents;\n}\n\n.tooltip-positioner {\n position: fixed;\n z-index: var(--six-z-index-tooltip);\n pointer-events: none;\n}\n\n.tooltip {\n max-width: var(--max-width);\n border-radius: var(--six-border-radius-medium);\n background-color: var(--six-tooltip-background-color);\n font-family: var(--six-font-family);\n font-size: var(--six-tooltip-font-size);\n font-weight: var(--six-tooltip-font-weight);\n line-height: var(--six-tooltip-line-height);\n color: var(--six-tooltip-color);\n opacity: 0;\n padding: var(--six-spacing-xxx-small) var(--six-spacing-x-small);\n transform: scale(0.8);\n transform-origin: bottom;\n transition-property: opacity, transform;\n transition-delay: var(--hide-delay);\n transition-duration: var(--hide-duration);\n transition-timing-function: var(--hide-timing-function);\n\n &::after {\n content: '';\n position: absolute;\n width: 0;\n height: 0;\n }\n}\n\n.tooltip-positioner {\n &[data-popper-placement^='top'] .tooltip {\n transform-origin: bottom;\n }\n\n &[data-popper-placement^='bottom'] .tooltip {\n transform-origin: top;\n }\n\n &[data-popper-placement^='left'] .tooltip {\n transform-origin: right;\n }\n\n &[data-popper-placement^='right'] .tooltip {\n transform-origin: left;\n }\n\n &.popover-visible .tooltip {\n opacity: 1;\n transform: none;\n transition-delay: var(--show-delay);\n transition-duration: var(--show-duration);\n transition-timing-function: var(--show-timing-function);\n }\n}\n\n// Arrow + bottom\n.tooltip-positioner[data-popper-placement^='bottom'] .tooltip::after {\n bottom: 100%;\n left: calc(50% - var(--six-tooltip-arrow-size));\n border-bottom: var(--six-tooltip-arrow-size) solid var(--six-tooltip-background-color);\n border-left: var(--six-tooltip-arrow-size) solid transparent;\n border-right: var(--six-tooltip-arrow-size) solid transparent;\n}\n\n.tooltip-positioner[data-popper-placement='bottom-start'] .tooltip::after {\n left: var(--six-tooltip-arrow-start-end-offset);\n}\n\n.tooltip-positioner[data-popper-placement='bottom-end'] .tooltip::after {\n right: var(--six-tooltip-arrow-start-end-offset);\n left: auto;\n}\n\n// Arrow + top\n.tooltip-positioner[data-popper-placement^='top'] .tooltip::after {\n top: 100%;\n left: calc(50% - var(--six-tooltip-arrow-size));\n border-top: var(--six-tooltip-arrow-size) solid var(--six-tooltip-background-color);\n border-left: var(--six-tooltip-arrow-size) solid transparent;\n border-right: var(--six-tooltip-arrow-size) solid transparent;\n}\n\n.tooltip-positioner[data-popper-placement='top-start'] .tooltip::after {\n left: var(--six-tooltip-arrow-start-end-offset);\n}\n\n.tooltip-positioner[data-popper-placement='top-end'] .tooltip::after {\n right: var(--six-tooltip-arrow-start-end-offset);\n left: auto;\n}\n\n// Arrow + left\n.tooltip-positioner[data-popper-placement^='left'] .tooltip::after {\n top: calc(50% - var(--six-tooltip-arrow-size));\n left: 100%;\n border-left: var(--six-tooltip-arrow-size) solid var(--six-tooltip-background-color);\n border-top: var(--six-tooltip-arrow-size) solid transparent;\n border-bottom: var(--six-tooltip-arrow-size) solid transparent;\n}\n\n.tooltip-positioner[data-popper-placement='left-start'] .tooltip::after {\n top: var(--six-tooltip-arrow-start-end-offset);\n}\n\n.tooltip-positioner[data-popper-placement='left-end'] .tooltip::after {\n top: auto;\n bottom: var(--six-tooltip-arrow-start-end-offset);\n}\n\n// Arrow + right\n.tooltip-positioner[data-popper-placement^='right'] .tooltip::after {\n top: calc(50% - var(--six-tooltip-arrow-size));\n right: 100%;\n border-right: var(--six-tooltip-arrow-size) solid var(--six-tooltip-background-color);\n border-top: var(--six-tooltip-arrow-size) solid transparent;\n border-bottom: var(--six-tooltip-arrow-size) solid transparent;\n}\n\n.tooltip-positioner[data-popper-placement='right-start'] .tooltip::after {\n top: var(--six-tooltip-arrow-start-end-offset);\n}\n\n.tooltip-positioner[data-popper-placement='right-end'] .tooltip::after {\n top: auto;\n bottom: var(--six-tooltip-arrow-start-end-offset);\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from '@stencil/core';\nimport Popover from '../../utils/popover';\nimport { EmptyPayload } from '../../utils/types';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The tooltip's target element. Only the first element will be used as the target.\n * @slot content - The tooltip's content. Alternatively, you can use the content prop.\n *\n * @part base - The component's base wrapper.\n */\n\n@Component({\n tag: 'six-tooltip',\n styleUrl: 'six-tooltip.scss',\n shadow: true,\n})\nexport class SixTooltip {\n private componentId = `tooltip-${++id}`;\n private isVisible = false;\n private popover?: Popover;\n private tooltipPositioner?: HTMLElement;\n private target?: HTMLElement;\n private tooltip?: HTMLElement;\n\n @Element() host!: HTMLSixTooltipElement;\n\n /** The tooltip's content. Alternatively, you can use the content slot. */\n @Prop() content = '';\n\n /**\n * The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\n * inside the viewport.\n */\n @Prop() placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'top';\n\n /** Set to true to disable the tooltip, so it won't show when triggered. */\n @Prop() disabled = false;\n\n /** The distance in pixels from which to offset the tooltip away from its target. */\n @Prop() distance = 10;\n\n /** Indicates whether the tooltip is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** The distance in pixels from which to offset the tooltip along its target. */\n @Prop() skidding = 0;\n\n /**\n * Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\n * options can be passed by separating them with a space. When manual is used, the tooltip must be activated\n * programmatically.\n */\n @Prop() trigger = 'hover focus';\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the tooltip begins to show. Calling `event.preventDefault()` will prevent it from being shown. */\n @Event({ eventName: 'six-tooltip-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the tooltip has shown and all transitions are complete. */\n @Event({ eventName: 'six-tooltip-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the tooltip begins to hide. Calling `event.preventDefault()` will prevent it from being hidden. */\n @Event({ eventName: 'six-tooltip-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the tooltip has hidden and all transitions are complete. */\n @Event({ eventName: 'six-tooltip-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n componentDidLoad() {\n if (this.tooltipPositioner == null) return;\n this.target = this.getTarget();\n this.popover = new Popover(this.target, this.tooltipPositioner, { strategy: 'fixed' });\n this.syncOptions();\n\n this.host.addEventListener('blur', this.handleBlur, true);\n this.host.addEventListener('click', this.handleClick, true);\n this.host.addEventListener('focus', this.handleFocus, true);\n\n // Show on init if open\n this.tooltipPositioner.hidden = !this.open;\n if (this.open) {\n this.show();\n }\n }\n\n componentDidUpdate() {\n this.syncOptions();\n }\n\n disconnectedCallback() {\n if (this.popover != null) {\n this.popover.destroy();\n }\n\n this.host.removeEventListener('blur', this.handleBlur, true);\n this.host.removeEventListener('click', this.handleClick, true);\n this.host.removeEventListener('focus', this.handleFocus, true);\n }\n\n /** Shows the tooltip. */\n @Method()\n async show() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (this.isVisible || this.disabled) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.isVisible = true;\n this.open = true;\n this.popover?.show();\n }\n\n /** Shows the tooltip. */\n @Method()\n async hide() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (!this.isVisible || this.disabled) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.isVisible = false;\n this.open = false;\n this.popover?.hide();\n }\n\n private getTarget() {\n // Get the first child that isn't a <style> or content slot\n const target = [...this.host.children].find(\n (el) => el.tagName.toLowerCase() !== 'style' && el.getAttribute('slot') !== 'content'\n ) as HTMLElement;\n\n if (target == null) {\n throw new Error('Invalid tooltip target: no child element was found.');\n }\n\n return target;\n }\n\n private handleBlur = () => {\n if (this.hasTrigger('focus')) {\n this.hide();\n }\n };\n\n private handleClick = () => {\n if (this.hasTrigger('click')) {\n this.open ? this.hide() : this.show();\n }\n };\n\n private handleFocus = () => {\n if (this.hasTrigger('focus')) {\n this.show();\n }\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n // Pressing escape when the target element has focus should dismiss the tooltip\n if (this.open && event.key === 'Escape') {\n event.stopPropagation();\n this.hide();\n }\n };\n\n private handleMouseOver = () => {\n if (this.hasTrigger('hover')) {\n this.show();\n }\n };\n\n private handleMouseOut = () => {\n if (this.hasTrigger('hover')) {\n this.hide();\n }\n };\n\n private handleSlotChange = () => {\n const oldTarget = this.target;\n const newTarget = this.getTarget();\n\n if (newTarget !== oldTarget) {\n if (oldTarget != null) {\n oldTarget.removeAttribute('aria-describedby');\n }\n newTarget.setAttribute('aria-describedby', this.componentId);\n }\n };\n\n private hasTrigger(triggerType: string) {\n const triggers = this.trigger.split(' ');\n return triggers.includes(triggerType);\n }\n\n private syncOptions() {\n if (this.popover == null) return;\n\n this.popover.setOptions({\n placement: this.placement,\n distance: this.distance,\n skidding: this.skidding,\n transitionElement: this.tooltip,\n onAfterHide: () => this.sixAfterHide.emit(),\n onAfterShow: () => this.sixAfterShow.emit(),\n });\n }\n\n render() {\n return (\n <Host onKeyDown={this.handleKeyDown} onMouseOver={this.handleMouseOver} onMouseOut={this.handleMouseOut}>\n <slot onSlotchange={this.handleSlotChange} />\n <div ref={(el) => (this.tooltipPositioner = el)} class=\"tooltip-positioner\">\n <div\n part=\"base\"\n ref={(el) => (this.tooltip = el)}\n id={this.componentId}\n class={{\n tooltip: true,\n 'tooltip--open': this.open,\n }}\n role=\"tooltip\"\n aria-hidden={this.open ? 'false' : 'true'}\n >\n <slot name=\"content\">{this.content}</slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"six-tooltip.entry.js","mappings":";;;AAAA,MAAM,aAAa,GAAG,0xHAA0xH,CAAC;AACjzH,yBAAe,aAAa;;ACG5B,IAAI,EAAE,GAAG,CAAC,CAAC;MAmBE,UAAU;;;;;;;QACb,gBAAW,GAAG,WAAW,EAAE,EAAE,EAAE,CAAC;QAChC,cAAS,GAAG,KAAK,CAAC;QAmJlB,eAAU,GAAG;YACnB,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;gBAC5B,IAAI,CAAC,IAAI,EAAE,CAAC;aACb;SACF,CAAC;QAEM,gBAAW,GAAG;YACpB,IAAI,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IAAI,CAAC,OAAO,CAAQ,CACtC,CACF,CACD,EACP;KACH;;;;;;;;;;","names":[],"sources":["src/components/six-tooltip/six-tooltip.scss?tag=six-tooltip&encapsulation=shadow","src/components/six-tooltip/six-tooltip.tsx"],"sourcesContent":["@import 'src/global/component';\n\n/**\n * @prop --hide-delay: The amount of time to wait before hiding the tooltip.\n * @prop --hide-duration: The amount of time the hide transition takes to complete.\n * @prop --hide-timing-function: The timing function (easing) to use for the hide transition.\n * @prop --max-width: The maximum width of the tooltip.\n * @prop --show-delay: The amount of time to wait before showing the tooltip.\n * @prop --show-duration: The amount of time the show transition takes to complete.\n * @prop --show-timing-function: The timing function (easing) to use for the show transition.\n */\n:host {\n --max-width: 20rem;\n --hide-delay: 0s;\n --hide-duration: 0.125s;\n --hide-timing-function: ease;\n --show-delay: 0.125s;\n --show-duration: 0.125s;\n --show-timing-function: ease;\n\n display: contents;\n}\n\n.tooltip-positioner {\n position: fixed;\n z-index: var(--six-z-index-tooltip);\n pointer-events: none;\n}\n\n.tooltip {\n max-width: var(--max-width);\n border-radius: var(--six-border-radius-medium);\n background-color: var(--six-tooltip-background-color);\n font-family: var(--six-font-family);\n font-size: var(--six-tooltip-font-size);\n font-weight: var(--six-tooltip-font-weight);\n line-height: var(--six-tooltip-line-height);\n color: var(--six-tooltip-color);\n opacity: 0;\n padding: var(--six-spacing-xxx-small) var(--six-spacing-x-small);\n transform: scale(0.8);\n transform-origin: bottom;\n transition-property: opacity, transform;\n transition-delay: var(--hide-delay);\n transition-duration: var(--hide-duration);\n transition-timing-function: var(--hide-timing-function);\n\n &::after {\n content: '';\n position: absolute;\n width: 0;\n height: 0;\n }\n}\n\n.tooltip-positioner {\n &[data-popper-placement^='top'] .tooltip {\n transform-origin: bottom;\n }\n\n &[data-popper-placement^='bottom'] .tooltip {\n transform-origin: top;\n }\n\n &[data-popper-placement^='left'] .tooltip {\n transform-origin: right;\n }\n\n &[data-popper-placement^='right'] .tooltip {\n transform-origin: left;\n }\n\n &.popover-visible .tooltip {\n opacity: 1;\n transform: none;\n transition-delay: var(--show-delay);\n transition-duration: var(--show-duration);\n transition-timing-function: var(--show-timing-function);\n }\n}\n\n// Arrow + bottom\n.tooltip-positioner[data-popper-placement^='bottom'] .tooltip::after {\n bottom: 100%;\n left: calc(50% - var(--six-tooltip-arrow-size));\n border-bottom: var(--six-tooltip-arrow-size) solid var(--six-tooltip-background-color);\n border-left: var(--six-tooltip-arrow-size) solid transparent;\n border-right: var(--six-tooltip-arrow-size) solid transparent;\n}\n\n.tooltip-positioner[data-popper-placement='bottom-start'] .tooltip::after {\n left: var(--six-tooltip-arrow-start-end-offset);\n}\n\n.tooltip-positioner[data-popper-placement='bottom-end'] .tooltip::after {\n right: var(--six-tooltip-arrow-start-end-offset);\n left: auto;\n}\n\n// Arrow + top\n.tooltip-positioner[data-popper-placement^='top'] .tooltip::after {\n top: 100%;\n left: calc(50% - var(--six-tooltip-arrow-size));\n border-top: var(--six-tooltip-arrow-size) solid var(--six-tooltip-background-color);\n border-left: var(--six-tooltip-arrow-size) solid transparent;\n border-right: var(--six-tooltip-arrow-size) solid transparent;\n}\n\n.tooltip-positioner[data-popper-placement='top-start'] .tooltip::after {\n left: var(--six-tooltip-arrow-start-end-offset);\n}\n\n.tooltip-positioner[data-popper-placement='top-end'] .tooltip::after {\n right: var(--six-tooltip-arrow-start-end-offset);\n left: auto;\n}\n\n// Arrow + left\n.tooltip-positioner[data-popper-placement^='left'] .tooltip::after {\n top: calc(50% - var(--six-tooltip-arrow-size));\n left: 100%;\n border-left: var(--six-tooltip-arrow-size) solid var(--six-tooltip-background-color);\n border-top: var(--six-tooltip-arrow-size) solid transparent;\n border-bottom: var(--six-tooltip-arrow-size) solid transparent;\n}\n\n.tooltip-positioner[data-popper-placement='left-start'] .tooltip::after {\n top: var(--six-tooltip-arrow-start-end-offset);\n}\n\n.tooltip-positioner[data-popper-placement='left-end'] .tooltip::after {\n top: auto;\n bottom: var(--six-tooltip-arrow-start-end-offset);\n}\n\n// Arrow + right\n.tooltip-positioner[data-popper-placement^='right'] .tooltip::after {\n top: calc(50% - var(--six-tooltip-arrow-size));\n right: 100%;\n border-right: var(--six-tooltip-arrow-size) solid var(--six-tooltip-background-color);\n border-top: var(--six-tooltip-arrow-size) solid transparent;\n border-bottom: var(--six-tooltip-arrow-size) solid transparent;\n}\n\n.tooltip-positioner[data-popper-placement='right-start'] .tooltip::after {\n top: var(--six-tooltip-arrow-start-end-offset);\n}\n\n.tooltip-positioner[data-popper-placement='right-end'] .tooltip::after {\n top: auto;\n bottom: var(--six-tooltip-arrow-start-end-offset);\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from '@stencil/core';\nimport Popover from '../../utils/popover';\nimport { EmptyPayload } from '../../utils/types';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The tooltip's target element. Only the first element will be used as the target.\n * @slot content - The tooltip's content. Alternatively, you can use the content prop.\n *\n * @part base - The component's base wrapper.\n */\n\n@Component({\n tag: 'six-tooltip',\n styleUrl: 'six-tooltip.scss',\n shadow: true,\n})\nexport class SixTooltip {\n private componentId = `tooltip-${++id}`;\n private isVisible = false;\n private popover?: Popover;\n private tooltipPositioner?: HTMLElement;\n private target?: HTMLElement;\n private tooltip?: HTMLElement;\n\n @Element() host!: HTMLSixTooltipElement;\n\n /** The tooltip's content. Alternatively, you can use the content slot. */\n @Prop() content = '';\n\n /**\n * The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\n * inside the viewport.\n */\n @Prop() placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'top';\n\n /** Set to true to disable the tooltip, so it won't show when triggered. */\n @Prop() disabled = false;\n\n /** The distance in pixels from which to offset the tooltip away from its target. */\n @Prop() distance = 10;\n\n /** Indicates whether the tooltip is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** The distance in pixels from which to offset the tooltip along its target. */\n @Prop() skidding = 0;\n\n /**\n * Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\n * options can be passed by separating them with a space. When manual is used, the tooltip must be activated\n * programmatically.\n */\n @Prop() trigger = 'hover focus';\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the tooltip begins to show. Calling `event.preventDefault()` will prevent it from being shown. */\n @Event({ eventName: 'six-tooltip-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the tooltip has shown and all transitions are complete. */\n @Event({ eventName: 'six-tooltip-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the tooltip begins to hide. Calling `event.preventDefault()` will prevent it from being hidden. */\n @Event({ eventName: 'six-tooltip-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the tooltip has hidden and all transitions are complete. */\n @Event({ eventName: 'six-tooltip-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n componentDidLoad() {\n if (this.tooltipPositioner == null) return;\n this.target = this.getTarget();\n this.popover = new Popover(this.target, this.tooltipPositioner, { strategy: 'fixed' });\n this.syncOptions();\n\n this.host.addEventListener('blur', this.handleBlur, true);\n this.host.addEventListener('click', this.handleClick, true);\n this.host.addEventListener('focus', this.handleFocus, true);\n\n // Show on init if open\n this.tooltipPositioner.hidden = !this.open;\n if (this.open) {\n this.show();\n }\n }\n\n componentDidUpdate() {\n this.syncOptions();\n }\n\n disconnectedCallback() {\n if (this.popover != null) {\n this.popover.destroy();\n }\n\n this.host.removeEventListener('blur', this.handleBlur, true);\n this.host.removeEventListener('click', this.handleClick, true);\n this.host.removeEventListener('focus', this.handleFocus, true);\n }\n\n /** Shows the tooltip. */\n @Method()\n async show() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (this.isVisible || this.disabled) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.isVisible = true;\n this.open = true;\n this.popover?.show();\n }\n\n /** Shows the tooltip. */\n @Method()\n async hide() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (!this.isVisible || this.disabled) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.isVisible = false;\n this.open = false;\n this.popover?.hide();\n }\n\n private getTarget() {\n // Get the first child that isn't a <style> or content slot\n const target = [...this.host.children].find(\n (el) => el.tagName.toLowerCase() !== 'style' && el.getAttribute('slot') !== 'content'\n ) as HTMLElement;\n\n if (target == null) {\n throw new Error('Invalid tooltip target: no child element was found.');\n }\n\n return target;\n }\n\n private handleBlur = () => {\n if (this.hasTrigger('focus')) {\n this.hide();\n }\n };\n\n private handleClick = () => {\n if (this.hasTrigger('click')) {\n this.open ? this.hide() : this.show();\n }\n };\n\n private handleFocus = () => {\n if (this.hasTrigger('focus')) {\n this.show();\n }\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n // Pressing escape when the target element has focus should dismiss the tooltip\n if (this.open && event.key === 'Escape') {\n event.stopPropagation();\n this.hide();\n }\n };\n\n private handleMouseOver = () => {\n if (this.hasTrigger('hover')) {\n this.show();\n }\n };\n\n private handleMouseOut = () => {\n if (this.hasTrigger('hover')) {\n this.hide();\n }\n };\n\n private handleSlotChange = () => {\n const oldTarget = this.target;\n const newTarget = this.getTarget();\n\n if (newTarget !== oldTarget) {\n if (oldTarget != null) {\n oldTarget.removeAttribute('aria-describedby');\n }\n newTarget.setAttribute('aria-describedby', this.componentId);\n }\n };\n\n private hasTrigger(triggerType: string) {\n const triggers = this.trigger.split(' ');\n return triggers.includes(triggerType);\n }\n\n private syncOptions() {\n if (this.popover == null) return;\n\n this.popover.setOptions({\n placement: this.placement,\n distance: this.distance,\n skidding: this.skidding,\n transitionElement: this.tooltip,\n onAfterHide: () => this.sixAfterHide.emit(),\n onAfterShow: () => this.sixAfterShow.emit(),\n });\n }\n\n render() {\n return (\n <Host onKeyDown={this.handleKeyDown} onMouseOver={this.handleMouseOver} onMouseOut={this.handleMouseOut}>\n <slot onSlotchange={this.handleSlotChange} />\n <div ref={(el) => (this.tooltipPositioner = el)} class=\"tooltip-positioner\">\n <div\n part=\"base\"\n ref={(el) => (this.tooltip = el)}\n id={this.componentId}\n class={{\n tooltip: true,\n 'tooltip--open': this.open,\n }}\n role=\"tooltip\"\n aria-hidden={this.open ? 'false' : 'true'}\n >\n <slot name=\"content\">{this.content}</slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,8 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-6c10d50b.js';
2
- export { s as setNonce } from './index-6c10d50b.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-d415464d.js';
2
+ export { s as setNonce } from './index-d415464d.js';
3
+ import { g as globalScripts } from './app-globals-0f993ce5.js';
3
4
 
4
5
  /*
5
- Stencil Client Patch Browser v4.9.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.12.4 | MIT Licensed | https://stenciljs.com
6
7
  */
7
8
  const patchBrowser = () => {
8
9
  const importMeta = import.meta.url;
@@ -13,8 +14,9 @@ const patchBrowser = () => {
13
14
  return promiseResolve(opts);
14
15
  };
15
16
 
16
- patchBrowser().then(options => {
17
- return bootstrapLazy(JSON.parse("[[\"six-select\",[[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\",[[1,\"six-header\",{\"shiftContent\":[4,\"shift-content\"],\"hideHamburgerMenu\":[4,\"hide-hamburger-menu\"],\"openHamburgerMenu\":[4,\"open-hamburger-menu\"],\"openSearch\":[4,\"open-search\"],\"clickableLogo\":[4,\"clickable-logo\"],\"selectedApp\":[32],\"selectedSection\":[32],\"setSearchOpenState\":[64],\"getIsSearchOpen\":[64]},null,{\"openSearch\":[\"handleOpenSearchChange\"]}]]],[\"six-datepicker\",[[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-root\",[[1,\"six-root\",{\"breakpoint\":[2],\"padded\":[4],\"stage\":[1],\"version\":[1],\"collapse\":[32]},null,{\"collapse\":[\"handleCollapsed\"]}]]],[\"six-search-field\",[[1,\"six-search-field\",{\"placeholder\":[1],\"debounce\":[514],\"disabled\":[516],\"value\":[513],\"clearable\":[4]},null,{\"value\":[\"handleValueChange\"]}]]],[\"six-tag\",[[1,\"six-tag\",{\"type\":[513],\"size\":[513],\"pill\":[516],\"clearable\":[516]}]]],[\"six-tile\",[[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\",[[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\",[[1,\"six-dialog\",{\"open\":[1540],\"label\":[1],\"noHeader\":[4,\"no-header\"],\"hasFooter\":[32],\"isVisible\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-drawer\",[[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-sidebar-item-group\",[[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\",[[1,\"six-tab\",{\"panel\":[513],\"active\":[516],\"closable\":[4],\"disabled\":[516],\"setFocus\":[64],\"removeFocus\":[64]}]]],[\"six-tab-group\",[[1,\"six-tab-group\",{\"placement\":[1],\"noScrollControls\":[4,\"no-scroll-controls\"],\"hasScrollControls\":[32],\"show\":[64]},null,{\"noScrollControls\":[\"handleNoScrollControlsChange\"]}]]],[\"six-avatar\",[[1,\"six-avatar\",{\"image\":[1],\"alt\":[1],\"initials\":[1],\"shape\":[1],\"hasError\":[32]}]]],[\"six-error-page\",[[1,\"six-error-page\",{\"errorCode\":[2,\"error-code\"],\"language\":[1],\"customTitle\":[1,\"custom-title\"],\"customDescription\":[16],\"customIcon\":[1,\"custom-icon\"]}]]],[\"six-file-list-item\",[[1,\"six-file-list-item\",{\"identifier\":[513],\"name\":[513],\"date\":[513],\"size\":[514],\"nodownload\":[516],\"nodelete\":[516]}]]],[\"six-file-upload\",[[2,\"six-file-upload\",{\"compact\":[4],\"label\":[1],\"disabled\":[4],\"accept\":[1],\"multiple\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"isOver\":[32]},[[1,\"dragenter\",\"dragenterHandler\"],[1,\"dragover\",\"dragoverHandler\"],[1,\"dragleave\",\"dragleaveHandler\"],[1,\"drop\",\"dropHandler\"]]]]],[\"six-group-label\",[[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\",[[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\",[[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\",[[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\",[[1,\"six-badge\",{\"type\":[1],\"pill\":[4],\"pulse\":[4]}]]],[\"six-card\",[[1,\"six-card\"]]],[\"six-file-list\",[[1,\"six-file-list\"]]],[\"six-footer\",[[1,\"six-footer\"]]],[\"six-language-switcher\",[[1,\"six-language-switcher\",{\"selected\":[1537],\"languages\":[16]},null,{\"languages\":[\"handleChangesLanguages\"]}]]],[\"six-layout-grid\",[[1,\"six-layout-grid\",{\"columns\":[1026]},null,{\"columns\":[\"handleColumnsChange\"]}]]],[\"six-main-container\",[[1,\"six-main-container\",{\"padded\":[4]}]]],[\"six-menu-divider\",[[1,\"six-menu-divider\"]]],[\"six-menu-label\",[[1,\"six-menu-label\"]]],[\"six-progress-bar\",[[1,\"six-progress-bar\",{\"percentage\":[2],\"indeterminate\":[4]}]]],[\"six-progress-ring\",[[1,\"six-progress-ring\",{\"size\":[2],\"strokeWidth\":[2,\"stroke-width\"],\"percentage\":[2]},null,{\"percentage\":[\"handlePercentageChange\"]}]]],[\"six-radio\",[[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\",[[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\",[[1,\"six-sidebar-item\",{\"value\":[513],\"selected\":[516],\"disabled\":[516],\"href\":[513]}]]],[\"six-tab-panel\",[[1,\"six-tab-panel\",{\"name\":[1],\"active\":[516]}]]],[\"six-error\",[[1,\"six-error\"]]],[\"six-icon\",[[1,\"six-icon\",{\"size\":[513],\"filled\":[4]}]]],[\"six-timepicker\",[[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-button\",[[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-details\",[[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-picto\",[[1,\"six-picto\",{\"size\":[1]}]]],[\"set-attributes_2\",[[1,\"six-stage-indicator\",{\"stage\":[1]}],[4,\"set-attributes\",{\"value\":[16]},null,{\"value\":[\"attrsUpdated\"]}]]],[\"six-item-picker\",[[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-spinner\",[[1,\"six-spinner\",{\"six\":[4]}]]],[\"six-tooltip\",[[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-input\",[[1,\"six-input\",{\"type\":[513],\"size\":[513],\"name\":[513],\"value\":[1537],\"pill\":[516],\"helpText\":[1,\"help-text\"],\"placeholder\":[1],\"disabled\":[516],\"readonly\":[516],\"minlength\":[514],\"maxlength\":[514],\"min\":[514],\"max\":[514],\"step\":[514],\"pattern\":[513],\"dropdownSearch\":[4,\"dropdown-search\"],\"required\":[4],\"autocapitalize\":[1],\"autocorrect\":[1],\"autocomplete\":[1],\"autofocus\":[4],\"spellcheck\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"clearable\":[4],\"togglePassword\":[4,\"toggle-password\"],\"inputmode\":[1],\"line\":[4],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32],\"hasErrorSlot\":[32],\"isPasswordVisible\":[32],\"setFocus\":[64],\"removeFocus\":[64],\"select\":[64],\"setSelectionRange\":[64],\"setRangeText\":[64]},null,{\"helpText\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"],\"value\":[\"handleValueChange\"]}]]],[\"six-checkbox_2\",[[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\",[[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]}]]],[\"six-icon-button\",[[1,\"six-icon-button\",{\"name\":[513],\"size\":[513],\"label\":[513],\"disabled\":[516],\"html\":[513]}]]]]"), options);
17
+ patchBrowser().then(async (options) => {
18
+ await globalScripts();
19
+ return bootstrapLazy(JSON.parse("[[\"six-select\",[[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\",[[1,\"six-header\",{\"shiftContent\":[4,\"shift-content\"],\"hideHamburgerMenu\":[4,\"hide-hamburger-menu\"],\"openHamburgerMenu\":[4,\"open-hamburger-menu\"],\"openSearch\":[4,\"open-search\"],\"clickableLogo\":[4,\"clickable-logo\"],\"selectedApp\":[32],\"selectedSection\":[32],\"setSearchOpenState\":[64],\"getIsSearchOpen\":[64]},null,{\"openSearch\":[\"handleOpenSearchChange\"]}]]],[\"six-datepicker\",[[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-search-field\",[[1,\"six-search-field\",{\"placeholder\":[1],\"debounce\":[514],\"disabled\":[516],\"value\":[513],\"clearable\":[4]},null,{\"value\":[\"handleValueChange\"]}]]],[\"six-tag\",[[1,\"six-tag\",{\"type\":[513],\"size\":[513],\"pill\":[516],\"clearable\":[516]}]]],[\"six-tile\",[[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\",[[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\",[[1,\"six-dialog\",{\"open\":[1540],\"label\":[1],\"noHeader\":[4,\"no-header\"],\"hasFooter\":[32],\"isVisible\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-drawer\",[[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\",[[1,\"six-root\",{\"padded\":[4],\"stage\":[1],\"version\":[1]}]]],[\"six-sidebar-item-group\",[[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\",[[1,\"six-tab\",{\"panel\":[513],\"active\":[516],\"closable\":[4],\"disabled\":[516],\"setFocus\":[64],\"removeFocus\":[64]}]]],[\"six-tab-group\",[[1,\"six-tab-group\",{\"placement\":[1],\"noScrollControls\":[4,\"no-scroll-controls\"],\"hasLeftControl\":[32],\"hasRightControl\":[32],\"show\":[64]},null,{\"noScrollControls\":[\"handleNoScrollControlsChange\"]}]]],[\"six-avatar\",[[1,\"six-avatar\",{\"image\":[1],\"alt\":[1],\"initials\":[1],\"shape\":[1],\"hasError\":[32]}]]],[\"six-error-page\",[[1,\"six-error-page\",{\"errorCode\":[2,\"error-code\"],\"language\":[1],\"customTitle\":[1,\"custom-title\"],\"customDescription\":[16],\"customIcon\":[1,\"custom-icon\"]}]]],[\"six-file-list-item\",[[1,\"six-file-list-item\",{\"identifier\":[513],\"name\":[513],\"date\":[513],\"size\":[514],\"nodownload\":[516],\"nodelete\":[516]}]]],[\"six-file-upload\",[[2,\"six-file-upload\",{\"compact\":[4],\"label\":[1],\"disabled\":[4],\"accept\":[1],\"multiple\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"isOver\":[32]},[[1,\"dragenter\",\"dragenterHandler\"],[1,\"dragover\",\"dragoverHandler\"],[1,\"dragleave\",\"dragleaveHandler\"],[1,\"drop\",\"dropHandler\"]]]]],[\"six-group-label\",[[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\",[[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\",[[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\",[[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\",[[1,\"six-badge\",{\"type\":[1],\"pill\":[4],\"pulse\":[4]}]]],[\"six-card\",[[1,\"six-card\"]]],[\"six-file-list\",[[1,\"six-file-list\"]]],[\"six-footer\",[[1,\"six-footer\"]]],[\"six-language-switcher\",[[1,\"six-language-switcher\",{\"selected\":[1537],\"languages\":[16]},null,{\"languages\":[\"handleChangesLanguages\"]}]]],[\"six-layout-grid\",[[1,\"six-layout-grid\",{\"columns\":[1026]},null,{\"columns\":[\"handleColumnsChange\"]}]]],[\"six-main-container\",[[1,\"six-main-container\",{\"padded\":[4]}]]],[\"six-menu-divider\",[[1,\"six-menu-divider\"]]],[\"six-menu-label\",[[1,\"six-menu-label\"]]],[\"six-progress-bar\",[[1,\"six-progress-bar\",{\"percentage\":[2],\"indeterminate\":[4]}]]],[\"six-progress-ring\",[[1,\"six-progress-ring\",{\"size\":[2],\"strokeWidth\":[2,\"stroke-width\"],\"percentage\":[2]},null,{\"percentage\":[\"handlePercentageChange\"]}]]],[\"six-radio\",[[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\",[[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\",[[1,\"six-sidebar-item\",{\"value\":[513],\"selected\":[516],\"disabled\":[516],\"href\":[513]}]]],[\"six-tab-panel\",[[1,\"six-tab-panel\",{\"name\":[1],\"active\":[516]}]]],[\"six-error\",[[1,\"six-error\"]]],[\"six-icon\",[[1,\"six-icon\",{\"size\":[513],\"filled\":[4]}]]],[\"six-timepicker\",[[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-button\",[[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-details\",[[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\",[[1,\"six-stage-indicator\",{\"stage\":[1]}]]],[\"six-picto\",[[1,\"six-picto\",{\"size\":[1]}]]],[\"six-item-picker\",[[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-spinner\",[[1,\"six-spinner\",{\"six\":[4]}]]],[\"six-tooltip\",[[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-input\",[[1,\"six-input\",{\"type\":[513],\"size\":[513],\"name\":[513],\"value\":[1537],\"pill\":[516],\"helpText\":[1,\"help-text\"],\"placeholder\":[1],\"disabled\":[516],\"readonly\":[516],\"minlength\":[514],\"maxlength\":[514],\"min\":[514],\"max\":[514],\"step\":[514],\"pattern\":[513],\"dropdownSearch\":[4,\"dropdown-search\"],\"required\":[4],\"autocapitalize\":[1],\"autocorrect\":[1],\"autocomplete\":[1],\"autofocus\":[4],\"spellcheck\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"clearable\":[4],\"togglePassword\":[4,\"toggle-password\"],\"inputmode\":[1],\"line\":[4],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32],\"hasErrorSlot\":[32],\"isPasswordVisible\":[32],\"setFocus\":[64],\"removeFocus\":[64],\"select\":[64],\"setSelectionRange\":[64],\"setRangeText\":[64]},null,{\"helpText\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"],\"value\":[\"handleValueChange\"]}]]],[\"six-checkbox_2\",[[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\",[[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]}]]],[\"six-icon-button\",[[1,\"six-icon-button\",{\"name\":[513],\"size\":[513],\"label\":[513],\"disabled\":[516],\"html\":[513]}]]]]"), options);
18
20
  });
19
21
 
20
22
  //# sourceMappingURL=ui-library.js.map
@@ -1 +1 @@
1
- {"file":"ui-library.js","mappings":";;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;AAa3B,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAClF,IAAI,IAAI,UAAU,KAAK,EAAE,EAAE;AAC3B,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAAK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACpBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.9.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
1
+ {"file":"ui-library.js","mappings":";;;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;AAa3B,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAClF,IAAI,IAAI,UAAU,KAAK,EAAE,EAAE;AAC3B,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAAK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACpBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAM,aAAa,EAAE,CAAC;AACxB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.12.4 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
@@ -25,8 +25,9 @@ export declare class SixAlert {
25
25
  /** The type of alert. */
26
26
  type: AlertType;
27
27
  /**
28
- * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the
29
- * alert before it closes (e.g. moves the mouse over it), the timer will restart.
28
+ * The length of time, in milliseconds, the alert will show before closing itself.
29
+ * If the user hovers over the toast alert, the timer will pause.
30
+ * On leaving the element with the mouse, the timer resets.
30
31
  */
31
32
  duration: number;
32
33
  handleOpenChange(): void;
@@ -52,10 +53,13 @@ export declare class SixAlert {
52
53
  * six-root header's height and the presence of a vertical scrollbar.
53
54
  */
54
55
  toast(adjustPosition?: boolean): Promise<void>;
56
+ private pauseAutoHide;
57
+ private resetAutoHide;
58
+ private restartAutoHide;
55
59
  private handleCloseClick;
56
- private handleMouseMove;
60
+ private handleMouseEnter;
61
+ private handleMouseLeave;
57
62
  private handleTransitionEnd;
58
- private restartAutoHide;
59
63
  render(): any;
60
64
  }
61
65
  export type AlertType = 'primary' | 'success' | 'info' | 'warning' | 'danger';
@@ -41,7 +41,7 @@ export declare class SixDatepicker {
41
41
  /**
42
42
  * The language used to render the weekdays and months.
43
43
  */
44
- locale: 'en' | 'de' | 'fr' | 'it';
44
+ locale: 'en' | 'de' | 'fr' | 'it' | 'es';
45
45
  /** Indicates whether or not the calendar dropdown is open on startup. You can use this in lieu of the show/hide methods. */
46
46
  open: boolean;
47
47
  /** Indicates whether or not the calendar should be shown as an inline (always open) component */
@@ -60,6 +60,7 @@ export declare class SixDialog {
60
60
  sixOverlayDismiss: EventEmitter<EmptyPayload>;
61
61
  connectedCallback(): void;
62
62
  componentWillLoad(): void;
63
+ componentDidLoad(): void;
63
64
  disconnectedCallback(): void;
64
65
  /** Shows the dialog */
65
66
  show(): Promise<void>;
@@ -69,6 +69,8 @@ export declare class SixRange {
69
69
  componentWillLoad(): void;
70
70
  componentDidLoad(): void;
71
71
  disconnectedCallback(): void;
72
+ componentDidUpdate(): void;
73
+ private getMinMax;
72
74
  /** Sets focus on the input. */
73
75
  setFocus(options?: FocusOptions): Promise<void>;
74
76
  /** Removes focus from the input. */
@@ -1,8 +1,4 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
1
  import { StageType } from '../six-stage-indicator/six-stage-indicator';
3
- export interface SixRootCollapsedPayload {
4
- collapsed: boolean;
5
- }
6
2
  /**
7
3
  * @since 1.0
8
4
  * @status stable
@@ -15,20 +11,11 @@ export interface SixRootCollapsedPayload {
15
11
  */
16
12
  export declare class SixRoot {
17
13
  host: HTMLSixRootElement;
18
- /** Breakpoint for smaller screens when the right sidebar is collapsed by default. */
19
- breakpoint: number;
20
14
  /** Defines whether the content section should be padded */
21
15
  padded: boolean;
22
16
  /** Defines the stage of the application*/
23
17
  stage: StageType;
24
18
  /** Defines the version of the application*/
25
19
  version: string;
26
- /** Emitted when display size is updated. */
27
- collapsedEvent: EventEmitter<SixRootCollapsedPayload>;
28
- collapse: boolean;
29
- private resizeObserver;
30
- handleCollapsed(collapsed: boolean): void;
31
- componentWillLoad(): void;
32
- disconnectedCallback(): void;
33
20
  render(): any;
34
21
  }
@@ -30,7 +30,8 @@ export declare class SixTabGroup {
30
30
  private tabGroup?;
31
31
  private tabs?;
32
32
  host: HTMLSixTabGroupElement;
33
- hasScrollControls: boolean;
33
+ hasLeftControl: boolean;
34
+ hasRightControl: boolean;
34
35
  /** The placement of the tabs. */
35
36
  placement: 'top' | 'bottom' | 'left' | 'right';
36
37
  /** Disables the scroll arrows that appear when tabs overflow. */
@@ -51,6 +52,8 @@ export declare class SixTabGroup {
51
52
  private handleKeyDown;
52
53
  private handleScrollLeft;
53
54
  private handleScrollRight;
55
+ private calculateRightControlVisibility;
56
+ private calculateLeftControlVisibility;
54
57
  private updateScrollControls;
55
58
  private setActiveTab;
56
59
  private setAriaLabels;
@@ -19,7 +19,6 @@ import { SixItemPickerChangePayload } from "./components/six-item-picker/six-ite
19
19
  import { SixLanguageSwitcherChangePayload, SixLanguageSwitcherInput } from "./components/six-language-switcher/six-language-switcher";
20
20
  import { SixMenuItemData as SixMenuItemData1, SixMenuItemSelectedPayload } from "./components/six-menu/six-menu";
21
21
  import { StageType } from "./components/six-stage-indicator/six-stage-indicator";
22
- import { SixRootCollapsedPayload } from "./components/six-root/six-root";
23
22
  import { SixSearchFieldChangePayload } from "./components/six-search-field/six-search-field";
24
23
  import { SixSelectChangePayload } from "./components/six-select/six-select";
25
24
  import { StageType as StageType1 } from "./components/six-stage-indicator/six-stage-indicator";
@@ -40,7 +39,6 @@ export { SixItemPickerChangePayload } from "./components/six-item-picker/six-ite
40
39
  export { SixLanguageSwitcherChangePayload, SixLanguageSwitcherInput } from "./components/six-language-switcher/six-language-switcher";
41
40
  export { SixMenuItemData as SixMenuItemData1, SixMenuItemSelectedPayload } from "./components/six-menu/six-menu";
42
41
  export { StageType } from "./components/six-stage-indicator/six-stage-indicator";
43
- export { SixRootCollapsedPayload } from "./components/six-root/six-root";
44
42
  export { SixSearchFieldChangePayload } from "./components/six-search-field/six-search-field";
45
43
  export { SixSelectChangePayload } from "./components/six-select/six-select";
46
44
  export { StageType as StageType1 } from "./components/six-stage-indicator/six-stage-indicator";
@@ -48,12 +46,6 @@ export { SixTabHidePayload, SixTabShowPayload } from "./components/six-tab-group
48
46
  export { TimeFormat } from "./utils/time.util";
49
47
  export { SixTimepickerChange } from "./components/six-timepicker/six-timepicker";
50
48
  export namespace Components {
51
- interface SetAttributes {
52
- /**
53
- * Attributes map
54
- */
55
- "value": {};
56
- }
57
49
  /**
58
50
  * @since 1.0
59
51
  * @status stable
@@ -65,7 +57,7 @@ export namespace Components {
65
57
  */
66
58
  "closable": boolean;
67
59
  /**
68
- * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the alert before it closes (e.g. moves the mouse over it), the timer will restart.
60
+ * The length of time, in milliseconds, the alert will show before closing itself. If the user hovers over the toast alert, the timer will pause. On leaving the element with the mouse, the timer resets.
69
61
  */
70
62
  "duration": number;
71
63
  /**
@@ -332,7 +324,7 @@ export namespace Components {
332
324
  /**
333
325
  * The language used to render the weekdays and months.
334
326
  */
335
- "locale": 'en' | 'de' | 'fr' | 'it';
327
+ "locale": 'en' | 'de' | 'fr' | 'it' | 'es';
336
328
  /**
337
329
  * The maximum datetime allowed. Value must be a date object
338
330
  */
@@ -1287,10 +1279,6 @@ export namespace Components {
1287
1279
  * @status stable
1288
1280
  */
1289
1281
  interface SixRoot {
1290
- /**
1291
- * Breakpoint for smaller screens when the right sidebar is collapsed by default.
1292
- */
1293
- "breakpoint": number;
1294
1282
  /**
1295
1283
  * Defines whether the content section should be padded
1296
1284
  */
@@ -2082,10 +2070,6 @@ export interface SixRangeCustomEvent<T> extends CustomEvent<T> {
2082
2070
  detail: T;
2083
2071
  target: HTMLSixRangeElement;
2084
2072
  }
2085
- export interface SixRootCustomEvent<T> extends CustomEvent<T> {
2086
- detail: T;
2087
- target: HTMLSixRootElement;
2088
- }
2089
2073
  export interface SixSearchFieldCustomEvent<T> extends CustomEvent<T> {
2090
2074
  detail: T;
2091
2075
  target: HTMLSixSearchFieldElement;
@@ -2131,12 +2115,6 @@ export interface SixTooltipCustomEvent<T> extends CustomEvent<T> {
2131
2115
  target: HTMLSixTooltipElement;
2132
2116
  }
2133
2117
  declare global {
2134
- interface HTMLSetAttributesElement extends Components.SetAttributes, HTMLStencilElement {
2135
- }
2136
- var HTMLSetAttributesElement: {
2137
- prototype: HTMLSetAttributesElement;
2138
- new (): HTMLSetAttributesElement;
2139
- };
2140
2118
  interface HTMLSixAlertElementEventMap {
2141
2119
  "six-alert-show": EmptyPayload;
2142
2120
  "six-alert-after-show": EmptyPayload;
@@ -2728,22 +2706,11 @@ declare global {
2728
2706
  prototype: HTMLSixRangeElement;
2729
2707
  new (): HTMLSixRangeElement;
2730
2708
  };
2731
- interface HTMLSixRootElementEventMap {
2732
- "six-root-collapsed": SixRootCollapsedPayload;
2733
- }
2734
2709
  /**
2735
2710
  * @since 1.0
2736
2711
  * @status stable
2737
2712
  */
2738
2713
  interface HTMLSixRootElement extends Components.SixRoot, HTMLStencilElement {
2739
- addEventListener<K extends keyof HTMLSixRootElementEventMap>(type: K, listener: (this: HTMLSixRootElement, ev: SixRootCustomEvent<HTMLSixRootElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2740
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2741
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2742
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2743
- removeEventListener<K extends keyof HTMLSixRootElementEventMap>(type: K, listener: (this: HTMLSixRootElement, ev: SixRootCustomEvent<HTMLSixRootElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
2744
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2745
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2746
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2747
2714
  }
2748
2715
  var HTMLSixRootElement: {
2749
2716
  prototype: HTMLSixRootElement;
@@ -3054,7 +3021,6 @@ declare global {
3054
3021
  new (): HTMLSixTooltipElement;
3055
3022
  };
3056
3023
  interface HTMLElementTagNameMap {
3057
- "set-attributes": HTMLSetAttributesElement;
3058
3024
  "six-alert": HTMLSixAlertElement;
3059
3025
  "six-avatar": HTMLSixAvatarElement;
3060
3026
  "six-badge": HTMLSixBadgeElement;
@@ -3110,12 +3076,6 @@ declare global {
3110
3076
  }
3111
3077
  }
3112
3078
  declare namespace LocalJSX {
3113
- interface SetAttributes {
3114
- /**
3115
- * Attributes map
3116
- */
3117
- "value"?: {};
3118
- }
3119
3079
  /**
3120
3080
  * @since 1.0
3121
3081
  * @status stable
@@ -3127,7 +3087,7 @@ declare namespace LocalJSX {
3127
3087
  */
3128
3088
  "closable"?: boolean;
3129
3089
  /**
3130
- * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the alert before it closes (e.g. moves the mouse over it), the timer will restart.
3090
+ * The length of time, in milliseconds, the alert will show before closing itself. If the user hovers over the toast alert, the timer will pause. On leaving the element with the mouse, the timer resets.
3131
3091
  */
3132
3092
  "duration"?: number;
3133
3093
  /**
@@ -3401,7 +3361,7 @@ declare namespace LocalJSX {
3401
3361
  /**
3402
3362
  * The language used to render the weekdays and months.
3403
3363
  */
3404
- "locale"?: 'en' | 'de' | 'fr' | 'it';
3364
+ "locale"?: 'en' | 'de' | 'fr' | 'it' | 'es';
3405
3365
  /**
3406
3366
  * The maximum datetime allowed. Value must be a date object
3407
3367
  */
@@ -4455,14 +4415,6 @@ declare namespace LocalJSX {
4455
4415
  * @status stable
4456
4416
  */
4457
4417
  interface SixRoot {
4458
- /**
4459
- * Breakpoint for smaller screens when the right sidebar is collapsed by default.
4460
- */
4461
- "breakpoint"?: number;
4462
- /**
4463
- * Emitted when display size is updated.
4464
- */
4465
- "onSix-root-collapsed"?: (event: SixRootCustomEvent<SixRootCollapsedPayload>) => void;
4466
4418
  /**
4467
4419
  * Defines whether the content section should be padded
4468
4420
  */
@@ -5218,7 +5170,6 @@ declare namespace LocalJSX {
5218
5170
  "trigger"?: string;
5219
5171
  }
5220
5172
  interface IntrinsicElements {
5221
- "set-attributes": SetAttributes;
5222
5173
  "six-alert": SixAlert;
5223
5174
  "six-avatar": SixAvatar;
5224
5175
  "six-badge": SixBadge;
@@ -5277,7 +5228,6 @@ export { LocalJSX as JSX };
5277
5228
  declare module "@stencil/core" {
5278
5229
  export namespace JSX {
5279
5230
  interface IntrinsicElements {
5280
- "set-attributes": LocalJSX.SetAttributes & JSXBase.HTMLAttributes<HTMLSetAttributesElement>;
5281
5231
  /**
5282
5232
  * @since 1.0
5283
5233
  * @status stable
@@ -34,6 +34,14 @@ export declare const i18nDate: {
34
34
  weekdaysShort: string[];
35
35
  weekdaysMin: string[];
36
36
  };
37
+ es: {
38
+ months: string[];
39
+ monthsShort: string[];
40
+ monthsShortGrouped: string[][];
41
+ weekdays: string[];
42
+ weekdaysShort: string[];
43
+ weekdaysMin: string[];
44
+ };
37
45
  };
38
46
  /**
39
47
  * Returns a JS Date instance of the exact moment
@@ -190,7 +198,7 @@ export interface CalendarGridArgs {
190
198
  day: number;
191
199
  };
192
200
  allowedDates: (date: Date) => boolean;
193
- locale: 'en' | 'de' | 'fr' | 'it';
201
+ locale: 'en' | 'de' | 'fr' | 'it' | 'es';
194
202
  selectedDate?: Date;
195
203
  }
196
204
  export declare const createCalendarGrid: (calendarGridArguments: CalendarGridArgs) => CalendarCell[][];
@@ -0,0 +1,2 @@
1
+ import{r as e,c as a,h as s}from"./p-e8d5a789.js";const t=".language-switcher__container{display:flex}.language-switcher__separator{padding:0 0.25rem}.language-switcher__label{cursor:pointer}.language-switcher__label:hover{color:var(--six-color-web-rock-600)}.language-switcher__label--selected{color:var(--six-color-black);text-decoration:underline}";const r=t;const i=["EN","DE","ES"];const n=class{constructor(s){e(this,s);this.sixChange=a(this,"six-language-switcher-change",7);this.handleLanguageSwitching=(e,a)=>()=>{if(a!==undefined){this.sixChange.emit(a)}else{this.sixChange.emit(e)}this.selected=e};this.selected=undefined;this.languages=i}handleChangesLanguages(e){if(!Array.isArray(e)){throw new Error("languages is expected to be an array")}this.updateSelectedLanguage()}componentWillLoad(){if(this.selected===undefined){this.updateSelectedLanguage()}}updateSelectedLanguage(){const e=this.languages[0];if(typeof e==="string"){this.selected=e;this.sixChange.emit(this.selected)}else{this.selected=e.key;this.sixChange.emit(e.value)}}render(){return s("div",{key:"64f80894523a4b03643949135f18b553cd0517b6",part:"container",class:"language-switcher__container"},this.languages.map(((e,a)=>{const t=typeof e==="string"?e:e.key;return s("div",{onClick:this.handleLanguageSwitching(t,typeof e==="string"?e:e.value)},s("span",{part:"label",class:{"language-switcher__label":true,"language-switcher__label--selected":this.selected===t}},t),a<this.languages.length-1&&s("span",{part:"separator",class:"language-switcher__separator"},"|"))})))}static get watchers(){return{languages:["handleChangesLanguages"]}}};n.style=r;export{n as six_language_switcher};
2
+ //# sourceMappingURL=p-00c784f9.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixLanguageSwitcherCss","SixLanguageSwitcherStyle0","DEFAULT_LANGUAGES","SixLanguageSwitcher","this","handleLanguageSwitching","newLanguage","languageValue","undefined","sixChange","emit","selected","handleChangesLanguages","newValue","Array","isArray","Error","updateSelectedLanguage","componentWillLoad","selectedLanguage","languages","key","value","render","h","part","class","map","lang","index","language","onClick","length"],"sources":["src/components/six-language-switcher/six-language-switcher.scss?tag=six-language-switcher&encapsulation=shadow","src/components/six-language-switcher/six-language-switcher.tsx"],"sourcesContent":[".language-switcher {\n &__container {\n display: flex;\n }\n\n &__separator {\n padding: 0 0.25rem;\n }\n\n &__label {\n cursor: pointer;\n\n &:hover {\n color: var(--six-color-web-rock-600);\n }\n\n &--selected {\n color: var(--six-color-black);\n text-decoration: underline;\n }\n }\n}\n","import { Component, Event, EventEmitter, h, Prop, Watch } from '@stencil/core';\n\n/**\n * @since 2.1.0\n * @status experimental\n **/\n\nexport interface SixLanguageSwitcherInput {\n key: string;\n value: string;\n}\nexport type SixLanguageSwitcherChangePayload = string;\n\nconst DEFAULT_LANGUAGES = ['EN', 'DE', 'ES'];\n\n/*\n * @since 2.2.0\n * @status experimental\n * @part container - The whole component container\n * @part label - The language label\n * @part separator - The separator between the language labels\n */\n@Component({\n tag: 'six-language-switcher',\n styleUrl: 'six-language-switcher.scss',\n shadow: true,\n})\nexport class SixLanguageSwitcher {\n /** The language which should be shown as selected */\n @Prop({ mutable: true, reflect: true }) selected?: string;\n\n /** The languages which should be selectable options. */\n @Prop() languages: string[] | SixLanguageSwitcherInput[] = DEFAULT_LANGUAGES;\n\n @Watch('languages')\n handleChangesLanguages(newValue: string[]) {\n if (!Array.isArray(newValue)) {\n throw new Error('languages is expected to be an array');\n }\n\n this.updateSelectedLanguage();\n }\n /**\n * Emitted when the language switchers value changes\n */\n @Event({ eventName: 'six-language-switcher-change' }) sixChange!: EventEmitter<SixLanguageSwitcherChangePayload>;\n\n componentWillLoad() {\n if (this.selected === undefined) {\n this.updateSelectedLanguage();\n }\n }\n\n private updateSelectedLanguage() {\n const selectedLanguage = this.languages[0];\n if (typeof selectedLanguage === 'string') {\n this.selected = selectedLanguage;\n this.sixChange.emit(this.selected);\n } else {\n this.selected = selectedLanguage.key;\n this.sixChange.emit(selectedLanguage.value);\n }\n }\n\n private handleLanguageSwitching = (newLanguage: string, languageValue?: string) => () => {\n if (languageValue !== undefined) {\n this.sixChange.emit(languageValue);\n } else {\n this.sixChange.emit(newLanguage);\n }\n this.selected = newLanguage;\n };\n\n render() {\n return (\n <div part=\"container\" class=\"language-switcher__container\">\n {this.languages.map((lang, index) => {\n const language = typeof lang === 'string' ? lang : lang.key;\n return (\n <div onClick={this.handleLanguageSwitching(language, typeof lang === 'string' ? lang : lang.value)}>\n <span\n part=\"label\"\n class={{\n 'language-switcher__label': true,\n 'language-switcher__label--selected': this.selected === language,\n }}\n >\n {language}\n </span>\n {index < this.languages.length - 1 && (\n <span part=\"separator\" class=\"language-switcher__separator\">\n |\n </span>\n )}\n </div>\n );\n })}\n </div>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAyB,sSAC/B,MAAAC,EAAeD,ECYf,MAAME,EAAoB,CAAC,KAAM,KAAM,M,MAc1BC,EAAmB,M,iFAqCtBC,KAAAC,wBAA0B,CAACC,EAAqBC,IAA2B,KACjF,GAAIA,IAAkBC,UAAW,CAC/BJ,KAAKK,UAAUC,KAAKH,E,KACf,CACLH,KAAKK,UAAUC,KAAKJ,E,CAEtBF,KAAKO,SAAWL,CAAW,E,uCAtC8BJ,C,CAG3D,sBAAAU,CAAuBC,GACrB,IAAKC,MAAMC,QAAQF,GAAW,CAC5B,MAAM,IAAIG,MAAM,uC,CAGlBZ,KAAKa,wB,CAOP,iBAAAC,GACE,GAAId,KAAKO,WAAaH,UAAW,CAC/BJ,KAAKa,wB,EAID,sBAAAA,GACN,MAAME,EAAmBf,KAAKgB,UAAU,GACxC,UAAWD,IAAqB,SAAU,CACxCf,KAAKO,SAAWQ,EAChBf,KAAKK,UAAUC,KAAKN,KAAKO,S,KACpB,CACLP,KAAKO,SAAWQ,EAAiBE,IACjCjB,KAAKK,UAAUC,KAAKS,EAAiBG,M,EAazC,MAAAC,GACE,OACEC,EAAA,OAAAH,IAAA,2CAAKI,KAAK,YAAYC,MAAM,gCACzBtB,KAAKgB,UAAUO,KAAI,CAACC,EAAMC,KACzB,MAAMC,SAAkBF,IAAS,SAAWA,EAAOA,EAAKP,IACxD,OACEG,EAAA,OAAKO,QAAS3B,KAAKC,wBAAwByB,SAAiBF,IAAS,SAAWA,EAAOA,EAAKN,QAC1FE,EAAA,QACEC,KAAK,QACLC,MAAO,CACL,2BAA4B,KAC5B,qCAAsCtB,KAAKO,WAAamB,IAGzDA,GAEFD,EAAQzB,KAAKgB,UAAUY,OAAS,GAC/BR,EAAA,QAAMC,KAAK,YAAYC,MAAM,gCAA8B,KAIzD,I"}
@@ -1,2 +1,2 @@
1
- import{r as a,h as i}from"./p-ca63a6fa.js";const r=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:inline-block;--size:2rem}.avatar{display:inline-flex;align-items:center;justify-content:center;position:relative;width:var(--size);height:var(--size);background-color:var(--six-avatar-background-color);font-family:var(--six-font-sans);font-size:calc(var(--size) * 0.5);font-weight:var(--six-font-weight-normal);color:var(--six-avatar-color);overflow:hidden;user-select:none;vertical-align:middle;cursor:pointer;outline:none}.avatar:hover{box-shadow:var(--six-shadow-medium)}.avatar--circle{border-radius:var(--six-border-radius-circle)}.avatar--rounded{border-radius:var(--six-border-radius-medium)}.avatar--square{border-radius:0}.avatar__icon{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;width:100%;height:100%}.avatar__initials{line-height:1;text-transform:uppercase}.avatar__image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}";const t=class{constructor(i){a(this,i);this.handleImageError=()=>{this.hasError=true};this.hasError=false;this.image="";this.alt="";this.initials="";this.shape="circle"}render(){return i("div",{part:"base",class:{avatar:true,"avatar--circle":this.shape==="circle","avatar--rounded":this.shape==="rounded","avatar--square":this.shape==="square"},role:"image","aria-label":this.alt,tabIndex:0},this.initials===""&&i("div",{part:"icon",class:"avatar__icon"},i("slot",{name:"icon"},i("six-icon",null,"person"))),this.initials&&i("div",{part:"initials",class:"avatar__initials"},this.initials),this.image&&!this.hasError&&i("img",{part:"image",class:"avatar__image",src:this.image,onError:this.handleImageError}))}};t.style=r;export{t as six_avatar};
2
- //# sourceMappingURL=p-2cd674e0.entry.js.map
1
+ import{r as a,h as i}from"./p-e8d5a789.js";const t=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:inline-block;--size:2rem}.avatar{display:inline-flex;align-items:center;justify-content:center;position:relative;width:var(--size);height:var(--size);background-color:var(--six-avatar-background-color);font-family:var(--six-font-sans);font-size:calc(var(--size) * 0.5);font-weight:var(--six-font-weight-normal);color:var(--six-avatar-color);overflow:hidden;user-select:none;vertical-align:middle;cursor:pointer;outline:none}.avatar:hover{box-shadow:var(--six-shadow-medium)}.avatar--circle{border-radius:var(--six-border-radius-circle)}.avatar--rounded{border-radius:var(--six-border-radius-medium)}.avatar--square{border-radius:0}.avatar__icon{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;width:100%;height:100%}.avatar__initials{line-height:1;text-transform:uppercase}.avatar__image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}";const r=t;const e=class{constructor(i){a(this,i);this.handleImageError=()=>{this.hasError=true};this.hasError=false;this.image="";this.alt="";this.initials="";this.shape="circle"}render(){return i("div",{key:"a34616731683542d8bbdc16778ab34093654d773",part:"base",class:{avatar:true,"avatar--circle":this.shape==="circle","avatar--rounded":this.shape==="rounded","avatar--square":this.shape==="square"},role:"image","aria-label":this.alt,tabIndex:0},this.initials===""&&i("div",{part:"icon",class:"avatar__icon"},i("slot",{name:"icon"},i("six-icon",null,"person"))),this.initials&&i("div",{part:"initials",class:"avatar__initials"},this.initials),this.image&&!this.hasError&&i("img",{part:"image",class:"avatar__image",src:this.image,onError:this.handleImageError}))}};e.style=r;export{e as six_avatar};
2
+ //# sourceMappingURL=p-0a71815c.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixAvatarCss","SixAvatarStyle0","SixAvatar","this","handleImageError","hasError","render","h","key","part","class","avatar","shape","role","alt","tabIndex","initials","name","image","src","onError"],"sources":["src/components/six-avatar/six-avatar.scss?tag=six-avatar&encapsulation=shadow","src/components/six-avatar/six-avatar.tsx"],"sourcesContent":["@import 'src/global/component';\n\n/**\n * @prop --size: The size of the avatar.\n */\n:host {\n display: inline-block;\n\n --size: 2rem;\n}\n\n.avatar {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: var(--size);\n height: var(--size);\n background-color: var(--six-avatar-background-color);\n font-family: var(--six-font-sans);\n font-size: calc(var(--size) * 0.5);\n font-weight: var(--six-font-weight-normal);\n color: var(--six-avatar-color);\n overflow: hidden;\n user-select: none;\n vertical-align: middle;\n cursor: pointer;\n outline: none;\n\n &:hover {\n box-shadow: var(--six-shadow-medium);\n }\n}\n\n.avatar--circle {\n border-radius: var(--six-border-radius-circle);\n}\n\n.avatar--rounded {\n border-radius: var(--six-border-radius-medium);\n}\n\n.avatar--square {\n border-radius: 0;\n}\n\n.avatar__icon {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.avatar__initials {\n line-height: 1;\n text-transform: uppercase;\n}\n\n.avatar__image {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n","import { Component, h, Prop, State } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot icon - The default icon to use when no image or initials are present.\n *\n * @part base - The component's base wrapper.\n * @part icon - The container that wraps the avatar icon.\n * @part initials - The container that wraps the avatar initials.\n * @part image - The avatar image.\n */\n@Component({\n tag: 'six-avatar',\n styleUrl: 'six-avatar.scss',\n shadow: true,\n})\nexport class SixAvatar {\n @State() hasError = false;\n\n /** The image source to use for the avatar. */\n @Prop() image = '';\n\n /** Alternative text for the image. */\n @Prop() alt = '';\n\n /** Initials to use as a fallback when no image is available (1-2 characters max recommended). */\n @Prop() initials = '';\n\n /** The shape of the avatar. */\n @Prop() shape: 'circle' | 'square' | 'rounded' = 'circle';\n\n private handleImageError = () => {\n this.hasError = true;\n };\n\n render() {\n return (\n <div\n part=\"base\"\n class={{\n avatar: true,\n 'avatar--circle': this.shape === 'circle',\n 'avatar--rounded': this.shape === 'rounded',\n 'avatar--square': this.shape === 'square',\n }}\n role=\"image\"\n aria-label={this.alt}\n tabIndex={0}\n >\n {this.initials === '' && (\n <div part=\"icon\" class=\"avatar__icon\">\n <slot name=\"icon\">\n <six-icon>person</six-icon>\n </slot>\n </div>\n )}\n\n {this.initials && (\n <div part=\"initials\" class=\"avatar__initials\">\n {this.initials}\n </div>\n )}\n\n {this.image && !this.hasError && (\n <img part=\"image\" class=\"avatar__image\" src={this.image} onError={this.handleImageError} />\n )}\n </div>\n );\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAe,2/BACrB,MAAAC,EAAeD,E,MCmBFE,EAAS,M,yBAeZC,KAAAC,iBAAmB,KACzBD,KAAKE,SAAW,IAAI,E,cAfF,M,WAGJ,G,SAGF,G,cAGK,G,WAG8B,Q,CAMjD,MAAAC,GACE,OACEC,EAAA,OAAAC,IAAA,2CACEC,KAAK,OACLC,MAAO,CACLC,OAAQ,KACR,iBAAkBR,KAAKS,QAAU,SACjC,kBAAmBT,KAAKS,QAAU,UAClC,iBAAkBT,KAAKS,QAAU,UAEnCC,KAAK,QAAO,aACAV,KAAKW,IACjBC,SAAU,GAETZ,KAAKa,WAAa,IACjBT,EAAA,OAAKE,KAAK,OAAOC,MAAM,gBACrBH,EAAA,QAAMU,KAAK,QACTV,EAAA,4BAKLJ,KAAKa,UACJT,EAAA,OAAKE,KAAK,WAAWC,MAAM,oBACxBP,KAAKa,UAITb,KAAKe,QAAUf,KAAKE,UACnBE,EAAA,OAAKE,KAAK,QAAQC,MAAM,gBAAgBS,IAAKhB,KAAKe,MAAOE,QAASjB,KAAKC,mB"}
@@ -0,0 +1,2 @@
1
+ import{r as i,h as e}from"./p-e8d5a789.js";const t=':host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:inline-flex;vertical-align:middle}.material-icons{vertical-align:middle;font-weight:normal;font-style:normal;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";user-select:none}.material-icons-filled{font-family:"Material Icons"}.material-icons-outlined{font-family:"Material Icons Outlined"}.icon--xsmall{font-size:12px}.icon--small{font-size:18px}.icon--medium{font-size:24px}.icon--large{font-size:36px}.icon--xlarge{font-size:48px}.icon--xxlarge{font-size:72px}.icon--xxxlarge{font-size:96px}.icon--inherit{font-size:1.5em}';const o=t;const n=class{constructor(e){i(this,e);this.size="inherit";this.filled=false}render(){return e("i",{key:"1829823d7fafabd422951e21baf28f0925f670d9",class:{"material-icons":true,"material-icons-outlined":!this.filled,"material-icons-filled":this.filled,"icon--xsmall":this.size==="xSmall","icon--small":this.size==="small","icon--medium":this.size==="medium","icon--large":this.size==="large","icon--xlarge":this.size==="xLarge","icon--xxlarge":this.size==="xxLarge","icon--xxxlarge":this.size==="xxxLarge","icon--inherit":this.size==="inherit"}},e("slot",{key:"0f11af1384b316708bfe8b3989ea74cc3f2c37f9"}))}};n.style=o;export{n as six_icon};
2
+ //# sourceMappingURL=p-195619ed.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sixIconCss","SixIconStyle0","SixIcon","render","h","key","class","this","filled","size"],"sources":["src/components/six-icon/six-icon.scss?tag=six-icon&encapsulation=shadow","src/components/six-icon/six-icon.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: inline-flex;\n vertical-align: middle;\n}\n\n.material-icons {\n vertical-align: middle;\n font-weight: normal;\n font-style: normal;\n text-transform: none;\n letter-spacing: normal;\n word-wrap: normal;\n white-space: nowrap;\n direction: ltr;\n\n /* Support for all WebKit browsers. */\n -webkit-font-smoothing: antialiased;\n /* Support for Safari and Chrome. */\n text-rendering: optimizeLegibility;\n\n /* Support for Firefox. */\n -moz-osx-font-smoothing: grayscale;\n\n /* Support for IE. */\n font-feature-settings: 'liga';\n\n /* Icon name should not be selectable. */\n user-select: none;\n}\n\n.material-icons-filled {\n font-family: 'Material Icons';\n}\n\n.material-icons-outlined {\n font-family: 'Material Icons Outlined';\n}\n\n.icon {\n &--xsmall {\n font-size: 12px;\n }\n\n &--small {\n font-size: 18px;\n }\n\n &--medium {\n font-size: 24px;\n }\n\n &--large {\n font-size: 36px;\n }\n\n &--xlarge {\n font-size: 48px;\n }\n\n &--xxlarge {\n font-size: 72px;\n }\n\n &--xxxlarge {\n font-size: 96px;\n }\n\n &--inherit {\n font-size: 1.5em;\n }\n}\n","import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the material icon name.\n */\n\n@Component({\n tag: 'six-icon',\n styleUrls: ['six-icon.scss'],\n shadow: true,\n})\nexport class SixIcon {\n /** The icon's size. */\n @Prop({ reflect: true }) size:\n | 'inherit'\n | 'xSmall'\n | 'small'\n | 'medium'\n | 'large'\n | 'xLarge'\n | 'xxLarge'\n | 'xxxLarge' = 'inherit';\n\n /** If set to true the default material outlined icons are not used. */\n @Prop() filled = false;\n\n render() {\n return (\n <i\n class={{\n 'material-icons': true,\n 'material-icons-outlined': !this.filled,\n 'material-icons-filled': this.filled,\n 'icon--xsmall': this.size === 'xSmall',\n 'icon--small': this.size === 'small',\n 'icon--medium': this.size === 'medium',\n 'icon--large': this.size === 'large',\n 'icon--xlarge': this.size === 'xLarge',\n 'icon--xxlarge': this.size === 'xxLarge',\n 'icon--xxxlarge': this.size === 'xxxLarge',\n 'icon--inherit': this.size === 'inherit',\n }}\n >\n <slot></slot>\n </i>\n );\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAa,szBACnB,MAAAC,EAAeD,E,MCaFE,EAAO,M,mCAUD,U,YAGA,K,CAEjB,MAAAC,GACE,OACEC,EAAA,KAAAC,IAAA,2CACEC,MAAO,CACL,iBAAkB,KAClB,2BAA4BC,KAAKC,OACjC,wBAAyBD,KAAKC,OAC9B,eAAgBD,KAAKE,OAAS,SAC9B,cAAeF,KAAKE,OAAS,QAC7B,eAAgBF,KAAKE,OAAS,SAC9B,cAAeF,KAAKE,OAAS,QAC7B,eAAgBF,KAAKE,OAAS,SAC9B,gBAAiBF,KAAKE,OAAS,UAC/B,iBAAkBF,KAAKE,OAAS,WAChC,gBAAiBF,KAAKE,OAAS,YAGjCL,EAAA,QAAAC,IAAA,6C"}
@@ -0,0 +1,2 @@
1
+ import{r as a,h as e,H as s,g as t}from"./p-e8d5a789.js";const o=":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)}.tab-panel{border:solid 1px transparent;padding:20px 20px}";const i=o;let r=0;const b=class{constructor(e){a(this,e);this.componentId=`tab-panel-${++r}`;this.name="";this.active=false}render(){return e(s,{key:"9c332526981d228cc31dc50a84ebcb530b80fafd",id:this.host.id||this.componentId,style:{display:this.active?"block":"none"}},e("div",{key:"f83c683193cd57ae41b8d0a5192b77ecfe4e1f20",part:"base",class:"tab-panel",role:"tabpanel","aria-selected":this.active?"true":"false","aria-hidden":this.active?"false":"true"},e("slot",{key:"4f86b7b5bb9aa47f2ea11dc2b76ace19bc2f458a"})))}get host(){return t(this)}};b.style=i;export{b as six_tab_panel};
2
+ //# sourceMappingURL=p-254d32bf.entry.js.map