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

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 (1765) hide show
  1. package/README.md +9 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  3. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  4. package/dist/cjs/error-messages-6e8049a4.js +119 -0
  5. package/dist/cjs/error-messages-6e8049a4.js.map +1 -0
  6. package/dist/cjs/event-listeners-9fb878f1.js +61 -0
  7. package/dist/cjs/event-listeners-9fb878f1.js.map +1 -0
  8. package/dist/cjs/{execution-control-46f388e0.js → execution-control-d728da70.js} +15 -12
  9. package/dist/cjs/execution-control-d728da70.js.map +1 -0
  10. package/dist/cjs/focus-visible-e2c9255a.js +47 -0
  11. package/dist/cjs/focus-visible-e2c9255a.js.map +1 -0
  12. package/dist/cjs/form-9ebaae7c.js +20 -0
  13. package/dist/cjs/form-9ebaae7c.js.map +1 -0
  14. package/dist/cjs/form-control-b39f1df5.js +36 -0
  15. package/dist/cjs/form-control-b39f1df5.js.map +1 -0
  16. package/dist/cjs/index-417a06c8.js +1948 -0
  17. package/dist/cjs/index-417a06c8.js.map +1 -0
  18. package/dist/cjs/index.cjs.js +62 -0
  19. package/dist/cjs/index.cjs.js.map +1 -1
  20. package/dist/cjs/loader.cjs.js +6 -13
  21. package/dist/cjs/loader.cjs.js.map +1 -1
  22. package/dist/cjs/modal-bd7fc5bc.js +35 -0
  23. package/dist/cjs/modal-bd7fc5bc.js.map +1 -0
  24. package/dist/cjs/{popover-f743f62b.js → popover-1e7c09f1.js} +109 -101
  25. package/dist/cjs/popover-1e7c09f1.js.map +1 -0
  26. package/dist/cjs/popup-e854acda.js +103 -0
  27. package/dist/cjs/popup-e854acda.js.map +1 -0
  28. package/dist/cjs/scroll-68033901.js +68 -0
  29. package/dist/{esm/scroll-180b53fd.js.map → cjs/scroll-68033901.js.map} +1 -1
  30. package/dist/cjs/six-alert.cjs.entry.js +143 -115
  31. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  32. package/dist/cjs/six-avatar.cjs.entry.js +23 -25
  33. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  34. package/dist/cjs/six-badge.cjs.entry.js +25 -24
  35. package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
  36. package/dist/cjs/six-button.cjs.entry.js +97 -93
  37. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  38. package/dist/cjs/six-card.cjs.entry.js +10 -9
  39. package/dist/cjs/six-card.cjs.entry.js.map +1 -1
  40. package/dist/cjs/six-checkbox.cjs.entry.js +114 -145
  41. package/dist/cjs/six-checkbox.cjs.entry.js.map +1 -1
  42. package/dist/cjs/six-datepicker.cjs.entry.js +879 -981
  43. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  44. package/dist/cjs/six-details.cjs.entry.js +129 -127
  45. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  46. package/dist/cjs/six-dialog.cjs.entry.js +114 -134
  47. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  48. package/dist/cjs/six-drawer.cjs.entry.js +130 -151
  49. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  50. package/dist/cjs/six-dropdown_3.cjs.entry.js +818 -0
  51. package/dist/cjs/six-dropdown_3.cjs.entry.js.map +1 -0
  52. package/dist/cjs/six-error-page.cjs.entry.js +84 -85
  53. package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
  54. package/dist/cjs/six-error.cjs.entry.js +22 -0
  55. package/dist/cjs/six-error.cjs.entry.js.map +1 -0
  56. package/dist/cjs/six-file-list-item.cjs.entry.js +36 -35
  57. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  58. package/dist/cjs/six-file-list.cjs.entry.js +9 -8
  59. package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
  60. package/dist/cjs/six-file-upload.cjs.entry.js +121 -101
  61. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  62. package/dist/cjs/six-footer.cjs.entry.js +10 -9
  63. package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
  64. package/dist/cjs/six-group-label.cjs.entry.js +45 -43
  65. package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
  66. package/dist/cjs/six-header-dropdown-item.cjs.entry.js +45 -0
  67. package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -0
  68. package/dist/cjs/six-header-item_2.cjs.entry.js +47 -0
  69. package/dist/cjs/six-header-item_2.cjs.entry.js.map +1 -0
  70. package/dist/cjs/six-header-menu-button.cjs.entry.js +23 -0
  71. package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -0
  72. package/dist/cjs/six-header.cjs.entry.js +190 -136
  73. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  74. package/dist/cjs/six-icon-button.cjs.entry.js +40 -33
  75. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  76. package/dist/cjs/six-icon.cjs.entry.js +24 -23
  77. package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
  78. package/dist/cjs/six-input.cjs.entry.js +197 -243
  79. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  80. package/dist/cjs/six-item-picker.cjs.entry.js +415 -337
  81. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
  82. package/dist/cjs/six-language-switcher.cjs.entry.js +53 -48
  83. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
  84. package/dist/cjs/six-layout-grid.cjs.entry.js +23 -20
  85. package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
  86. package/dist/cjs/six-main-container.cjs.entry.js +11 -10
  87. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
  88. package/dist/cjs/six-menu-divider.cjs.entry.js +10 -9
  89. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
  90. package/dist/cjs/six-menu-label.cjs.entry.js +10 -9
  91. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
  92. package/dist/cjs/six-picto.cjs.entry.js +16 -12
  93. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  94. package/dist/cjs/six-progress-bar.cjs.entry.js +17 -16
  95. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  96. package/dist/cjs/six-progress-ring.cjs.entry.js +31 -30
  97. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  98. package/dist/cjs/six-radio.cjs.entry.js +106 -114
  99. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  100. package/dist/cjs/six-range.cjs.entry.js +200 -185
  101. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  102. package/dist/cjs/six-root.cjs.entry.js +13 -31
  103. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  104. package/dist/cjs/six-search-field.cjs.entry.js +46 -40
  105. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
  106. package/dist/cjs/six-select.cjs.entry.js +538 -394
  107. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  108. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +58 -42
  109. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  110. package/dist/cjs/six-sidebar-item.cjs.entry.js +19 -16
  111. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  112. package/dist/cjs/six-sidebar.cjs.entry.js +178 -156
  113. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
  114. package/dist/cjs/six-spinner.cjs.entry.js +50 -16
  115. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  116. package/dist/cjs/six-stage-indicator.cjs.entry.js +23 -0
  117. package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -0
  118. package/dist/cjs/six-switch.cjs.entry.js +109 -96
  119. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  120. package/dist/cjs/six-tab-group.cjs.entry.js +251 -212
  121. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  122. package/dist/cjs/six-tab-panel.cjs.entry.js +16 -15
  123. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
  124. package/dist/cjs/six-tab.cjs.entry.js +57 -38
  125. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  126. package/dist/cjs/six-tag.cjs.entry.js +57 -37
  127. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  128. package/dist/cjs/six-textarea.cjs.entry.js +184 -206
  129. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  130. package/dist/cjs/six-tile.cjs.entry.js +77 -79
  131. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  132. package/dist/cjs/six-timepicker.cjs.entry.js +346 -406
  133. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  134. package/dist/cjs/six-tooltip.cjs.entry.js +147 -149
  135. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
  136. package/dist/cjs/slot-1b1232a1.js +51 -0
  137. package/dist/cjs/slot-1b1232a1.js.map +1 -0
  138. package/dist/cjs/types-d3da200b.js +19 -0
  139. package/dist/cjs/types-d3da200b.js.map +1 -0
  140. package/dist/cjs/ui-library.cjs.js +13 -14
  141. package/dist/cjs/ui-library.cjs.js.map +1 -1
  142. package/dist/collection/assets/TRADEMARKS.md +3 -3
  143. package/dist/collection/collection-manifest.json +58 -55
  144. package/dist/collection/components/six-alert/six-alert.css +5 -1
  145. package/dist/collection/components/six-alert/six-alert.js +383 -336
  146. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  147. package/dist/collection/components/six-avatar/six-avatar.css +2 -2
  148. package/dist/collection/components/six-avatar/six-avatar.js +112 -115
  149. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  150. package/dist/collection/components/six-badge/six-badge.css +1 -1
  151. package/dist/collection/components/six-badge/six-badge.js +91 -91
  152. package/dist/collection/components/six-badge/six-badge.js.map +1 -1
  153. package/dist/collection/components/six-button/six-button.css +23 -34
  154. package/dist/collection/components/six-button/six-button.js +451 -440
  155. package/dist/collection/components/six-button/six-button.js.map +1 -1
  156. package/dist/collection/components/six-card/six-card.css +4 -5
  157. package/dist/collection/components/six-card/six-card.js +16 -16
  158. package/dist/collection/components/six-card/six-card.js.map +1 -1
  159. package/dist/collection/components/six-checkbox/six-checkbox.css +12 -2
  160. package/dist/collection/components/six-checkbox/six-checkbox.js +426 -517
  161. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  162. package/dist/collection/components/six-datepicker/components/day-selection.js +10 -10
  163. package/dist/collection/components/six-datepicker/components/day-selection.js.map +1 -1
  164. package/dist/collection/components/six-datepicker/components/month-selection.js +11 -10
  165. package/dist/collection/components/six-datepicker/components/month-selection.js.map +1 -1
  166. package/dist/collection/components/six-datepicker/components/year-selection.js +11 -8
  167. package/dist/collection/components/six-datepicker/components/year-selection.js.map +1 -1
  168. package/dist/collection/components/six-datepicker/six-date-formats.js +21 -20
  169. package/dist/collection/components/six-datepicker/six-date-formats.js.map +1 -1
  170. package/dist/collection/components/six-datepicker/six-datepicker.css +1 -1
  171. package/dist/collection/components/six-datepicker/six-datepicker.js +1056 -1217
  172. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  173. package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js +14 -14
  174. package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js.map +1 -1
  175. package/dist/collection/components/six-details/six-details.css +4 -6
  176. package/dist/collection/components/six-details/six-details.js +409 -402
  177. package/dist/collection/components/six-details/six-details.js.map +1 -1
  178. package/dist/collection/components/six-dialog/six-dialog.css +2 -2
  179. package/dist/collection/components/six-dialog/six-dialog.js +345 -359
  180. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  181. package/dist/collection/components/six-drawer/six-drawer.css +2 -2
  182. package/dist/collection/components/six-drawer/six-drawer.js +397 -412
  183. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  184. package/dist/collection/components/six-dropdown/six-dropdown.css +22 -6
  185. package/dist/collection/components/six-dropdown/six-dropdown.js +984 -868
  186. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  187. package/dist/collection/components/six-error/six-error.css +6 -0
  188. package/dist/collection/components/six-error/six-error.js +25 -0
  189. package/dist/collection/components/six-error/six-error.js.map +1 -0
  190. package/dist/collection/components/six-error-page/six-error-page.js +178 -180
  191. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
  192. package/dist/collection/components/six-file-list/six-file-list.js +16 -16
  193. package/dist/collection/components/six-file-list/six-file-list.js.map +1 -1
  194. package/dist/collection/components/six-file-list-item/six-file-list-item.css +1 -1
  195. package/dist/collection/components/six-file-list-item/six-file-list-item.js +196 -194
  196. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  197. package/dist/collection/components/six-file-upload/six-file-upload.css +12 -4
  198. package/dist/collection/components/six-file-upload/six-file-upload.js +368 -291
  199. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  200. package/dist/collection/components/six-footer/six-footer.css +2 -2
  201. package/dist/collection/components/six-footer/six-footer.js +16 -16
  202. package/dist/collection/components/six-footer/six-footer.js.map +1 -1
  203. package/dist/collection/components/six-group-label/six-group-label.css +5 -2
  204. package/dist/collection/components/six-group-label/six-group-label.js +158 -156
  205. package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
  206. package/dist/collection/components/six-header/six-header.css +8 -19
  207. package/dist/collection/components/six-header/six-header.js +542 -385
  208. package/dist/collection/components/six-header/six-header.js.map +1 -1
  209. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +15 -0
  210. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +53 -0
  211. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -0
  212. package/dist/collection/components/six-header-item/six-header-item.css +15 -0
  213. package/dist/collection/components/six-header-item/six-header-item.js +51 -0
  214. package/dist/collection/components/six-header-item/six-header-item.js.map +1 -0
  215. package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +27 -0
  216. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +48 -0
  217. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -0
  218. package/dist/collection/components/six-icon/six-icon.css +5 -2
  219. package/dist/collection/components/six-icon/six-icon.js +72 -72
  220. package/dist/collection/components/six-icon/six-icon.js.map +1 -1
  221. package/dist/collection/components/six-icon-button/six-icon-button.css +7 -6
  222. package/dist/collection/components/six-icon-button/six-icon-button.js +190 -133
  223. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  224. package/dist/collection/components/six-input/six-input.css +16 -3
  225. package/dist/collection/components/six-input/six-input.js +1006 -1107
  226. package/dist/collection/components/six-input/six-input.js.map +1 -1
  227. package/dist/collection/components/six-item-picker/six-item-picker.css +8 -0
  228. package/dist/collection/components/six-item-picker/six-item-picker.js +739 -658
  229. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  230. package/dist/collection/components/six-item-picker/types.js +9 -7
  231. package/dist/collection/components/six-item-picker/types.js.map +1 -1
  232. package/dist/collection/components/six-language-switcher/six-language-switcher.css +7 -2
  233. package/dist/collection/components/six-language-switcher/six-language-switcher.js +129 -123
  234. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  235. package/dist/collection/components/six-layout-grid/six-layout-grid.js +56 -54
  236. package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
  237. package/dist/collection/components/six-logo/six-logo.css +18 -0
  238. package/dist/collection/components/six-logo/six-logo.js +54 -0
  239. package/dist/collection/components/six-logo/six-logo.js.map +1 -0
  240. package/dist/collection/components/six-main-container/six-main-container.js +42 -42
  241. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
  242. package/dist/collection/components/six-menu/six-menu.css +8 -7
  243. package/dist/collection/components/six-menu/six-menu.js +400 -359
  244. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  245. package/dist/collection/components/six-menu-divider/six-menu-divider.css +3 -2
  246. package/dist/collection/components/six-menu-divider/six-menu-divider.js +16 -16
  247. package/dist/collection/components/six-menu-divider/six-menu-divider.js.map +1 -1
  248. package/dist/collection/components/six-menu-item/six-menu-item.css +13 -2
  249. package/dist/collection/components/six-menu-item/six-menu-item.js +211 -176
  250. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  251. package/dist/collection/components/six-menu-label/six-menu-label.css +1 -1
  252. package/dist/collection/components/six-menu-label/six-menu-label.js +16 -16
  253. package/dist/collection/components/six-menu-label/six-menu-label.js.map +1 -1
  254. package/dist/collection/components/six-picto/six-picto.js +47 -44
  255. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  256. package/dist/collection/components/six-progress-bar/six-progress-bar.css +1 -1
  257. package/dist/collection/components/six-progress-bar/six-progress-bar.js +65 -65
  258. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  259. package/dist/collection/components/six-progress-ring/six-progress-ring.css +1 -1
  260. package/dist/collection/components/six-progress-ring/six-progress-ring.js +100 -99
  261. package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
  262. package/dist/collection/components/six-radio/six-radio.css +1 -1
  263. package/dist/collection/components/six-radio/six-radio.js +323 -388
  264. package/dist/collection/components/six-radio/six-radio.js.map +1 -1
  265. package/dist/collection/components/six-range/six-range.css +6 -3
  266. package/dist/collection/components/six-range/six-range.js +582 -591
  267. package/dist/collection/components/six-range/six-range.js.map +1 -1
  268. package/dist/collection/components/six-root/six-root.js +87 -153
  269. package/dist/collection/components/six-root/six-root.js.map +1 -1
  270. package/dist/collection/components/six-search-field/six-search-field.css +1 -1
  271. package/dist/collection/components/six-search-field/six-search-field.js +172 -166
  272. package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
  273. package/dist/collection/components/six-select/six-select.css +61 -73
  274. package/dist/collection/components/six-select/six-select.js +1116 -1025
  275. package/dist/collection/components/six-select/six-select.js.map +1 -1
  276. package/dist/collection/components/six-select/util.js +76 -0
  277. package/dist/collection/components/six-select/util.js.map +1 -0
  278. package/dist/collection/components/six-sidebar/six-sidebar.css +2 -2
  279. package/dist/collection/components/six-sidebar/six-sidebar.js +470 -435
  280. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
  281. package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +13 -1
  282. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +102 -83
  283. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
  284. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +20 -1
  285. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +183 -151
  286. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  287. package/dist/collection/components/six-spinner/six-spinner.css +46 -1
  288. package/dist/collection/components/six-spinner/six-spinner.js +97 -47
  289. package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
  290. package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +1 -1
  291. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +46 -45
  292. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js.map +1 -1
  293. package/dist/collection/components/six-switch/six-switch.css +81 -1
  294. package/dist/collection/components/six-switch/six-switch.js +389 -378
  295. package/dist/collection/components/six-switch/six-switch.js.map +1 -1
  296. package/dist/collection/components/six-tab/six-tab.css +55 -6
  297. package/dist/collection/components/six-tab/six-tab.js +207 -184
  298. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  299. package/dist/collection/components/six-tab-group/six-tab-group.css +1 -32
  300. package/dist/collection/components/six-tab-group/six-tab-group.js +340 -333
  301. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  302. package/dist/collection/components/six-tab-panel/six-tab-panel.css +1 -1
  303. package/dist/collection/components/six-tab-panel/six-tab-panel.js +64 -64
  304. package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
  305. package/dist/collection/components/six-tag/six-tag.css +7 -1
  306. package/dist/collection/components/six-tag/six-tag.js +162 -142
  307. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  308. package/dist/collection/components/six-textarea/six-textarea.css +10 -2
  309. package/dist/collection/components/six-textarea/six-textarea.js +796 -882
  310. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
  311. package/dist/collection/components/six-tile/six-tile.css +2 -2
  312. package/dist/collection/components/six-tile/six-tile.js +300 -299
  313. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  314. package/dist/collection/components/six-timepicker/six-timepicker.css +1 -1
  315. package/dist/collection/components/six-timepicker/six-timepicker.js +829 -911
  316. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  317. package/dist/collection/components/six-tooltip/six-tooltip.css +2 -2
  318. package/dist/collection/components/six-tooltip/six-tooltip.js +405 -402
  319. package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
  320. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
  321. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  322. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
  323. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  324. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
  325. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  326. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
  327. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  328. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
  329. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  330. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
  331. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  332. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
  333. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  334. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
  335. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  336. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
  337. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  338. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
  339. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  340. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
  341. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  342. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
  343. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  344. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
  345. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  346. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
  347. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  348. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
  349. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  350. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
  351. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  352. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
  353. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  354. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
  355. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  356. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  357. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  358. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  359. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  360. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  361. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  362. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  363. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  364. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  365. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  366. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  367. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  368. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  369. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  370. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  371. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  372. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  373. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  374. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  375. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  376. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  377. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  378. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  379. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  380. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  381. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  382. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  383. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  384. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  385. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  386. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  387. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  388. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  389. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  390. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  391. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  392. package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
  393. package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  394. package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
  395. package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  396. package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
  397. package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  398. package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
  399. package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  400. package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
  401. package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  402. package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
  403. package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  404. package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
  405. package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  406. package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
  407. package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  408. package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
  409. package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  410. package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
  411. package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  412. package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
  413. package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  414. package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
  415. package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  416. package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
  417. package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  418. package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
  419. package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  420. package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
  421. package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  422. package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
  423. package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  424. package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
  425. package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  426. package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
  427. package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  428. package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
  429. package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
  430. package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
  431. package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
  432. package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
  433. package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
  434. package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
  435. package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
  436. package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
  437. package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
  438. package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
  439. package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
  440. package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
  441. package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
  442. package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
  443. package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
  444. package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
  445. package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
  446. package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
  447. package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
  448. package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
  449. package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
  450. package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
  451. package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
  452. package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
  453. package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
  454. package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
  455. package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
  456. package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
  457. package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
  458. package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
  459. package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
  460. package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
  461. package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
  462. package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
  463. package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
  464. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
  465. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  466. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
  467. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  468. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
  469. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  470. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
  471. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  472. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
  473. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  474. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
  475. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  476. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
  477. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  478. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
  479. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  480. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
  481. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  482. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
  483. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  484. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
  485. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  486. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
  487. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  488. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
  489. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  490. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
  491. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  492. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
  493. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  494. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
  495. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  496. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
  497. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  498. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
  499. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  500. package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
  501. package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
  502. package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
  503. package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
  504. package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
  505. package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
  506. package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
  507. package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
  508. package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
  509. package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
  510. package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
  511. package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
  512. package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
  513. package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
  514. package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
  515. package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
  516. package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
  517. package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
  518. package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
  519. package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
  520. package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
  521. package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
  522. package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
  523. package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
  524. package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
  525. package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
  526. package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
  527. package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
  528. package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
  529. package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
  530. package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
  531. package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
  532. package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
  533. package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
  534. package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
  535. package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
  536. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
  537. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  538. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
  539. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  540. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
  541. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  542. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
  543. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  544. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
  545. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  546. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
  547. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  548. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
  549. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  550. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
  551. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  552. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
  553. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  554. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
  555. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  556. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
  557. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  558. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
  559. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  560. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
  561. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  562. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
  563. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  564. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
  565. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  566. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
  567. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  568. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
  569. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  570. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
  571. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  572. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
  573. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  574. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
  575. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  576. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
  577. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  578. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
  579. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  580. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
  581. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  582. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
  583. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  584. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
  585. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  586. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
  587. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  588. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
  589. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  590. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
  591. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  592. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
  593. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  594. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
  595. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  596. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
  597. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  598. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
  599. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  600. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
  601. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  602. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
  603. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  604. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
  605. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  606. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
  607. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  608. package/dist/collection/functional-components/form-control/form-control.js +20 -19
  609. package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
  610. package/dist/collection/index.js +2 -1
  611. package/dist/collection/index.js.map +1 -1
  612. package/dist/collection/testUtil/delay.js +1 -1
  613. package/dist/collection/testUtil/delay.js.map +1 -1
  614. package/dist/collection/utils/alert.js +54 -0
  615. package/dist/collection/utils/alert.js.map +1 -0
  616. package/dist/collection/utils/animation.js +34 -0
  617. package/dist/collection/utils/animation.js.map +1 -0
  618. package/dist/collection/utils/date-util.js +536 -502
  619. package/dist/collection/utils/date-util.js.map +1 -1
  620. package/dist/collection/utils/error-messages.js +112 -0
  621. package/dist/collection/utils/error-messages.js.map +1 -0
  622. package/dist/collection/utils/event-listeners.js +53 -37
  623. package/dist/collection/utils/event-listeners.js.map +1 -1
  624. package/dist/collection/utils/execution-control.js +14 -13
  625. package/dist/collection/utils/execution-control.js.map +1 -1
  626. package/dist/collection/utils/focus-visible.js +28 -28
  627. package/dist/collection/utils/focus-visible.js.map +1 -1
  628. package/dist/collection/utils/form.js +15 -0
  629. package/dist/collection/utils/form.js.map +1 -0
  630. package/dist/collection/utils/modal.js +25 -24
  631. package/dist/collection/utils/modal.js.map +1 -1
  632. package/dist/collection/utils/offset.js +4 -4
  633. package/dist/collection/utils/offset.js.map +1 -1
  634. package/dist/collection/utils/popover.js +104 -90
  635. package/dist/collection/utils/popover.js.map +1 -1
  636. package/dist/collection/utils/popup.js +95 -0
  637. package/dist/collection/utils/popup.js.map +1 -0
  638. package/dist/collection/utils/scroll.js +28 -28
  639. package/dist/collection/utils/scroll.js.map +1 -1
  640. package/dist/collection/utils/slot.js +30 -46
  641. package/dist/collection/utils/slot.js.map +1 -1
  642. package/dist/collection/utils/tabbable.js +17 -17
  643. package/dist/collection/utils/tabbable.js.map +1 -1
  644. package/dist/collection/utils/time.util.js +73 -59
  645. package/dist/collection/utils/time.util.js.map +1 -1
  646. package/dist/collection/utils/type-check.js +0 -1
  647. package/dist/collection/utils/type-check.js.map +1 -1
  648. package/dist/components/event-listeners.js +53 -37
  649. package/dist/components/event-listeners.js.map +1 -1
  650. package/dist/components/execution-control.js +14 -11
  651. package/dist/components/execution-control.js.map +1 -1
  652. package/dist/components/focus-visible.js +28 -28
  653. package/dist/components/focus-visible.js.map +1 -1
  654. package/dist/components/form-control.js +26 -24
  655. package/dist/components/form-control.js.map +1 -1
  656. package/dist/components/form.js +18 -0
  657. package/dist/components/form.js.map +1 -0
  658. package/dist/components/index.d.ts +6 -0
  659. package/dist/components/index.js +126 -65
  660. package/dist/components/index.js.map +1 -1
  661. package/dist/components/modal.js +26 -41
  662. package/dist/components/modal.js.map +1 -1
  663. package/dist/components/popover.js +108 -100
  664. package/dist/components/popover.js.map +1 -1
  665. package/dist/components/scroll.js +32 -32
  666. package/dist/components/scroll.js.map +1 -1
  667. package/dist/components/six-alert.d.ts +2 -2
  668. package/dist/components/six-alert.js +177 -146
  669. package/dist/components/six-alert.js.map +1 -1
  670. package/dist/components/six-avatar.d.ts +2 -2
  671. package/dist/components/six-avatar.js +46 -48
  672. package/dist/components/six-avatar.js.map +1 -1
  673. package/dist/components/six-badge.d.ts +2 -2
  674. package/dist/components/six-badge.js +41 -40
  675. package/dist/components/six-badge.js.map +1 -1
  676. package/dist/components/six-button.d.ts +2 -2
  677. package/dist/components/six-button.js +1 -140
  678. package/dist/components/six-button.js.map +1 -1
  679. package/dist/components/six-button2.js +148 -0
  680. package/dist/components/six-button2.js.map +1 -0
  681. package/dist/components/six-card.d.ts +2 -2
  682. package/dist/components/six-card.js +22 -21
  683. package/dist/components/six-card.js.map +1 -1
  684. package/dist/components/six-checkbox.d.ts +2 -2
  685. package/dist/components/six-checkbox.js +1 -186
  686. package/dist/components/six-checkbox.js.map +1 -1
  687. package/dist/components/six-checkbox2.js +166 -0
  688. package/dist/components/six-checkbox2.js.map +1 -0
  689. package/dist/components/six-datepicker.d.ts +2 -2
  690. package/dist/components/six-datepicker.js +950 -1045
  691. package/dist/components/six-datepicker.js.map +1 -1
  692. package/dist/components/six-details.d.ts +2 -2
  693. package/dist/components/six-details2.js +159 -155
  694. package/dist/components/six-details2.js.map +1 -1
  695. package/dist/components/six-dialog.d.ts +2 -2
  696. package/dist/components/six-dialog.js +144 -162
  697. package/dist/components/six-dialog.js.map +1 -1
  698. package/dist/components/six-drawer.d.ts +2 -2
  699. package/dist/components/six-drawer.js +162 -181
  700. package/dist/components/six-drawer.js.map +1 -1
  701. package/dist/components/six-dropdown.d.ts +2 -2
  702. package/dist/components/six-dropdown2.js +550 -448
  703. package/dist/components/six-dropdown2.js.map +1 -1
  704. package/dist/components/six-error-page.d.ts +2 -2
  705. package/dist/components/six-error-page.js +107 -108
  706. package/dist/components/six-error-page.js.map +1 -1
  707. package/dist/components/six-error.d.ts +11 -0
  708. package/dist/components/six-error.js +8 -0
  709. package/dist/components/six-error.js.map +1 -0
  710. package/dist/components/six-error2.js +33 -0
  711. package/dist/components/six-error2.js.map +1 -0
  712. package/dist/components/six-file-list-item.d.ts +2 -2
  713. package/dist/components/six-file-list-item.js +60 -59
  714. package/dist/components/six-file-list-item.js.map +1 -1
  715. package/dist/components/six-file-list.d.ts +2 -2
  716. package/dist/components/six-file-list.js +21 -20
  717. package/dist/components/six-file-list.js.map +1 -1
  718. package/dist/components/six-file-upload.d.ts +2 -2
  719. package/dist/components/six-file-upload.js +163 -127
  720. package/dist/components/six-file-upload.js.map +1 -1
  721. package/dist/components/six-footer.d.ts +2 -2
  722. package/dist/components/six-footer.js +22 -21
  723. package/dist/components/six-footer.js.map +1 -1
  724. package/dist/components/six-group-label.d.ts +2 -2
  725. package/dist/components/six-group-label.js +72 -61
  726. package/dist/components/six-group-label.js.map +1 -1
  727. package/dist/components/six-header-dropdown-item.d.ts +11 -0
  728. package/dist/components/six-header-dropdown-item.js +103 -0
  729. package/dist/components/six-header-dropdown-item.js.map +1 -0
  730. package/dist/components/{set-attributes.d.ts → six-header-item.d.ts} +4 -4
  731. package/dist/components/six-header-item.js +8 -0
  732. package/dist/components/six-header-item.js.map +1 -0
  733. package/dist/components/six-header-item2.js +39 -0
  734. package/dist/components/six-header-item2.js.map +1 -0
  735. package/dist/components/six-header-menu-button.d.ts +11 -0
  736. package/dist/components/six-header-menu-button.js +57 -0
  737. package/dist/components/six-header-menu-button.js.map +1 -0
  738. package/dist/components/six-header.d.ts +2 -2
  739. package/dist/components/six-header.js +273 -190
  740. package/dist/components/six-header.js.map +1 -1
  741. package/dist/components/six-icon-button.d.ts +2 -2
  742. package/dist/components/six-icon-button2.js +65 -55
  743. package/dist/components/six-icon-button2.js.map +1 -1
  744. package/dist/components/six-icon.d.ts +2 -2
  745. package/dist/components/six-icon2.js +39 -38
  746. package/dist/components/six-icon2.js.map +1 -1
  747. package/dist/components/six-input.d.ts +2 -2
  748. package/dist/components/six-input2.js +264 -304
  749. package/dist/components/six-input2.js.map +1 -1
  750. package/dist/components/six-item-picker.d.ts +2 -2
  751. package/dist/components/six-item-picker2.js +459 -375
  752. package/dist/components/six-item-picker2.js.map +1 -1
  753. package/dist/components/six-language-switcher.d.ts +2 -2
  754. package/dist/components/six-language-switcher.js +70 -63
  755. package/dist/components/six-language-switcher.js.map +1 -1
  756. package/dist/components/six-layout-grid.d.ts +2 -2
  757. package/dist/components/six-layout-grid.js +39 -34
  758. package/dist/components/six-layout-grid.js.map +1 -1
  759. package/dist/components/{six-form.d.ts → six-logo.d.ts} +4 -4
  760. package/dist/components/six-logo.js +8 -0
  761. package/dist/components/six-logo.js.map +1 -0
  762. package/dist/components/six-logo2.js +42 -0
  763. package/dist/components/six-logo2.js.map +1 -0
  764. package/dist/components/six-main-container.d.ts +2 -2
  765. package/dist/components/six-main-container.js +25 -24
  766. package/dist/components/six-main-container.js.map +1 -1
  767. package/dist/components/six-menu-divider.d.ts +2 -2
  768. package/dist/components/six-menu-divider.js +22 -21
  769. package/dist/components/six-menu-divider.js.map +1 -1
  770. package/dist/components/six-menu-item.d.ts +2 -2
  771. package/dist/components/six-menu-item2.js +99 -73
  772. package/dist/components/six-menu-item2.js.map +1 -1
  773. package/dist/components/six-menu-label.d.ts +2 -2
  774. package/dist/components/six-menu-label.js +22 -21
  775. package/dist/components/six-menu-label.js.map +1 -1
  776. package/dist/components/six-menu.d.ts +2 -2
  777. package/dist/components/six-menu2.js +265 -232
  778. package/dist/components/six-menu2.js.map +1 -1
  779. package/dist/components/six-picto.d.ts +2 -2
  780. package/dist/components/six-picto2.js +30 -26
  781. package/dist/components/six-picto2.js.map +1 -1
  782. package/dist/components/six-progress-bar.d.ts +2 -2
  783. package/dist/components/six-progress-bar.js +32 -31
  784. package/dist/components/six-progress-bar.js.map +1 -1
  785. package/dist/components/six-progress-ring.d.ts +2 -2
  786. package/dist/components/six-progress-ring.js +49 -46
  787. package/dist/components/six-progress-ring.js.map +1 -1
  788. package/dist/components/six-radio.d.ts +2 -2
  789. package/dist/components/six-radio.js +130 -139
  790. package/dist/components/six-radio.js.map +1 -1
  791. package/dist/components/six-range.d.ts +2 -2
  792. package/dist/components/six-range.js +244 -218
  793. package/dist/components/six-range.js.map +1 -1
  794. package/dist/components/six-root.d.ts +2 -2
  795. package/dist/components/six-root.js +40 -66
  796. package/dist/components/six-root.js.map +1 -1
  797. package/dist/components/six-search-field.d.ts +2 -2
  798. package/dist/components/six-search-field.js +80 -66
  799. package/dist/components/six-search-field.js.map +1 -1
  800. package/dist/components/six-select.d.ts +2 -2
  801. package/dist/components/six-select.js +778 -500
  802. package/dist/components/six-select.js.map +1 -1
  803. package/dist/components/six-sidebar-item-group.d.ts +2 -2
  804. package/dist/components/six-sidebar-item-group.js +88 -71
  805. package/dist/components/six-sidebar-item-group.js.map +1 -1
  806. package/dist/components/six-sidebar-item.d.ts +2 -2
  807. package/dist/components/six-sidebar-item.js +36 -32
  808. package/dist/components/six-sidebar-item.js.map +1 -1
  809. package/dist/components/six-sidebar.d.ts +2 -2
  810. package/dist/components/six-sidebar.js +202 -178
  811. package/dist/components/six-sidebar.js.map +1 -1
  812. package/dist/components/six-spinner.d.ts +2 -2
  813. package/dist/components/six-spinner2.js +65 -30
  814. package/dist/components/six-spinner2.js.map +1 -1
  815. package/dist/components/six-stage-indicator.d.ts +2 -2
  816. package/dist/components/six-stage-indicator2.js +30 -29
  817. package/dist/components/six-stage-indicator2.js.map +1 -1
  818. package/dist/components/six-switch.d.ts +2 -2
  819. package/dist/components/six-switch.js +145 -122
  820. package/dist/components/six-switch.js.map +1 -1
  821. package/dist/components/six-tab-group.d.ts +2 -2
  822. package/dist/components/six-tab-group.js +281 -239
  823. package/dist/components/six-tab-group.js.map +1 -1
  824. package/dist/components/six-tab-panel.d.ts +2 -2
  825. package/dist/components/six-tab-panel.js +31 -30
  826. package/dist/components/six-tab-panel.js.map +1 -1
  827. package/dist/components/six-tab.d.ts +2 -2
  828. package/dist/components/six-tab.js +86 -67
  829. package/dist/components/six-tab.js.map +1 -1
  830. package/dist/components/six-tag.d.ts +2 -2
  831. package/dist/components/six-tag.js +99 -1
  832. package/dist/components/six-tag.js.map +1 -1
  833. package/dist/components/six-textarea.d.ts +2 -2
  834. package/dist/components/six-textarea.js +232 -246
  835. package/dist/components/six-textarea.js.map +1 -1
  836. package/dist/components/six-tile.d.ts +2 -2
  837. package/dist/components/six-tile.js +117 -119
  838. package/dist/components/six-tile.js.map +1 -1
  839. package/dist/components/six-timepicker.d.ts +2 -2
  840. package/dist/components/six-timepicker.js +1 -1
  841. package/dist/components/six-timepicker2.js +509 -515
  842. package/dist/components/six-timepicker2.js.map +1 -1
  843. package/dist/components/six-tooltip.d.ts +2 -2
  844. package/dist/components/six-tooltip2.js +170 -170
  845. package/dist/components/six-tooltip2.js.map +1 -1
  846. package/dist/components/slot.js +31 -31
  847. package/dist/components/slot.js.map +1 -1
  848. package/dist/components.d.ts +375 -88
  849. package/dist/components.json +5823 -1139
  850. package/dist/esm/app-globals-0f993ce5.js +5 -0
  851. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  852. package/dist/esm/error-messages-1eaaad23.js +115 -0
  853. package/dist/esm/error-messages-1eaaad23.js.map +1 -0
  854. package/dist/esm/event-listeners-706d4309.js +59 -0
  855. package/dist/esm/event-listeners-706d4309.js.map +1 -0
  856. package/dist/esm/{execution-control-1a60d709.js → execution-control-2ebaf4ef.js} +15 -12
  857. package/dist/esm/execution-control-2ebaf4ef.js.map +1 -0
  858. package/dist/esm/focus-visible-d9dbfeef.js +45 -0
  859. package/dist/esm/focus-visible-d9dbfeef.js.map +1 -0
  860. package/dist/esm/form-4b145b7a.js +18 -0
  861. package/dist/esm/form-4b145b7a.js.map +1 -0
  862. package/dist/esm/form-control-ad1710bf.js +34 -0
  863. package/dist/esm/form-control-ad1710bf.js.map +1 -0
  864. package/dist/esm/index-a7bee415.js +1919 -0
  865. package/dist/esm/index-a7bee415.js.map +1 -0
  866. package/dist/esm/index.js +56 -0
  867. package/dist/esm/index.js.map +1 -1
  868. package/dist/esm/loader.js +8 -15
  869. package/dist/esm/loader.js.map +1 -1
  870. package/dist/esm/modal-6c1288e3.js +33 -0
  871. package/dist/esm/modal-6c1288e3.js.map +1 -0
  872. package/dist/esm/{popover-bd2c2fca.js → popover-25996e62.js} +109 -101
  873. package/dist/esm/popover-25996e62.js.map +1 -0
  874. package/dist/esm/popup-7209e9d5.js +98 -0
  875. package/dist/esm/popup-7209e9d5.js.map +1 -0
  876. package/dist/esm/scroll-3e16851e.js +64 -0
  877. package/dist/esm/scroll-3e16851e.js.map +1 -0
  878. package/dist/esm/six-alert.entry.js +143 -115
  879. package/dist/esm/six-alert.entry.js.map +1 -1
  880. package/dist/esm/six-avatar.entry.js +23 -25
  881. package/dist/esm/six-avatar.entry.js.map +1 -1
  882. package/dist/esm/six-badge.entry.js +25 -24
  883. package/dist/esm/six-badge.entry.js.map +1 -1
  884. package/dist/esm/six-button.entry.js +97 -93
  885. package/dist/esm/six-button.entry.js.map +1 -1
  886. package/dist/esm/six-card.entry.js +10 -9
  887. package/dist/esm/six-card.entry.js.map +1 -1
  888. package/dist/esm/six-checkbox.entry.js +114 -145
  889. package/dist/esm/six-checkbox.entry.js.map +1 -1
  890. package/dist/esm/six-datepicker.entry.js +879 -981
  891. package/dist/esm/six-datepicker.entry.js.map +1 -1
  892. package/dist/esm/six-details.entry.js +129 -127
  893. package/dist/esm/six-details.entry.js.map +1 -1
  894. package/dist/esm/six-dialog.entry.js +114 -134
  895. package/dist/esm/six-dialog.entry.js.map +1 -1
  896. package/dist/esm/six-drawer.entry.js +130 -151
  897. package/dist/esm/six-drawer.entry.js.map +1 -1
  898. package/dist/esm/six-dropdown_3.entry.js +812 -0
  899. package/dist/esm/six-dropdown_3.entry.js.map +1 -0
  900. package/dist/esm/six-error-page.entry.js +84 -85
  901. package/dist/esm/six-error-page.entry.js.map +1 -1
  902. package/dist/esm/six-error.entry.js +18 -0
  903. package/dist/esm/six-error.entry.js.map +1 -0
  904. package/dist/esm/six-file-list-item.entry.js +36 -35
  905. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  906. package/dist/esm/six-file-list.entry.js +9 -8
  907. package/dist/esm/six-file-list.entry.js.map +1 -1
  908. package/dist/esm/six-file-upload.entry.js +121 -101
  909. package/dist/esm/six-file-upload.entry.js.map +1 -1
  910. package/dist/esm/six-footer.entry.js +10 -9
  911. package/dist/esm/six-footer.entry.js.map +1 -1
  912. package/dist/esm/six-group-label.entry.js +45 -43
  913. package/dist/esm/six-group-label.entry.js.map +1 -1
  914. package/dist/esm/six-header-dropdown-item.entry.js +41 -0
  915. package/dist/esm/six-header-dropdown-item.entry.js.map +1 -0
  916. package/dist/esm/six-header-item_2.entry.js +42 -0
  917. package/dist/esm/six-header-item_2.entry.js.map +1 -0
  918. package/dist/esm/six-header-menu-button.entry.js +19 -0
  919. package/dist/esm/six-header-menu-button.entry.js.map +1 -0
  920. package/dist/esm/six-header.entry.js +190 -136
  921. package/dist/esm/six-header.entry.js.map +1 -1
  922. package/dist/esm/six-icon-button.entry.js +40 -33
  923. package/dist/esm/six-icon-button.entry.js.map +1 -1
  924. package/dist/esm/six-icon.entry.js +24 -23
  925. package/dist/esm/six-icon.entry.js.map +1 -1
  926. package/dist/esm/six-input.entry.js +197 -243
  927. package/dist/esm/six-input.entry.js.map +1 -1
  928. package/dist/esm/six-item-picker.entry.js +415 -337
  929. package/dist/esm/six-item-picker.entry.js.map +1 -1
  930. package/dist/esm/six-language-switcher.entry.js +53 -48
  931. package/dist/esm/six-language-switcher.entry.js.map +1 -1
  932. package/dist/esm/six-layout-grid.entry.js +23 -20
  933. package/dist/esm/six-layout-grid.entry.js.map +1 -1
  934. package/dist/esm/six-main-container.entry.js +11 -10
  935. package/dist/esm/six-main-container.entry.js.map +1 -1
  936. package/dist/esm/six-menu-divider.entry.js +10 -9
  937. package/dist/esm/six-menu-divider.entry.js.map +1 -1
  938. package/dist/esm/six-menu-label.entry.js +10 -9
  939. package/dist/esm/six-menu-label.entry.js.map +1 -1
  940. package/dist/esm/six-picto.entry.js +16 -12
  941. package/dist/esm/six-picto.entry.js.map +1 -1
  942. package/dist/esm/six-progress-bar.entry.js +17 -16
  943. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  944. package/dist/esm/six-progress-ring.entry.js +31 -30
  945. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  946. package/dist/esm/six-radio.entry.js +106 -114
  947. package/dist/esm/six-radio.entry.js.map +1 -1
  948. package/dist/esm/six-range.entry.js +200 -185
  949. package/dist/esm/six-range.entry.js.map +1 -1
  950. package/dist/esm/six-root.entry.js +13 -31
  951. package/dist/esm/six-root.entry.js.map +1 -1
  952. package/dist/esm/six-search-field.entry.js +46 -40
  953. package/dist/esm/six-search-field.entry.js.map +1 -1
  954. package/dist/esm/six-select.entry.js +538 -394
  955. package/dist/esm/six-select.entry.js.map +1 -1
  956. package/dist/esm/six-sidebar-item-group.entry.js +58 -42
  957. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  958. package/dist/esm/six-sidebar-item.entry.js +19 -16
  959. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  960. package/dist/esm/six-sidebar.entry.js +178 -156
  961. package/dist/esm/six-sidebar.entry.js.map +1 -1
  962. package/dist/esm/six-spinner.entry.js +50 -16
  963. package/dist/esm/six-spinner.entry.js.map +1 -1
  964. package/dist/esm/six-stage-indicator.entry.js +19 -0
  965. package/dist/esm/six-stage-indicator.entry.js.map +1 -0
  966. package/dist/esm/six-switch.entry.js +109 -96
  967. package/dist/esm/six-switch.entry.js.map +1 -1
  968. package/dist/esm/six-tab-group.entry.js +251 -212
  969. package/dist/esm/six-tab-group.entry.js.map +1 -1
  970. package/dist/esm/six-tab-panel.entry.js +16 -15
  971. package/dist/esm/six-tab-panel.entry.js.map +1 -1
  972. package/dist/esm/six-tab.entry.js +57 -38
  973. package/dist/esm/six-tab.entry.js.map +1 -1
  974. package/dist/esm/six-tag.entry.js +57 -37
  975. package/dist/esm/six-tag.entry.js.map +1 -1
  976. package/dist/esm/six-textarea.entry.js +184 -206
  977. package/dist/esm/six-textarea.entry.js.map +1 -1
  978. package/dist/esm/six-tile.entry.js +77 -79
  979. package/dist/esm/six-tile.entry.js.map +1 -1
  980. package/dist/esm/six-timepicker.entry.js +346 -406
  981. package/dist/esm/six-timepicker.entry.js.map +1 -1
  982. package/dist/esm/six-tooltip.entry.js +147 -149
  983. package/dist/esm/six-tooltip.entry.js.map +1 -1
  984. package/dist/esm/slot-56531341.js +47 -0
  985. package/dist/esm/slot-56531341.js.map +1 -0
  986. package/dist/esm/types-a07bb999.js +19 -0
  987. package/dist/esm/types-a07bb999.js.map +1 -0
  988. package/dist/esm/ui-library.js +14 -15
  989. package/dist/esm/ui-library.js.map +1 -1
  990. package/dist/types/components/six-alert/six-alert.d.ts +47 -42
  991. package/dist/types/components/six-avatar/six-avatar.d.ts +11 -12
  992. package/dist/types/components/six-badge/six-badge.d.ts +7 -8
  993. package/dist/types/components/six-button/six-button.d.ts +48 -49
  994. package/dist/types/components/six-card/six-card.d.ts +1 -1
  995. package/dist/types/components/six-checkbox/six-checkbox.d.ts +58 -67
  996. package/dist/types/components/six-datepicker/components/day-selection.d.ts +9 -5
  997. package/dist/types/components/six-datepicker/components/month-selection.d.ts +8 -5
  998. package/dist/types/components/six-datepicker/components/year-selection.d.ts +7 -5
  999. package/dist/types/components/six-datepicker/six-date-formats.d.ts +20 -20
  1000. package/dist/types/components/six-datepicker/six-datepicker.d.ts +189 -198
  1001. package/dist/types/components/six-details/six-details.d.ts +42 -42
  1002. package/dist/types/components/six-dialog/six-dialog.d.ts +51 -51
  1003. package/dist/types/components/six-drawer/six-drawer.d.ts +58 -59
  1004. package/dist/types/components/six-dropdown/six-dropdown.d.ts +131 -116
  1005. package/dist/types/components/six-error/six-error.d.ts +9 -0
  1006. package/dist/types/components/six-error-page/six-error-page.d.ts +25 -25
  1007. package/dist/types/components/six-file-list/six-file-list.d.ts +1 -1
  1008. package/dist/types/components/six-file-list-item/six-file-list-item.d.ts +23 -23
  1009. package/dist/types/components/six-file-upload/six-file-upload.d.ts +43 -33
  1010. package/dist/types/components/six-footer/six-footer.d.ts +1 -1
  1011. package/dist/types/components/six-group-label/six-group-label.d.ts +22 -22
  1012. package/dist/types/components/six-header/six-header.d.ts +127 -71
  1013. package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +13 -0
  1014. package/dist/types/components/six-header-item/six-header-item.d.ts +15 -0
  1015. package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +11 -0
  1016. package/dist/types/components/six-icon/six-icon.d.ts +5 -5
  1017. package/dist/types/components/six-icon-button/six-icon-button.d.ts +24 -18
  1018. package/dist/types/components/six-input/six-input.d.ts +120 -129
  1019. package/dist/types/components/six-item-picker/six-item-picker.d.ts +97 -93
  1020. package/dist/types/components/six-item-picker/types.d.ts +7 -7
  1021. package/dist/types/components/six-language-switcher/six-language-switcher.d.ts +15 -15
  1022. package/dist/types/components/six-layout-grid/six-layout-grid.d.ts +6 -6
  1023. package/dist/types/components/six-logo/six-logo.d.ts +9 -0
  1024. package/dist/types/components/six-main-container/six-main-container.d.ts +4 -4
  1025. package/dist/types/components/six-menu/six-menu.d.ts +67 -64
  1026. package/dist/types/components/six-menu-divider/six-menu-divider.d.ts +1 -1
  1027. package/dist/types/components/six-menu-item/six-menu-item.d.ts +27 -21
  1028. package/dist/types/components/six-menu-label/six-menu-label.d.ts +1 -1
  1029. package/dist/types/components/six-picto/six-picto.d.ts +6 -6
  1030. package/dist/types/components/six-progress-bar/six-progress-bar.d.ts +5 -5
  1031. package/dist/types/components/six-progress-ring/six-progress-ring.d.ts +11 -11
  1032. package/dist/types/components/six-radio/six-radio.d.ts +38 -49
  1033. package/dist/types/components/six-range/six-range.d.ts +77 -83
  1034. package/dist/types/components/six-root/six-root.d.ts +10 -23
  1035. package/dist/types/components/six-search-field/six-search-field.d.ts +20 -21
  1036. package/dist/types/components/six-select/six-select.d.ts +135 -136
  1037. package/dist/types/components/six-select/util.d.ts +9 -0
  1038. package/dist/types/components/six-sidebar/six-sidebar.d.ts +45 -45
  1039. package/dist/types/components/six-sidebar-item/six-sidebar-item.d.ts +12 -7
  1040. package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +26 -19
  1041. package/dist/types/components/six-spinner/six-spinner.d.ts +26 -5
  1042. package/dist/types/components/six-stage-indicator/six-stage-indicator.d.ts +3 -3
  1043. package/dist/types/components/six-switch/six-switch.d.ts +49 -45
  1044. package/dist/types/components/six-tab/six-tab.d.ts +20 -20
  1045. package/dist/types/components/six-tab-group/six-tab-group.d.ts +39 -40
  1046. package/dist/types/components/six-tab-panel/six-tab-panel.d.ts +7 -7
  1047. package/dist/types/components/six-tag/six-tag.d.ts +20 -14
  1048. package/dist/types/components/six-textarea/six-textarea.d.ts +89 -114
  1049. package/dist/types/components/six-tile/six-tile.d.ts +31 -32
  1050. package/dist/types/components/six-timepicker/six-timepicker.d.ts +156 -170
  1051. package/dist/types/components/six-tooltip/six-tooltip.d.ts +55 -57
  1052. package/dist/types/components.d.ts +990 -476
  1053. package/dist/types/functional-components/form-control/form-control.d.ts +34 -31
  1054. package/dist/types/index.d.ts +2 -0
  1055. package/dist/types/stencil-public-runtime.d.ts +52 -15
  1056. package/dist/types/testUtil/delay.d.ts +1 -1
  1057. package/dist/types/types.d.ts +3 -0
  1058. package/dist/types/utils/alert.d.ts +10 -0
  1059. package/dist/types/utils/animation.d.ts +12 -0
  1060. package/dist/types/utils/date-util.d.ts +73 -57
  1061. package/dist/types/utils/error-messages.d.ts +44 -0
  1062. package/dist/types/utils/event-listeners.d.ts +11 -10
  1063. package/dist/types/utils/execution-control.d.ts +1 -3
  1064. package/dist/types/utils/focus-visible.d.ts +2 -2
  1065. package/dist/types/utils/form.d.ts +1 -0
  1066. package/dist/types/utils/modal.d.ts +8 -8
  1067. package/dist/types/utils/offset.d.ts +2 -2
  1068. package/dist/types/utils/popover.d.ts +22 -22
  1069. package/dist/types/utils/popup.d.ts +9 -0
  1070. package/dist/types/utils/slot.d.ts +2 -8
  1071. package/dist/types/utils/tabbable.d.ts +1 -1
  1072. package/dist/types/utils/time.util.d.ts +18 -9
  1073. package/dist/types/utils/type-check.d.ts +3 -4
  1074. package/dist/types/utils/types.d.ts +1 -1
  1075. package/dist/ui-library/assets/TRADEMARKS.md +3 -3
  1076. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
  1077. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  1078. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
  1079. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  1080. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
  1081. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  1082. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
  1083. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  1084. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
  1085. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  1086. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
  1087. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  1088. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
  1089. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  1090. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
  1091. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  1092. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
  1093. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  1094. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
  1095. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  1096. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
  1097. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  1098. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
  1099. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  1100. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
  1101. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  1102. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
  1103. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  1104. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
  1105. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  1106. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
  1107. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  1108. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
  1109. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  1110. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
  1111. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  1112. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  1113. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  1114. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  1115. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  1116. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  1117. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  1118. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  1119. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  1120. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  1121. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  1122. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  1123. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  1124. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  1125. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  1126. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  1127. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  1128. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  1129. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  1130. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  1131. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  1132. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  1133. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  1134. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  1135. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  1136. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  1137. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  1138. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  1139. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  1140. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  1141. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  1142. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  1143. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  1144. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  1145. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  1146. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  1147. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  1148. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
  1149. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  1150. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
  1151. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  1152. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
  1153. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  1154. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
  1155. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  1156. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
  1157. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  1158. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
  1159. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  1160. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
  1161. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  1162. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
  1163. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  1164. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
  1165. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  1166. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
  1167. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  1168. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
  1169. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  1170. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
  1171. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  1172. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
  1173. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  1174. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
  1175. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  1176. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
  1177. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  1178. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
  1179. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  1180. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
  1181. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  1182. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
  1183. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  1184. package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
  1185. package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
  1186. package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
  1187. package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
  1188. package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
  1189. package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
  1190. package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
  1191. package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
  1192. package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
  1193. package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
  1194. package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
  1195. package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
  1196. package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
  1197. package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
  1198. package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
  1199. package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
  1200. package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
  1201. package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
  1202. package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
  1203. package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
  1204. package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
  1205. package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
  1206. package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
  1207. package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
  1208. package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
  1209. package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
  1210. package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
  1211. package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
  1212. package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
  1213. package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
  1214. package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
  1215. package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
  1216. package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
  1217. package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
  1218. package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
  1219. package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
  1220. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
  1221. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  1222. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
  1223. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  1224. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
  1225. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  1226. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
  1227. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  1228. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
  1229. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  1230. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
  1231. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  1232. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
  1233. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  1234. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
  1235. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  1236. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
  1237. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  1238. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
  1239. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  1240. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
  1241. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  1242. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
  1243. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  1244. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
  1245. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  1246. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
  1247. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  1248. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
  1249. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  1250. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
  1251. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  1252. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
  1253. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  1254. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
  1255. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  1256. package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
  1257. package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
  1258. package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
  1259. package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
  1260. package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
  1261. package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
  1262. package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
  1263. package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
  1264. package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
  1265. package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
  1266. package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
  1267. package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
  1268. package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
  1269. package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
  1270. package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
  1271. package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
  1272. package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
  1273. package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
  1274. package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
  1275. package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
  1276. package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
  1277. package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
  1278. package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
  1279. package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
  1280. package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
  1281. package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
  1282. package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
  1283. package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
  1284. package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
  1285. package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
  1286. package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
  1287. package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
  1288. package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
  1289. package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
  1290. package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
  1291. package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
  1292. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
  1293. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  1294. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
  1295. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  1296. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
  1297. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  1298. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
  1299. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  1300. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
  1301. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  1302. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
  1303. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  1304. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
  1305. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  1306. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
  1307. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  1308. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
  1309. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  1310. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
  1311. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  1312. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
  1313. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  1314. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
  1315. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  1316. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
  1317. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  1318. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
  1319. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  1320. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
  1321. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  1322. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
  1323. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  1324. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
  1325. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  1326. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
  1327. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  1328. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
  1329. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  1330. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
  1331. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  1332. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
  1333. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  1334. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
  1335. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  1336. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
  1337. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  1338. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
  1339. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  1340. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
  1341. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  1342. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
  1343. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  1344. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
  1345. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  1346. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
  1347. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  1348. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
  1349. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  1350. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
  1351. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  1352. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
  1353. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  1354. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
  1355. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  1356. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
  1357. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  1358. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
  1359. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  1360. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
  1361. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  1362. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
  1363. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  1364. package/dist/ui-library/index.esm.js +1 -1
  1365. package/dist/ui-library/index.esm.js.map +1 -1
  1366. package/dist/ui-library/p-03acec96.entry.js +2 -0
  1367. package/dist/ui-library/p-03acec96.entry.js.map +1 -0
  1368. package/dist/ui-library/p-06ba4450.js +2 -0
  1369. package/dist/ui-library/p-06ba4450.js.map +1 -0
  1370. package/dist/ui-library/p-06d562b7.entry.js +2 -0
  1371. package/dist/ui-library/p-06d562b7.entry.js.map +1 -0
  1372. package/dist/ui-library/p-07b6203f.entry.js +2 -0
  1373. package/dist/ui-library/p-07b6203f.entry.js.map +1 -0
  1374. package/dist/ui-library/p-0a6b6429.entry.js +2 -0
  1375. package/dist/ui-library/p-0a6b6429.entry.js.map +1 -0
  1376. package/dist/ui-library/p-0cebf1d2.js +2 -0
  1377. package/dist/ui-library/p-0cebf1d2.js.map +1 -0
  1378. package/dist/ui-library/p-14d09601.entry.js +2 -0
  1379. package/dist/ui-library/p-14d09601.entry.js.map +1 -0
  1380. package/dist/ui-library/p-171df3ad.entry.js +2 -0
  1381. package/dist/ui-library/p-171df3ad.entry.js.map +1 -0
  1382. package/dist/ui-library/p-1cc3b56d.entry.js +2 -0
  1383. package/dist/ui-library/p-1cc3b56d.entry.js.map +1 -0
  1384. package/dist/ui-library/p-1cd09d9b.entry.js +2 -0
  1385. package/dist/ui-library/p-1cd09d9b.entry.js.map +1 -0
  1386. package/dist/ui-library/p-1f7a0cb5.entry.js +2 -0
  1387. package/dist/ui-library/p-1f7a0cb5.entry.js.map +1 -0
  1388. package/dist/ui-library/p-2355c444.entry.js +2 -0
  1389. package/dist/ui-library/p-2355c444.entry.js.map +1 -0
  1390. package/dist/ui-library/p-281ffc35.entry.js +2 -0
  1391. package/dist/ui-library/p-281ffc35.entry.js.map +1 -0
  1392. package/dist/ui-library/p-2ad904a7.entry.js +2 -0
  1393. package/dist/ui-library/p-2ad904a7.entry.js.map +1 -0
  1394. package/dist/ui-library/p-30000e86.entry.js +2 -0
  1395. package/dist/ui-library/p-30000e86.entry.js.map +1 -0
  1396. package/dist/ui-library/p-42cd3588.entry.js +2 -0
  1397. package/dist/ui-library/p-42cd3588.entry.js.map +1 -0
  1398. package/dist/ui-library/p-48118ce8.js +3 -0
  1399. package/dist/ui-library/p-48118ce8.js.map +1 -0
  1400. package/dist/ui-library/p-49019d6c.entry.js +2 -0
  1401. package/dist/ui-library/p-49019d6c.entry.js.map +1 -0
  1402. package/dist/ui-library/p-4d72b179.entry.js +2 -0
  1403. package/dist/ui-library/p-4d72b179.entry.js.map +1 -0
  1404. package/dist/ui-library/p-4de4ee7a.entry.js +2 -0
  1405. package/dist/ui-library/p-4de4ee7a.entry.js.map +1 -0
  1406. package/dist/ui-library/p-4edde816.entry.js +2 -0
  1407. package/dist/ui-library/p-4edde816.entry.js.map +1 -0
  1408. package/dist/ui-library/p-4f129bb3.entry.js +2 -0
  1409. package/dist/ui-library/p-4f129bb3.entry.js.map +1 -0
  1410. package/dist/ui-library/p-57ea4cb7.entry.js +2 -0
  1411. package/dist/ui-library/p-57ea4cb7.entry.js.map +1 -0
  1412. package/dist/ui-library/p-5ece7986.entry.js +2 -0
  1413. package/dist/ui-library/p-5ece7986.entry.js.map +1 -0
  1414. package/dist/ui-library/p-5f491974.entry.js +2 -0
  1415. package/dist/ui-library/p-5f491974.entry.js.map +1 -0
  1416. package/dist/ui-library/p-5fc9cd7b.entry.js +2 -0
  1417. package/dist/ui-library/p-5fc9cd7b.entry.js.map +1 -0
  1418. package/dist/ui-library/p-618bf750.entry.js +2 -0
  1419. package/dist/ui-library/p-618bf750.entry.js.map +1 -0
  1420. package/dist/ui-library/p-62a1f514.entry.js +2 -0
  1421. package/dist/ui-library/p-62a1f514.entry.js.map +1 -0
  1422. package/dist/ui-library/p-651293e7.js +2 -0
  1423. package/dist/ui-library/p-651293e7.js.map +1 -0
  1424. package/dist/ui-library/p-6513b8ce.entry.js +2 -0
  1425. package/dist/ui-library/p-6513b8ce.entry.js.map +1 -0
  1426. package/dist/ui-library/p-6795e0a9.entry.js +2 -0
  1427. package/dist/ui-library/p-6795e0a9.entry.js.map +1 -0
  1428. package/dist/ui-library/p-6ec126f7.entry.js +2 -0
  1429. package/dist/ui-library/p-6ec126f7.entry.js.map +1 -0
  1430. package/dist/ui-library/p-705e3612.entry.js +2 -0
  1431. package/dist/ui-library/p-705e3612.entry.js.map +1 -0
  1432. package/dist/ui-library/p-70fac778.entry.js +2 -0
  1433. package/dist/ui-library/p-70fac778.entry.js.map +1 -0
  1434. package/dist/ui-library/p-7afdff5c.entry.js +2 -0
  1435. package/dist/ui-library/p-7afdff5c.entry.js.map +1 -0
  1436. package/dist/ui-library/p-7eb9ae75.entry.js +2 -0
  1437. package/dist/ui-library/p-7eb9ae75.entry.js.map +1 -0
  1438. package/dist/ui-library/p-7f856f00.js +2 -0
  1439. package/dist/ui-library/p-7f856f00.js.map +1 -0
  1440. package/dist/ui-library/{p-eb8f05a9.js → p-8227aaed.js} +2 -2
  1441. package/dist/ui-library/p-8227aaed.js.map +1 -0
  1442. package/dist/ui-library/p-842b492e.js +2 -0
  1443. package/dist/ui-library/p-842b492e.js.map +1 -0
  1444. package/dist/ui-library/{p-25a3bf57.js → p-862d474e.js} +1 -1
  1445. package/dist/ui-library/p-862d474e.js.map +1 -0
  1446. package/dist/ui-library/p-870139dc.entry.js +2 -0
  1447. package/dist/ui-library/p-870139dc.entry.js.map +1 -0
  1448. package/dist/ui-library/p-8bfb4bfc.js +2 -0
  1449. package/dist/ui-library/p-8bfb4bfc.js.map +1 -0
  1450. package/dist/ui-library/p-a04460e3.js +2 -0
  1451. package/dist/ui-library/p-a04460e3.js.map +1 -0
  1452. package/dist/ui-library/p-a1502802.js +2 -0
  1453. package/dist/ui-library/p-a1502802.js.map +1 -0
  1454. package/dist/ui-library/p-a20a702a.entry.js +2 -0
  1455. package/dist/ui-library/p-a20a702a.entry.js.map +1 -0
  1456. package/dist/ui-library/p-adc65fc8.entry.js +2 -0
  1457. package/dist/ui-library/p-adc65fc8.entry.js.map +1 -0
  1458. package/dist/ui-library/p-afb15ea4.entry.js +2 -0
  1459. package/dist/ui-library/p-afb15ea4.entry.js.map +1 -0
  1460. package/dist/ui-library/p-b361d5da.entry.js +2 -0
  1461. package/dist/ui-library/p-b361d5da.entry.js.map +1 -0
  1462. package/dist/ui-library/p-bfb398c6.entry.js +2 -0
  1463. package/dist/ui-library/p-bfb398c6.entry.js.map +1 -0
  1464. package/dist/ui-library/p-cd65e3b2.entry.js +2 -0
  1465. package/dist/ui-library/p-cd65e3b2.entry.js.map +1 -0
  1466. package/dist/ui-library/p-cd79700c.entry.js +2 -0
  1467. package/dist/ui-library/p-cd79700c.entry.js.map +1 -0
  1468. package/dist/ui-library/p-cdc9224d.entry.js +2 -0
  1469. package/dist/ui-library/p-cdc9224d.entry.js.map +1 -0
  1470. package/dist/ui-library/p-cdc94cd6.entry.js +2 -0
  1471. package/dist/ui-library/p-cdc94cd6.entry.js.map +1 -0
  1472. package/dist/ui-library/{p-19364560.entry.js → p-d46acf21.entry.js} +2 -2
  1473. package/dist/ui-library/p-d46acf21.entry.js.map +1 -0
  1474. package/dist/ui-library/p-d67b8482.entry.js +2 -0
  1475. package/dist/ui-library/p-d67b8482.entry.js.map +1 -0
  1476. package/dist/ui-library/p-db193a32.entry.js +2 -0
  1477. package/dist/ui-library/p-db193a32.entry.js.map +1 -0
  1478. package/dist/ui-library/p-e080d5b6.js +2 -0
  1479. package/dist/ui-library/p-e080d5b6.js.map +1 -0
  1480. package/dist/ui-library/p-e1255160.js +2 -0
  1481. package/dist/ui-library/p-e1255160.js.map +1 -0
  1482. package/dist/ui-library/p-e1529ef6.entry.js +2 -0
  1483. package/dist/ui-library/p-e1529ef6.entry.js.map +1 -0
  1484. package/dist/ui-library/p-e181944f.entry.js +2 -0
  1485. package/dist/ui-library/p-e181944f.entry.js.map +1 -0
  1486. package/dist/ui-library/p-e6efc08a.entry.js +2 -0
  1487. package/dist/ui-library/p-e6efc08a.entry.js.map +1 -0
  1488. package/dist/ui-library/p-e9462085.entry.js +2 -0
  1489. package/dist/ui-library/p-e9462085.entry.js.map +1 -0
  1490. package/dist/ui-library/p-ea854ec5.entry.js +2 -0
  1491. package/dist/ui-library/p-ea854ec5.entry.js.map +1 -0
  1492. package/dist/ui-library/p-f12b22bc.entry.js +2 -0
  1493. package/dist/ui-library/p-f12b22bc.entry.js.map +1 -0
  1494. package/dist/ui-library/p-f136a6b2.js +2 -0
  1495. package/dist/ui-library/p-f136a6b2.js.map +1 -0
  1496. package/dist/ui-library/p-f9a1f6ab.entry.js +2 -0
  1497. package/dist/ui-library/p-f9a1f6ab.entry.js.map +1 -0
  1498. package/dist/ui-library/p-ffce31da.entry.js +2 -0
  1499. package/dist/ui-library/p-ffce31da.entry.js.map +1 -0
  1500. package/dist/ui-library/ui-library.css +1 -10
  1501. package/dist/ui-library/ui-library.esm.js +1 -1
  1502. package/dist/ui-library/ui-library.esm.js.map +1 -1
  1503. package/loader/cdn.js +1 -3
  1504. package/loader/index.cjs.js +1 -3
  1505. package/loader/index.d.ts +4 -1
  1506. package/loader/index.es2017.js +1 -3
  1507. package/loader/index.js +1 -3
  1508. package/package.json +19 -32
  1509. package/dist/cjs/event-listeners-74715e62.js +0 -45
  1510. package/dist/cjs/event-listeners-74715e62.js.map +0 -1
  1511. package/dist/cjs/execution-control-46f388e0.js.map +0 -1
  1512. package/dist/cjs/focus-visible-0b352c74.js +0 -47
  1513. package/dist/cjs/focus-visible-0b352c74.js.map +0 -1
  1514. package/dist/cjs/form-control-2c17c573.js +0 -34
  1515. package/dist/cjs/form-control-2c17c573.js.map +0 -1
  1516. package/dist/cjs/index-2f6daa5b.js +0 -2123
  1517. package/dist/cjs/index-2f6daa5b.js.map +0 -1
  1518. package/dist/cjs/modal-48d42228.js +0 -51
  1519. package/dist/cjs/modal-48d42228.js.map +0 -1
  1520. package/dist/cjs/popover-f743f62b.js.map +0 -1
  1521. package/dist/cjs/scroll-76e6f5d7.js +0 -69
  1522. package/dist/cjs/scroll-76e6f5d7.js.map +0 -1
  1523. package/dist/cjs/set-attributes_2.cjs.entry.js +0 -71
  1524. package/dist/cjs/set-attributes_2.cjs.entry.js.map +0 -1
  1525. package/dist/cjs/six-dropdown_2.cjs.entry.js +0 -652
  1526. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +0 -1
  1527. package/dist/cjs/six-form.cjs.entry.js +0 -231
  1528. package/dist/cjs/six-form.cjs.entry.js.map +0 -1
  1529. package/dist/cjs/six-menu-item.cjs.entry.js +0 -61
  1530. package/dist/cjs/six-menu-item.cjs.entry.js.map +0 -1
  1531. package/dist/cjs/six-timepicker.types-c19ebff3.js +0 -56
  1532. package/dist/cjs/six-timepicker.types-c19ebff3.js.map +0 -1
  1533. package/dist/cjs/slot-ad537f24.js +0 -52
  1534. package/dist/cjs/slot-ad537f24.js.map +0 -1
  1535. package/dist/cjs/types-64878648.js +0 -17
  1536. package/dist/cjs/types-64878648.js.map +0 -1
  1537. package/dist/collection/components/six-form/six-form.css +0 -11
  1538. package/dist/collection/components/six-form/six-form.js +0 -419
  1539. package/dist/collection/components/six-form/six-form.js.map +0 -1
  1540. package/dist/collection/components/six-header/assets/six-logo.svg +0 -1
  1541. package/dist/collection/components/six-timepicker/six-time-format.js +0 -15
  1542. package/dist/collection/components/six-timepicker/six-time-format.js.map +0 -1
  1543. package/dist/collection/components/six-timepicker/six-timepicker.types.js +0 -41
  1544. package/dist/collection/components/six-timepicker/six-timepicker.types.js.map +0 -1
  1545. package/dist/collection/files/file-list.json +0 -308
  1546. package/dist/collection/files/noto-sans-all-100-italic.woff +0 -0
  1547. package/dist/collection/files/noto-sans-all-100-normal.woff +0 -0
  1548. package/dist/collection/files/noto-sans-all-200-italic.woff +0 -0
  1549. package/dist/collection/files/noto-sans-all-200-normal.woff +0 -0
  1550. package/dist/collection/files/noto-sans-all-300-italic.woff +0 -0
  1551. package/dist/collection/files/noto-sans-all-300-normal.woff +0 -0
  1552. package/dist/collection/files/noto-sans-all-400-italic.woff +0 -0
  1553. package/dist/collection/files/noto-sans-all-400-normal.woff +0 -0
  1554. package/dist/collection/files/noto-sans-all-500-italic.woff +0 -0
  1555. package/dist/collection/files/noto-sans-all-500-normal.woff +0 -0
  1556. package/dist/collection/files/noto-sans-all-600-italic.woff +0 -0
  1557. package/dist/collection/files/noto-sans-all-600-normal.woff +0 -0
  1558. package/dist/collection/files/noto-sans-all-700-italic.woff +0 -0
  1559. package/dist/collection/files/noto-sans-all-700-normal.woff +0 -0
  1560. package/dist/collection/files/noto-sans-all-800-italic.woff +0 -0
  1561. package/dist/collection/files/noto-sans-all-800-normal.woff +0 -0
  1562. package/dist/collection/files/noto-sans-all-900-italic.woff +0 -0
  1563. package/dist/collection/files/noto-sans-all-900-normal.woff +0 -0
  1564. package/dist/collection/utils/as-array.js +0 -2
  1565. package/dist/collection/utils/as-array.js.map +0 -1
  1566. package/dist/collection/utils/matchers.js +0 -3
  1567. package/dist/collection/utils/matchers.js.map +0 -1
  1568. package/dist/collection/utils/support.js +0 -16
  1569. package/dist/collection/utils/support.js.map +0 -1
  1570. package/dist/collection/utils/testing.js +0 -39
  1571. package/dist/collection/utils/testing.js.map +0 -1
  1572. package/dist/collection/wrappers/set-attributes/set-attributes.js +0 -72
  1573. package/dist/collection/wrappers/set-attributes/set-attributes.js.map +0 -1
  1574. package/dist/components/set-attributes.js +0 -8
  1575. package/dist/components/set-attributes.js.map +0 -1
  1576. package/dist/components/set-attributes2.js +0 -69
  1577. package/dist/components/set-attributes2.js.map +0 -1
  1578. package/dist/components/six-form.js +0 -252
  1579. package/dist/components/six-form.js.map +0 -1
  1580. package/dist/components/six-tag2.js +0 -77
  1581. package/dist/components/six-tag2.js.map +0 -1
  1582. package/dist/esm/event-listeners-570a24ea.js +0 -43
  1583. package/dist/esm/event-listeners-570a24ea.js.map +0 -1
  1584. package/dist/esm/execution-control-1a60d709.js.map +0 -1
  1585. package/dist/esm/focus-visible-97933ea9.js +0 -45
  1586. package/dist/esm/focus-visible-97933ea9.js.map +0 -1
  1587. package/dist/esm/form-control-3b440ea1.js +0 -32
  1588. package/dist/esm/form-control-3b440ea1.js.map +0 -1
  1589. package/dist/esm/index-5c0f6628.js +0 -2094
  1590. package/dist/esm/index-5c0f6628.js.map +0 -1
  1591. package/dist/esm/modal-5ebdc320.js +0 -48
  1592. package/dist/esm/modal-5ebdc320.js.map +0 -1
  1593. package/dist/esm/polyfills/core-js.js +0 -11
  1594. package/dist/esm/polyfills/css-shim.js +0 -1
  1595. package/dist/esm/polyfills/dom.js +0 -79
  1596. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1597. package/dist/esm/polyfills/index.js +0 -34
  1598. package/dist/esm/polyfills/system.js +0 -6
  1599. package/dist/esm/popover-bd2c2fca.js.map +0 -1
  1600. package/dist/esm/scroll-180b53fd.js +0 -64
  1601. package/dist/esm/set-attributes_2.entry.js +0 -66
  1602. package/dist/esm/set-attributes_2.entry.js.map +0 -1
  1603. package/dist/esm/six-dropdown_2.entry.js +0 -647
  1604. package/dist/esm/six-dropdown_2.entry.js.map +0 -1
  1605. package/dist/esm/six-form.entry.js +0 -227
  1606. package/dist/esm/six-form.entry.js.map +0 -1
  1607. package/dist/esm/six-menu-item.entry.js +0 -57
  1608. package/dist/esm/six-menu-item.entry.js.map +0 -1
  1609. package/dist/esm/six-timepicker.types-e161a447.js +0 -50
  1610. package/dist/esm/six-timepicker.types-e161a447.js.map +0 -1
  1611. package/dist/esm/slot-6f3984c7.js +0 -47
  1612. package/dist/esm/slot-6f3984c7.js.map +0 -1
  1613. package/dist/esm/types-4b10b413.js +0 -17
  1614. package/dist/esm/types-4b10b413.js.map +0 -1
  1615. package/dist/types/components/six-form/six-form.d.ts +0 -69
  1616. package/dist/types/components/six-timepicker/six-time-format.d.ts +0 -13
  1617. package/dist/types/components/six-timepicker/six-timepicker.types.d.ts +0 -36
  1618. package/dist/types/utils/as-array.d.ts +0 -1
  1619. package/dist/types/utils/matchers.d.ts +0 -2
  1620. package/dist/types/utils/popper.d.ts +0 -33
  1621. package/dist/types/utils/support.d.ts +0 -1
  1622. package/dist/types/utils/testing.d.ts +0 -2
  1623. package/dist/types/wrappers/set-attributes/set-attributes.d.ts +0 -9
  1624. package/dist/ui-library/assets/six-logo.svg +0 -1
  1625. package/dist/ui-library/files/file-list.json +0 -308
  1626. package/dist/ui-library/files/noto-sans-all-100-italic.woff +0 -0
  1627. package/dist/ui-library/files/noto-sans-all-100-normal.woff +0 -0
  1628. package/dist/ui-library/files/noto-sans-all-200-italic.woff +0 -0
  1629. package/dist/ui-library/files/noto-sans-all-200-normal.woff +0 -0
  1630. package/dist/ui-library/files/noto-sans-all-300-italic.woff +0 -0
  1631. package/dist/ui-library/files/noto-sans-all-300-normal.woff +0 -0
  1632. package/dist/ui-library/files/noto-sans-all-400-italic.woff +0 -0
  1633. package/dist/ui-library/files/noto-sans-all-400-normal.woff +0 -0
  1634. package/dist/ui-library/files/noto-sans-all-500-italic.woff +0 -0
  1635. package/dist/ui-library/files/noto-sans-all-500-normal.woff +0 -0
  1636. package/dist/ui-library/files/noto-sans-all-600-italic.woff +0 -0
  1637. package/dist/ui-library/files/noto-sans-all-600-normal.woff +0 -0
  1638. package/dist/ui-library/files/noto-sans-all-700-italic.woff +0 -0
  1639. package/dist/ui-library/files/noto-sans-all-700-normal.woff +0 -0
  1640. package/dist/ui-library/files/noto-sans-all-800-italic.woff +0 -0
  1641. package/dist/ui-library/files/noto-sans-all-800-normal.woff +0 -0
  1642. package/dist/ui-library/files/noto-sans-all-900-italic.woff +0 -0
  1643. package/dist/ui-library/files/noto-sans-all-900-normal.woff +0 -0
  1644. package/dist/ui-library/p-054e12cc.entry.js +0 -2
  1645. package/dist/ui-library/p-054e12cc.entry.js.map +0 -1
  1646. package/dist/ui-library/p-0786fa7c.js +0 -2
  1647. package/dist/ui-library/p-0786fa7c.js.map +0 -1
  1648. package/dist/ui-library/p-097cced4.entry.js +0 -2
  1649. package/dist/ui-library/p-097cced4.entry.js.map +0 -1
  1650. package/dist/ui-library/p-0d79b0c6.entry.js +0 -2
  1651. package/dist/ui-library/p-0d79b0c6.entry.js.map +0 -1
  1652. package/dist/ui-library/p-18e5f772.entry.js +0 -2
  1653. package/dist/ui-library/p-18e5f772.entry.js.map +0 -1
  1654. package/dist/ui-library/p-18ea0c56.js +0 -2
  1655. package/dist/ui-library/p-18ea0c56.js.map +0 -1
  1656. package/dist/ui-library/p-19364560.entry.js.map +0 -1
  1657. package/dist/ui-library/p-19b50b5a.entry.js +0 -2
  1658. package/dist/ui-library/p-19b50b5a.entry.js.map +0 -1
  1659. package/dist/ui-library/p-21859bca.entry.js +0 -2
  1660. package/dist/ui-library/p-21859bca.entry.js.map +0 -1
  1661. package/dist/ui-library/p-25a3bf57.js.map +0 -1
  1662. package/dist/ui-library/p-2e48c8d2.entry.js +0 -2
  1663. package/dist/ui-library/p-2e48c8d2.entry.js.map +0 -1
  1664. package/dist/ui-library/p-308261c4.entry.js +0 -2
  1665. package/dist/ui-library/p-308261c4.entry.js.map +0 -1
  1666. package/dist/ui-library/p-33f7e22b.entry.js +0 -2
  1667. package/dist/ui-library/p-33f7e22b.entry.js.map +0 -1
  1668. package/dist/ui-library/p-4ae91795.entry.js +0 -2
  1669. package/dist/ui-library/p-4ae91795.entry.js.map +0 -1
  1670. package/dist/ui-library/p-4f8394d7.js +0 -2
  1671. package/dist/ui-library/p-4f8394d7.js.map +0 -1
  1672. package/dist/ui-library/p-53a13db5.entry.js +0 -2
  1673. package/dist/ui-library/p-53a13db5.entry.js.map +0 -1
  1674. package/dist/ui-library/p-559c87f0.entry.js +0 -2
  1675. package/dist/ui-library/p-559c87f0.entry.js.map +0 -1
  1676. package/dist/ui-library/p-611e1978.entry.js +0 -2
  1677. package/dist/ui-library/p-611e1978.entry.js.map +0 -1
  1678. package/dist/ui-library/p-63703ba3.entry.js +0 -2
  1679. package/dist/ui-library/p-63703ba3.entry.js.map +0 -1
  1680. package/dist/ui-library/p-6403fd87.entry.js +0 -2
  1681. package/dist/ui-library/p-6403fd87.entry.js.map +0 -1
  1682. package/dist/ui-library/p-6433c0da.entry.js +0 -2
  1683. package/dist/ui-library/p-6433c0da.entry.js.map +0 -1
  1684. package/dist/ui-library/p-6d75f216.entry.js +0 -2
  1685. package/dist/ui-library/p-6d75f216.entry.js.map +0 -1
  1686. package/dist/ui-library/p-73597d13.entry.js +0 -2
  1687. package/dist/ui-library/p-73597d13.entry.js.map +0 -1
  1688. package/dist/ui-library/p-79eee01b.js +0 -2
  1689. package/dist/ui-library/p-79eee01b.js.map +0 -1
  1690. package/dist/ui-library/p-7e0cc4ae.entry.js +0 -2
  1691. package/dist/ui-library/p-7e0cc4ae.entry.js.map +0 -1
  1692. package/dist/ui-library/p-820c23f0.entry.js +0 -2
  1693. package/dist/ui-library/p-820c23f0.entry.js.map +0 -1
  1694. package/dist/ui-library/p-835c3ff7.entry.js +0 -2
  1695. package/dist/ui-library/p-835c3ff7.entry.js.map +0 -1
  1696. package/dist/ui-library/p-8a970a40.entry.js +0 -2
  1697. package/dist/ui-library/p-8a970a40.entry.js.map +0 -1
  1698. package/dist/ui-library/p-90824648.entry.js +0 -2
  1699. package/dist/ui-library/p-90824648.entry.js.map +0 -1
  1700. package/dist/ui-library/p-90dc6af4.entry.js +0 -2
  1701. package/dist/ui-library/p-90dc6af4.entry.js.map +0 -1
  1702. package/dist/ui-library/p-9328e5bc.entry.js +0 -2
  1703. package/dist/ui-library/p-9328e5bc.entry.js.map +0 -1
  1704. package/dist/ui-library/p-97323ad7.entry.js +0 -2
  1705. package/dist/ui-library/p-97323ad7.entry.js.map +0 -1
  1706. package/dist/ui-library/p-9a860acc.js +0 -2
  1707. package/dist/ui-library/p-9a860acc.js.map +0 -1
  1708. package/dist/ui-library/p-9d1d222f.entry.js +0 -2
  1709. package/dist/ui-library/p-9d1d222f.entry.js.map +0 -1
  1710. package/dist/ui-library/p-a1d4f6cf.entry.js +0 -2
  1711. package/dist/ui-library/p-a1d4f6cf.entry.js.map +0 -1
  1712. package/dist/ui-library/p-ac4f4d45.js +0 -3
  1713. package/dist/ui-library/p-ac4f4d45.js.map +0 -1
  1714. package/dist/ui-library/p-af793d04.entry.js +0 -2
  1715. package/dist/ui-library/p-af793d04.entry.js.map +0 -1
  1716. package/dist/ui-library/p-b0e5658f.entry.js +0 -2
  1717. package/dist/ui-library/p-b0e5658f.entry.js.map +0 -1
  1718. package/dist/ui-library/p-b1e66136.js +0 -2
  1719. package/dist/ui-library/p-b1e66136.js.map +0 -1
  1720. package/dist/ui-library/p-b4dfb7cf.js +0 -2
  1721. package/dist/ui-library/p-b4dfb7cf.js.map +0 -1
  1722. package/dist/ui-library/p-b997e43c.entry.js +0 -2
  1723. package/dist/ui-library/p-b997e43c.entry.js.map +0 -1
  1724. package/dist/ui-library/p-baa03951.entry.js +0 -2
  1725. package/dist/ui-library/p-baa03951.entry.js.map +0 -1
  1726. package/dist/ui-library/p-c0cb6436.entry.js +0 -2
  1727. package/dist/ui-library/p-c0cb6436.entry.js.map +0 -1
  1728. package/dist/ui-library/p-c30f9e0b.entry.js +0 -2
  1729. package/dist/ui-library/p-c30f9e0b.entry.js.map +0 -1
  1730. package/dist/ui-library/p-c349d1d4.entry.js +0 -2
  1731. package/dist/ui-library/p-c349d1d4.entry.js.map +0 -1
  1732. package/dist/ui-library/p-c53a63f9.entry.js +0 -2
  1733. package/dist/ui-library/p-c53a63f9.entry.js.map +0 -1
  1734. package/dist/ui-library/p-c640c2d8.entry.js +0 -2
  1735. package/dist/ui-library/p-c640c2d8.entry.js.map +0 -1
  1736. package/dist/ui-library/p-c94d0b07.entry.js +0 -2
  1737. package/dist/ui-library/p-c94d0b07.entry.js.map +0 -1
  1738. package/dist/ui-library/p-d12c6092.js +0 -2
  1739. package/dist/ui-library/p-d12c6092.js.map +0 -1
  1740. package/dist/ui-library/p-d5633a29.entry.js +0 -2
  1741. package/dist/ui-library/p-d5633a29.entry.js.map +0 -1
  1742. package/dist/ui-library/p-dd3c76f1.entry.js +0 -2
  1743. package/dist/ui-library/p-dd3c76f1.entry.js.map +0 -1
  1744. package/dist/ui-library/p-df655bc9.entry.js +0 -2
  1745. package/dist/ui-library/p-df655bc9.entry.js.map +0 -1
  1746. package/dist/ui-library/p-e19a6c95.entry.js +0 -2
  1747. package/dist/ui-library/p-e19a6c95.entry.js.map +0 -1
  1748. package/dist/ui-library/p-e9e930d2.entry.js +0 -2
  1749. package/dist/ui-library/p-e9e930d2.entry.js.map +0 -1
  1750. package/dist/ui-library/p-eb8f05a9.js.map +0 -1
  1751. package/dist/ui-library/p-edc96efc.entry.js +0 -2
  1752. package/dist/ui-library/p-edc96efc.entry.js.map +0 -1
  1753. package/dist/ui-library/p-f18ba86f.entry.js +0 -2
  1754. package/dist/ui-library/p-f18ba86f.entry.js.map +0 -1
  1755. package/dist/ui-library/p-f4938771.entry.js +0 -2
  1756. package/dist/ui-library/p-f4938771.entry.js.map +0 -1
  1757. package/dist/ui-library/p-f70e2403.entry.js +0 -2
  1758. package/dist/ui-library/p-f70e2403.entry.js.map +0 -1
  1759. package/dist/ui-library/p-f9d345e0.entry.js +0 -2
  1760. package/dist/ui-library/p-f9d345e0.entry.js.map +0 -1
  1761. package/dist/ui-library/p-fed07a1f.entry.js +0 -2
  1762. package/dist/ui-library/p-fed07a1f.entry.js.map +0 -1
  1763. package/dist/ui-library/p-ff0257bf.entry.js +0 -2
  1764. package/dist/ui-library/p-ff0257bf.entry.js.map +0 -1
  1765. package/readme.md +0 -156
