@six-group/ui-library 0.0.0-insider.b50c229 → 0.0.0-insider.b9edd84

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 (1779) hide show
  1. package/README.md +9 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  3. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  4. package/dist/cjs/error-messages-6e8049a4.js +119 -0
  5. package/dist/cjs/error-messages-6e8049a4.js.map +1 -0
  6. package/dist/cjs/event-listeners-9fb878f1.js +61 -0
  7. package/dist/cjs/event-listeners-9fb878f1.js.map +1 -0
  8. package/dist/cjs/{execution-control-b4707294.js → execution-control-d728da70.js} +15 -15
  9. package/dist/cjs/{execution-control-b4707294.js.map → execution-control-d728da70.js.map} +1 -1
  10. package/dist/cjs/focus-visible-e2c9255a.js +47 -0
  11. package/dist/cjs/{focus-visible-ae2470dd.js.map → focus-visible-e2c9255a.js.map} +1 -1
  12. package/dist/cjs/form-9ebaae7c.js +20 -0
  13. package/dist/cjs/{form-2df8c5bb.js.map → form-9ebaae7c.js.map} +1 -1
  14. package/dist/cjs/form-control-b39f1df5.js +36 -0
  15. package/dist/cjs/form-control-b39f1df5.js.map +1 -0
  16. package/dist/cjs/index-417a06c8.js +1936 -0
  17. package/dist/cjs/index-417a06c8.js.map +1 -0
  18. package/dist/cjs/index.cjs.js +55 -87
  19. package/dist/cjs/index.cjs.js.map +1 -1
  20. package/dist/cjs/loader.cjs.js +5 -3
  21. package/dist/cjs/loader.cjs.js.map +1 -1
  22. package/dist/cjs/modal-bd7fc5bc.js +35 -0
  23. package/dist/cjs/modal-bd7fc5bc.js.map +1 -0
  24. package/dist/cjs/{popover-2df7e154.js → popover-1e7c09f1.js} +99 -99
  25. package/dist/cjs/popover-1e7c09f1.js.map +1 -0
  26. package/dist/cjs/popup-e854acda.js +103 -0
  27. package/dist/cjs/popup-e854acda.js.map +1 -0
  28. package/dist/cjs/scroll-68033901.js +68 -0
  29. package/dist/cjs/scroll-68033901.js.map +1 -0
  30. package/dist/cjs/six-alert.cjs.entry.js +144 -111
  31. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  32. package/dist/cjs/six-avatar.cjs.entry.js +23 -22
  33. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  34. package/dist/cjs/six-badge.cjs.entry.js +25 -24
  35. package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
  36. package/dist/cjs/six-button.cjs.entry.js +98 -96
  37. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  38. package/dist/cjs/six-card.cjs.entry.js +10 -9
  39. package/dist/cjs/six-card.cjs.entry.js.map +1 -1
  40. package/dist/cjs/six-checkbox_2.cjs.entry.js +192 -0
  41. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -0
  42. package/dist/cjs/six-datepicker.cjs.entry.js +864 -840
  43. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  44. package/dist/cjs/six-details.cjs.entry.js +129 -128
  45. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  46. package/dist/cjs/six-dialog.cjs.entry.js +115 -131
  47. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  48. package/dist/cjs/six-drawer.cjs.entry.js +132 -149
  49. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  50. package/dist/cjs/six-dropdown_2.cjs.entry.js +722 -639
  51. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
  52. package/dist/cjs/six-error-page.cjs.entry.js +84 -83
  53. package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
  54. package/dist/cjs/six-error.cjs.entry.js +22 -0
  55. package/dist/cjs/six-error.cjs.entry.js.map +1 -0
  56. package/dist/cjs/six-file-list-item.cjs.entry.js +36 -35
  57. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  58. package/dist/cjs/six-file-list.cjs.entry.js +9 -8
  59. package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
  60. package/dist/cjs/six-file-upload.cjs.entry.js +123 -100
  61. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  62. package/dist/cjs/six-footer.cjs.entry.js +10 -9
  63. package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
  64. package/dist/cjs/six-group-label.cjs.entry.js +45 -44
  65. package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
  66. package/dist/cjs/six-header.cjs.entry.js +180 -157
  67. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  68. package/dist/cjs/six-icon-button.cjs.entry.js +34 -33
  69. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  70. package/dist/cjs/six-icon.cjs.entry.js +24 -23
  71. package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
  72. package/dist/cjs/six-input.cjs.entry.js +203 -188
  73. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  74. package/dist/cjs/six-item-picker.cjs.entry.js +407 -310
  75. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
  76. package/dist/cjs/six-language-switcher.cjs.entry.js +53 -48
  77. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
  78. package/dist/cjs/six-layout-grid.cjs.entry.js +22 -21
  79. package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
  80. package/dist/cjs/six-main-container.cjs.entry.js +11 -10
  81. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
  82. package/dist/cjs/six-menu-divider.cjs.entry.js +10 -9
  83. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
  84. package/dist/cjs/six-menu-label.cjs.entry.js +10 -9
  85. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
  86. package/dist/cjs/six-picto.cjs.entry.js +16 -15
  87. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  88. package/dist/cjs/six-progress-bar.cjs.entry.js +17 -16
  89. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  90. package/dist/cjs/six-progress-ring.cjs.entry.js +32 -31
  91. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  92. package/dist/cjs/six-radio.cjs.entry.js +106 -105
  93. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  94. package/dist/cjs/six-range.cjs.entry.js +200 -186
  95. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  96. package/dist/cjs/six-root.cjs.entry.js +13 -31
  97. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  98. package/dist/cjs/six-search-field.cjs.entry.js +46 -45
  99. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
  100. package/dist/cjs/six-select.cjs.entry.js +539 -362
  101. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  102. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +58 -46
  103. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  104. package/dist/cjs/six-sidebar-item.cjs.entry.js +19 -16
  105. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  106. package/dist/cjs/six-sidebar.cjs.entry.js +176 -175
  107. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
  108. package/dist/cjs/six-spinner.cjs.entry.js +17 -16
  109. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  110. package/dist/cjs/six-stage-indicator.cjs.entry.js +23 -0
  111. package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -0
  112. package/dist/cjs/six-switch.cjs.entry.js +109 -90
  113. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  114. package/dist/cjs/six-tab-group.cjs.entry.js +256 -235
  115. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  116. package/dist/cjs/six-tab-panel.cjs.entry.js +16 -15
  117. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
  118. package/dist/cjs/six-tab.cjs.entry.js +57 -40
  119. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  120. package/dist/cjs/six-tag.cjs.entry.js +57 -34
  121. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  122. package/dist/cjs/six-textarea.cjs.entry.js +183 -179
  123. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  124. package/dist/cjs/six-tile.cjs.entry.js +79 -78
  125. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  126. package/dist/cjs/six-timepicker.cjs.entry.js +350 -354
  127. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  128. package/dist/cjs/six-tooltip.cjs.entry.js +150 -149
  129. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
  130. package/dist/cjs/slot-1b1232a1.js +51 -0
  131. package/dist/cjs/slot-1b1232a1.js.map +1 -0
  132. package/dist/cjs/types-d3da200b.js +19 -0
  133. package/dist/cjs/types-d3da200b.js.map +1 -0
  134. package/dist/cjs/ui-library.cjs.js +13 -11
  135. package/dist/cjs/ui-library.cjs.js.map +1 -1
  136. package/dist/collection/assets/TRADEMARKS.md +3 -3
  137. package/dist/collection/collection-manifest.json +7 -7
  138. package/dist/collection/components/six-alert/six-alert.css +5 -1
  139. package/dist/collection/components/six-alert/six-alert.js +382 -337
  140. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  141. package/dist/collection/components/six-avatar/six-avatar.css +2 -2
  142. package/dist/collection/components/six-avatar/six-avatar.js +111 -111
  143. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  144. package/dist/collection/components/six-badge/six-badge.css +1 -1
  145. package/dist/collection/components/six-badge/six-badge.js +90 -90
  146. package/dist/collection/components/six-badge/six-badge.js.map +1 -1
  147. package/dist/collection/components/six-button/six-button.css +23 -30
  148. package/dist/collection/components/six-button/six-button.js +448 -446
  149. package/dist/collection/components/six-button/six-button.js.map +1 -1
  150. package/dist/collection/components/six-card/six-card.css +4 -5
  151. package/dist/collection/components/six-card/six-card.js +15 -15
  152. package/dist/collection/components/six-card/six-card.js.map +1 -1
  153. package/dist/collection/components/six-checkbox/six-checkbox.css +12 -2
  154. package/dist/collection/components/six-checkbox/six-checkbox.js +421 -399
  155. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  156. package/dist/collection/components/six-datepicker/components/day-selection.js +8 -8
  157. package/dist/collection/components/six-datepicker/components/day-selection.js.map +1 -1
  158. package/dist/collection/components/six-datepicker/components/month-selection.js +8 -8
  159. package/dist/collection/components/six-datepicker/components/month-selection.js.map +1 -1
  160. package/dist/collection/components/six-datepicker/components/year-selection.js +8 -8
  161. package/dist/collection/components/six-datepicker/components/year-selection.js.map +1 -1
  162. package/dist/collection/components/six-datepicker/six-date-formats.js +21 -20
  163. package/dist/collection/components/six-datepicker/six-date-formats.js.map +1 -1
  164. package/dist/collection/components/six-datepicker/six-datepicker.css +1 -1
  165. package/dist/collection/components/six-datepicker/six-datepicker.js +1054 -1039
  166. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  167. package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js +14 -14
  168. package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js.map +1 -1
  169. package/dist/collection/components/six-details/six-details.css +4 -6
  170. package/dist/collection/components/six-details/six-details.js +410 -410
  171. package/dist/collection/components/six-details/six-details.js.map +1 -1
  172. package/dist/collection/components/six-dialog/six-dialog.css +2 -2
  173. package/dist/collection/components/six-dialog/six-dialog.js +340 -358
  174. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  175. package/dist/collection/components/six-drawer/six-drawer.css +2 -2
  176. package/dist/collection/components/six-drawer/six-drawer.js +393 -412
  177. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  178. package/dist/collection/components/six-dropdown/six-dropdown.css +22 -6
  179. package/dist/collection/components/six-dropdown/six-dropdown.js +983 -891
  180. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  181. package/dist/collection/components/six-error/six-error.css +6 -0
  182. package/dist/collection/components/six-error/six-error.js +25 -0
  183. package/dist/collection/components/six-error/six-error.js.map +1 -0
  184. package/dist/collection/components/six-error-page/six-error-page.js +177 -177
  185. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
  186. package/dist/collection/components/six-file-list/six-file-list.js +15 -15
  187. package/dist/collection/components/six-file-list/six-file-list.js.map +1 -1
  188. package/dist/collection/components/six-file-list-item/six-file-list-item.css +1 -1
  189. package/dist/collection/components/six-file-list-item/six-file-list-item.js +195 -195
  190. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  191. package/dist/collection/components/six-file-upload/six-file-upload.css +12 -4
  192. package/dist/collection/components/six-file-upload/six-file-upload.js +369 -291
  193. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  194. package/dist/collection/components/six-footer/six-footer.css +2 -2
  195. package/dist/collection/components/six-footer/six-footer.js +15 -15
  196. package/dist/collection/components/six-footer/six-footer.js.map +1 -1
  197. package/dist/collection/components/six-group-label/six-group-label.css +5 -2
  198. package/dist/collection/components/six-group-label/six-group-label.js +155 -155
  199. package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
  200. package/dist/collection/components/six-header/six-header.css +15 -2
  201. package/dist/collection/components/six-header/six-header.js +464 -405
  202. package/dist/collection/components/six-header/six-header.js.map +1 -1
  203. package/dist/collection/components/six-icon/six-icon.css +5 -2
  204. package/dist/collection/components/six-icon/six-icon.js +71 -71
  205. package/dist/collection/components/six-icon/six-icon.js.map +1 -1
  206. package/dist/collection/components/six-icon-button/six-icon-button.css +5 -5
  207. package/dist/collection/components/six-icon-button/six-icon-button.js +131 -131
  208. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  209. package/dist/collection/components/six-input/six-input.css +15 -2
  210. package/dist/collection/components/six-input/six-input.js +1006 -919
  211. package/dist/collection/components/six-input/six-input.js.map +1 -1
  212. package/dist/collection/components/six-item-picker/six-item-picker.css +8 -0
  213. package/dist/collection/components/six-item-picker/six-item-picker.js +727 -631
  214. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  215. package/dist/collection/components/six-item-picker/types.js +9 -7
  216. package/dist/collection/components/six-item-picker/types.js.map +1 -1
  217. package/dist/collection/components/six-language-switcher/six-language-switcher.css +7 -2
  218. package/dist/collection/components/six-language-switcher/six-language-switcher.js +128 -124
  219. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  220. package/dist/collection/components/six-layout-grid/six-layout-grid.js +54 -54
  221. package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
  222. package/dist/collection/components/six-main-container/six-main-container.js +41 -41
  223. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
  224. package/dist/collection/components/six-menu/six-menu.css +8 -7
  225. package/dist/collection/components/six-menu/six-menu.js +397 -366
  226. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  227. package/dist/collection/components/six-menu-divider/six-menu-divider.css +3 -2
  228. package/dist/collection/components/six-menu-divider/six-menu-divider.js +15 -15
  229. package/dist/collection/components/six-menu-divider/six-menu-divider.js.map +1 -1
  230. package/dist/collection/components/six-menu-item/six-menu-item.css +13 -2
  231. package/dist/collection/components/six-menu-item/six-menu-item.js +209 -180
  232. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  233. package/dist/collection/components/six-menu-label/six-menu-label.css +1 -1
  234. package/dist/collection/components/six-menu-label/six-menu-label.js +15 -15
  235. package/dist/collection/components/six-menu-label/six-menu-label.js.map +1 -1
  236. package/dist/collection/components/six-picto/six-picto.js +46 -46
  237. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  238. package/dist/collection/components/six-progress-bar/six-progress-bar.css +1 -1
  239. package/dist/collection/components/six-progress-bar/six-progress-bar.js +64 -64
  240. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  241. package/dist/collection/components/six-progress-ring/six-progress-ring.css +1 -1
  242. package/dist/collection/components/six-progress-ring/six-progress-ring.js +100 -100
  243. package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
  244. package/dist/collection/components/six-radio/six-radio.css +1 -1
  245. package/dist/collection/components/six-radio/six-radio.js +321 -320
  246. package/dist/collection/components/six-radio/six-radio.js.map +1 -1
  247. package/dist/collection/components/six-range/six-range.css +6 -3
  248. package/dist/collection/components/six-range/six-range.js +574 -542
  249. package/dist/collection/components/six-range/six-range.js.map +1 -1
  250. package/dist/collection/components/six-root/six-root.js +84 -152
  251. package/dist/collection/components/six-root/six-root.js.map +1 -1
  252. package/dist/collection/components/six-search-field/six-search-field.css +1 -1
  253. package/dist/collection/components/six-search-field/six-search-field.js +169 -169
  254. package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
  255. package/dist/collection/components/six-select/six-select.css +58 -67
  256. package/dist/collection/components/six-select/six-select.js +1124 -919
  257. package/dist/collection/components/six-select/six-select.js.map +1 -1
  258. package/dist/collection/components/six-select/util.js +58 -34
  259. package/dist/collection/components/six-select/util.js.map +1 -1
  260. package/dist/collection/components/six-sidebar/six-sidebar.css +2 -2
  261. package/dist/collection/components/six-sidebar/six-sidebar.js +466 -464
  262. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
  263. package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +6 -1
  264. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +101 -82
  265. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
  266. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +13 -1
  267. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +180 -152
  268. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  269. package/dist/collection/components/six-spinner/six-spinner.css +1 -1
  270. package/dist/collection/components/six-spinner/six-spinner.js +47 -46
  271. package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
  272. package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +1 -1
  273. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +45 -45
  274. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js.map +1 -1
  275. package/dist/collection/components/six-switch/six-switch.css +5 -2
  276. package/dist/collection/components/six-switch/six-switch.js +386 -344
  277. package/dist/collection/components/six-switch/six-switch.js.map +1 -1
  278. package/dist/collection/components/six-tab/six-tab.css +55 -6
  279. package/dist/collection/components/six-tab/six-tab.js +206 -189
  280. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  281. package/dist/collection/components/six-tab-group/six-tab-group.css +1 -32
  282. package/dist/collection/components/six-tab-group/six-tab-group.js +343 -357
  283. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  284. package/dist/collection/components/six-tab-panel/six-tab-panel.css +1 -1
  285. package/dist/collection/components/six-tab-panel/six-tab-panel.js +63 -63
  286. package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
  287. package/dist/collection/components/six-tag/six-tag.css +1 -1
  288. package/dist/collection/components/six-tag/six-tag.js +161 -139
  289. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  290. package/dist/collection/components/six-textarea/six-textarea.css +10 -2
  291. package/dist/collection/components/six-textarea/six-textarea.js +792 -763
  292. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
  293. package/dist/collection/components/six-tile/six-tile.css +2 -2
  294. package/dist/collection/components/six-tile/six-tile.js +298 -298
  295. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  296. package/dist/collection/components/six-timepicker/six-timepicker.css +1 -1
  297. package/dist/collection/components/six-timepicker/six-timepicker.js +825 -812
  298. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  299. package/dist/collection/components/six-tooltip/six-tooltip.css +2 -2
  300. package/dist/collection/components/six-tooltip/six-tooltip.js +407 -407
  301. package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
  302. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
  303. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  304. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
  305. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  306. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
  307. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  308. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
  309. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  310. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
  311. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  312. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
  313. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  314. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
  315. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  316. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
  317. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  318. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
  319. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  320. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
  321. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  322. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
  323. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  324. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
  325. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  326. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
  327. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  328. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
  329. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  330. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
  331. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  332. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
  333. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  334. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
  335. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  336. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
  337. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  338. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  339. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  340. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  341. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  342. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  343. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  344. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  345. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  346. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  347. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  348. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  349. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  350. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  351. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  352. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  353. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  354. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  355. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  356. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  357. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  358. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  359. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  360. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  361. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  362. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  363. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  364. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  365. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  366. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  367. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  368. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  369. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  370. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  371. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  372. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  373. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  374. package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
  375. package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  376. package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
  377. package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  378. package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
  379. package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  380. package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
  381. package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  382. package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
  383. package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  384. package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
  385. package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  386. package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
  387. package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  388. package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
  389. package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  390. package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
  391. package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  392. package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
  393. package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  394. package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
  395. package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  396. package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
  397. package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  398. package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
  399. package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  400. package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
  401. package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  402. package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
  403. package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  404. package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
  405. package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  406. package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
  407. package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  408. package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
  409. package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  410. package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
  411. package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
  412. package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
  413. package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
  414. package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
  415. package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
  416. package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
  417. package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
  418. package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
  419. package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
  420. package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
  421. package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
  422. package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
  423. package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
  424. package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
  425. package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
  426. package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
  427. package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
  428. package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
  429. package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
  430. package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
  431. package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
  432. package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
  433. package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
  434. package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
  435. package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
  436. package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
  437. package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
  438. package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
  439. package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
  440. package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
  441. package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
  442. package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
  443. package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
  444. package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
  445. package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
  446. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
  447. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  448. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
  449. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  450. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
  451. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  452. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
  453. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  454. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
  455. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  456. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
  457. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  458. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
  459. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  460. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
  461. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  462. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
  463. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  464. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
  465. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  466. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
  467. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  468. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
  469. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  470. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
  471. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  472. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
  473. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  474. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
  475. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  476. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
  477. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  478. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
  479. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  480. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
  481. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  482. package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
  483. package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
  484. package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
  485. package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
  486. package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
  487. package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
  488. package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
  489. package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
  490. package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
  491. package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
  492. package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
  493. package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
  494. package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
  495. package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
  496. package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
  497. package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
  498. package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
  499. package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
  500. package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
  501. package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
  502. package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
  503. package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
  504. package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
  505. package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
  506. package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
  507. package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
  508. package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
  509. package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
  510. package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
  511. package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
  512. package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
  513. package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
  514. package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
  515. package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
  516. package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
  517. package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
  518. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
  519. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  520. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
  521. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  522. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
  523. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  524. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
  525. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  526. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
  527. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  528. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
  529. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  530. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
  531. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  532. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
  533. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  534. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
  535. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  536. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
  537. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  538. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
  539. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  540. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
  541. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  542. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
  543. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  544. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
  545. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  546. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
  547. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  548. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
  549. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  550. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
  551. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  552. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
  553. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  554. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
  555. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  556. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
  557. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  558. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
  559. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  560. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
  561. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  562. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
  563. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  564. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
  565. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  566. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
  567. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  568. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
  569. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  570. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
  571. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  572. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
  573. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  574. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
  575. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  576. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
  577. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  578. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
  579. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  580. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
  581. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  582. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
  583. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  584. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
  585. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  586. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
  587. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  588. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
  589. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  590. package/dist/collection/functional-components/form-control/form-control.js +19 -17
  591. package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
  592. package/dist/collection/index.js +1 -0
  593. package/dist/collection/index.js.map +1 -1
  594. package/dist/collection/testUtil/delay.js +1 -1
  595. package/dist/collection/testUtil/delay.js.map +1 -1
  596. package/dist/collection/utils/alert.js +54 -0
  597. package/dist/collection/utils/alert.js.map +1 -0
  598. package/dist/collection/utils/animation.js +34 -0
  599. package/dist/collection/utils/animation.js.map +1 -0
  600. package/dist/collection/utils/date-util.js +525 -500
  601. package/dist/collection/utils/date-util.js.map +1 -1
  602. package/dist/collection/utils/error-messages.js +102 -81
  603. package/dist/collection/utils/error-messages.js.map +1 -1
  604. package/dist/collection/utils/event-listeners.js +51 -51
  605. package/dist/collection/utils/event-listeners.js.map +1 -1
  606. package/dist/collection/utils/execution-control.js +14 -14
  607. package/dist/collection/utils/execution-control.js.map +1 -1
  608. package/dist/collection/utils/focus-visible.js +28 -28
  609. package/dist/collection/utils/focus-visible.js.map +1 -1
  610. package/dist/collection/utils/form.js +12 -12
  611. package/dist/collection/utils/form.js.map +1 -1
  612. package/dist/collection/utils/modal.js +25 -25
  613. package/dist/collection/utils/modal.js.map +1 -1
  614. package/dist/collection/utils/offset.js +4 -4
  615. package/dist/collection/utils/offset.js.map +1 -1
  616. package/dist/collection/utils/popover.js +99 -99
  617. package/dist/collection/utils/popover.js.map +1 -1
  618. package/dist/collection/utils/popup.js +71 -71
  619. package/dist/collection/utils/popup.js.map +1 -1
  620. package/dist/collection/utils/scroll.js +27 -27
  621. package/dist/collection/utils/scroll.js.map +1 -1
  622. package/dist/collection/utils/slot.js +28 -29
  623. package/dist/collection/utils/slot.js.map +1 -1
  624. package/dist/collection/utils/tabbable.js +17 -17
  625. package/dist/collection/utils/tabbable.js.map +1 -1
  626. package/dist/collection/utils/time.util.js +72 -72
  627. package/dist/collection/utils/time.util.js.map +1 -1
  628. package/dist/components/event-listeners.js +51 -51
  629. package/dist/components/event-listeners.js.map +1 -1
  630. package/dist/components/execution-control.js +14 -14
  631. package/dist/components/execution-control.js.map +1 -1
  632. package/dist/components/focus-visible.js +28 -28
  633. package/dist/components/focus-visible.js.map +1 -1
  634. package/dist/components/form-control.js +26 -23
  635. package/dist/components/form-control.js.map +1 -1
  636. package/dist/components/form.js +12 -12
  637. package/dist/components/form.js.map +1 -1
  638. package/dist/components/index.d.ts +6 -0
  639. package/dist/components/index.js +113 -149
  640. package/dist/components/index.js.map +1 -1
  641. package/dist/components/modal.js +26 -42
  642. package/dist/components/modal.js.map +1 -1
  643. package/dist/components/popover.js +98 -98
  644. package/dist/components/popover.js.map +1 -1
  645. package/dist/components/scroll.js +32 -32
  646. package/dist/components/scroll.js.map +1 -1
  647. package/dist/components/six-alert.d.ts +2 -2
  648. package/dist/components/six-alert.js +178 -142
  649. package/dist/components/six-alert.js.map +1 -1
  650. package/dist/components/six-avatar.d.ts +2 -2
  651. package/dist/components/six-avatar.js +46 -45
  652. package/dist/components/six-avatar.js.map +1 -1
  653. package/dist/components/six-badge.d.ts +2 -2
  654. package/dist/components/six-badge.js +41 -40
  655. package/dist/components/six-badge.js.map +1 -1
  656. package/dist/components/six-button.d.ts +2 -2
  657. package/dist/components/six-button.js +1 -142
  658. package/dist/components/six-button.js.map +1 -1
  659. package/dist/components/six-button2.js +148 -0
  660. package/dist/components/six-button2.js.map +1 -0
  661. package/dist/components/six-card.d.ts +2 -2
  662. package/dist/components/six-card.js +22 -21
  663. package/dist/components/six-card.js.map +1 -1
  664. package/dist/components/six-checkbox.d.ts +2 -2
  665. package/dist/components/six-checkbox.js +1 -145
  666. package/dist/components/six-checkbox.js.map +1 -1
  667. package/dist/components/six-checkbox2.js +166 -0
  668. package/dist/components/six-checkbox2.js.map +1 -0
  669. package/dist/components/six-datepicker.d.ts +2 -2
  670. package/dist/components/six-datepicker.js +934 -900
  671. package/dist/components/six-datepicker.js.map +1 -1
  672. package/dist/components/six-details.d.ts +2 -2
  673. package/dist/components/six-details2.js +159 -156
  674. package/dist/components/six-details2.js.map +1 -1
  675. package/dist/components/six-dialog.d.ts +2 -2
  676. package/dist/components/six-dialog.js +145 -159
  677. package/dist/components/six-dialog.js.map +1 -1
  678. package/dist/components/six-drawer.d.ts +2 -2
  679. package/dist/components/six-drawer.js +164 -179
  680. package/dist/components/six-drawer.js.map +1 -1
  681. package/dist/components/six-dropdown.d.ts +2 -2
  682. package/dist/components/six-dropdown2.js +554 -464
  683. package/dist/components/six-dropdown2.js.map +1 -1
  684. package/dist/components/six-error-page.d.ts +2 -2
  685. package/dist/components/six-error-page.js +107 -106
  686. package/dist/components/six-error-page.js.map +1 -1
  687. package/dist/components/{set-attributes.d.ts → six-error.d.ts} +4 -4
  688. package/dist/components/six-error.js +8 -0
  689. package/dist/components/six-error.js.map +1 -0
  690. package/dist/components/six-error2.js +33 -0
  691. package/dist/components/six-error2.js.map +1 -0
  692. package/dist/components/six-file-list-item.d.ts +2 -2
  693. package/dist/components/six-file-list-item.js +60 -59
  694. package/dist/components/six-file-list-item.js.map +1 -1
  695. package/dist/components/six-file-list.d.ts +2 -2
  696. package/dist/components/six-file-list.js +21 -20
  697. package/dist/components/six-file-list.js.map +1 -1
  698. package/dist/components/six-file-upload.d.ts +2 -2
  699. package/dist/components/six-file-upload.js +165 -126
  700. package/dist/components/six-file-upload.js.map +1 -1
  701. package/dist/components/six-footer.d.ts +2 -2
  702. package/dist/components/six-footer.js +22 -21
  703. package/dist/components/six-footer.js.map +1 -1
  704. package/dist/components/six-group-label.d.ts +2 -2
  705. package/dist/components/six-group-label.js +72 -62
  706. package/dist/components/six-group-label.js.map +1 -1
  707. package/dist/components/six-header.d.ts +2 -2
  708. package/dist/components/six-header.js +246 -207
  709. package/dist/components/six-header.js.map +1 -1
  710. package/dist/components/six-icon-button.d.ts +2 -2
  711. package/dist/components/six-icon-button2.js +56 -55
  712. package/dist/components/six-icon-button2.js.map +1 -1
  713. package/dist/components/six-icon.d.ts +2 -2
  714. package/dist/components/six-icon2.js +39 -38
  715. package/dist/components/six-icon2.js.map +1 -1
  716. package/dist/components/six-input.d.ts +2 -2
  717. package/dist/components/six-input2.js +269 -239
  718. package/dist/components/six-input2.js.map +1 -1
  719. package/dist/components/six-item-picker.d.ts +2 -2
  720. package/dist/components/six-item-picker2.js +451 -348
  721. package/dist/components/six-item-picker2.js.map +1 -1
  722. package/dist/components/six-language-switcher.d.ts +2 -2
  723. package/dist/components/six-language-switcher.js +70 -63
  724. package/dist/components/six-language-switcher.js.map +1 -1
  725. package/dist/components/six-layout-grid.d.ts +2 -2
  726. package/dist/components/six-layout-grid.js +38 -35
  727. package/dist/components/six-layout-grid.js.map +1 -1
  728. package/dist/components/six-main-container.d.ts +2 -2
  729. package/dist/components/six-main-container.js +25 -24
  730. package/dist/components/six-main-container.js.map +1 -1
  731. package/dist/components/six-menu-divider.d.ts +2 -2
  732. package/dist/components/six-menu-divider.js +22 -21
  733. package/dist/components/six-menu-divider.js.map +1 -1
  734. package/dist/components/six-menu-item.d.ts +2 -2
  735. package/dist/components/six-menu-item2.js +99 -75
  736. package/dist/components/six-menu-item2.js.map +1 -1
  737. package/dist/components/six-menu-label.d.ts +2 -2
  738. package/dist/components/six-menu-label.js +22 -21
  739. package/dist/components/six-menu-label.js.map +1 -1
  740. package/dist/components/six-menu.d.ts +2 -2
  741. package/dist/components/six-menu2.js +246 -220
  742. package/dist/components/six-menu2.js.map +1 -1
  743. package/dist/components/six-picto.d.ts +2 -2
  744. package/dist/components/six-picto2.js +30 -29
  745. package/dist/components/six-picto2.js.map +1 -1
  746. package/dist/components/six-progress-bar.d.ts +2 -2
  747. package/dist/components/six-progress-bar.js +32 -31
  748. package/dist/components/six-progress-bar.js.map +1 -1
  749. package/dist/components/six-progress-ring.d.ts +2 -2
  750. package/dist/components/six-progress-ring.js +50 -47
  751. package/dist/components/six-progress-ring.js.map +1 -1
  752. package/dist/components/six-radio.d.ts +2 -2
  753. package/dist/components/six-radio.js +129 -125
  754. package/dist/components/six-radio.js.map +1 -1
  755. package/dist/components/six-range.d.ts +2 -2
  756. package/dist/components/six-range.js +244 -215
  757. package/dist/components/six-range.js.map +1 -1
  758. package/dist/components/six-root.d.ts +2 -2
  759. package/dist/components/six-root.js +40 -66
  760. package/dist/components/six-root.js.map +1 -1
  761. package/dist/components/six-search-field.d.ts +2 -2
  762. package/dist/components/six-search-field.js +80 -71
  763. package/dist/components/six-search-field.js.map +1 -1
  764. package/dist/components/six-select.d.ts +2 -2
  765. package/dist/components/six-select.js +766 -449
  766. package/dist/components/six-select.js.map +1 -1
  767. package/dist/components/six-sidebar-item-group.d.ts +2 -2
  768. package/dist/components/six-sidebar-item-group.js +88 -75
  769. package/dist/components/six-sidebar-item-group.js.map +1 -1
  770. package/dist/components/six-sidebar-item.d.ts +2 -2
  771. package/dist/components/six-sidebar-item.js +36 -32
  772. package/dist/components/six-sidebar-item.js.map +1 -1
  773. package/dist/components/six-sidebar.d.ts +2 -2
  774. package/dist/components/six-sidebar.js +200 -197
  775. package/dist/components/six-sidebar.js.map +1 -1
  776. package/dist/components/six-spinner.d.ts +2 -2
  777. package/dist/components/six-spinner2.js +31 -30
  778. package/dist/components/six-spinner2.js.map +1 -1
  779. package/dist/components/six-stage-indicator.d.ts +2 -2
  780. package/dist/components/six-stage-indicator2.js +30 -29
  781. package/dist/components/six-stage-indicator2.js.map +1 -1
  782. package/dist/components/six-switch.d.ts +2 -2
  783. package/dist/components/six-switch.js +143 -112
  784. package/dist/components/six-switch.js.map +1 -1
  785. package/dist/components/six-tab-group.d.ts +2 -2
  786. package/dist/components/six-tab-group.js +286 -262
  787. package/dist/components/six-tab-group.js.map +1 -1
  788. package/dist/components/six-tab-panel.d.ts +2 -2
  789. package/dist/components/six-tab-panel.js +31 -30
  790. package/dist/components/six-tab-panel.js.map +1 -1
  791. package/dist/components/six-tab.d.ts +2 -2
  792. package/dist/components/six-tab.js +86 -69
  793. package/dist/components/six-tab.js.map +1 -1
  794. package/dist/components/six-tag.d.ts +2 -2
  795. package/dist/components/six-tag.js +99 -1
  796. package/dist/components/six-tag.js.map +1 -1
  797. package/dist/components/six-textarea.d.ts +2 -2
  798. package/dist/components/six-textarea.js +236 -218
  799. package/dist/components/six-textarea.js.map +1 -1
  800. package/dist/components/six-tile.d.ts +2 -2
  801. package/dist/components/six-tile.js +118 -117
  802. package/dist/components/six-tile.js.map +1 -1
  803. package/dist/components/six-timepicker.d.ts +2 -2
  804. package/dist/components/six-timepicker2.js +492 -487
  805. package/dist/components/six-timepicker2.js.map +1 -1
  806. package/dist/components/six-tooltip.d.ts +2 -2
  807. package/dist/components/six-tooltip2.js +173 -170
  808. package/dist/components/six-tooltip2.js.map +1 -1
  809. package/dist/components/slot.js +29 -30
  810. package/dist/components/slot.js.map +1 -1
  811. package/dist/components.d.ts +35 -21
  812. package/dist/components.json +1277 -312
  813. package/dist/esm/app-globals-0f993ce5.js +5 -0
  814. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  815. package/dist/esm/error-messages-1eaaad23.js +115 -0
  816. package/dist/esm/error-messages-1eaaad23.js.map +1 -0
  817. package/dist/esm/event-listeners-706d4309.js +59 -0
  818. package/dist/esm/event-listeners-706d4309.js.map +1 -0
  819. package/dist/esm/{execution-control-e0892a05.js → execution-control-2ebaf4ef.js} +15 -15
  820. package/dist/esm/{execution-control-e0892a05.js.map → execution-control-2ebaf4ef.js.map} +1 -1
  821. package/dist/esm/focus-visible-d9dbfeef.js +45 -0
  822. package/dist/esm/{focus-visible-fc6ac671.js.map → focus-visible-d9dbfeef.js.map} +1 -1
  823. package/dist/esm/form-4b145b7a.js +18 -0
  824. package/dist/esm/{form-81252534.js.map → form-4b145b7a.js.map} +1 -1
  825. package/dist/esm/form-control-ad1710bf.js +34 -0
  826. package/dist/esm/form-control-ad1710bf.js.map +1 -0
  827. package/dist/esm/index-a7bee415.js +1907 -0
  828. package/dist/esm/index-a7bee415.js.map +1 -0
  829. package/dist/esm/index.js +52 -87
  830. package/dist/esm/index.js.map +1 -1
  831. package/dist/esm/loader.js +6 -4
  832. package/dist/esm/loader.js.map +1 -1
  833. package/dist/esm/modal-6c1288e3.js +33 -0
  834. package/dist/esm/modal-6c1288e3.js.map +1 -0
  835. package/dist/esm/{popover-136d1f73.js → popover-25996e62.js} +99 -99
  836. package/dist/esm/popover-25996e62.js.map +1 -0
  837. package/dist/esm/popup-7209e9d5.js +98 -0
  838. package/dist/esm/popup-7209e9d5.js.map +1 -0
  839. package/dist/esm/scroll-3e16851e.js +64 -0
  840. package/dist/esm/{scroll-3fb087a2.js.map → scroll-3e16851e.js.map} +1 -1
  841. package/dist/esm/six-alert.entry.js +144 -111
  842. package/dist/esm/six-alert.entry.js.map +1 -1
  843. package/dist/esm/six-avatar.entry.js +23 -22
  844. package/dist/esm/six-avatar.entry.js.map +1 -1
  845. package/dist/esm/six-badge.entry.js +25 -24
  846. package/dist/esm/six-badge.entry.js.map +1 -1
  847. package/dist/esm/six-button.entry.js +98 -96
  848. package/dist/esm/six-button.entry.js.map +1 -1
  849. package/dist/esm/six-card.entry.js +10 -9
  850. package/dist/esm/six-card.entry.js.map +1 -1
  851. package/dist/esm/six-checkbox_2.entry.js +187 -0
  852. package/dist/esm/six-checkbox_2.entry.js.map +1 -0
  853. package/dist/esm/six-datepicker.entry.js +864 -840
  854. package/dist/esm/six-datepicker.entry.js.map +1 -1
  855. package/dist/esm/six-details.entry.js +129 -128
  856. package/dist/esm/six-details.entry.js.map +1 -1
  857. package/dist/esm/six-dialog.entry.js +115 -131
  858. package/dist/esm/six-dialog.entry.js.map +1 -1
  859. package/dist/esm/six-drawer.entry.js +132 -149
  860. package/dist/esm/six-drawer.entry.js.map +1 -1
  861. package/dist/esm/six-dropdown_2.entry.js +722 -639
  862. package/dist/esm/six-dropdown_2.entry.js.map +1 -1
  863. package/dist/esm/six-error-page.entry.js +84 -83
  864. package/dist/esm/six-error-page.entry.js.map +1 -1
  865. package/dist/esm/six-error.entry.js +18 -0
  866. package/dist/esm/six-error.entry.js.map +1 -0
  867. package/dist/esm/six-file-list-item.entry.js +36 -35
  868. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  869. package/dist/esm/six-file-list.entry.js +9 -8
  870. package/dist/esm/six-file-list.entry.js.map +1 -1
  871. package/dist/esm/six-file-upload.entry.js +123 -100
  872. package/dist/esm/six-file-upload.entry.js.map +1 -1
  873. package/dist/esm/six-footer.entry.js +10 -9
  874. package/dist/esm/six-footer.entry.js.map +1 -1
  875. package/dist/esm/six-group-label.entry.js +45 -44
  876. package/dist/esm/six-group-label.entry.js.map +1 -1
  877. package/dist/esm/six-header.entry.js +180 -157
  878. package/dist/esm/six-header.entry.js.map +1 -1
  879. package/dist/esm/six-icon-button.entry.js +34 -33
  880. package/dist/esm/six-icon-button.entry.js.map +1 -1
  881. package/dist/esm/six-icon.entry.js +24 -23
  882. package/dist/esm/six-icon.entry.js.map +1 -1
  883. package/dist/esm/six-input.entry.js +203 -188
  884. package/dist/esm/six-input.entry.js.map +1 -1
  885. package/dist/esm/six-item-picker.entry.js +407 -310
  886. package/dist/esm/six-item-picker.entry.js.map +1 -1
  887. package/dist/esm/six-language-switcher.entry.js +53 -48
  888. package/dist/esm/six-language-switcher.entry.js.map +1 -1
  889. package/dist/esm/six-layout-grid.entry.js +22 -21
  890. package/dist/esm/six-layout-grid.entry.js.map +1 -1
  891. package/dist/esm/six-main-container.entry.js +11 -10
  892. package/dist/esm/six-main-container.entry.js.map +1 -1
  893. package/dist/esm/six-menu-divider.entry.js +10 -9
  894. package/dist/esm/six-menu-divider.entry.js.map +1 -1
  895. package/dist/esm/six-menu-label.entry.js +10 -9
  896. package/dist/esm/six-menu-label.entry.js.map +1 -1
  897. package/dist/esm/six-picto.entry.js +16 -15
  898. package/dist/esm/six-picto.entry.js.map +1 -1
  899. package/dist/esm/six-progress-bar.entry.js +17 -16
  900. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  901. package/dist/esm/six-progress-ring.entry.js +32 -31
  902. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  903. package/dist/esm/six-radio.entry.js +106 -105
  904. package/dist/esm/six-radio.entry.js.map +1 -1
  905. package/dist/esm/six-range.entry.js +200 -186
  906. package/dist/esm/six-range.entry.js.map +1 -1
  907. package/dist/esm/six-root.entry.js +13 -31
  908. package/dist/esm/six-root.entry.js.map +1 -1
  909. package/dist/esm/six-search-field.entry.js +46 -45
  910. package/dist/esm/six-search-field.entry.js.map +1 -1
  911. package/dist/esm/six-select.entry.js +539 -362
  912. package/dist/esm/six-select.entry.js.map +1 -1
  913. package/dist/esm/six-sidebar-item-group.entry.js +58 -46
  914. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  915. package/dist/esm/six-sidebar-item.entry.js +19 -16
  916. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  917. package/dist/esm/six-sidebar.entry.js +176 -175
  918. package/dist/esm/six-sidebar.entry.js.map +1 -1
  919. package/dist/esm/six-spinner.entry.js +17 -16
  920. package/dist/esm/six-spinner.entry.js.map +1 -1
  921. package/dist/esm/six-stage-indicator.entry.js +19 -0
  922. package/dist/esm/six-stage-indicator.entry.js.map +1 -0
  923. package/dist/esm/six-switch.entry.js +109 -90
  924. package/dist/esm/six-switch.entry.js.map +1 -1
  925. package/dist/esm/six-tab-group.entry.js +256 -235
  926. package/dist/esm/six-tab-group.entry.js.map +1 -1
  927. package/dist/esm/six-tab-panel.entry.js +16 -15
  928. package/dist/esm/six-tab-panel.entry.js.map +1 -1
  929. package/dist/esm/six-tab.entry.js +57 -40
  930. package/dist/esm/six-tab.entry.js.map +1 -1
  931. package/dist/esm/six-tag.entry.js +57 -34
  932. package/dist/esm/six-tag.entry.js.map +1 -1
  933. package/dist/esm/six-textarea.entry.js +183 -179
  934. package/dist/esm/six-textarea.entry.js.map +1 -1
  935. package/dist/esm/six-tile.entry.js +79 -78
  936. package/dist/esm/six-tile.entry.js.map +1 -1
  937. package/dist/esm/six-timepicker.entry.js +350 -354
  938. package/dist/esm/six-timepicker.entry.js.map +1 -1
  939. package/dist/esm/six-tooltip.entry.js +150 -149
  940. package/dist/esm/six-tooltip.entry.js.map +1 -1
  941. package/dist/esm/slot-56531341.js +47 -0
  942. package/dist/esm/slot-56531341.js.map +1 -0
  943. package/dist/esm/types-a07bb999.js +19 -0
  944. package/dist/esm/types-a07bb999.js.map +1 -0
  945. package/dist/esm/ui-library.js +14 -12
  946. package/dist/esm/ui-library.js.map +1 -1
  947. package/dist/types/components/six-alert/six-alert.d.ts +47 -40
  948. package/dist/types/components/six-avatar/six-avatar.d.ts +11 -11
  949. package/dist/types/components/six-badge/six-badge.d.ts +7 -7
  950. package/dist/types/components/six-button/six-button.d.ts +48 -48
  951. package/dist/types/components/six-card/six-card.d.ts +1 -1
  952. package/dist/types/components/six-checkbox/six-checkbox.d.ts +58 -55
  953. package/dist/types/components/six-datepicker/components/day-selection.d.ts +3 -3
  954. package/dist/types/components/six-datepicker/components/month-selection.d.ts +3 -3
  955. package/dist/types/components/six-datepicker/components/year-selection.d.ts +3 -3
  956. package/dist/types/components/six-datepicker/six-date-formats.d.ts +20 -20
  957. package/dist/types/components/six-datepicker/six-datepicker.d.ts +188 -186
  958. package/dist/types/components/six-details/six-details.d.ts +42 -42
  959. package/dist/types/components/six-dialog/six-dialog.d.ts +51 -50
  960. package/dist/types/components/six-drawer/six-drawer.d.ts +58 -58
  961. package/dist/types/components/six-dropdown/six-dropdown.d.ts +131 -112
  962. package/dist/types/components/six-error/six-error.d.ts +9 -0
  963. package/dist/types/components/six-error-page/six-error-page.d.ts +25 -25
  964. package/dist/types/components/six-file-list/six-file-list.d.ts +1 -1
  965. package/dist/types/components/six-file-list-item/six-file-list-item.d.ts +23 -23
  966. package/dist/types/components/six-file-upload/six-file-upload.d.ts +43 -33
  967. package/dist/types/components/six-footer/six-footer.d.ts +1 -1
  968. package/dist/types/components/six-group-label/six-group-label.d.ts +22 -22
  969. package/dist/types/components/six-header/six-header.d.ts +61 -55
  970. package/dist/types/components/six-icon/six-icon.d.ts +5 -5
  971. package/dist/types/components/six-icon-button/six-icon-button.d.ts +18 -18
  972. package/dist/types/components/six-input/six-input.d.ts +120 -103
  973. package/dist/types/components/six-item-picker/six-item-picker.d.ts +95 -88
  974. package/dist/types/components/six-item-picker/types.d.ts +7 -7
  975. package/dist/types/components/six-language-switcher/six-language-switcher.d.ts +15 -15
  976. package/dist/types/components/six-layout-grid/six-layout-grid.d.ts +6 -6
  977. package/dist/types/components/six-main-container/six-main-container.d.ts +4 -4
  978. package/dist/types/components/six-menu/six-menu.d.ts +67 -63
  979. package/dist/types/components/six-menu-divider/six-menu-divider.d.ts +1 -1
  980. package/dist/types/components/six-menu-item/six-menu-item.d.ts +27 -21
  981. package/dist/types/components/six-menu-label/six-menu-label.d.ts +1 -1
  982. package/dist/types/components/six-picto/six-picto.d.ts +6 -6
  983. package/dist/types/components/six-progress-bar/six-progress-bar.d.ts +5 -5
  984. package/dist/types/components/six-progress-ring/six-progress-ring.d.ts +11 -11
  985. package/dist/types/components/six-radio/six-radio.d.ts +38 -38
  986. package/dist/types/components/six-range/six-range.d.ts +77 -72
  987. package/dist/types/components/six-root/six-root.d.ts +8 -21
  988. package/dist/types/components/six-search-field/six-search-field.d.ts +20 -20
  989. package/dist/types/components/six-select/six-select.d.ts +135 -119
  990. package/dist/types/components/six-select/util.d.ts +3 -1
  991. package/dist/types/components/six-sidebar/six-sidebar.d.ts +45 -45
  992. package/dist/types/components/six-sidebar-item/six-sidebar-item.d.ts +12 -7
  993. package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +25 -19
  994. package/dist/types/components/six-spinner/six-spinner.d.ts +6 -5
  995. package/dist/types/components/six-stage-indicator/six-stage-indicator.d.ts +3 -3
  996. package/dist/types/components/six-switch/six-switch.d.ts +49 -42
  997. package/dist/types/components/six-tab/six-tab.d.ts +20 -20
  998. package/dist/types/components/six-tab-group/six-tab-group.d.ts +38 -38
  999. package/dist/types/components/six-tab-panel/six-tab-panel.d.ts +7 -7
  1000. package/dist/types/components/six-tag/six-tag.d.ts +20 -12
  1001. package/dist/types/components/six-textarea/six-textarea.d.ts +89 -86
  1002. package/dist/types/components/six-tile/six-tile.d.ts +31 -31
  1003. package/dist/types/components/six-timepicker/six-timepicker.d.ts +154 -151
  1004. package/dist/types/components/six-tooltip/six-tooltip.d.ts +55 -55
  1005. package/dist/types/components.d.ts +623 -70
  1006. package/dist/types/functional-components/form-control/form-control.d.ts +32 -28
  1007. package/dist/types/index.d.ts +1 -0
  1008. package/dist/types/stencil-public-runtime.d.ts +37 -13
  1009. package/dist/types/types.d.ts +1 -0
  1010. package/dist/types/utils/alert.d.ts +10 -0
  1011. package/dist/types/utils/animation.d.ts +12 -0
  1012. package/dist/types/utils/date-util.d.ts +58 -50
  1013. package/dist/types/utils/error-messages.d.ts +27 -25
  1014. package/dist/types/utils/event-listeners.d.ts +11 -11
  1015. package/dist/types/utils/focus-visible.d.ts +2 -2
  1016. package/dist/types/utils/modal.d.ts +8 -8
  1017. package/dist/types/utils/offset.d.ts +2 -2
  1018. package/dist/types/utils/popover.d.ts +21 -21
  1019. package/dist/types/utils/slot.d.ts +0 -1
  1020. package/dist/types/utils/time.util.d.ts +6 -6
  1021. package/dist/types/utils/type-check.d.ts +1 -1
  1022. package/dist/types/utils/types.d.ts +1 -1
  1023. package/dist/ui-library/assets/TRADEMARKS.md +3 -3
  1024. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
  1025. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  1026. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
  1027. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  1028. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
  1029. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  1030. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
  1031. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  1032. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
  1033. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  1034. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
  1035. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  1036. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
  1037. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  1038. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
  1039. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  1040. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
  1041. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  1042. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
  1043. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  1044. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
  1045. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  1046. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
  1047. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  1048. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
  1049. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  1050. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
  1051. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  1052. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
  1053. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  1054. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
  1055. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  1056. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
  1057. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  1058. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
  1059. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  1060. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  1061. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  1062. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  1063. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  1064. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  1065. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  1066. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  1067. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  1068. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  1069. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  1070. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  1071. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  1072. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  1073. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  1074. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  1075. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  1076. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  1077. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  1078. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  1079. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  1080. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  1081. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  1082. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  1083. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  1084. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  1085. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  1086. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  1087. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  1088. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  1089. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  1090. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  1091. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  1092. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  1093. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  1094. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  1095. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  1096. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
  1097. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  1098. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
  1099. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  1100. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
  1101. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  1102. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
  1103. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  1104. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
  1105. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  1106. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
  1107. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  1108. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
  1109. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  1110. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
  1111. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  1112. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
  1113. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  1114. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
  1115. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  1116. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
  1117. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  1118. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
  1119. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  1120. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
  1121. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  1122. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
  1123. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  1124. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
  1125. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  1126. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
  1127. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  1128. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
  1129. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  1130. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
  1131. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  1132. package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
  1133. package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
  1134. package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
  1135. package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
  1136. package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
  1137. package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
  1138. package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
  1139. package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
  1140. package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
  1141. package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
  1142. package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
  1143. package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
  1144. package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
  1145. package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
  1146. package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
  1147. package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
  1148. package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
  1149. package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
  1150. package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
  1151. package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
  1152. package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
  1153. package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
  1154. package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
  1155. package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
  1156. package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
  1157. package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
  1158. package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
  1159. package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
  1160. package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
  1161. package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
  1162. package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
  1163. package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
  1164. package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
  1165. package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
  1166. package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
  1167. package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
  1168. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
  1169. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  1170. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
  1171. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  1172. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
  1173. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  1174. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
  1175. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  1176. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
  1177. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  1178. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
  1179. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  1180. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
  1181. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  1182. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
  1183. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  1184. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
  1185. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  1186. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
  1187. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  1188. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
  1189. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  1190. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
  1191. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  1192. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
  1193. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  1194. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
  1195. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  1196. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
  1197. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  1198. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
  1199. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  1200. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
  1201. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  1202. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
  1203. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  1204. package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
  1205. package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
  1206. package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
  1207. package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
  1208. package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
  1209. package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
  1210. package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
  1211. package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
  1212. package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
  1213. package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
  1214. package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
  1215. package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
  1216. package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
  1217. package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
  1218. package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
  1219. package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
  1220. package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
  1221. package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
  1222. package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
  1223. package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
  1224. package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
  1225. package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
  1226. package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
  1227. package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
  1228. package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
  1229. package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
  1230. package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
  1231. package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
  1232. package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
  1233. package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
  1234. package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
  1235. package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
  1236. package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
  1237. package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
  1238. package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
  1239. package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
  1240. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
  1241. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  1242. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
  1243. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  1244. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
  1245. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  1246. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
  1247. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  1248. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
  1249. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  1250. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
  1251. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  1252. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
  1253. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  1254. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
  1255. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  1256. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
  1257. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  1258. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
  1259. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  1260. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
  1261. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  1262. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
  1263. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  1264. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
  1265. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  1266. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
  1267. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  1268. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
  1269. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  1270. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
  1271. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  1272. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
  1273. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  1274. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
  1275. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  1276. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
  1277. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  1278. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
  1279. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  1280. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
  1281. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  1282. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
  1283. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  1284. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
  1285. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  1286. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
  1287. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  1288. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
  1289. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  1290. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
  1291. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  1292. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
  1293. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  1294. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
  1295. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  1296. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
  1297. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  1298. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
  1299. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  1300. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
  1301. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  1302. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
  1303. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  1304. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
  1305. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  1306. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
  1307. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  1308. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
  1309. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  1310. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
  1311. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  1312. package/dist/ui-library/index.esm.js +1 -1
  1313. package/dist/ui-library/index.esm.js.map +1 -1
  1314. package/dist/ui-library/{p-5654e4c7.js → p-06ba4450.js} +1 -1
  1315. package/dist/ui-library/{p-5654e4c7.js.map → p-06ba4450.js.map} +1 -1
  1316. package/dist/ui-library/p-0cebf1d2.js +2 -0
  1317. package/dist/ui-library/p-0cebf1d2.js.map +1 -0
  1318. package/dist/ui-library/p-160223d5.entry.js +2 -0
  1319. package/dist/ui-library/p-160223d5.entry.js.map +1 -0
  1320. package/dist/ui-library/p-1b67b95f.entry.js +2 -0
  1321. package/dist/ui-library/p-1b67b95f.entry.js.map +1 -0
  1322. package/dist/ui-library/p-1e47e014.entry.js +2 -0
  1323. package/dist/ui-library/p-1e47e014.entry.js.map +1 -0
  1324. package/dist/ui-library/p-2146cf22.entry.js +2 -0
  1325. package/dist/ui-library/p-2146cf22.entry.js.map +1 -0
  1326. package/dist/ui-library/{p-13b43e04.entry.js → p-22f2ca14.entry.js} +2 -2
  1327. package/dist/ui-library/p-22f2ca14.entry.js.map +1 -0
  1328. package/dist/ui-library/p-2ad904a7.entry.js +2 -0
  1329. package/dist/ui-library/p-2ad904a7.entry.js.map +1 -0
  1330. package/dist/ui-library/p-30000e86.entry.js +2 -0
  1331. package/dist/ui-library/p-30000e86.entry.js.map +1 -0
  1332. package/dist/ui-library/p-3267becc.entry.js +2 -0
  1333. package/dist/ui-library/p-3267becc.entry.js.map +1 -0
  1334. package/dist/ui-library/p-3f6cc2c2.entry.js +2 -0
  1335. package/dist/ui-library/p-3f6cc2c2.entry.js.map +1 -0
  1336. package/dist/ui-library/p-418413d3.entry.js +2 -0
  1337. package/dist/ui-library/p-418413d3.entry.js.map +1 -0
  1338. package/dist/ui-library/p-42cd3588.entry.js +2 -0
  1339. package/dist/ui-library/p-42cd3588.entry.js.map +1 -0
  1340. package/dist/ui-library/p-43213f9e.entry.js +2 -0
  1341. package/dist/ui-library/p-43213f9e.entry.js.map +1 -0
  1342. package/dist/ui-library/p-45761392.entry.js +2 -0
  1343. package/dist/ui-library/p-45761392.entry.js.map +1 -0
  1344. package/dist/ui-library/p-48118ce8.js +3 -0
  1345. package/dist/ui-library/p-48118ce8.js.map +1 -0
  1346. package/dist/ui-library/p-53867d77.entry.js +2 -0
  1347. package/dist/ui-library/p-53867d77.entry.js.map +1 -0
  1348. package/dist/ui-library/p-559a15db.entry.js +2 -0
  1349. package/dist/ui-library/p-559a15db.entry.js.map +1 -0
  1350. package/dist/ui-library/p-592c7cf9.entry.js +2 -0
  1351. package/dist/ui-library/p-592c7cf9.entry.js.map +1 -0
  1352. package/dist/ui-library/p-5a513e96.entry.js +2 -0
  1353. package/dist/ui-library/p-5a513e96.entry.js.map +1 -0
  1354. package/dist/ui-library/p-651293e7.js +2 -0
  1355. package/dist/ui-library/p-651293e7.js.map +1 -0
  1356. package/dist/ui-library/p-6be7f9f4.entry.js +2 -0
  1357. package/dist/ui-library/p-6be7f9f4.entry.js.map +1 -0
  1358. package/dist/ui-library/p-70a7e87c.entry.js +2 -0
  1359. package/dist/ui-library/p-70a7e87c.entry.js.map +1 -0
  1360. package/dist/ui-library/p-70fac778.entry.js +2 -0
  1361. package/dist/ui-library/p-70fac778.entry.js.map +1 -0
  1362. package/dist/ui-library/p-783ec07c.entry.js +2 -0
  1363. package/dist/ui-library/p-783ec07c.entry.js.map +1 -0
  1364. package/dist/ui-library/p-78a4fabd.entry.js +2 -0
  1365. package/dist/ui-library/p-78a4fabd.entry.js.map +1 -0
  1366. package/dist/ui-library/p-798e7eeb.entry.js +2 -0
  1367. package/dist/ui-library/p-798e7eeb.entry.js.map +1 -0
  1368. package/dist/ui-library/{p-0fdb185d.js → p-7f856f00.js} +1 -1
  1369. package/dist/ui-library/{p-0fdb185d.js.map → p-7f856f00.js.map} +1 -1
  1370. package/dist/ui-library/{p-1f18768a.js → p-8227aaed.js} +2 -2
  1371. package/dist/ui-library/{p-1f18768a.js.map → p-8227aaed.js.map} +1 -1
  1372. package/dist/ui-library/{p-8c0971e0.js → p-842b492e.js} +1 -1
  1373. package/dist/ui-library/{p-8c0971e0.js.map → p-842b492e.js.map} +1 -1
  1374. package/dist/ui-library/p-84370073.entry.js +2 -0
  1375. package/dist/ui-library/p-84370073.entry.js.map +1 -0
  1376. package/dist/ui-library/{p-0f510624.js → p-862d474e.js} +1 -1
  1377. package/dist/ui-library/p-862d474e.js.map +1 -0
  1378. package/dist/ui-library/{p-7d95def3.js → p-8bfb4bfc.js} +1 -1
  1379. package/dist/ui-library/{p-7d95def3.js.map → p-8bfb4bfc.js.map} +1 -1
  1380. package/dist/ui-library/p-8fe4ec36.entry.js +2 -0
  1381. package/dist/ui-library/p-8fe4ec36.entry.js.map +1 -0
  1382. package/dist/ui-library/p-9370d59e.entry.js +2 -0
  1383. package/dist/ui-library/p-9370d59e.entry.js.map +1 -0
  1384. package/dist/ui-library/p-9915dfc2.entry.js +2 -0
  1385. package/dist/ui-library/p-9915dfc2.entry.js.map +1 -0
  1386. package/dist/ui-library/p-9bb03da7.entry.js +2 -0
  1387. package/dist/ui-library/p-9bb03da7.entry.js.map +1 -0
  1388. package/dist/ui-library/p-a04460e3.js +2 -0
  1389. package/dist/ui-library/p-a04460e3.js.map +1 -0
  1390. package/dist/ui-library/{p-698bb2c8.js → p-a1502802.js} +1 -1
  1391. package/dist/ui-library/{p-698bb2c8.js.map → p-a1502802.js.map} +1 -1
  1392. package/dist/ui-library/p-a929b095.entry.js +2 -0
  1393. package/dist/ui-library/p-a929b095.entry.js.map +1 -0
  1394. package/dist/ui-library/p-a9c733e3.entry.js +2 -0
  1395. package/dist/ui-library/p-a9c733e3.entry.js.map +1 -0
  1396. package/dist/ui-library/p-aa319c2c.entry.js +2 -0
  1397. package/dist/ui-library/p-aa319c2c.entry.js.map +1 -0
  1398. package/dist/ui-library/p-aff7bbcb.entry.js +2 -0
  1399. package/dist/ui-library/p-aff7bbcb.entry.js.map +1 -0
  1400. package/dist/ui-library/p-b361d5da.entry.js +2 -0
  1401. package/dist/ui-library/p-b361d5da.entry.js.map +1 -0
  1402. package/dist/ui-library/p-b3b243a6.entry.js +2 -0
  1403. package/dist/ui-library/p-b3b243a6.entry.js.map +1 -0
  1404. package/dist/ui-library/p-b4bd1767.entry.js +2 -0
  1405. package/dist/ui-library/p-b4bd1767.entry.js.map +1 -0
  1406. package/dist/ui-library/p-bbf2ac6b.entry.js +2 -0
  1407. package/dist/ui-library/p-bbf2ac6b.entry.js.map +1 -0
  1408. package/dist/ui-library/p-c1cd72fb.entry.js +2 -0
  1409. package/dist/ui-library/p-c1cd72fb.entry.js.map +1 -0
  1410. package/dist/ui-library/p-c6f5a872.entry.js +2 -0
  1411. package/dist/ui-library/p-c6f5a872.entry.js.map +1 -0
  1412. package/dist/ui-library/p-cb510ea1.entry.js +2 -0
  1413. package/dist/ui-library/p-cb510ea1.entry.js.map +1 -0
  1414. package/dist/ui-library/p-cdc9224d.entry.js +2 -0
  1415. package/dist/ui-library/p-cdc9224d.entry.js.map +1 -0
  1416. package/dist/ui-library/p-cf323369.entry.js +2 -0
  1417. package/dist/ui-library/p-cf323369.entry.js.map +1 -0
  1418. package/dist/ui-library/p-e080d5b6.js +2 -0
  1419. package/dist/ui-library/p-e080d5b6.js.map +1 -0
  1420. package/dist/ui-library/p-e0ac4cd8.entry.js +2 -0
  1421. package/dist/ui-library/p-e0ac4cd8.entry.js.map +1 -0
  1422. package/dist/ui-library/p-e1255160.js +2 -0
  1423. package/dist/ui-library/p-e1255160.js.map +1 -0
  1424. package/dist/ui-library/p-e3ff26dd.entry.js +2 -0
  1425. package/dist/ui-library/p-e3ff26dd.entry.js.map +1 -0
  1426. package/dist/ui-library/p-e8c717d3.entry.js +2 -0
  1427. package/dist/ui-library/p-e8c717d3.entry.js.map +1 -0
  1428. package/dist/ui-library/p-e8e16974.entry.js +2 -0
  1429. package/dist/ui-library/p-e8e16974.entry.js.map +1 -0
  1430. package/dist/ui-library/p-ecfb0aec.entry.js +2 -0
  1431. package/dist/ui-library/p-ecfb0aec.entry.js.map +1 -0
  1432. package/dist/ui-library/p-f0bc11a5.entry.js +2 -0
  1433. package/dist/ui-library/p-f0bc11a5.entry.js.map +1 -0
  1434. package/dist/ui-library/p-f12eec83.entry.js +2 -0
  1435. package/dist/ui-library/p-f12eec83.entry.js.map +1 -0
  1436. package/dist/ui-library/p-f136a6b2.js +2 -0
  1437. package/dist/ui-library/p-f136a6b2.js.map +1 -0
  1438. package/dist/ui-library/p-f678d725.entry.js +2 -0
  1439. package/dist/ui-library/p-f678d725.entry.js.map +1 -0
  1440. package/dist/ui-library/p-f9b341a3.entry.js +2 -0
  1441. package/dist/ui-library/p-f9b341a3.entry.js.map +1 -0
  1442. package/dist/ui-library/ui-library.css +1 -10
  1443. package/dist/ui-library/ui-library.esm.js +1 -1
  1444. package/dist/ui-library/ui-library.esm.js.map +1 -1
  1445. package/loader/cdn.js +1 -3
  1446. package/loader/index.cjs.js +1 -3
  1447. package/loader/index.d.ts +3 -0
  1448. package/loader/index.es2017.js +1 -3
  1449. package/loader/index.js +1 -3
  1450. package/package.json +18 -31
  1451. package/dist/cjs/event-listeners-fdfe838c.js +0 -61
  1452. package/dist/cjs/event-listeners-fdfe838c.js.map +0 -1
  1453. package/dist/cjs/focus-visible-ae2470dd.js +0 -47
  1454. package/dist/cjs/form-2df8c5bb.js +0 -20
  1455. package/dist/cjs/form-control-d369af14.js +0 -33
  1456. package/dist/cjs/form-control-d369af14.js.map +0 -1
  1457. package/dist/cjs/index-900437fc.js +0 -2256
  1458. package/dist/cjs/index-900437fc.js.map +0 -1
  1459. package/dist/cjs/modal-d5f074c7.js +0 -52
  1460. package/dist/cjs/modal-d5f074c7.js.map +0 -1
  1461. package/dist/cjs/popover-2df7e154.js.map +0 -1
  1462. package/dist/cjs/popup-f1d9910f.js +0 -103
  1463. package/dist/cjs/popup-f1d9910f.js.map +0 -1
  1464. package/dist/cjs/scroll-03678de1.js +0 -69
  1465. package/dist/cjs/scroll-03678de1.js.map +0 -1
  1466. package/dist/cjs/set-attributes_2.cjs.entry.js +0 -73
  1467. package/dist/cjs/set-attributes_2.cjs.entry.js.map +0 -1
  1468. package/dist/cjs/six-checkbox.cjs.entry.js +0 -124
  1469. package/dist/cjs/six-checkbox.cjs.entry.js.map +0 -1
  1470. package/dist/cjs/six-menu-item.cjs.entry.js +0 -63
  1471. package/dist/cjs/six-menu-item.cjs.entry.js.map +0 -1
  1472. package/dist/cjs/slot-6e6a400f.js +0 -53
  1473. package/dist/cjs/slot-6e6a400f.js.map +0 -1
  1474. package/dist/cjs/types-47199040.js +0 -17
  1475. package/dist/cjs/types-47199040.js.map +0 -1
  1476. package/dist/collection/components/six-alert/test/six-alert.spec.js +0 -25
  1477. package/dist/collection/components/six-alert/test/six-alert.spec.js.map +0 -1
  1478. package/dist/collection/components/six-avatar/test/six-avatar.spec.js +0 -26
  1479. package/dist/collection/components/six-avatar/test/six-avatar.spec.js.map +0 -1
  1480. package/dist/collection/components/six-badge/test/six-badge.spec.js +0 -20
  1481. package/dist/collection/components/six-badge/test/six-badge.spec.js.map +0 -1
  1482. package/dist/collection/components/six-button/test/six-button.spec.js +0 -69
  1483. package/dist/collection/components/six-button/test/six-button.spec.js.map +0 -1
  1484. package/dist/collection/components/six-card/test/six-card.spec.js +0 -18
  1485. package/dist/collection/components/six-card/test/six-card.spec.js.map +0 -1
  1486. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +0 -79
  1487. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +0 -1
  1488. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +0 -26
  1489. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +0 -1
  1490. package/dist/collection/components/six-details/test/six-details.spec.js +0 -36
  1491. package/dist/collection/components/six-details/test/six-details.spec.js.map +0 -1
  1492. package/dist/collection/components/six-dialog/test/six-dialog.spec.js +0 -34
  1493. package/dist/collection/components/six-dialog/test/six-dialog.spec.js.map +0 -1
  1494. package/dist/collection/components/six-drawer/test/six-drawer.spec.js +0 -34
  1495. package/dist/collection/components/six-drawer/test/six-drawer.spec.js.map +0 -1
  1496. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +0 -122
  1497. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +0 -1
  1498. package/dist/collection/components/six-error-page/test/six-error-page.spec.js +0 -240
  1499. package/dist/collection/components/six-error-page/test/six-error-page.spec.js.map +0 -1
  1500. package/dist/collection/components/six-file-list/test/six-file-list.spec.js +0 -67
  1501. package/dist/collection/components/six-file-list/test/six-file-list.spec.js.map +0 -1
  1502. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js +0 -169
  1503. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js.map +0 -1
  1504. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +0 -103
  1505. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +0 -1
  1506. package/dist/collection/components/six-footer/test/six-footer.spec.js +0 -21
  1507. package/dist/collection/components/six-footer/test/six-footer.spec.js.map +0 -1
  1508. package/dist/collection/components/six-group-label/test/six-group-label.spec.js +0 -43
  1509. package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +0 -1
  1510. package/dist/collection/components/six-header/assets/six-logo.svg +0 -1
  1511. package/dist/collection/components/six-header/test/six-header.spec.js +0 -133
  1512. package/dist/collection/components/six-header/test/six-header.spec.js.map +0 -1
  1513. package/dist/collection/components/six-icon/test/six-icon.spec.js +0 -20
  1514. package/dist/collection/components/six-icon/test/six-icon.spec.js.map +0 -1
  1515. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js +0 -23
  1516. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js.map +0 -1
  1517. package/dist/collection/components/six-input/test/six-input.spec.js +0 -37
  1518. package/dist/collection/components/six-input/test/six-input.spec.js.map +0 -1
  1519. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js +0 -90
  1520. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js.map +0 -1
  1521. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +0 -196
  1522. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +0 -1
  1523. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js +0 -18
  1524. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js.map +0 -1
  1525. package/dist/collection/components/six-main-container/test/six-main-container.spec.js +0 -22
  1526. package/dist/collection/components/six-main-container/test/six-main-container.spec.js.map +0 -1
  1527. package/dist/collection/components/six-menu/test/six-menu.spec.js +0 -93
  1528. package/dist/collection/components/six-menu/test/six-menu.spec.js.map +0 -1
  1529. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js +0 -18
  1530. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js.map +0 -1
  1531. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js +0 -33
  1532. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js.map +0 -1
  1533. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js +0 -20
  1534. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js.map +0 -1
  1535. package/dist/collection/components/six-picto/test/six-picto.spec.js +0 -33
  1536. package/dist/collection/components/six-picto/test/six-picto.spec.js.map +0 -1
  1537. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js +0 -24
  1538. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js.map +0 -1
  1539. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js +0 -26
  1540. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js.map +0 -1
  1541. package/dist/collection/components/six-radio/test/six-radio.spec.js +0 -63
  1542. package/dist/collection/components/six-radio/test/six-radio.spec.js.map +0 -1
  1543. package/dist/collection/components/six-range/test/six-range.spec.js +0 -32
  1544. package/dist/collection/components/six-range/test/six-range.spec.js.map +0 -1
  1545. package/dist/collection/components/six-root/test/six-root.spec.js +0 -43
  1546. package/dist/collection/components/six-root/test/six-root.spec.js.map +0 -1
  1547. package/dist/collection/components/six-search-field/test/six-search-field.spec.js +0 -22
  1548. package/dist/collection/components/six-search-field/test/six-search-field.spec.js.map +0 -1
  1549. package/dist/collection/components/six-select/test/six-select.spec.js +0 -82
  1550. package/dist/collection/components/six-select/test/six-select.spec.js.map +0 -1
  1551. package/dist/collection/components/six-select/test/util.spec.js +0 -81
  1552. package/dist/collection/components/six-select/test/util.spec.js.map +0 -1
  1553. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js +0 -22
  1554. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js.map +0 -1
  1555. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js +0 -50
  1556. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js.map +0 -1
  1557. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +0 -53
  1558. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +0 -1
  1559. package/dist/collection/components/six-spinner/test/six-spinner.spec.js +0 -37
  1560. package/dist/collection/components/six-spinner/test/six-spinner.spec.js.map +0 -1
  1561. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js +0 -117
  1562. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js.map +0 -1
  1563. package/dist/collection/components/six-switch/test/six-switch.spec.js +0 -69
  1564. package/dist/collection/components/six-switch/test/six-switch.spec.js.map +0 -1
  1565. package/dist/collection/components/six-tab/test/six-tab.spec.js +0 -20
  1566. package/dist/collection/components/six-tab/test/six-tab.spec.js.map +0 -1
  1567. package/dist/collection/components/six-tab-group/test/six-tab-group.spec.js +0 -45
  1568. package/dist/collection/components/six-tab-group/test/six-tab-group.spec.js.map +0 -1
  1569. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js +0 -20
  1570. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js.map +0 -1
  1571. package/dist/collection/components/six-tag/test/six-tag.spec.js +0 -42
  1572. package/dist/collection/components/six-tag/test/six-tag.spec.js.map +0 -1
  1573. package/dist/collection/components/six-textarea/test/six-textarea.spec.js +0 -117
  1574. package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +0 -1
  1575. package/dist/collection/components/six-tile/test/six-tile.spec.js +0 -69
  1576. package/dist/collection/components/six-tile/test/six-tile.spec.js.map +0 -1
  1577. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +0 -496
  1578. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +0 -1
  1579. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js +0 -28
  1580. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js.map +0 -1
  1581. package/dist/collection/files/file-list.json +0 -308
  1582. package/dist/collection/files/noto-sans-all-100-italic.woff +0 -0
  1583. package/dist/collection/files/noto-sans-all-100-normal.woff +0 -0
  1584. package/dist/collection/files/noto-sans-all-200-italic.woff +0 -0
  1585. package/dist/collection/files/noto-sans-all-200-normal.woff +0 -0
  1586. package/dist/collection/files/noto-sans-all-300-italic.woff +0 -0
  1587. package/dist/collection/files/noto-sans-all-300-normal.woff +0 -0
  1588. package/dist/collection/files/noto-sans-all-400-italic.woff +0 -0
  1589. package/dist/collection/files/noto-sans-all-400-normal.woff +0 -0
  1590. package/dist/collection/files/noto-sans-all-500-italic.woff +0 -0
  1591. package/dist/collection/files/noto-sans-all-500-normal.woff +0 -0
  1592. package/dist/collection/files/noto-sans-all-600-italic.woff +0 -0
  1593. package/dist/collection/files/noto-sans-all-600-normal.woff +0 -0
  1594. package/dist/collection/files/noto-sans-all-700-italic.woff +0 -0
  1595. package/dist/collection/files/noto-sans-all-700-normal.woff +0 -0
  1596. package/dist/collection/files/noto-sans-all-800-italic.woff +0 -0
  1597. package/dist/collection/files/noto-sans-all-800-normal.woff +0 -0
  1598. package/dist/collection/files/noto-sans-all-900-italic.woff +0 -0
  1599. package/dist/collection/files/noto-sans-all-900-normal.woff +0 -0
  1600. package/dist/collection/utils/date-util.spec.js +0 -995
  1601. package/dist/collection/utils/date-util.spec.js.map +0 -1
  1602. package/dist/collection/utils/scroll.spec.js +0 -122
  1603. package/dist/collection/utils/scroll.spec.js.map +0 -1
  1604. package/dist/collection/utils/support.js +0 -16
  1605. package/dist/collection/utils/support.js.map +0 -1
  1606. package/dist/collection/utils/time.util.spec.js +0 -368
  1607. package/dist/collection/utils/time.util.spec.js.map +0 -1
  1608. package/dist/collection/wrappers/set-attributes/set-attributes.js +0 -74
  1609. package/dist/collection/wrappers/set-attributes/set-attributes.js.map +0 -1
  1610. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js +0 -16
  1611. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js.map +0 -1
  1612. package/dist/components/set-attributes.js +0 -8
  1613. package/dist/components/set-attributes.js.map +0 -1
  1614. package/dist/components/set-attributes2.js +0 -71
  1615. package/dist/components/set-attributes2.js.map +0 -1
  1616. package/dist/components/six-tag2.js +0 -74
  1617. package/dist/components/six-tag2.js.map +0 -1
  1618. package/dist/esm/event-listeners-f6e5b0ab.js +0 -59
  1619. package/dist/esm/event-listeners-f6e5b0ab.js.map +0 -1
  1620. package/dist/esm/focus-visible-fc6ac671.js +0 -45
  1621. package/dist/esm/form-81252534.js +0 -18
  1622. package/dist/esm/form-control-32cb533f.js +0 -31
  1623. package/dist/esm/form-control-32cb533f.js.map +0 -1
  1624. package/dist/esm/index-8a74f992.js +0 -2227
  1625. package/dist/esm/index-8a74f992.js.map +0 -1
  1626. package/dist/esm/modal-7d32e141.js +0 -49
  1627. package/dist/esm/modal-7d32e141.js.map +0 -1
  1628. package/dist/esm/polyfills/core-js.js +0 -11
  1629. package/dist/esm/polyfills/dom.js +0 -79
  1630. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1631. package/dist/esm/polyfills/index.js +0 -34
  1632. package/dist/esm/polyfills/system.js +0 -6
  1633. package/dist/esm/popover-136d1f73.js.map +0 -1
  1634. package/dist/esm/popup-7f89a001.js +0 -98
  1635. package/dist/esm/popup-7f89a001.js.map +0 -1
  1636. package/dist/esm/scroll-3fb087a2.js +0 -64
  1637. package/dist/esm/set-attributes_2.entry.js +0 -68
  1638. package/dist/esm/set-attributes_2.entry.js.map +0 -1
  1639. package/dist/esm/six-checkbox.entry.js +0 -120
  1640. package/dist/esm/six-checkbox.entry.js.map +0 -1
  1641. package/dist/esm/six-menu-item.entry.js +0 -59
  1642. package/dist/esm/six-menu-item.entry.js.map +0 -1
  1643. package/dist/esm/slot-ad36df3a.js +0 -48
  1644. package/dist/esm/slot-ad36df3a.js.map +0 -1
  1645. package/dist/esm/types-59b455aa.js +0 -17
  1646. package/dist/esm/types-59b455aa.js.map +0 -1
  1647. package/dist/types/utils/support.d.ts +0 -1
  1648. package/dist/types/wrappers/set-attributes/set-attributes.d.ts +0 -9
  1649. package/dist/ui-library/assets/six-logo.svg +0 -1
  1650. package/dist/ui-library/files/file-list.json +0 -308
  1651. package/dist/ui-library/files/noto-sans-all-100-italic.woff +0 -0
  1652. package/dist/ui-library/files/noto-sans-all-100-normal.woff +0 -0
  1653. package/dist/ui-library/files/noto-sans-all-200-italic.woff +0 -0
  1654. package/dist/ui-library/files/noto-sans-all-200-normal.woff +0 -0
  1655. package/dist/ui-library/files/noto-sans-all-300-italic.woff +0 -0
  1656. package/dist/ui-library/files/noto-sans-all-300-normal.woff +0 -0
  1657. package/dist/ui-library/files/noto-sans-all-400-italic.woff +0 -0
  1658. package/dist/ui-library/files/noto-sans-all-400-normal.woff +0 -0
  1659. package/dist/ui-library/files/noto-sans-all-500-italic.woff +0 -0
  1660. package/dist/ui-library/files/noto-sans-all-500-normal.woff +0 -0
  1661. package/dist/ui-library/files/noto-sans-all-600-italic.woff +0 -0
  1662. package/dist/ui-library/files/noto-sans-all-600-normal.woff +0 -0
  1663. package/dist/ui-library/files/noto-sans-all-700-italic.woff +0 -0
  1664. package/dist/ui-library/files/noto-sans-all-700-normal.woff +0 -0
  1665. package/dist/ui-library/files/noto-sans-all-800-italic.woff +0 -0
  1666. package/dist/ui-library/files/noto-sans-all-800-normal.woff +0 -0
  1667. package/dist/ui-library/files/noto-sans-all-900-italic.woff +0 -0
  1668. package/dist/ui-library/files/noto-sans-all-900-normal.woff +0 -0
  1669. package/dist/ui-library/p-02981b91.entry.js +0 -2
  1670. package/dist/ui-library/p-02981b91.entry.js.map +0 -1
  1671. package/dist/ui-library/p-0f510624.js.map +0 -1
  1672. package/dist/ui-library/p-1256cc0a.entry.js +0 -2
  1673. package/dist/ui-library/p-1256cc0a.entry.js.map +0 -1
  1674. package/dist/ui-library/p-13b43e04.entry.js.map +0 -1
  1675. package/dist/ui-library/p-15559d38.js +0 -2
  1676. package/dist/ui-library/p-15559d38.js.map +0 -1
  1677. package/dist/ui-library/p-19ed7a4c.entry.js +0 -2
  1678. package/dist/ui-library/p-19ed7a4c.entry.js.map +0 -1
  1679. package/dist/ui-library/p-1d5ee1a0.entry.js +0 -2
  1680. package/dist/ui-library/p-1d5ee1a0.entry.js.map +0 -1
  1681. package/dist/ui-library/p-21b3b321.entry.js +0 -2
  1682. package/dist/ui-library/p-21b3b321.entry.js.map +0 -1
  1683. package/dist/ui-library/p-264d4ea8.entry.js +0 -2
  1684. package/dist/ui-library/p-264d4ea8.entry.js.map +0 -1
  1685. package/dist/ui-library/p-29ac3d7d.entry.js +0 -2
  1686. package/dist/ui-library/p-29ac3d7d.entry.js.map +0 -1
  1687. package/dist/ui-library/p-314b2096.entry.js +0 -2
  1688. package/dist/ui-library/p-314b2096.entry.js.map +0 -1
  1689. package/dist/ui-library/p-330a4988.entry.js +0 -2
  1690. package/dist/ui-library/p-330a4988.entry.js.map +0 -1
  1691. package/dist/ui-library/p-346f9557.entry.js +0 -2
  1692. package/dist/ui-library/p-346f9557.entry.js.map +0 -1
  1693. package/dist/ui-library/p-37557787.entry.js +0 -2
  1694. package/dist/ui-library/p-37557787.entry.js.map +0 -1
  1695. package/dist/ui-library/p-3cc5addb.entry.js +0 -2
  1696. package/dist/ui-library/p-3cc5addb.entry.js.map +0 -1
  1697. package/dist/ui-library/p-3d9de119.entry.js +0 -2
  1698. package/dist/ui-library/p-3d9de119.entry.js.map +0 -1
  1699. package/dist/ui-library/p-411ed539.entry.js +0 -2
  1700. package/dist/ui-library/p-411ed539.entry.js.map +0 -1
  1701. package/dist/ui-library/p-4705a51e.entry.js +0 -2
  1702. package/dist/ui-library/p-4705a51e.entry.js.map +0 -1
  1703. package/dist/ui-library/p-4abed9df.entry.js +0 -2
  1704. package/dist/ui-library/p-4abed9df.entry.js.map +0 -1
  1705. package/dist/ui-library/p-59210f0b.js +0 -2
  1706. package/dist/ui-library/p-59210f0b.js.map +0 -1
  1707. package/dist/ui-library/p-5af44076.entry.js +0 -2
  1708. package/dist/ui-library/p-5af44076.entry.js.map +0 -1
  1709. package/dist/ui-library/p-5d6b7353.entry.js +0 -2
  1710. package/dist/ui-library/p-5d6b7353.entry.js.map +0 -1
  1711. package/dist/ui-library/p-613283a7.entry.js +0 -2
  1712. package/dist/ui-library/p-613283a7.entry.js.map +0 -1
  1713. package/dist/ui-library/p-6153045b.js +0 -3
  1714. package/dist/ui-library/p-6153045b.js.map +0 -1
  1715. package/dist/ui-library/p-6197fe2f.entry.js +0 -2
  1716. package/dist/ui-library/p-6197fe2f.entry.js.map +0 -1
  1717. package/dist/ui-library/p-72254eef.entry.js +0 -2
  1718. package/dist/ui-library/p-72254eef.entry.js.map +0 -1
  1719. package/dist/ui-library/p-724875b0.entry.js +0 -2
  1720. package/dist/ui-library/p-724875b0.entry.js.map +0 -1
  1721. package/dist/ui-library/p-7afafb9d.entry.js +0 -2
  1722. package/dist/ui-library/p-7afafb9d.entry.js.map +0 -1
  1723. package/dist/ui-library/p-7e3ad38a.entry.js +0 -2
  1724. package/dist/ui-library/p-7e3ad38a.entry.js.map +0 -1
  1725. package/dist/ui-library/p-83864cfe.entry.js +0 -2
  1726. package/dist/ui-library/p-83864cfe.entry.js.map +0 -1
  1727. package/dist/ui-library/p-878226a0.entry.js +0 -2
  1728. package/dist/ui-library/p-878226a0.entry.js.map +0 -1
  1729. package/dist/ui-library/p-91b51800.entry.js +0 -2
  1730. package/dist/ui-library/p-91b51800.entry.js.map +0 -1
  1731. package/dist/ui-library/p-95fbdd0b.entry.js +0 -2
  1732. package/dist/ui-library/p-95fbdd0b.entry.js.map +0 -1
  1733. package/dist/ui-library/p-99e24daf.entry.js +0 -2
  1734. package/dist/ui-library/p-99e24daf.entry.js.map +0 -1
  1735. package/dist/ui-library/p-9ace84c7.js +0 -2
  1736. package/dist/ui-library/p-9ace84c7.js.map +0 -1
  1737. package/dist/ui-library/p-9b354f5d.entry.js +0 -2
  1738. package/dist/ui-library/p-9b354f5d.entry.js.map +0 -1
  1739. package/dist/ui-library/p-9c1be3fb.entry.js +0 -2
  1740. package/dist/ui-library/p-9c1be3fb.entry.js.map +0 -1
  1741. package/dist/ui-library/p-9f0b43f9.entry.js +0 -2
  1742. package/dist/ui-library/p-9f0b43f9.entry.js.map +0 -1
  1743. package/dist/ui-library/p-a0f290d0.entry.js +0 -2
  1744. package/dist/ui-library/p-a0f290d0.entry.js.map +0 -1
  1745. package/dist/ui-library/p-a55c7258.entry.js +0 -2
  1746. package/dist/ui-library/p-a55c7258.entry.js.map +0 -1
  1747. package/dist/ui-library/p-a6a9ee96.entry.js +0 -2
  1748. package/dist/ui-library/p-a6a9ee96.entry.js.map +0 -1
  1749. package/dist/ui-library/p-ac099e6b.entry.js +0 -2
  1750. package/dist/ui-library/p-ac099e6b.entry.js.map +0 -1
  1751. package/dist/ui-library/p-ae601a0f.entry.js +0 -2
  1752. package/dist/ui-library/p-ae601a0f.entry.js.map +0 -1
  1753. package/dist/ui-library/p-b351f889.entry.js +0 -2
  1754. package/dist/ui-library/p-b351f889.entry.js.map +0 -1
  1755. package/dist/ui-library/p-b550a258.entry.js +0 -2
  1756. package/dist/ui-library/p-b550a258.entry.js.map +0 -1
  1757. package/dist/ui-library/p-bf87464b.entry.js +0 -2
  1758. package/dist/ui-library/p-bf87464b.entry.js.map +0 -1
  1759. package/dist/ui-library/p-c03ebf7d.entry.js +0 -2
  1760. package/dist/ui-library/p-c03ebf7d.entry.js.map +0 -1
  1761. package/dist/ui-library/p-cd67da3d.entry.js +0 -2
  1762. package/dist/ui-library/p-cd67da3d.entry.js.map +0 -1
  1763. package/dist/ui-library/p-cdaed936.entry.js +0 -2
  1764. package/dist/ui-library/p-cdaed936.entry.js.map +0 -1
  1765. package/dist/ui-library/p-d367f4f9.entry.js +0 -2
  1766. package/dist/ui-library/p-d367f4f9.entry.js.map +0 -1
  1767. package/dist/ui-library/p-d42c2025.js +0 -2
  1768. package/dist/ui-library/p-d42c2025.js.map +0 -1
  1769. package/dist/ui-library/p-dfed33c5.entry.js +0 -2
  1770. package/dist/ui-library/p-dfed33c5.entry.js.map +0 -1
  1771. package/dist/ui-library/p-ed381ad9.entry.js +0 -2
  1772. package/dist/ui-library/p-ed381ad9.entry.js.map +0 -1
  1773. package/dist/ui-library/p-ee8342e1.entry.js +0 -2
  1774. package/dist/ui-library/p-ee8342e1.entry.js.map +0 -1
  1775. package/dist/ui-library/p-ee950ce2.entry.js +0 -2
  1776. package/dist/ui-library/p-ee950ce2.entry.js.map +0 -1
  1777. package/dist/ui-library/p-ff90ffd1.entry.js +0 -2
  1778. package/dist/ui-library/p-ff90ffd1.entry.js.map +0 -1
  1779. package/readme.md +0 -156
