@six-group/ui-library 3.0.0-beta.1.7

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 (1125) hide show
  1. package/LICENSE +201 -0
  2. package/dist/cjs/event-listeners-4a8d66d5.js +43 -0
  3. package/dist/cjs/execution-control-3bc9c7c4.js +43 -0
  4. package/dist/cjs/focus-visible-b08d956f.js +45 -0
  5. package/dist/cjs/form-control-9e4dffd1.js +32 -0
  6. package/dist/cjs/index-341df120.js +1801 -0
  7. package/dist/cjs/index.cjs.js +2 -0
  8. package/dist/cjs/loader.cjs.js +21 -0
  9. package/dist/cjs/modal-a9679ddf.js +49 -0
  10. package/dist/cjs/popover-e3781f5a.js +1898 -0
  11. package/dist/cjs/scroll-5b8676ba.js +67 -0
  12. package/dist/cjs/set-attributes_2.cjs.entry.js +71 -0
  13. package/dist/cjs/six-alert.cjs.entry.js +142 -0
  14. package/dist/cjs/six-avatar.cjs.entry.js +39 -0
  15. package/dist/cjs/six-badge.cjs.entry.js +37 -0
  16. package/dist/cjs/six-button.cjs.entry.js +108 -0
  17. package/dist/cjs/six-card.cjs.entry.js +19 -0
  18. package/dist/cjs/six-checkbox.cjs.entry.js +163 -0
  19. package/dist/cjs/six-datepicker.cjs.entry.js +1210 -0
  20. package/dist/cjs/six-details.cjs.entry.js +150 -0
  21. package/dist/cjs/six-dialog.cjs.entry.js +163 -0
  22. package/dist/cjs/six-drawer.cjs.entry.js +185 -0
  23. package/dist/cjs/six-dropdown_3.cjs.entry.js +751 -0
  24. package/dist/cjs/six-error-page.cjs.entry.js +105 -0
  25. package/dist/cjs/six-file-list-item.cjs.entry.js +49 -0
  26. package/dist/cjs/six-file-list.cjs.entry.js +19 -0
  27. package/dist/cjs/six-file-upload.cjs.entry.js +107 -0
  28. package/dist/cjs/six-footer.cjs.entry.js +19 -0
  29. package/dist/cjs/six-form.cjs.entry.js +230 -0
  30. package/dist/cjs/six-group-label.cjs.entry.js +57 -0
  31. package/dist/cjs/six-header.cjs.entry.js +160 -0
  32. package/dist/cjs/six-icon-button.cjs.entry.js +44 -0
  33. package/dist/cjs/six-icon.cjs.entry.js +35 -0
  34. package/dist/cjs/six-input.cjs.entry.js +241 -0
  35. package/dist/cjs/six-item-picker.cjs.entry.js +372 -0
  36. package/dist/cjs/six-language-switcher.cjs.entry.js +63 -0
  37. package/dist/cjs/six-layout-grid.cjs.entry.js +30 -0
  38. package/dist/cjs/six-main-container.cjs.entry.js +22 -0
  39. package/dist/cjs/six-menu-divider.cjs.entry.js +19 -0
  40. package/dist/cjs/six-menu-label.cjs.entry.js +19 -0
  41. package/dist/cjs/six-picto.cjs.entry.js +26 -0
  42. package/dist/cjs/six-progress-bar.cjs.entry.js +28 -0
  43. package/dist/cjs/six-progress-ring.cjs.entry.js +42 -0
  44. package/dist/cjs/six-radio.cjs.entry.js +132 -0
  45. package/dist/cjs/six-range.cjs.entry.js +209 -0
  46. package/dist/cjs/six-root.cjs.entry.js +45 -0
  47. package/dist/cjs/six-search-field.cjs.entry.js +54 -0
  48. package/dist/cjs/six-select.cjs.entry.js +458 -0
  49. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +53 -0
  50. package/dist/cjs/six-sidebar-item.cjs.entry.js +29 -0
  51. package/dist/cjs/six-sidebar.cjs.entry.js +182 -0
  52. package/dist/cjs/six-spinner.cjs.entry.js +27 -0
  53. package/dist/cjs/six-switch.cjs.entry.js +111 -0
  54. package/dist/cjs/six-tab-group.cjs.entry.js +237 -0
  55. package/dist/cjs/six-tab-panel.cjs.entry.js +28 -0
  56. package/dist/cjs/six-tab.cjs.entry.js +53 -0
  57. package/dist/cjs/six-table-cell_4.cjs.entry.js +102 -0
  58. package/dist/cjs/six-table.cjs.entry.js +168 -0
  59. package/dist/cjs/six-tag.cjs.entry.js +51 -0
  60. package/dist/cjs/six-textarea.cjs.entry.js +222 -0
  61. package/dist/cjs/six-tile.cjs.entry.js +100 -0
  62. package/dist/cjs/six-timepicker.cjs.entry.js +504 -0
  63. package/dist/cjs/six-timepicker.types-c58cc88b.js +54 -0
  64. package/dist/cjs/six-tooltip.cjs.entry.js +183 -0
  65. package/dist/cjs/slot-8abe833c.js +50 -0
  66. package/dist/cjs/types-0c28e484.js +15 -0
  67. package/dist/cjs/types-65e5c95b.js +15 -0
  68. package/dist/cjs/ui-library.cjs.js +19 -0
  69. package/dist/collection/assets/TRADEMARKS.md +7 -0
  70. package/dist/collection/assets/commons.js +5 -0
  71. package/dist/collection/assets/data.json +642 -0
  72. package/dist/collection/collection-manifest.json +69 -0
  73. package/dist/collection/components/six-alert/six-alert.css +109 -0
  74. package/dist/collection/components/six-alert/six-alert.js +366 -0
  75. package/dist/collection/components/six-avatar/six-avatar.css +74 -0
  76. package/dist/collection/components/six-avatar/six-avatar.js +131 -0
  77. package/dist/collection/components/six-badge/six-badge.css +101 -0
  78. package/dist/collection/components/six-badge/six-badge.js +101 -0
  79. package/dist/collection/components/six-button/six-button.css +372 -0
  80. package/dist/collection/components/six-button/six-button.js +466 -0
  81. package/dist/collection/components/six-card/six-card.css +15 -0
  82. package/dist/collection/components/six-card/six-card.js +21 -0
  83. package/dist/collection/components/six-checkbox/six-checkbox.css +166 -0
  84. package/dist/collection/components/six-checkbox/six-checkbox.js +550 -0
  85. package/dist/collection/components/six-datepicker/components/day-selection.js +13 -0
  86. package/dist/collection/components/six-datepicker/components/month-selection.js +12 -0
  87. package/dist/collection/components/six-datepicker/components/year-selection.js +10 -0
  88. package/dist/collection/components/six-datepicker/six-date-formats.js +23 -0
  89. package/dist/collection/components/six-datepicker/six-datepicker.css +156 -0
  90. package/dist/collection/components/six-datepicker/six-datepicker.js +1343 -0
  91. package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js +16 -0
  92. package/dist/collection/components/six-details/six-details.css +118 -0
  93. package/dist/collection/components/six-details/six-details.js +432 -0
  94. package/dist/collection/components/six-dialog/six-dialog.css +123 -0
  95. package/dist/collection/components/six-dialog/six-dialog.js +401 -0
  96. package/dist/collection/components/six-drawer/six-drawer.css +166 -0
  97. package/dist/collection/components/six-drawer/six-drawer.js +458 -0
  98. package/dist/collection/components/six-dropdown/six-dropdown.css +67 -0
  99. package/dist/collection/components/six-dropdown/six-dropdown.js +939 -0
  100. package/dist/collection/components/six-error-page/six-error-page.css +17 -0
  101. package/dist/collection/components/six-error-page/six-error-page.js +199 -0
  102. package/dist/collection/components/six-file-list/six-file-list.css +6 -0
  103. package/dist/collection/components/six-file-list/six-file-list.js +20 -0
  104. package/dist/collection/components/six-file-list-item/six-file-list-item.css +36 -0
  105. package/dist/collection/components/six-file-list-item/six-file-list-item.js +203 -0
  106. package/dist/collection/components/six-file-upload/six-file-upload.css +63 -0
  107. package/dist/collection/components/six-file-upload/six-file-upload.js +272 -0
  108. package/dist/collection/components/six-footer/six-footer.css +20 -0
  109. package/dist/collection/components/six-footer/six-footer.js +21 -0
  110. package/dist/collection/components/six-form/six-form.css +11 -0
  111. package/dist/collection/components/six-form/six-form.js +408 -0
  112. package/dist/collection/components/six-group-label/six-group-label.css +88 -0
  113. package/dist/collection/components/six-group-label/six-group-label.js +166 -0
  114. package/dist/collection/components/six-header/assets/six-logo.svg +1 -0
  115. package/dist/collection/components/six-header/six-header.css +79 -0
  116. package/dist/collection/components/six-header/six-header.js +420 -0
  117. package/dist/collection/components/six-icon/six-icon.css +63 -0
  118. package/dist/collection/components/six-icon/six-icon.js +77 -0
  119. package/dist/collection/components/six-icon-button/six-icon-button.css +71 -0
  120. package/dist/collection/components/six-icon-button/six-icon-button.js +142 -0
  121. package/dist/collection/components/six-input/six-input.css +298 -0
  122. package/dist/collection/components/six-input/six-input.js +1141 -0
  123. package/dist/collection/components/six-item-picker/six-item-picker.css +40 -0
  124. package/dist/collection/components/six-item-picker/six-item-picker.js +688 -0
  125. package/dist/collection/components/six-item-picker/types.js +13 -0
  126. package/dist/collection/components/six-language-switcher/six-language-switcher.css +15 -0
  127. package/dist/collection/components/six-language-switcher/six-language-switcher.js +128 -0
  128. package/dist/collection/components/six-layout-grid/six-layout-grid.css +5 -0
  129. package/dist/collection/components/six-layout-grid/six-layout-grid.js +52 -0
  130. package/dist/collection/components/six-main-container/six-main-container.css +20 -0
  131. package/dist/collection/components/six-main-container/six-main-container.js +53 -0
  132. package/dist/collection/components/six-menu/six-menu.css +26 -0
  133. package/dist/collection/components/six-menu/six-menu.js +406 -0
  134. package/dist/collection/components/six-menu-divider/six-menu-divider.css +16 -0
  135. package/dist/collection/components/six-menu-divider/six-menu-divider.js +22 -0
  136. package/dist/collection/components/six-menu-item/six-menu-item.css +71 -0
  137. package/dist/collection/components/six-menu-item/six-menu-item.js +177 -0
  138. package/dist/collection/components/six-menu-label/six-menu-label.css +22 -0
  139. package/dist/collection/components/six-menu-label/six-menu-label.js +25 -0
  140. package/dist/collection/components/six-picto/six-picto.css +1232 -0
  141. package/dist/collection/components/six-picto/six-picto.js +50 -0
  142. package/dist/collection/components/six-progress-bar/six-progress-bar.css +60 -0
  143. package/dist/collection/components/six-progress-bar/six-progress-bar.js +77 -0
  144. package/dist/collection/components/six-progress-ring/six-progress-ring.css +52 -0
  145. package/dist/collection/components/six-progress-ring/six-progress-ring.js +111 -0
  146. package/dist/collection/components/six-radio/six-radio.css +84 -0
  147. package/dist/collection/components/six-radio/six-radio.js +410 -0
  148. package/dist/collection/components/six-range/six-range.css +231 -0
  149. package/dist/collection/components/six-range/six-range.js +620 -0
  150. package/dist/collection/components/six-root/six-root.css +48 -0
  151. package/dist/collection/components/six-root/six-root.js +167 -0
  152. package/dist/collection/components/six-search-field/six-search-field.css +18 -0
  153. package/dist/collection/components/six-search-field/six-search-field.js +171 -0
  154. package/dist/collection/components/six-select/six-select.css +348 -0
  155. package/dist/collection/components/six-select/six-select.js +1105 -0
  156. package/dist/collection/components/six-sidebar/six-sidebar.css +47 -0
  157. package/dist/collection/components/six-sidebar/six-sidebar.js +455 -0
  158. package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +22 -0
  159. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +89 -0
  160. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +32 -0
  161. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +158 -0
  162. package/dist/collection/components/six-spinner/six-spinner.css +79 -0
  163. package/dist/collection/components/six-spinner/six-spinner.js +55 -0
  164. package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +49 -0
  165. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +46 -0
  166. package/dist/collection/components/six-switch/six-switch.css +90 -0
  167. package/dist/collection/components/six-switch/six-switch.js +393 -0
  168. package/dist/collection/components/six-tab/six-tab.css +54 -0
  169. package/dist/collection/components/six-tab/six-tab.js +198 -0
  170. package/dist/collection/components/six-tab-group/six-tab-group.css +155 -0
  171. package/dist/collection/components/six-tab-group/six-tab-group.js +362 -0
  172. package/dist/collection/components/six-tab-panel/six-tab-panel.css +17 -0
  173. package/dist/collection/components/six-tab-panel/six-tab-panel.js +75 -0
  174. package/dist/collection/components/six-table/six-table.css +44 -0
  175. package/dist/collection/components/six-table/six-table.js +209 -0
  176. package/dist/collection/components/six-table/test/helpers.js +13 -0
  177. package/dist/collection/components/six-table/types.js +8 -0
  178. package/dist/collection/components/six-table/util/filter-by.js +34 -0
  179. package/dist/collection/components/six-table/util/from-data.js +33 -0
  180. package/dist/collection/components/six-table/util/is.js +3 -0
  181. package/dist/collection/components/six-table/util/quick-filter-by.js +13 -0
  182. package/dist/collection/components/six-table/util/sort-by.js +25 -0
  183. package/dist/collection/components/six-table-cell/six-table-cell.css +13 -0
  184. package/dist/collection/components/six-table-cell/six-table-cell.js +21 -0
  185. package/dist/collection/components/six-table-header/six-table-header.css +17 -0
  186. package/dist/collection/components/six-table-header/six-table-header.js +21 -0
  187. package/dist/collection/components/six-table-header-cell/get-next-state.js +7 -0
  188. package/dist/collection/components/six-table-header-cell/icons.js +12 -0
  189. package/dist/collection/components/six-table-header-cell/six-table-header-cell.css +37 -0
  190. package/dist/collection/components/six-table-header-cell/six-table-header-cell.js +174 -0
  191. package/dist/collection/components/six-table-header-cell/types.js +13 -0
  192. package/dist/collection/components/six-table-header-cell/util/create-model.js +6 -0
  193. package/dist/collection/components/six-table-header-cell/util/get-next-state.js +7 -0
  194. package/dist/collection/components/six-table-row/six-table-row.css +16 -0
  195. package/dist/collection/components/six-table-row/six-table-row.js +21 -0
  196. package/dist/collection/components/six-tag/six-tag.css +103 -0
  197. package/dist/collection/components/six-tag/six-tag.js +157 -0
  198. package/dist/collection/components/six-textarea/six-textarea.css +196 -0
  199. package/dist/collection/components/six-textarea/six-textarea.js +912 -0
  200. package/dist/collection/components/six-tile/six-tile.css +105 -0
  201. package/dist/collection/components/six-tile/six-tile.js +315 -0
  202. package/dist/collection/components/six-timepicker/six-time-format.js +14 -0
  203. package/dist/collection/components/six-timepicker/six-timepicker.css +94 -0
  204. package/dist/collection/components/six-timepicker/six-timepicker.js +980 -0
  205. package/dist/collection/components/six-timepicker/six-timepicker.types.js +40 -0
  206. package/dist/collection/components/six-tooltip/six-tooltip.css +146 -0
  207. package/dist/collection/components/six-tooltip/six-tooltip.js +435 -0
  208. package/dist/collection/files/file-list.json +308 -0
  209. package/dist/collection/files/noto-sans-all-100-italic.woff +0 -0
  210. package/dist/collection/files/noto-sans-all-100-normal.woff +0 -0
  211. package/dist/collection/files/noto-sans-all-200-italic.woff +0 -0
  212. package/dist/collection/files/noto-sans-all-200-normal.woff +0 -0
  213. package/dist/collection/files/noto-sans-all-300-italic.woff +0 -0
  214. package/dist/collection/files/noto-sans-all-300-normal.woff +0 -0
  215. package/dist/collection/files/noto-sans-all-400-italic.woff +0 -0
  216. package/dist/collection/files/noto-sans-all-400-normal.woff +0 -0
  217. package/dist/collection/files/noto-sans-all-500-italic.woff +0 -0
  218. package/dist/collection/files/noto-sans-all-500-normal.woff +0 -0
  219. package/dist/collection/files/noto-sans-all-600-italic.woff +0 -0
  220. package/dist/collection/files/noto-sans-all-600-normal.woff +0 -0
  221. package/dist/collection/files/noto-sans-all-700-italic.woff +0 -0
  222. package/dist/collection/files/noto-sans-all-700-normal.woff +0 -0
  223. package/dist/collection/files/noto-sans-all-800-italic.woff +0 -0
  224. package/dist/collection/files/noto-sans-all-800-normal.woff +0 -0
  225. package/dist/collection/files/noto-sans-all-900-italic.woff +0 -0
  226. package/dist/collection/files/noto-sans-all-900-normal.woff +0 -0
  227. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
  228. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  229. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
  230. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  231. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
  232. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  233. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
  234. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  235. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
  236. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  237. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
  238. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  239. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
  240. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  241. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
  242. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  243. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
  244. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  245. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
  246. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  247. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
  248. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  249. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
  250. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  251. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
  252. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  253. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
  254. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  255. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
  256. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  257. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
  258. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  259. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
  260. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  261. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
  262. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  263. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  264. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  265. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  266. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  267. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  268. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  269. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  270. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  271. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  272. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  273. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  274. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  275. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  276. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  277. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  278. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  279. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  280. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  281. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  282. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  283. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  284. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  285. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  286. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  287. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  288. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  289. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  290. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  291. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  292. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  293. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  294. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  295. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  296. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  297. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  298. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  299. package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
  300. package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  301. package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
  302. package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  303. package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
  304. package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  305. package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
  306. package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  307. package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
  308. package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  309. package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
  310. package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  311. package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
  312. package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  313. package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
  314. package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  315. package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
  316. package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  317. package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
  318. package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  319. package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
  320. package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  321. package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
  322. package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  323. package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
  324. package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  325. package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
  326. package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  327. package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
  328. package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  329. package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
  330. package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  331. package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
  332. package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  333. package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
  334. package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  335. package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
  336. package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
  337. package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
  338. package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
  339. package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
  340. package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
  341. package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
  342. package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
  343. package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
  344. package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
  345. package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
  346. package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
  347. package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
  348. package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
  349. package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
  350. package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
  351. package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
  352. package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
  353. package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
  354. package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
  355. package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
  356. package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
  357. package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
  358. package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
  359. package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
  360. package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
  361. package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
  362. package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
  363. package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
  364. package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
  365. package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
  366. package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
  367. package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
  368. package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
  369. package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
  370. package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
  371. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
  372. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  373. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
  374. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  375. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
  376. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  377. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
  378. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  379. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
  380. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  381. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
  382. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  383. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
  384. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  385. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
  386. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  387. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
  388. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  389. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
  390. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  391. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
  392. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  393. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
  394. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  395. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
  396. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  397. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
  398. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  399. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
  400. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  401. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
  402. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  403. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
  404. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  405. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
  406. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  407. package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
  408. package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
  409. package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
  410. package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
  411. package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
  412. package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
  413. package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
  414. package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
  415. package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
  416. package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
  417. package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
  418. package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
  419. package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
  420. package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
  421. package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
  422. package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
  423. package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
  424. package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
  425. package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
  426. package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
  427. package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
  428. package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
  429. package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
  430. package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
  431. package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
  432. package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
  433. package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
  434. package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
  435. package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
  436. package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
  437. package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
  438. package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
  439. package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
  440. package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
  441. package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
  442. package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
  443. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
  444. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  445. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
  446. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  447. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
  448. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  449. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
  450. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  451. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
  452. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  453. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
  454. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  455. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
  456. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  457. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
  458. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  459. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
  460. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  461. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
  462. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  463. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
  464. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  465. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
  466. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  467. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
  468. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  469. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
  470. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  471. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
  472. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  473. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
  474. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  475. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
  476. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  477. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
  478. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  479. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
  480. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  481. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
  482. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  483. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
  484. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  485. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
  486. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  487. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
  488. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  489. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
  490. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  491. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
  492. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  493. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
  494. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  495. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
  496. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  497. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
  498. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  499. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
  500. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  501. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
  502. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  503. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
  504. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  505. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
  506. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  507. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
  508. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  509. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
  510. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  511. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
  512. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  513. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
  514. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  515. package/dist/collection/functional-components/form-control/form-control.js +28 -0
  516. package/dist/collection/index.js +1 -0
  517. package/dist/collection/material-icons-outlined.woff +0 -0
  518. package/dist/collection/material-icons-outlined.woff2 +0 -0
  519. package/dist/collection/material-icons-round.woff +0 -0
  520. package/dist/collection/material-icons-round.woff2 +0 -0
  521. package/dist/collection/material-icons-sharp.woff +0 -0
  522. package/dist/collection/material-icons-sharp.woff2 +0 -0
  523. package/dist/collection/material-icons-two-tone.woff +0 -0
  524. package/dist/collection/material-icons-two-tone.woff2 +0 -0
  525. package/dist/collection/material-icons.css +124 -0
  526. package/dist/collection/material-icons.scss +5 -0
  527. package/dist/collection/material-icons.woff +0 -0
  528. package/dist/collection/material-icons.woff2 +0 -0
  529. package/dist/collection/testUtil/delay.js +3 -0
  530. package/dist/collection/utils/as-array.js +1 -0
  531. package/dist/collection/utils/date-util.js +712 -0
  532. package/dist/collection/utils/event-listeners.js +39 -0
  533. package/dist/collection/utils/execution-control.js +38 -0
  534. package/dist/collection/utils/focus-visible.js +41 -0
  535. package/dist/collection/utils/matchers.js +2 -0
  536. package/dist/collection/utils/modal.js +28 -0
  537. package/dist/collection/utils/offset.js +13 -0
  538. package/dist/collection/utils/popover.js +113 -0
  539. package/dist/collection/utils/scroll.js +47 -0
  540. package/dist/collection/utils/slot.js +59 -0
  541. package/dist/collection/utils/support.js +15 -0
  542. package/dist/collection/utils/tabbable.js +22 -0
  543. package/dist/collection/utils/testing.js +38 -0
  544. package/dist/collection/utils/time.util.js +74 -0
  545. package/dist/collection/utils/type-check.js +5 -0
  546. package/dist/collection/utils/types.js +1 -0
  547. package/dist/collection/wrappers/set-attributes/set-attributes.js +68 -0
  548. package/dist/components.d.ts +121 -0
  549. package/dist/components.json +12649 -0
  550. package/dist/custom-elements/index.d.ts +387 -0
  551. package/dist/custom-elements/index.js +9757 -0
  552. package/dist/esm/event-listeners-1bef934e.js +41 -0
  553. package/dist/esm/execution-control-235f5126.js +38 -0
  554. package/dist/esm/focus-visible-4b7946aa.js +43 -0
  555. package/dist/esm/form-control-17478ad2.js +30 -0
  556. package/dist/esm/index-a2605a62.js +1771 -0
  557. package/dist/esm/index.js +1 -0
  558. package/dist/esm/loader.js +17 -0
  559. package/dist/esm/modal-e5709f6b.js +46 -0
  560. package/dist/esm/polyfills/core-js.js +11 -0
  561. package/dist/esm/polyfills/css-shim.js +1 -0
  562. package/dist/esm/polyfills/dom.js +79 -0
  563. package/dist/esm/polyfills/es5-html-element.js +1 -0
  564. package/dist/esm/polyfills/index.js +34 -0
  565. package/dist/esm/polyfills/system.js +6 -0
  566. package/dist/esm/popover-5a51f84d.js +1896 -0
  567. package/dist/esm/scroll-99b214c2.js +62 -0
  568. package/dist/esm/set-attributes_2.entry.js +66 -0
  569. package/dist/esm/six-alert.entry.js +138 -0
  570. package/dist/esm/six-avatar.entry.js +35 -0
  571. package/dist/esm/six-badge.entry.js +33 -0
  572. package/dist/esm/six-button.entry.js +104 -0
  573. package/dist/esm/six-card.entry.js +15 -0
  574. package/dist/esm/six-checkbox.entry.js +159 -0
  575. package/dist/esm/six-datepicker.entry.js +1206 -0
  576. package/dist/esm/six-details.entry.js +146 -0
  577. package/dist/esm/six-dialog.entry.js +159 -0
  578. package/dist/esm/six-drawer.entry.js +181 -0
  579. package/dist/esm/six-dropdown_3.entry.js +745 -0
  580. package/dist/esm/six-error-page.entry.js +101 -0
  581. package/dist/esm/six-file-list-item.entry.js +45 -0
  582. package/dist/esm/six-file-list.entry.js +15 -0
  583. package/dist/esm/six-file-upload.entry.js +103 -0
  584. package/dist/esm/six-footer.entry.js +15 -0
  585. package/dist/esm/six-form.entry.js +226 -0
  586. package/dist/esm/six-group-label.entry.js +53 -0
  587. package/dist/esm/six-header.entry.js +156 -0
  588. package/dist/esm/six-icon-button.entry.js +40 -0
  589. package/dist/esm/six-icon.entry.js +31 -0
  590. package/dist/esm/six-input.entry.js +237 -0
  591. package/dist/esm/six-item-picker.entry.js +368 -0
  592. package/dist/esm/six-language-switcher.entry.js +59 -0
  593. package/dist/esm/six-layout-grid.entry.js +26 -0
  594. package/dist/esm/six-main-container.entry.js +18 -0
  595. package/dist/esm/six-menu-divider.entry.js +15 -0
  596. package/dist/esm/six-menu-label.entry.js +15 -0
  597. package/dist/esm/six-picto.entry.js +22 -0
  598. package/dist/esm/six-progress-bar.entry.js +24 -0
  599. package/dist/esm/six-progress-ring.entry.js +38 -0
  600. package/dist/esm/six-radio.entry.js +128 -0
  601. package/dist/esm/six-range.entry.js +205 -0
  602. package/dist/esm/six-root.entry.js +41 -0
  603. package/dist/esm/six-search-field.entry.js +50 -0
  604. package/dist/esm/six-select.entry.js +454 -0
  605. package/dist/esm/six-sidebar-item-group.entry.js +49 -0
  606. package/dist/esm/six-sidebar-item.entry.js +25 -0
  607. package/dist/esm/six-sidebar.entry.js +178 -0
  608. package/dist/esm/six-spinner.entry.js +23 -0
  609. package/dist/esm/six-switch.entry.js +107 -0
  610. package/dist/esm/six-tab-group.entry.js +233 -0
  611. package/dist/esm/six-tab-panel.entry.js +24 -0
  612. package/dist/esm/six-tab.entry.js +49 -0
  613. package/dist/esm/six-table-cell_4.entry.js +95 -0
  614. package/dist/esm/six-table.entry.js +164 -0
  615. package/dist/esm/six-tag.entry.js +47 -0
  616. package/dist/esm/six-textarea.entry.js +218 -0
  617. package/dist/esm/six-tile.entry.js +96 -0
  618. package/dist/esm/six-timepicker.entry.js +500 -0
  619. package/dist/esm/six-timepicker.types-cd6bac03.js +48 -0
  620. package/dist/esm/six-tooltip.entry.js +179 -0
  621. package/dist/esm/slot-5253e199.js +45 -0
  622. package/dist/esm/types-33d15673.js +15 -0
  623. package/dist/esm/types-a37c1695.js +15 -0
  624. package/dist/esm/ui-library.js +17 -0
  625. package/dist/index.cjs.js +1 -0
  626. package/dist/index.js +1 -0
  627. package/dist/types/components/six-alert/six-alert.d.ts +60 -0
  628. package/dist/types/components/six-avatar/six-avatar.d.ts +27 -0
  629. package/dist/types/components/six-badge/six-badge.d.ts +20 -0
  630. package/dist/types/components/six-button/six-button.d.ts +69 -0
  631. package/dist/types/components/six-card/six-card.d.ts +9 -0
  632. package/dist/types/components/six-checkbox/six-checkbox.d.ts +86 -0
  633. package/dist/types/components/six-datepicker/components/day-selection.d.ts +5 -0
  634. package/dist/types/components/six-datepicker/components/month-selection.d.ts +5 -0
  635. package/dist/types/components/six-datepicker/components/year-selection.d.ts +5 -0
  636. package/dist/types/components/six-datepicker/six-date-formats.d.ts +22 -0
  637. package/dist/types/components/six-datepicker/six-datepicker.d.ts +214 -0
  638. package/dist/types/components/six-datepicker/test/six-datepicker.test-helpers.d.ts +1 -0
  639. package/dist/types/components/six-details/six-details.d.ts +61 -0
  640. package/dist/types/components/six-dialog/six-dialog.d.ts +75 -0
  641. package/dist/types/components/six-drawer/six-drawer.d.ts +82 -0
  642. package/dist/types/components/six-dropdown/six-dropdown.d.ts +140 -0
  643. package/dist/types/components/six-error-page/six-error-page.d.ts +27 -0
  644. package/dist/types/components/six-file-list/six-file-list.d.ts +8 -0
  645. package/dist/types/components/six-file-list-item/six-file-list-item.d.ts +35 -0
  646. package/dist/types/components/six-file-upload/six-file-upload.d.ts +42 -0
  647. package/dist/types/components/six-footer/six-footer.d.ts +9 -0
  648. package/dist/types/components/six-form/six-form.d.ts +69 -0
  649. package/dist/types/components/six-group-label/six-group-label.d.ts +37 -0
  650. package/dist/types/components/six-header/six-header.d.ts +90 -0
  651. package/dist/types/components/six-icon/six-icon.d.ts +13 -0
  652. package/dist/types/components/six-icon-button/six-icon-button.d.ts +28 -0
  653. package/dist/types/components/six-input/six-input.d.ts +165 -0
  654. package/dist/types/components/six-item-picker/six-item-picker.d.ts +106 -0
  655. package/dist/types/components/six-item-picker/types.d.ts +11 -0
  656. package/dist/types/components/six-language-switcher/six-language-switcher.d.ts +25 -0
  657. package/dist/types/components/six-layout-grid/six-layout-grid.d.ts +14 -0
  658. package/dist/types/components/six-main-container/six-main-container.d.ts +16 -0
  659. package/dist/types/components/six-menu/six-menu.d.ts +81 -0
  660. package/dist/types/components/six-menu-divider/six-menu-divider.d.ts +11 -0
  661. package/dist/types/components/six-menu-item/six-menu-item.d.ts +36 -0
  662. package/dist/types/components/six-menu-label/six-menu-label.d.ts +13 -0
  663. package/dist/types/components/six-picto/six-picto.d.ts +14 -0
  664. package/dist/types/components/six-progress-bar/six-progress-bar.d.ts +19 -0
  665. package/dist/types/components/six-progress-ring/six-progress-ring.d.ts +24 -0
  666. package/dist/types/components/six-radio/six-radio.d.ts +66 -0
  667. package/dist/types/components/six-range/six-range.d.ts +101 -0
  668. package/dist/types/components/six-root/six-root.d.ts +34 -0
  669. package/dist/types/components/six-search-field/six-search-field.d.ts +32 -0
  670. package/dist/types/components/six-select/six-select.d.ts +163 -0
  671. package/dist/types/components/six-sidebar/six-sidebar.d.ts +55 -0
  672. package/dist/types/components/six-sidebar-item/six-sidebar-item.d.ts +15 -0
  673. package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +26 -0
  674. package/dist/types/components/six-spinner/six-spinner.d.ts +15 -0
  675. package/dist/types/components/six-stage-indicator/six-stage-indicator.d.ts +6 -0
  676. package/dist/types/components/six-switch/six-switch.d.ts +62 -0
  677. package/dist/types/components/six-tab/six-tab.d.ts +35 -0
  678. package/dist/types/components/six-tab-group/six-tab-group.d.ts +62 -0
  679. package/dist/types/components/six-tab-panel/six-tab-panel.d.ts +19 -0
  680. package/dist/types/components/six-table/six-table.d.ts +30 -0
  681. package/dist/types/components/six-table/test/helpers.d.ts +2 -0
  682. package/dist/types/components/six-table/types.d.ts +33 -0
  683. package/dist/types/components/six-table/util/filter-by.d.ts +2 -0
  684. package/dist/types/components/six-table/util/from-data.d.ts +8 -0
  685. package/dist/types/components/six-table/util/is.d.ts +3 -0
  686. package/dist/types/components/six-table/util/quick-filter-by.d.ts +2 -0
  687. package/dist/types/components/six-table/util/sort-by.d.ts +2 -0
  688. package/dist/types/components/six-table-cell/six-table-cell.d.ts +9 -0
  689. package/dist/types/components/six-table-header/six-table-header.d.ts +9 -0
  690. package/dist/types/components/six-table-header-cell/get-next-state.d.ts +2 -0
  691. package/dist/types/components/six-table-header-cell/icons.d.ts +3 -0
  692. package/dist/types/components/six-table-header-cell/six-table-header-cell.d.ts +32 -0
  693. package/dist/types/components/six-table-header-cell/types.d.ts +11 -0
  694. package/dist/types/components/six-table-header-cell/util/create-model.d.ts +4 -0
  695. package/dist/types/components/six-table-header-cell/util/get-next-state.d.ts +3 -0
  696. package/dist/types/components/six-table-row/six-table-row.d.ts +9 -0
  697. package/dist/types/components/six-tag/six-tag.d.ts +30 -0
  698. package/dist/types/components/six-textarea/six-textarea.d.ts +134 -0
  699. package/dist/types/components/six-tile/six-tile.d.ts +40 -0
  700. package/dist/types/components/six-timepicker/six-time-format.d.ts +13 -0
  701. package/dist/types/components/six-timepicker/six-timepicker.d.ts +184 -0
  702. package/dist/types/components/six-timepicker/six-timepicker.types.d.ts +36 -0
  703. package/dist/types/components/six-tooltip/six-tooltip.d.ts +72 -0
  704. package/dist/types/components.d.ts +4335 -0
  705. package/dist/types/functional-components/form-control/form-control.d.ts +34 -0
  706. package/dist/types/index.d.ts +1 -0
  707. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  708. package/dist/types/testUtil/delay.d.ts +1 -0
  709. package/dist/types/utils/as-array.d.ts +1 -0
  710. package/dist/types/utils/date-util.d.ts +194 -0
  711. package/dist/types/utils/event-listeners.d.ts +15 -0
  712. package/dist/types/utils/execution-control.d.ts +26 -0
  713. package/dist/types/utils/focus-visible.d.ts +6 -0
  714. package/dist/types/utils/matchers.d.ts +2 -0
  715. package/dist/types/utils/modal.d.ts +13 -0
  716. package/dist/types/utils/offset.d.ts +4 -0
  717. package/dist/types/utils/popover.d.ts +27 -0
  718. package/dist/types/utils/popper.d.ts +33 -0
  719. package/dist/types/utils/scroll.d.ts +3 -0
  720. package/dist/types/utils/slot.d.ts +9 -0
  721. package/dist/types/utils/support.d.ts +1 -0
  722. package/dist/types/utils/tabbable.d.ts +2 -0
  723. package/dist/types/utils/testing.d.ts +2 -0
  724. package/dist/types/utils/time.util.d.ts +10 -0
  725. package/dist/types/utils/type-check.d.ts +4 -0
  726. package/dist/types/utils/types.d.ts +4 -0
  727. package/dist/types/wrappers/set-attributes/set-attributes.d.ts +9 -0
  728. package/dist/ui-library/assets/TRADEMARKS.md +7 -0
  729. package/dist/ui-library/assets/commons.js +5 -0
  730. package/dist/ui-library/assets/data.json +642 -0
  731. package/dist/ui-library/assets/six-logo.svg +1 -0
  732. package/dist/ui-library/files/file-list.json +308 -0
  733. package/dist/ui-library/files/noto-sans-all-100-italic.woff +0 -0
  734. package/dist/ui-library/files/noto-sans-all-100-normal.woff +0 -0
  735. package/dist/ui-library/files/noto-sans-all-200-italic.woff +0 -0
  736. package/dist/ui-library/files/noto-sans-all-200-normal.woff +0 -0
  737. package/dist/ui-library/files/noto-sans-all-300-italic.woff +0 -0
  738. package/dist/ui-library/files/noto-sans-all-300-normal.woff +0 -0
  739. package/dist/ui-library/files/noto-sans-all-400-italic.woff +0 -0
  740. package/dist/ui-library/files/noto-sans-all-400-normal.woff +0 -0
  741. package/dist/ui-library/files/noto-sans-all-500-italic.woff +0 -0
  742. package/dist/ui-library/files/noto-sans-all-500-normal.woff +0 -0
  743. package/dist/ui-library/files/noto-sans-all-600-italic.woff +0 -0
  744. package/dist/ui-library/files/noto-sans-all-600-normal.woff +0 -0
  745. package/dist/ui-library/files/noto-sans-all-700-italic.woff +0 -0
  746. package/dist/ui-library/files/noto-sans-all-700-normal.woff +0 -0
  747. package/dist/ui-library/files/noto-sans-all-800-italic.woff +0 -0
  748. package/dist/ui-library/files/noto-sans-all-800-normal.woff +0 -0
  749. package/dist/ui-library/files/noto-sans-all-900-italic.woff +0 -0
  750. package/dist/ui-library/files/noto-sans-all-900-normal.woff +0 -0
  751. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
  752. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  753. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
  754. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  755. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
  756. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  757. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
  758. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  759. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
  760. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  761. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
  762. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  763. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
  764. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  765. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
  766. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  767. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
  768. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  769. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
  770. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  771. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
  772. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  773. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
  774. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  775. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
  776. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  777. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
  778. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  779. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
  780. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  781. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
  782. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  783. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
  784. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  785. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
  786. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  787. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  788. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  789. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  790. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  791. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  792. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  793. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  794. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  795. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  796. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  797. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  798. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  799. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  800. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  801. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  802. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  803. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  804. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  805. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  806. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  807. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  808. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  809. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  810. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  811. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  812. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  813. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  814. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  815. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  816. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  817. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  818. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  819. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  820. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  821. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  822. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  823. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
  824. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  825. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
  826. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  827. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
  828. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  829. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
  830. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  831. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
  832. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  833. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
  834. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  835. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
  836. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  837. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
  838. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  839. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
  840. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  841. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
  842. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  843. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
  844. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  845. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
  846. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  847. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
  848. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  849. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
  850. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  851. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
  852. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  853. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
  854. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  855. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
  856. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  857. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
  858. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  859. package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
  860. package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
  861. package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
  862. package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
  863. package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
  864. package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
  865. package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
  866. package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
  867. package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
  868. package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
  869. package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
  870. package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
  871. package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
  872. package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
  873. package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
  874. package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
  875. package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
  876. package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
  877. package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
  878. package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
  879. package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
  880. package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
  881. package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
  882. package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
  883. package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
  884. package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
  885. package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
  886. package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
  887. package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
  888. package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
  889. package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
  890. package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
  891. package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
  892. package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
  893. package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
  894. package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
  895. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
  896. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  897. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
  898. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  899. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
  900. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  901. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
  902. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  903. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
  904. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  905. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
  906. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  907. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
  908. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  909. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
  910. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  911. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
  912. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  913. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
  914. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  915. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
  916. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  917. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
  918. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  919. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
  920. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  921. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
  922. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  923. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
  924. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  925. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
  926. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  927. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
  928. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  929. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
  930. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  931. package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
  932. package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
  933. package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
  934. package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
  935. package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
  936. package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
  937. package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
  938. package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
  939. package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
  940. package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
  941. package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
  942. package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
  943. package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
  944. package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
  945. package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
  946. package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
  947. package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
  948. package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
  949. package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
  950. package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
  951. package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
  952. package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
  953. package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
  954. package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
  955. package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
  956. package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
  957. package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
  958. package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
  959. package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
  960. package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
  961. package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
  962. package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
  963. package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
  964. package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
  965. package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
  966. package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
  967. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
  968. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  969. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
  970. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  971. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
  972. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  973. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
  974. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  975. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
  976. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  977. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
  978. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  979. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
  980. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  981. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
  982. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  983. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
  984. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  985. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
  986. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  987. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
  988. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  989. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
  990. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  991. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
  992. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  993. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
  994. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  995. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
  996. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  997. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
  998. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  999. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
  1000. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  1001. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
  1002. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  1003. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
  1004. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  1005. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
  1006. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  1007. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
  1008. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  1009. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
  1010. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  1011. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
  1012. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  1013. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
  1014. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  1015. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
  1016. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  1017. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
  1018. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  1019. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
  1020. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  1021. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
  1022. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  1023. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
  1024. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  1025. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
  1026. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  1027. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
  1028. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  1029. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
  1030. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  1031. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
  1032. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  1033. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
  1034. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  1035. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
  1036. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  1037. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
  1038. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  1039. package/dist/ui-library/index.esm.js +0 -0
  1040. package/dist/ui-library/material-icons-outlined.woff +0 -0
  1041. package/dist/ui-library/material-icons-outlined.woff2 +0 -0
  1042. package/dist/ui-library/material-icons-round.woff +0 -0
  1043. package/dist/ui-library/material-icons-round.woff2 +0 -0
  1044. package/dist/ui-library/material-icons-sharp.woff +0 -0
  1045. package/dist/ui-library/material-icons-sharp.woff2 +0 -0
  1046. package/dist/ui-library/material-icons-two-tone.woff +0 -0
  1047. package/dist/ui-library/material-icons-two-tone.woff2 +0 -0
  1048. package/dist/ui-library/material-icons.css +124 -0
  1049. package/dist/ui-library/material-icons.scss +5 -0
  1050. package/dist/ui-library/material-icons.woff +0 -0
  1051. package/dist/ui-library/material-icons.woff2 +0 -0
  1052. package/dist/ui-library/p-044c6bf9.js +1 -0
  1053. package/dist/ui-library/p-0493c926.entry.js +1 -0
  1054. package/dist/ui-library/p-1005d1a8.entry.js +1 -0
  1055. package/dist/ui-library/p-12cc24c3.js +1 -0
  1056. package/dist/ui-library/p-191f958b.js +1 -0
  1057. package/dist/ui-library/p-19543c96.entry.js +1 -0
  1058. package/dist/ui-library/p-19ff1079.entry.js +1 -0
  1059. package/dist/ui-library/p-1b92cc7a.entry.js +1 -0
  1060. package/dist/ui-library/p-1c9f0dc6.js +1 -0
  1061. package/dist/ui-library/p-2053c61a.entry.js +1 -0
  1062. package/dist/ui-library/p-2ff97cdf.entry.js +1 -0
  1063. package/dist/ui-library/p-30ebc1e7.js +1 -0
  1064. package/dist/ui-library/p-34e6d8e8.js +1 -0
  1065. package/dist/ui-library/p-354704e5.entry.js +1 -0
  1066. package/dist/ui-library/p-376b8f30.entry.js +1 -0
  1067. package/dist/ui-library/p-3a7daff8.entry.js +1 -0
  1068. package/dist/ui-library/p-3f577392.entry.js +1 -0
  1069. package/dist/ui-library/p-48ea4419.entry.js +1 -0
  1070. package/dist/ui-library/p-4cc01afc.entry.js +1 -0
  1071. package/dist/ui-library/p-572e3690.js +1 -0
  1072. package/dist/ui-library/p-5ead7b2f.entry.js +1 -0
  1073. package/dist/ui-library/p-60491176.entry.js +1 -0
  1074. package/dist/ui-library/p-6494e92d.entry.js +1 -0
  1075. package/dist/ui-library/p-66601906.entry.js +1 -0
  1076. package/dist/ui-library/p-68d31736.js +1 -0
  1077. package/dist/ui-library/p-6a4f0542.entry.js +1 -0
  1078. package/dist/ui-library/p-6f67f986.entry.js +1 -0
  1079. package/dist/ui-library/p-76bfa55f.entry.js +1 -0
  1080. package/dist/ui-library/p-7735d99f.js +1 -0
  1081. package/dist/ui-library/p-7fe09462.entry.js +1 -0
  1082. package/dist/ui-library/p-88e1e390.entry.js +1 -0
  1083. package/dist/ui-library/p-89f68e76.entry.js +1 -0
  1084. package/dist/ui-library/p-8bd0873f.entry.js +1 -0
  1085. package/dist/ui-library/p-8e8e922b.entry.js +1 -0
  1086. package/dist/ui-library/p-968c5169.entry.js +1 -0
  1087. package/dist/ui-library/p-9f2dc381.entry.js +1 -0
  1088. package/dist/ui-library/p-a77a6442.entry.js +1 -0
  1089. package/dist/ui-library/p-a8c225f2.entry.js +1 -0
  1090. package/dist/ui-library/p-a98198bd.entry.js +1 -0
  1091. package/dist/ui-library/p-af3d757c.js +1 -0
  1092. package/dist/ui-library/p-b391f704.entry.js +1 -0
  1093. package/dist/ui-library/p-b9377445.entry.js +1 -0
  1094. package/dist/ui-library/p-b9fb8455.entry.js +1 -0
  1095. package/dist/ui-library/p-bf110ea9.entry.js +1 -0
  1096. package/dist/ui-library/p-c09dc3a9.js +1 -0
  1097. package/dist/ui-library/p-c4b22513.entry.js +1 -0
  1098. package/dist/ui-library/p-c536792e.entry.js +1 -0
  1099. package/dist/ui-library/p-c733dead.js +1 -0
  1100. package/dist/ui-library/p-c948d3db.entry.js +1 -0
  1101. package/dist/ui-library/p-ce02c34f.entry.js +1 -0
  1102. package/dist/ui-library/p-d724bbc9.entry.js +1 -0
  1103. package/dist/ui-library/p-e96dcf96.entry.js +1 -0
  1104. package/dist/ui-library/p-ea1fcff2.entry.js +1 -0
  1105. package/dist/ui-library/p-ea781e94.entry.js +1 -0
  1106. package/dist/ui-library/p-eae232c3.entry.js +1 -0
  1107. package/dist/ui-library/p-eb0956d2.entry.js +1 -0
  1108. package/dist/ui-library/p-ebaea182.entry.js +1 -0
  1109. package/dist/ui-library/p-ec1ecc2a.entry.js +1 -0
  1110. package/dist/ui-library/p-ed21cc57.entry.js +1 -0
  1111. package/dist/ui-library/p-f00c1783.entry.js +1 -0
  1112. package/dist/ui-library/p-f0e91e17.entry.js +1 -0
  1113. package/dist/ui-library/p-f9c0cfb7.entry.js +1 -0
  1114. package/dist/ui-library/p-fcd2356c.entry.js +1 -0
  1115. package/dist/ui-library/p-fdb455d7.entry.js +1 -0
  1116. package/dist/ui-library/ui-library.css +10 -0
  1117. package/dist/ui-library/ui-library.esm.js +1 -0
  1118. package/loader/cdn.js +3 -0
  1119. package/loader/index.cjs.js +3 -0
  1120. package/loader/index.d.ts +12 -0
  1121. package/loader/index.es2017.js +3 -0
  1122. package/loader/index.js +4 -0
  1123. package/loader/package.json +10 -0
  1124. package/package.json +74 -0
  1125. package/readme.md +154 -0