@@ -2,113 +2,143 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2f6daa5b.js');
6
- const sixTimepicker_types = require('./six-timepicker.types-c19ebff3.js');
7
- const eventListeners = require('./event-listeners-74715e62.js');
8
- const executionControl = require('./execution-control-46f388e0.js');
9
- const slot = require('./slot-ad537f24.js');
5
+ const index = require('./index-417a06c8.js');
6
+ const eventListeners = require('./event-listeners-9fb878f1.js');
7
+ const executionControl = require('./execution-control-d728da70.js');
8
+ const slot = require('./slot-1b1232a1.js');
9
+ const popup = require('./popup-e854acda.js');
10
10
 
11
+ const isString = (value) => typeof value === 'string';
12
+ // only use '==' instead of '===' to also catch undefined and void
13
+ const isNil = (value) => value == null;
14
+
15
+ /* eslint-disable */
11
16
  const i18nDate = {
12
- en: {
13
- months: [
14
- 'January',
15
- 'February',
16
- 'March',
17
- 'April',
18
- 'May',
19
- 'June',
20
- 'July',
21
- 'August',
22
- 'September',
23
- 'October',
24
- 'November',
25
- 'December',
26
- ],
27
- monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
28
- monthsShortGrouped: [
29
- ['Jan', 'Feb', 'Mar', 'Apr'],
30
- ['May', 'Jun', 'Jul', 'Aug'],
31
- ['Sep', 'Oct', 'Nov', 'Dec'],
32
- ],
33
- weekdays: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'],
34
- weekdaysShort: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
35
- weekdaysMin: ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'],
36
- },
37
- de: {
38
- months: [
39
- 'Januar',
40
- 'Februar',
41
- 'März',
42
- 'April',
43
- 'Mai',
44
- 'Juni',
45
- 'Juli',
46
- 'August',
47
- 'September',
48
- 'Oktober',
49
- 'November',
50
- 'Dezember',
51
- ],
52
- monthsShort: ['Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'],
53
- monthsShortGrouped: [
54
- ['Jan.', 'Feb.', 'März', 'Apr.'],
55
- ['Mai', 'Juni', 'Juli', 'Aug.'],
56
- ['Sep.', 'Okt.', 'Nov.', 'Dez.'],
57
- ],
58
- weekdays: ['Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag', 'Sonntag'],
59
- weekdaysShort: ['Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.', 'So.'],
60
- weekdaysMin: ['Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa', 'So'],
61
- },
62
- fr: {
63
- months: [
64
- 'janvier',
65
- 'février',
66
- 'mars',
67
- 'avril',
68
- 'mai',
69
- 'juin',
70
- 'juillet',
71
- 'août',
72
- 'septembre',
73
- 'octobre',
74
- 'novembre',
75
- 'décembre',
76
- ],
77
- monthsShort: ['janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', 'déc.'],
78
- monthsShortGrouped: [
79
- ['janv.', 'févr.', 'mars', 'avr.'],
80
- ['mai', 'juin', 'juil.', 'août'],
81
- ['sept.', 'oct.', 'nov.', 'déc.'],
82
- ],
83
- weekdays: ['lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi', 'dimanche'],
84
- weekdaysShort: ['lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.', 'dim.'],
85
- weekdaysMin: ['lu', 'ma', 'me', 'je', 've', 'sa', 'di'],
86
- },
87
- it: {
88
- months: [
89
- 'gennaio',
90
- 'febbraio',
91
- 'marzo',
92
- 'aprile',
93
- 'maggio',
94
- 'giugno',
95
- 'luglio',
96
- 'agosto',
97
- 'settembre',
98
- 'ottobre',
99
- 'novembre',
100
- 'dicembre',
101
- ],
102
- monthsShort: ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'],
103
- monthsShortGrouped: [
104
- ['gen', 'feb', 'mar', 'apr'],
105
- ['mag', 'giu', 'lug', 'ago'],
106
- ['set', 'ott', 'nov', 'dic'],
107
- ],
108
- weekdays: ['lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato', 'domenica'],
109
- weekdaysShort: ['lun', 'mar', 'mer', 'gio', 'ven', 'sab', 'dom'],
110
- weekdaysMin: ['lu', 'ma', 'me', 'gi', 've', 'sa', 'do'],
111
- },
17
+ en: {
18
+ months: [
19
+ 'January',
20
+ 'February',
21
+ 'March',
22
+ 'April',
23
+ 'May',
24
+ 'June',
25
+ 'July',
26
+ 'August',
27
+ 'September',
28
+ 'October',
29
+ 'November',
30
+ 'December',
31
+ ],
32
+ monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
33
+ monthsShortGrouped: [
34
+ ['Jan', 'Feb', 'Mar', 'Apr'],
35
+ ['May', 'Jun', 'Jul', 'Aug'],
36
+ ['Sep', 'Oct', 'Nov', 'Dec'],
37
+ ],
38
+ weekdays: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'],
39
+ weekdaysShort: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
40
+ weekdaysMin: ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'],
41
+ },
42
+ de: {
43
+ months: [
44
+ 'Januar',
45
+ 'Februar',
46
+ 'März',
47
+ 'April',
48
+ 'Mai',
49
+ 'Juni',
50
+ 'Juli',
51
+ 'August',
52
+ 'September',
53
+ 'Oktober',
54
+ 'November',
55
+ 'Dezember',
56
+ ],
57
+ monthsShort: ['Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'],
58
+ monthsShortGrouped: [
59
+ ['Jan.', 'Feb.', 'März', 'Apr.'],
60
+ ['Mai', 'Juni', 'Juli', 'Aug.'],
61
+ ['Sep.', 'Okt.', 'Nov.', 'Dez.'],
62
+ ],
63
+ weekdays: ['Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag', 'Sonntag'],
64
+ weekdaysShort: ['Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.', 'So.'],
65
+ weekdaysMin: ['Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa', 'So'],
66
+ },
67
+ fr: {
68
+ months: [
69
+ 'janvier',
70
+ 'février',
71
+ 'mars',
72
+ 'avril',
73
+ 'mai',
74
+ 'juin',
75
+ 'juillet',
76
+ 'août',
77
+ 'septembre',
78
+ 'octobre',
79
+ 'novembre',
80
+ 'décembre',
81
+ ],
82
+ monthsShort: ['janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', 'déc.'],
83
+ monthsShortGrouped: [
84
+ ['janv.', 'févr.', 'mars', 'avr.'],
85
+ ['mai', 'juin', 'juil.', 'août'],
86
+ ['sept.', 'oct.', 'nov.', 'déc.'],
87
+ ],
88
+ weekdays: ['lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi', 'dimanche'],
89
+ weekdaysShort: ['lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.', 'dim.'],
90
+ weekdaysMin: ['lu', 'ma', 'me', 'je', 've', 'sa', 'di'],
91
+ },
92
+ it: {
93
+ months: [
94
+ 'gennaio',
95
+ 'febbraio',
96
+ 'marzo',
97
+ 'aprile',
98
+ 'maggio',
99
+ 'giugno',
100
+ 'luglio',
101
+ 'agosto',
102
+ 'settembre',
103
+ 'ottobre',
104
+ 'novembre',
105
+ 'dicembre',
106
+ ],
107
+ monthsShort: ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'],
108
+ monthsShortGrouped: [
109
+ ['gen', 'feb', 'mar', 'apr'],
110
+ ['mag', 'giu', 'lug', 'ago'],
111
+ ['set', 'ott', 'nov', 'dic'],
112
+ ],
113
+ weekdays: ['lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato', 'domenica'],
114
+ weekdaysShort: ['lun', 'mar', 'mer', 'gio', 'ven', 'sab', 'dom'],
115
+ weekdaysMin: ['lu', 'ma', 'me', 'gi', 've', 'sa', 'do'],
116
+ },
117
+ es: {
118
+ months: [
119
+ 'enero',
120
+ 'febrero',
121
+ 'marzo',
122
+ 'abril',
123
+ 'mayo',
124
+ 'junio',
125
+ 'julio',
126
+ 'agosto',
127
+ 'septiembre',
128
+ 'octubre',
129
+ 'noviembre',
130
+ 'diciembre',
131
+ ],
132
+ monthsShort: ['ene', 'feb', 'mar', 'abr', 'may', 'jun', 'jul', 'ago', 'sep', 'oct', 'nov', 'dic'],
133
+ monthsShortGrouped: [
134
+ ['ene', 'feb', 'mar', 'abr'],
135
+ ['may', 'jun', 'jul', 'ago'],
136
+ ['sep', 'oct', 'nov', 'dic'],
137
+ ],
138
+ weekdays: ['lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado', 'domingo'],
139
+ weekdaysShort: ['lun', 'mar', 'mié', 'jue', 'vie', 'sáb', 'dom'],
140
+ weekdaysMin: ['lu', 'ma', 'mi', 'ju', 'vi', 'sa', 'do'],
141
+ },
112
142
  };
