@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,1771 @@
1
+ const NAMESPACE = 'ui-library';
2
+
3
+ let scopeId;
4
+ let contentRef;
5
+ let hostTagName;
6
+ let useNativeShadowDom = false;
7
+ let checkSlotFallbackVisibility = false;
8
+ let checkSlotRelocate = false;
9
+ let isSvgMode = false;
10
+ let queuePending = false;
11
+ const win = typeof window !== 'undefined' ? window : {};
12
+ const doc = win.document || { head: {} };
13
+ const plt = {
14
+ $flags$: 0,
15
+ $resourcesUrl$: '',
16
+ jmp: (h) => h(),
17
+ raf: (h) => requestAnimationFrame(h),
18
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
19
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
20
+ ce: (eventName, opts) => new CustomEvent(eventName, opts),
21
+ };
22
+ const promiseResolve = (v) => Promise.resolve(v);
23
+ const supportsConstructibleStylesheets = /*@__PURE__*/ (() => {
24
+ try {
25
+ new CSSStyleSheet();
26
+ return typeof new CSSStyleSheet().replace === 'function';
27
+ }
28
+ catch (e) { }
29
+ return false;
30
+ })()
31
+ ;
32
+ const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
33
+ if (listeners) {
34
+ listeners.map(([flags, name, method]) => {
35
+ const target = getHostListenerTarget(elm, flags) ;
36
+ const handler = hostListenerProxy(hostRef, method);
37
+ const opts = hostListenerOpts(flags);
38
+ plt.ael(target, name, handler, opts);
39
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
40
+ });
41
+ }
42
+ };
43
+ const hostListenerProxy = (hostRef, methodName) => (ev) => {
44
+ try {
45
+ {
46
+ if (hostRef.$flags$ & 256 /* isListenReady */) {
47
+ // instance is ready, let's call it's member method for this event
48
+ hostRef.$lazyInstance$[methodName](ev);
49
+ }
50
+ else {
51
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
52
+ }
53
+ }
54
+ }
55
+ catch (e) {
56
+ consoleError(e);
57
+ }
58
+ };
59
+ const getHostListenerTarget = (elm, flags) => {
60
+ if (flags & 8 /* TargetWindow */)
61
+ return win;
62
+ return elm;
63
+ };
64
+ // prettier-ignore
65
+ const hostListenerOpts = (flags) => (flags & 2 /* Capture */) !== 0;
66
+ const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
67
+ const createTime = (fnName, tagName = '') => {
68
+ {
69
+ return () => {
70
+ return;
71
+ };
72
+ }
73
+ };
74
+ const uniqueTime = (key, measureText) => {
75
+ {
76
+ return () => {
77
+ return;
78
+ };
79
+ }
80
+ };
81
+ const rootAppliedStyles = new WeakMap();
82
+ const registerStyle = (scopeId, cssText, allowCS) => {
83
+ let style = styles.get(scopeId);
84
+ if (supportsConstructibleStylesheets && allowCS) {
85
+ style = (style || new CSSStyleSheet());
86
+ style.replace(cssText);
87
+ }
88
+ else {
89
+ style = cssText;
90
+ }
91
+ styles.set(scopeId, style);
92
+ };
93
+ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
94
+ let scopeId = getScopeId(cmpMeta);
95
+ let style = styles.get(scopeId);
96
+ // if an element is NOT connected then getRootNode() will return the wrong root node
97
+ // so the fallback is to always use the document for the root node in those cases
98
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
99
+ if (style) {
100
+ if (typeof style === 'string') {
101
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
102
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
103
+ let styleElm;
104
+ if (!appliedStyles) {
105
+ rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
106
+ }
107
+ if (!appliedStyles.has(scopeId)) {
108
+ {
109
+ {
110
+ styleElm = doc.createElement('style');
111
+ styleElm.innerHTML = style;
112
+ }
113
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
114
+ }
115
+ if (appliedStyles) {
116
+ appliedStyles.add(scopeId);
117
+ }
118
+ }
119
+ }
120
+ else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
121
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
122
+ }
123
+ }
124
+ return scopeId;
125
+ };
126
+ const attachStyles = (hostRef) => {
127
+ const cmpMeta = hostRef.$cmpMeta$;
128
+ const elm = hostRef.$hostElement$;
129
+ const flags = cmpMeta.$flags$;
130
+ const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
131
+ const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
132
+ if (flags & 10 /* needsScopedEncapsulation */) {
133
+ // only required when we're NOT using native shadow dom (slot)
134
+ // or this browser doesn't support native shadow dom
135
+ // and this host element was NOT created with SSR
136
+ // let's pick out the inner content for slot projection
137
+ // create a node to represent where the original
138
+ // content was first placed, which is useful later on
139
+ // DOM WRITE!!
140
+ elm['s-sc'] = scopeId;
141
+ elm.classList.add(scopeId + '-h');
142
+ if (flags & 2 /* scopedCssEncapsulation */) {
143
+ elm.classList.add(scopeId + '-s');
144
+ }
145
+ }
146
+ endAttachStyles();
147
+ };
148
+ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
149
+ /**
150
+ * Default style mode id
151
+ */
152
+ /**
153
+ * Reusable empty obj/array
154
+ * Don't add values to these!!
155
+ */
156
+ const EMPTY_OBJ = {};
157
+ /**
158
+ * Namespaces
159
+ */
160
+ const SVG_NS = 'http://www.w3.org/2000/svg';
161
+ const HTML_NS = 'http://www.w3.org/1999/xhtml';
162
+ const isDef = (v) => v != null;
163
+ const isComplexType = (o) => {
164
+ // https://jsperf.com/typeof-fn-object/5
165
+ o = typeof o;
166
+ return o === 'object' || o === 'function';
167
+ };
168
+ /**
169
+ * Production h() function based on Preact by
170
+ * Jason Miller (@developit)
171
+ * Licensed under the MIT License
172
+ * https://github.com/developit/preact/blob/master/LICENSE
173
+ *
174
+ * Modified for Stencil's compiler and vdom
175
+ */
176
+ // const stack: any[] = [];
177
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
178
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
179
+ const h = (nodeName, vnodeData, ...children) => {
180
+ let child = null;
181
+ let key = null;
182
+ let slotName = null;
183
+ let simple = false;
184
+ let lastSimple = false;
185
+ let vNodeChildren = [];
186
+ const walk = (c) => {
187
+ for (let i = 0; i < c.length; i++) {
188
+ child = c[i];
189
+ if (Array.isArray(child)) {
190
+ walk(child);
191
+ }
192
+ else if (child != null && typeof child !== 'boolean') {
193
+ if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {
194
+ child = String(child);
195
+ }
196
+ if (simple && lastSimple) {
197
+ // If the previous child was simple (string), we merge both
198
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
199
+ }
200
+ else {
201
+ // Append a new vNode, if it's text, we create a text vNode
202
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
203
+ }
204
+ lastSimple = simple;
205
+ }
206
+ }
207
+ };
208
+ walk(children);
209
+ if (vnodeData) {
210
+ // normalize class / classname attributes
211
+ if (vnodeData.key) {
212
+ key = vnodeData.key;
213
+ }
214
+ if (vnodeData.name) {
215
+ slotName = vnodeData.name;
216
+ }
217
+ {
218
+ const classData = vnodeData.className || vnodeData.class;
219
+ if (classData) {
220
+ vnodeData.class =
221
+ typeof classData !== 'object'
222
+ ? classData
223
+ : Object.keys(classData)
224
+ .filter((k) => classData[k])
225
+ .join(' ');
226
+ }
227
+ }
228
+ }
229
+ if (typeof nodeName === 'function') {
230
+ // nodeName is a functional component
231
+ return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
232
+ }
233
+ const vnode = newVNode(nodeName, null);
234
+ vnode.$attrs$ = vnodeData;
235
+ if (vNodeChildren.length > 0) {
236
+ vnode.$children$ = vNodeChildren;
237
+ }
238
+ {
239
+ vnode.$key$ = key;
240
+ }
241
+ {
242
+ vnode.$name$ = slotName;
243
+ }
244
+ return vnode;
245
+ };
246
+ const newVNode = (tag, text) => {
247
+ const vnode = {
248
+ $flags$: 0,
249
+ $tag$: tag,
250
+ $text$: text,
251
+ $elm$: null,
252
+ $children$: null,
253
+ };
254
+ {
255
+ vnode.$attrs$ = null;
256
+ }
257
+ {
258
+ vnode.$key$ = null;
259
+ }
260
+ {
261
+ vnode.$name$ = null;
262
+ }
263
+ return vnode;
264
+ };
265
+ const Host = {};
266
+ const isHost = (node) => node && node.$tag$ === Host;
267
+ const vdomFnUtils = {
268
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
269
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
270
+ };
271
+ const convertToPublic = (node) => ({
272
+ vattrs: node.$attrs$,
273
+ vchildren: node.$children$,
274
+ vkey: node.$key$,
275
+ vname: node.$name$,
276
+ vtag: node.$tag$,
277
+ vtext: node.$text$,
278
+ });
279
+ const convertToPrivate = (node) => {
280
+ if (typeof node.vtag === 'function') {
281
+ const vnodeData = Object.assign({}, node.vattrs);
282
+ if (node.vkey) {
283
+ vnodeData.key = node.vkey;
284
+ }
285
+ if (node.vname) {
286
+ vnodeData.name = node.vname;
287
+ }
288
+ return h(node.vtag, vnodeData, ...(node.vchildren || []));
289
+ }
290
+ const vnode = newVNode(node.vtag, node.vtext);
291
+ vnode.$attrs$ = node.vattrs;
292
+ vnode.$children$ = node.vchildren;
293
+ vnode.$key$ = node.vkey;
294
+ vnode.$name$ = node.vname;
295
+ return vnode;
296
+ };
297
+ /**
298
+ * Production setAccessor() function based on Preact by
299
+ * Jason Miller (@developit)
300
+ * Licensed under the MIT License
301
+ * https://github.com/developit/preact/blob/master/LICENSE
302
+ *
303
+ * Modified for Stencil's compiler and vdom
304
+ */
305
+ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
306
+ if (oldValue !== newValue) {
307
+ let isProp = isMemberInElement(elm, memberName);
308
+ let ln = memberName.toLowerCase();
309
+ if (memberName === 'class') {
310
+ const classList = elm.classList;
311
+ const oldClasses = parseClassList(oldValue);
312
+ const newClasses = parseClassList(newValue);
313
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
314
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
315
+ }
316
+ else if (memberName === 'style') {
317
+ // update style attribute, css properties and values
318
+ {
319
+ for (const prop in oldValue) {
320
+ if (!newValue || newValue[prop] == null) {
321
+ if (prop.includes('-')) {
322
+ elm.style.removeProperty(prop);
323
+ }
324
+ else {
325
+ elm.style[prop] = '';
326
+ }
327
+ }
328
+ }
329
+ }
330
+ for (const prop in newValue) {
331
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
332
+ if (prop.includes('-')) {
333
+ elm.style.setProperty(prop, newValue[prop]);
334
+ }
335
+ else {
336
+ elm.style[prop] = newValue[prop];
337
+ }
338
+ }
339
+ }
340
+ }
341
+ else if (memberName === 'key')
342
+ ;
343
+ else if (memberName === 'ref') {
344
+ // minifier will clean this up
345
+ if (newValue) {
346
+ newValue(elm);
347
+ }
348
+ }
349
+ else if ((!isProp ) &&
350
+ memberName[0] === 'o' &&
351
+ memberName[1] === 'n') {
352
+ // Event Handlers
353
+ // so if the member name starts with "on" and the 3rd characters is
354
+ // a capital letter, and it's not already a member on the element,
355
+ // then we're assuming it's an event listener
356
+ if (memberName[2] === '-') {
357
+ // on- prefixed events
358
+ // allows to be explicit about the dom event to listen without any magic
359
+ // under the hood:
360
+ // <my-cmp on-click> // listens for "click"
361
+ // <my-cmp on-Click> // listens for "Click"
362
+ // <my-cmp on-ionChange> // listens for "ionChange"
363
+ // <my-cmp on-EVENTS> // listens for "EVENTS"
364
+ memberName = memberName.slice(3);
365
+ }
366
+ else if (isMemberInElement(win, ln)) {
367
+ // standard event
368
+ // the JSX attribute could have been "onMouseOver" and the
369
+ // member name "onmouseover" is on the window's prototype
370
+ // so let's add the listener "mouseover", which is all lowercased
371
+ memberName = ln.slice(2);
372
+ }
373
+ else {
374
+ // custom event
375
+ // the JSX attribute could have been "onMyCustomEvent"
376
+ // so let's trim off the "on" prefix and lowercase the first character
377
+ // and add the listener "myCustomEvent"
378
+ // except for the first character, we keep the event name case
379
+ memberName = ln[2] + memberName.slice(3);
380
+ }
381
+ if (oldValue) {
382
+ plt.rel(elm, memberName, oldValue, false);
383
+ }
384
+ if (newValue) {
385
+ plt.ael(elm, memberName, newValue, false);
386
+ }
387
+ }
388
+ else {
389
+ // Set property if it exists and it's not a SVG
390
+ const isComplex = isComplexType(newValue);
391
+ if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
392
+ try {
393
+ if (!elm.tagName.includes('-')) {
394
+ let n = newValue == null ? '' : newValue;
395
+ // Workaround for Safari, moving the <input> caret when re-assigning the same valued
396
+ if (memberName === 'list') {
397
+ isProp = false;
398
+ }
399
+ else if (oldValue == null || elm[memberName] != n) {
400
+ elm[memberName] = n;
401
+ }
402
+ }
403
+ else {
404
+ elm[memberName] = newValue;
405
+ }
406
+ }
407
+ catch (e) { }
408
+ }
409
+ if (newValue == null || newValue === false) {
410
+ if (newValue !== false || elm.getAttribute(memberName) === '') {
411
+ {
412
+ elm.removeAttribute(memberName);
413
+ }
414
+ }
415
+ }
416
+ else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
417
+ newValue = newValue === true ? '' : newValue;
418
+ {
419
+ elm.setAttribute(memberName, newValue);
420
+ }
421
+ }
422
+ }
423
+ }
424
+ };
425
+ const parseClassListRegex = /\s/;
426
+ const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
427
+ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
428
+ // if the element passed in is a shadow root, which is a document fragment
429
+ // then we want to be adding attrs/props to the shadow root's "host" element
430
+ // if it's not a shadow root, then we add attrs/props to the same element
431
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
432
+ ? newVnode.$elm$.host
433
+ : newVnode.$elm$;
434
+ const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
435
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
436
+ {
437
+ // remove attributes no longer present on the vnode by setting them to undefined
438
+ for (memberName in oldVnodeAttrs) {
439
+ if (!(memberName in newVnodeAttrs)) {
440
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
441
+ }
442
+ }
443
+ }
444
+ // add new & update changed attributes
445
+ for (memberName in newVnodeAttrs) {
446
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
447
+ }
448
+ };
449
+ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
450
+ // tslint:disable-next-line: prefer-const
451
+ let newVNode = newParentVNode.$children$[childIndex];
452
+ let i = 0;
453
+ let elm;
454
+ let childNode;
455
+ let oldVNode;
456
+ if (!useNativeShadowDom) {
457
+ // remember for later we need to check to relocate nodes
458
+ checkSlotRelocate = true;
459
+ if (newVNode.$tag$ === 'slot') {
460
+ if (scopeId) {
461
+ // scoped css needs to add its scoped id to the parent element
462
+ parentElm.classList.add(scopeId + '-s');
463
+ }
464
+ newVNode.$flags$ |= newVNode.$children$
465
+ ? // slot element has fallback content
466
+ 2 /* isSlotFallback */
467
+ : // slot element does not have fallback content
468
+ 1 /* isSlotReference */;
469
+ }
470
+ }
471
+ if (newVNode.$text$ !== null) {
472
+ // create text node
473
+ elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
474
+ }
475
+ else if (newVNode.$flags$ & 1 /* isSlotReference */) {
476
+ // create a slot reference node
477
+ elm = newVNode.$elm$ =
478
+ doc.createTextNode('');
479
+ }
480
+ else {
481
+ if (!isSvgMode) {
482
+ isSvgMode = newVNode.$tag$ === 'svg';
483
+ }
484
+ // create element
485
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
486
+ ? 'slot-fb'
487
+ : newVNode.$tag$)
488
+ );
489
+ if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
490
+ isSvgMode = false;
491
+ }
492
+ // add css classes, attrs, props, listeners, etc.
493
+ {
494
+ updateElement(null, newVNode, isSvgMode);
495
+ }
496
+ if (isDef(scopeId) && elm['s-si'] !== scopeId) {
497
+ // if there is a scopeId and this is the initial render
498
+ // then let's add the scopeId as a css class
499
+ elm.classList.add((elm['s-si'] = scopeId));
500
+ }
501
+ if (newVNode.$children$) {
502
+ for (i = 0; i < newVNode.$children$.length; ++i) {
503
+ // create the node
504
+ childNode = createElm(oldParentVNode, newVNode, i, elm);
505
+ // return node could have been null
506
+ if (childNode) {
507
+ // append our new node
508
+ elm.appendChild(childNode);
509
+ }
510
+ }
511
+ }
512
+ {
513
+ if (newVNode.$tag$ === 'svg') {
514
+ // Only reset the SVG context when we're exiting <svg> element
515
+ isSvgMode = false;
516
+ }
517
+ else if (elm.tagName === 'foreignObject') {
518
+ // Reenter SVG context when we're exiting <foreignObject> element
519
+ isSvgMode = true;
520
+ }
521
+ }
522
+ }
523
+ {
524
+ elm['s-hn'] = hostTagName;
525
+ if (newVNode.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
526
+ // remember the content reference comment
527
+ elm['s-sr'] = true;
528
+ // remember the content reference comment
529
+ elm['s-cr'] = contentRef;
530
+ // remember the slot name, or empty string for default slot
531
+ elm['s-sn'] = newVNode.$name$ || '';
532
+ // check if we've got an old vnode for this slot
533
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
534
+ if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
535
+ // we've got an old slot vnode and the wrapper is being replaced
536
+ // so let's move the old slot content back to it's original location
537
+ putBackInOriginalLocation(oldParentVNode.$elm$, false);
538
+ }
539
+ }
540
+ }
541
+ return elm;
542
+ };
543
+ const putBackInOriginalLocation = (parentElm, recursive) => {
544
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
545
+ const oldSlotChildNodes = parentElm.childNodes;
546
+ for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
547
+ const childNode = oldSlotChildNodes[i];
548
+ if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {
549
+ // // this child node in the old element is from another component
550
+ // // remove this node from the old slot's parent
551
+ // childNode.remove();
552
+ // and relocate it back to it's original location
553
+ parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));
554
+ // remove the old original location comment entirely
555
+ // later on the patch function will know what to do
556
+ // and move this to the correct spot in need be
557
+ childNode['s-ol'].remove();
558
+ childNode['s-ol'] = undefined;
559
+ checkSlotRelocate = true;
560
+ }
561
+ if (recursive) {
562
+ putBackInOriginalLocation(childNode, recursive);
563
+ }
564
+ }
565
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
566
+ };
567
+ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
568
+ let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
569
+ let childNode;
570
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
571
+ containerElm = containerElm.shadowRoot;
572
+ }
573
+ for (; startIdx <= endIdx; ++startIdx) {
574
+ if (vnodes[startIdx]) {
575
+ childNode = createElm(null, parentVNode, startIdx, parentElm);
576
+ if (childNode) {
577
+ vnodes[startIdx].$elm$ = childNode;
578
+ containerElm.insertBefore(childNode, referenceNode(before) );
579
+ }
580
+ }
581
+ }
582
+ };
583
+ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
584
+ for (; startIdx <= endIdx; ++startIdx) {
585
+ if ((vnode = vnodes[startIdx])) {
586
+ elm = vnode.$elm$;
587
+ callNodeRefs(vnode);
588
+ {
589
+ // we're removing this element
590
+ // so it's possible we need to show slot fallback content now
591
+ checkSlotFallbackVisibility = true;
592
+ if (elm['s-ol']) {
593
+ // remove the original location comment
594
+ elm['s-ol'].remove();
595
+ }
596
+ else {
597
+ // it's possible that child nodes of the node
598
+ // that's being removed are slot nodes
599
+ putBackInOriginalLocation(elm, true);
600
+ }
601
+ }
602
+ // remove the vnode's element from the dom
603
+ elm.remove();
604
+ }
605
+ }
606
+ };
607
+ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
608
+ let oldStartIdx = 0;
609
+ let newStartIdx = 0;
610
+ let idxInOld = 0;
611
+ let i = 0;
612
+ let oldEndIdx = oldCh.length - 1;
613
+ let oldStartVnode = oldCh[0];
614
+ let oldEndVnode = oldCh[oldEndIdx];
615
+ let newEndIdx = newCh.length - 1;
616
+ let newStartVnode = newCh[0];
617
+ let newEndVnode = newCh[newEndIdx];
618
+ let node;
619
+ let elmToMove;
620
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
621
+ if (oldStartVnode == null) {
622
+ // Vnode might have been moved left
623
+ oldStartVnode = oldCh[++oldStartIdx];
624
+ }
625
+ else if (oldEndVnode == null) {
626
+ oldEndVnode = oldCh[--oldEndIdx];
627
+ }
628
+ else if (newStartVnode == null) {
629
+ newStartVnode = newCh[++newStartIdx];
630
+ }
631
+ else if (newEndVnode == null) {
632
+ newEndVnode = newCh[--newEndIdx];
633
+ }
634
+ else if (isSameVnode(oldStartVnode, newStartVnode)) {
635
+ patch(oldStartVnode, newStartVnode);
636
+ oldStartVnode = oldCh[++oldStartIdx];
637
+ newStartVnode = newCh[++newStartIdx];
638
+ }
639
+ else if (isSameVnode(oldEndVnode, newEndVnode)) {
640
+ patch(oldEndVnode, newEndVnode);
641
+ oldEndVnode = oldCh[--oldEndIdx];
642
+ newEndVnode = newCh[--newEndIdx];
643
+ }
644
+ else if (isSameVnode(oldStartVnode, newEndVnode)) {
645
+ // Vnode moved right
646
+ if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
647
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
648
+ }
649
+ patch(oldStartVnode, newEndVnode);
650
+ parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
651
+ oldStartVnode = oldCh[++oldStartIdx];
652
+ newEndVnode = newCh[--newEndIdx];
653
+ }
654
+ else if (isSameVnode(oldEndVnode, newStartVnode)) {
655
+ // Vnode moved left
656
+ if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
657
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
658
+ }
659
+ patch(oldEndVnode, newStartVnode);
660
+ parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
661
+ oldEndVnode = oldCh[--oldEndIdx];
662
+ newStartVnode = newCh[++newStartIdx];
663
+ }
664
+ else {
665
+ // createKeyToOldIdx
666
+ idxInOld = -1;
667
+ {
668
+ for (i = oldStartIdx; i <= oldEndIdx; ++i) {
669
+ if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
670
+ idxInOld = i;
671
+ break;
672
+ }
673
+ }
674
+ }
675
+ if (idxInOld >= 0) {
676
+ elmToMove = oldCh[idxInOld];
677
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
678
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
679
+ }
680
+ else {
681
+ patch(elmToMove, newStartVnode);
682
+ oldCh[idxInOld] = undefined;
683
+ node = elmToMove.$elm$;
684
+ }
685
+ newStartVnode = newCh[++newStartIdx];
686
+ }
687
+ else {
688
+ // new element
689
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
690
+ newStartVnode = newCh[++newStartIdx];
691
+ }
692
+ if (node) {
693
+ {
694
+ parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
695
+ }
696
+ }
697
+ }
698
+ }
699
+ if (oldStartIdx > oldEndIdx) {
700
+ addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
701
+ }
702
+ else if (newStartIdx > newEndIdx) {
703
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
704
+ }
705
+ };
706
+ const isSameVnode = (vnode1, vnode2) => {
707
+ // compare if two vnode to see if they're "technically" the same
708
+ // need to have the same element tag, and same key to be the same
709
+ if (vnode1.$tag$ === vnode2.$tag$) {
710
+ if (vnode1.$tag$ === 'slot') {
711
+ return vnode1.$name$ === vnode2.$name$;
712
+ }
713
+ {
714
+ return vnode1.$key$ === vnode2.$key$;
715
+ }
716
+ }
717
+ return false;
718
+ };
719
+ const referenceNode = (node) => {
720
+ // this node was relocated to a new location in the dom
721
+ // because of some other component's slot
722
+ // but we still have an html comment in place of where
723
+ // it's original location was according to it's original vdom
724
+ return (node && node['s-ol']) || node;
725
+ };
726
+ const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
727
+ const patch = (oldVNode, newVNode) => {
728
+ const elm = (newVNode.$elm$ = oldVNode.$elm$);
729
+ const oldChildren = oldVNode.$children$;
730
+ const newChildren = newVNode.$children$;
731
+ const tag = newVNode.$tag$;
732
+ const text = newVNode.$text$;
733
+ let defaultHolder;
734
+ if (text === null) {
735
+ {
736
+ // test if we're rendering an svg element, or still rendering nodes inside of one
737
+ // only add this to the when the compiler sees we're using an svg somewhere
738
+ isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
739
+ }
740
+ // element node
741
+ {
742
+ if (tag === 'slot')
743
+ ;
744
+ else {
745
+ // either this is the first render of an element OR it's an update
746
+ // AND we already know it's possible it could have changed
747
+ // this updates the element's css classes, attrs, props, listeners, etc.
748
+ updateElement(oldVNode, newVNode, isSvgMode);
749
+ }
750
+ }
751
+ if (oldChildren !== null && newChildren !== null) {
752
+ // looks like there's child vnodes for both the old and new vnodes
753
+ updateChildren(elm, oldChildren, newVNode, newChildren);
754
+ }
755
+ else if (newChildren !== null) {
756
+ // no old child vnodes, but there are new child vnodes to add
757
+ if (oldVNode.$text$ !== null) {
758
+ // the old vnode was text, so be sure to clear it out
759
+ elm.textContent = '';
760
+ }
761
+ // add the new vnode children
762
+ addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);
763
+ }
764
+ else if (oldChildren !== null) {
765
+ // no new child vnodes, but there are old child vnodes to remove
766
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
767
+ }
768
+ if (isSvgMode && tag === 'svg') {
769
+ isSvgMode = false;
770
+ }
771
+ }
772
+ else if ((defaultHolder = elm['s-cr'])) {
773
+ // this element has slotted content
774
+ defaultHolder.parentNode.textContent = text;
775
+ }
776
+ else if (oldVNode.$text$ !== text) {
777
+ // update the text content for the text only vnode
778
+ // and also only if the text is different than before
779
+ elm.data = text;
780
+ }
781
+ };
782
+ const updateFallbackSlotVisibility = (elm) => {
783
+ // tslint:disable-next-line: prefer-const
784
+ let childNodes = elm.childNodes;
785
+ let childNode;
786
+ let i;
787
+ let ilen;
788
+ let j;
789
+ let slotNameAttr;
790
+ let nodeType;
791
+ for (i = 0, ilen = childNodes.length; i < ilen; i++) {
792
+ childNode = childNodes[i];
793
+ if (childNode.nodeType === 1 /* ElementNode */) {
794
+ if (childNode['s-sr']) {
795
+ // this is a slot fallback node
796
+ // get the slot name for this slot reference node
797
+ slotNameAttr = childNode['s-sn'];
798
+ // by default always show a fallback slot node
799
+ // then hide it if there are other slots in the light dom
800
+ childNode.hidden = false;
801
+ for (j = 0; j < ilen; j++) {
802
+ nodeType = childNodes[j].nodeType;
803
+ if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
804
+ // this sibling node is from a different component OR is a named fallback slot node
805
+ if (nodeType === 1 /* ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
806
+ childNode.hidden = true;
807
+ break;
808
+ }
809
+ }
810
+ else {
811
+ // this is a default fallback slot node
812
+ // any element or text node (with content)
813
+ // should hide the default fallback slot node
814
+ if (nodeType === 1 /* ElementNode */ ||
815
+ (nodeType === 3 /* TextNode */ && childNodes[j].textContent.trim() !== '')) {
816
+ childNode.hidden = true;
817
+ break;
818
+ }
819
+ }
820
+ }
821
+ }
822
+ // keep drilling down
823
+ updateFallbackSlotVisibility(childNode);
824
+ }
825
+ }
826
+ };
827
+ const relocateNodes = [];
828
+ const relocateSlotContent = (elm) => {
829
+ // tslint:disable-next-line: prefer-const
830
+ let childNode;
831
+ let node;
832
+ let hostContentNodes;
833
+ let slotNameAttr;
834
+ let relocateNodeData;
835
+ let j;
836
+ let i = 0;
837
+ let childNodes = elm.childNodes;
838
+ let ilen = childNodes.length;
839
+ for (; i < ilen; i++) {
840
+ childNode = childNodes[i];
841
+ if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
842
+ // first got the content reference comment node
843
+ // then we got it's parent, which is where all the host content is in now
844
+ hostContentNodes = node.parentNode.childNodes;
845
+ slotNameAttr = childNode['s-sn'];
846
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
847
+ node = hostContentNodes[j];
848
+ if (!node['s-cn'] && !node['s-nr'] && node['s-hn'] !== childNode['s-hn']) {
849
+ // let's do some relocating to its new home
850
+ // but never relocate a content reference node
851
+ // that is suppose to always represent the original content location
852
+ if (isNodeLocatedInSlot(node, slotNameAttr)) {
853
+ // it's possible we've already decided to relocate this node
854
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
855
+ // made some changes to slots
856
+ // let's make sure we also double check
857
+ // fallbacks are correctly hidden or shown
858
+ checkSlotFallbackVisibility = true;
859
+ node['s-sn'] = node['s-sn'] || slotNameAttr;
860
+ if (relocateNodeData) {
861
+ // previously we never found a slot home for this node
862
+ // but turns out we did, so let's remember it now
863
+ relocateNodeData.$slotRefNode$ = childNode;
864
+ }
865
+ else {
866
+ // add to our list of nodes to relocate
867
+ relocateNodes.push({
868
+ $slotRefNode$: childNode,
869
+ $nodeToRelocate$: node,
870
+ });
871
+ }
872
+ if (node['s-sr']) {
873
+ relocateNodes.map((relocateNode) => {
874
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
875
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
876
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
877
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
878
+ }
879
+ }
880
+ });
881
+ }
882
+ }
883
+ else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
884
+ // so far this element does not have a slot home, not setting slotRefNode on purpose
885
+ // if we never find a home for this element then we'll need to hide it
886
+ relocateNodes.push({
887
+ $nodeToRelocate$: node,
888
+ });
889
+ }
890
+ }
891
+ }
892
+ }
893
+ if (childNode.nodeType === 1 /* ElementNode */) {
894
+ relocateSlotContent(childNode);
895
+ }
896
+ }
897
+ };
898
+ const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
899
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
900
+ if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
901
+ return true;
902
+ }
903
+ if (nodeToRelocate.getAttribute('slot') === slotNameAttr) {
904
+ return true;
905
+ }
906
+ return false;
907
+ }
908
+ if (nodeToRelocate['s-sn'] === slotNameAttr) {
909
+ return true;
910
+ }
911
+ return slotNameAttr === '';
912
+ };
913
+ const callNodeRefs = (vNode) => {
914
+ {
915
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
916
+ vNode.$children$ && vNode.$children$.map(callNodeRefs);
917
+ }
918
+ };
919
+ const renderVdom = (hostRef, renderFnResults) => {
920
+ const hostElm = hostRef.$hostElement$;
921
+ const cmpMeta = hostRef.$cmpMeta$;
922
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
923
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
924
+ hostTagName = hostElm.tagName;
925
+ if (cmpMeta.$attrsToReflect$) {
926
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
927
+ cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
928
+ }
929
+ rootVnode.$tag$ = null;
930
+ rootVnode.$flags$ |= 4 /* isHost */;
931
+ hostRef.$vnode$ = rootVnode;
932
+ rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
933
+ {
934
+ scopeId = hostElm['s-sc'];
935
+ }
936
+ {
937
+ contentRef = hostElm['s-cr'];
938
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
939
+ // always reset
940
+ checkSlotFallbackVisibility = false;
941
+ }
942
+ // synchronous patch
943
+ patch(oldVNode, rootVnode);
944
+ {
945
+ // while we're moving nodes around existing nodes, temporarily disable
946
+ // the disconnectCallback from working
947
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
948
+ if (checkSlotRelocate) {
949
+ relocateSlotContent(rootVnode.$elm$);
950
+ let relocateData;
951
+ let nodeToRelocate;
952
+ let orgLocationNode;
953
+ let parentNodeRef;
954
+ let insertBeforeNode;
955
+ let refNode;
956
+ let i = 0;
957
+ for (; i < relocateNodes.length; i++) {
958
+ relocateData = relocateNodes[i];
959
+ nodeToRelocate = relocateData.$nodeToRelocate$;
960
+ if (!nodeToRelocate['s-ol']) {
961
+ // add a reference node marking this node's original location
962
+ // keep a reference to this node for later lookups
963
+ orgLocationNode =
964
+ doc.createTextNode('');
965
+ orgLocationNode['s-nr'] = nodeToRelocate;
966
+ nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
967
+ }
968
+ }
969
+ for (i = 0; i < relocateNodes.length; i++) {
970
+ relocateData = relocateNodes[i];
971
+ nodeToRelocate = relocateData.$nodeToRelocate$;
972
+ if (relocateData.$slotRefNode$) {
973
+ // by default we're just going to insert it directly
974
+ // after the slot reference node
975
+ parentNodeRef = relocateData.$slotRefNode$.parentNode;
976
+ insertBeforeNode = relocateData.$slotRefNode$.nextSibling;
977
+ orgLocationNode = nodeToRelocate['s-ol'];
978
+ while ((orgLocationNode = orgLocationNode.previousSibling)) {
979
+ refNode = orgLocationNode['s-nr'];
980
+ if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {
981
+ refNode = refNode.nextSibling;
982
+ if (!refNode || !refNode['s-nr']) {
983
+ insertBeforeNode = refNode;
984
+ break;
985
+ }
986
+ }
987
+ }
988
+ if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
989
+ nodeToRelocate.nextSibling !== insertBeforeNode) {
990
+ // we've checked that it's worth while to relocate
991
+ // since that the node to relocate
992
+ // has a different next sibling or parent relocated
993
+ if (nodeToRelocate !== insertBeforeNode) {
994
+ if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
995
+ // probably a component in the index.html that doesn't have it's hostname set
996
+ nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
997
+ }
998
+ // add it back to the dom but in its new home
999
+ parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
1000
+ }
1001
+ }
1002
+ }
1003
+ else {
1004
+ // this node doesn't have a slot home to go to, so let's hide it
1005
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1006
+ nodeToRelocate.hidden = true;
1007
+ }
1008
+ }
1009
+ }
1010
+ }
1011
+ if (checkSlotFallbackVisibility) {
1012
+ updateFallbackSlotVisibility(rootVnode.$elm$);
1013
+ }
1014
+ // done moving nodes around
1015
+ // allow the disconnect callback to work again
1016
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
1017
+ // always reset
1018
+ relocateNodes.length = 0;
1019
+ }
1020
+ };
1021
+ const getElement = (ref) => (getHostRef(ref).$hostElement$ );
1022
+ const createEvent = (ref, name, flags) => {
1023
+ const elm = getElement(ref);
1024
+ return {
1025
+ emit: (detail) => {
1026
+ return emitEvent(elm, name, {
1027
+ bubbles: !!(flags & 4 /* Bubbles */),
1028
+ composed: !!(flags & 2 /* Composed */),
1029
+ cancelable: !!(flags & 1 /* Cancellable */),
1030
+ detail,
1031
+ });
1032
+ },
1033
+ };
1034
+ };
1035
+ /**
1036
+ * Helper function to create & dispatch a custom Event on a provided target
1037
+ * @param elm the target of the Event
1038
+ * @param name the name to give the custom Event
1039
+ * @param opts options for configuring a custom Event
1040
+ * @returns the custom Event
1041
+ */
1042
+ const emitEvent = (elm, name, opts) => {
1043
+ const ev = plt.ce(name, opts);
1044
+ elm.dispatchEvent(ev);
1045
+ return ev;
1046
+ };
1047
+ const attachToAncestor = (hostRef, ancestorComponent) => {
1048
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
1049
+ ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
1050
+ }
1051
+ };
1052
+ const scheduleUpdate = (hostRef, isInitialLoad) => {
1053
+ {
1054
+ hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
1055
+ }
1056
+ if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
1057
+ hostRef.$flags$ |= 512 /* needsRerender */;
1058
+ return;
1059
+ }
1060
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1061
+ // there is no ancestor component or the ancestor component
1062
+ // has already fired off its lifecycle update then
1063
+ // fire off the initial update
1064
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1065
+ return writeTask(dispatch) ;
1066
+ };
1067
+ const dispatchHooks = (hostRef, isInitialLoad) => {
1068
+ const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
1069
+ const instance = hostRef.$lazyInstance$ ;
1070
+ let promise;
1071
+ if (isInitialLoad) {
1072
+ {
1073
+ hostRef.$flags$ |= 256 /* isListenReady */;
1074
+ if (hostRef.$queuedListeners$) {
1075
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1076
+ hostRef.$queuedListeners$ = null;
1077
+ }
1078
+ }
1079
+ {
1080
+ promise = safeCall(instance, 'componentWillLoad');
1081
+ }
1082
+ }
1083
+ endSchedule();
1084
+ return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
1085
+ };
1086
+ const updateComponent = async (hostRef, instance, isInitialLoad) => {
1087
+ // updateComponent
1088
+ const elm = hostRef.$hostElement$;
1089
+ const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
1090
+ const rc = elm['s-rc'];
1091
+ if (isInitialLoad) {
1092
+ // DOM WRITE!
1093
+ attachStyles(hostRef);
1094
+ }
1095
+ const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
1096
+ {
1097
+ callRender(hostRef, instance);
1098
+ }
1099
+ if (rc) {
1100
+ // ok, so turns out there are some child host elements
1101
+ // waiting on this parent element to load
1102
+ // let's fire off all update callbacks waiting
1103
+ rc.map((cb) => cb());
1104
+ elm['s-rc'] = undefined;
1105
+ }
1106
+ endRender();
1107
+ endUpdate();
1108
+ {
1109
+ const childrenPromises = elm['s-p'];
1110
+ const postUpdate = () => postUpdateComponent(hostRef);
1111
+ if (childrenPromises.length === 0) {
1112
+ postUpdate();
1113
+ }
1114
+ else {
1115
+ Promise.all(childrenPromises).then(postUpdate);
1116
+ hostRef.$flags$ |= 4 /* isWaitingForChildren */;
1117
+ childrenPromises.length = 0;
1118
+ }
1119
+ }
1120
+ };
1121
+ const callRender = (hostRef, instance, elm) => {
1122
+ try {
1123
+ instance = instance.render() ;
1124
+ {
1125
+ hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
1126
+ }
1127
+ {
1128
+ hostRef.$flags$ |= 2 /* hasRendered */;
1129
+ }
1130
+ {
1131
+ {
1132
+ // looks like we've got child nodes to render into this host element
1133
+ // or we need to update the css class/attrs on the host element
1134
+ // DOM WRITE!
1135
+ {
1136
+ renderVdom(hostRef, instance);
1137
+ }
1138
+ }
1139
+ }
1140
+ }
1141
+ catch (e) {
1142
+ consoleError(e, hostRef.$hostElement$);
1143
+ }
1144
+ return null;
1145
+ };
1146
+ const postUpdateComponent = (hostRef) => {
1147
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1148
+ const elm = hostRef.$hostElement$;
1149
+ const endPostUpdate = createTime('postUpdate', tagName);
1150
+ const instance = hostRef.$lazyInstance$ ;
1151
+ const ancestorComponent = hostRef.$ancestorComponent$;
1152
+ {
1153
+ safeCall(instance, 'componentDidRender');
1154
+ }
1155
+ if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1156
+ hostRef.$flags$ |= 64 /* hasLoadedComponent */;
1157
+ {
1158
+ // DOM WRITE!
1159
+ addHydratedFlag(elm);
1160
+ }
1161
+ {
1162
+ safeCall(instance, 'componentDidLoad');
1163
+ }
1164
+ endPostUpdate();
1165
+ {
1166
+ hostRef.$onReadyResolve$(elm);
1167
+ if (!ancestorComponent) {
1168
+ appDidLoad();
1169
+ }
1170
+ }
1171
+ }
1172
+ else {
1173
+ {
1174
+ safeCall(instance, 'componentDidUpdate');
1175
+ }
1176
+ endPostUpdate();
1177
+ }
1178
+ {
1179
+ hostRef.$onInstanceResolve$(elm);
1180
+ }
1181
+ // load events fire from bottom to top
1182
+ // the deepest elements load first then bubbles up
1183
+ {
1184
+ if (hostRef.$onRenderResolve$) {
1185
+ hostRef.$onRenderResolve$();
1186
+ hostRef.$onRenderResolve$ = undefined;
1187
+ }
1188
+ if (hostRef.$flags$ & 512 /* needsRerender */) {
1189
+ nextTick(() => scheduleUpdate(hostRef, false));
1190
+ }
1191
+ hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
1192
+ }
1193
+ // ( •_•)
1194
+ // ( •_•)>⌐■-■
1195
+ // (⌐■_■)
1196
+ };
1197
+ const appDidLoad = (who) => {
1198
+ // on appload
1199
+ // we have finish the first big initial render
1200
+ {
1201
+ addHydratedFlag(doc.documentElement);
1202
+ }
1203
+ nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
1204
+ };
1205
+ const safeCall = (instance, method, arg) => {
1206
+ if (instance && instance[method]) {
1207
+ try {
1208
+ return instance[method](arg);
1209
+ }
1210
+ catch (e) {
1211
+ consoleError(e);
1212
+ }
1213
+ }
1214
+ return undefined;
1215
+ };
1216
+ const then = (promise, thenFn) => {
1217
+ return promise && promise.then ? promise.then(thenFn) : thenFn();
1218
+ };
1219
+ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1220
+ ;
1221
+ /**
1222
+ * Parse a new property value for a given property type.
1223
+ *
1224
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
1225
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
1226
+ * 1. `any`, the type given to `propValue` in the function signature
1227
+ * 2. the type stored from `propType`.
1228
+ *
1229
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
1230
+ *
1231
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
1232
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
1233
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
1234
+ * ```tsx
1235
+ * <my-cmp prop-val={0}></my-cmp>
1236
+ * ```
1237
+ *
1238
+ * HTML prop values on the other hand, will always a string
1239
+ *
1240
+ * @param propValue the new value to coerce to some type
1241
+ * @param propType the type of the prop, expressed as a binary number
1242
+ * @returns the parsed/coerced value
1243
+ */
1244
+ const parsePropertyValue = (propValue, propType) => {
1245
+ // ensure this value is of the correct prop type
1246
+ if (propValue != null && !isComplexType(propValue)) {
1247
+ if (propType & 4 /* Boolean */) {
1248
+ // per the HTML spec, any string value means it is a boolean true value
1249
+ // but we'll cheat here and say that the string "false" is the boolean false
1250
+ return propValue === 'false' ? false : propValue === '' || !!propValue;
1251
+ }
1252
+ if (propType & 2 /* Number */) {
1253
+ // force it to be a number
1254
+ return parseFloat(propValue);
1255
+ }
1256
+ if (propType & 1 /* String */) {
1257
+ // could have been passed as a number or boolean
1258
+ // but we still want it as a string
1259
+ return String(propValue);
1260
+ }
1261
+ // redundant return here for better minification
1262
+ return propValue;
1263
+ }
1264
+ // not sure exactly what type we want
1265
+ // so no need to change to a different type
1266
+ return propValue;
1267
+ };
1268
+ const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1269
+ const setValue = (ref, propName, newVal, cmpMeta) => {
1270
+ // check our new property value against our internal value
1271
+ const hostRef = getHostRef(ref);
1272
+ const elm = hostRef.$hostElement$ ;
1273
+ const oldVal = hostRef.$instanceValues$.get(propName);
1274
+ const flags = hostRef.$flags$;
1275
+ const instance = hostRef.$lazyInstance$ ;
1276
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1277
+ if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && newVal !== oldVal) {
1278
+ // gadzooks! the property's value has changed!!
1279
+ // set our new value!
1280
+ hostRef.$instanceValues$.set(propName, newVal);
1281
+ if (instance) {
1282
+ // get an array of method names of watch functions to call
1283
+ if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1284
+ const watchMethods = cmpMeta.$watchers$[propName];
1285
+ if (watchMethods) {
1286
+ // this instance is watching for when this property changed
1287
+ watchMethods.map((watchMethodName) => {
1288
+ try {
1289
+ // fire off each of the watch methods that are watching this property
1290
+ instance[watchMethodName](newVal, oldVal, propName);
1291
+ }
1292
+ catch (e) {
1293
+ consoleError(e, elm);
1294
+ }
1295
+ });
1296
+ }
1297
+ }
1298
+ if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1299
+ // looks like this value actually changed, so we've got work to do!
1300
+ // but only if we've already rendered, otherwise just chill out
1301
+ // queue that we need to do an update, but don't worry about queuing
1302
+ // up millions cuz this function ensures it only runs once
1303
+ scheduleUpdate(hostRef, false);
1304
+ }
1305
+ }
1306
+ }
1307
+ };
1308
+ const proxyComponent = (Cstr, cmpMeta, flags) => {
1309
+ if (cmpMeta.$members$) {
1310
+ if (Cstr.watchers) {
1311
+ cmpMeta.$watchers$ = Cstr.watchers;
1312
+ }
1313
+ // It's better to have a const than two Object.entries()
1314
+ const members = Object.entries(cmpMeta.$members$);
1315
+ const prototype = Cstr.prototype;
1316
+ members.map(([memberName, [memberFlags]]) => {
1317
+ if ((memberFlags & 31 /* Prop */ ||
1318
+ ((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
1319
+ // proxyComponent - prop
1320
+ Object.defineProperty(prototype, memberName, {
1321
+ get() {
1322
+ // proxyComponent, get value
1323
+ return getValue(this, memberName);
1324
+ },
1325
+ set(newValue) {
1326
+ // proxyComponent, set value
1327
+ setValue(this, memberName, newValue, cmpMeta);
1328
+ },
1329
+ configurable: true,
1330
+ enumerable: true,
1331
+ });
1332
+ }
1333
+ else if (flags & 1 /* isElementConstructor */ &&
1334
+ memberFlags & 64 /* Method */) {
1335
+ // proxyComponent - method
1336
+ Object.defineProperty(prototype, memberName, {
1337
+ value(...args) {
1338
+ const ref = getHostRef(this);
1339
+ return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args));
1340
+ },
1341
+ });
1342
+ }
1343
+ });
1344
+ if ((flags & 1 /* isElementConstructor */)) {
1345
+ const attrNameToPropName = new Map();
1346
+ prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1347
+ plt.jmp(() => {
1348
+ const propName = attrNameToPropName.get(attrName);
1349
+ // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1350
+ // in the case where an attribute was set inline.
1351
+ // ```html
1352
+ // <my-component some-attribute="some-value"></my-component>
1353
+ // ```
1354
+ //
1355
+ // There is an edge case where a developer sets the attribute inline on a custom element and then
1356
+ // programmatically changes it before it has been upgraded as shown below:
1357
+ //
1358
+ // ```html
1359
+ // <!-- this component has _not_ been upgraded yet -->
1360
+ // <my-component id="test" some-attribute="some-value"></my-component>
1361
+ // <script>
1362
+ // // grab non-upgraded component
1363
+ // el = document.querySelector("#test");
1364
+ // el.someAttribute = "another-value";
1365
+ // // upgrade component
1366
+ // customElements.define('my-component', MyComponent);
1367
+ // </script>
1368
+ // ```
1369
+ // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1370
+ // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1371
+ // to the value that was set inline i.e. "some-value" from above example. When
1372
+ // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
1373
+ //
1374
+ // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1375
+ // by connectedCallback as this attributeChangedCallback will not fire.
1376
+ //
1377
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1378
+ //
1379
+ // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1380
+ // properties here given that this goes against best practices outlined here
1381
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1382
+ if (this.hasOwnProperty(propName)) {
1383
+ newValue = this[propName];
1384
+ delete this[propName];
1385
+ }
1386
+ else if (prototype.hasOwnProperty(propName) &&
1387
+ typeof this[propName] === 'number' &&
1388
+ this[propName] == newValue) {
1389
+ // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
1390
+ // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
1391
+ // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1392
+ return;
1393
+ }
1394
+ this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1395
+ });
1396
+ };
1397
+ // create an array of attributes to observe
1398
+ // and also create a map of html attribute name to js property name
1399
+ Cstr.observedAttributes = members
1400
+ .filter(([_, m]) => m[0] & 15 /* HasAttribute */) // filter to only keep props that should match attributes
1401
+ .map(([propName, m]) => {
1402
+ const attrName = m[1] || propName;
1403
+ attrNameToPropName.set(attrName, propName);
1404
+ if (m[0] & 512 /* ReflectAttr */) {
1405
+ cmpMeta.$attrsToReflect$.push([propName, attrName]);
1406
+ }
1407
+ return attrName;
1408
+ });
1409
+ }
1410
+ }
1411
+ return Cstr;
1412
+ };
1413
+ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1414
+ // initializeComponent
1415
+ if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1416
+ {
1417
+ // we haven't initialized this element yet
1418
+ hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1419
+ // lazy loaded components
1420
+ // request the component's implementation to be
1421
+ // wired up with the host element
1422
+ Cstr = loadModule(cmpMeta);
1423
+ if (Cstr.then) {
1424
+ // Await creates a micro-task avoid if possible
1425
+ const endLoad = uniqueTime();
1426
+ Cstr = await Cstr;
1427
+ endLoad();
1428
+ }
1429
+ if (!Cstr.isProxied) {
1430
+ // we've never proxied this Constructor before
1431
+ // let's add the getters/setters to its prototype before
1432
+ // the first time we create an instance of the implementation
1433
+ {
1434
+ cmpMeta.$watchers$ = Cstr.watchers;
1435
+ }
1436
+ proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1437
+ Cstr.isProxied = true;
1438
+ }
1439
+ const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
1440
+ // ok, time to construct the instance
1441
+ // but let's keep track of when we start and stop
1442
+ // so that the getters/setters don't incorrectly step on data
1443
+ {
1444
+ hostRef.$flags$ |= 8 /* isConstructingInstance */;
1445
+ }
1446
+ // construct the lazy-loaded component implementation
1447
+ // passing the hostRef is very important during
1448
+ // construction in order to directly wire together the
1449
+ // host element and the lazy-loaded instance
1450
+ try {
1451
+ new Cstr(hostRef);
1452
+ }
1453
+ catch (e) {
1454
+ consoleError(e);
1455
+ }
1456
+ {
1457
+ hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1458
+ }
1459
+ {
1460
+ hostRef.$flags$ |= 128 /* isWatchReady */;
1461
+ }
1462
+ endNewInstance();
1463
+ fireConnectedCallback(hostRef.$lazyInstance$);
1464
+ }
1465
+ if (Cstr.style) {
1466
+ // this component has styles but we haven't registered them yet
1467
+ let style = Cstr.style;
1468
+ const scopeId = getScopeId(cmpMeta);
1469
+ if (!styles.has(scopeId)) {
1470
+ const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
1471
+ registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1472
+ endRegisterStyles();
1473
+ }
1474
+ }
1475
+ }
1476
+ // we've successfully created a lazy instance
1477
+ const ancestorComponent = hostRef.$ancestorComponent$;
1478
+ const schedule = () => scheduleUpdate(hostRef, true);
1479
+ if (ancestorComponent && ancestorComponent['s-rc']) {
1480
+ // this is the initial load and this component it has an ancestor component
1481
+ // but the ancestor component has NOT fired its will update lifecycle yet
1482
+ // so let's just cool our jets and wait for the ancestor to continue first
1483
+ // this will get fired off when the ancestor component
1484
+ // finally gets around to rendering its lazy self
1485
+ // fire off the initial update
1486
+ ancestorComponent['s-rc'].push(schedule);
1487
+ }
1488
+ else {
1489
+ schedule();
1490
+ }
1491
+ };
1492
+ const fireConnectedCallback = (instance) => {
1493
+ {
1494
+ safeCall(instance, 'connectedCallback');
1495
+ }
1496
+ };
1497
+ const connectedCallback = (elm) => {
1498
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1499
+ const hostRef = getHostRef(elm);
1500
+ const cmpMeta = hostRef.$cmpMeta$;
1501
+ const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
1502
+ if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1503
+ // first time this component has connected
1504
+ hostRef.$flags$ |= 1 /* hasConnected */;
1505
+ {
1506
+ // initUpdate
1507
+ // if the slot polyfill is required we'll need to put some nodes
1508
+ // in here to act as original content anchors as we move nodes around
1509
+ // host element has been connected to the DOM
1510
+ if ((cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */))) {
1511
+ setContentReference(elm);
1512
+ }
1513
+ }
1514
+ {
1515
+ // find the first ancestor component (if there is one) and register
1516
+ // this component as one of the actively loading child components for its ancestor
1517
+ let ancestorComponent = elm;
1518
+ while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
1519
+ // climb up the ancestors looking for the first
1520
+ // component that hasn't finished its lifecycle update yet
1521
+ if (ancestorComponent['s-p']) {
1522
+ // we found this components first ancestor component
1523
+ // keep a reference to this component's ancestor component
1524
+ attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
1525
+ break;
1526
+ }
1527
+ }
1528
+ }
1529
+ // Lazy properties
1530
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1531
+ if (cmpMeta.$members$) {
1532
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1533
+ if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1534
+ const value = elm[memberName];
1535
+ delete elm[memberName];
1536
+ elm[memberName] = value;
1537
+ }
1538
+ });
1539
+ }
1540
+ {
1541
+ initializeComponent(elm, hostRef, cmpMeta);
1542
+ }
1543
+ }
1544
+ else {
1545
+ // not the first time this has connected
1546
+ // reattach any event listeners to the host
1547
+ // since they would have been removed when disconnected
1548
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1549
+ // fire off connectedCallback() on component instance
1550
+ fireConnectedCallback(hostRef.$lazyInstance$);
1551
+ }
1552
+ endConnected();
1553
+ }
1554
+ };
1555
+ const setContentReference = (elm) => {
1556
+ // only required when we're NOT using native shadow dom (slot)
1557
+ // or this browser doesn't support native shadow dom
1558
+ // and this host element was NOT created with SSR
1559
+ // let's pick out the inner content for slot projection
1560
+ // create a node to represent where the original
1561
+ // content was first placed, which is useful later on
1562
+ const contentRefElm = (elm['s-cr'] = doc.createComment(''));
1563
+ contentRefElm['s-cn'] = true;
1564
+ elm.insertBefore(contentRefElm, elm.firstChild);
1565
+ };
1566
+ const disconnectedCallback = (elm) => {
1567
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1568
+ const hostRef = getHostRef(elm);
1569
+ const instance = hostRef.$lazyInstance$ ;
1570
+ {
1571
+ if (hostRef.$rmListeners$) {
1572
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
1573
+ hostRef.$rmListeners$ = undefined;
1574
+ }
1575
+ }
1576
+ {
1577
+ safeCall(instance, 'disconnectedCallback');
1578
+ }
1579
+ }
1580
+ };
1581
+ const bootstrapLazy = (lazyBundles, options = {}) => {
1582
+ const endBootstrap = createTime();
1583
+ const cmpTags = [];
1584
+ const exclude = options.exclude || [];
1585
+ const customElements = win.customElements;
1586
+ const head = doc.head;
1587
+ const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
1588
+ const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
1589
+ const deferredConnectedCallbacks = [];
1590
+ let appLoadFallback;
1591
+ let isBootstrapping = true;
1592
+ Object.assign(plt, options);
1593
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1594
+ lazyBundles.map((lazyBundle) => {
1595
+ lazyBundle[1].map((compactMeta) => {
1596
+ const cmpMeta = {
1597
+ $flags$: compactMeta[0],
1598
+ $tagName$: compactMeta[1],
1599
+ $members$: compactMeta[2],
1600
+ $listeners$: compactMeta[3],
1601
+ };
1602
+ {
1603
+ cmpMeta.$members$ = compactMeta[2];
1604
+ }
1605
+ {
1606
+ cmpMeta.$listeners$ = compactMeta[3];
1607
+ }
1608
+ {
1609
+ cmpMeta.$attrsToReflect$ = [];
1610
+ }
1611
+ {
1612
+ cmpMeta.$watchers$ = {};
1613
+ }
1614
+ const tagName = cmpMeta.$tagName$;
1615
+ const HostElement = class extends HTMLElement {
1616
+ // StencilLazyHost
1617
+ constructor(self) {
1618
+ // @ts-ignore
1619
+ super(self);
1620
+ self = this;
1621
+ registerHost(self, cmpMeta);
1622
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1623
+ // this component is using shadow dom
1624
+ // and this browser supports shadow dom
1625
+ // add the read-only property "shadowRoot" to the host element
1626
+ // adding the shadow root build conditionals to minimize runtime
1627
+ {
1628
+ {
1629
+ self.attachShadow({ mode: 'open' });
1630
+ }
1631
+ }
1632
+ }
1633
+ }
1634
+ connectedCallback() {
1635
+ if (appLoadFallback) {
1636
+ clearTimeout(appLoadFallback);
1637
+ appLoadFallback = null;
1638
+ }
1639
+ if (isBootstrapping) {
1640
+ // connectedCallback will be processed once all components have been registered
1641
+ deferredConnectedCallbacks.push(this);
1642
+ }
1643
+ else {
1644
+ plt.jmp(() => connectedCallback(this));
1645
+ }
1646
+ }
1647
+ disconnectedCallback() {
1648
+ plt.jmp(() => disconnectedCallback(this));
1649
+ }
1650
+ componentOnReady() {
1651
+ return getHostRef(this).$onReadyPromise$;
1652
+ }
1653
+ };
1654
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
1655
+ if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1656
+ cmpTags.push(tagName);
1657
+ customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
1658
+ }
1659
+ });
1660
+ });
1661
+ {
1662
+ visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
1663
+ visibilityStyle.setAttribute('data-styles', '');
1664
+ head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
1665
+ }
1666
+ // Process deferred connectedCallbacks now all components have been registered
1667
+ isBootstrapping = false;
1668
+ if (deferredConnectedCallbacks.length) {
1669
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
1670
+ }
1671
+ else {
1672
+ {
1673
+ plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));
1674
+ }
1675
+ }
1676
+ // Fallback appLoad event
1677
+ endBootstrap();
1678
+ };
1679
+ const getAssetPath = (path) => {
1680
+ const assetUrl = new URL(path, plt.$resourcesUrl$);
1681
+ return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
1682
+ };
1683
+ const Fragment = (_, children) => children;
1684
+ const hostRefs = new WeakMap();
1685
+ const getHostRef = (ref) => hostRefs.get(ref);
1686
+ const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1687
+ const registerHost = (elm, cmpMeta) => {
1688
+ const hostRef = {
1689
+ $flags$: 0,
1690
+ $hostElement$: elm,
1691
+ $cmpMeta$: cmpMeta,
1692
+ $instanceValues$: new Map(),
1693
+ };
1694
+ {
1695
+ hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));
1696
+ }
1697
+ {
1698
+ hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1699
+ elm['s-p'] = [];
1700
+ elm['s-rc'] = [];
1701
+ }
1702
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1703
+ return hostRefs.set(elm, hostRef);
1704
+ };
1705
+ const isMemberInElement = (elm, memberName) => memberName in elm;
1706
+ const consoleError = (e, el) => (0, console.error)(e, el);
1707
+ const cmpModules = /*@__PURE__*/ new Map();
1708
+ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1709
+ // loadModuleImport
1710
+ const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
1711
+ const bundleId = cmpMeta.$lazyBundleId$;
1712
+ const module = cmpModules.get(bundleId) ;
1713
+ if (module) {
1714
+ return module[exportName];
1715
+ }
1716
+ return import(
1717
+ /* webpackInclude: /\.entry\.js$/ */
1718
+ /* webpackExclude: /\.system\.entry\.js$/ */
1719
+ /* webpackMode: "lazy" */
1720
+ `./${bundleId}.entry.js${''}`).then((importedModule) => {
1721
+ {
1722
+ cmpModules.set(bundleId, importedModule);
1723
+ }
1724
+ return importedModule[exportName];
1725
+ }, consoleError);
1726
+ };
1727
+ const styles = new Map();
1728
+ const queueDomReads = [];
1729
+ const queueDomWrites = [];
1730
+ const queueTask = (queue, write) => (cb) => {
1731
+ queue.push(cb);
1732
+ if (!queuePending) {
1733
+ queuePending = true;
1734
+ if (write && plt.$flags$ & 4 /* queueSync */) {
1735
+ nextTick(flush);
1736
+ }
1737
+ else {
1738
+ plt.raf(flush);
1739
+ }
1740
+ }
1741
+ };
1742
+ const consume = (queue) => {
1743
+ for (let i = 0; i < queue.length; i++) {
1744
+ try {
1745
+ queue[i](performance.now());
1746
+ }
1747
+ catch (e) {
1748
+ consoleError(e);
1749
+ }
1750
+ }
1751
+ queue.length = 0;
1752
+ };
1753
+ const flush = () => {
1754
+ // always force a bunch of medium callbacks to run, but still have
1755
+ // a throttle on how many can run in a certain time
1756
+ // DOM READS!!!
1757
+ consume(queueDomReads);
1758
+ // DOM WRITES!!!
1759
+ {
1760
+ consume(queueDomWrites);
1761
+ if ((queuePending = queueDomReads.length > 0)) {
1762
+ // still more to do yet, but we've run out of time
1763
+ // let's let this thing cool off and try again in the next tick
1764
+ plt.raf(flush);
1765
+ }
1766
+ }
1767
+ };
1768
+ const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
1769
+ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1770
+
1771
+ export { Fragment as F, Host as H, getAssetPath as a, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r };