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

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