113
143
  /**
114
144
  * Returns a JS Date instance of the exact moment
@@ -119,20 +149,12 @@ const i18nDate = {
119
149
  * ```
120
150
  */
121
151
  const now = () => new Date();
152
+ const removeTime = (date) => new Date(date.getFullYear(), date.getMonth(), date.getDate());
122
153
  /**
123
154
  * Returns `true` if the given date is valid
124
155
  */
125
156
  const isValidDate = (value) => {
126
- if (sixTimepicker_types.isNil(value)) {
127
- return false;
128
- }
129
- if (sixTimepicker_types.isNumber(value)) {
130
- return false;
131
- }
132
- if (sixTimepicker_types.isDate(value)) {
133
- return !isNaN(value.getTime());
134
- }
135
- return new Date(value).toString() !== 'Invalid Date';
157
+ return value instanceof Date && !isNaN(value.getTime()) && new Date(value).toString() !== 'Invalid Date';
136
158
  };
137
159
  /**
138
160
  * Returns the year number of the given date
@@ -142,10 +164,10 @@ const isValidDate = (value) => {
142
164
  * ```
143
165
  */
144
166
  const year = (date) => {
145
- if (date && isValidDate(date)) {
146
- return date.getFullYear();
147
- }
148
- throw new Error('Not a valid date');
167
+ if (date && isValidDate(date)) {
168
+ return date.getFullYear();
169
+ }
170
+ throw new Error('Not a valid date');
149
171
  };