@@ -0,0 +1,1210 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-341df120.js');
6
+ const sixTimepicker_types = require('./six-timepicker.types-c58cc88b.js');
7
+ const eventListeners = require('./event-listeners-4a8d66d5.js');
8
+ const executionControl = require('./execution-control-3bc9c7c4.js');
9
+ const slot = require('./slot-8abe833c.js');
10
+
11
+ 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
+ },
112
+ };
113
+ /**
114
+ * Returns a JS Date instance of the exact moment
115
+ *
116
+ * ```typescript
117
+ * const date = now()
118
+ * // Wed Mar 10 2021 20:30:32 GMT+0100 (Central European Standard Time)
119
+ * ```
120
+ */
121
+ const now = () => new Date();
122
+ /**
123
+ * Returns `true` if the given date is valid
124
+ */
125
+ 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';
136
+ };
137
+ /**
138
+ * Returns the year number of the given date
139
+ *
140
+ * ```typescript
141
+ * year(new Date(2020, 0, 1)) // 2020
142
+ * ```
143
+ */
144
+ const year = (date) => {
145
+ if (date && isValidDate(date)) {
146
+ return date.getFullYear();
147
+ }
148
+ throw new Error('Not a valid date');
149
+ };
150
+ /**
151
+ * Returns the month number of the given date
152
+ *
153
+ * ```typescript
154
+ * month(new Date(2020, 0, 1)) // 0
155
+ * ```
156
+ */
157
+ const month = (date) => {
158
+ if (date && isValidDate(date)) {
159
+ return date.getMonth();
160
+ }
161
+ throw new Error('Not a valid date');
162
+ };
163
+ /**
164
+ * Returns the day number of the given date
165
+ *
166
+ * ```typescript
167
+ * day(new Date(2020, 0, 1)) // 1
168
+ * ```
169
+ */
170
+ const day = (date) => {
171
+ if (date && isValidDate(date)) {
172
+ return date.getDate();
173
+ }
174
+ throw new Error('Not a valid date');
175
+ };
176
+ /**
177
+ * Returns the hours of the given date
178
+ */
179
+ const hours = (date) => {
180
+ if (date && isValidDate(date)) {
181
+ return date.getHours();
182
+ }
183
+ throw new Error('Not a valid date');
184
+ };
185
+ /**
186
+ * Returns the minutes of the given date
187
+ */
188
+ const minutes = (date) => {
189
+ if (date && isValidDate(date)) {
190
+ return date.getMinutes();
191
+ }
192
+ throw new Error('Not a valid date');
193
+ };
194
+ /**
195
+ * Returns the seconds of the given date
196
+ */
197
+ const seconds = (date) => {
198
+ if (date && isValidDate(date)) {
199
+ return date.getSeconds();
200
+ }
201
+ throw new Error('Not a valid date');
202
+ };
203
+ /**
204
+ * Returns the first day of the week of the given date.
205
+ */
206
+ 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;
211
+ };
212
+ /**
213
+ * Returns `true` when the year of the dates are the same
214
+ */
215
+ const isSameYear = (a, b) => (a === null || a === void 0 ? void 0 : a.getFullYear()) === (b === null || b === void 0 ? void 0 : b.getFullYear());
216
+ /**
217
+ * Returns `true` when the month of the dates are the same
218
+ */
219
+ const isSameMonth = (a, b) => isSameYear(a, b) && (a === null || a === void 0 ? void 0 : a.getMonth()) === (b === null || b === void 0 ? void 0 : b.getMonth());
220
+ /**
221
+ * Returns `true` when the day of the dates are the same
222
+ */
223
+ const isSameDay = (a, b) => isSameMonth(a, b) && (a === null || a === void 0 ? void 0 : a.getDate()) === (b === null || b === void 0 ? void 0 : b.getDate());
224
+ /**
225
+ * Returns `true` when the week of the dates are the same
226
+ */
227
+ const isSameWeek = (a, b) => isSameDay(getFirstDayOfTheWeek(a), getFirstDayOfTheWeek(b));
228
+ /**
229
+ * Returns `true` if the given datestring is valid
230
+ */
231
+ 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';
247
+ };
248
+ /**
249
+ * Returns `true` when the given date is not smaller than the minDate and not bigger than the maxDate.
250
+ *
251
+ * ```typescript
252
+ * isInRange(new Date(2020, 1, 1), new Date(2020, 0, 1), new Date(2020, 2, 1)) // true
253
+ * ```
254
+ */
255
+ const isInRange = (date, minDate, maxDate) => {
256
+ if (!date) {
257
+ 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
+ };
267
+ 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;
272
+ };
273
+ const formatNumber = (value, len) => {
274
+ let num = String(value);
275
+ while (num.length < len) {
276
+ num = '0' + num;
277
+ }
278
+ return num;
279
+ };
280
+ 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());
340
+ }
341
+ break;
342
+ default:
343
+ output += format.charAt(iFormat);
344
+ }
345
+ }
346
+ return output;
347
+ };
348
+ const FORMATTING_TOKENS = /(\[[^\[]*\])|(mm|dd|yyyy|yy|hh|MM|ss|.)/g;
349
+ const TWO_NUMERICS_REGEX = /\d\d/; // 00 - 99
350
+ const FOUR_NUMERICS_REGEX = /\d{4}/; // 0000 - 9999
351
+ const NON_NUMERIC_REGEX = /[^0-9]/g;
352
+ const YEAR = 'year';
353
+ const MONTH = 'month';
354
+ const DAY = 'day';
355
+ const HOUR = 'hour';
356
+ const MINUTE = 'minute';
357
+ const SECOND = 'second';
358
+ const parseFlags = {};
359
+ 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
+ });
374
+ };
375
+ 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 };
381
+ });
382
+ addParseFlag('yyyy', FOUR_NUMERICS_REGEX, YEAR);
383
+ addParseFlag('mm', TWO_NUMERICS_REGEX, (input) => ({ [MONTH]: parseInt(input, 10) - 1 }));
384
+ addParseFlag('dd', TWO_NUMERICS_REGEX, DAY);
385
+ addParseFlag('hh', TWO_NUMERICS_REGEX, HOUR);
386
+ addParseFlag('MM', TWO_NUMERICS_REGEX, MINUTE);
387
+ addParseFlag('ss', TWO_NUMERICS_REGEX, SECOND);
388
+ 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;
406
+ }
407
+ }
408
+ return result;
409
+ };
410
+ 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;
419
+ };
420
+ 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
+ }
438
+ }
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;
449
+ };
450
+ 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);
460
+ };
461
+ const getDateParts = (dirtyDateString, format) => {
462
+ const dateString = getCleanDateString(dirtyDateString, format);
463
+ return makeParser(dateString, format);
464
+ };
465
+ 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
+ }
481
+ };
482
+ 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 = [];
489
+ 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;
509
+ };
510
+
511
+ var SixDateFormats;
512
+ (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";
533
+ })(SixDateFormats || (SixDateFormats = {}));
534
+
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)))))))));
544
+ };
545
+
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)))))))));
557
+ };
558
+
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)))))))));
566
+ };
567
+
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-table-row-background-color-hover)}.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}";
569
+
570
+ const NUMBER_OF_YEARS_SHOWN = 25;
571
+ const MIN_POPUP_HEIGHT = 400;
572
+ var SelectionMode;
573
+ (function (SelectionMode) {
574
+ SelectionMode["DAY"] = "day";
575
+ SelectionMode["MONTH"] = "month";
576
+ SelectionMode["YEAR"] = "year";
577
+ })(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
+ let 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.pointerDate = SixDatepicker.getCurrentDateAsPointer();
599
+ this.selectionMode = SelectionMode.DAY;
600
+ this.isDropDownContentUp = false;
601
+ /**
602
+ * Set the type.
603
+ */
604
+ this.type = 'date';
605
+ /**
606
+ * The language used to render the weekdays and months.
607
+ */
608
+ this.locale = 'en';
609
+ /** Indicates whether or not the calendar dropdown is open on startup. You can use this in lieu of the show/hide methods. */
610
+ this.open = false;
611
+ /** Indicates whether or not the calendar should be shown as an inline (always open) component */
612
+ this.inline = false;
613
+ /**
614
+ * If `true` the user can only select a date via the component in the popup, but not directly edit the input field.
615
+ */
616
+ this.readonly = false;
617
+ /**
618
+ * If `true` the component is disabled.
619
+ */
620
+ this.disabled = false;
621
+ /**
622
+ * Callback to determine which date in the datepicker should be selectable.
623
+ * the callback function will get a datestring as an argument, e.g. '2021-07-04'
624
+ *
625
+ * Usage e.g.:
626
+ * const datepicker = document.getElementById('allowed-date-picker');
627
+ * datepicker.allowedDates = datestring => parseInt(datestring.split('-')[2], 10) % 2 === 0;
628
+ */
629
+ this.allowedDates = () => true;
630
+ /**
631
+ * The minimum datetime allowed. Value must be a date object
632
+ */
633
+ this.min = null;
634
+ /**
635
+ * The maximum datetime allowed. Value must be a date object
636
+ */
637
+ this.max = null;
638
+ /**
639
+ * Closes the datepicker dropdown after selection
640
+ */
641
+ this.closeOnSelect = this.type === 'date';
642
+ /** Datepicker size. */
643
+ this.size = 'medium';
644
+ /**
645
+ * The value of the form field, which accepts a date object.
646
+ */
647
+ this.value = null;
648
+ /** Define the dateFormat. Valid formats are:
649
+ * 'dd.mm.yyyy'
650
+ * 'yyyy-mm-dd'
651
+ * 'dd-mm-yyyy'
652
+ * 'dd/mm/yyyy'
653
+ * 'yyyy/mm/dd'
654
+ * 'dd.mm.yy'
655
+ * 'yy-mm-dd'
656
+ * 'dd-mm-yy'
657
+ * 'dd/mm/yy'
658
+ * 'yy/mm/dd'
659
+ * */
660
+ this.dateFormat = SixDateFormats.DDMMYYY_DOT;
661
+ /**
662
+ * Set the amount of time, in milliseconds, to wait to trigger the `dateChange` event after each keystroke.
663
+ */
664
+ this.debounce = executionControl.DEFAULT_DEBOUNCE_FAST;
665
+ /** Set to display the error text on blur and not when typing */
666
+ this.errorOnBlur = false;
667
+ /** The input's error text. Alternatively, you can use the error-text slot. */
668
+ this.errorText = '';
669
+ /** The input's label. Alternatively, you can use the label slot. */
670
+ this.label = '';
671
+ /** The input's name attribute. */
672
+ this.name = '';
673
+ /** Set to true to add a clear button when the input is populated. */
674
+ this.clearable = false;
675
+ /** Set the position of the icon */
676
+ this.iconPosition = 'left';
677
+ /**
678
+ * Enable this option to prevent the panel from being clipped when the component is placed inside a container with
679
+ * `overflow: auto|scroll`.
680
+ */
681
+ this.hoist = false;
682
+ this.defaultValue = null;
683
+ this.handleDocumentKeyDown = (event) => {
684
+ // Close when escape is pressed
685
+ if (this.open && event.key === 'Escape') {
686
+ event.stopPropagation();
687
+ this.closePopup();
688
+ void this.inputElement.setFocus();
689
+ }
690
+ // Handle tabbing
691
+ if (event.key === 'Tab') {
692
+ this.closePopup();
693
+ }
694
+ };
695
+ this.handleDocumentMouseDown = (event) => {
696
+ // Close when clicking outside of the containing element
697
+ const path = event.composedPath();
698
+ if (!path.includes(this.container)) {
699
+ this.closePopup();
700
+ return;
701
+ }
702
+ };
703
+ this.onTimepickerChange = (sixTimepickerChange) => {
704
+ const time = sixTimepickerChange.detail.value;
705
+ const newDate = new Date();
706
+ if (this.selectedDate) {
707
+ newDate.setFullYear(this.selectedDate.getFullYear(), this.selectedDate.getMonth(), this.selectedDate.getDate());
708
+ }
709
+ newDate.setHours(time[sixTimepicker_types.SixTimePropertyName.HOURS], time[sixTimepicker_types.SixTimePropertyName.MINUTES], time[sixTimepicker_types.SixTimePropertyName.SECONDS]);
710
+ this.updateValue(newDate);
711
+ this.updatePointerDates();
712
+ };
713
+ this.onClickDateCell = (cell) => {
714
+ if (!cell.isDisabled) {
715
+ void this.select(cell.dateString);
716
+ }
717
+ };
718
+ this.onClickMonthCell = (selectedMonth) => {
719
+ const month = i18nDate[this.locale].monthsShort.findIndex((monthShort) => monthShort === selectedMonth);
720
+ this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { month });
721
+ this.selectionMode = SelectionMode.DAY;
722
+ };
723
+ this.onClickYearCell = (year) => {
724
+ this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year });
725
+ this.selectionMode = SelectionMode.DAY;
726
+ };
727
+ this.handleInputChange = (event) => {
728
+ const inputValue = this.inputElement.value;
729
+ if (!isValidDateString(inputValue, this.dateFormat)) {
730
+ return;
731
+ }
732
+ const inputValueDate = toDate(inputValue, this.dateFormat);
733
+ if (inputValueDate === undefined) {
734
+ return;
735
+ }
736
+ if (this.min && this.min.getTime() > inputValueDate.getTime()) {
737
+ return;
738
+ }
739
+ if (this.max && this.max.getTime() < inputValueDate.getTime()) {
740
+ return;
741
+ }
742
+ this.updateIfChanged(inputValueDate);
743
+ event.stopPropagation();
744
+ const datesOnly = inputValue.replace(/[^\d]/g, '');
745
+ let isDateValid = !inputValue;
746
+ if (inputValue && datesOnly.length >= 6) {
747
+ const date = toDate(inputValue, this.dateFormat);
748
+ const datestring = formatDate(date, this.dateFormat);
749
+ if (isValidDateString(datestring, this.dateFormat)) {
750
+ this.selectedDate = toDate(datestring, this.dateFormat);
751
+ this.updatePointerDates();
752
+ this.updateValue(this.selectedDate);
753
+ isDateValid = true;
754
+ }
755
+ }
756
+ this.displayCustomMessage(isDateValid);
757
+ };
758
+ this.handleOnBlur = (event) => {
759
+ // clear the value if the user deleted the date
760
+ if (this.inputElement.value === '' && isValidDate(this.value)) {
761
+ this.value = undefined;
762
+ }
763
+ event.stopPropagation();
764
+ const inputValue = this.inputElement.value;
765
+ const inputValueDate = toDate(inputValue, this.dateFormat);
766
+ const formattedDate = formatDate(this.value, this.dateFormat);
767
+ if (inputValueDate && inputValue !== formattedDate) {
768
+ // properly format date if necessary
769
+ this.inputElement.value = formattedDate;
770
+ }
771
+ this.sixBlur.emit(this.value);
772
+ };
773
+ }
774
+ debounceChanged() {
775
+ this.sixSelect = executionControl.debounceEvent(this.sixSelect, this.debounce);
776
+ }
777
+ /**
778
+ * Update the native input element when the value changes
779
+ */
780
+ valueChanged() {
781
+ // map unreadable values to undefined to make the datepicker fault-tolerant
782
+ if (this.isValidValue()) {
783
+ console.warn('Encountered unreadable date, will map to undefined. Received value', this.value);
784
+ this.value = undefined;
785
+ return;
786
+ }
787
+ this.selectedDate = this.value;
788
+ this.updatePointerDates();
789
+ this.sixSelect.emit(this.value);
790
+ }
791
+ async resizeHandler() {
792
+ this.calcIsDropDownContentUp();
793
+ this.moveOpenHoistedPopup();
794
+ this.adjustPopupPosition();
795
+ }
796
+ async scrollHandler() {
797
+ this.calcIsDropDownContentUp();
798
+ this.moveOpenHoistedPopup();
799
+ }
800
+ get container() {
801
+ return this.containingElement || this.host;
802
+ }
803
+ get firstDateOfBox() {
804
+ const date = new Date(this.pointerDate.year, this.pointerDate.month, 1);
805
+ return getFirstDayOfTheWeek(date);
806
+ }
807
+ /** Checks for validity and shows the browser's validation message if the control is invalid. */
808
+ async reportValidity() {
809
+ return this.inputElement.reportValidity();
810
+ }
811
+ /** Checks for validity. */
812
+ async checkValidity() {
813
+ return this.inputElement.checkValidity();
814
+ }
815
+ /** Sets a custom validation message. If `message` is not empty, the field will be considered invalid. */
816
+ async setCustomValidity(message) {
817
+ await this.inputElement.setCustomValidity(message);
818
+ }
819
+ /** Resets the formcontrol */
820
+ async reset() {
821
+ this.value = this.defaultValue;
822
+ this.inputElement.value = formatDate(this.defaultValue, this.dateFormat);
823
+ await this.inputElement.reset();
824
+ }
825
+ isValidValue() {
826
+ if (this.value === undefined || this.value === null) {
827
+ return false;
828
+ }
829
+ if (!(this.value instanceof Date)) {
830
+ return true;
831
+ }
832
+ return this.value instanceof Date && isNaN(this.value);
833
+ }
834
+ get calendarGrid() {
835
+ return createCalendarGrid({
836
+ firstDateOfBox: this.firstDateOfBox,
837
+ allowedDates: this.allowedDates,
838
+ dateFormat: this.dateFormat,
839
+ locale: this.locale,
840
+ selectedDate: this.selectedDate,
841
+ minDate: this.min,
842
+ maxDate: this.max,
843
+ pointerDate: this.pointerDate,
844
+ });
845
+ }
846
+ calcIsDropDownContentUp() {
847
+ if (!this.inputElement || !this.wrapper) {
848
+ return;
849
+ }
850
+ const inputBoundingRect = this.inputElement.getBoundingClientRect();
851
+ const wrapperBoundingRect = this.wrapper.getBoundingClientRect();
852
+ const minPopupHeight = Math.max(wrapperBoundingRect.height, MIN_POPUP_HEIGHT);
853
+ const moreSpaceInTop = inputBoundingRect.y > window.innerHeight / 2;
854
+ this.isDropDownContentUp = moreSpaceInTop && window.innerHeight < inputBoundingRect.bottom + minPopupHeight;
855
+ }
856
+ getMonthStringForIndex(index) {
857
+ return i18nDate[this.locale].months[index];
858
+ }
859
+ previousUnit() {
860
+ if (this.selectionMode === SelectionMode.DAY) {
861
+ this.previousMonth();
862
+ }
863
+ else if (this.selectionMode === SelectionMode.MONTH) {
864
+ this.previousYear();
865
+ }
866
+ else if (this.selectionMode === SelectionMode.YEAR) {
867
+ this.previousYearGroup();
868
+ }
869
+ }
870
+ previousYear() {
871
+ this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year: this.pointerDate.year - 1 });
872
+ }
873
+ previousYearGroup() {
874
+ this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year: this.pointerDate.year - NUMBER_OF_YEARS_SHOWN });
875
+ }
876
+ previousMonth() {
877
+ if (this.pointerDate.month === 0) {
878
+ this.pointerDate = { year: this.pointerDate.year - 1, month: 11, day: 1, hours: 0, minutes: 0, seconds: 0 };
879
+ }
880
+ else {
881
+ this.pointerDate = {
882
+ year: this.pointerDate.year,
883
+ month: this.pointerDate.month - 1,
884
+ day: 1,
885
+ hours: 0,
886
+ minutes: 0,
887
+ seconds: 0,
888
+ };
889
+ }
890
+ }
891
+ nextUnit() {
892
+ if (this.selectionMode === SelectionMode.DAY) {
893
+ this.nextMonth();
894
+ }
895
+ else if (this.selectionMode === SelectionMode.MONTH) {
896
+ this.nextYear();
897
+ }
898
+ else if (this.selectionMode === SelectionMode.YEAR) {
899
+ this.nextYearGroup();
900
+ }
901
+ }
902
+ nextMonth() {
903
+ if (this.pointerDate.month === 11) {
904
+ this.pointerDate = { year: this.pointerDate.year + 1, month: 0, day: 1, hours: 0, minutes: 0, seconds: 0 };
905
+ }
906
+ else {
907
+ this.pointerDate = {
908
+ year: this.pointerDate.year,
909
+ month: this.pointerDate.month + 1,
910
+ day: 1,
911
+ hours: 0,
912
+ minutes: 0,
913
+ seconds: 0,
914
+ };
915
+ }
916
+ }
917
+ nextYear() {
918
+ this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year: this.pointerDate.year + 1 });
919
+ }
920
+ nextYearGroup() {
921
+ this.pointerDate = Object.assign(Object.assign({}, this.pointerDate), { year: this.pointerDate.year + NUMBER_OF_YEARS_SHOWN });
922
+ }
923
+ openCalendar() {
924
+ if (!this.open && !this.disabled) {
925
+ this.open = true;
926
+ this.setupEventListenersForOpenPopup();
927
+ }
928
+ }
929
+ setupEventListenersForOpenPopup() {
930
+ this.eventListeners.add(document, 'keydown', this.handleDocumentKeyDown);
931
+ this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);
932
+ }
933
+ handleClearClick(event) {
934
+ event.stopPropagation();
935
+ void this.select(undefined);
936
+ this.sixClear.emit();
937
+ }
938
+ closePopup() {
939
+ if (this.inline) {
940
+ return;
941
+ }
942
+ this.open = false;
943
+ this.eventListeners.remove(document, 'keydown', this.handleDocumentKeyDown);
944
+ this.eventListeners.remove(document, 'mousedown', this.handleDocumentMouseDown);
945
+ this.selectionMode = SelectionMode.DAY;
946
+ }
947
+ updatePointerDates() {
948
+ const date = this.getPointerDate();
949
+ if (this.differsFromPointerDate(date)) {
950
+ this.pointerDate = {
951
+ year: year(date),
952
+ month: month(date),
953
+ day: day(date),
954
+ hours: hours(date),
955
+ minutes: minutes(date),
956
+ seconds: seconds(date),
957
+ };
958
+ }
959
+ }
960
+ differsFromPointerDate(date) {
961
+ return (this.pointerDate.day !== day(date) ||
962
+ this.pointerDate.month !== month(date) ||
963
+ this.pointerDate.year !== year(date) ||
964
+ this.pointerDate.hours !== hours(date) ||
965
+ this.pointerDate.minutes !== minutes(date) ||
966
+ this.pointerDate.seconds !== seconds(date));
967
+ }
968
+ getPointerDate() {
969
+ if (this.selectedDate !== undefined && this.selectedDate !== null) {
970
+ return this.selectedDate;
971
+ }
972
+ if (sixTimepicker_types.isNil(this.defaultDate)) {
973
+ return now();
974
+ }
975
+ else {
976
+ return this.defaultDate && toDate(this.defaultDate, this.dateFormat);
977
+ }
978
+ }
979
+ updateValue(newDate) {
980
+ this.displayCustomMessage(true);
981
+ this.updateIfChanged(newDate);
982
+ }
983
+ updateIfChanged(newDate) {
984
+ var _a;
985
+ if (((_a = this.value) === null || _a === void 0 ? void 0 : _a.getTime()) === (newDate === null || newDate === void 0 ? void 0 : newDate.getTime())) {
986
+ return;
987
+ }
988
+ this.value = newDate;
989
+ }
990
+ /**
991
+ * Selects an option
992
+ */
993
+ async select(datestring) {
994
+ if (!datestring) {
995
+ this.updateValue(undefined);
996
+ }
997
+ else {
998
+ const newDate = toDate(datestring, this.dateFormat);
999
+ newDate.setHours(this.pointerDate.hours, this.pointerDate.minutes, this.pointerDate.seconds);
1000
+ this.updateValue(newDate);
1001
+ }
1002
+ this.updatePointerDates();
1003
+ if (this.closeOnSelect) {
1004
+ this.closePopup();
1005
+ }
1006
+ }
1007
+ componentWillLoad() {
1008
+ this.validateProps();
1009
+ this.defaultValue = this.value;
1010
+ this.selectedDate = this.value;
1011
+ this.updatePointerDates();
1012
+ this.updateValue(this.value);
1013
+ if (this.inline) {
1014
+ this.open = true;
1015
+ }
1016
+ if (this.open) {
1017
+ this.setupEventListenersForOpenPopup();
1018
+ }
1019
+ }
1020
+ validateProps() {
1021
+ if (this.value !== null && this.value !== undefined && !(this.value instanceof Date)) {
1022
+ throw new Error('Datepicker no longer supports strings as value. Use a date object instead!');
1023
+ }
1024
+ if (this.min !== null && this.min !== undefined && !(this.min instanceof Date)) {
1025
+ throw new Error('Datepicker no longer supports strings as min. Use a date object instead!');
1026
+ }
1027
+ if (this.max !== null && this.max !== undefined && !(this.max instanceof Date)) {
1028
+ throw new Error('Datepicker no longer supports strings as min. Use a date object instead!');
1029
+ }
1030
+ }
1031
+ componentDidLoad() {
1032
+ this.eventListeners.add(this.inputElement, 'six-input-input', executionControl.debounce(this.handleInputChange, this.debounce));
1033
+ this.eventListeners.add(this.inputElement, 'six-input-blur', this.handleOnBlur);
1034
+ }
1035
+ renderHeader() {
1036
+ 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" })))));
1037
+ }
1038
+ renderBody() {
1039
+ switch (this.selectionMode) {
1040
+ case SelectionMode.DAY:
1041
+ return (index.h(DaySelection, { locale: i18nDate[this.locale], calendarGrid: this.calendarGrid, onClickDateCell: this.onClickDateCell }));
1042
+ case SelectionMode.MONTH:
1043
+ return (index.h(MonthSelection, { locale: i18nDate[this.locale], selectedDate: this.selectedDate, onClickMonthCell: this.onClickMonthCell }));
1044
+ case SelectionMode.YEAR:
1045
+ return (index.h(YearSelection, { selectedDate: this.selectedDate, yearSelection: getYearSelectionAroundYear(this.pointerDate.year), onClickYearCell: this.onClickYearCell }));
1046
+ }
1047
+ }
1048
+ renderCustomIcon() {
1049
+ 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"));
1050
+ return (index.h("span", { slot: "prefix", part: "icon", class: {
1051
+ prefix: true,
1052
+ 'prefix--right': this.iconPosition === 'right',
1053
+ } }, icon));
1054
+ }
1055
+ renderClearable() {
1056
+ return (this.clearable && (index.h("button", { slot: "suffix", class: {
1057
+ 'datepicker-clear': true,
1058
+ 'datepicker-clear--right': this.iconPosition === 'left',
1059
+ 'datepicker-clear--left': this.iconPosition === 'right',
1060
+ }, type: "button", onClick: this.handleClearClick, tabindex: "-1" }, index.h("six-icon", { size: "small" }, "clear"))));
1061
+ }
1062
+ render() {
1063
+ var _a, _b, _c;
1064
+ this.adjustPopupPosition();
1065
+ 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: {
1066
+ datepicker__popup: true,
1067
+ 'datepicker__popup--is-up': this.placement ? this.placement === 'top' : this.isDropDownContentUp,
1068
+ 'datepicker__popup--is-inline': this.inline,
1069
+ } }, 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()) +
1070
+ ':' +
1071
+ ((_b = this.selectedDate) === null || _b === void 0 ? void 0 : _b.getMinutes()) +
1072
+ ':' +
1073
+ ((_c = this.selectedDate) === null || _c === void 0 ? void 0 : _c.getSeconds()) })), index.h("div", { class: "datepicker__footer" }, index.h("slot", null))))));
1074
+ }
1075
+ adjustPopupPosition() {
1076
+ this.adjustPopupForHoisting();
1077
+ this.adjustPopupForSmallScreens();
1078
+ }
1079
+ /*
1080
+ * The position of the hoisted datepicker needs to be correctly calculated since the position changes to fixed.
1081
+ * Thus if the user scrolls or adjusts the screen size we need to recalculate the datepicker position.
1082
+ */
1083
+ moveOpenHoistedPopup() {
1084
+ if (!this.hoist || !this.open) {
1085
+ return;
1086
+ }
1087
+ const popupBoundingClientRect = this.popup.getBoundingClientRect();
1088
+ const popupHeight = popupBoundingClientRect.height;
1089
+ const inputBoundingClientRect = this.inputElement.getBoundingClientRect();
1090
+ const inputTop = inputBoundingClientRect.top;
1091
+ const inputHeight = inputBoundingClientRect.height;
1092
+ this.calcIsDropDownContentUp();
1093
+ if (this.isDropDownContentUp) {
1094
+ this.popup.style.top = `${inputTop - popupHeight}px`;
1095
+ }
1096
+ else {
1097
+ this.popup.style.top = `${inputTop + inputHeight}px`;
1098
+ }
1099
+ }
1100
+ /*
1101
+ * For small screens the datepicker popup could be cut-off even though there might still be space within the viewport.
1102
+ * This is because the popup is always aligned with the trigger input field. However in the scenario of small screens
1103
+ * we should reposition the popup to use the space available.
1104
+ */
1105
+ adjustPopupForSmallScreens() {
1106
+ // execute after dropdown has been rendered to make sure the popup reference is correctly set
1107
+ setTimeout(() => {
1108
+ if (!this.popup) {
1109
+ return;
1110
+ }
1111
+ const popupBoundingClientRect = this.popup.getBoundingClientRect();
1112
+ const setPopupAsFixPosition = () => {
1113
+ // apply screen position to fixed popup
1114
+ this.popup.style.position = 'fixed';
1115
+ ['top', 'left', 'width', 'height'].forEach((property) => {
1116
+ this.popup.style[property] = `${popupBoundingClientRect[property]}px`;
1117
+ });
1118
+ };
1119
+ if (popupBoundingClientRect.y < 0 &&
1120
+ window.innerHeight - popupBoundingClientRect.height > 0 &&
1121
+ Math.abs(popupBoundingClientRect.y) <= popupBoundingClientRect.height) {
1122
+ // handle case where popup is cut-off on top but there is still space available
1123
+ setPopupAsFixPosition();
1124
+ this.popup.style.top = '0px';
1125
+ }
1126
+ else if (window.innerHeight < popupBoundingClientRect.y + popupBoundingClientRect.height &&
1127
+ window.innerHeight > popupBoundingClientRect.height &&
1128
+ Math.abs(popupBoundingClientRect.y - window.innerHeight) <= popupBoundingClientRect.height) {
1129
+ // handle case where popup is cut-off at the bottom but there is still space available above
1130
+ // apply screen position to fixed popup
1131
+ setPopupAsFixPosition();
1132
+ this.popup.style.top = `${window.innerHeight - popupBoundingClientRect.height}px`;
1133
+ }
1134
+ if (window.innerWidth < popupBoundingClientRect.x + popupBoundingClientRect.width &&
1135
+ window.innerWidth > popupBoundingClientRect.width &&
1136
+ Math.abs(popupBoundingClientRect.x - window.innerWidth) <= popupBoundingClientRect.width) {
1137
+ // handle case where popup is cut-off to the right
1138
+ setPopupAsFixPosition();
1139
+ this.popup.style.left = `${window.innerWidth - popupBoundingClientRect.width}px`;
1140
+ }
1141
+ }, 0);
1142
+ }
1143
+ /*
1144
+ * If the popup is hoisted we popup is hoisted its position will change to fix to not be clipped of by a containing container.
1145
+ * To render the popup correctly we render it normally, and then assign this screenposition to the fixed popup
1146
+ */
1147
+ adjustPopupForHoisting() {
1148
+ if (!this.hoist) {
1149
+ return;
1150
+ }
1151
+ // execute after dropdown has been rendered to make sure the popup reference is correctly set
1152
+ setTimeout(() => {
1153
+ if (!this.popup) {
1154
+ return;
1155
+ }
1156
+ // take a snapshot of normally rendered popup
1157
+ const popupBoundingClientRect = this.popup.getBoundingClientRect();
1158
+ // apply screen position to fixed popup
1159
+ this.popup.style.position = 'fixed';
1160
+ ['top', 'left', 'width', 'height'].forEach((property) => {
1161
+ this.popup.style[property] = `${popupBoundingClientRect[property]}px`;
1162
+ });
1163
+ const inputBoundingClientRect = this.inputElement.getBoundingClientRect();
1164
+ const inputTop = inputBoundingClientRect.top;
1165
+ const popupTop = popupBoundingClientRect.top;
1166
+ this.calcIsDropDownContentUp();
1167
+ // check screen position to check whether the popup should be moved above or below the trigger element
1168
+ if (this.isDropDownContentUp && inputTop < popupTop) {
1169
+ // move popup above input field if datepicker is at bottom of screen
1170
+ this.popup.style.top = `${popupTop - popupBoundingClientRect.height - inputBoundingClientRect.height}px`;
1171
+ }
1172
+ }, 0);
1173
+ }
1174
+ connectedCallback() {
1175
+ this.handleClearClick = this.handleClearClick.bind(this);
1176
+ }
1177
+ disconnectedCallback() {
1178
+ this.eventListeners.removeAll();
1179
+ }
1180
+ displayCustomMessage(valid) {
1181
+ if (!this.inputElement) {
1182
+ return;
1183
+ }
1184
+ if (valid) {
1185
+ void this.setCustomValidity('');
1186
+ }
1187
+ else {
1188
+ const message = this.errorText ? this.errorText : 'Invalid date format';
1189
+ void this.setCustomValidity(message);
1190
+ }
1191
+ }
1192
+ static getCurrentDateAsPointer() {
1193
+ return {
1194
+ year: year(now()),
1195
+ month: month(now()),
1196
+ day: day(now()),
1197
+ hours: hours(now()),
1198
+ minutes: minutes(now()),
1199
+ seconds: seconds(now()),
1200
+ };
1201
+ }
1202
+ get host() { return index.getElement(this); }
1203
+ static get watchers() { return {
1204
+ "debounce": ["debounceChanged"],
1205
+ "value": ["valueChanged"]
1206
+ }; }
1207
+ };
1208
+ SixDatepicker.style = sixDatepickerCss;
1209
+
1210
+ exports.six_datepicker = SixDatepicker;