@@ -1,2227 +0,0 @@
1
- const NAMESPACE = 'ui-library';
2
-
3
- /**
4
- * Virtual DOM patching algorithm based on Snabbdom by
5
- * Simon Friis Vindum (@paldepind)
6
- * Licensed under the MIT License
7
- * https://github.com/snabbdom/snabbdom/blob/master/LICENSE
8
- *
9
- * Modified for Stencil's renderer and slot projection
10
- */
11
- let scopeId;
12
- let contentRef;
13
- let hostTagName;
14
- let useNativeShadowDom = false;
15
- let checkSlotFallbackVisibility = false;
16
- let checkSlotRelocate = false;
17
- let isSvgMode = false;
18
- let queuePending = false;
19
- const createTime = (fnName, tagName = '') => {
20
- {
21
- return () => {
22
- return;
23
- };
24
- }
25
- };
26
- const uniqueTime = (key, measureText) => {
27
- {
28
- return () => {
29
- return;
30
- };
31
- }
32
- };
33
- const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
34
- /**
35
- * Default style mode id
36
- */
37
- /**
38
- * Reusable empty obj/array
39
- * Don't add values to these!!
40
- */
41
- const EMPTY_OBJ = {};
42
- /**
43
- * Namespaces
44
- */
45
- const SVG_NS = 'http://www.w3.org/2000/svg';
46
- const HTML_NS = 'http://www.w3.org/1999/xhtml';
47
- const isDef = (v) => v != null;
48
- /**
49
- * Check whether a value is a 'complex type', defined here as an object or a
50
- * function.
51
- *
52
- * @param o the value to check
53
- * @returns whether it's a complex type or not
54
- */
55
- const isComplexType = (o) => {
56
- // https://jsperf.com/typeof-fn-object/5
57
- o = typeof o;
58
- return o === 'object' || o === 'function';
59
- };
60
- /**
61
- * Helper method for querying a `meta` tag that contains a nonce value
62
- * out of a DOM's head.
63
- *
64
- * @param doc The DOM containing the `head` to query against
65
- * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
66
- * exists or the tag has no content.
67
- */
68
- function queryNonceMetaTagContent(doc) {
69
- var _a, _b, _c;
70
- return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
71
- }
72
- /**
73
- * Production h() function based on Preact by
74
- * Jason Miller (@developit)
75
- * Licensed under the MIT License
76
- * https://github.com/developit/preact/blob/master/LICENSE
77
- *
78
- * Modified for Stencil's compiler and vdom
79
- */
80
- // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
81
- // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
82
- const h = (nodeName, vnodeData, ...children) => {
83
- let child = null;
84
- let key = null;
85
- let slotName = null;
86
- let simple = false;
87
- let lastSimple = false;
88
- const vNodeChildren = [];
89
- const walk = (c) => {
90
- for (let i = 0; i < c.length; i++) {
91
- child = c[i];
92
- if (Array.isArray(child)) {
93
- walk(child);
94
- }
95
- else if (child != null && typeof child !== 'boolean') {
96
- if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {
97
- child = String(child);
98
- }
99
- if (simple && lastSimple) {
100
- // If the previous child was simple (string), we merge both
101
- vNodeChildren[vNodeChildren.length - 1].$text$ += child;
102
- }
103
- else {
104
- // Append a new vNode, if it's text, we create a text vNode
105
- vNodeChildren.push(simple ? newVNode(null, child) : child);
106
- }
107
- lastSimple = simple;
108
- }
109
- }
110
- };
111
- walk(children);
112
- if (vnodeData) {
113
- // normalize class / classname attributes
114
- if (vnodeData.key) {
115
- key = vnodeData.key;
116
- }
117
- if (vnodeData.name) {
118
- slotName = vnodeData.name;
119
- }
120
- {
121
- const classData = vnodeData.className || vnodeData.class;
122
- if (classData) {
123
- vnodeData.class =
124
- typeof classData !== 'object'
125
- ? classData
126
- : Object.keys(classData)
127
- .filter((k) => classData[k])
128
- .join(' ');
129
- }
130
- }
131
- }
132
- if (typeof nodeName === 'function') {
133
- // nodeName is a functional component
134
- return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
135
- }
136
- const vnode = newVNode(nodeName, null);
137
- vnode.$attrs$ = vnodeData;
138
- if (vNodeChildren.length > 0) {
139
- vnode.$children$ = vNodeChildren;
140
- }
141
- {
142
- vnode.$key$ = key;
143
- }
144
- {
145
- vnode.$name$ = slotName;
146
- }
147
- return vnode;
148
- };
149
- /**
150
- * A utility function for creating a virtual DOM node from a tag and some
151
- * possible text content.
152
- *
153
- * @param tag the tag for this element
154
- * @param text possible text content for the node
155
- * @returns a newly-minted virtual DOM node
156
- */
157
- const newVNode = (tag, text) => {
158
- const vnode = {
159
- $flags$: 0,
160
- $tag$: tag,
161
- $text$: text,
162
- $elm$: null,
163
- $children$: null,
164
- };
165
- {
166
- vnode.$attrs$ = null;
167
- }
168
- {
169
- vnode.$key$ = null;
170
- }
171
- {
172
- vnode.$name$ = null;
173
- }
174
- return vnode;
175
- };
176
- const Host = {};
177
- /**
178
- * Check whether a given node is a Host node or not
179
- *
180
- * @param node the virtual DOM node to check
181
- * @returns whether it's a Host node or not
182
- */
183
- const isHost = (node) => node && node.$tag$ === Host;
184
- /**
185
- * Implementation of {@link d.FunctionalUtilities} for Stencil's VDom.
186
- *
187
- * Note that these functions convert from {@link d.VNode} to
188
- * {@link d.ChildNode} to give functional component developers a friendly
189
- * interface.
190
- */
191
- const vdomFnUtils = {
192
- forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
193
- map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
194
- };
195
- /**
196
- * Convert a {@link d.VNode} to a {@link d.ChildNode} in order to present a
197
- * friendlier public interface (hence, 'convertToPublic').
198
- *
199
- * @param node the virtual DOM node to convert
200
- * @returns a converted child node
201
- */
202
- const convertToPublic = (node) => ({
203
- vattrs: node.$attrs$,
204
- vchildren: node.$children$,
205
- vkey: node.$key$,
206
- vname: node.$name$,
207
- vtag: node.$tag$,
208
- vtext: node.$text$,
209
- });
210
- /**
211
- * Convert a {@link d.ChildNode} back to an equivalent {@link d.VNode} in
212
- * order to use the resulting object in the virtual DOM. The initial object was
213
- * likely created as part of presenting a public API, so converting it back
214
- * involved making it 'private' again (hence, `convertToPrivate`).
215
- *
216
- * @param node the child node to convert
217
- * @returns a converted virtual DOM node
218
- */
219
- const convertToPrivate = (node) => {
220
- if (typeof node.vtag === 'function') {
221
- const vnodeData = Object.assign({}, node.vattrs);
222
- if (node.vkey) {
223
- vnodeData.key = node.vkey;
224
- }
225
- if (node.vname) {
226
- vnodeData.name = node.vname;
227
- }
228
- return h(node.vtag, vnodeData, ...(node.vchildren || []));
229
- }
230
- const vnode = newVNode(node.vtag, node.vtext);
231
- vnode.$attrs$ = node.vattrs;
232
- vnode.$children$ = node.vchildren;
233
- vnode.$key$ = node.vkey;
234
- vnode.$name$ = node.vname;
235
- return vnode;
236
- };
237
- /**
238
- * Parse a new property value for a given property type.
239
- *
240
- * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
241
- * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
242
- * 1. `any`, the type given to `propValue` in the function signature
243
- * 2. the type stored from `propType`.
244
- *
245
- * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
246
- *
247
- * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
248
- * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
249
- * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
250
- * ```tsx
251
- * <my-cmp prop-val={0}></my-cmp>
252
- * ```
253
- *
254
- * HTML prop values on the other hand, will always a string
255
- *
256
- * @param propValue the new value to coerce to some type
257
- * @param propType the type of the prop, expressed as a binary number
258
- * @returns the parsed/coerced value
259
- */
260
- const parsePropertyValue = (propValue, propType) => {
261
- // ensure this value is of the correct prop type
262
- if (propValue != null && !isComplexType(propValue)) {
263
- if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
264
- // per the HTML spec, any string value means it is a boolean true value
265
- // but we'll cheat here and say that the string "false" is the boolean false
266
- return propValue === 'false' ? false : propValue === '' || !!propValue;
267
- }
268
- if (propType & 2 /* MEMBER_FLAGS.Number */) {
269
- // force it to be a number
270
- return parseFloat(propValue);
271
- }
272
- if (propType & 1 /* MEMBER_FLAGS.String */) {
273
- // could have been passed as a number or boolean
274
- // but we still want it as a string
275
- return String(propValue);
276
- }
277
- // redundant return here for better minification
278
- return propValue;
279
- }
280
- // not sure exactly what type we want
281
- // so no need to change to a different type
282
- return propValue;
283
- };
284
- const getElement = (ref) => (getHostRef(ref).$hostElement$ );
285
- const createEvent = (ref, name, flags) => {
286
- const elm = getElement(ref);
287
- return {
288
- emit: (detail) => {
289
- return emitEvent(elm, name, {
290
- bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
291
- composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
292
- cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
293
- detail,
294
- });
295
- },
296
- };
297
- };
298
- /**
299
- * Helper function to create & dispatch a custom Event on a provided target
300
- * @param elm the target of the Event
301
- * @param name the name to give the custom Event
302
- * @param opts options for configuring a custom Event
303
- * @returns the custom Event
304
- */
305
- const emitEvent = (elm, name, opts) => {
306
- const ev = plt.ce(name, opts);
307
- elm.dispatchEvent(ev);
308
- return ev;
309
- };
310
- const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
311
- const registerStyle = (scopeId, cssText, allowCS) => {
312
- let style = styles.get(scopeId);
313
- if (supportsConstructableStylesheets && allowCS) {
314
- style = (style || new CSSStyleSheet());
315
- if (typeof style === 'string') {
316
- style = cssText;
317
- }
318
- else {
319
- style.replaceSync(cssText);
320
- }
321
- }
322
- else {
323
- style = cssText;
324
- }
325
- styles.set(scopeId, style);
326
- };
327
- const addStyle = (styleContainerNode, cmpMeta, mode) => {
328
- var _a;
329
- const scopeId = getScopeId(cmpMeta);
330
- const style = styles.get(scopeId);
331
- // if an element is NOT connected then getRootNode() will return the wrong root node
332
- // so the fallback is to always use the document for the root node in those cases
333
- styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
334
- if (style) {
335
- if (typeof style === 'string') {
336
- styleContainerNode = styleContainerNode.head || styleContainerNode;
337
- let appliedStyles = rootAppliedStyles.get(styleContainerNode);
338
- let styleElm;
339
- if (!appliedStyles) {
340
- rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
341
- }
342
- if (!appliedStyles.has(scopeId)) {
343
- {
344
- styleElm = doc.createElement('style');
345
- styleElm.innerHTML = style;
346
- // Apply CSP nonce to the style tag if it exists
347
- const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
348
- if (nonce != null) {
349
- styleElm.setAttribute('nonce', nonce);
350
- }
351
- styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
352
- }
353
- if (appliedStyles) {
354
- appliedStyles.add(scopeId);
355
- }
356
- }
357
- }
358
- else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
359
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
360
- }
361
- }
362
- return scopeId;
363
- };
364
- const attachStyles = (hostRef) => {
365
- const cmpMeta = hostRef.$cmpMeta$;
366
- const elm = hostRef.$hostElement$;
367
- const flags = cmpMeta.$flags$;
368
- const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
369
- const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
370
- if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
371
- // only required when we're NOT using native shadow dom (slot)
372
- // or this browser doesn't support native shadow dom
373
- // and this host element was NOT created with SSR
374
- // let's pick out the inner content for slot projection
375
- // create a node to represent where the original
376
- // content was first placed, which is useful later on
377
- // DOM WRITE!!
378
- elm['s-sc'] = scopeId;
379
- elm.classList.add(scopeId + '-h');
380
- if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
381
- elm.classList.add(scopeId + '-s');
382
- }
383
- }
384
- endAttachStyles();
385
- };
386
- const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
387
- /**
388
- * Production setAccessor() function based on Preact by
389
- * Jason Miller (@developit)
390
- * Licensed under the MIT License
391
- * https://github.com/developit/preact/blob/master/LICENSE
392
- *
393
- * Modified for Stencil's compiler and vdom
394
- */
395
- /**
396
- * When running a VDom render set properties present on a VDom node onto the
397
- * corresponding HTML element.
398
- *
399
- * Note that this function has special functionality for the `class`,
400
- * `style`, `key`, and `ref` attributes, as well as event handlers (like
401
- * `onClick`, etc). All others are just passed through as-is.
402
- *
403
- * @param elm the HTMLElement onto which attributes should be set
404
- * @param memberName the name of the attribute to set
405
- * @param oldValue the old value for the attribute
406
- * @param newValue the new value for the attribute
407
- * @param isSvg whether we're in an svg context or not
408
- * @param flags bitflags for Vdom variables
409
- */
410
- const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
411
- if (oldValue !== newValue) {
412
- let isProp = isMemberInElement(elm, memberName);
413
- let ln = memberName.toLowerCase();
414
- if (memberName === 'class') {
415
- const classList = elm.classList;
416
- const oldClasses = parseClassList(oldValue);
417
- const newClasses = parseClassList(newValue);
418
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
419
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
420
- }
421
- else if (memberName === 'style') {
422
- // update style attribute, css properties and values
423
- {
424
- for (const prop in oldValue) {
425
- if (!newValue || newValue[prop] == null) {
426
- if (prop.includes('-')) {
427
- elm.style.removeProperty(prop);
428
- }
429
- else {
430
- elm.style[prop] = '';
431
- }
432
- }
433
- }
434
- }
435
- for (const prop in newValue) {
436
- if (!oldValue || newValue[prop] !== oldValue[prop]) {
437
- if (prop.includes('-')) {
438
- elm.style.setProperty(prop, newValue[prop]);
439
- }
440
- else {
441
- elm.style[prop] = newValue[prop];
442
- }
443
- }
444
- }
445
- }
446
- else if (memberName === 'key')
447
- ;
448
- else if (memberName === 'ref') {
449
- // minifier will clean this up
450
- if (newValue) {
451
- newValue(elm);
452
- }
453
- }
454
- else if ((!isProp ) &&
455
- memberName[0] === 'o' &&
456
- memberName[1] === 'n') {
457
- // Event Handlers
458
- // so if the member name starts with "on" and the 3rd characters is
459
- // a capital letter, and it's not already a member on the element,
460
- // then we're assuming it's an event listener
461
- if (memberName[2] === '-') {
462
- // on- prefixed events
463
- // allows to be explicit about the dom event to listen without any magic
464
- // under the hood:
465
- // <my-cmp on-click> // listens for "click"
466
- // <my-cmp on-Click> // listens for "Click"
467
- // <my-cmp on-ionChange> // listens for "ionChange"
468
- // <my-cmp on-EVENTS> // listens for "EVENTS"
469
- memberName = memberName.slice(3);
470
- }
471
- else if (isMemberInElement(win, ln)) {
472
- // standard event
473
- // the JSX attribute could have been "onMouseOver" and the
474
- // member name "onmouseover" is on the window's prototype
475
- // so let's add the listener "mouseover", which is all lowercased
476
- memberName = ln.slice(2);
477
- }
478
- else {
479
- // custom event
480
- // the JSX attribute could have been "onMyCustomEvent"
481
- // so let's trim off the "on" prefix and lowercase the first character
482
- // and add the listener "myCustomEvent"
483
- // except for the first character, we keep the event name case
484
- memberName = ln[2] + memberName.slice(3);
485
- }
486
- if (oldValue) {
487
- plt.rel(elm, memberName, oldValue, false);
488
- }
489
- if (newValue) {
490
- plt.ael(elm, memberName, newValue, false);
491
- }
492
- }
493
- else {
494
- // Set property if it exists and it's not a SVG
495
- const isComplex = isComplexType(newValue);
496
- if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
497
- try {
498
- if (!elm.tagName.includes('-')) {
499
- const n = newValue == null ? '' : newValue;
500
- // Workaround for Safari, moving the <input> caret when re-assigning the same valued
501
- if (memberName === 'list') {
502
- isProp = false;
503
- }
504
- else if (oldValue == null || elm[memberName] != n) {
505
- elm[memberName] = n;
506
- }
507
- }
508
- else {
509
- elm[memberName] = newValue;
510
- }
511
- }
512
- catch (e) { }
513
- }
514
- if (newValue == null || newValue === false) {
515
- if (newValue !== false || elm.getAttribute(memberName) === '') {
516
- {
517
- elm.removeAttribute(memberName);
518
- }
519
- }
520
- }
521
- else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
522
- newValue = newValue === true ? '' : newValue;
523
- {
524
- elm.setAttribute(memberName, newValue);
525
- }
526
- }
527
- }
528
- }
529
- };
530
- const parseClassListRegex = /\s/;
531
- const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
532
- const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
533
- // if the element passed in is a shadow root, which is a document fragment
534
- // then we want to be adding attrs/props to the shadow root's "host" element
535
- // if it's not a shadow root, then we add attrs/props to the same element
536
- const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
537
- ? newVnode.$elm$.host
538
- : newVnode.$elm$;
539
- const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
540
- const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
541
- {
542
- // remove attributes no longer present on the vnode by setting them to undefined
543
- for (memberName in oldVnodeAttrs) {
544
- if (!(memberName in newVnodeAttrs)) {
545
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
546
- }
547
- }
548
- }
549
- // add new & update changed attributes
550
- for (memberName in newVnodeAttrs) {
551
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
552
- }
553
- };
554
- /**
555
- * Create a DOM Node corresponding to one of the children of a given VNode.
556
- *
557
- * @param oldParentVNode the parent VNode from the previous render
558
- * @param newParentVNode the parent VNode from the current render
559
- * @param childIndex the index of the VNode, in the _new_ parent node's
560
- * children, for which we will create a new DOM node
561
- * @param parentElm the parent DOM node which our new node will be a child of
562
- * @returns the newly created node
563
- */
564
- const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
565
- // tslint:disable-next-line: prefer-const
566
- const newVNode = newParentVNode.$children$[childIndex];
567
- let i = 0;
568
- let elm;
569
- let childNode;
570
- let oldVNode;
571
- if (!useNativeShadowDom) {
572
- // remember for later we need to check to relocate nodes
573
- checkSlotRelocate = true;
574
- if (newVNode.$tag$ === 'slot') {
575
- if (scopeId) {
576
- // scoped css needs to add its scoped id to the parent element
577
- parentElm.classList.add(scopeId + '-s');
578
- }
579
- newVNode.$flags$ |= newVNode.$children$
580
- ? // slot element has fallback content
581
- 2 /* VNODE_FLAGS.isSlotFallback */
582
- : // slot element does not have fallback content
583
- 1 /* VNODE_FLAGS.isSlotReference */;
584
- }
585
- }
586
- if (newVNode.$text$ !== null) {
587
- // create text node
588
- elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
589
- }
590
- else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
591
- // create a slot reference node
592
- elm = newVNode.$elm$ =
593
- doc.createTextNode('');
594
- }
595
- else {
596
- if (!isSvgMode) {
597
- isSvgMode = newVNode.$tag$ === 'svg';
598
- }
599
- // create element
600
- elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
601
- ? 'slot-fb'
602
- : newVNode.$tag$)
603
- );
604
- if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
605
- isSvgMode = false;
606
- }
607
- // add css classes, attrs, props, listeners, etc.
608
- {
609
- updateElement(null, newVNode, isSvgMode);
610
- }
611
- if (isDef(scopeId) && elm['s-si'] !== scopeId) {
612
- // if there is a scopeId and this is the initial render
613
- // then let's add the scopeId as a css class
614
- elm.classList.add((elm['s-si'] = scopeId));
615
- }
616
- if (newVNode.$children$) {
617
- for (i = 0; i < newVNode.$children$.length; ++i) {
618
- // create the node
619
- childNode = createElm(oldParentVNode, newVNode, i, elm);
620
- // return node could have been null
621
- if (childNode) {
622
- // append our new node
623
- elm.appendChild(childNode);
624
- }
625
- }
626
- }
627
- {
628
- if (newVNode.$tag$ === 'svg') {
629
- // Only reset the SVG context when we're exiting <svg> element
630
- isSvgMode = false;
631
- }
632
- else if (elm.tagName === 'foreignObject') {
633
- // Reenter SVG context when we're exiting <foreignObject> element
634
- isSvgMode = true;
635
- }
636
- }
637
- }
638
- {
639
- elm['s-hn'] = hostTagName;
640
- if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
641
- // remember the content reference comment
642
- elm['s-sr'] = true;
643
- // remember the content reference comment
644
- elm['s-cr'] = contentRef;
645
- // remember the slot name, or empty string for default slot
646
- elm['s-sn'] = newVNode.$name$ || '';
647
- // check if we've got an old vnode for this slot
648
- oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
649
- if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
650
- // we've got an old slot vnode and the wrapper is being replaced
651
- // so let's move the old slot content back to it's original location
652
- putBackInOriginalLocation(oldParentVNode.$elm$, false);
653
- }
654
- }
655
- }
656
- return elm;
657
- };
658
- const putBackInOriginalLocation = (parentElm, recursive) => {
659
- plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
660
- const oldSlotChildNodes = parentElm.childNodes;
661
- for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
662
- const childNode = oldSlotChildNodes[i];
663
- if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {
664
- // // this child node in the old element is from another component
665
- // // remove this node from the old slot's parent
666
- // childNode.remove();
667
- // and relocate it back to it's original location
668
- parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));
669
- // remove the old original location comment entirely
670
- // later on the patch function will know what to do
671
- // and move this to the correct spot in need be
672
- childNode['s-ol'].remove();
673
- childNode['s-ol'] = undefined;
674
- checkSlotRelocate = true;
675
- }
676
- if (recursive) {
677
- putBackInOriginalLocation(childNode, recursive);
678
- }
679
- }
680
- plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
681
- };
682
- /**
683
- * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
684
- * add them to the DOM in the appropriate place.
685
- *
686
- * @param parentElm the DOM node which should be used as a parent for the new
687
- * DOM nodes
688
- * @param before a child of the `parentElm` which the new children should be
689
- * inserted before (optional)
690
- * @param parentVNode the parent virtual DOM node
691
- * @param vnodes the new child virtual DOM nodes to produce DOM nodes for
692
- * @param startIdx the index in the child virtual DOM nodes at which to start
693
- * creating DOM nodes (inclusive)
694
- * @param endIdx the index in the child virtual DOM nodes at which to stop
695
- * creating DOM nodes (inclusive)
696
- */
697
- const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
698
- let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
699
- let childNode;
700
- if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
701
- containerElm = containerElm.shadowRoot;
702
- }
703
- for (; startIdx <= endIdx; ++startIdx) {
704
- if (vnodes[startIdx]) {
705
- childNode = createElm(null, parentVNode, startIdx, parentElm);
706
- if (childNode) {
707
- vnodes[startIdx].$elm$ = childNode;
708
- containerElm.insertBefore(childNode, referenceNode(before) );
709
- }
710
- }
711
- }
712
- };
713
- /**
714
- * Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
715
- * This can be used to, for instance, clean up after a list of children which
716
- * should no longer be shown.
717
- *
718
- * This function also handles some of Stencil's slot relocation logic.
719
- *
720
- * @param vnodes a list of virtual DOM nodes to remove
721
- * @param startIdx the index at which to start removing nodes (inclusive)
722
- * @param endIdx the index at which to stop removing nodes (inclusive)
723
- */
724
- const removeVnodes = (vnodes, startIdx, endIdx) => {
725
- for (let index = startIdx; index <= endIdx; ++index) {
726
- const vnode = vnodes[index];
727
- if (vnode) {
728
- const elm = vnode.$elm$;
729
- nullifyVNodeRefs(vnode);
730
- if (elm) {
731
- {
732
- // we're removing this element
733
- // so it's possible we need to show slot fallback content now
734
- checkSlotFallbackVisibility = true;
735
- if (elm['s-ol']) {
736
- // remove the original location comment
737
- elm['s-ol'].remove();
738
- }
739
- else {
740
- // it's possible that child nodes of the node
741
- // that's being removed are slot nodes
742
- putBackInOriginalLocation(elm, true);
743
- }
744
- }
745
- // remove the vnode's element from the dom
746
- elm.remove();
747
- }
748
- }
749
- }
750
- };
751
- /**
752
- * Reconcile the children of a new VNode with the children of an old VNode by
753
- * traversing the two collections of children, identifying nodes that are
754
- * conserved or changed, calling out to `patch` to make any necessary
755
- * updates to the DOM, and rearranging DOM nodes as needed.
756
- *
757
- * The algorithm for reconciling children works by analyzing two 'windows' onto
758
- * the two arrays of children (`oldCh` and `newCh`). We keep track of the
759
- * 'windows' by storing start and end indices and references to the
760
- * corresponding array entries. Initially the two 'windows' are basically equal
761
- * to the entire array, but we progressively narrow the windows until there are
762
- * no children left to update by doing the following:
763
- *
764
- * 1. Skip any `null` entries at the beginning or end of the two arrays, so
765
- * that if we have an initial array like the following we'll end up dealing
766
- * only with a window bounded by the highlighted elements:
767
- *
768
- * [null, null, VNode1 , ... , VNode2, null, null]
769
- * ^^^^^^ ^^^^^^
770
- *
771
- * 2. Check to see if the elements at the head and tail positions are equal
772
- * across the windows. This will basically detect elements which haven't
773
- * been added, removed, or changed position, i.e. if you had the following
774
- * VNode elements (represented as HTML):
775
- *
776
- * oldVNode: `<div><p><span>HEY</span></p></div>`
777
- * newVNode: `<div><p><span>THERE</span></p></div>`
778
- *
779
- * Then when comparing the children of the `<div>` tag we check the equality
780
- * of the VNodes corresponding to the `<p>` tags and, since they are the
781
- * same tag in the same position, we'd be able to avoid completely
782
- * re-rendering the subtree under them with a new DOM element and would just
783
- * call out to `patch` to handle reconciling their children and so on.
784
- *
785
- * 3. Check, for both windows, to see if the element at the beginning of the
786
- * window corresponds to the element at the end of the other window. This is
787
- * a heuristic which will let us identify _some_ situations in which
788
- * elements have changed position, for instance it _should_ detect that the
789
- * children nodes themselves have not changed but merely moved in the
790
- * following example:
791
- *
792
- * oldVNode: `<div><element-one /><element-two /></div>`
793
- * newVNode: `<div><element-two /><element-one /></div>`
794
- *
795
- * If we find cases like this then we also need to move the concrete DOM
796
- * elements corresponding to the moved children to write the re-order to the
797
- * DOM.
798
- *
799
- * 4. Finally, if VNodes have the `key` attribute set on them we check for any
800
- * nodes in the old children which have the same key as the first element in
801
- * our window on the new children. If we find such a node we handle calling
802
- * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
803
- * what we find.
804
- *
805
- * Finally, once we've narrowed our 'windows' to the point that either of them
806
- * collapse (i.e. they have length 0) we then handle any remaining VNode
807
- * insertion or deletion that needs to happen to get a DOM state that correctly
808
- * reflects the new child VNodes. If, for instance, after our window on the old
809
- * children has collapsed we still have more nodes on the new children that
810
- * we haven't dealt with yet then we need to add them, or if the new children
811
- * collapse but we still have unhandled _old_ children then we need to make
812
- * sure the corresponding DOM nodes are removed.
813
- *
814
- * @param parentElm the node into which the parent VNode is rendered
815
- * @param oldCh the old children of the parent node
816
- * @param newVNode the new VNode which will replace the parent
817
- * @param newCh the new children of the parent node
818
- */
819
- const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
820
- let oldStartIdx = 0;
821
- let newStartIdx = 0;
822
- let idxInOld = 0;
823
- let i = 0;
824
- let oldEndIdx = oldCh.length - 1;
825
- let oldStartVnode = oldCh[0];
826
- let oldEndVnode = oldCh[oldEndIdx];
827
- let newEndIdx = newCh.length - 1;
828
- let newStartVnode = newCh[0];
829
- let newEndVnode = newCh[newEndIdx];
830
- let node;
831
- let elmToMove;
832
- while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
833
- if (oldStartVnode == null) {
834
- // VNode might have been moved left
835
- oldStartVnode = oldCh[++oldStartIdx];
836
- }
837
- else if (oldEndVnode == null) {
838
- oldEndVnode = oldCh[--oldEndIdx];
839
- }
840
- else if (newStartVnode == null) {
841
- newStartVnode = newCh[++newStartIdx];
842
- }
843
- else if (newEndVnode == null) {
844
- newEndVnode = newCh[--newEndIdx];
845
- }
846
- else if (isSameVnode(oldStartVnode, newStartVnode)) {
847
- // if the start nodes are the same then we should patch the new VNode
848
- // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
849
- // indices to reflect that. We don't need to move any DOM Nodes around
850
- // since things are matched up in order.
851
- patch(oldStartVnode, newStartVnode);
852
- oldStartVnode = oldCh[++oldStartIdx];
853
- newStartVnode = newCh[++newStartIdx];
854
- }
855
- else if (isSameVnode(oldEndVnode, newEndVnode)) {
856
- // likewise, if the end nodes are the same we patch new onto old and
857
- // decrement our end indices, and also likewise in this case we don't
858
- // need to move any DOM Nodes.
859
- patch(oldEndVnode, newEndVnode);
860
- oldEndVnode = oldCh[--oldEndIdx];
861
- newEndVnode = newCh[--newEndIdx];
862
- }
863
- else if (isSameVnode(oldStartVnode, newEndVnode)) {
864
- // case: "Vnode moved right"
865
- //
866
- // We've found that the last node in our window on the new children is
867
- // the same VNode as the _first_ node in our window on the old children
868
- // we're dealing with now. Visually, this is the layout of these two
869
- // nodes:
870
- //
871
- // newCh: [..., newStartVnode , ... , newEndVnode , ...]
872
- // ^^^^^^^^^^^
873
- // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
874
- // ^^^^^^^^^^^^^
875
- //
876
- // In this situation we need to patch `newEndVnode` onto `oldStartVnode`
877
- // and move the DOM element for `oldStartVnode`.
878
- if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
879
- putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
880
- }
881
- patch(oldStartVnode, newEndVnode);
882
- // We need to move the element for `oldStartVnode` into a position which
883
- // will be appropriate for `newEndVnode`. For this we can use
884
- // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
885
- // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
886
- // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
887
- //
888
- // <old-start-node />
889
- // <some-intervening-node />
890
- // <old-end-node />
891
- // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
892
- // <next-sibling />
893
- //
894
- // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
895
- // the node for `oldStartVnode` at the end of the children of
896
- // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
897
- // aren't any siblings, and passing `null` to `Node.insertBefore` will
898
- // append it to the children of the parent element.
899
- parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
900
- oldStartVnode = oldCh[++oldStartIdx];
901
- newEndVnode = newCh[--newEndIdx];
902
- }
903
- else if (isSameVnode(oldEndVnode, newStartVnode)) {
904
- // case: "Vnode moved left"
905
- //
906
- // We've found that the first node in our window on the new children is
907
- // the same VNode as the _last_ node in our window on the old children.
908
- // Visually, this is the layout of these two nodes:
909
- //
910
- // newCh: [..., newStartVnode , ... , newEndVnode , ...]
911
- // ^^^^^^^^^^^^^
912
- // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
913
- // ^^^^^^^^^^^
914
- //
915
- // In this situation we need to patch `newStartVnode` onto `oldEndVnode`
916
- // (which will handle updating any changed attributes, reconciling their
917
- // children etc) but we also need to move the DOM node to which
918
- // `oldEndVnode` corresponds.
919
- if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
920
- putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
921
- }
922
- patch(oldEndVnode, newStartVnode);
923
- // We've already checked above if `oldStartVnode` and `newStartVnode` are
924
- // the same node, so since we're here we know that they are not. Thus we
925
- // can move the element for `oldEndVnode` _before_ the element for
926
- // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
927
- // future.
928
- parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
929
- oldEndVnode = oldCh[--oldEndIdx];
930
- newStartVnode = newCh[++newStartIdx];
931
- }
932
- else {
933
- // Here we do some checks to match up old and new nodes based on the
934
- // `$key$` attribute, which is set by putting a `key="my-key"` attribute
935
- // in the JSX for a DOM element in the implementation of a Stencil
936
- // component.
937
- //
938
- // First we check to see if there are any nodes in the array of old
939
- // children which have the same key as the first node in the new
940
- // children.
941
- idxInOld = -1;
942
- {
943
- for (i = oldStartIdx; i <= oldEndIdx; ++i) {
944
- if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
945
- idxInOld = i;
946
- break;
947
- }
948
- }
949
- }
950
- if (idxInOld >= 0) {
951
- // We found a node in the old children which matches up with the first
952
- // node in the new children! So let's deal with that
953
- elmToMove = oldCh[idxInOld];
954
- if (elmToMove.$tag$ !== newStartVnode.$tag$) {
955
- // the tag doesn't match so we'll need a new DOM element
956
- node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
957
- }
958
- else {
959
- patch(elmToMove, newStartVnode);
960
- // invalidate the matching old node so that we won't try to update it
961
- // again later on
962
- oldCh[idxInOld] = undefined;
963
- node = elmToMove.$elm$;
964
- }
965
- newStartVnode = newCh[++newStartIdx];
966
- }
967
- else {
968
- // We either didn't find an element in the old children that matches
969
- // the key of the first new child OR the build is not using `key`
970
- // attributes at all. In either case we need to create a new element
971
- // for the new node.
972
- node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
973
- newStartVnode = newCh[++newStartIdx];
974
- }
975
- if (node) {
976
- // if we created a new node then handle inserting it to the DOM
977
- {
978
- parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
979
- }
980
- }
981
- }
982
- }
983
- if (oldStartIdx > oldEndIdx) {
984
- // we have some more new nodes to add which don't match up with old nodes
985
- addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
986
- }
987
- else if (newStartIdx > newEndIdx) {
988
- // there are nodes in the `oldCh` array which no longer correspond to nodes
989
- // in the new array, so lets remove them (which entails cleaning up the
990
- // relevant DOM nodes)
991
- removeVnodes(oldCh, oldStartIdx, oldEndIdx);
992
- }
993
- };
994
- /**
995
- * Compare two VNodes to determine if they are the same
996
- *
997
- * **NB**: This function is an equality _heuristic_ based on the available
998
- * information set on the two VNodes and can be misleading under certain
999
- * circumstances. In particular, if the two nodes do not have `key` attrs
1000
- * (available under `$key$` on VNodes) then the function falls back on merely
1001
- * checking that they have the same tag.
1002
- *
1003
- * So, in other words, if `key` attrs are not set on VNodes which may be
1004
- * changing order within a `children` array or something along those lines then
1005
- * we could obtain a false negative and then have to do needless re-rendering
1006
- * (i.e. we'd say two VNodes aren't equal when in fact they should be).
1007
- *
1008
- * @param leftVNode the first VNode to check
1009
- * @param rightVNode the second VNode to check
1010
- * @returns whether they're equal or not
1011
- */
1012
- const isSameVnode = (leftVNode, rightVNode) => {
1013
- // compare if two vnode to see if they're "technically" the same
1014
- // need to have the same element tag, and same key to be the same
1015
- if (leftVNode.$tag$ === rightVNode.$tag$) {
1016
- if (leftVNode.$tag$ === 'slot') {
1017
- return leftVNode.$name$ === rightVNode.$name$;
1018
- }
1019
- // this will be set if components in the build have `key` attrs set on them
1020
- {
1021
- return leftVNode.$key$ === rightVNode.$key$;
1022
- }
1023
- }
1024
- return false;
1025
- };
1026
- const referenceNode = (node) => {
1027
- // this node was relocated to a new location in the dom
1028
- // because of some other component's slot
1029
- // but we still have an html comment in place of where
1030
- // it's original location was according to it's original vdom
1031
- return (node && node['s-ol']) || node;
1032
- };
1033
- const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
1034
- /**
1035
- * Handle reconciling an outdated VNode with a new one which corresponds to
1036
- * it. This function handles flushing updates to the DOM and reconciling the
1037
- * children of the two nodes (if any).
1038
- *
1039
- * @param oldVNode an old VNode whose DOM element and children we want to update
1040
- * @param newVNode a new VNode representing an updated version of the old one
1041
- */
1042
- const patch = (oldVNode, newVNode) => {
1043
- const elm = (newVNode.$elm$ = oldVNode.$elm$);
1044
- const oldChildren = oldVNode.$children$;
1045
- const newChildren = newVNode.$children$;
1046
- const tag = newVNode.$tag$;
1047
- const text = newVNode.$text$;
1048
- let defaultHolder;
1049
- if (text === null) {
1050
- {
1051
- // test if we're rendering an svg element, or still rendering nodes inside of one
1052
- // only add this to the when the compiler sees we're using an svg somewhere
1053
- isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
1054
- }
1055
- {
1056
- if (tag === 'slot')
1057
- ;
1058
- else {
1059
- // either this is the first render of an element OR it's an update
1060
- // AND we already know it's possible it could have changed
1061
- // this updates the element's css classes, attrs, props, listeners, etc.
1062
- updateElement(oldVNode, newVNode, isSvgMode);
1063
- }
1064
- }
1065
- if (oldChildren !== null && newChildren !== null) {
1066
- // looks like there's child vnodes for both the old and new vnodes
1067
- // so we need to call `updateChildren` to reconcile them
1068
- updateChildren(elm, oldChildren, newVNode, newChildren);
1069
- }
1070
- else if (newChildren !== null) {
1071
- // no old child vnodes, but there are new child vnodes to add
1072
- if (oldVNode.$text$ !== null) {
1073
- // the old vnode was text, so be sure to clear it out
1074
- elm.textContent = '';
1075
- }
1076
- // add the new vnode children
1077
- addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);
1078
- }
1079
- else if (oldChildren !== null) {
1080
- // no new child vnodes, but there are old child vnodes to remove
1081
- removeVnodes(oldChildren, 0, oldChildren.length - 1);
1082
- }
1083
- if (isSvgMode && tag === 'svg') {
1084
- isSvgMode = false;
1085
- }
1086
- }
1087
- else if ((defaultHolder = elm['s-cr'])) {
1088
- // this element has slotted content
1089
- defaultHolder.parentNode.textContent = text;
1090
- }
1091
- else if (oldVNode.$text$ !== text) {
1092
- // update the text content for the text only vnode
1093
- // and also only if the text is different than before
1094
- elm.data = text;
1095
- }
1096
- };
1097
- const updateFallbackSlotVisibility = (elm) => {
1098
- // tslint:disable-next-line: prefer-const
1099
- const childNodes = elm.childNodes;
1100
- let childNode;
1101
- let i;
1102
- let ilen;
1103
- let j;
1104
- let slotNameAttr;
1105
- let nodeType;
1106
- for (i = 0, ilen = childNodes.length; i < ilen; i++) {
1107
- childNode = childNodes[i];
1108
- if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1109
- if (childNode['s-sr']) {
1110
- // this is a slot fallback node
1111
- // get the slot name for this slot reference node
1112
- slotNameAttr = childNode['s-sn'];
1113
- // by default always show a fallback slot node
1114
- // then hide it if there are other slots in the light dom
1115
- childNode.hidden = false;
1116
- for (j = 0; j < ilen; j++) {
1117
- nodeType = childNodes[j].nodeType;
1118
- if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
1119
- // this sibling node is from a different component OR is a named fallback slot node
1120
- if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
1121
- childNode.hidden = true;
1122
- break;
1123
- }
1124
- }
1125
- else {
1126
- // this is a default fallback slot node
1127
- // any element or text node (with content)
1128
- // should hide the default fallback slot node
1129
- if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
1130
- (nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
1131
- childNode.hidden = true;
1132
- break;
1133
- }
1134
- }
1135
- }
1136
- }
1137
- // keep drilling down
1138
- updateFallbackSlotVisibility(childNode);
1139
- }
1140
- }
1141
- };
1142
- const relocateNodes = [];
1143
- const relocateSlotContent = (elm) => {
1144
- // tslint:disable-next-line: prefer-const
1145
- let childNode;
1146
- let node;
1147
- let hostContentNodes;
1148
- let slotNameAttr;
1149
- let relocateNodeData;
1150
- let j;
1151
- let i = 0;
1152
- const childNodes = elm.childNodes;
1153
- const ilen = childNodes.length;
1154
- for (; i < ilen; i++) {
1155
- childNode = childNodes[i];
1156
- if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
1157
- // first got the content reference comment node
1158
- // then we got it's parent, which is where all the host content is in now
1159
- hostContentNodes = node.parentNode.childNodes;
1160
- slotNameAttr = childNode['s-sn'];
1161
- for (j = hostContentNodes.length - 1; j >= 0; j--) {
1162
- node = hostContentNodes[j];
1163
- if (!node['s-cn'] && !node['s-nr'] && node['s-hn'] !== childNode['s-hn']) {
1164
- // let's do some relocating to its new home
1165
- // but never relocate a content reference node
1166
- // that is suppose to always represent the original content location
1167
- if (isNodeLocatedInSlot(node, slotNameAttr)) {
1168
- // it's possible we've already decided to relocate this node
1169
- relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1170
- // made some changes to slots
1171
- // let's make sure we also double check
1172
- // fallbacks are correctly hidden or shown
1173
- checkSlotFallbackVisibility = true;
1174
- node['s-sn'] = node['s-sn'] || slotNameAttr;
1175
- if (relocateNodeData) {
1176
- // previously we never found a slot home for this node
1177
- // but turns out we did, so let's remember it now
1178
- relocateNodeData.$slotRefNode$ = childNode;
1179
- }
1180
- else {
1181
- // add to our list of nodes to relocate
1182
- relocateNodes.push({
1183
- $slotRefNode$: childNode,
1184
- $nodeToRelocate$: node,
1185
- });
1186
- }
1187
- if (node['s-sr']) {
1188
- relocateNodes.map((relocateNode) => {
1189
- if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
1190
- relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1191
- if (relocateNodeData && !relocateNode.$slotRefNode$) {
1192
- relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1193
- }
1194
- }
1195
- });
1196
- }
1197
- }
1198
- else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1199
- // so far this element does not have a slot home, not setting slotRefNode on purpose
1200
- // if we never find a home for this element then we'll need to hide it
1201
- relocateNodes.push({
1202
- $nodeToRelocate$: node,
1203
- });
1204
- }
1205
- }
1206
- }
1207
- }
1208
- if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1209
- relocateSlotContent(childNode);
1210
- }
1211
- }
1212
- };
1213
- const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
1214
- if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1215
- if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
1216
- return true;
1217
- }
1218
- if (nodeToRelocate.getAttribute('slot') === slotNameAttr) {
1219
- return true;
1220
- }
1221
- return false;
1222
- }
1223
- if (nodeToRelocate['s-sn'] === slotNameAttr) {
1224
- return true;
1225
- }
1226
- return slotNameAttr === '';
1227
- };
1228
- /**
1229
- * 'Nullify' any VDom `ref` callbacks on a VDom node or its children by
1230
- * calling them with `null`. This signals that the DOM element corresponding to
1231
- * the VDom node has been removed from the DOM.
1232
- *
1233
- * @param vNode a virtual DOM node
1234
- */
1235
- const nullifyVNodeRefs = (vNode) => {
1236
- {
1237
- vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1238
- vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
1239
- }
1240
- };
1241
- /**
1242
- * The main entry point for Stencil's virtual DOM-based rendering engine
1243
- *
1244
- * Given a {@link d.HostRef} container and some virtual DOM nodes, this
1245
- * function will handle creating a virtual DOM tree with a single root, patching
1246
- * the current virtual DOM tree onto an old one (if any), dealing with slot
1247
- * relocation, and reflecting attributes.
1248
- *
1249
- * @param hostRef data needed to root and render the virtual DOM tree, such as
1250
- * the DOM node into which it should be rendered.
1251
- * @param renderFnResults the virtual DOM nodes to be rendered
1252
- * @param isInitialLoad whether or not this is the first call after page load
1253
- */
1254
- const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1255
- const hostElm = hostRef.$hostElement$;
1256
- const cmpMeta = hostRef.$cmpMeta$;
1257
- const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1258
- // if `renderFnResults` is a Host node then we can use it directly. If not,
1259
- // we need to call `h` again to wrap the children of our component in a
1260
- // 'dummy' Host node (well, an empty vnode) since `renderVdom` assumes
1261
- // implicitly that the top-level vdom node is 1) an only child and 2)
1262
- // contains attrs that need to be set on the host element.
1263
- const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1264
- hostTagName = hostElm.tagName;
1265
- if (cmpMeta.$attrsToReflect$) {
1266
- rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1267
- cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
1268
- }
1269
- // On the first render and *only* on the first render we want to check for
1270
- // any attributes set on the host element which are also set on the vdom
1271
- // node. If we find them, we override the value on the VDom node attrs with
1272
- // the value from the host element, which allows developers building apps
1273
- // with Stencil components to override e.g. the `role` attribute on a
1274
- // component even if it's already set on the `Host`.
1275
- if (isInitialLoad && rootVnode.$attrs$) {
1276
- for (const key of Object.keys(rootVnode.$attrs$)) {
1277
- // We have a special implementation in `setAccessor` for `style` and
1278
- // `class` which reconciles values coming from the VDom with values
1279
- // already present on the DOM element, so we don't want to override those
1280
- // attributes on the VDom tree with values from the host element if they
1281
- // are present.
1282
- //
1283
- // Likewise, `ref` and `key` are special internal values for the Stencil
1284
- // runtime and we don't want to override those either.
1285
- if (hostElm.hasAttribute(key) && !['key', 'ref', 'style', 'class'].includes(key)) {
1286
- rootVnode.$attrs$[key] = hostElm[key];
1287
- }
1288
- }
1289
- }
1290
- rootVnode.$tag$ = null;
1291
- rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
1292
- hostRef.$vnode$ = rootVnode;
1293
- rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
1294
- {
1295
- scopeId = hostElm['s-sc'];
1296
- }
1297
- {
1298
- contentRef = hostElm['s-cr'];
1299
- useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
1300
- // always reset
1301
- checkSlotFallbackVisibility = false;
1302
- }
1303
- // synchronous patch
1304
- patch(oldVNode, rootVnode);
1305
- {
1306
- // while we're moving nodes around existing nodes, temporarily disable
1307
- // the disconnectCallback from working
1308
- plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1309
- if (checkSlotRelocate) {
1310
- relocateSlotContent(rootVnode.$elm$);
1311
- let relocateData;
1312
- let nodeToRelocate;
1313
- let orgLocationNode;
1314
- let parentNodeRef;
1315
- let insertBeforeNode;
1316
- let refNode;
1317
- let i = 0;
1318
- for (; i < relocateNodes.length; i++) {
1319
- relocateData = relocateNodes[i];
1320
- nodeToRelocate = relocateData.$nodeToRelocate$;
1321
- if (!nodeToRelocate['s-ol']) {
1322
- // add a reference node marking this node's original location
1323
- // keep a reference to this node for later lookups
1324
- orgLocationNode =
1325
- doc.createTextNode('');
1326
- orgLocationNode['s-nr'] = nodeToRelocate;
1327
- nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
1328
- }
1329
- }
1330
- for (i = 0; i < relocateNodes.length; i++) {
1331
- relocateData = relocateNodes[i];
1332
- nodeToRelocate = relocateData.$nodeToRelocate$;
1333
- if (relocateData.$slotRefNode$) {
1334
- // by default we're just going to insert it directly
1335
- // after the slot reference node
1336
- parentNodeRef = relocateData.$slotRefNode$.parentNode;
1337
- insertBeforeNode = relocateData.$slotRefNode$.nextSibling;
1338
- orgLocationNode = nodeToRelocate['s-ol'];
1339
- while ((orgLocationNode = orgLocationNode.previousSibling)) {
1340
- refNode = orgLocationNode['s-nr'];
1341
- if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {
1342
- refNode = refNode.nextSibling;
1343
- if (!refNode || !refNode['s-nr']) {
1344
- insertBeforeNode = refNode;
1345
- break;
1346
- }
1347
- }
1348
- }
1349
- if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
1350
- nodeToRelocate.nextSibling !== insertBeforeNode) {
1351
- // we've checked that it's worth while to relocate
1352
- // since that the node to relocate
1353
- // has a different next sibling or parent relocated
1354
- if (nodeToRelocate !== insertBeforeNode) {
1355
- if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
1356
- // probably a component in the index.html that doesn't have it's hostname set
1357
- nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
1358
- }
1359
- // add it back to the dom but in its new home
1360
- parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
1361
- }
1362
- }
1363
- }
1364
- else {
1365
- // this node doesn't have a slot home to go to, so let's hide it
1366
- if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1367
- nodeToRelocate.hidden = true;
1368
- }
1369
- }
1370
- }
1371
- }
1372
- if (checkSlotFallbackVisibility) {
1373
- updateFallbackSlotVisibility(rootVnode.$elm$);
1374
- }
1375
- // done moving nodes around
1376
- // allow the disconnect callback to work again
1377
- plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1378
- // always reset
1379
- relocateNodes.length = 0;
1380
- }
1381
- };
1382
- const attachToAncestor = (hostRef, ancestorComponent) => {
1383
- if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
1384
- ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
1385
- }
1386
- };
1387
- const scheduleUpdate = (hostRef, isInitialLoad) => {
1388
- {
1389
- hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
1390
- }
1391
- if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
1392
- hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
1393
- return;
1394
- }
1395
- attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1396
- // there is no ancestor component or the ancestor component
1397
- // has already fired off its lifecycle update then
1398
- // fire off the initial update
1399
- const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1400
- return writeTask(dispatch) ;
1401
- };
1402
- /**
1403
- * Dispatch initial-render and update lifecycle hooks, enqueuing calls to
1404
- * component lifecycle methods like `componentWillLoad` as well as
1405
- * {@link updateComponent}, which will kick off the virtual DOM re-render.
1406
- *
1407
- * @param hostRef a reference to a host DOM node
1408
- * @param isInitialLoad whether we're on the initial load or not
1409
- * @returns an empty Promise which is used to enqueue a series of operations for
1410
- * the component
1411
- */
1412
- const dispatchHooks = (hostRef, isInitialLoad) => {
1413
- const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
1414
- const instance = hostRef.$lazyInstance$ ;
1415
- // We're going to use this variable together with `enqueue` to implement a
1416
- // little promise-based queue. We start out with it `undefined`. When we add
1417
- // the first function to the queue we'll set this variable to be that
1418
- // function's return value. When we attempt to add subsequent values to the
1419
- // queue we'll check that value and, if it was a `Promise`, we'll then chain
1420
- // the new function off of that `Promise` using `.then()`. This will give our
1421
- // queue two nice properties:
1422
- //
1423
- // 1. If all functions added to the queue are synchronous they'll be called
1424
- // synchronously right away.
1425
- // 2. If all functions added to the queue are asynchronous they'll all be
1426
- // called in order after `dispatchHooks` exits.
1427
- let maybePromise;
1428
- if (isInitialLoad) {
1429
- {
1430
- hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
1431
- if (hostRef.$queuedListeners$) {
1432
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1433
- hostRef.$queuedListeners$ = undefined;
1434
- }
1435
- }
1436
- {
1437
- // If `componentWillLoad` returns a `Promise` then we want to wait on
1438
- // whatever's going on in that `Promise` before we launch into
1439
- // rendering the component, doing other lifecycle stuff, etc. So
1440
- // in that case we assign the returned promise to the variable we
1441
- // declared above to hold a possible 'queueing' Promise
1442
- maybePromise = safeCall(instance, 'componentWillLoad');
1443
- }
1444
- }
1445
- endSchedule();
1446
- return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1447
- };
1448
- /**
1449
- * This function uses a Promise to implement a simple first-in, first-out queue
1450
- * of functions to be called.
1451
- *
1452
- * The queue is ordered on the basis of the first argument. If it's
1453
- * `undefined`, then nothing is on the queue yet, so the provided function can
1454
- * be called synchronously (although note that this function may return a
1455
- * `Promise`). The idea is that then the return value of that enqueueing
1456
- * operation is kept around, so that if it was a `Promise` then subsequent
1457
- * functions can be enqueued by calling this function again with that `Promise`
1458
- * as the first argument.
1459
- *
1460
- * @param maybePromise either a `Promise` which should resolve before the next function is called or an 'empty' sentinel
1461
- * @param fn a function to enqueue
1462
- * @returns either a `Promise` or the return value of the provided function
1463
- */
1464
- const enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn) : fn();
1465
- /**
1466
- * Check that a value is a `Promise`. To check, we first see if the value is an
1467
- * instance of the `Promise` global. In a few circumstances, in particular if
1468
- * the global has been overwritten, this is could be misleading, so we also do
1469
- * a little 'duck typing' check to see if the `.then` property of the value is
1470
- * defined and a function.
1471
- *
1472
- * @param maybePromise it might be a promise!
1473
- * @returns whether it is or not
1474
- */
1475
- const isPromisey = (maybePromise) => maybePromise instanceof Promise ||
1476
- (maybePromise && maybePromise.then && typeof maybePromise.then === 'function');
1477
- /**
1478
- * Update a component given reference to its host elements and so on.
1479
- *
1480
- * @param hostRef an object containing references to the element's host node,
1481
- * VDom nodes, and other metadata
1482
- * @param instance a reference to the underlying host element where it will be
1483
- * rendered
1484
- * @param isInitialLoad whether or not this function is being called as part of
1485
- * the first render cycle
1486
- */
1487
- const updateComponent = async (hostRef, instance, isInitialLoad) => {
1488
- var _a;
1489
- const elm = hostRef.$hostElement$;
1490
- const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
1491
- const rc = elm['s-rc'];
1492
- if (isInitialLoad) {
1493
- // DOM WRITE!
1494
- attachStyles(hostRef);
1495
- }
1496
- const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
1497
- {
1498
- callRender(hostRef, instance, elm, isInitialLoad);
1499
- }
1500
- if (rc) {
1501
- // ok, so turns out there are some child host elements
1502
- // waiting on this parent element to load
1503
- // let's fire off all update callbacks waiting
1504
- rc.map((cb) => cb());
1505
- elm['s-rc'] = undefined;
1506
- }
1507
- endRender();
1508
- endUpdate();
1509
- {
1510
- const childrenPromises = (_a = elm['s-p']) !== null && _a !== void 0 ? _a : [];
1511
- const postUpdate = () => postUpdateComponent(hostRef);
1512
- if (childrenPromises.length === 0) {
1513
- postUpdate();
1514
- }
1515
- else {
1516
- Promise.all(childrenPromises).then(postUpdate);
1517
- hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
1518
- childrenPromises.length = 0;
1519
- }
1520
- }
1521
- };
1522
- /**
1523
- * Handle making the call to the VDom renderer with the proper context given
1524
- * various build variables
1525
- *
1526
- * @param hostRef an object containing references to the element's host node,
1527
- * VDom nodes, and other metadata
1528
- * @param instance a reference to the underlying host element where it will be
1529
- * rendered
1530
- * @param elm the Host element for the component
1531
- * @param isInitialLoad whether or not this function is being called as part of
1532
- * @returns an empty promise
1533
- */
1534
- const callRender = (hostRef, instance, elm, isInitialLoad) => {
1535
- try {
1536
- instance = instance.render() ;
1537
- {
1538
- hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
1539
- }
1540
- {
1541
- hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
1542
- }
1543
- {
1544
- {
1545
- // looks like we've got child nodes to render into this host element
1546
- // or we need to update the css class/attrs on the host element
1547
- // DOM WRITE!
1548
- {
1549
- renderVdom(hostRef, instance, isInitialLoad);
1550
- }
1551
- }
1552
- }
1553
- }
1554
- catch (e) {
1555
- consoleError(e, hostRef.$hostElement$);
1556
- }
1557
- return null;
1558
- };
1559
- const postUpdateComponent = (hostRef) => {
1560
- const tagName = hostRef.$cmpMeta$.$tagName$;
1561
- const elm = hostRef.$hostElement$;
1562
- const endPostUpdate = createTime('postUpdate', tagName);
1563
- const instance = hostRef.$lazyInstance$ ;
1564
- const ancestorComponent = hostRef.$ancestorComponent$;
1565
- {
1566
- safeCall(instance, 'componentDidRender');
1567
- }
1568
- if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
1569
- hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
1570
- {
1571
- // DOM WRITE!
1572
- addHydratedFlag(elm);
1573
- }
1574
- {
1575
- safeCall(instance, 'componentDidLoad');
1576
- }
1577
- endPostUpdate();
1578
- {
1579
- hostRef.$onReadyResolve$(elm);
1580
- if (!ancestorComponent) {
1581
- appDidLoad();
1582
- }
1583
- }
1584
- }
1585
- else {
1586
- {
1587
- safeCall(instance, 'componentDidUpdate');
1588
- }
1589
- endPostUpdate();
1590
- }
1591
- {
1592
- hostRef.$onInstanceResolve$(elm);
1593
- }
1594
- // load events fire from bottom to top
1595
- // the deepest elements load first then bubbles up
1596
- {
1597
- if (hostRef.$onRenderResolve$) {
1598
- hostRef.$onRenderResolve$();
1599
- hostRef.$onRenderResolve$ = undefined;
1600
- }
1601
- if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
1602
- nextTick(() => scheduleUpdate(hostRef, false));
1603
- }
1604
- hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
1605
- }
1606
- // ( •_•)
1607
- // ( •_•)>⌐■-■
1608
- // (⌐■_■)
1609
- };
1610
- const appDidLoad = (who) => {
1611
- // on appload
1612
- // we have finish the first big initial render
1613
- {
1614
- addHydratedFlag(doc.documentElement);
1615
- }
1616
- nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
1617
- };
1618
- const safeCall = (instance, method, arg) => {
1619
- if (instance && instance[method]) {
1620
- try {
1621
- return instance[method](arg);
1622
- }
1623
- catch (e) {
1624
- consoleError(e);
1625
- }
1626
- }
1627
- return undefined;
1628
- };
1629
- const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1630
- ;
1631
- const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1632
- const setValue = (ref, propName, newVal, cmpMeta) => {
1633
- // check our new property value against our internal value
1634
- const hostRef = getHostRef(ref);
1635
- const elm = hostRef.$hostElement$ ;
1636
- const oldVal = hostRef.$instanceValues$.get(propName);
1637
- const flags = hostRef.$flags$;
1638
- const instance = hostRef.$lazyInstance$ ;
1639
- newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1640
- // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1641
- const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1642
- const didValueChange = newVal !== oldVal && !areBothNaN;
1643
- if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1644
- // gadzooks! the property's value has changed!!
1645
- // set our new value!
1646
- hostRef.$instanceValues$.set(propName, newVal);
1647
- if (instance) {
1648
- // get an array of method names of watch functions to call
1649
- if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
1650
- const watchMethods = cmpMeta.$watchers$[propName];
1651
- if (watchMethods) {
1652
- // this instance is watching for when this property changed
1653
- watchMethods.map((watchMethodName) => {
1654
- try {
1655
- // fire off each of the watch methods that are watching this property
1656
- instance[watchMethodName](newVal, oldVal, propName);
1657
- }
1658
- catch (e) {
1659
- consoleError(e, elm);
1660
- }
1661
- });
1662
- }
1663
- }
1664
- if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1665
- // looks like this value actually changed, so we've got work to do!
1666
- // but only if we've already rendered, otherwise just chill out
1667
- // queue that we need to do an update, but don't worry about queuing
1668
- // up millions cuz this function ensures it only runs once
1669
- scheduleUpdate(hostRef, false);
1670
- }
1671
- }
1672
- }
1673
- };
1674
- /**
1675
- * Attach a series of runtime constructs to a compiled Stencil component
1676
- * constructor, including getters and setters for the `@Prop` and `@State`
1677
- * decorators, callbacks for when attributes change, and so on.
1678
- *
1679
- * @param Cstr the constructor for a component that we need to process
1680
- * @param cmpMeta metadata collected previously about the component
1681
- * @param flags a number used to store a series of bit flags
1682
- * @returns a reference to the same constructor passed in (but now mutated)
1683
- */
1684
- const proxyComponent = (Cstr, cmpMeta, flags) => {
1685
- if (cmpMeta.$members$) {
1686
- if (Cstr.watchers) {
1687
- cmpMeta.$watchers$ = Cstr.watchers;
1688
- }
1689
- // It's better to have a const than two Object.entries()
1690
- const members = Object.entries(cmpMeta.$members$);
1691
- const prototype = Cstr.prototype;
1692
- members.map(([memberName, [memberFlags]]) => {
1693
- if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
1694
- ((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
1695
- // proxyComponent - prop
1696
- Object.defineProperty(prototype, memberName, {
1697
- get() {
1698
- // proxyComponent, get value
1699
- return getValue(this, memberName);
1700
- },
1701
- set(newValue) {
1702
- // proxyComponent, set value
1703
- setValue(this, memberName, newValue, cmpMeta);
1704
- },
1705
- configurable: true,
1706
- enumerable: true,
1707
- });
1708
- }
1709
- else if (flags & 1 /* PROXY_FLAGS.isElementConstructor */ &&
1710
- memberFlags & 64 /* MEMBER_FLAGS.Method */) {
1711
- // proxyComponent - method
1712
- Object.defineProperty(prototype, memberName, {
1713
- value(...args) {
1714
- const ref = getHostRef(this);
1715
- return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args));
1716
- },
1717
- });
1718
- }
1719
- });
1720
- if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1721
- const attrNameToPropName = new Map();
1722
- prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1723
- plt.jmp(() => {
1724
- const propName = attrNameToPropName.get(attrName);
1725
- // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1726
- // in the case where an attribute was set inline.
1727
- // ```html
1728
- // <my-component some-attribute="some-value"></my-component>
1729
- // ```
1730
- //
1731
- // There is an edge case where a developer sets the attribute inline on a custom element and then
1732
- // programmatically changes it before it has been upgraded as shown below:
1733
- //
1734
- // ```html
1735
- // <!-- this component has _not_ been upgraded yet -->
1736
- // <my-component id="test" some-attribute="some-value"></my-component>
1737
- // <script>
1738
- // // grab non-upgraded component
1739
- // el = document.querySelector("#test");
1740
- // el.someAttribute = "another-value";
1741
- // // upgrade component
1742
- // customElements.define('my-component', MyComponent);
1743
- // </script>
1744
- // ```
1745
- // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1746
- // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1747
- // to the value that was set inline i.e. "some-value" from above example. When
1748
- // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
1749
- //
1750
- // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1751
- // by connectedCallback as this attributeChangedCallback will not fire.
1752
- //
1753
- // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1754
- //
1755
- // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1756
- // properties here given that this goes against best practices outlined here
1757
- // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1758
- if (this.hasOwnProperty(propName)) {
1759
- newValue = this[propName];
1760
- delete this[propName];
1761
- }
1762
- else if (prototype.hasOwnProperty(propName) &&
1763
- typeof this[propName] === 'number' &&
1764
- this[propName] == newValue) {
1765
- // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
1766
- // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
1767
- // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1768
- return;
1769
- }
1770
- this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1771
- });
1772
- };
1773
- // create an array of attributes to observe
1774
- // and also create a map of html attribute name to js property name
1775
- Cstr.observedAttributes = members
1776
- .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1777
- .map(([propName, m]) => {
1778
- const attrName = m[1] || propName;
1779
- attrNameToPropName.set(attrName, propName);
1780
- if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1781
- cmpMeta.$attrsToReflect$.push([propName, attrName]);
1782
- }
1783
- return attrName;
1784
- });
1785
- }
1786
- }
1787
- return Cstr;
1788
- };
1789
- const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1790
- // initializeComponent
1791
- if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1792
- // Let the runtime know that the component has been initialized
1793
- hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1794
- {
1795
- // lazy loaded components
1796
- // request the component's implementation to be
1797
- // wired up with the host element
1798
- Cstr = loadModule(cmpMeta);
1799
- if (Cstr.then) {
1800
- // Await creates a micro-task avoid if possible
1801
- const endLoad = uniqueTime();
1802
- Cstr = await Cstr;
1803
- endLoad();
1804
- }
1805
- if (!Cstr.isProxied) {
1806
- // we've never proxied this Constructor before
1807
- // let's add the getters/setters to its prototype before
1808
- // the first time we create an instance of the implementation
1809
- {
1810
- cmpMeta.$watchers$ = Cstr.watchers;
1811
- }
1812
- proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
1813
- Cstr.isProxied = true;
1814
- }
1815
- const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
1816
- // ok, time to construct the instance
1817
- // but let's keep track of when we start and stop
1818
- // so that the getters/setters don't incorrectly step on data
1819
- {
1820
- hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
1821
- }
1822
- // construct the lazy-loaded component implementation
1823
- // passing the hostRef is very important during
1824
- // construction in order to directly wire together the
1825
- // host element and the lazy-loaded instance
1826
- try {
1827
- new Cstr(hostRef);
1828
- }
1829
- catch (e) {
1830
- consoleError(e);
1831
- }
1832
- {
1833
- hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
1834
- }
1835
- {
1836
- hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
1837
- }
1838
- endNewInstance();
1839
- fireConnectedCallback(hostRef.$lazyInstance$);
1840
- }
1841
- if (Cstr.style) {
1842
- // this component has styles but we haven't registered them yet
1843
- let style = Cstr.style;
1844
- const scopeId = getScopeId(cmpMeta);
1845
- if (!styles.has(scopeId)) {
1846
- const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
1847
- registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
1848
- endRegisterStyles();
1849
- }
1850
- }
1851
- }
1852
- // we've successfully created a lazy instance
1853
- const ancestorComponent = hostRef.$ancestorComponent$;
1854
- const schedule = () => scheduleUpdate(hostRef, true);
1855
- if (ancestorComponent && ancestorComponent['s-rc']) {
1856
- // this is the initial load and this component it has an ancestor component
1857
- // but the ancestor component has NOT fired its will update lifecycle yet
1858
- // so let's just cool our jets and wait for the ancestor to continue first
1859
- // this will get fired off when the ancestor component
1860
- // finally gets around to rendering its lazy self
1861
- // fire off the initial update
1862
- ancestorComponent['s-rc'].push(schedule);
1863
- }
1864
- else {
1865
- schedule();
1866
- }
1867
- };
1868
- const fireConnectedCallback = (instance) => {
1869
- {
1870
- safeCall(instance, 'connectedCallback');
1871
- }
1872
- };
1873
- const connectedCallback = (elm) => {
1874
- if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1875
- const hostRef = getHostRef(elm);
1876
- const cmpMeta = hostRef.$cmpMeta$;
1877
- const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
1878
- if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
1879
- // first time this component has connected
1880
- hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
1881
- {
1882
- // initUpdate
1883
- // if the slot polyfill is required we'll need to put some nodes
1884
- // in here to act as original content anchors as we move nodes around
1885
- // host element has been connected to the DOM
1886
- if ((// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
1887
- cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
1888
- setContentReference(elm);
1889
- }
1890
- }
1891
- {
1892
- // find the first ancestor component (if there is one) and register
1893
- // this component as one of the actively loading child components for its ancestor
1894
- let ancestorComponent = elm;
1895
- while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
1896
- // climb up the ancestors looking for the first
1897
- // component that hasn't finished its lifecycle update yet
1898
- if (ancestorComponent['s-p']) {
1899
- // we found this components first ancestor component
1900
- // keep a reference to this component's ancestor component
1901
- attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
1902
- break;
1903
- }
1904
- }
1905
- }
1906
- // Lazy properties
1907
- // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1908
- if (cmpMeta.$members$) {
1909
- Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1910
- if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
1911
- const value = elm[memberName];
1912
- delete elm[memberName];
1913
- elm[memberName] = value;
1914
- }
1915
- });
1916
- }
1917
- {
1918
- initializeComponent(elm, hostRef, cmpMeta);
1919
- }
1920
- }
1921
- else {
1922
- // not the first time this has connected
1923
- // reattach any event listeners to the host
1924
- // since they would have been removed when disconnected
1925
- addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1926
- // fire off connectedCallback() on component instance
1927
- if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {
1928
- fireConnectedCallback(hostRef.$lazyInstance$);
1929
- }
1930
- else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {
1931
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
1932
- }
1933
- }
1934
- endConnected();
1935
- }
1936
- };
1937
- const setContentReference = (elm) => {
1938
- // only required when we're NOT using native shadow dom (slot)
1939
- // or this browser doesn't support native shadow dom
1940
- // and this host element was NOT created with SSR
1941
- // let's pick out the inner content for slot projection
1942
- // create a node to represent where the original
1943
- // content was first placed, which is useful later on
1944
- const contentRefElm = (elm['s-cr'] = doc.createComment(''));
1945
- contentRefElm['s-cn'] = true;
1946
- elm.insertBefore(contentRefElm, elm.firstChild);
1947
- };
1948
- const disconnectInstance = (instance) => {
1949
- {
1950
- safeCall(instance, 'disconnectedCallback');
1951
- }
1952
- };
1953
- const disconnectedCallback = async (elm) => {
1954
- if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1955
- const hostRef = getHostRef(elm);
1956
- {
1957
- if (hostRef.$rmListeners$) {
1958
- hostRef.$rmListeners$.map((rmListener) => rmListener());
1959
- hostRef.$rmListeners$ = undefined;
1960
- }
1961
- }
1962
- if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {
1963
- disconnectInstance(hostRef.$lazyInstance$);
1964
- }
1965
- else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {
1966
- hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1967
- }
1968
- }
1969
- };
1970
- const bootstrapLazy = (lazyBundles, options = {}) => {
1971
- var _a;
1972
- const endBootstrap = createTime();
1973
- const cmpTags = [];
1974
- const exclude = options.exclude || [];
1975
- const customElements = win.customElements;
1976
- const head = doc.head;
1977
- const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
1978
- const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
1979
- const deferredConnectedCallbacks = [];
1980
- let appLoadFallback;
1981
- let isBootstrapping = true;
1982
- Object.assign(plt, options);
1983
- plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1984
- lazyBundles.map((lazyBundle) => {
1985
- lazyBundle[1].map((compactMeta) => {
1986
- const cmpMeta = {
1987
- $flags$: compactMeta[0],
1988
- $tagName$: compactMeta[1],
1989
- $members$: compactMeta[2],
1990
- $listeners$: compactMeta[3],
1991
- };
1992
- {
1993
- cmpMeta.$members$ = compactMeta[2];
1994
- }
1995
- {
1996
- cmpMeta.$listeners$ = compactMeta[3];
1997
- }
1998
- {
1999
- cmpMeta.$attrsToReflect$ = [];
2000
- }
2001
- {
2002
- cmpMeta.$watchers$ = {};
2003
- }
2004
- const tagName = cmpMeta.$tagName$;
2005
- const HostElement = class extends HTMLElement {
2006
- // StencilLazyHost
2007
- constructor(self) {
2008
- // @ts-ignore
2009
- super(self);
2010
- self = this;
2011
- registerHost(self, cmpMeta);
2012
- if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
2013
- // this component is using shadow dom
2014
- // and this browser supports shadow dom
2015
- // add the read-only property "shadowRoot" to the host element
2016
- // adding the shadow root build conditionals to minimize runtime
2017
- {
2018
- {
2019
- self.attachShadow({ mode: 'open' });
2020
- }
2021
- }
2022
- }
2023
- }
2024
- connectedCallback() {
2025
- if (appLoadFallback) {
2026
- clearTimeout(appLoadFallback);
2027
- appLoadFallback = null;
2028
- }
2029
- if (isBootstrapping) {
2030
- // connectedCallback will be processed once all components have been registered
2031
- deferredConnectedCallbacks.push(this);
2032
- }
2033
- else {
2034
- plt.jmp(() => connectedCallback(this));
2035
- }
2036
- }
2037
- disconnectedCallback() {
2038
- plt.jmp(() => disconnectedCallback(this));
2039
- }
2040
- componentOnReady() {
2041
- return getHostRef(this).$onReadyPromise$;
2042
- }
2043
- };
2044
- cmpMeta.$lazyBundleId$ = lazyBundle[0];
2045
- if (!exclude.includes(tagName) && !customElements.get(tagName)) {
2046
- cmpTags.push(tagName);
2047
- customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
2048
- }
2049
- });
2050
- });
2051
- {
2052
- visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
2053
- visibilityStyle.setAttribute('data-styles', '');
2054
- // Apply CSP nonce to the style tag if it exists
2055
- const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
2056
- if (nonce != null) {
2057
- visibilityStyle.setAttribute('nonce', nonce);
2058
- }
2059
- head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
2060
- }
2061
- // Process deferred connectedCallbacks now all components have been registered
2062
- isBootstrapping = false;
2063
- if (deferredConnectedCallbacks.length) {
2064
- deferredConnectedCallbacks.map((host) => host.connectedCallback());
2065
- }
2066
- else {
2067
- {
2068
- plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));
2069
- }
2070
- }
2071
- // Fallback appLoad event
2072
- endBootstrap();
2073
- };
2074
- const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
2075
- if (listeners) {
2076
- listeners.map(([flags, name, method]) => {
2077
- const target = getHostListenerTarget(elm, flags) ;
2078
- const handler = hostListenerProxy(hostRef, method);
2079
- const opts = hostListenerOpts(flags);
2080
- plt.ael(target, name, handler, opts);
2081
- (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
2082
- });
2083
- }
2084
- };
2085
- const hostListenerProxy = (hostRef, methodName) => (ev) => {
2086
- try {
2087
- {
2088
- if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
2089
- // instance is ready, let's call it's member method for this event
2090
- hostRef.$lazyInstance$[methodName](ev);
2091
- }
2092
- else {
2093
- (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
2094
- }
2095
- }
2096
- }
2097
- catch (e) {
2098
- consoleError(e);
2099
- }
2100
- };
2101
- const getHostListenerTarget = (elm, flags) => {
2102
- if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
2103
- return win;
2104
- return elm;
2105
- };
2106
- // prettier-ignore
2107
- const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
2108
- /**
2109
- * Assigns the given value to the nonce property on the runtime platform object.
2110
- * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
2111
- * @param nonce The value to be assigned to the platform nonce property.
2112
- * @returns void
2113
- */
2114
- const setNonce = (nonce) => (plt.$nonce$ = nonce);
2115
- const hostRefs = /*@__PURE__*/ new WeakMap();
2116
- const getHostRef = (ref) => hostRefs.get(ref);
2117
- const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
2118
- const registerHost = (elm, cmpMeta) => {
2119
- const hostRef = {
2120
- $flags$: 0,
2121
- $hostElement$: elm,
2122
- $cmpMeta$: cmpMeta,
2123
- $instanceValues$: new Map(),
2124
- };
2125
- {
2126
- hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));
2127
- }
2128
- {
2129
- hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
2130
- elm['s-p'] = [];
2131
- elm['s-rc'] = [];
2132
- }
2133
- addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
2134
- return hostRefs.set(elm, hostRef);
2135
- };
2136
- const isMemberInElement = (elm, memberName) => memberName in elm;
2137
- const consoleError = (e, el) => (0, console.error)(e, el);
2138
- const cmpModules = /*@__PURE__*/ new Map();
2139
- const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2140
- // loadModuleImport
2141
- const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
2142
- const bundleId = cmpMeta.$lazyBundleId$;
2143
- const module = cmpModules.get(bundleId) ;
2144
- if (module) {
2145
- return module[exportName];
2146
- }
2147
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
2148
- return import(
2149
- /* @vite-ignore */
2150
- /* webpackInclude: /\.entry\.js$/ */
2151
- /* webpackExclude: /\.system\.entry\.js$/ */
2152
- /* webpackMode: "lazy" */
2153
- `./${bundleId}.entry.js${''}`).then((importedModule) => {
2154
- {
2155
- cmpModules.set(bundleId, importedModule);
2156
- }
2157
- return importedModule[exportName];
2158
- }, consoleError);
2159
- };
2160
- const styles = /*@__PURE__*/ new Map();
2161
- const win = typeof window !== 'undefined' ? window : {};
2162
- const doc = win.document || { head: {} };
2163
- const plt = {
2164
- $flags$: 0,
2165
- $resourcesUrl$: '',
2166
- jmp: (h) => h(),
2167
- raf: (h) => requestAnimationFrame(h),
2168
- ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
2169
- rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
2170
- ce: (eventName, opts) => new CustomEvent(eventName, opts),
2171
- };
2172
- const promiseResolve = (v) => Promise.resolve(v);
2173
- const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
2174
- try {
2175
- new CSSStyleSheet();
2176
- return typeof new CSSStyleSheet().replaceSync === 'function';
2177
- }
2178
- catch (e) { }
2179
- return false;
2180
- })()
2181
- ;
2182
- const queueDomReads = [];
2183
- const queueDomWrites = [];
2184
- const queueTask = (queue, write) => (cb) => {
2185
- queue.push(cb);
2186
- if (!queuePending) {
2187
- queuePending = true;
2188
- if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
2189
- nextTick(flush);
2190
- }
2191
- else {
2192
- plt.raf(flush);
2193
- }
2194
- }
2195
- };
2196
- const consume = (queue) => {
2197
- for (let i = 0; i < queue.length; i++) {
2198
- try {
2199
- queue[i](performance.now());
2200
- }
2201
- catch (e) {
2202
- consoleError(e);
2203
- }
2204
- }
2205
- queue.length = 0;
2206
- };
2207
- const flush = () => {
2208
- // always force a bunch of medium callbacks to run, but still have
2209
- // a throttle on how many can run in a certain time
2210
- // DOM READS!!!
2211
- consume(queueDomReads);
2212
- // DOM WRITES!!!
2213
- {
2214
- consume(queueDomWrites);
2215
- if ((queuePending = queueDomReads.length > 0)) {
2216
- // still more to do yet, but we've run out of time
2217
- // let's let this thing cool off and try again in the next tick
2218
- plt.raf(flush);
2219
- }
2220
- }
2221
- };
2222
- const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
2223
- const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
2224
-
2225
- export { Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
2226
-
2227
- //# sourceMappingURL=index-8a74f992.js.map