150
172
  /**
151
173
  * Returns the month number of the given date
@@ -155,10 +177,10 @@ const year = (date) => {
155
177
  * ```
156
178
  */
157
179
  const month = (date) => {
158
- if (date && isValidDate(date)) {
159
- return date.getMonth();
160
- }
161
- throw new Error('Not a valid date');
180
+ if (date && isValidDate(date)) {
181
+ return date.getMonth();
182
+ }
183
+ throw new Error('Not a valid date');
162
184
  };
163
185
  /**
164
186
  * Returns the day number of the given date
@@ -168,46 +190,46 @@ const month = (date) => {
168
190
  * ```
169
191
  */
170
192
  const day = (date) => {
171
- if (date && isValidDate(date)) {
172
- return date.getDate();
173
- }
174
- throw new Error('Not a valid date');
193
+ if (date && isValidDate(date)) {
194
+ return date.getDate();
195
+ }
196
+ throw new Error('Not a valid date');
175
197
  };
176
198
  /**
177
199
  * Returns the hours of the given date
178
200
  */
179
201
  const hours = (date) => {
180
- if (date && isValidDate(date)) {
181
- return date.getHours();
182
- }
183
- throw new Error('Not a valid date');
202
+ if (date && isValidDate(date)) {
203
+ return date.getHours();
204
+ }
205
+ throw new Error('Not a valid date');
184
206
  };
185
207
  /**
186
208
  * Returns the minutes of the given date
187
209
  */
188
210
  const minutes = (date) => {
189
- if (date && isValidDate(date)) {
190
- return date.getMinutes();
191
- }
192
- throw new Error('Not a valid date');
211
+ if (date && isValidDate(date)) {
212
+ return date.getMinutes();
213
+ }
214
+ throw new Error('Not a valid date');
193
215
  };
194
216
  /**
195
217
  * Returns the seconds of the given date
196
218
  */
197
219
  const seconds = (date) => {
198
- if (date && isValidDate(date)) {
199
- return date.getSeconds();
200
- }
201
- throw new Error('Not a valid date');
220
+ if (date && isValidDate(date)) {
221
+ return date.getSeconds();
222
+ }
223
+ throw new Error('Not a valid date');
202
224
  };
203
225
  /**
204
226
  * Returns the first day of the week of the given date.
205
227
  */
206
228
  const getFirstDayOfTheWeek = (date) => {
207
- const weekdayDiff = [6, 0, 1, 2, 3, 4, 5];
208
- const day = new Date(date);
209
- day.setDate(day.getDate() - weekdayDiff[day.getDay()]);
210
- return day;
229
+ const weekdayDiff = [6, 0, 1, 2, 3, 4, 5];
230
+ const day = new Date(date);
231
+ day.setDate(day.getDate() - weekdayDiff[day.getDay()]);
232
+ return day;
211
233
  };
212
234
  /**
213
235
  * Returns `true` when the year of the dates are the same
@@ -229,21 +251,21 @@ const isSameWeek = (a, b) => isSameDay(getFirstDayOfTheWeek(a), getFirstDayOfThe
229
251
  * Returns `true` if the given datestring is valid
230
252
  */
231
253
  const isValidDateString = (datestring, format) => {
232
- if (!sixTimepicker_types.isString(datestring) || !sixTimepicker_types.isString(format)) {
233
- return false;
234
- }
235
- if (datestring.length < 6 || format.length < 6) {
236
- return false;
237
- }
238
- const { day, month } = getDateParts(datestring, format);
239
- if (day > 31 || month > 11 || day <= 0 || month < 0) {
240
- return false;
241
- }
242
- const date = toDate(datestring, format);
243
- if (sixTimepicker_types.isNil(date)) {
244
- return false;
245
- }
246
- return date.toString() !== 'Invalid Date';
254
+ if (!isString(datestring) || !isString(format)) {
255
+ return false;
256
+ }
257
+ if (datestring.length < 6 || format.length < 6) {
258
+ return false;
259
+ }
260
+ const { day, month } = getDateParts(datestring, format);
261
+ if (day > 31 || month > 11 || day <= 0 || month < 0) {
262
+ return false;
263
+ }
264
+ const date = toDate(datestring, format);
265
+ if (isNil(date)) {
266
+ return false;
267
+ }
268
+ return date.toString() !== 'Invalid Date';
247
269
  };
248
270
  /**
249
271
  * Returns `true` when the given date is not smaller than the minDate and not bigger than the maxDate.
@@ -253,97 +275,97 @@ const isValidDateString = (datestring, format) => {
253
275
  * ```
254
276
  */
255
277
  const isInRange = (date, minDate, maxDate) => {
256
- if (!date) {
278
+ if (!date) {
279
+ return true;
280
+ }
281
+ if (minDate && date < minDate) {
282
+ return false;
283
+ }
284
+ if (maxDate && maxDate < date) {
285
+ return false;
286
+ }
257
287
  return true;
258
- }
259
- if (minDate && date < minDate) {
260
- return false;
261
- }
262
- if (maxDate && maxDate < date) {
263
- return false;
264
- }
265
- return true;
266
288
  };
267
289
  const lookAhead = (iFormat, format, match, length = 2) => {
268
- const increment = length - 1;
269
- const followingCharacterMatches = format.charAt(iFormat + increment) === match;
270
- const hasProperLength = iFormat + increment < format.length;
271
- return hasProperLength && followingCharacterMatches;
290
+ const increment = length - 1;
291
+ const followingCharacterMatches = format.charAt(iFormat + increment) === match;
292
+ const hasProperLength = iFormat + increment < format.length;
293
+ return hasProperLength && followingCharacterMatches;
272
294
  };
273
295
  const formatNumber = (value, len) => {
274
- let num = String(value);
275
- while (num.length < len) {
276
- num = '0' + num;
277
- }
278
- return num;
296
+ let num = String(value);
297
+ while (num.length < len) {
298
+ num = '0' + num;
299
+ }
300
+ return num;
279
301
  };
280
302
  const formatDate = (date, format) => {
281
- if (!date) {
282
- return '';
283
- }
284
- let output = '';
285
- for (let iFormat = 0; iFormat < format.length; iFormat++) {
286
- switch (format.charAt(iFormat)) {
287
- case 'd':
288
- if (lookAhead(iFormat, format, 'd')) {
289
- output += formatNumber(date.getDate(), 2);
290
- iFormat++;
291
- }
292
- else {
293
- output += String(date.getDate());
294
- }
295
- break;
296
- case 'm':
297
- if (lookAhead(iFormat, format, 'm')) {
298
- output += formatNumber(date.getMonth() + 1, 2);
299
- iFormat++;
300
- }
301
- else {
302
- output += String(date.getMonth() + 1);
303
- }
304
- break;
305
- case 'y':
306
- if (lookAhead(iFormat, format, 'y', 4)) {
307
- iFormat += 3;
308
- output += date.getFullYear();
309
- }
310
- else {
311
- output += (date.getFullYear() % 100 < 10 ? '0' : '') + (date.getFullYear() % 100);
312
- iFormat++;
313
- }
314
- break;
315
- case 'h':
316
- if (lookAhead(iFormat, format, 'h')) {
317
- output += formatNumber(date.getHours(), 2);
318
- iFormat++;
319
- }
320
- else {
321
- output += String(date.getHours());
322
- }
323
- break;
324
- case 'M':
325
- if (lookAhead(iFormat, format, 'M')) {
326
- output += formatNumber(date.getMinutes(), 2);
327
- iFormat++;
328
- }
329
- else {
330
- output += String(date.getMinutes());
331
- }
332
- break;
333
- case 's':
334
- if (lookAhead(iFormat, format, 's')) {
335
- output += formatNumber(date.getSeconds(), 2);
336
- iFormat++;
337
- }
338
- else {
339
- output += String(date.getSeconds());
303
+ if (date == null) {
304
+ return '';
305
+ }
306
+ let output = '';
307
+ for (let iFormat = 0; iFormat < format.length; iFormat++) {
308
+ switch (format.charAt(iFormat)) {
309
+ case 'd':
310
+ if (lookAhead(iFormat, format, 'd')) {
311
+ output += formatNumber(date.getDate(), 2);
312
+ iFormat++;
313
+ }
314
+ else {
315
+ output += String(date.getDate());
316
+ }
317
+ break;
318
+ case 'm':
319
+ if (lookAhead(iFormat, format, 'm')) {
320
+ output += formatNumber(date.getMonth() + 1, 2);
321
+ iFormat++;
322
+ }
323
+ else {
324
+ output += String(date.getMonth() + 1);
325
+ }
326
+ break;
327
+ case 'y':
328
+ if (lookAhead(iFormat, format, 'y', 4)) {
329
+ iFormat += 3;
330
+ output += date.getFullYear();
331
+ }
332
+ else {
333
+ output += (date.getFullYear() % 100 < 10 ? '0' : '') + (date.getFullYear() % 100);
334
+ iFormat++;
335
+ }
336
+ break;
337
+ case 'h':
338
+ if (lookAhead(iFormat, format, 'h')) {
339
+ output += formatNumber(date.getHours(), 2);
340
+ iFormat++;
341
+ }
342
+ else {
343
+ output += String(date.getHours());
344
+ }
345
+ break;
346
+ case 'M':
347
+ if (lookAhead(iFormat, format, 'M')) {
348
+ output += formatNumber(date.getMinutes(), 2);
349
+ iFormat++;
350
+ }
351
+ else {
352
+ output += String(date.getMinutes());
353
+ }
354
+ break;
355
+ case 's':
356
+ if (lookAhead(iFormat, format, 's')) {
357
+ output += formatNumber(date.getSeconds(), 2);
358
+ iFormat++;
359
+ }
360
+ else {
361
+ output += String(date.getSeconds());
362
+ }
363
+ break;
364
+ default:
365
+ output += format.charAt(iFormat);
340
366
  }
341
- break;
342
- default:
343
- output += format.charAt(iFormat);
344
367
  }
345
- }
346
- return output;
368
+ return output;
347
369
  };
348
370
  const FORMATTING_TOKENS = /(\[[^\[]*\])|(mm|dd|yyyy|yy|hh|MM|ss|.)/g;
349
371
  const TWO_NUMERICS_REGEX = /\d\d/; // 00 - 99
@@ -357,27 +379,27 @@ const MINUTE = 'minute';
357
379
  const SECOND = 'second';
358
380
  const parseFlags = {};
359
381
  const addParseFlag = (token, regex, callback) => {
360
- const tokens = Array.isArray(token) ? token : [token];
361
- let func;
362
- if (typeof callback === 'string') {
363
- func = (input) => {
364
- const value = parseInt(input, 10);
365
- return { [callback]: value };
366
- };
367
- }
368
- else {
369
- func = callback;
370
- }
371
- tokens.forEach((key) => {
372
- parseFlags[key] = [regex, func];
373
- });
382
+ const tokens = Array.isArray(token) ? token : [token];
383
+ let func;
384
+ if (typeof callback === 'string') {
385
+ func = (input) => {
386
+ const value = parseInt(input, 10);
387
+ return { [callback]: value };
388
+ };
389
+ }
390
+ else {
391
+ func = callback;
392
+ }
393
+ tokens.forEach((key) => {
394
+ parseFlags[key] = [regex, func];
395
+ });
374
396
  };
375
397
  addParseFlag('yy', TWO_NUMERICS_REGEX, (input) => {
376
- const year = new Date().getFullYear();
377
- const cent = Math.floor(year / 100);
378
- let value = parseInt(input, 10);
379
- value = (value > 68 ? cent - 1 : cent) * 100 + value;
380
- return { [YEAR]: value };
398
+ const year = new Date().getFullYear();
399
+ const cent = Math.floor(year / 100);
400
+ let value = parseInt(input, 10);
401
+ value = (value > 68 ? cent - 1 : cent) * 100 + value;
402
+ return { [YEAR]: value };
381
403
  });
382
404
  addParseFlag('yyyy', FOUR_NUMERICS_REGEX, YEAR);
383
405
  addParseFlag('mm', TWO_NUMERICS_REGEX, (input) => ({ [MONTH]: parseInt(input, 10) - 1 }));
@@ -386,771 +408,647 @@ addParseFlag('hh', TWO_NUMERICS_REGEX, HOUR);
386
408
  addParseFlag('MM', TWO_NUMERICS_REGEX, MINUTE);
387
409
  addParseFlag('ss', TWO_NUMERICS_REGEX, SECOND);
388
410
  const getFullInputArray = (input, backupDate = new Date()) => {
389
- const result = [0, 0, 1, 0, 0, 0];
390
- const backupArr = [
391
- backupDate.getFullYear(),
392
- backupDate.getMonth(),
393
- backupDate.getDate(),
394
- backupDate.getHours(),
395
- backupDate.getMinutes(),
396
- backupDate.getSeconds(),
397
- ];
398
- let useBackup = true;
399
- for (let i = 0; i < 7; i++) {
400
- if (input[i] === undefined) {
401
- result[i] = useBackup ? backupArr[i] : result[i];
402
- }
403
- else {
404
- result[i] = input[i];
405
- useBackup = false;
411
+ const result = [0, 0, 1, 0, 0, 0];
412
+ const backupArr = [
413
+ backupDate.getFullYear(),
414
+ backupDate.getMonth(),
415
+ backupDate.getDate(),
416
+ backupDate.getHours(),
417
+ backupDate.getMinutes(),
418
+ backupDate.getSeconds(),
419
+ ];
420
+ let useBackup = true;
421
+ for (let i = 0; i < 7; i++) {
422
+ if (input[i] === undefined) {
423
+ result[i] = useBackup ? backupArr[i] : result[i];
424
+ }
425
+ else {
426
+ result[i] = input[i];
427
+ useBackup = false;
428
+ }
406
429
  }
407
- }
408
- return result;
430
+ return result;
409
431
  };
410
432
  const createDate = (year, month, day, hour, minute, second) => {
411
- if (!(year < 100 && year >= 0)) {
412
- return new Date(year, month, day, hour, minute, second);
413
- }
414
- const date = new Date(year + 400, month, day, hour, minute, second);
415
- if (isFinite(date.getFullYear())) {
416
- date.setFullYear(year);
417
- }
418
- return date;
433
+ if (!(year < 100 && year >= 0)) {
434
+ return new Date(year, month, day, hour, minute, second);
435
+ }
436
+ const date = new Date(year + 400, month, day, hour, minute, second);
437
+ if (isFinite(date.getFullYear())) {
438
+ date.setFullYear(year);
439
+ }
440
+ return date;
419
441
  };
420
442
  const makeParser = (dateString, format) => {
421
- const tokens = format.match(FORMATTING_TOKENS);
422
- if (!tokens) {
423
- throw new Error();
424
- }
425
- const { length } = tokens;
426
- let mark = {};
427
- for (let i = 0; i < length; i += 1) {
428
- const token = tokens[i];
429
- const parseTo = parseFlags[token];
430
- if (!parseTo) {
431
- const word = token.replace(/^\[|\]$/g, '');
432
- if (dateString.indexOf(word) === 0) {
433
- dateString = dateString.substr(word.length);
434
- }
435
- else {
436
- throw new Error('not match');
437
- }
443
+ const tokens = format.match(FORMATTING_TOKENS);
444
+ if (!tokens) {
445
+ throw new Error();
438
446
  }
439
- else {
440
- const regex = parseTo[0];
441
- const parser = parseTo[1];
442
- const value = (regex.exec(dateString) || [])[0];
443
- const obj = parser(value);
444
- mark = Object.assign(Object.assign({}, mark), obj);
445
- dateString = dateString.replace(value, '');
446
- }
447
- }
448
- return mark;
447
+ const { length } = tokens;
448
+ let mark = {};
449
+ for (let i = 0; i < length; i += 1) {
450
+ const token = tokens[i];
451
+ const parseTo = parseFlags[token];
452
+ if (!parseTo) {
453
+ const word = token.replace(/^\[|\]$/g, '');
454
+ if (dateString.indexOf(word) === 0) {
455
+ dateString = dateString.substr(word.length);
456
+ }
457
+ else {
458
+ throw new Error('not match');
459
+ }
460
+ }
461
+ else {
462
+ const regex = parseTo[0];
463
+ const parser = parseTo[1];
464
+ const value = (regex.exec(dateString) || [])[0];
465
+ const obj = parser(value);
466
+ mark = Object.assign(Object.assign({}, mark), obj);
467
+ dateString = dateString.replace(value, '');
468
+ }
469
+ }
470
+ return mark;
449
471
  };
450
472
  const getCleanDateString = (dirtyDateString, format) => {
451
- if (dirtyDateString.length === format.length) {
452
- return dirtyDateString;
453
- }
454
- const separator = dirtyDateString.match(NON_NUMERIC_REGEX)[0];
455
- // pad signle digits to follow supported dateformats
456
- return dirtyDateString
457
- .split(separator)
458
- .map((s) => (s.length === 1 ? '0' + s : s))
459
- .join(separator);
473
+ if (dirtyDateString.length === format.length) {
474
+ return dirtyDateString;
475
+ }
476
+ const separator = dirtyDateString.match(NON_NUMERIC_REGEX)[0];
477
+ // pad signle digits to follow supported dateformats
478
+ return dirtyDateString
479
+ .split(separator)
480
+ .map((s) => (s.length === 1 ? '0' + s : s))
481
+ .join(separator);
460
482
  };
461
483
  const getDateParts = (dirtyDateString, format) => {
462
- const dateString = getCleanDateString(dirtyDateString, format);
463
- return makeParser(dateString, format);
484
+ const dateString = getCleanDateString(dirtyDateString, format);
485
+ return makeParser(dateString, format);
464
486
  };
465
487
  const toDate = (dirtyDateString, format) => {
466
- try {
467
- const { backupDate = new Date() } = {};
468
- const { year, month, day, hour, minute, second, date } = getDateParts(dirtyDateString, format);
469
- if (date) {
470
- return date;
471
- }
472
- const inputArray = [year, month, day, hour, minute, second];
473
- let parsedDate;
474
- const result = getFullInputArray(inputArray, backupDate);
475
- parsedDate = createDate(...result);
476
- return parsedDate;
477
- }
478
- catch (e) {
479
- return new Date(NaN);
480
- }
488
+ try {
489
+ const { backupDate = new Date() } = {};
490
+ const { year, month, day, hour, minute, second, date } = getDateParts(dirtyDateString, format);
491
+ if (date != null) {
492
+ return date;
493
+ }
494
+ const inputArray = [year, month, day, hour, minute, second];
495
+ const result = getFullInputArray(inputArray, backupDate);
496
+ return createDate(...result);
497
+ }
498
+ catch (e) {
499
+ return new Date(NaN);
500
+ }
481
501
  };
482
502
  const createCalendarGrid = (calendarGridArguments) => {
483
- const { firstDateOfBox, allowedDates, dateFormat, selectedDate, minDate, maxDate, pointerDate } = calendarGridArguments;
484
- const weekDatePointer = new Date(firstDateOfBox);
485
- const dayDatePointer = new Date(firstDateOfBox);
486
- let calendar = [];
487
- do {
488
- let row = [];
503
+ const { firstDateOfBox, allowedDates, dateFormat, selectedDate, minDate, maxDate, pointerDate } = calendarGridArguments;
504
+ const weekDatePointer = new Date(firstDateOfBox);
505
+ const dayDatePointer = new Date(firstDateOfBox);
506
+ let calendar = [];
489
507
  do {
490
- row = [
491
- ...row,
492
- {
493
- date: new Date(dayDatePointer),
494
- display: formatDate(dayDatePointer, dateFormat),
495
- dateString: formatDate(dayDatePointer, dateFormat),
496
- label: day(dayDatePointer).toString(),
497
- isToday: isSameDay(dayDatePointer, now()),
498
- isSelected: selectedDate && isSameDay(dayDatePointer, selectedDate),
499
- isDisabled: !allowedDates(dayDatePointer) || !isInRange(dayDatePointer, minDate, maxDate),
500
- isOutdated: pointerDate.month !== dayDatePointer.getMonth() || !isInRange(dayDatePointer, minDate, maxDate),
501
- },
502
- ];
503
- dayDatePointer.setDate(dayDatePointer.getDate() + 1);
504
- } while (isSameWeek(dayDatePointer, weekDatePointer));
505
- calendar = [...calendar, row];
506
- weekDatePointer.setDate(weekDatePointer.getDate() + 7);
507
- } while (isSameMonth(new Date(pointerDate.year, pointerDate.month, pointerDate.day), dayDatePointer));
508
- return calendar;
508
+ let row = [];
509
+ do {
510
+ row = [
511
+ ...row,
512
+ {
513
+ date: new Date(dayDatePointer),
514
+ display: formatDate(dayDatePointer, dateFormat),
515
+ dateString: formatDate(dayDatePointer, dateFormat),
516
+ label: day(dayDatePointer).toString(),
517
+ isToday: isSameDay(dayDatePointer, now()),
518
+ isSelected: selectedDate && isSameDay(dayDatePointer, selectedDate),
519
+ isDisabled: !allowedDates(dayDatePointer) || !isInRange(dayDatePointer, minDate, maxDate),
520
+ isOutdated: pointerDate.month !== dayDatePointer.getMonth() || !isInRange(dayDatePointer, minDate, maxDate),
521
+ },
522
+ ];
523
+ dayDatePointer.setDate(dayDatePointer.getDate() + 1);
524
+ } while (isSameWeek(dayDatePointer, weekDatePointer));
525
+ calendar = [...calendar, row];
526
+ weekDatePointer.setDate(weekDatePointer.getDate() + 7);
527
+ } while (isSameMonth(new Date(pointerDate.year, pointerDate.month, pointerDate.day), dayDatePointer));
528
+ return calendar;
509
529
  };
530
+ /**
531
+ * Returns a range of numbers around the given number grouped into buckets of 5.
532
+ * @param number the given number around which you want to get the other numbers
533
+ * @param range range of numbers to include in the result
534
+ */
535
+ function rangeAround(number, range) {
536
+ const itemsPerGroup = 5;
537
+ return [...Array(range).keys()]
538
+ .map((n) => n + number - Math.floor(range / 2))
539
+ .reduce((curr, item, index) => {
540
+ if (index % itemsPerGroup === 0) {
541
+ curr.push([]);
542
+ }
543
+ curr[curr.length - 1].push(item);
544
+ return curr;
545
+ }, []);
546
+ }
510
547
 
548
+ // eslint-disable-next-line @stencil-community/ban-exported-const-enums
511
549
  var SixDateFormats;
512
550
  (function (SixDateFormats) {
513
- SixDateFormats["DDMMYYY_DOT"] = "dd.mm.yyyy";
514
- SixDateFormats["YYYYMMDD_DASH"] = "yyyy-mm-dd";
515
- SixDateFormats["DDMMYYYY_DASH"] = "dd-mm-yyyy";
516
- SixDateFormats["DDMMYYYY_SLASH"] = "dd/mm/yyyy";
517
- SixDateFormats["YYYYMMDD_SLASH"] = "yyyy/mm/dd";
518
- SixDateFormats["DDMMYY_DOT"] = "dd.mm.yy";
519
- SixDateFormats["YYMMDD_DASH"] = "yy-mm-dd";
520
- SixDateFormats["DDMMYY_DASH"] = "dd-mm-yy";
521
- SixDateFormats["DDMMYY_SLASH"] = "dd/mm/yy";
522
- SixDateFormats["YYMMDD_SLASH"] = "yy/mm/dd";
523
- SixDateFormats["DDMMYYY_DOT_TIME"] = "dd.mm.yyyy hh:MM:ss";
524
- SixDateFormats["YYYYMMDD_DASH_TIME"] = "yyyy-mm-dd hh:MM:ss";
525
- SixDateFormats["DDMMYYYY_DASH_TIME"] = "dd-mm-yyyy hh:MM:ss";
526
- SixDateFormats["DDMMYYYY_SLASH_TIME"] = "dd/mm/yyyy hh:MM:ss";
527
- SixDateFormats["YYYYMMDD_SLASH_TIME"] = "yyyy/mm/dd hh:MM:ss";
528
- SixDateFormats["DDMMYY_DOT_TIME"] = "dd.mm.yy hh:MM:ss";
529
- SixDateFormats["YYMMDD_DASH_TIME"] = "yy-mm-dd hh:MM:ss";
530
- SixDateFormats["DDMMYY_DASH_TIME"] = "dd-mm-yy hh:MM:ss";
531
- SixDateFormats["DDMMYY_SLASH_TIME"] = "dd/mm/yy hh:MM:ss";
532
- SixDateFormats["YYMMDD_SLASH_TIME"] = "yy/mm/dd hh:MM:ss";
551
+ SixDateFormats["DDMMYYY_DOT"] = "dd.mm.yyyy";
552
+ SixDateFormats["YYYYMMDD_DASH"] = "yyyy-mm-dd";
553
+ SixDateFormats["DDMMYYYY_DASH"] = "dd-mm-yyyy";
554
+ SixDateFormats["DDMMYYYY_SLASH"] = "dd/mm/yyyy";
555
+ SixDateFormats["YYYYMMDD_SLASH"] = "yyyy/mm/dd";
556
+ SixDateFormats["DDMMYY_DOT"] = "dd.mm.yy";
557
+ SixDateFormats["YYMMDD_DASH"] = "yy-mm-dd";
558
+ SixDateFormats["DDMMYY_DASH"] = "dd-mm-yy";
559
+ SixDateFormats["DDMMYY_SLASH"] = "dd/mm/yy";
560
+ SixDateFormats["YYMMDD_SLASH"] = "yy/mm/dd";
561
+ SixDateFormats["DDMMYYY_DOT_TIME"] = "dd.mm.yyyy hh:MM:ss";
562
+ SixDateFormats["YYYYMMDD_DASH_TIME"] = "yyyy-mm-dd hh:MM:ss";
563
+ SixDateFormats["DDMMYYYY_DASH_TIME"] = "dd-mm-yyyy hh:MM:ss";
564
+ SixDateFormats["DDMMYYYY_SLASH_TIME"] = "dd/mm/yyyy hh:MM:ss";
565
+ SixDateFormats["YYYYMMDD_SLASH_TIME"] = "yyyy/mm/dd hh:MM:ss";
566
+ SixDateFormats["DDMMYY_DOT_TIME"] = "dd.mm.yy hh:MM:ss";
567
+ SixDateFormats["YYMMDD_DASH_TIME"] = "yy-mm-dd hh:MM:ss";
568
+ SixDateFormats["DDMMYY_DASH_TIME"] = "dd-mm-yy hh:MM:ss";
569
+ SixDateFormats["DDMMYY_SLASH_TIME"] = "dd/mm/yy hh:MM:ss";
570
+ SixDateFormats["YYMMDD_SLASH_TIME"] = "yy/mm/dd hh:MM:ss";
533
571
  })(SixDateFormats || (SixDateFormats = {}));
534
572
 
535
- const MonthSelection = ({ locale, selectedDate, onClickMonthCell }) => {
536
- const isToday = (value) => locale.monthsShort[now().getMonth()] === value;
537
- const isSelectedMonth = (value) => (selectedDate === null || selectedDate === void 0 ? void 0 : selectedDate.getMonth()) === locale.monthsShort.findIndex((m) => m === value);
538
- return (index.h("table", { class: "datepicker-table", part: "month-selection" },
539
- index.h("tbody", null, locale.monthsShortGrouped.map((row) => (index.h("tr", { class: "datepicker-table__row" }, row.map((month) => (index.h("td", { onClick: () => onClickMonthCell(month), class: {
540
- 'datepicker-table__cell': true,
541
- 'datepicker-table__cell--is-today': isToday(month),
542
- 'datepicker-table__cell--is-selected': isSelectedMonth(month),
543
- } }, month)))))))));
573
+ const MonthSelection = (monthSelectionParams) => {
574
+ const locale = monthSelectionParams.locale;
575
+ const isToday = (value) => locale.monthsShort[now().getMonth()] === value;
576
+ const isSelectedMonth = (value) => { var _a; return ((_a = monthSelectionParams.selectedDate) === null || _a === void 0 ? void 0 : _a.getMonth()) === locale.monthsShort.findIndex((m) => m === value); };
577
+ return (index.h("table", { class: "datepicker-table", part: "month-selection" },
578
+ index.h("tbody", null, locale.monthsShortGrouped.map((row) => (index.h("tr", { class: "datepicker-table__row" }, row.map((month) => (index.h("td", { onClick: () => monthSelectionParams.onClickMonthCell(month), class: {
579
+ 'datepicker-table__cell': true,
580
+ 'datepicker-table__cell--is-today': isToday(month),
581
+ 'datepicker-table__cell--is-selected': isSelectedMonth(month),
582
+ } }, month)))))))));
544
583
  };
545
584
 
546
- const DaySelection = ({ locale, calendarGrid, onClickDateCell }) => {
547
- return (index.h("table", { class: "datepicker-table", part: "day-selection" },
548
- index.h("thead", { part: "weekday-header" }, locale.weekdaysMin.map((weekday) => (index.h("th", { class: "datepicker__cell" }, weekday)))),
549
- index.h("tbody", null, calendarGrid.map((row) => (index.h("tr", { class: "datepicker-table__row" }, row.map((cell) => (index.h("td", { "data-date": cell.dateString, onClick: () => onClickDateCell(cell), class: {
550
- 'datepicker-table__cell': true,
551
- 'datepicker-table__cell--is-today': cell.isToday,
552
- 'datepicker-table__cell--is-selected': cell.isSelected,
553
- 'datepicker-table__cell--is-outdated': cell.isOutdated,
554
- 'datepicker-table__cell--is-disabled': cell.isDisabled,
555
- 'datepicker-table__cell--is-selectable': !cell.isDisabled,
556
- } }, cell.label)))))))));
585
+ const DaySelection = (daySelectionParams) => {
586
+ return (index.h("table", { class: "datepicker-table", part: "day-selection" },
587
+ index.h("thead", { part: "weekday-header" }, daySelectionParams.locale.weekdaysMin.map((weekday) => (index.h("th", { class: "datepicker__cell" }, weekday)))),
588
+ index.h("tbody", null, daySelectionParams.calendarGrid.map((row) => (index.h("tr", { class: "datepicker-table__row" }, row.map((cell) => (index.h("td", { "data-date": cell.dateString, onClick: () => daySelectionParams.onClickDateCell(cell), class: {
589
+ 'datepicker-table__cell': true,
590
+ 'datepicker-table__cell--is-today': cell.isToday,
591
+ 'datepicker-table__cell--is-selected': cell.isSelected,
592
+ 'datepicker-table__cell--is-outdated': cell.isOutdated,
593
+ 'datepicker-table__cell--is-disabled': cell.isDisabled,
594
+ 'datepicker-table__cell--is-selectable': !cell.isDisabled,
595
+ } }, cell.label)))))))));
557
596
  };
558
597
 
559
- const YearSelection = ({ selectedDate, yearSelection, onClickYearCell }) => {
560
- return (index.h("table", { class: "datepicker-table", part: "year-selection" },
561
- index.h("tbody", null, yearSelection.map((row) => (index.h("tr", { class: "datepicker-table__row" }, row.map((year) => (index.h("td", { onClick: () => onClickYearCell(year), class: {
562
- 'datepicker-table__cell': true,
563
- 'datepicker-table__cell--is-today': now().getFullYear() === year,
564
- 'datepicker-table__cell--is-selected': (selectedDate === null || selectedDate === void 0 ? void 0 : selectedDate.getFullYear()) === year,
565
- } }, year)))))))));
598
+ const YearSelection = (yearSelectionParams) => {
599
+ return (index.h("table", { class: "datepicker-table", part: "year-selection" },
600
+ index.h("tbody", null, yearSelectionParams.yearSelection.map((row) => (index.h("tr", { class: "datepicker-table__row" }, row.map((year) => {
601
+ var _a;
602
+ return (index.h("td", { onClick: () => yearSelectionParams.onClickYearCell(year), class: {
603
+ 'datepicker-table__cell': true,
604
+ 'datepicker-table__cell--is-today': now().getFullYear() === year,
605
+ 'datepicker-table__cell--is-selected': ((_a = yearSelectionParams.selectedDate) === null || _a === void 0 ? void 0 : _a.getFullYear()) === year,
606
+ } }, year));
607
+ })))))));
566
608
  };
567
609
 
568
- const sixDatepickerCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:block;font-family:var(--six-font-family)}.datepicker__container{position:relative}.datepicker__popup{min-width:400px;background-color:white;padding:0.5em 0.5em 1.5em;box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);user-select:none;position:absolute;z-index:var(--six-z-index-dropdown);right:0;left:0}.datepicker__popup--is-up{bottom:100%;min-height:382px}.datepicker__popup--is-inline{position:initial;box-shadow:none;border:1px solid var(--six-color-web-rock-400)}.datepicker-header{display:flex;justify-content:space-between;border-bottom:1px solid var(--six-color-web-rock-400);padding:0.5em;margin-bottom:1em}.datepicker-header svg{fill:var(--six-color-web-rock-900);stroke:none}.datepicker-header__btn{cursor:pointer;width:2.5em;height:2.5em;display:flex;vertical-align:middle;align-items:center;justify-content:center}.datepicker-header__btn:hover{background-color:var(--six-color-web-rock-100);border-radius:100%}.datepicker-header__label{display:flex}.datepicker-header__label>div{cursor:pointer;padding:0.5em;display:flex;vertical-align:middle;align-items:center;justify-content:center}.datepicker-header__label>div:hover{background-color:var(--six-color-web-rock-100)}.datepicker-table{width:100%}.datepicker-table__cell{text-align:center;width:2.5rem;height:2.5rem;cursor:pointer}.datepicker-table__cell:hover{background-color:var(--six-color-web-rock-100)}.datepicker-table__cell--is-today{border:1px solid var(--six-color-web-rock-400)}.datepicker-table__cell--is-selected{background-color:var(--six-color-red);color:var(--six-color-white)}.datepicker-table__cell--is-disabled{background-color:var(--six-color-web-rock-200);cursor:initial}.datepicker-table__cell--is-disabled:hover{background-color:var(--six-color-web-rock-200)}.datepicker-table__cell--is-outdated{color:var(--six-color-web-rock-400)}.datepicker-clear{display:inline-flex;align-items:center;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;padding:0;transition:var(--six-transition-fast) color;cursor:pointer}.datepicker-clear:hover{color:var(--six-input-icon-color-hover)}.datepicker-clear:focus{outline:none}.datepicker-clear--right{right:0;position:absolute}.datepicker-clear--left{right:35px;position:absolute}.input--empty .datepicker-clear{visibility:hidden}.prefix{cursor:pointer}.prefix--right{right:0;display:inline-flex;position:absolute;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;margin-right:var(--six-input-spacing-medium);transition:var(--six-transition-fast) color}six-timepicker::part(popup){border:none;padding:0.5em 0.5em 0;min-height:0}";
610
+ const sixDatepickerCss = ":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)}.datepicker__container{position:relative}.datepicker__popup{min-width:400px;background-color:white;padding:0.5em 0.5em 1.5em;box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);user-select:none;position:absolute;z-index:var(--six-z-index-dropdown);right:0;left:0}.datepicker__popup--is-up{bottom:100%;min-height:382px}.datepicker__popup--is-inline{position:initial;box-shadow:none;border:1px solid var(--six-color-web-rock-400)}.datepicker-header{display:flex;justify-content:space-between;border-bottom:1px solid var(--six-color-web-rock-400);padding:0.5em;margin-bottom:1em}.datepicker-header svg{fill:var(--six-color-web-rock-900);stroke:none}.datepicker-header__btn{cursor:pointer;width:2.5em;height:2.5em;display:flex;vertical-align:middle;align-items:center;justify-content:center}.datepicker-header__btn:hover{background-color:var(--six-color-web-rock-100);border-radius:100%}.datepicker-header__label{display:flex}.datepicker-header__label>div{cursor:pointer;padding:0.5em;display:flex;vertical-align:middle;align-items:center;justify-content:center}.datepicker-header__label>div:hover{background-color:var(--six-color-web-rock-100)}.datepicker-table{width:100%}.datepicker-table__cell{text-align:center;width:2.5rem;height:2.5rem;cursor:pointer}.datepicker-table__cell:hover{background-color:var(--six-color-web-rock-100)}.datepicker-table__cell--is-today{border:1px solid var(--six-color-web-rock-400)}.datepicker-table__cell--is-selected{background-color:var(--six-color-red);color:var(--six-color-white)}.datepicker-table__cell--is-disabled{background-color:var(--six-color-web-rock-200);cursor:initial}.datepicker-table__cell--is-disabled:hover{background-color:var(--six-color-web-rock-200)}.datepicker-table__cell--is-outdated{color:var(--six-color-web-rock-400)}.datepicker-clear{display:inline-flex;align-items:center;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;padding:0;transition:var(--six-transition-fast) color;cursor:pointer}.datepicker-clear:hover{color:var(--six-input-icon-color-hover)}.datepicker-clear:focus{outline:none}.datepicker-clear--right{right:0;position:absolute}.datepicker-clear--left{right:35px;position:absolute}.input--empty .datepicker-clear{visibility:hidden}.prefix{cursor:pointer}.prefix--right{right:0;display:inline-flex;position:absolute;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;margin-right:var(--six-input-spacing-medium);transition:var(--six-transition-fast) color}six-timepicker::part(popup){border:none;padding:0.5em 0.5em 0;min-height:0}";
611
+ const SixDatepickerStyle0 = sixDatepickerCss;
569
612
 
570
613
  const NUMBER_OF_YEARS_SHOWN = 25;
571
614
  const MIN_POPUP_HEIGHT = 400;
572
615
  var SelectionMode;
573
616
  (function (SelectionMode) {
574
- SelectionMode["DAY"] = "day";
575
- SelectionMode["MONTH"] = "month";
576
- SelectionMode["YEAR"] = "year";
617
+ SelectionMode["DAY"] = "day";
618
+ SelectionMode["MONTH"] = "month";
619
+ SelectionMode["YEAR"] = "year";
577
620
  })(SelectionMode || (SelectionMode = {}));
578
- const getYearSelectionAroundYear = (year) => {
579
- const numberOfElementsPerRow = 5;
580
- return Array.from(new Array(NUMBER_OF_YEARS_SHOWN).keys())
581
- .map((n) => n + year - Math.floor(NUMBER_OF_YEARS_SHOWN / 2))
582
- .reduce((curr, item, index) => {
583
- if (index % numberOfElementsPerRow === 0) {
584
- curr.push([]);
585
- }
586
- curr[curr.length - 1].push(item);
587
- return curr;
588
- }, []);
589
- };
590
621
  const SixDatepicker = class {
591
- constructor(hostRef) {
592
- index.registerInstance(this, hostRef);
593
- this.sixSelect = index.createEvent(this, "six-datepicker-select", 7);
594
- this.sixClear = index.createEvent(this, "six-datepicker-clear", 7);
595
- this.sixBlur = index.createEvent(this, "six-datepicker-blur", 7);
596
- this.eventListeners = new eventListeners.EventListeners();
597
- this.selectedDate = null;
598
- this.defaultValue = null;
599
- this.handleDocumentKeyDown = (event) => {
600
- // Close when escape is pressed
601
- if (this.open && event.key === 'Escape') {
602
- event.stopPropagation();
603
- this.closePopup();
604
- void this.inputElement.setFocus();
605
- }
606
- // Handle tabbing
607
- if (event.key === 'Tab') {
608
- this.closePopup();
609
- }
610
- };
611
- this.handleDocumentMouseDown = (event) => {
612
- // Close when clicking outside of the containing element
613
- const path = event.composedPath();
614
- if (!path.includes(this.container)) {
615
- this.closePopup();
616
- return;
617
- }
618
- };
619
- this.onTimepickerChange = (sixTimepickerChange) => {
620
- const time = sixTimepickerChange.detail.value;
621
- const newDate = new Date();
622
- if (this.selectedDate) {
623
- newDate.setFullYear(this.selectedDate.getFullYear(), this.selectedDate.getMonth(), this.selectedDate.getDate());
624
- }
625
- newDate.setHours(time[sixTimepicker_types.SixTimePropertyName.HOURS], time[sixTimepicker_types.SixTimePropertyName.MINUTES], time[sixTimepicker_types.SixTimePropertyName.SECONDS]);
626
- this.updateValue(newDate);
627
- this.updatePointerDates();
628
- };
629
- this.onClickDateCell = (cell) => {
630
- if (!cell.isDisabled) {
631
- void this.select(cell.dateString);
632
- }
633
- };
634
- this.onClickMonthCell = (selectedMonth) => {
635
- const month = i18nDate[this.locale].monthsShort.findIndex((monthShort) => monthShort === selectedMonth);
636
- this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { month });
637
- this.selectionMode = SelectionMode.DAY;
638
- };
639
- this.onClickYearCell = (year) => {
640
- this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year });
641
- this.selectionMode = SelectionMode.DAY;
642
- };
643
- this.handleInputChange = (event) => {
644
- const inputValue = this.inputElement.value;
645
- if (!isValidDateString(inputValue, this.dateFormat)) {
646
- return;
647
- }
648
- const inputValueDate = toDate(inputValue, this.dateFormat);
649
- if (inputValueDate === undefined) {
650
- return;
651
- }
652
- if (this.min && this.min.getTime() > inputValueDate.getTime()) {
653
- return;
654
- }
655
- if (this.max && this.max.getTime() < inputValueDate.getTime()) {
656
- return;
657
- }
658
- this.updateIfChanged(inputValueDate);
659
- event.stopPropagation();
660
- const datesOnly = inputValue.replace(/[^\d]/g, '');
661
- let isDateValid = !inputValue;
662
- if (inputValue && datesOnly.length >= 6) {
663
- const date = toDate(inputValue, this.dateFormat);
664
- const datestring = formatDate(date, this.dateFormat);
665
- if (isValidDateString(datestring, this.dateFormat)) {
666
- this.selectedDate = toDate(datestring, this.dateFormat);
667
- this.updatePointerDates();
668
- this.updateValue(this.selectedDate);
669
- isDateValid = true;
670
- }
671
- }
672
- this.displayCustomMessage(isDateValid);
673
- };
674
- this.handleOnBlur = (event) => {
675
- // clear the value if the user deleted the date
676
- if (this.inputElement.value === '' && isValidDate(this.value)) {
622
+ constructor(hostRef) {
623
+ index.registerInstance(this, hostRef);
624
+ this.sixSelect = index.createEvent(this, "six-datepicker-select", 7);
625
+ this.sixClear = index.createEvent(this, "six-datepicker-clear", 7);
626
+ this.sixBlur = index.createEvent(this, "six-datepicker-blur", 7);
627
+ this.eventListeners = new eventListeners.EventListeners();
628
+ this.previousUnit = () => {
629
+ if (this.selectionMode === SelectionMode.DAY) {
630
+ this.previousMonth();
631
+ }
632
+ else if (this.selectionMode === SelectionMode.MONTH) {
633
+ this.previousYear();
634
+ }
635
+ else if (this.selectionMode === SelectionMode.YEAR) {
636
+ this.previousYearGroup();
637
+ }
638
+ };
639
+ this.nextUnit = () => {
640
+ if (this.selectionMode === SelectionMode.DAY) {
641
+ this.nextMonth();
642
+ }
643
+ else if (this.selectionMode === SelectionMode.MONTH) {
644
+ this.nextYear();
645
+ }
646
+ else if (this.selectionMode === SelectionMode.YEAR) {
647
+ this.nextYearGroup();
648
+ }
649
+ };
650
+ this.handleDocumentKeyDown = (event) => {
651
+ var _a;
652
+ const keyboardEvent = event;
653
+ // Close when escape is pressed
654
+ if (this.open && keyboardEvent.key === 'Escape') {
655
+ keyboardEvent.stopPropagation();
656
+ this.closePopup();
657
+ void ((_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.setFocus());
658
+ }
659
+ // Handle tabbing
660
+ if (keyboardEvent.key === 'Tab') {
661
+ this.closePopup();
662
+ }
663
+ };
664
+ this.handleDocumentMouseDown = (event) => {
665
+ // Close when clicking outside the containing element
666
+ const path = event.composedPath();
667
+ if (!path.includes(this.container)) {
668
+ this.closePopup();
669
+ return;
670
+ }
671
+ };
672
+ this.handleClearClick = async (event) => {
673
+ event.stopPropagation();
674
+ await this.select(undefined);
675
+ this.sixClear.emit();
676
+ };
677
+ this.onTimepickerChange = (sixTimepickerChange) => {
678
+ const time = sixTimepickerChange.detail.value;
679
+ const newDate = new Date();
680
+ if (this.selectedDate != null) {
681
+ newDate.setFullYear(this.selectedDate.getFullYear(), this.selectedDate.getMonth(), this.selectedDate.getDate());
682
+ }
683
+ if (time != null) {
684
+ const hours = time.hours;
685
+ const minutes = time.minutes;
686
+ const seconds = time.seconds;
687
+ if (hours != null) {
688
+ newDate.setHours(hours, minutes, seconds);
689
+ }
690
+ }
691
+ this.updateValue(newDate);
692
+ this.updatePointerDates();
693
+ };
694
+ this.onClickDateCell = (cell) => {
695
+ if (!cell.isDisabled) {
696
+ void this.select(cell.dateString);
697
+ }
698
+ };
699
+ this.onClickMonthCell = (selectedMonth) => {
700
+ const month = i18nDate[this.locale].monthsShort.findIndex((monthShort) => monthShort === selectedMonth);
701
+ this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { month });
702
+ this.selectionMode = SelectionMode.DAY;
703
+ };
704
+ this.onClickYearCell = (year) => {
705
+ this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year });
706
+ this.selectionMode = SelectionMode.DAY;
707
+ };
708
+ this.handleInputChange = (event) => {
709
+ if (this.inputElement == null) {
710
+ return;
711
+ }
712
+ event.stopPropagation();
713
+ const inputValue = this.inputElement.value;
714
+ if (!isValidDateString(inputValue, this.dateFormat)) {
715
+ return;
716
+ }
717
+ const inputValueDate = toDate(inputValue, this.dateFormat);
718
+ if (inputValueDate === undefined) {
719
+ return;
720
+ }
721
+ this.updateIfChanged(inputValueDate);
722
+ const datesOnly = inputValue.replace(/[^\d]/g, '');
723
+ if (datesOnly.length >= 6) {
724
+ const date = toDate(inputValue, this.dateFormat);
725
+ const dateAsString = formatDate(date, this.dateFormat);
726
+ if (isValidDateString(dateAsString, this.dateFormat)) {
727
+ this.selectedDate = toDate(dateAsString, this.dateFormat);
728
+ this.updatePointerDates();
729
+ this.updateValue(this.selectedDate);
730
+ }
731
+ }
732
+ };
733
+ this.handleOnBlur = (event) => {
734
+ var _a, _b, _c;
735
+ event.stopPropagation();
736
+ // clear the value if the user deleted the date
737
+ if (((_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.value) === '' && isValidDate(this.value)) {
738
+ this.value = undefined;
739
+ this.sixSelect.emit(this.value);
740
+ }
741
+ const currentDate = toDate((_b = this.inputElement) === null || _b === void 0 ? void 0 : _b.value, this.dateFormat);
742
+ if (isValidDate(currentDate) && ((_c = this.value) === null || _c === void 0 ? void 0 : _c.getTime()) !== (currentDate === null || currentDate === void 0 ? void 0 : currentDate.getTime())) {
743
+ // Set the value if the input field's value has changed. This can happen if the blur occurs
744
+ // before the change event had a chance to fire due to its debouncing.
745
+ this.value = currentDate;
746
+ }
747
+ if (this.inputElement != null) {
748
+ this.inputElement.value = formatDate(this.value, this.dateFormat);
749
+ }
750
+ this.sixBlur.emit(this.value);
751
+ };
752
+ this.pointerDate = SixDatepicker.getCurrentDateAsPointer();
753
+ this.selectionMode = SelectionMode.DAY;
754
+ this.isDropDownContentUp = false;
755
+ this.type = 'date';
756
+ this.locale = 'en';
757
+ this.open = false;
758
+ this.inline = false;
759
+ this.readonly = false;
760
+ this.disabled = false;
761
+ this.allowedDates = () => true;
762
+ this.min = undefined;
763
+ this.max = undefined;
764
+ this.closeOnSelect = this.type === 'date';
765
+ this.placement = undefined;
766
+ this.size = 'medium';
767
+ this.required = false;
768
+ this.defaultDate = undefined;
769
+ this.placeholder = undefined;
677
770
  this.value = undefined;
678
- }
679
- event.stopPropagation();
680
- const inputValue = this.inputElement.value;
681
- const inputValueDate = toDate(inputValue, this.dateFormat);
682
- const formattedDate = formatDate(this.value, this.dateFormat);
683
- if (inputValueDate && inputValue !== formattedDate) {
684
- // properly format date if necessary
685
- this.inputElement.value = formattedDate;
686
- }
687
- this.sixBlur.emit(this.value);
688
- };
689
- this.pointerDate = SixDatepicker.getCurrentDateAsPointer();
690
- this.selectionMode = SelectionMode.DAY;
691
- this.isDropDownContentUp = false;
692
- this.type = 'date';
693
- this.locale = 'en';
694
- this.open = false;
695
- this.inline = false;
696
- this.readonly = false;
697
- this.disabled = false;
698
- this.allowedDates = () => true;
699
- this.min = null;
700
- this.max = null;
701
- this.closeOnSelect = this.type === 'date';
702
- this.placement = undefined;
703
- this.size = 'medium';
704
- this.required = undefined;
705
- this.defaultDate = undefined;
706
- this.placeholder = undefined;
707
- this.value = null;
708
- this.containingElement = undefined;
709
- this.dateFormat = SixDateFormats.DDMMYYY_DOT;
710
- this.debounce = executionControl.DEFAULT_DEBOUNCE_FAST;
711
- this.errorOnBlur = false;
712
- this.errorText = '';
713
- this.label = '';
714
- this.name = '';
715
- this.clearable = false;
716
- this.iconPosition = 'left';
717
- this.hoist = false;
718
- }
719
- debounceChanged() {
720
- this.sixSelect = executionControl.debounceEvent(this.sixSelect, this.debounce);
721
- }
722
- /**
723
- * Update the native input element when the value changes
724
- */
725
- valueChanged() {
726
- // map unreadable values to undefined to make the datepicker fault-tolerant
727
- if (this.isValidValue()) {
728
- console.warn('Encountered unreadable date, will map to undefined. Received value', this.value);
729
- this.value = undefined;
730
- return;
731
- }
732
- this.selectedDate = this.value;
733
- this.updatePointerDates();
734
- this.sixSelect.emit(this.value);
735
- }
736
- async resizeHandler() {
737
- this.calcIsDropDownContentUp();
738
- this.moveOpenHoistedPopup();
739
- this.adjustPopupPosition();
740
- }
741
- async scrollHandler() {
742
- this.calcIsDropDownContentUp();
743
- this.moveOpenHoistedPopup();
744
- }
745
- get container() {
746
- return this.containingElement || this.host;
747
- }
748
- get firstDateOfBox() {
749
- const date = new Date(this.pointerDate.year, this.pointerDate.month, 1);
750
- return getFirstDayOfTheWeek(date);
751
- }
752
- /** Checks for validity and shows the browser's validation message if the control is invalid. */
753
- async reportValidity() {
754
- return this.inputElement.reportValidity();
755
- }
756
- /** Checks for validity. */
757
- async checkValidity() {
758
- return this.inputElement.checkValidity();
759
- }
760
- /** Sets a custom validation message. If `message` is not empty, the field will be considered invalid. */
761
- async setCustomValidity(message) {
762
- await this.inputElement.setCustomValidity(message);
763
- }
764
- /** Resets the formcontrol */
765
- async reset() {
766
- this.value = this.defaultValue;
767
- this.inputElement.value = formatDate(this.defaultValue, this.dateFormat);
768
- await this.inputElement.reset();
769
- }
770
- isValidValue() {
771
- if (this.value === undefined || this.value === null) {
772
- return false;
773
- }
774
- if (!(this.value instanceof Date)) {
775
- return true;
776
- }
777
- return this.value instanceof Date && isNaN(this.value);
778
- }
779
- get calendarGrid() {
780
- return createCalendarGrid({
781
- firstDateOfBox: this.firstDateOfBox,
782
- allowedDates: this.allowedDates,
783
- dateFormat: this.dateFormat,
784
- locale: this.locale,
785
- selectedDate: this.selectedDate,
786
- minDate: this.min,
787
- maxDate: this.max,
788
- pointerDate: this.pointerDate,
789
- });
790
- }
791
- calcIsDropDownContentUp() {
792
- if (!this.inputElement || !this.wrapper) {
793
- return;
794
- }
795
- const inputBoundingRect = this.inputElement.getBoundingClientRect();
796
- const wrapperBoundingRect = this.wrapper.getBoundingClientRect();
797
- const minPopupHeight = Math.max(wrapperBoundingRect.height, MIN_POPUP_HEIGHT);
798
- const moreSpaceInTop = inputBoundingRect.y > window.innerHeight / 2;
799
- this.isDropDownContentUp = moreSpaceInTop && window.innerHeight < inputBoundingRect.bottom + minPopupHeight;
800
- }
801
- getMonthStringForIndex(index) {
802
- return i18nDate[this.locale].months[index];
803
- }
804
- previousUnit() {
805
- if (this.selectionMode === SelectionMode.DAY) {
806
- this.previousMonth();
807
- }
808
- else if (this.selectionMode === SelectionMode.MONTH) {
809
- this.previousYear();
810
- }
811
- else if (this.selectionMode === SelectionMode.YEAR) {
812
- this.previousYearGroup();
813
- }
814
- }
815
- previousYear() {
816
- this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year: this.pointerDate.year - 1 });
817
- }
818
- previousYearGroup() {
819
- this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year: this.pointerDate.year - NUMBER_OF_YEARS_SHOWN });
820
- }
821
- previousMonth() {
822
- if (this.pointerDate.month === 0) {
823
- this.pointerDate = { year: this.pointerDate.year - 1, month: 11, day: 1, hours: 0, minutes: 0, seconds: 0 };
771
+ this.label = '';
772
+ this.errorText = '';
773
+ this.errorTextCount = undefined;
774
+ this.invalid = false;
775
+ this.containingElement = undefined;
776
+ this.dateFormat = SixDateFormats.DDMMYYY_DOT;
777
+ this.debounce = executionControl.DEFAULT_DEBOUNCE_FAST;
778
+ this.name = '';
779
+ this.clearable = false;
780
+ this.iconPosition = 'left';
781
+ this.hoist = false;
824
782
  }
825
- else {
826
- this.pointerDate = {
827
- year: this.pointerDate.year,
828
- month: this.pointerDate.month - 1,
829
- day: 1,
830
- hours: 0,
831
- minutes: 0,
832
- seconds: 0,
833
- };
834
- }
835
- }
836
- nextUnit() {
837
- if (this.selectionMode === SelectionMode.DAY) {
838
- this.nextMonth();
839
- }
840
- else if (this.selectionMode === SelectionMode.MONTH) {
841
- this.nextYear();
842
- }
843
- else if (this.selectionMode === SelectionMode.YEAR) {
844
- this.nextYearGroup();
845
- }
846
- }
847
- nextMonth() {
848
- if (this.pointerDate.month === 11) {
849
- this.pointerDate = { year: this.pointerDate.year + 1, month: 0, day: 1, hours: 0, minutes: 0, seconds: 0 };
783
+ debounceChanged() {
784
+ this.sixSelect = executionControl.debounceEvent(this.sixSelect, this.debounce);
850
785
  }
851
- else {
852
- this.pointerDate = {
853
- year: this.pointerDate.year,
854
- month: this.pointerDate.month + 1,
855
- day: 1,
856
- hours: 0,
857
- minutes: 0,
858
- seconds: 0,
859
- };
860
- }
861
- }
862
- nextYear() {
863
- this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year: this.pointerDate.year + 1 });
864
- }
865
- nextYearGroup() {
866
- this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year: this.pointerDate.year + NUMBER_OF_YEARS_SHOWN });
867
- }
868
- openCalendar() {
869
- if (!this.open && !this.disabled) {
870
- this.open = true;
871
- this.setupEventListenersForOpenPopup();
872
- }
873
- }
874
- setupEventListenersForOpenPopup() {
875
- this.eventListeners.add(document, 'keydown', this.handleDocumentKeyDown);
876
- this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);
877
- }
878
- handleClearClick(event) {
879
- event.stopPropagation();
880
- void this.select(undefined);
881
- this.sixClear.emit();
882
- }
883
- closePopup() {
884
- if (this.inline) {
885
- return;
886
- }
887
- this.open = false;
888
- this.eventListeners.remove(document, 'keydown', this.handleDocumentKeyDown);
889
- this.eventListeners.remove(document, 'mousedown', this.handleDocumentMouseDown);
890
- this.selectionMode = SelectionMode.DAY;
891
- }
892
- updatePointerDates() {
893
- const date = this.getPointerDate();
894
- if (this.differsFromPointerDate(date)) {
895
- this.pointerDate = {
896
- year: year(date),
897
- month: month(date),
898
- day: day(date),
899
- hours: hours(date),
900
- minutes: minutes(date),
901
- seconds: seconds(date),
902
- };
903
- }
904
- }
905
- differsFromPointerDate(date) {
906
- return (this.pointerDate.day !== day(date) ||
907
- this.pointerDate.month !== month(date) ||
908
- this.pointerDate.year !== year(date) ||
909
- this.pointerDate.hours !== hours(date) ||
910
- this.pointerDate.minutes !== minutes(date) ||
911
- this.pointerDate.seconds !== seconds(date));
912
- }
913
- getPointerDate() {
914
- if (this.selectedDate !== undefined && this.selectedDate !== null) {
915
- return this.selectedDate;
916
- }
917
- if (sixTimepicker_types.isNil(this.defaultDate)) {
918
- return now();
786
+ /**
787
+ * Update the native input element when the value changes
788
+ */
789
+ valueChanged() {
790
+ if (this.value != null && !isValidDate(this.value)) {
791
+ console.warn('invalid date value: ', this.value);
792
+ this.value = undefined;
793
+ this.sixSelect.emit(this.value);
794
+ }
795
+ this.selectedDate = this.value;
796
+ this.updatePointerDates();
919
797
  }
920
- else {
921
- return this.defaultDate && toDate(this.defaultDate, this.dateFormat);
922
- }
923
- }
924
- updateValue(newDate) {
925
- this.displayCustomMessage(true);
926
- this.updateIfChanged(newDate);
927
- }
928
- updateIfChanged(newDate) {
929
- var _a;
930
- if (((_a = this.value) === null || _a === void 0 ? void 0 : _a.getTime()) === (newDate === null || newDate === void 0 ? void 0 : newDate.getTime())) {
931
- return;
932
- }
933
- this.value = newDate;
934
- }
935
- /**
936
- * Selects an option
937
- */
938
- async select(datestring) {
939
- if (!datestring) {
940
- this.updateValue(undefined);
798
+ async resizeHandler() {
799
+ this.updateDropdownDirection();
800
+ this.moveOpenHoistedPopup();
801
+ this.adjustPopupPosition();
941
802
  }
942
- else {
943
- const newDate = toDate(datestring, this.dateFormat);
944
- newDate.setHours(this.pointerDate.hours, this.pointerDate.minutes, this.pointerDate.seconds);
945
- this.updateValue(newDate);
946
- }
947
- this.updatePointerDates();
948
- if (this.closeOnSelect) {
949
- this.closePopup();
950
- }
951
- }
952
- componentWillLoad() {
953
- this.validateProps();
954
- this.defaultValue = this.value;
955
- this.selectedDate = this.value;
956
- this.updatePointerDates();
957
- this.updateValue(this.value);
958
- if (this.inline) {
959
- this.open = true;
960
- }
961
- if (this.open) {
962
- this.setupEventListenersForOpenPopup();
963
- }
964
- }
965
- validateProps() {
966
- if (this.value !== null && this.value !== undefined && !(this.value instanceof Date)) {
967
- throw new Error('Datepicker no longer supports strings as value. Use a date object instead!');
968
- }
969
- if (this.min !== null && this.min !== undefined && !(this.min instanceof Date)) {
970
- throw new Error('Datepicker no longer supports strings as min. Use a date object instead!');
971
- }
972
- if (this.max !== null && this.max !== undefined && !(this.max instanceof Date)) {
973
- throw new Error('Datepicker no longer supports strings as min. Use a date object instead!');
974
- }
975
- }
976
- componentDidLoad() {
977
- this.eventListeners.add(this.inputElement, 'six-input-input', executionControl.debounce(this.handleInputChange, this.debounce));
978
- this.eventListeners.add(this.inputElement, 'six-input-blur', this.handleOnBlur);
979
- }
980
- renderHeader() {
981
- return (index.h("header", { class: "datepicker-header", part: "header" }, index.h("div", { class: "datepicker-header__btn prev", onClick: () => this.previousUnit() }, index.h("svg", { viewBox: "0 5 13 13", width: "14", height: "23" }, index.h("path", { d: "M11.67 3.87L9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z" }))), index.h("div", { class: "datepicker-header__label" }, this.selectionMode === SelectionMode.DAY && (index.h("div", { onClick: () => (this.selectionMode = SelectionMode.MONTH) }, index.h("span", { class: "datepicker-header__label-month" }, this.getMonthStringForIndex(this.pointerDate.month)), index.h("span", null, index.h("svg", { viewBox: "-3 -4 24 24", width: "20", height: "20" }, index.h("polyline", { points: "6 9 12 15 18 9" }))))), this.selectionMode !== SelectionMode.YEAR && (index.h("div", { onClick: () => (this.selectionMode = SelectionMode.YEAR) }, index.h("span", { class: "datepicker-header__label-year" }, this.pointerDate.year), index.h("span", null, index.h("svg", { viewBox: "-3 -4 24 24", width: "20", height: "20" }, index.h("polyline", { points: "6 9 12 15 18 9" }))))), this.selectionMode === SelectionMode.YEAR && (index.h("div", null, this.pointerDate.year - Math.floor(NUMBER_OF_YEARS_SHOWN / 2), " \u2013", ' ', this.pointerDate.year + Math.floor(NUMBER_OF_YEARS_SHOWN / 2)))), index.h("div", { class: "datepicker-header__btn next", onClick: () => this.nextUnit() }, index.h("svg", { viewBox: "5 5 13 13", width: "14", height: "23" }, index.h("path", { d: "M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z" })))));
982
- }
983
- renderBody() {
984
- switch (this.selectionMode) {
985
- case SelectionMode.DAY:
986
- return (index.h(DaySelection, { locale: i18nDate[this.locale], calendarGrid: this.calendarGrid, onClickDateCell: this.onClickDateCell }));
987
- case SelectionMode.MONTH:
988
- return (index.h(MonthSelection, { locale: i18nDate[this.locale], selectedDate: this.selectedDate, onClickMonthCell: this.onClickMonthCell }));
989
- case SelectionMode.YEAR:
990
- return (index.h(YearSelection, { selectedDate: this.selectedDate, yearSelection: getYearSelectionAroundYear(this.pointerDate.year), onClickYearCell: this.onClickYearCell }));
991
- }
992
- }
993
- renderCustomIcon() {
994
- const icon = slot.hasSlot(this.host, 'custom-icon') ? (index.h("slot", { name: "custom-icon" })) : (index.h("six-icon", { size: this.size === 'large' ? 'medium' : this.size }, "today"));
995
- return (index.h("span", { slot: "prefix", part: "icon", class: {
996
- prefix: true,
997
- 'prefix--right': this.iconPosition === 'right',
998
- } }, icon));
999
- }
1000
- renderClearable() {
1001
- return (this.clearable && (index.h("button", { slot: "suffix", class: {
1002
- 'datepicker-clear': true,
1003
- 'datepicker-clear--right': this.iconPosition === 'left',
1004
- 'datepicker-clear--left': this.iconPosition === 'right',
1005
- }, type: "button", onClick: this.handleClearClick, tabindex: "-1" }, index.h("six-icon", { size: "small" }, "clear"))));
1006
- }
1007
- render() {
1008
- var _a, _b, _c;
1009
- this.adjustPopupPosition();
1010
- return (index.h("div", { ref: (el) => (this.wrapper = el), class: "datepicker__container" }, index.h("six-input", { part: "base", value: formatDate(this.value, this.dateFormat), ref: (el) => (this.inputElement = el), placeholder: this.placeholder, readonly: this.readonly, disabled: this.disabled, name: this.name, label: this.label, required: this.required, "error-text": this.errorText, "error-on-blur": this.errorOnBlur, onClick: () => this.openCalendar(), size: this.size, class: { 'input--empty': !this.value } }, this.renderCustomIcon(), this.renderClearable(), slot.hasSlot(this.host, 'error-text') ? (index.h("span", { slot: "error-text" }, index.h("slot", { name: "error-text" }))) : null, slot.hasSlot(this.host, 'label') ? (index.h("span", { slot: "label" }, index.h("slot", { name: "label" }))) : null), this.open && (index.h("div", { part: "popup", ref: (el) => (this.popup = el), class: {
1011
- datepicker__popup: true,
1012
- 'datepicker__popup--is-up': this.placement ? this.placement === 'top' : this.isDropDownContentUp,
1013
- 'datepicker__popup--is-inline': this.inline,
1014
- } }, this.renderHeader(), this.renderBody(), this.type === 'date-time' && (index.h("six-timepicker", { inline: true, "onSix-timepicker-change-debounced": (event) => this.onTimepickerChange(event), value: ((_a = this.selectedDate) === null || _a === void 0 ? void 0 : _a.getHours()) +
1015
- ':' +
1016
- ((_b = this.selectedDate) === null || _b === void 0 ? void 0 : _b.getMinutes()) +
1017
- ':' +
1018
- ((_c = this.selectedDate) === null || _c === void 0 ? void 0 : _c.getSeconds()) })), index.h("div", { class: "datepicker__footer" }, index.h("slot", null))))));
1019
- }
1020
- adjustPopupPosition() {
1021
- this.adjustPopupForHoisting();
1022
- this.adjustPopupForSmallScreens();
1023
- }
1024
- /*
1025
- * The position of the hoisted datepicker needs to be correctly calculated since the position changes to fixed.
1026
- * Thus if the user scrolls or adjusts the screen size we need to recalculate the datepicker position.
1027
- */
1028
- moveOpenHoistedPopup() {
1029
- if (!this.hoist || !this.open) {
1030
- return;
1031
- }
1032
- const popupBoundingClientRect = this.popup.getBoundingClientRect();
1033
- const popupHeight = popupBoundingClientRect.height;
1034
- const inputBoundingClientRect = this.inputElement.getBoundingClientRect();
1035
- const inputTop = inputBoundingClientRect.top;
1036
- const inputHeight = inputBoundingClientRect.height;
1037
- this.calcIsDropDownContentUp();
1038
- if (this.isDropDownContentUp) {
1039
- this.popup.style.top = `${inputTop - popupHeight}px`;
803
+ async scrollHandler() {
804
+ this.updateDropdownDirection();
805
+ this.moveOpenHoistedPopup();
1040
806
  }
1041
- else {
1042
- this.popup.style.top = `${inputTop + inputHeight}px`;
1043
- }
1044
- }
1045
- /*
1046
- * For small screens the datepicker popup could be cut-off even though there might still be space within the viewport.
1047
- * This is because the popup is always aligned with the trigger input field. However in the scenario of small screens
1048
- * we should reposition the popup to use the space available.
1049
- */
1050
- adjustPopupForSmallScreens() {
1051
- // execute after dropdown has been rendered to make sure the popup reference is correctly set
1052
- setTimeout(() => {
1053
- if (!this.popup) {
1054
- return;
1055
- }
1056
- const popupBoundingClientRect = this.popup.getBoundingClientRect();
1057
- const setPopupAsFixPosition = () => {
1058
- // apply screen position to fixed popup
1059
- this.popup.style.position = 'fixed';
1060
- ['top', 'left', 'width', 'height'].forEach((property) => {
1061
- this.popup.style[property] = `${popupBoundingClientRect[property]}px`;
807
+ moveOpenHoistedPopup() {
808
+ popup.movePopup(this.hoist, this.open, this.popup, this.inputElement, this.wrapper, MIN_POPUP_HEIGHT);
809
+ }
810
+ get container() {
811
+ return this.containingElement || this.host;
812
+ }
813
+ get firstDateOfBox() {
814
+ const date = new Date(this.pointerDate.year, this.pointerDate.month, 1);
815
+ return getFirstDayOfTheWeek(date);
816
+ }
817
+ /** Sets focus on the datepickers input. */
818
+ async setFocus(options) {
819
+ var _a;
820
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.setFocus(options);
821
+ }
822
+ get calendarGrid() {
823
+ return createCalendarGrid({
824
+ firstDateOfBox: this.firstDateOfBox,
825
+ allowedDates: this.allowedDates,
826
+ dateFormat: this.dateFormat,
827
+ locale: this.locale,
828
+ selectedDate: this.selectedDate,
829
+ minDate: this.min,
830
+ maxDate: this.max,
831
+ pointerDate: this.pointerDate,
1062
832
  });
1063
- };
1064
- if (popupBoundingClientRect.y < 0 &&
1065
- window.innerHeight - popupBoundingClientRect.height > 0 &&
1066
- Math.abs(popupBoundingClientRect.y) <= popupBoundingClientRect.height) {
1067
- // handle case where popup is cut-off on top but there is still space available
1068
- setPopupAsFixPosition();
1069
- this.popup.style.top = '0px';
1070
- }
1071
- else if (window.innerHeight < popupBoundingClientRect.y + popupBoundingClientRect.height &&
1072
- window.innerHeight > popupBoundingClientRect.height &&
1073
- Math.abs(popupBoundingClientRect.y - window.innerHeight) <= popupBoundingClientRect.height) {
1074
- // handle case where popup is cut-off at the bottom but there is still space available above
1075
- // apply screen position to fixed popup
1076
- setPopupAsFixPosition();
1077
- this.popup.style.top = `${window.innerHeight - popupBoundingClientRect.height}px`;
1078
- }
1079
- if (window.innerWidth < popupBoundingClientRect.x + popupBoundingClientRect.width &&
1080
- window.innerWidth > popupBoundingClientRect.width &&
1081
- Math.abs(popupBoundingClientRect.x - window.innerWidth) <= popupBoundingClientRect.width) {
1082
- // handle case where popup is cut-off to the right
1083
- setPopupAsFixPosition();
1084
- this.popup.style.left = `${window.innerWidth - popupBoundingClientRect.width}px`;
1085
- }
1086
- }, 0);
1087
- }
1088
- /*
1089
- * If the popup is hoisted we popup is hoisted its position will change to fix to not be clipped of by a containing container.
1090
- * To render the popup correctly we render it normally, and then assign this screenposition to the fixed popup
1091
- */
1092
- adjustPopupForHoisting() {
1093
- if (!this.hoist) {
1094
- return;
1095
- }
1096
- // execute after dropdown has been rendered to make sure the popup reference is correctly set
1097
- setTimeout(() => {
1098
- if (!this.popup) {
1099
- return;
1100
- }
1101
- // take a snapshot of normally rendered popup
1102
- const popupBoundingClientRect = this.popup.getBoundingClientRect();
1103
- // apply screen position to fixed popup
1104
- this.popup.style.position = 'fixed';
1105
- ['top', 'left', 'width', 'height'].forEach((property) => {
1106
- this.popup.style[property] = `${popupBoundingClientRect[property]}px`;
1107
- });
1108
- const inputBoundingClientRect = this.inputElement.getBoundingClientRect();
1109
- const inputTop = inputBoundingClientRect.top;
1110
- const popupTop = popupBoundingClientRect.top;
1111
- this.calcIsDropDownContentUp();
1112
- // check screen position to check whether the popup should be moved above or below the trigger element
1113
- if (this.isDropDownContentUp && inputTop < popupTop) {
1114
- // move popup above input field if datepicker is at bottom of screen
1115
- this.popup.style.top = `${popupTop - popupBoundingClientRect.height - inputBoundingClientRect.height}px`;
1116
- }
1117
- }, 0);
1118
- }
1119
- connectedCallback() {
1120
- this.handleClearClick = this.handleClearClick.bind(this);
1121
- }
1122
- disconnectedCallback() {
1123
- this.eventListeners.removeAll();
1124
- }
1125
- displayCustomMessage(valid) {
1126
- if (!this.inputElement) {
1127
- return;
1128
- }
1129
- if (valid) {
1130
- void this.setCustomValidity('');
1131
833
  }
1132
- else {
1133
- const message = this.errorText ? this.errorText : 'Invalid date format';
1134
- void this.setCustomValidity(message);
1135
- }
1136
- }
1137
- static getCurrentDateAsPointer() {
1138
- return {
1139
- year: year(now()),
1140
- month: month(now()),
1141
- day: day(now()),
1142
- hours: hours(now()),
1143
- minutes: minutes(now()),
1144
- seconds: seconds(now()),
1145
- };
1146
- }
1147
- get host() { return index.getElement(this); }
1148
- static get watchers() { return {
1149
- "debounce": ["debounceChanged"],
1150
- "value": ["valueChanged"]
1151
- }; }
834
+ updateDropdownDirection() {
835
+ if (this.inputElement == null || this.wrapper == null) {
836
+ return;
837
+ }
838
+ this.isDropDownContentUp = popup.calcIsDropDownContentUp(this.inputElement, this.wrapper, MIN_POPUP_HEIGHT);
839
+ }
840
+ getMonthStringForIndex(index) {
841
+ return i18nDate[this.locale].months[index];
842
+ }
843
+ previousYear() {
844
+ this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year: this.pointerDate.year - 1 });
845
+ }
846
+ previousYearGroup() {
847
+ this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year: this.pointerDate.year - NUMBER_OF_YEARS_SHOWN });
848
+ }
849
+ previousMonth() {
850
+ if (this.pointerDate.month === 0) {
851
+ this.pointerDate = { year: this.pointerDate.year - 1, month: 11, day: 1, hours: 0, minutes: 0, seconds: 0 };
852
+ }
853
+ else {
854
+ this.pointerDate = {
855
+ year: this.pointerDate.year,
856
+ month: this.pointerDate.month - 1,
857
+ day: 1,
858
+ hours: 0,
859
+ minutes: 0,
860
+ seconds: 0,
861
+ };
862
+ }
863
+ }
864
+ nextMonth() {
865
+ if (this.pointerDate.month === 11) {
866
+ this.pointerDate = { year: this.pointerDate.year + 1, month: 0, day: 1, hours: 0, minutes: 0, seconds: 0 };
867
+ }
868
+ else {
869
+ this.pointerDate = {
870
+ year: this.pointerDate.year,
871
+ month: this.pointerDate.month + 1,
872
+ day: 1,
873
+ hours: 0,
874
+ minutes: 0,
875
+ seconds: 0,
876
+ };
877
+ }
878
+ }
879
+ nextYear() {
880
+ this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year: this.pointerDate.year + 1 });
881
+ }
882
+ nextYearGroup() {
883
+ this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year: this.pointerDate.year + NUMBER_OF_YEARS_SHOWN });
884
+ }
885
+ openCalendar() {
886
+ if (!this.open && !this.disabled) {
887
+ this.open = true;
888
+ this.setupEventListenersForOpenPopup();
889
+ }
890
+ }
891
+ setupEventListenersForOpenPopup() {
892
+ this.eventListeners.add(document, 'keydown', this.handleDocumentKeyDown);
893
+ this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);
894
+ }
895
+ closePopup() {
896
+ if (this.inline) {
897
+ return;
898
+ }
899
+ this.open = false;
900
+ this.eventListeners.remove(document, 'keydown', this.handleDocumentKeyDown);
901
+ this.eventListeners.remove(document, 'mousedown', this.handleDocumentMouseDown);
902
+ this.selectionMode = SelectionMode.DAY;
903
+ }
904
+ updatePointerDates() {
905
+ const date = this.getPointerDate();
906
+ if (this.differsFromPointerDate(date)) {
907
+ this.pointerDate = {
908
+ year: year(date),
909
+ month: month(date),
910
+ day: day(date),
911
+ hours: hours(date),
912
+ minutes: minutes(date),
913
+ seconds: seconds(date),
914
+ };
915
+ }
916
+ }
917
+ differsFromPointerDate(date) {
918
+ return (this.pointerDate.day !== day(date) ||
919
+ this.pointerDate.month !== month(date) ||
920
+ this.pointerDate.year !== year(date) ||
921
+ this.pointerDate.hours !== hours(date) ||
922
+ this.pointerDate.minutes !== minutes(date) ||
923
+ this.pointerDate.seconds !== seconds(date));
924
+ }
925
+ getPointerDate() {
926
+ if (this.selectedDate !== undefined && this.selectedDate !== null) {
927
+ return this.selectedDate;
928
+ }
929
+ if (this.defaultDate == null) {
930
+ return this.type === 'date' ? removeTime(now()) : now();
931
+ }
932
+ else {
933
+ return toDate(this.defaultDate, this.dateFormat);
934
+ }
935
+ }
936
+ updateValue(newDate) {
937
+ this.updateIfChanged(newDate);
938
+ }
939
+ updateIfChanged(newDate) {
940
+ var _a;
941
+ if (((_a = this.value) === null || _a === void 0 ? void 0 : _a.getTime()) === (newDate === null || newDate === void 0 ? void 0 : newDate.getTime())) {
942
+ return;
943
+ }
944
+ this.value = newDate;
945
+ this.sixSelect.emit(this.value);
946
+ }
947
+ /**
948
+ * Selects an option
949
+ */
950
+ async select(datestring) {
951
+ if (datestring == null) {
952
+ this.updateValue(undefined);
953
+ }
954
+ else {
955
+ const newDate = toDate(datestring, this.dateFormat);
956
+ newDate === null || newDate === void 0 ? void 0 : newDate.setHours(this.pointerDate.hours, this.pointerDate.minutes, this.pointerDate.seconds);
957
+ this.updateValue(newDate);
958
+ }
959
+ this.updatePointerDates();
960
+ if (this.closeOnSelect) {
961
+ this.closePopup();
962
+ }
963
+ }
964
+ componentWillLoad() {
965
+ this.selectedDate = this.value;
966
+ this.updatePointerDates();
967
+ this.updateValue(this.value);
968
+ if (this.inline) {
969
+ this.open = true;
970
+ }
971
+ if (this.open) {
972
+ this.setupEventListenersForOpenPopup();
973
+ }
974
+ }
975
+ componentDidLoad() {
976
+ if (this.inputElement != null) {
977
+ this.eventListeners.add(this.inputElement, 'six-input-input', executionControl.debounce(this.handleInputChange, this.debounce));
978
+ this.eventListeners.add(this.inputElement, 'six-input-blur', this.handleOnBlur);
979
+ }
980
+ }
981
+ componentDidRender() {
982
+ this.adjustPopupPosition();
983
+ }
984
+ renderHeader() {
985
+ return (index.h("header", { class: "datepicker-header", part: "header" }, index.h("div", { class: "datepicker-header__btn prev", onClick: this.previousUnit }, index.h("svg", { viewBox: "0 5 13 13", width: "14", height: "23" }, index.h("path", { d: "M11.67 3.87L9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z" }))), index.h("div", { class: "datepicker-header__label" }, this.selectionMode === SelectionMode.DAY && (index.h("div", { onClick: () => (this.selectionMode = SelectionMode.MONTH) }, index.h("span", { class: "datepicker-header__label-month" }, this.getMonthStringForIndex(this.pointerDate.month)), index.h("span", null, index.h("svg", { viewBox: "-3 -4 24 24", width: "20", height: "20" }, index.h("polyline", { points: "6 9 12 15 18 9" }))))), this.selectionMode !== SelectionMode.YEAR && (index.h("div", { onClick: () => (this.selectionMode = SelectionMode.YEAR) }, index.h("span", { class: "datepicker-header__label-year" }, this.pointerDate.year), index.h("span", null, index.h("svg", { viewBox: "-3 -4 24 24", width: "20", height: "20" }, index.h("polyline", { points: "6 9 12 15 18 9" }))))), this.selectionMode === SelectionMode.YEAR && (index.h("div", null, this.pointerDate.year - Math.floor(NUMBER_OF_YEARS_SHOWN / 2), " \u2013", ' ', this.pointerDate.year + Math.floor(NUMBER_OF_YEARS_SHOWN / 2)))), index.h("div", { class: "datepicker-header__btn next", onClick: this.nextUnit }, index.h("svg", { viewBox: "5 5 13 13", width: "14", height: "23" }, index.h("path", { d: "M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z" })))));
986
+ }
987
+ renderBody() {
988
+ switch (this.selectionMode) {
989
+ case SelectionMode.DAY:
990
+ return (index.h(DaySelection, { locale: i18nDate[this.locale], calendarGrid: this.calendarGrid, onClickDateCell: this.onClickDateCell }));
991
+ case SelectionMode.MONTH:
992
+ return (index.h(MonthSelection, { locale: i18nDate[this.locale], selectedDate: this.selectedDate, onClickMonthCell: this.onClickMonthCell }));
993
+ case SelectionMode.YEAR:
994
+ return (index.h(YearSelection, { selectedDate: this.selectedDate, yearSelection: rangeAround(this.pointerDate.year, NUMBER_OF_YEARS_SHOWN), onClickYearCell: this.onClickYearCell }));
995
+ }
996
+ }
997
+ renderCustomIcon() {
998
+ const icon = slot.hasSlot(this.host, 'custom-icon') ? (index.h("slot", { name: "custom-icon" })) : (index.h("six-icon", { size: this.size === 'large' ? 'medium' : this.size }, "today"));
999
+ return (index.h("span", { slot: "prefix", part: "icon", class: {
1000
+ prefix: true,
1001
+ 'prefix--right': this.iconPosition === 'right',
1002
+ } }, icon));
1003
+ }
1004
+ renderClearable() {
1005
+ return (this.clearable && (index.h("button", { slot: "suffix", class: {
1006
+ 'datepicker-clear': true,
1007
+ 'datepicker-clear--right': this.iconPosition === 'left',
1008
+ 'datepicker-clear--left': this.iconPosition === 'right',
1009
+ }, type: "button", onClick: this.handleClearClick, tabindex: "-1" }, index.h("six-icon", { size: "small" }, "clear"))));
1010
+ }
1011
+ render() {
1012
+ var _a, _b, _c;
1013
+ this.adjustPopupPosition();
1014
+ return (index.h("div", { key: 'b5ba1d95babef5f6f47bd176f607756df09f293b', ref: (el) => (this.wrapper = el), class: "datepicker__container" }, index.h("six-input", { key: 'bbc7941bb975cb5e66eda215fea89dc3455724a3', part: "base", value: formatDate(this.value, this.dateFormat), ref: (el) => (this.inputElement = el), placeholder: this.placeholder, readonly: this.readonly, disabled: this.disabled, name: this.name, label: this.label, required: this.required, errorText: this.errorText, errorTextCount: this.errorTextCount, invalid: this.invalid, onClick: () => this.openCalendar(), size: this.size, class: { 'input--empty': this.value == null } }, this.renderCustomIcon(), this.renderClearable(), slot.hasSlot(this.host, 'label') ? (index.h("span", { slot: "label" }, index.h("slot", { name: "label" }))) : null, slot.hasSlot(this.host, 'error-text') ? (index.h("span", { slot: "error-text" }, index.h("slot", { name: "error-text" }))) : null), this.open && (index.h("div", { key: 'ceaf12686b514b8708e1b254e8ed8990c519e19b', part: "popup", ref: (el) => (this.popup = el), class: {
1015
+ datepicker__popup: true,
1016
+ 'datepicker__popup--is-up': this.placement != null ? this.placement === 'top' : this.isDropDownContentUp,
1017
+ 'datepicker__popup--is-inline': this.inline,
1018
+ } }, this.renderHeader(), this.renderBody(), this.type === 'date-time' && (index.h("six-timepicker", { key: 'c978d4bf39f7b212eb6f4f37acbfc2f5533e2ebc', debounce: this.debounce, inline: true, "onSix-timepicker-change-debounced": (event) => this.onTimepickerChange(event), value: ((_a = this.selectedDate) === null || _a === void 0 ? void 0 : _a.getHours()) +
1019
+ ':' +
1020
+ ((_b = this.selectedDate) === null || _b === void 0 ? void 0 : _b.getMinutes()) +
1021
+ ':' +
1022
+ ((_c = this.selectedDate) === null || _c === void 0 ? void 0 : _c.getSeconds()) })), index.h("div", { key: 'ffaec9fff60951e6f8134437f31b359d93b3b91e', class: "datepicker__footer" }, index.h("slot", { key: '58655ebaf55d53e2524eee16e87ecf629fe9eb29' }))))));
1023
+ }
1024
+ adjustPopupPosition() {
1025
+ popup.adjustPopupForHoisting(this.hoist, this.popup, this.inputElement, this.wrapper, MIN_POPUP_HEIGHT, (isUp) => (this.isDropDownContentUp = isUp));
1026
+ popup.adjustPopupForSmallScreens(this.popup);
1027
+ }
1028
+ connectedCallback() {
1029
+ this.eventListeners.forward('six-datepicker-select', 'change', this.host);
1030
+ this.eventListeners.forward('six-datepicker-blur', 'blur', this.host);
1031
+ }
1032
+ disconnectedCallback() {
1033
+ this.eventListeners.removeAll();
1034
+ }
1035
+ static getCurrentDateAsPointer() {
1036
+ return {
1037
+ year: year(now()),
1038
+ month: month(now()),
1039
+ day: day(now()),
1040
+ hours: hours(now()),
1041
+ minutes: minutes(now()),
1042
+ seconds: seconds(now()),
1043
+ };
1044
+ }
1045
+ get host() { return index.getElement(this); }
1046
+ static get watchers() { return {
1047
+ "debounce": ["debounceChanged"],
1048
+ "value": ["valueChanged"]
1049
+ }; }
1152
1050
  };
1153
- SixDatepicker.style = sixDatepickerCss;
1051
+ SixDatepicker.style = SixDatepickerStyle0;
1154
1052
 
1155
1053
  exports.six_datepicker = SixDatepicker;
1156
1054