@zanichelli/albe-web-components 12.4.1-RC1 → 12.4.1

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 (1966) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/cjs/breakpoints-5c22092a.js +11 -0
  3. package/dist/cjs/breakpoints-5c22092a.js.map +1 -0
  4. package/dist/cjs/hammer-eaf294be.js +2655 -0
  5. package/dist/cjs/hammer-eaf294be.js.map +1 -0
  6. package/dist/cjs/icons-be077181.js +864 -0
  7. package/dist/cjs/icons-be077181.js.map +1 -0
  8. package/dist/cjs/index-0a7baee3.js +24 -0
  9. package/dist/cjs/index-0a7baee3.js.map +1 -0
  10. package/dist/cjs/index-17ebc3c9.js +59 -0
  11. package/dist/cjs/index-17ebc3c9.js.map +1 -0
  12. package/dist/cjs/index-37180b8d.js +24 -0
  13. package/dist/cjs/index-37180b8d.js.map +1 -0
  14. package/dist/cjs/index-39ce4edf.js +346 -0
  15. package/dist/cjs/index-39ce4edf.js.map +1 -0
  16. package/dist/cjs/index-4468a6b7.js +24 -0
  17. package/dist/cjs/index-4468a6b7.js.map +1 -0
  18. package/dist/cjs/index-66168a3e.js +21 -0
  19. package/dist/cjs/index-66168a3e.js.map +1 -0
  20. package/dist/cjs/index-715aa3be.js +21 -0
  21. package/dist/cjs/index-715aa3be.js.map +1 -0
  22. package/dist/cjs/index-7a1c32d4.js +30 -0
  23. package/dist/cjs/index-7a1c32d4.js.map +1 -0
  24. package/dist/cjs/index-7f3e61f0.js +82 -0
  25. package/dist/cjs/index-7f3e61f0.js.map +1 -0
  26. package/dist/cjs/index-866774f0.js +21 -0
  27. package/dist/cjs/index-866774f0.js.map +1 -0
  28. package/dist/cjs/index-96c2bc8f.js +25 -0
  29. package/dist/cjs/index-96c2bc8f.js.map +1 -0
  30. package/dist/cjs/index-a30259f3.js +37 -0
  31. package/dist/cjs/index-a30259f3.js.map +1 -0
  32. package/dist/cjs/index-a7aedd7c.js +20 -0
  33. package/dist/cjs/index-a7aedd7c.js.map +1 -0
  34. package/dist/cjs/index-bb02ef1e.js +20 -0
  35. package/dist/cjs/index-bb02ef1e.js.map +1 -0
  36. package/dist/cjs/index-d669dfd0.js +43 -0
  37. package/dist/cjs/index-d669dfd0.js.map +1 -0
  38. package/dist/cjs/index-dc60bee7.js +3204 -0
  39. package/dist/cjs/index-dc60bee7.js.map +1 -0
  40. package/dist/cjs/index-e61ccca6.js +46 -0
  41. package/dist/cjs/index-e61ccca6.js.map +1 -0
  42. package/dist/cjs/index-fe277fa1.js +65 -0
  43. package/dist/cjs/index-fe277fa1.js.map +1 -0
  44. package/dist/cjs/index.cjs.js +218 -216
  45. package/dist/cjs/index.cjs.js.map +1 -0
  46. package/dist/cjs/loader.cjs.js +6 -12
  47. package/dist/cjs/loader.cjs.js.map +1 -0
  48. package/dist/cjs/utils-8a90bcd5.js +2712 -0
  49. package/dist/cjs/utils-8a90bcd5.js.map +1 -0
  50. package/dist/cjs/utils-d0b10736.js +112 -0
  51. package/dist/cjs/utils-d0b10736.js.map +1 -0
  52. package/dist/cjs/web-components-library.cjs.js +32 -3
  53. package/dist/cjs/web-components-library.cjs.js.map +1 -0
  54. package/dist/cjs/z-accordion.cjs.entry.js +39 -52
  55. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -0
  56. package/dist/cjs/z-alert.cjs.entry.js +12 -8
  57. package/dist/cjs/z-alert.cjs.entry.js.map +1 -0
  58. package/dist/cjs/z-anchor-navigation.cjs.entry.js +34 -38
  59. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -0
  60. package/dist/cjs/z-app-header_11.cjs.entry.js +908 -993
  61. package/dist/cjs/z-app-header_11.cjs.entry.js.map +1 -0
  62. package/dist/cjs/z-aria-alert.cjs.entry.js +11 -10
  63. package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -0
  64. package/dist/cjs/z-avatar.cjs.entry.js +32 -30
  65. package/dist/cjs/z-avatar.cjs.entry.js.map +1 -0
  66. package/dist/cjs/z-book-card.cjs.entry.js +126 -114
  67. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -0
  68. package/dist/cjs/z-breadcrumb.cjs.entry.js +216 -219
  69. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -0
  70. package/dist/cjs/z-button-sort.cjs.entry.js +42 -39
  71. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -0
  72. package/dist/cjs/z-card.cjs.entry.js +45 -41
  73. package/dist/cjs/z-card.cjs.entry.js.map +1 -0
  74. package/dist/cjs/z-carousel.cjs.entry.js +137 -129
  75. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -0
  76. package/dist/cjs/z-chip.cjs.entry.js +23 -21
  77. package/dist/cjs/z-chip.cjs.entry.js.map +1 -0
  78. package/dist/cjs/z-combobox.cjs.entry.js +189 -188
  79. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -0
  80. package/dist/cjs/z-contextual-menu.cjs.entry.js +31 -33
  81. package/dist/cjs/z-contextual-menu.cjs.entry.js.map +1 -0
  82. package/dist/cjs/z-cover-hero.cjs.entry.js +32 -41
  83. package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -0
  84. package/dist/cjs/z-date-picker.cjs.entry.js +164 -158
  85. package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -0
  86. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +144 -136
  87. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -0
  88. package/dist/cjs/z-file-upload.cjs.entry.js +182 -177
  89. package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -0
  90. package/dist/cjs/z-file.cjs.entry.js +42 -37
  91. package/dist/cjs/z-file.cjs.entry.js.map +1 -0
  92. package/dist/cjs/z-ghost-loading.cjs.entry.js +11 -8
  93. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -0
  94. package/dist/cjs/z-info-box.cjs.entry.js +17 -14
  95. package/dist/cjs/z-info-box.cjs.entry.js.map +1 -0
  96. package/dist/cjs/z-info-reveal.cjs.entry.js +53 -53
  97. package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -0
  98. package/dist/cjs/z-link.cjs.entry.js +57 -60
  99. package/dist/cjs/z-link.cjs.entry.js.map +1 -0
  100. package/dist/cjs/z-logo.cjs.entry.js +22 -13
  101. package/dist/cjs/z-logo.cjs.entry.js.map +1 -0
  102. package/dist/cjs/z-menu-section.cjs.entry.js +47 -41
  103. package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -0
  104. package/dist/cjs/z-menu.cjs.entry.js +95 -99
  105. package/dist/cjs/z-menu.cjs.entry.js.map +1 -0
  106. package/dist/cjs/z-messages-pocket.cjs.entry.js +37 -33
  107. package/dist/cjs/z-messages-pocket.cjs.entry.js.map +1 -0
  108. package/dist/cjs/z-myz-card-alert.cjs.entry.js +56 -49
  109. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -0
  110. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +26 -25
  111. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -0
  112. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +11 -8
  113. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +1 -0
  114. package/dist/cjs/z-myz-card-footer.cjs.entry.js +61 -55
  115. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -0
  116. package/dist/cjs/z-myz-card-icon.cjs.entry.js +14 -12
  117. package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +1 -0
  118. package/dist/cjs/z-myz-card-info.cjs.entry.js +120 -117
  119. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -0
  120. package/dist/cjs/z-myz-card-list.cjs.entry.js +29 -25
  121. package/dist/cjs/z-myz-card-list.cjs.entry.js.map +1 -0
  122. package/dist/cjs/z-myz-card_4.cjs.entry.js +88 -75
  123. package/dist/cjs/z-myz-card_4.cjs.entry.js.map +1 -0
  124. package/dist/cjs/z-myz-list-item.cjs.entry.js +32 -26
  125. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -0
  126. package/dist/cjs/z-myz-list.cjs.entry.js +28 -23
  127. package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -0
  128. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +55 -57
  129. package/dist/cjs/z-navigation-tab-link.cjs.entry.js.map +1 -0
  130. package/dist/cjs/z-navigation-tab.cjs.entry.js +52 -56
  131. package/dist/cjs/z-navigation-tab.cjs.entry.js.map +1 -0
  132. package/dist/cjs/z-navigation-tabs.cjs.entry.js +206 -210
  133. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -0
  134. package/dist/cjs/z-notification.cjs.entry.js +30 -30
  135. package/dist/cjs/z-notification.cjs.entry.js.map +1 -0
  136. package/dist/cjs/z-otp.cjs.entry.js +34 -30
  137. package/dist/cjs/z-otp.cjs.entry.js.map +1 -0
  138. package/dist/cjs/z-pagination.cjs.entry.js +212 -216
  139. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -0
  140. package/dist/cjs/z-panel-elem.cjs.entry.js +30 -22
  141. package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -0
  142. package/dist/cjs/z-pocket-message.cjs.entry.js +11 -8
  143. package/dist/cjs/z-pocket-message.cjs.entry.js.map +1 -0
  144. package/dist/cjs/z-pocket_3.cjs.entry.js +105 -100
  145. package/dist/cjs/z-pocket_3.cjs.entry.js.map +1 -0
  146. package/dist/cjs/z-popover.cjs.entry.js +273 -282
  147. package/dist/cjs/z-popover.cjs.entry.js.map +1 -0
  148. package/dist/cjs/z-range-picker.cjs.entry.js +326 -324
  149. package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -0
  150. package/dist/cjs/z-section-title.cjs.entry.js +18 -22
  151. package/dist/cjs/z-section-title.cjs.entry.js.map +1 -0
  152. package/dist/cjs/z-select.cjs.entry.js +327 -323
  153. package/dist/cjs/z-select.cjs.entry.js.map +1 -0
  154. package/dist/cjs/z-skip-to-content.cjs.entry.js +62 -59
  155. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -0
  156. package/dist/cjs/z-slideshow.cjs.entry.js +116 -110
  157. package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -0
  158. package/dist/cjs/z-stepper-item.cjs.entry.js +17 -10
  159. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -0
  160. package/dist/cjs/z-stepper.cjs.entry.js +11 -8
  161. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -0
  162. package/dist/cjs/z-table-body.cjs.entry.js +4 -2
  163. package/dist/cjs/z-table-body.cjs.entry.js.map +1 -0
  164. package/dist/cjs/z-table-cell.cjs.entry.js +5 -3
  165. package/dist/cjs/z-table-cell.cjs.entry.js.map +1 -0
  166. package/dist/cjs/z-table-deprecated.cjs.entry.js +76 -75
  167. package/dist/cjs/z-table-deprecated.cjs.entry.js.map +1 -0
  168. package/dist/cjs/z-table-empty-box.cjs.entry.js +4 -2
  169. package/dist/cjs/z-table-empty-box.cjs.entry.js.map +1 -0
  170. package/dist/cjs/z-table-expanded-row.cjs.entry.js +4 -2
  171. package/dist/cjs/z-table-expanded-row.cjs.entry.js.map +1 -0
  172. package/dist/cjs/z-table-footer.cjs.entry.js +4 -2
  173. package/dist/cjs/z-table-footer.cjs.entry.js.map +1 -0
  174. package/dist/cjs/z-table-head.cjs.entry.js +4 -2
  175. package/dist/cjs/z-table-head.cjs.entry.js.map +1 -0
  176. package/dist/cjs/z-table-header-row.cjs.entry.js +4 -2
  177. package/dist/cjs/z-table-header-row.cjs.entry.js.map +1 -0
  178. package/dist/cjs/z-table-header.cjs.entry.js +7 -5
  179. package/dist/cjs/z-table-header.cjs.entry.js.map +1 -0
  180. package/dist/cjs/z-table-row.cjs.entry.js +5 -3
  181. package/dist/cjs/z-table-row.cjs.entry.js.map +1 -0
  182. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +4 -2
  183. package/dist/cjs/z-table-sticky-footer.cjs.entry.js.map +1 -0
  184. package/dist/cjs/z-table.cjs.entry.js +42 -45
  185. package/dist/cjs/z-table.cjs.entry.js.map +1 -0
  186. package/dist/cjs/z-tag.cjs.entry.js +16 -11
  187. package/dist/cjs/z-tag.cjs.entry.js.map +1 -0
  188. package/dist/cjs/z-tbody.cjs.entry.js +4 -2
  189. package/dist/cjs/z-tbody.cjs.entry.js.map +1 -0
  190. package/dist/cjs/z-td.cjs.entry.js +5 -3
  191. package/dist/cjs/z-td.cjs.entry.js.map +1 -0
  192. package/dist/cjs/z-tfoot.cjs.entry.js +4 -2
  193. package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -0
  194. package/dist/cjs/z-th.cjs.entry.js +5 -3
  195. package/dist/cjs/z-th.cjs.entry.js.map +1 -0
  196. package/dist/cjs/z-thead.cjs.entry.js +4 -2
  197. package/dist/cjs/z-thead.cjs.entry.js.map +1 -0
  198. package/dist/cjs/z-toast-notification-list.cjs.entry.js +45 -42
  199. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -0
  200. package/dist/cjs/z-toast-notification.cjs.entry.js +190 -184
  201. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -0
  202. package/dist/cjs/z-toggle-button.cjs.entry.js +26 -24
  203. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -0
  204. package/dist/cjs/z-toggle-switch.cjs.entry.js +38 -39
  205. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -0
  206. package/dist/cjs/z-tooltip.cjs.entry.js +20 -26
  207. package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -0
  208. package/dist/cjs/z-tr.cjs.entry.js +9 -7
  209. package/dist/cjs/z-tr.cjs.entry.js.map +1 -0
  210. package/dist/cjs/z-visually-hidden.cjs.entry.js +11 -8
  211. package/dist/cjs/z-visually-hidden.cjs.entry.js.map +1 -0
  212. package/dist/collection/beans/index.js +181 -180
  213. package/dist/collection/beans/index.js.map +1 -0
  214. package/dist/collection/collection-manifest.json +97 -97
  215. package/dist/collection/components/buttons/z-button/index.js +258 -252
  216. package/dist/collection/components/buttons/z-button/index.js.map +1 -0
  217. package/dist/collection/components/buttons/z-button/index.spec.js +101 -0
  218. package/dist/collection/components/buttons/z-button/index.spec.js.map +1 -0
  219. package/dist/collection/components/buttons/z-button-sort/index.js +214 -213
  220. package/dist/collection/components/buttons/z-button-sort/index.js.map +1 -0
  221. package/dist/collection/components/buttons/z-button-sort/index.spec.js +139 -0
  222. package/dist/collection/components/buttons/z-button-sort/index.spec.js.map +1 -0
  223. package/dist/collection/components/buttons/z-button-sort/test.e2e.js +13 -0
  224. package/dist/collection/components/buttons/z-button-sort/test.e2e.js.map +1 -0
  225. package/dist/collection/components/buttons/z-chip/index.js +143 -142
  226. package/dist/collection/components/buttons/z-chip/index.js.map +1 -0
  227. package/dist/collection/components/buttons/z-chip/index.spec.js +108 -0
  228. package/dist/collection/components/buttons/z-chip/index.spec.js.map +1 -0
  229. package/dist/collection/components/buttons/z-toggle-button/index.js +141 -141
  230. package/dist/collection/components/buttons/z-toggle-button/index.js.map +1 -0
  231. package/dist/collection/components/buttons/z-toggle-button/index.spec.js +124 -0
  232. package/dist/collection/components/buttons/z-toggle-button/index.spec.js.map +1 -0
  233. package/dist/collection/components/buttons/z-toggle-switch/index.js +140 -137
  234. package/dist/collection/components/buttons/z-toggle-switch/index.js.map +1 -0
  235. package/dist/collection/components/buttons/z-toggle-switch/index.spec.js +149 -0
  236. package/dist/collection/components/buttons/z-toggle-switch/index.spec.js.map +1 -0
  237. package/dist/collection/components/date-picker/utils.js +63 -62
  238. package/dist/collection/components/date-picker/utils.js.map +1 -0
  239. package/dist/collection/components/date-picker/z-date-picker/index.js +278 -276
  240. package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -0
  241. package/dist/collection/components/date-picker/z-date-picker/index.spec.js +38 -0
  242. package/dist/collection/components/date-picker/z-date-picker/index.spec.js.map +1 -0
  243. package/dist/collection/components/date-picker/z-range-picker/index.js +559 -557
  244. package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -0
  245. package/dist/collection/components/date-picker/z-range-picker/index.spec.js +25 -0
  246. package/dist/collection/components/date-picker/z-range-picker/index.spec.js.map +1 -0
  247. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +75 -71
  248. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -0
  249. package/dist/collection/components/file-upload/z-dragdrop-area/index.spec.js +55 -0
  250. package/dist/collection/components/file-upload/z-dragdrop-area/index.spec.js.map +1 -0
  251. package/dist/collection/components/file-upload/z-file/index.js +127 -124
  252. package/dist/collection/components/file-upload/z-file/index.js.map +1 -0
  253. package/dist/collection/components/file-upload/z-file/index.spec.js +20 -0
  254. package/dist/collection/components/file-upload/z-file/index.spec.js.map +1 -0
  255. package/dist/collection/components/file-upload/z-file-upload/index.js +392 -385
  256. package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -0
  257. package/dist/collection/components/file-upload/z-file-upload/index.spec.js +136 -0
  258. package/dist/collection/components/file-upload/z-file-upload/index.spec.js.map +1 -0
  259. package/dist/collection/components/file-upload/z-file-upload/test.e2e.js +69 -0
  260. package/dist/collection/components/file-upload/z-file-upload/test.e2e.js.map +1 -0
  261. package/dist/collection/components/icons/icons.js +836 -835
  262. package/dist/collection/components/icons/icons.js.map +1 -0
  263. package/dist/collection/components/icons/z-icon/index.js +117 -109
  264. package/dist/collection/components/icons/z-icon/index.js.map +1 -0
  265. package/dist/collection/components/icons/z-icon/index.spec.js +96 -0
  266. package/dist/collection/components/icons/z-icon/index.spec.js.map +1 -0
  267. package/dist/collection/components/index.js +1 -0
  268. package/dist/collection/components/index.js.map +1 -0
  269. package/dist/collection/components/indicators/z-stepper/index.js +16 -15
  270. package/dist/collection/components/indicators/z-stepper/index.js.map +1 -0
  271. package/dist/collection/components/indicators/z-stepper/index.spec.js +38 -0
  272. package/dist/collection/components/indicators/z-stepper/index.spec.js.map +1 -0
  273. package/dist/collection/components/indicators/z-stepper-item/index.js +96 -89
  274. package/dist/collection/components/indicators/z-stepper-item/index.js.map +1 -0
  275. package/dist/collection/components/indicators/z-stepper-item/index.spec.js +105 -0
  276. package/dist/collection/components/indicators/z-stepper-item/index.spec.js.map +1 -0
  277. package/dist/collection/components/inputs/z-combobox/index.js +552 -551
  278. package/dist/collection/components/inputs/z-combobox/index.js.map +1 -0
  279. package/dist/collection/components/inputs/z-combobox/index.spec.js +445 -0
  280. package/dist/collection/components/inputs/z-combobox/index.spec.js.map +1 -0
  281. package/dist/collection/components/inputs/z-input/index.js +903 -887
  282. package/dist/collection/components/inputs/z-input/index.js.map +1 -0
  283. package/dist/collection/components/inputs/z-input/styles.css +1 -1
  284. package/dist/collection/components/inputs/z-input/test-checkbox.spec.js +114 -0
  285. package/dist/collection/components/inputs/z-input/test-checkbox.spec.js.map +1 -0
  286. package/dist/collection/components/inputs/z-input/test-methods.spec.js +13 -0
  287. package/dist/collection/components/inputs/z-input/test-methods.spec.js.map +1 -0
  288. package/dist/collection/components/inputs/z-input/test-radio.spec.js +114 -0
  289. package/dist/collection/components/inputs/z-input/test-radio.spec.js.map +1 -0
  290. package/dist/collection/components/inputs/z-input/test-text.spec.js +347 -0
  291. package/dist/collection/components/inputs/z-input/test-text.spec.js.map +1 -0
  292. package/dist/collection/components/inputs/z-input/test-textarea.spec.js +54 -0
  293. package/dist/collection/components/inputs/z-input/test-textarea.spec.js.map +1 -0
  294. package/dist/collection/components/inputs/z-input/test.e2e.js +180 -0
  295. package/dist/collection/components/inputs/z-input/test.e2e.js.map +1 -0
  296. package/dist/collection/components/inputs/z-input-message/index.js +89 -85
  297. package/dist/collection/components/inputs/z-input-message/index.js.map +1 -0
  298. package/dist/collection/components/inputs/z-input-message/index.spec.js +45 -0
  299. package/dist/collection/components/inputs/z-input-message/index.spec.js.map +1 -0
  300. package/dist/collection/components/inputs/z-searchbar/index.js +583 -585
  301. package/dist/collection/components/inputs/z-searchbar/index.js.map +1 -0
  302. package/dist/collection/components/inputs/z-searchbar/index.spec.js +386 -0
  303. package/dist/collection/components/inputs/z-searchbar/index.spec.js.map +1 -0
  304. package/dist/collection/components/inputs/z-select/index.js +761 -750
  305. package/dist/collection/components/inputs/z-select/index.js.map +1 -0
  306. package/dist/collection/components/inputs/z-select/index.spec.js +627 -0
  307. package/dist/collection/components/inputs/z-select/index.spec.js.map +1 -0
  308. package/dist/collection/components/list/z-list/index.js +101 -107
  309. package/dist/collection/components/list/z-list/index.js.map +1 -0
  310. package/dist/collection/components/list/z-list/index.spec.js +33 -0
  311. package/dist/collection/components/list/z-list/index.spec.js.map +1 -0
  312. package/dist/collection/components/list/z-list-element/index.js +489 -523
  313. package/dist/collection/components/list/z-list-element/index.js.map +1 -0
  314. package/dist/collection/components/list/z-list-element/index.spec.js +135 -0
  315. package/dist/collection/components/list/z-list-element/index.spec.js.map +1 -0
  316. package/dist/collection/components/list/z-list-group/index.js +158 -168
  317. package/dist/collection/components/list/z-list-group/index.js.map +1 -0
  318. package/dist/collection/components/list/z-list-group/index.spec.js +39 -0
  319. package/dist/collection/components/list/z-list-group/index.spec.js.map +1 -0
  320. package/dist/collection/components/list/z-toast-notification-list/index.js +99 -97
  321. package/dist/collection/components/list/z-toast-notification-list/index.js.map +1 -0
  322. package/dist/collection/components/list/z-toast-notification-list/index.spec.js +57 -0
  323. package/dist/collection/components/list/z-toast-notification-list/index.spec.js.map +1 -0
  324. package/dist/collection/components/list/z-toast-notification-list/test.e2e.js +69 -0
  325. package/dist/collection/components/list/z-toast-notification-list/test.e2e.js.map +1 -0
  326. package/dist/collection/components/logo/z-logo/index.js +135 -126
  327. package/dist/collection/components/logo/z-logo/index.js.map +1 -0
  328. package/dist/collection/components/logo/z-logo/index.spec.js +74 -0
  329. package/dist/collection/components/logo/z-logo/index.spec.js.map +1 -0
  330. package/dist/collection/components/logo/z-logo/test.e2e.js +32 -0
  331. package/dist/collection/components/logo/z-logo/test.e2e.js.map +1 -0
  332. package/dist/collection/components/modal/z-modal/index.js +334 -328
  333. package/dist/collection/components/modal/z-modal/index.js.map +1 -0
  334. package/dist/collection/components/modal/z-modal/index.spec.js +192 -0
  335. package/dist/collection/components/modal/z-modal/index.spec.js.map +1 -0
  336. package/dist/collection/components/navigation/z-app-header/index.js +340 -369
  337. package/dist/collection/components/navigation/z-app-header/index.js.map +1 -0
  338. package/dist/collection/components/navigation/z-app-header/index.spec.js +203 -0
  339. package/dist/collection/components/navigation/z-app-header/index.spec.js.map +1 -0
  340. package/dist/collection/components/navigation/z-menu/index.js +229 -235
  341. package/dist/collection/components/navigation/z-menu/index.js.map +1 -0
  342. package/dist/collection/components/navigation/z-menu/index.spec.js +120 -0
  343. package/dist/collection/components/navigation/z-menu/index.spec.js.map +1 -0
  344. package/dist/collection/components/navigation/z-menu-section/index.js +120 -114
  345. package/dist/collection/components/navigation/z-menu-section/index.js.map +1 -0
  346. package/dist/collection/components/navigation/z-menu-section/index.spec.js +50 -0
  347. package/dist/collection/components/navigation/z-menu-section/index.spec.js.map +1 -0
  348. package/dist/collection/components/navigation/z-navigation-tabs/index.js +341 -335
  349. package/dist/collection/components/navigation/z-navigation-tabs/index.js.map +1 -0
  350. package/dist/collection/components/notification/z-info-box/index.js +80 -79
  351. package/dist/collection/components/notification/z-info-box/index.js.map +1 -0
  352. package/dist/collection/components/notification/z-info-box/index.spec.js +71 -0
  353. package/dist/collection/components/notification/z-info-box/index.spec.js.map +1 -0
  354. package/dist/collection/components/notification/z-notification/index.js +185 -186
  355. package/dist/collection/components/notification/z-notification/index.js.map +1 -0
  356. package/dist/collection/components/notification/z-notification/index.spec.js +84 -0
  357. package/dist/collection/components/notification/z-notification/index.spec.js.map +1 -0
  358. package/dist/collection/components/notification/z-notification/test.e2e.js +25 -0
  359. package/dist/collection/components/notification/z-notification/test.e2e.js.map +1 -0
  360. package/dist/collection/components/notification/z-toast-notification/index.js +383 -376
  361. package/dist/collection/components/notification/z-toast-notification/index.js.map +1 -0
  362. package/dist/collection/components/notification/z-toast-notification/index.spec.js +104 -0
  363. package/dist/collection/components/notification/z-toast-notification/index.spec.js.map +1 -0
  364. package/dist/collection/components/notification/z-tooltip/index.js +138 -144
  365. package/dist/collection/components/notification/z-tooltip/index.js.map +1 -0
  366. package/dist/collection/components/panel/z-panel-elem/index.js +196 -190
  367. package/dist/collection/components/panel/z-panel-elem/index.js.map +1 -0
  368. package/dist/collection/components/panel/z-panel-elem/index.spec.js +296 -0
  369. package/dist/collection/components/panel/z-panel-elem/index.spec.js.map +1 -0
  370. package/dist/collection/components/table/cells/z-td/index.js +128 -136
  371. package/dist/collection/components/table/cells/z-td/index.js.map +1 -0
  372. package/dist/collection/components/table/cells/z-th/index.js +188 -191
  373. package/dist/collection/components/table/cells/z-th/index.js.map +1 -0
  374. package/dist/collection/components/table/z-table/index.js +67 -72
  375. package/dist/collection/components/table/z-table/index.js.map +1 -0
  376. package/dist/collection/components/table/z-tbody/index.js +16 -15
  377. package/dist/collection/components/table/z-tbody/index.js.map +1 -0
  378. package/dist/collection/components/table/z-tfoot/index.js +41 -43
  379. package/dist/collection/components/table/z-tfoot/index.js.map +1 -0
  380. package/dist/collection/components/table/z-thead/index.js +41 -43
  381. package/dist/collection/components/table/z-thead/index.js.map +1 -0
  382. package/dist/collection/components/table/z-tr/index.js +106 -116
  383. package/dist/collection/components/table/z-tr/index.js.map +1 -0
  384. package/dist/collection/components/z-accordion/index.js +222 -230
  385. package/dist/collection/components/z-accordion/index.js.map +1 -0
  386. package/dist/collection/components/z-anchor-navigation/index.js +66 -72
  387. package/dist/collection/components/z-anchor-navigation/index.js.map +1 -0
  388. package/dist/collection/components/z-aria-alert/index.js +35 -34
  389. package/dist/collection/components/z-aria-alert/index.js.map +1 -0
  390. package/dist/collection/components/z-aria-alert/index.spec.js +14 -0
  391. package/dist/collection/components/z-aria-alert/index.spec.js.map +1 -0
  392. package/dist/collection/components/z-avatar/index.js +134 -133
  393. package/dist/collection/components/z-avatar/index.js.map +1 -0
  394. package/dist/collection/components/z-avatar/index.spec.js +98 -0
  395. package/dist/collection/components/z-avatar/index.spec.js.map +1 -0
  396. package/dist/collection/components/z-book-card/index.js +383 -372
  397. package/dist/collection/components/z-book-card/index.js.map +1 -0
  398. package/dist/collection/components/z-book-card/index.spec.js +679 -0
  399. package/dist/collection/components/z-book-card/index.spec.js.map +1 -0
  400. package/dist/collection/components/z-breadcrumb/index.js +369 -366
  401. package/dist/collection/components/z-breadcrumb/index.js.map +1 -0
  402. package/dist/collection/components/z-breadcrumb/index.spec.js +38 -0
  403. package/dist/collection/components/z-breadcrumb/index.spec.js.map +1 -0
  404. package/dist/collection/components/z-card/index.js +139 -131
  405. package/dist/collection/components/z-card/index.js.map +1 -0
  406. package/dist/collection/components/z-card/index.spec.js +160 -0
  407. package/dist/collection/components/z-card/index.spec.js.map +1 -0
  408. package/dist/collection/components/z-card/styles.css +1 -1
  409. package/dist/collection/components/z-carousel/index.js +292 -284
  410. package/dist/collection/components/z-carousel/index.js.map +1 -0
  411. package/dist/collection/components/z-contextual-menu/index.js +116 -119
  412. package/dist/collection/components/z-contextual-menu/index.js.map +1 -0
  413. package/dist/collection/components/z-contextual-menu/index.spec.js +74 -0
  414. package/dist/collection/components/z-contextual-menu/index.spec.js.map +1 -0
  415. package/dist/collection/components/z-contextual-menu/test.e2e.js +11 -0
  416. package/dist/collection/components/z-contextual-menu/test.e2e.js.map +1 -0
  417. package/dist/collection/components/z-cover-hero/index.js +116 -125
  418. package/dist/collection/components/z-cover-hero/index.js.map +1 -0
  419. package/dist/collection/components/z-divider/index.js +90 -90
  420. package/dist/collection/components/z-divider/index.js.map +1 -0
  421. package/dist/collection/components/z-divider/index.spec.js +82 -0
  422. package/dist/collection/components/z-divider/index.spec.js.map +1 -0
  423. package/dist/collection/components/z-ghost-loading/index.js +16 -15
  424. package/dist/collection/components/z-ghost-loading/index.js.map +1 -0
  425. package/dist/collection/components/z-ghost-loading/index.spec.js +16 -0
  426. package/dist/collection/components/z-ghost-loading/index.spec.js.map +1 -0
  427. package/dist/collection/components/z-info-reveal/index.js +130 -131
  428. package/dist/collection/components/z-info-reveal/index.js.map +1 -0
  429. package/dist/collection/components/z-offcanvas/index.js +146 -154
  430. package/dist/collection/components/z-offcanvas/index.js.map +1 -0
  431. package/dist/collection/components/z-offcanvas/index.spec.js +42 -0
  432. package/dist/collection/components/z-offcanvas/index.spec.js.map +1 -0
  433. package/dist/collection/components/z-pagination/index.js +409 -415
  434. package/dist/collection/components/z-pagination/index.js.map +1 -0
  435. package/dist/collection/components/z-pagination/index.spec.js +36 -0
  436. package/dist/collection/components/z-pagination/index.spec.js.map +1 -0
  437. package/dist/collection/components/z-popover/index.js +450 -459
  438. package/dist/collection/components/z-popover/index.js.map +1 -0
  439. package/dist/collection/components/z-section-title/index.js +69 -74
  440. package/dist/collection/components/z-section-title/index.js.map +1 -0
  441. package/dist/collection/components/z-section-title/index.spec.js +27 -0
  442. package/dist/collection/components/z-section-title/index.spec.js.map +1 -0
  443. package/dist/collection/components/z-skip-to-content/index.js +137 -134
  444. package/dist/collection/components/z-skip-to-content/index.js.map +1 -0
  445. package/dist/collection/components/z-skip-to-content/index.spec.js +28 -0
  446. package/dist/collection/components/z-skip-to-content/index.spec.js.map +1 -0
  447. package/dist/collection/components/z-tag/index.js +61 -56
  448. package/dist/collection/components/z-tag/index.js.map +1 -0
  449. package/dist/collection/components/z-tag/index.spec.js +58 -0
  450. package/dist/collection/components/z-tag/index.spec.js.map +1 -0
  451. package/dist/collection/components/z-visually-hidden/index.js +16 -15
  452. package/dist/collection/components/z-visually-hidden/index.js.map +1 -0
  453. package/dist/collection/components/z-visually-hidden/index.spec.js +18 -0
  454. package/dist/collection/components/z-visually-hidden/index.spec.js.map +1 -0
  455. package/dist/collection/constants/breakpoints.js +1 -0
  456. package/dist/collection/constants/breakpoints.js.map +1 -0
  457. package/dist/collection/constants/icons.js +4 -3
  458. package/dist/collection/constants/icons.js.map +1 -0
  459. package/dist/collection/deprecated/z-link/index.js +302 -307
  460. package/dist/collection/deprecated/z-link/index.js.map +1 -0
  461. package/dist/collection/deprecated/z-link/index.spec.js +172 -0
  462. package/dist/collection/deprecated/z-link/index.spec.js.map +1 -0
  463. package/dist/collection/deprecated/z-navigation-tab/index.js +268 -272
  464. package/dist/collection/deprecated/z-navigation-tab/index.js.map +1 -0
  465. package/dist/collection/deprecated/z-navigation-tab-link/index.js +303 -295
  466. package/dist/collection/deprecated/z-navigation-tab-link/index.js.map +1 -0
  467. package/dist/collection/deprecated/z-table-deprecated/z-table-body/index.js +21 -20
  468. package/dist/collection/deprecated/z-table-deprecated/z-table-body/index.js.map +1 -0
  469. package/dist/collection/deprecated/z-table-deprecated/z-table-body/index.spec.js +21 -0
  470. package/dist/collection/deprecated/z-table-deprecated/z-table-body/index.spec.js.map +1 -0
  471. package/dist/collection/deprecated/z-table-deprecated/z-table-cell/index.js +78 -77
  472. package/dist/collection/deprecated/z-table-deprecated/z-table-cell/index.js.map +1 -0
  473. package/dist/collection/deprecated/z-table-deprecated/z-table-cell/index.spec.js +50 -0
  474. package/dist/collection/deprecated/z-table-deprecated/z-table-cell/index.spec.js.map +1 -0
  475. package/dist/collection/deprecated/z-table-deprecated/z-table-deprecated/index.js +336 -337
  476. package/dist/collection/deprecated/z-table-deprecated/z-table-deprecated/index.js.map +1 -0
  477. package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/index.js +68 -69
  478. package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/index.js.map +1 -0
  479. package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/index.spec.js +46 -0
  480. package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/index.spec.js.map +1 -0
  481. package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/index.js +40 -36
  482. package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/index.js.map +1 -0
  483. package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/index.spec.js +13 -0
  484. package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/index.spec.js.map +1 -0
  485. package/dist/collection/deprecated/z-table-deprecated/z-table-footer/index.js +20 -19
  486. package/dist/collection/deprecated/z-table-deprecated/z-table-footer/index.js.map +1 -0
  487. package/dist/collection/deprecated/z-table-deprecated/z-table-footer/index.spec.js +23 -0
  488. package/dist/collection/deprecated/z-table-deprecated/z-table-footer/index.spec.js.map +1 -0
  489. package/dist/collection/deprecated/z-table-deprecated/z-table-head/index.js +20 -19
  490. package/dist/collection/deprecated/z-table-deprecated/z-table-head/index.js.map +1 -0
  491. package/dist/collection/deprecated/z-table-deprecated/z-table-head/index.spec.js +23 -0
  492. package/dist/collection/deprecated/z-table-deprecated/z-table-head/index.spec.js.map +1 -0
  493. package/dist/collection/deprecated/z-table-deprecated/z-table-header/index.js +214 -213
  494. package/dist/collection/deprecated/z-table-deprecated/z-table-header/index.js.map +1 -0
  495. package/dist/collection/deprecated/z-table-deprecated/z-table-header/index.spec.js +227 -0
  496. package/dist/collection/deprecated/z-table-deprecated/z-table-header/index.spec.js.map +1 -0
  497. package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/index.js +42 -38
  498. package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/index.js.map +1 -0
  499. package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/index.spec.js +28 -0
  500. package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/index.spec.js.map +1 -0
  501. package/dist/collection/deprecated/z-table-deprecated/z-table-row/index.js +86 -85
  502. package/dist/collection/deprecated/z-table-deprecated/z-table-row/index.js.map +1 -0
  503. package/dist/collection/deprecated/z-table-deprecated/z-table-row/index.spec.js +23 -0
  504. package/dist/collection/deprecated/z-table-deprecated/z-table-row/index.spec.js.map +1 -0
  505. package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/index.js +16 -15
  506. package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/index.js.map +1 -0
  507. package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/index.spec.js +16 -0
  508. package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/index.spec.js.map +1 -0
  509. package/dist/collection/index.js +2 -1
  510. package/dist/collection/index.js.map +1 -0
  511. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +118 -116
  512. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -0
  513. package/dist/collection/snowflakes/myz/card/z-myz-card/index.spec.js +20 -0
  514. package/dist/collection/snowflakes/myz/card/z-myz-card/index.spec.js.map +1 -0
  515. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +150 -143
  516. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -0
  517. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.spec.js +128 -0
  518. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.spec.js.map +1 -0
  519. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +16 -15
  520. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -0
  521. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.spec.js +21 -0
  522. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.spec.js.map +1 -0
  523. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +97 -90
  524. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -0
  525. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.spec.js +33 -0
  526. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.spec.js.map +1 -0
  527. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +168 -169
  528. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -0
  529. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.spec.js +121 -0
  530. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.spec.js.map +1 -0
  531. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +212 -207
  532. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -0
  533. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.spec.js +199 -0
  534. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.spec.js.map +1 -0
  535. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +16 -15
  536. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -0
  537. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.spec.js +54 -0
  538. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.spec.js.map +1 -0
  539. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +105 -100
  540. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -0
  541. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.spec.js +22 -0
  542. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.spec.js.map +1 -0
  543. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +78 -78
  544. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -0
  545. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.spec.js +56 -0
  546. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.spec.js.map +1 -0
  547. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +191 -189
  548. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -0
  549. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.spec.js +136 -0
  550. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.spec.js.map +1 -0
  551. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +59 -57
  552. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -0
  553. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.spec.js +39 -0
  554. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.spec.js.map +1 -0
  555. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +79 -73
  556. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -0
  557. package/dist/collection/snowflakes/myz/list/z-myz-list/index.spec.js +140 -0
  558. package/dist/collection/snowflakes/myz/list/z-myz-list/index.spec.js.map +1 -0
  559. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +192 -188
  560. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -0
  561. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.spec.js +80 -0
  562. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.spec.js.map +1 -0
  563. package/dist/collection/snowflakes/myz/list/z-myz-list-item/test.e2e.js +35 -0
  564. package/dist/collection/snowflakes/myz/list/z-myz-list-item/test.e2e.js.map +1 -0
  565. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +113 -110
  566. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js.map +1 -0
  567. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.spec.js +134 -0
  568. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.spec.js.map +1 -0
  569. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +181 -177
  570. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js.map +1 -0
  571. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.spec.js +98 -0
  572. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.spec.js.map +1 -0
  573. package/dist/collection/snowflakes/myz/pocket/z-pocket/test.e2e.js +101 -0
  574. package/dist/collection/snowflakes/myz/pocket/z-pocket/test.e2e.js.map +1 -0
  575. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +77 -75
  576. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js.map +1 -0
  577. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.spec.js +51 -0
  578. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.spec.js.map +1 -0
  579. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/test.e2e.js +50 -0
  580. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/test.e2e.js.map +1 -0
  581. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +87 -85
  582. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js.map +1 -0
  583. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.spec.js +51 -0
  584. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.spec.js.map +1 -0
  585. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/test.e2e.js +26 -0
  586. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/test.e2e.js.map +1 -0
  587. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +16 -15
  588. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js.map +1 -0
  589. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.spec.js +76 -0
  590. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.spec.js.map +1 -0
  591. package/dist/collection/snowflakes/myz/z-alert/index.js +45 -40
  592. package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -0
  593. package/dist/collection/snowflakes/myz/z-alert/index.spec.js +20 -0
  594. package/dist/collection/snowflakes/myz/z-alert/index.spec.js.map +1 -0
  595. package/dist/collection/snowflakes/myz/z-otp/index.js +118 -115
  596. package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -0
  597. package/dist/collection/snowflakes/myz/z-otp/index.spec.js +74 -0
  598. package/dist/collection/snowflakes/myz/z-otp/index.spec.js.map +1 -0
  599. package/dist/collection/snowflakes/myz/z-otp/test.e2e.js +23 -0
  600. package/dist/collection/snowflakes/myz/z-otp/test.e2e.js.map +1 -0
  601. package/dist/collection/snowflakes/myz/z-slideshow/index.js +167 -163
  602. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -0
  603. package/dist/collection/snowflakes/myz/z-slideshow/index.spec.js +193 -0
  604. package/dist/collection/snowflakes/myz/z-slideshow/index.spec.js.map +1 -0
  605. package/dist/collection/utils/storybook-utils.js +18 -17
  606. package/dist/collection/utils/storybook-utils.js.map +1 -0
  607. package/dist/collection/utils/utils.js +83 -82
  608. package/dist/collection/utils/utils.js.map +1 -0
  609. package/dist/collection/utils/utils.spec.js +16 -0
  610. package/dist/collection/utils/utils.spec.js.map +1 -0
  611. package/dist/components/breakpoints.js +7 -0
  612. package/dist/components/breakpoints.js.map +1 -0
  613. package/dist/components/hammer.js +2653 -0
  614. package/dist/components/hammer.js.map +1 -0
  615. package/dist/components/icons.js +862 -0
  616. package/dist/components/icons.js.map +1 -0
  617. package/dist/components/index.d.ts +226 -0
  618. package/dist/components/index.js +106 -0
  619. package/dist/components/index.js.map +1 -0
  620. package/dist/components/index10.js +328 -0
  621. package/dist/components/index10.js.map +1 -0
  622. package/dist/components/index11.js +64 -0
  623. package/dist/components/index11.js.map +1 -0
  624. package/dist/components/index12.js +53 -0
  625. package/dist/components/index12.js.map +1 -0
  626. package/dist/components/index13.js +182 -0
  627. package/dist/components/index13.js.map +1 -0
  628. package/dist/components/index14.js +71 -0
  629. package/dist/components/index14.js.map +1 -0
  630. package/dist/components/index15.js +1018 -0
  631. package/dist/components/index15.js.map +1 -0
  632. package/dist/components/index16.js +65 -0
  633. package/dist/components/index16.js.map +1 -0
  634. package/dist/components/index17.js +33 -0
  635. package/dist/components/index17.js.map +1 -0
  636. package/dist/components/index18.js +45 -0
  637. package/dist/components/index18.js.map +1 -0
  638. package/dist/components/index19.js +62 -0
  639. package/dist/components/index19.js.map +1 -0
  640. package/dist/components/index2.js +346 -0
  641. package/dist/components/index2.js.map +1 -0
  642. package/dist/components/index20.js +66 -0
  643. package/dist/components/index20.js.map +1 -0
  644. package/dist/components/index21.js +62 -0
  645. package/dist/components/index21.js.map +1 -0
  646. package/dist/components/index22.js +93 -0
  647. package/dist/components/index22.js.map +1 -0
  648. package/dist/components/index23.js +44 -0
  649. package/dist/components/index23.js.map +1 -0
  650. package/dist/components/index24.js +54 -0
  651. package/dist/components/index24.js.map +1 -0
  652. package/dist/components/index25.js +341 -0
  653. package/dist/components/index25.js.map +1 -0
  654. package/dist/components/index26.js +314 -0
  655. package/dist/components/index26.js.map +1 -0
  656. package/dist/components/index27.js +66 -0
  657. package/dist/components/index27.js.map +1 -0
  658. package/dist/components/index28.js +45 -0
  659. package/dist/components/index28.js.map +1 -0
  660. package/dist/components/index29.js +120 -0
  661. package/dist/components/index29.js.map +1 -0
  662. package/dist/components/index3.js +36 -0
  663. package/dist/components/index3.js.map +1 -0
  664. package/dist/components/index4.js +75 -0
  665. package/dist/components/index4.js.map +1 -0
  666. package/dist/components/index5.js +56 -0
  667. package/dist/components/index5.js.map +1 -0
  668. package/dist/components/index6.js +40 -0
  669. package/dist/components/index6.js.map +1 -0
  670. package/dist/components/index7.js +54 -0
  671. package/dist/components/index7.js.map +1 -0
  672. package/dist/components/index8.js +33 -0
  673. package/dist/components/index8.js.map +1 -0
  674. package/dist/components/index9.js +51 -0
  675. package/dist/components/index9.js.map +1 -0
  676. package/dist/components/utils.js +102 -0
  677. package/dist/components/utils.js.map +1 -0
  678. package/dist/components/utils2.js +2705 -0
  679. package/dist/components/utils2.js.map +1 -0
  680. package/dist/components/z-accordion.d.ts +11 -0
  681. package/dist/components/z-accordion.js +85 -0
  682. package/dist/components/z-accordion.js.map +1 -0
  683. package/dist/components/z-alert.d.ts +11 -0
  684. package/dist/components/z-alert.js +8 -0
  685. package/dist/components/z-alert.js.map +1 -0
  686. package/dist/components/z-anchor-navigation.d.ts +11 -0
  687. package/dist/components/z-anchor-navigation.js +77 -0
  688. package/dist/components/z-anchor-navigation.js.map +1 -0
  689. package/dist/components/z-app-header.d.ts +11 -0
  690. package/dist/components/z-app-header.js +249 -0
  691. package/dist/components/z-app-header.js.map +1 -0
  692. package/dist/components/z-aria-alert.d.ts +11 -0
  693. package/dist/components/z-aria-alert.js +35 -0
  694. package/dist/components/z-aria-alert.js.map +1 -0
  695. package/dist/components/z-avatar.d.ts +11 -0
  696. package/dist/components/z-avatar.js +66 -0
  697. package/dist/components/z-avatar.js.map +1 -0
  698. package/dist/components/z-book-card.d.ts +11 -0
  699. package/dist/components/z-book-card.js +175 -0
  700. package/dist/components/z-book-card.js.map +1 -0
  701. package/dist/components/z-breadcrumb.d.ts +11 -0
  702. package/dist/components/z-breadcrumb.js +291 -0
  703. package/dist/components/z-breadcrumb.js.map +1 -0
  704. package/dist/components/z-button-sort.d.ts +11 -0
  705. package/dist/components/z-button-sort.js +86 -0
  706. package/dist/components/z-button-sort.js.map +1 -0
  707. package/dist/components/z-button.d.ts +11 -0
  708. package/dist/components/z-button.js +8 -0
  709. package/dist/components/z-button.js.map +1 -0
  710. package/dist/components/z-card.d.ts +11 -0
  711. package/dist/components/z-card.js +83 -0
  712. package/dist/components/z-card.js.map +1 -0
  713. package/dist/components/z-carousel.d.ts +11 -0
  714. package/dist/components/z-carousel.js +204 -0
  715. package/dist/components/z-carousel.js.map +1 -0
  716. package/dist/components/z-chip.d.ts +11 -0
  717. package/dist/components/z-chip.js +8 -0
  718. package/dist/components/z-chip.js.map +1 -0
  719. package/dist/components/z-combobox.d.ts +11 -0
  720. package/dist/components/z-combobox.js +276 -0
  721. package/dist/components/z-combobox.js.map +1 -0
  722. package/dist/components/z-contextual-menu.d.ts +11 -0
  723. package/dist/components/z-contextual-menu.js +98 -0
  724. package/dist/components/z-contextual-menu.js.map +1 -0
  725. package/dist/components/z-cover-hero.d.ts +11 -0
  726. package/dist/components/z-cover-hero.js +66 -0
  727. package/dist/components/z-cover-hero.js.map +1 -0
  728. package/dist/components/z-date-picker.d.ts +11 -0
  729. package/dist/components/z-date-picker.js +523 -0
  730. package/dist/components/z-date-picker.js.map +1 -0
  731. package/dist/components/z-divider.d.ts +11 -0
  732. package/dist/components/z-divider.js +8 -0
  733. package/dist/components/z-divider.js.map +1 -0
  734. package/dist/components/z-dragdrop-area.d.ts +11 -0
  735. package/dist/components/z-dragdrop-area.js +8 -0
  736. package/dist/components/z-dragdrop-area.js.map +1 -0
  737. package/dist/components/z-file-upload.d.ts +11 -0
  738. package/dist/components/z-file-upload.js +249 -0
  739. package/dist/components/z-file-upload.js.map +1 -0
  740. package/dist/components/z-file.d.ts +11 -0
  741. package/dist/components/z-file.js +89 -0
  742. package/dist/components/z-file.js.map +1 -0
  743. package/dist/components/z-ghost-loading.d.ts +11 -0
  744. package/dist/components/z-ghost-loading.js +8 -0
  745. package/dist/components/z-ghost-loading.js.map +1 -0
  746. package/dist/components/z-icon.d.ts +11 -0
  747. package/dist/components/z-icon.js +8 -0
  748. package/dist/components/z-icon.js.map +1 -0
  749. package/dist/components/z-info-box.d.ts +11 -0
  750. package/dist/components/z-info-box.js +51 -0
  751. package/dist/components/z-info-box.js.map +1 -0
  752. package/dist/components/z-info-reveal.d.ts +11 -0
  753. package/dist/components/z-info-reveal.js +93 -0
  754. package/dist/components/z-info-reveal.js.map +1 -0
  755. package/dist/components/z-input-message.d.ts +11 -0
  756. package/dist/components/z-input-message.js +8 -0
  757. package/dist/components/z-input-message.js.map +1 -0
  758. package/dist/components/z-input.d.ts +11 -0
  759. package/dist/components/z-input.js +8 -0
  760. package/dist/components/z-input.js.map +1 -0
  761. package/dist/components/z-link.d.ts +11 -0
  762. package/dist/components/z-link.js +105 -0
  763. package/dist/components/z-link.js.map +1 -0
  764. package/dist/components/z-list-element.d.ts +11 -0
  765. package/dist/components/z-list-element.js +8 -0
  766. package/dist/components/z-list-element.js.map +1 -0
  767. package/dist/components/z-list-group.d.ts +11 -0
  768. package/dist/components/z-list-group.js +8 -0
  769. package/dist/components/z-list-group.js.map +1 -0
  770. package/dist/components/z-list.d.ts +11 -0
  771. package/dist/components/z-list.js +8 -0
  772. package/dist/components/z-list.js.map +1 -0
  773. package/dist/components/z-logo.d.ts +11 -0
  774. package/dist/components/z-logo.js +56 -0
  775. package/dist/components/z-logo.js.map +1 -0
  776. package/dist/components/z-menu-section.d.ts +11 -0
  777. package/dist/components/z-menu-section.js +84 -0
  778. package/dist/components/z-menu-section.js.map +1 -0
  779. package/dist/components/z-menu.d.ts +11 -0
  780. package/dist/components/z-menu.js +144 -0
  781. package/dist/components/z-menu.js.map +1 -0
  782. package/dist/components/z-messages-pocket.d.ts +11 -0
  783. package/dist/components/z-messages-pocket.js +92 -0
  784. package/dist/components/z-messages-pocket.js.map +1 -0
  785. package/dist/components/z-modal.d.ts +11 -0
  786. package/dist/components/z-modal.js +8 -0
  787. package/dist/components/z-modal.js.map +1 -0
  788. package/dist/components/z-myz-card-alert.d.ts +11 -0
  789. package/dist/components/z-myz-card-alert.js +101 -0
  790. package/dist/components/z-myz-card-alert.js.map +1 -0
  791. package/dist/components/z-myz-card-body.d.ts +11 -0
  792. package/dist/components/z-myz-card-body.js +8 -0
  793. package/dist/components/z-myz-card-body.js.map +1 -0
  794. package/dist/components/z-myz-card-cover.d.ts +11 -0
  795. package/dist/components/z-myz-card-cover.js +8 -0
  796. package/dist/components/z-myz-card-cover.js.map +1 -0
  797. package/dist/components/z-myz-card-dictionary.d.ts +11 -0
  798. package/dist/components/z-myz-card-dictionary.js +94 -0
  799. package/dist/components/z-myz-card-dictionary.js.map +1 -0
  800. package/dist/components/z-myz-card-footer-sections.d.ts +11 -0
  801. package/dist/components/z-myz-card-footer-sections.js +36 -0
  802. package/dist/components/z-myz-card-footer-sections.js.map +1 -0
  803. package/dist/components/z-myz-card-footer.d.ts +11 -0
  804. package/dist/components/z-myz-card-footer.js +99 -0
  805. package/dist/components/z-myz-card-footer.js.map +1 -0
  806. package/dist/components/z-myz-card-header.d.ts +11 -0
  807. package/dist/components/z-myz-card-header.js +8 -0
  808. package/dist/components/z-myz-card-header.js.map +1 -0
  809. package/dist/components/z-myz-card-icon.d.ts +11 -0
  810. package/dist/components/z-myz-card-icon.js +49 -0
  811. package/dist/components/z-myz-card-icon.js.map +1 -0
  812. package/dist/components/z-myz-card-info.d.ts +11 -0
  813. package/dist/components/z-myz-card-info.js +162 -0
  814. package/dist/components/z-myz-card-info.js.map +1 -0
  815. package/dist/components/z-myz-card-list.d.ts +11 -0
  816. package/dist/components/z-myz-card-list.js +58 -0
  817. package/dist/components/z-myz-card-list.js.map +1 -0
  818. package/dist/components/z-myz-card.d.ts +11 -0
  819. package/dist/components/z-myz-card.js +8 -0
  820. package/dist/components/z-myz-card.js.map +1 -0
  821. package/dist/components/z-myz-list-item.d.ts +11 -0
  822. package/dist/components/z-myz-list-item.js +8 -0
  823. package/dist/components/z-myz-list-item.js.map +1 -0
  824. package/dist/components/z-myz-list.d.ts +11 -0
  825. package/dist/components/z-myz-list.js +71 -0
  826. package/dist/components/z-myz-list.js.map +1 -0
  827. package/dist/components/z-navigation-tab-link.d.ts +11 -0
  828. package/dist/components/z-navigation-tab-link.js +105 -0
  829. package/dist/components/z-navigation-tab-link.js.map +1 -0
  830. package/dist/components/z-navigation-tab.d.ts +11 -0
  831. package/dist/components/z-navigation-tab.js +100 -0
  832. package/dist/components/z-navigation-tab.js.map +1 -0
  833. package/dist/components/z-navigation-tabs.d.ts +11 -0
  834. package/dist/components/z-navigation-tabs.js +255 -0
  835. package/dist/components/z-navigation-tabs.js.map +1 -0
  836. package/dist/components/z-notification.d.ts +11 -0
  837. package/dist/components/z-notification.js +68 -0
  838. package/dist/components/z-notification.js.map +1 -0
  839. package/dist/components/z-offcanvas.d.ts +11 -0
  840. package/dist/components/z-offcanvas.js +8 -0
  841. package/dist/components/z-offcanvas.js.map +1 -0
  842. package/dist/components/z-otp.d.ts +11 -0
  843. package/dist/components/z-otp.js +75 -0
  844. package/dist/components/z-otp.js.map +1 -0
  845. package/dist/components/z-pagination.d.ts +11 -0
  846. package/dist/components/z-pagination.js +280 -0
  847. package/dist/components/z-pagination.js.map +1 -0
  848. package/dist/components/z-panel-elem.d.ts +11 -0
  849. package/dist/components/z-panel-elem.js +71 -0
  850. package/dist/components/z-panel-elem.js.map +1 -0
  851. package/dist/components/z-pocket-body.d.ts +11 -0
  852. package/dist/components/z-pocket-body.js +8 -0
  853. package/dist/components/z-pocket-body.js.map +1 -0
  854. package/dist/components/z-pocket-header.d.ts +11 -0
  855. package/dist/components/z-pocket-header.js +8 -0
  856. package/dist/components/z-pocket-header.js.map +1 -0
  857. package/dist/components/z-pocket-message.d.ts +11 -0
  858. package/dist/components/z-pocket-message.js +42 -0
  859. package/dist/components/z-pocket-message.js.map +1 -0
  860. package/dist/components/z-pocket.d.ts +11 -0
  861. package/dist/components/z-pocket.js +8 -0
  862. package/dist/components/z-pocket.js.map +1 -0
  863. package/dist/components/z-popover.d.ts +11 -0
  864. package/dist/components/z-popover.js +8 -0
  865. package/dist/components/z-popover.js.map +1 -0
  866. package/dist/components/z-range-picker.d.ts +11 -0
  867. package/dist/components/z-range-picker.js +413 -0
  868. package/dist/components/z-range-picker.js.map +1 -0
  869. package/dist/components/z-searchbar.d.ts +11 -0
  870. package/dist/components/z-searchbar.js +8 -0
  871. package/dist/components/z-searchbar.js.map +1 -0
  872. package/dist/components/z-section-title.d.ts +11 -0
  873. package/dist/components/z-section-title.js +52 -0
  874. package/dist/components/z-section-title.js.map +1 -0
  875. package/dist/components/z-select.d.ts +11 -0
  876. package/dist/components/z-select.js +421 -0
  877. package/dist/components/z-select.js.map +1 -0
  878. package/dist/components/z-skip-to-content.d.ts +11 -0
  879. package/dist/components/z-skip-to-content.js +94 -0
  880. package/dist/components/z-skip-to-content.js.map +1 -0
  881. package/dist/components/z-slideshow.d.ts +11 -0
  882. package/dist/components/z-slideshow.js +161 -0
  883. package/dist/components/z-slideshow.js.map +1 -0
  884. package/dist/components/z-stepper-item.d.ts +11 -0
  885. package/dist/components/z-stepper-item.js +48 -0
  886. package/dist/components/z-stepper-item.js.map +1 -0
  887. package/dist/components/z-stepper.d.ts +11 -0
  888. package/dist/components/z-stepper.js +36 -0
  889. package/dist/components/z-stepper.js.map +1 -0
  890. package/dist/components/z-table-body.d.ts +11 -0
  891. package/dist/components/z-table-body.js +40 -0
  892. package/dist/components/z-table-body.js.map +1 -0
  893. package/dist/components/z-table-cell.d.ts +11 -0
  894. package/dist/components/z-table-cell.js +8 -0
  895. package/dist/components/z-table-cell.js.map +1 -0
  896. package/dist/components/z-table-deprecated.d.ts +11 -0
  897. package/dist/components/z-table-deprecated.js +127 -0
  898. package/dist/components/z-table-deprecated.js.map +1 -0
  899. package/dist/components/z-table-empty-box.d.ts +11 -0
  900. package/dist/components/z-table-empty-box.js +8 -0
  901. package/dist/components/z-table-empty-box.js.map +1 -0
  902. package/dist/components/z-table-expanded-row.d.ts +11 -0
  903. package/dist/components/z-table-expanded-row.js +39 -0
  904. package/dist/components/z-table-expanded-row.js.map +1 -0
  905. package/dist/components/z-table-footer.d.ts +11 -0
  906. package/dist/components/z-table-footer.js +39 -0
  907. package/dist/components/z-table-footer.js.map +1 -0
  908. package/dist/components/z-table-head.d.ts +11 -0
  909. package/dist/components/z-table-head.js +39 -0
  910. package/dist/components/z-table-head.js.map +1 -0
  911. package/dist/components/z-table-header-row.d.ts +11 -0
  912. package/dist/components/z-table-header-row.js +65 -0
  913. package/dist/components/z-table-header-row.js.map +1 -0
  914. package/dist/components/z-table-header.d.ts +11 -0
  915. package/dist/components/z-table-header.js +8 -0
  916. package/dist/components/z-table-header.js.map +1 -0
  917. package/dist/components/z-table-row.d.ts +11 -0
  918. package/dist/components/z-table-row.js +79 -0
  919. package/dist/components/z-table-row.js.map +1 -0
  920. package/dist/components/z-table-sticky-footer.d.ts +11 -0
  921. package/dist/components/z-table-sticky-footer.js +35 -0
  922. package/dist/components/z-table-sticky-footer.js.map +1 -0
  923. package/dist/components/z-table.d.ts +11 -0
  924. package/dist/components/z-table.js +65 -0
  925. package/dist/components/z-table.js.map +1 -0
  926. package/dist/components/z-tag.d.ts +11 -0
  927. package/dist/components/z-tag.js +49 -0
  928. package/dist/components/z-tag.js.map +1 -0
  929. package/dist/components/z-tbody.d.ts +11 -0
  930. package/dist/components/z-tbody.js +36 -0
  931. package/dist/components/z-tbody.js.map +1 -0
  932. package/dist/components/z-td.d.ts +11 -0
  933. package/dist/components/z-td.js +87 -0
  934. package/dist/components/z-td.js.map +1 -0
  935. package/dist/components/z-tfoot.d.ts +11 -0
  936. package/dist/components/z-tfoot.js +39 -0
  937. package/dist/components/z-tfoot.js.map +1 -0
  938. package/dist/components/z-th.d.ts +11 -0
  939. package/dist/components/z-th.js +108 -0
  940. package/dist/components/z-th.js.map +1 -0
  941. package/dist/components/z-thead.d.ts +11 -0
  942. package/dist/components/z-thead.js +39 -0
  943. package/dist/components/z-thead.js.map +1 -0
  944. package/dist/components/z-toast-notification-list.d.ts +11 -0
  945. package/dist/components/z-toast-notification-list.js +78 -0
  946. package/dist/components/z-toast-notification-list.js.map +1 -0
  947. package/dist/components/z-toast-notification.d.ts +11 -0
  948. package/dist/components/z-toast-notification.js +241 -0
  949. package/dist/components/z-toast-notification.js.map +1 -0
  950. package/dist/components/z-toggle-button.d.ts +11 -0
  951. package/dist/components/z-toggle-button.js +64 -0
  952. package/dist/components/z-toggle-button.js.map +1 -0
  953. package/dist/components/z-toggle-switch.d.ts +11 -0
  954. package/dist/components/z-toggle-switch.js +73 -0
  955. package/dist/components/z-toggle-switch.js.map +1 -0
  956. package/dist/components/z-tooltip.d.ts +11 -0
  957. package/dist/components/z-tooltip.js +57 -0
  958. package/dist/components/z-tooltip.js.map +1 -0
  959. package/dist/components/z-tr.d.ts +11 -0
  960. package/dist/components/z-tr.js +86 -0
  961. package/dist/components/z-tr.js.map +1 -0
  962. package/dist/components/z-visually-hidden.d.ts +11 -0
  963. package/dist/components/z-visually-hidden.js +36 -0
  964. package/dist/components/z-visually-hidden.js.map +1 -0
  965. package/dist/esm/breakpoints-680e0e56.js +7 -0
  966. package/dist/esm/breakpoints-680e0e56.js.map +1 -0
  967. package/dist/esm/hammer-f1ed46b5.js +2653 -0
  968. package/dist/esm/hammer-f1ed46b5.js.map +1 -0
  969. package/dist/esm/icons-f212e30c.js +862 -0
  970. package/dist/esm/icons-f212e30c.js.map +1 -0
  971. package/dist/esm/index-0c3f6c0f.js +80 -0
  972. package/dist/esm/index-0c3f6c0f.js.map +1 -0
  973. package/dist/esm/index-1ad3694a.js +19 -0
  974. package/dist/esm/index-1ad3694a.js.map +1 -0
  975. package/dist/esm/index-216fb076.js +19 -0
  976. package/dist/esm/index-216fb076.js.map +1 -0
  977. package/dist/esm/index-2255c6c8.js +346 -0
  978. package/dist/esm/index-2255c6c8.js.map +1 -0
  979. package/dist/esm/index-42dcef4f.js +41 -0
  980. package/dist/esm/index-42dcef4f.js.map +1 -0
  981. package/dist/esm/index-55b38815.js +18 -0
  982. package/dist/esm/index-55b38815.js.map +1 -0
  983. package/dist/esm/index-55fccdc1.js +44 -0
  984. package/dist/esm/index-55fccdc1.js.map +1 -0
  985. package/dist/esm/index-5b6bb2e2.js +28 -0
  986. package/dist/esm/index-5b6bb2e2.js.map +1 -0
  987. package/dist/esm/index-659b7228.js +35 -0
  988. package/dist/esm/index-659b7228.js.map +1 -0
  989. package/dist/esm/index-73ab3b9b.js +22 -0
  990. package/dist/esm/index-73ab3b9b.js.map +1 -0
  991. package/dist/esm/index-754a9620.js +22 -0
  992. package/dist/esm/index-754a9620.js.map +1 -0
  993. package/dist/esm/index-829d5a8b.js +23 -0
  994. package/dist/esm/index-829d5a8b.js.map +1 -0
  995. package/dist/esm/index-87669314.js +63 -0
  996. package/dist/esm/index-87669314.js.map +1 -0
  997. package/dist/esm/index-c3277075.js +22 -0
  998. package/dist/esm/index-c3277075.js.map +1 -0
  999. package/dist/esm/index-ccc8c049.js +57 -0
  1000. package/dist/esm/index-ccc8c049.js.map +1 -0
  1001. package/dist/esm/index-d80abc78.js +18 -0
  1002. package/dist/esm/index-d80abc78.js.map +1 -0
  1003. package/dist/esm/index-e85f0ed8.js +19 -0
  1004. package/dist/esm/index-e85f0ed8.js.map +1 -0
  1005. package/dist/esm/index-f16bc2ca.js +3174 -0
  1006. package/dist/esm/index-f16bc2ca.js.map +1 -0
  1007. package/dist/esm/index.js +6 -4
  1008. package/dist/esm/index.js.map +1 -0
  1009. package/dist/esm/loader.js +6 -12
  1010. package/dist/esm/loader.js.map +1 -0
  1011. package/dist/esm/utils-7983d02c.js +102 -0
  1012. package/dist/esm/utils-7983d02c.js.map +1 -0
  1013. package/dist/esm/utils-d1168eee.js +2705 -0
  1014. package/dist/esm/utils-d1168eee.js.map +1 -0
  1015. package/dist/esm/web-components-library.js +29 -3
  1016. package/dist/esm/web-components-library.js.map +1 -0
  1017. package/dist/esm/z-accordion.entry.js +39 -52
  1018. package/dist/esm/z-accordion.entry.js.map +1 -0
  1019. package/dist/esm/z-alert.entry.js +12 -8
  1020. package/dist/esm/z-alert.entry.js.map +1 -0
  1021. package/dist/esm/z-anchor-navigation.entry.js +34 -38
  1022. package/dist/esm/z-anchor-navigation.entry.js.map +1 -0
  1023. package/dist/esm/z-app-header_11.entry.js +908 -993
  1024. package/dist/esm/z-app-header_11.entry.js.map +1 -0
  1025. package/dist/esm/z-aria-alert.entry.js +11 -10
  1026. package/dist/esm/z-aria-alert.entry.js.map +1 -0
  1027. package/dist/esm/z-avatar.entry.js +32 -30
  1028. package/dist/esm/z-avatar.entry.js.map +1 -0
  1029. package/dist/esm/z-book-card.entry.js +126 -114
  1030. package/dist/esm/z-book-card.entry.js.map +1 -0
  1031. package/dist/esm/z-breadcrumb.entry.js +216 -219
  1032. package/dist/esm/z-breadcrumb.entry.js.map +1 -0
  1033. package/dist/esm/z-button-sort.entry.js +42 -39
  1034. package/dist/esm/z-button-sort.entry.js.map +1 -0
  1035. package/dist/esm/z-card.entry.js +45 -41
  1036. package/dist/esm/z-card.entry.js.map +1 -0
  1037. package/dist/esm/z-carousel.entry.js +137 -129
  1038. package/dist/esm/z-carousel.entry.js.map +1 -0
  1039. package/dist/esm/z-chip.entry.js +23 -21
  1040. package/dist/esm/z-chip.entry.js.map +1 -0
  1041. package/dist/esm/z-combobox.entry.js +189 -188
  1042. package/dist/esm/z-combobox.entry.js.map +1 -0
  1043. package/dist/esm/z-contextual-menu.entry.js +31 -33
  1044. package/dist/esm/z-contextual-menu.entry.js.map +1 -0
  1045. package/dist/esm/z-cover-hero.entry.js +32 -41
  1046. package/dist/esm/z-cover-hero.entry.js.map +1 -0
  1047. package/dist/esm/z-date-picker.entry.js +163 -157
  1048. package/dist/esm/z-date-picker.entry.js.map +1 -0
  1049. package/dist/esm/z-dragdrop-area_2.entry.js +144 -136
  1050. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -0
  1051. package/dist/esm/z-file-upload.entry.js +182 -177
  1052. package/dist/esm/z-file-upload.entry.js.map +1 -0
  1053. package/dist/esm/z-file.entry.js +42 -37
  1054. package/dist/esm/z-file.entry.js.map +1 -0
  1055. package/dist/esm/z-ghost-loading.entry.js +11 -8
  1056. package/dist/esm/z-ghost-loading.entry.js.map +1 -0
  1057. package/dist/esm/z-info-box.entry.js +17 -14
  1058. package/dist/esm/z-info-box.entry.js.map +1 -0
  1059. package/dist/esm/z-info-reveal.entry.js +53 -53
  1060. package/dist/esm/z-info-reveal.entry.js.map +1 -0
  1061. package/dist/esm/z-link.entry.js +57 -60
  1062. package/dist/esm/z-link.entry.js.map +1 -0
  1063. package/dist/esm/z-logo.entry.js +22 -13
  1064. package/dist/esm/z-logo.entry.js.map +1 -0
  1065. package/dist/esm/z-menu-section.entry.js +47 -41
  1066. package/dist/esm/z-menu-section.entry.js.map +1 -0
  1067. package/dist/esm/z-menu.entry.js +95 -99
  1068. package/dist/esm/z-menu.entry.js.map +1 -0
  1069. package/dist/esm/z-messages-pocket.entry.js +37 -33
  1070. package/dist/esm/z-messages-pocket.entry.js.map +1 -0
  1071. package/dist/esm/z-myz-card-alert.entry.js +56 -49
  1072. package/dist/esm/z-myz-card-alert.entry.js.map +1 -0
  1073. package/dist/esm/z-myz-card-dictionary.entry.js +26 -25
  1074. package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -0
  1075. package/dist/esm/z-myz-card-footer-sections.entry.js +11 -8
  1076. package/dist/esm/z-myz-card-footer-sections.entry.js.map +1 -0
  1077. package/dist/esm/z-myz-card-footer.entry.js +61 -55
  1078. package/dist/esm/z-myz-card-footer.entry.js.map +1 -0
  1079. package/dist/esm/z-myz-card-icon.entry.js +14 -12
  1080. package/dist/esm/z-myz-card-icon.entry.js.map +1 -0
  1081. package/dist/esm/z-myz-card-info.entry.js +120 -117
  1082. package/dist/esm/z-myz-card-info.entry.js.map +1 -0
  1083. package/dist/esm/z-myz-card-list.entry.js +29 -25
  1084. package/dist/esm/z-myz-card-list.entry.js.map +1 -0
  1085. package/dist/esm/z-myz-card_4.entry.js +88 -75
  1086. package/dist/esm/z-myz-card_4.entry.js.map +1 -0
  1087. package/dist/esm/z-myz-list-item.entry.js +32 -26
  1088. package/dist/esm/z-myz-list-item.entry.js.map +1 -0
  1089. package/dist/esm/z-myz-list.entry.js +28 -23
  1090. package/dist/esm/z-myz-list.entry.js.map +1 -0
  1091. package/dist/esm/z-navigation-tab-link.entry.js +55 -57
  1092. package/dist/esm/z-navigation-tab-link.entry.js.map +1 -0
  1093. package/dist/esm/z-navigation-tab.entry.js +52 -56
  1094. package/dist/esm/z-navigation-tab.entry.js.map +1 -0
  1095. package/dist/esm/z-navigation-tabs.entry.js +206 -210
  1096. package/dist/esm/z-navigation-tabs.entry.js.map +1 -0
  1097. package/dist/esm/z-notification.entry.js +30 -30
  1098. package/dist/esm/z-notification.entry.js.map +1 -0
  1099. package/dist/esm/z-otp.entry.js +34 -30
  1100. package/dist/esm/z-otp.entry.js.map +1 -0
  1101. package/dist/esm/z-pagination.entry.js +212 -216
  1102. package/dist/esm/z-pagination.entry.js.map +1 -0
  1103. package/dist/esm/z-panel-elem.entry.js +30 -22
  1104. package/dist/esm/z-panel-elem.entry.js.map +1 -0
  1105. package/dist/esm/z-pocket-message.entry.js +11 -8
  1106. package/dist/esm/z-pocket-message.entry.js.map +1 -0
  1107. package/dist/esm/z-pocket_3.entry.js +105 -100
  1108. package/dist/esm/z-pocket_3.entry.js.map +1 -0
  1109. package/dist/esm/z-popover.entry.js +273 -282
  1110. package/dist/esm/z-popover.entry.js.map +1 -0
  1111. package/dist/esm/z-range-picker.entry.js +326 -324
  1112. package/dist/esm/z-range-picker.entry.js.map +1 -0
  1113. package/dist/esm/z-section-title.entry.js +18 -22
  1114. package/dist/esm/z-section-title.entry.js.map +1 -0
  1115. package/dist/esm/z-select.entry.js +327 -323
  1116. package/dist/esm/z-select.entry.js.map +1 -0
  1117. package/dist/esm/z-skip-to-content.entry.js +62 -59
  1118. package/dist/esm/z-skip-to-content.entry.js.map +1 -0
  1119. package/dist/esm/z-slideshow.entry.js +116 -110
  1120. package/dist/esm/z-slideshow.entry.js.map +1 -0
  1121. package/dist/esm/z-stepper-item.entry.js +17 -10
  1122. package/dist/esm/z-stepper-item.entry.js.map +1 -0
  1123. package/dist/esm/z-stepper.entry.js +11 -8
  1124. package/dist/esm/z-stepper.entry.js.map +1 -0
  1125. package/dist/esm/z-table-body.entry.js +4 -2
  1126. package/dist/esm/z-table-body.entry.js.map +1 -0
  1127. package/dist/esm/z-table-cell.entry.js +5 -3
  1128. package/dist/esm/z-table-cell.entry.js.map +1 -0
  1129. package/dist/esm/z-table-deprecated.entry.js +76 -75
  1130. package/dist/esm/z-table-deprecated.entry.js.map +1 -0
  1131. package/dist/esm/z-table-empty-box.entry.js +4 -2
  1132. package/dist/esm/z-table-empty-box.entry.js.map +1 -0
  1133. package/dist/esm/z-table-expanded-row.entry.js +4 -2
  1134. package/dist/esm/z-table-expanded-row.entry.js.map +1 -0
  1135. package/dist/esm/z-table-footer.entry.js +4 -2
  1136. package/dist/esm/z-table-footer.entry.js.map +1 -0
  1137. package/dist/esm/z-table-head.entry.js +4 -2
  1138. package/dist/esm/z-table-head.entry.js.map +1 -0
  1139. package/dist/esm/z-table-header-row.entry.js +4 -2
  1140. package/dist/esm/z-table-header-row.entry.js.map +1 -0
  1141. package/dist/esm/z-table-header.entry.js +7 -5
  1142. package/dist/esm/z-table-header.entry.js.map +1 -0
  1143. package/dist/esm/z-table-row.entry.js +5 -3
  1144. package/dist/esm/z-table-row.entry.js.map +1 -0
  1145. package/dist/esm/z-table-sticky-footer.entry.js +4 -2
  1146. package/dist/esm/z-table-sticky-footer.entry.js.map +1 -0
  1147. package/dist/esm/z-table.entry.js +42 -45
  1148. package/dist/esm/z-table.entry.js.map +1 -0
  1149. package/dist/esm/z-tag.entry.js +16 -11
  1150. package/dist/esm/z-tag.entry.js.map +1 -0
  1151. package/dist/esm/z-tbody.entry.js +4 -2
  1152. package/dist/esm/z-tbody.entry.js.map +1 -0
  1153. package/dist/esm/z-td.entry.js +5 -3
  1154. package/dist/esm/z-td.entry.js.map +1 -0
  1155. package/dist/esm/z-tfoot.entry.js +4 -2
  1156. package/dist/esm/z-tfoot.entry.js.map +1 -0
  1157. package/dist/esm/z-th.entry.js +5 -3
  1158. package/dist/esm/z-th.entry.js.map +1 -0
  1159. package/dist/esm/z-thead.entry.js +4 -2
  1160. package/dist/esm/z-thead.entry.js.map +1 -0
  1161. package/dist/esm/z-toast-notification-list.entry.js +45 -42
  1162. package/dist/esm/z-toast-notification-list.entry.js.map +1 -0
  1163. package/dist/esm/z-toast-notification.entry.js +190 -184
  1164. package/dist/esm/z-toast-notification.entry.js.map +1 -0
  1165. package/dist/esm/z-toggle-button.entry.js +26 -24
  1166. package/dist/esm/z-toggle-button.entry.js.map +1 -0
  1167. package/dist/esm/z-toggle-switch.entry.js +38 -39
  1168. package/dist/esm/z-toggle-switch.entry.js.map +1 -0
  1169. package/dist/esm/z-tooltip.entry.js +20 -26
  1170. package/dist/esm/z-tooltip.entry.js.map +1 -0
  1171. package/dist/esm/z-tr.entry.js +9 -7
  1172. package/dist/esm/z-tr.entry.js.map +1 -0
  1173. package/dist/esm/z-visually-hidden.entry.js +11 -8
  1174. package/dist/esm/z-visually-hidden.entry.js.map +1 -0
  1175. package/dist/loader/cdn.js +3 -0
  1176. package/dist/loader/index.cjs.js +3 -0
  1177. package/dist/loader/index.d.ts +21 -0
  1178. package/dist/loader/index.es2017.js +3 -0
  1179. package/dist/loader/index.js +4 -0
  1180. package/dist/loader/package.json +11 -0
  1181. package/dist/types/beans/index.d.ts +279 -279
  1182. package/dist/types/components/buttons/z-button/index.d.ts +25 -25
  1183. package/dist/types/components/buttons/z-button-sort/index.d.ts +25 -25
  1184. package/dist/types/components/buttons/z-chip/index.d.ts +14 -14
  1185. package/dist/types/components/buttons/z-toggle-button/index.d.ts +14 -14
  1186. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +13 -13
  1187. package/dist/types/components/date-picker/z-date-picker/index.d.ts +25 -25
  1188. package/dist/types/components/date-picker/z-range-picker/index.d.ts +48 -48
  1189. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +8 -8
  1190. package/dist/types/components/file-upload/z-file/index.d.ts +19 -19
  1191. package/dist/types/components/file-upload/z-file-upload/index.d.ts +52 -52
  1192. package/dist/types/components/icons/icons.d.ts +1530 -1530
  1193. package/dist/types/components/icons/z-icon/index.d.ts +12 -12
  1194. package/dist/types/components/indicators/z-stepper/index.d.ts +1 -1
  1195. package/dist/types/components/indicators/z-stepper-item/index.d.ts +17 -17
  1196. package/dist/types/components/inputs/z-combobox/index.d.ts +67 -67
  1197. package/dist/types/components/inputs/z-input/index.d.ts +99 -99
  1198. package/dist/types/components/inputs/z-input-message/index.d.ts +9 -9
  1199. package/dist/types/components/inputs/z-searchbar/index.d.ts +66 -66
  1200. package/dist/types/components/inputs/z-select/index.d.ts +80 -80
  1201. package/dist/types/components/list/z-list/index.d.ts +16 -16
  1202. package/dist/types/components/list/z-list-element/index.d.ts +97 -97
  1203. package/dist/types/components/list/z-list-group/index.d.ts +25 -25
  1204. package/dist/types/components/list/z-toast-notification-list/index.d.ts +11 -11
  1205. package/dist/types/components/logo/z-logo/index.d.ts +13 -13
  1206. package/dist/types/components/modal/z-modal/index.d.ts +42 -42
  1207. package/dist/types/components/navigation/z-app-header/index.d.ts +87 -87
  1208. package/dist/types/components/navigation/z-menu/index.d.ts +52 -52
  1209. package/dist/types/components/navigation/z-menu-section/index.d.ts +23 -23
  1210. package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +103 -103
  1211. package/dist/types/components/notification/z-info-box/index.d.ts +8 -8
  1212. package/dist/types/components/notification/z-notification/index.d.ts +23 -23
  1213. package/dist/types/components/notification/z-toast-notification/index.d.ts +52 -52
  1214. package/dist/types/components/notification/z-tooltip/index.d.ts +21 -21
  1215. package/dist/types/components/panel/z-panel-elem/index.d.ts +20 -20
  1216. package/dist/types/components/table/cells/z-td/index.d.ts +29 -29
  1217. package/dist/types/components/table/cells/z-th/index.d.ts +48 -48
  1218. package/dist/types/components/table/z-table/index.d.ts +17 -17
  1219. package/dist/types/components/table/z-tbody/index.d.ts +1 -1
  1220. package/dist/types/components/table/z-tfoot/index.d.ts +5 -5
  1221. package/dist/types/components/table/z-thead/index.d.ts +5 -5
  1222. package/dist/types/components/table/z-tr/index.d.ts +30 -30
  1223. package/dist/types/components/z-accordion/index.d.ts +45 -45
  1224. package/dist/types/components/z-anchor-navigation/index.d.ts +22 -22
  1225. package/dist/types/components/z-aria-alert/index.d.ts +3 -3
  1226. package/dist/types/components/z-avatar/index.d.ts +13 -13
  1227. package/dist/types/components/z-book-card/index.d.ts +81 -81
  1228. package/dist/types/components/z-breadcrumb/index.d.ts +54 -54
  1229. package/dist/types/components/z-card/index.d.ts +30 -25
  1230. package/dist/types/components/z-carousel/index.d.ts +54 -54
  1231. package/dist/types/components/z-contextual-menu/index.d.ts +22 -22
  1232. package/dist/types/components/z-cover-hero/index.d.ts +27 -27
  1233. package/dist/types/components/z-divider/index.d.ts +7 -7
  1234. package/dist/types/components/z-ghost-loading/index.d.ts +1 -1
  1235. package/dist/types/components/z-info-reveal/index.d.ts +26 -26
  1236. package/dist/types/components/z-offcanvas/index.d.ts +21 -21
  1237. package/dist/types/components/z-pagination/index.d.ts +103 -103
  1238. package/dist/types/components/z-popover/index.d.ts +57 -57
  1239. package/dist/types/components/z-section-title/index.d.ts +13 -13
  1240. package/dist/types/components/z-skip-to-content/index.d.ts +15 -15
  1241. package/dist/types/components/z-tag/index.d.ts +5 -5
  1242. package/dist/types/components/z-visually-hidden/index.d.ts +1 -1
  1243. package/dist/types/components.d.ts +1440 -2
  1244. package/dist/types/constants/icons.d.ts +3 -3
  1245. package/dist/types/deprecated/z-link/index.d.ts +34 -34
  1246. package/dist/types/deprecated/z-navigation-tab/index.d.ts +61 -61
  1247. package/dist/types/deprecated/z-navigation-tab-link/index.d.ts +68 -68
  1248. package/dist/types/deprecated/z-table-deprecated/z-table-body/index.d.ts +3 -3
  1249. package/dist/types/deprecated/z-table-deprecated/z-table-cell/index.d.ts +9 -9
  1250. package/dist/types/deprecated/z-table-deprecated/z-table-deprecated/index.d.ts +41 -41
  1251. package/dist/types/deprecated/z-table-deprecated/z-table-empty-box/index.d.ts +10 -10
  1252. package/dist/types/deprecated/z-table-deprecated/z-table-expanded-row/index.d.ts +3 -3
  1253. package/dist/types/deprecated/z-table-deprecated/z-table-footer/index.d.ts +3 -3
  1254. package/dist/types/deprecated/z-table-deprecated/z-table-head/index.d.ts +3 -3
  1255. package/dist/types/deprecated/z-table-deprecated/z-table-header/index.d.ts +25 -25
  1256. package/dist/types/deprecated/z-table-deprecated/z-table-header-row/index.d.ts +4 -4
  1257. package/dist/types/deprecated/z-table-deprecated/z-table-row/index.d.ts +9 -9
  1258. package/dist/types/deprecated/z-table-deprecated/z-table-sticky-footer/index.d.ts +1 -1
  1259. package/dist/types/index.d.ts +1 -1
  1260. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +10 -10
  1261. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +16 -16
  1262. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +1 -1
  1263. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +10 -10
  1264. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +17 -17
  1265. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +27 -27
  1266. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +1 -1
  1267. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +13 -13
  1268. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +7 -7
  1269. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +29 -29
  1270. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +7 -7
  1271. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +8 -8
  1272. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +22 -22
  1273. package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +10 -10
  1274. package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +18 -18
  1275. package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +6 -6
  1276. package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +12 -12
  1277. package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +1 -1
  1278. package/dist/types/snowflakes/myz/z-alert/index.d.ts +3 -3
  1279. package/dist/types/snowflakes/myz/z-otp/index.d.ts +13 -13
  1280. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +23 -23
  1281. package/dist/types/stencil-public-runtime.d.ts +124 -19
  1282. package/dist/types/utils/utils.d.ts +3 -3
  1283. package/dist/web-components-library/index.esm.js +2 -1
  1284. package/dist/web-components-library/index.esm.js.map +1 -0
  1285. package/dist/web-components-library/p-011a7536.js +2 -0
  1286. package/dist/web-components-library/p-011a7536.js.map +1 -0
  1287. package/dist/web-components-library/p-025f494e.js +2 -0
  1288. package/dist/web-components-library/p-025f494e.js.map +1 -0
  1289. package/dist/web-components-library/p-04fdb6fa.js +2 -0
  1290. package/dist/web-components-library/p-04fdb6fa.js.map +1 -0
  1291. package/dist/web-components-library/p-0681692a.entry.js +2 -0
  1292. package/dist/web-components-library/p-0681692a.entry.js.map +1 -0
  1293. package/dist/web-components-library/p-10bb4f4b.js +3 -0
  1294. package/dist/web-components-library/p-10bb4f4b.js.map +1 -0
  1295. package/dist/web-components-library/p-10c29fb4.entry.js +2 -0
  1296. package/dist/web-components-library/p-10c29fb4.entry.js.map +1 -0
  1297. package/dist/web-components-library/p-13a93aef.entry.js +2 -0
  1298. package/dist/web-components-library/p-13a93aef.entry.js.map +1 -0
  1299. package/dist/web-components-library/p-158b6dda.entry.js +2 -0
  1300. package/dist/web-components-library/p-158b6dda.entry.js.map +1 -0
  1301. package/dist/web-components-library/p-1de0e2a1.entry.js +2 -0
  1302. package/dist/web-components-library/p-1de0e2a1.entry.js.map +1 -0
  1303. package/dist/web-components-library/p-1e4befc7.entry.js +2 -0
  1304. package/dist/web-components-library/p-1e4befc7.entry.js.map +1 -0
  1305. package/dist/web-components-library/p-210fbe0f.entry.js +2 -0
  1306. package/dist/web-components-library/p-210fbe0f.entry.js.map +1 -0
  1307. package/dist/web-components-library/p-21735a65.entry.js +2 -0
  1308. package/dist/web-components-library/p-21735a65.entry.js.map +1 -0
  1309. package/dist/web-components-library/p-2731d501.entry.js +2 -0
  1310. package/dist/web-components-library/p-2731d501.entry.js.map +1 -0
  1311. package/dist/web-components-library/p-28c6bb97.entry.js +2 -0
  1312. package/dist/web-components-library/p-28c6bb97.entry.js.map +1 -0
  1313. package/dist/web-components-library/p-2aa42d09.js +2 -0
  1314. package/dist/web-components-library/p-2aa42d09.js.map +1 -0
  1315. package/dist/web-components-library/p-2c886e8b.js +2 -0
  1316. package/dist/web-components-library/p-2c886e8b.js.map +1 -0
  1317. package/dist/web-components-library/p-2f2f460a.entry.js +2 -0
  1318. package/dist/web-components-library/p-2f2f460a.entry.js.map +1 -0
  1319. package/dist/web-components-library/p-2f72475d.entry.js +2 -0
  1320. package/dist/web-components-library/p-2f72475d.entry.js.map +1 -0
  1321. package/dist/web-components-library/p-303663a9.entry.js +2 -0
  1322. package/dist/web-components-library/p-303663a9.entry.js.map +1 -0
  1323. package/dist/web-components-library/p-3441cb4e.entry.js +2 -0
  1324. package/dist/web-components-library/p-3441cb4e.entry.js.map +1 -0
  1325. package/dist/web-components-library/p-34541d7c.entry.js +2 -0
  1326. package/dist/web-components-library/p-34541d7c.entry.js.map +1 -0
  1327. package/dist/web-components-library/p-356aac96.js +2 -0
  1328. package/dist/web-components-library/p-356aac96.js.map +1 -0
  1329. package/dist/web-components-library/p-378b2bbf.entry.js +2 -0
  1330. package/dist/web-components-library/p-378b2bbf.entry.js.map +1 -0
  1331. package/dist/web-components-library/p-38c63f28.entry.js +2 -0
  1332. package/dist/web-components-library/p-38c63f28.entry.js.map +1 -0
  1333. package/dist/web-components-library/p-38dd5e41.entry.js +2 -0
  1334. package/dist/web-components-library/p-38dd5e41.entry.js.map +1 -0
  1335. package/dist/web-components-library/p-3b5e773e.entry.js +2 -0
  1336. package/dist/web-components-library/p-3b5e773e.entry.js.map +1 -0
  1337. package/dist/web-components-library/p-3c87d5e2.entry.js +2 -0
  1338. package/dist/web-components-library/p-3c87d5e2.entry.js.map +1 -0
  1339. package/dist/web-components-library/p-402bd7f6.entry.js +2 -0
  1340. package/dist/web-components-library/p-402bd7f6.entry.js.map +1 -0
  1341. package/dist/web-components-library/p-40f68d35.entry.js +2 -0
  1342. package/dist/web-components-library/p-40f68d35.entry.js.map +1 -0
  1343. package/dist/web-components-library/p-4686b762.js +2 -0
  1344. package/dist/web-components-library/p-4686b762.js.map +1 -0
  1345. package/dist/web-components-library/p-4691b59a.entry.js +2 -0
  1346. package/dist/web-components-library/p-4691b59a.entry.js.map +1 -0
  1347. package/dist/web-components-library/p-472eb82d.entry.js +2 -0
  1348. package/dist/web-components-library/p-472eb82d.entry.js.map +1 -0
  1349. package/dist/web-components-library/p-49407985.entry.js +2 -0
  1350. package/dist/web-components-library/p-49407985.entry.js.map +1 -0
  1351. package/dist/web-components-library/p-4bc82510.js +2 -0
  1352. package/dist/web-components-library/p-4bc82510.js.map +1 -0
  1353. package/dist/web-components-library/p-5023f7d5.entry.js +2 -0
  1354. package/dist/web-components-library/p-5023f7d5.entry.js.map +1 -0
  1355. package/dist/web-components-library/p-52fa5f80.entry.js +2 -0
  1356. package/dist/web-components-library/p-52fa5f80.entry.js.map +1 -0
  1357. package/dist/web-components-library/p-54681ece.entry.js +2 -0
  1358. package/dist/web-components-library/p-54681ece.entry.js.map +1 -0
  1359. package/dist/web-components-library/p-54b0b04e.js +7 -0
  1360. package/dist/web-components-library/p-54b0b04e.js.map +1 -0
  1361. package/dist/web-components-library/p-55d22af2.js +2 -0
  1362. package/dist/web-components-library/p-55d22af2.js.map +1 -0
  1363. package/dist/web-components-library/p-5af8a5e1.entry.js +2 -0
  1364. package/dist/web-components-library/p-5af8a5e1.entry.js.map +1 -0
  1365. package/dist/web-components-library/p-5bb776c9.entry.js +2 -0
  1366. package/dist/web-components-library/p-5bb776c9.entry.js.map +1 -0
  1367. package/dist/web-components-library/p-5d220bbc.entry.js +2 -0
  1368. package/dist/web-components-library/p-5d220bbc.entry.js.map +1 -0
  1369. package/dist/web-components-library/p-5e585fe9.js +2 -0
  1370. package/dist/web-components-library/p-5e585fe9.js.map +1 -0
  1371. package/dist/web-components-library/p-6087739d.js +2 -0
  1372. package/dist/web-components-library/p-6087739d.js.map +1 -0
  1373. package/dist/web-components-library/p-60e11155.entry.js +2 -0
  1374. package/dist/web-components-library/p-60e11155.entry.js.map +1 -0
  1375. package/dist/web-components-library/p-626a5bb1.entry.js +2 -0
  1376. package/dist/web-components-library/p-626a5bb1.entry.js.map +1 -0
  1377. package/dist/web-components-library/p-647bd8e1.entry.js +2 -0
  1378. package/dist/web-components-library/p-647bd8e1.entry.js.map +1 -0
  1379. package/dist/web-components-library/p-67450112.entry.js +2 -0
  1380. package/dist/web-components-library/p-67450112.entry.js.map +1 -0
  1381. package/dist/web-components-library/p-6790a3c1.js +2 -0
  1382. package/dist/web-components-library/p-6790a3c1.js.map +1 -0
  1383. package/dist/web-components-library/p-68a9a3dd.entry.js +2 -0
  1384. package/dist/web-components-library/p-68a9a3dd.entry.js.map +1 -0
  1385. package/dist/web-components-library/p-69697329.entry.js +2 -0
  1386. package/dist/web-components-library/p-69697329.entry.js.map +1 -0
  1387. package/dist/web-components-library/p-6aba107d.entry.js +2 -0
  1388. package/dist/web-components-library/p-6aba107d.entry.js.map +1 -0
  1389. package/dist/web-components-library/p-6d0bb567.entry.js +2 -0
  1390. package/dist/web-components-library/p-6d0bb567.entry.js.map +1 -0
  1391. package/dist/web-components-library/p-73f33c0f.js +2 -0
  1392. package/dist/web-components-library/p-73f33c0f.js.map +1 -0
  1393. package/dist/web-components-library/p-7c5b1265.entry.js +2 -0
  1394. package/dist/web-components-library/p-7c5b1265.entry.js.map +1 -0
  1395. package/dist/web-components-library/p-7d4cd2e8.entry.js +2 -0
  1396. package/dist/web-components-library/p-7d4cd2e8.entry.js.map +1 -0
  1397. package/dist/web-components-library/p-820c2503.js +2 -0
  1398. package/dist/web-components-library/p-820c2503.js.map +1 -0
  1399. package/dist/web-components-library/p-83657b33.entry.js +2 -0
  1400. package/dist/web-components-library/p-83657b33.entry.js.map +1 -0
  1401. package/dist/web-components-library/p-88cf27cf.js +2 -0
  1402. package/dist/web-components-library/p-88cf27cf.js.map +1 -0
  1403. package/dist/web-components-library/p-8a72e834.entry.js +17 -0
  1404. package/dist/web-components-library/p-8a72e834.entry.js.map +1 -0
  1405. package/dist/web-components-library/p-955da62e.js +2 -0
  1406. package/dist/web-components-library/p-955da62e.js.map +1 -0
  1407. package/dist/web-components-library/p-97bba1f2.entry.js +2 -0
  1408. package/dist/web-components-library/p-97bba1f2.entry.js.map +1 -0
  1409. package/dist/web-components-library/p-9882e8a5.entry.js +2 -0
  1410. package/dist/web-components-library/p-9882e8a5.entry.js.map +1 -0
  1411. package/dist/web-components-library/p-98e8d64f.entry.js +2 -0
  1412. package/dist/web-components-library/p-98e8d64f.entry.js.map +1 -0
  1413. package/dist/web-components-library/p-9b50a99a.entry.js +2 -0
  1414. package/dist/web-components-library/p-9b50a99a.entry.js.map +1 -0
  1415. package/dist/web-components-library/p-9b52dea5.entry.js +2 -0
  1416. package/dist/web-components-library/p-9b52dea5.entry.js.map +1 -0
  1417. package/dist/web-components-library/p-9bcb606c.entry.js +2 -0
  1418. package/dist/web-components-library/p-9bcb606c.entry.js.map +1 -0
  1419. package/dist/web-components-library/p-9e71d6b3.entry.js +2 -0
  1420. package/dist/web-components-library/p-9e71d6b3.entry.js.map +1 -0
  1421. package/dist/web-components-library/p-9f47cebe.entry.js +2 -0
  1422. package/dist/web-components-library/p-9f47cebe.entry.js.map +1 -0
  1423. package/dist/web-components-library/p-9f979c92.entry.js +2 -0
  1424. package/dist/web-components-library/p-9f979c92.entry.js.map +1 -0
  1425. package/dist/web-components-library/p-a7e61213.entry.js +2 -0
  1426. package/dist/web-components-library/p-a7e61213.entry.js.map +1 -0
  1427. package/dist/web-components-library/p-a8901c35.entry.js +2 -0
  1428. package/dist/web-components-library/p-a8901c35.entry.js.map +1 -0
  1429. package/dist/web-components-library/p-a9d42b98.entry.js +2 -0
  1430. package/dist/web-components-library/p-a9d42b98.entry.js.map +1 -0
  1431. package/dist/web-components-library/p-ac497c80.entry.js +2 -0
  1432. package/dist/web-components-library/p-ac497c80.entry.js.map +1 -0
  1433. package/dist/web-components-library/p-ac768eff.js +2 -0
  1434. package/dist/web-components-library/p-ac768eff.js.map +1 -0
  1435. package/dist/web-components-library/p-acfde9fa.entry.js +2 -0
  1436. package/dist/web-components-library/p-acfde9fa.entry.js.map +1 -0
  1437. package/dist/web-components-library/p-ae71256f.entry.js +2 -0
  1438. package/dist/web-components-library/p-ae71256f.entry.js.map +1 -0
  1439. package/dist/web-components-library/p-af27423a.entry.js +2 -0
  1440. package/dist/web-components-library/p-af27423a.entry.js.map +1 -0
  1441. package/dist/web-components-library/p-b1b69181.entry.js +2 -0
  1442. package/dist/web-components-library/p-b1b69181.entry.js.map +1 -0
  1443. package/dist/web-components-library/p-b3c92412.entry.js +2 -0
  1444. package/dist/web-components-library/p-b3c92412.entry.js.map +1 -0
  1445. package/dist/web-components-library/p-b574f1be.entry.js +2 -0
  1446. package/dist/web-components-library/p-b574f1be.entry.js.map +1 -0
  1447. package/dist/web-components-library/p-b5e223fb.entry.js +2 -0
  1448. package/dist/web-components-library/p-b5e223fb.entry.js.map +1 -0
  1449. package/dist/web-components-library/p-b99dd793.entry.js +2 -0
  1450. package/dist/web-components-library/p-b99dd793.entry.js.map +1 -0
  1451. package/dist/web-components-library/p-bb8037c4.entry.js +2 -0
  1452. package/dist/web-components-library/p-bb8037c4.entry.js.map +1 -0
  1453. package/dist/web-components-library/p-bc956e60.entry.js +2 -0
  1454. package/dist/web-components-library/p-bc956e60.entry.js.map +1 -0
  1455. package/dist/web-components-library/p-c0bfa87d.js +2 -0
  1456. package/dist/web-components-library/p-c0bfa87d.js.map +1 -0
  1457. package/dist/web-components-library/p-c2110712.entry.js +2 -0
  1458. package/dist/web-components-library/p-c2110712.entry.js.map +1 -0
  1459. package/dist/web-components-library/p-c49ca2a9.entry.js +2 -0
  1460. package/dist/web-components-library/p-c49ca2a9.entry.js.map +1 -0
  1461. package/dist/web-components-library/p-ca5975a3.js +2 -0
  1462. package/dist/web-components-library/p-ca5975a3.js.map +1 -0
  1463. package/dist/web-components-library/p-cc46f0ce.js +2 -0
  1464. package/dist/web-components-library/p-cc46f0ce.js.map +1 -0
  1465. package/dist/web-components-library/p-d973f170.entry.js +2 -0
  1466. package/dist/web-components-library/p-d973f170.entry.js.map +1 -0
  1467. package/dist/web-components-library/p-dd3cc9a7.entry.js +2 -0
  1468. package/dist/web-components-library/p-dd3cc9a7.entry.js.map +1 -0
  1469. package/dist/web-components-library/p-e3e48e64.entry.js +2 -0
  1470. package/dist/web-components-library/p-e3e48e64.entry.js.map +1 -0
  1471. package/dist/web-components-library/p-ebcf6b4d.entry.js +2 -0
  1472. package/dist/web-components-library/p-ebcf6b4d.entry.js.map +1 -0
  1473. package/dist/web-components-library/p-ed03b414.entry.js +2 -0
  1474. package/dist/web-components-library/p-ed03b414.entry.js.map +1 -0
  1475. package/dist/web-components-library/p-f0653be6.entry.js +2 -0
  1476. package/dist/web-components-library/p-f0653be6.entry.js.map +1 -0
  1477. package/dist/web-components-library/p-f088324c.entry.js +2 -0
  1478. package/dist/web-components-library/p-f088324c.entry.js.map +1 -0
  1479. package/dist/web-components-library/p-f76d0247.js +2 -0
  1480. package/dist/web-components-library/p-f76d0247.js.map +1 -0
  1481. package/dist/web-components-library/p-f97c093d.entry.js +2 -0
  1482. package/dist/web-components-library/p-f97c093d.entry.js.map +1 -0
  1483. package/dist/web-components-library/p-f9ddfc93.entry.js +2 -0
  1484. package/dist/web-components-library/p-f9ddfc93.entry.js.map +1 -0
  1485. package/dist/web-components-library/p-fa4a2862.entry.js +2 -0
  1486. package/dist/web-components-library/p-fa4a2862.entry.js.map +1 -0
  1487. package/dist/web-components-library/p-fe8d7642.entry.js +2 -0
  1488. package/dist/web-components-library/p-fe8d7642.entry.js.map +1 -0
  1489. package/dist/web-components-library/web-components-library.esm.js +2 -1
  1490. package/dist/web-components-library/web-components-library.esm.js.map +1 -0
  1491. package/package.json +43 -42
  1492. package/react/react-component-lib/createComponent.js.map +1 -1
  1493. package/react/react-component-lib/createOverlayComponent.js.map +1 -1
  1494. package/react/react-component-lib/utils/attachProps.d.ts +4 -0
  1495. package/react/react-component-lib/utils/attachProps.js +13 -2
  1496. package/react/react-component-lib/utils/attachProps.js.map +1 -1
  1497. package/react/react-component-lib/utils/case.js.map +1 -1
  1498. package/react/react-component-lib/utils/index.js +2 -4
  1499. package/react/react-component-lib/utils/index.js.map +1 -1
  1500. package/www/build/index.esm.js +2 -1
  1501. package/www/build/index.esm.js.map +1 -0
  1502. package/www/build/p-011a7536.js +2 -0
  1503. package/www/build/p-011a7536.js.map +1 -0
  1504. package/www/build/p-025f494e.js +2 -0
  1505. package/www/build/p-025f494e.js.map +1 -0
  1506. package/www/build/p-04fdb6fa.js +2 -0
  1507. package/www/build/p-04fdb6fa.js.map +1 -0
  1508. package/www/build/p-0681692a.entry.js +2 -0
  1509. package/www/build/p-0681692a.entry.js.map +1 -0
  1510. package/www/build/p-10bb4f4b.js +3 -0
  1511. package/www/build/p-10bb4f4b.js.map +1 -0
  1512. package/www/build/p-10c29fb4.entry.js +2 -0
  1513. package/www/build/p-10c29fb4.entry.js.map +1 -0
  1514. package/www/build/p-13a93aef.entry.js +2 -0
  1515. package/www/build/p-13a93aef.entry.js.map +1 -0
  1516. package/www/build/p-158b6dda.entry.js +2 -0
  1517. package/www/build/p-158b6dda.entry.js.map +1 -0
  1518. package/www/build/p-1de0e2a1.entry.js +2 -0
  1519. package/www/build/p-1de0e2a1.entry.js.map +1 -0
  1520. package/www/build/p-1e4befc7.entry.js +2 -0
  1521. package/www/build/p-1e4befc7.entry.js.map +1 -0
  1522. package/www/build/p-210fbe0f.entry.js +2 -0
  1523. package/www/build/p-210fbe0f.entry.js.map +1 -0
  1524. package/www/build/p-21735a65.entry.js +2 -0
  1525. package/www/build/p-21735a65.entry.js.map +1 -0
  1526. package/www/build/p-21a94605.css +3 -0
  1527. package/www/build/p-2731d501.entry.js +2 -0
  1528. package/www/build/p-2731d501.entry.js.map +1 -0
  1529. package/www/build/p-28c6bb97.entry.js +2 -0
  1530. package/www/build/p-28c6bb97.entry.js.map +1 -0
  1531. package/www/build/p-2aa42d09.js +2 -0
  1532. package/www/build/p-2aa42d09.js.map +1 -0
  1533. package/www/build/p-2c886e8b.js +2 -0
  1534. package/www/build/p-2c886e8b.js.map +1 -0
  1535. package/www/build/p-2f2f460a.entry.js +2 -0
  1536. package/www/build/p-2f2f460a.entry.js.map +1 -0
  1537. package/www/build/p-2f72475d.entry.js +2 -0
  1538. package/www/build/p-2f72475d.entry.js.map +1 -0
  1539. package/www/build/p-303663a9.entry.js +2 -0
  1540. package/www/build/p-303663a9.entry.js.map +1 -0
  1541. package/www/build/p-3441cb4e.entry.js +2 -0
  1542. package/www/build/p-3441cb4e.entry.js.map +1 -0
  1543. package/www/build/p-34541d7c.entry.js +2 -0
  1544. package/www/build/p-34541d7c.entry.js.map +1 -0
  1545. package/www/build/p-356aac96.js +2 -0
  1546. package/www/build/p-356aac96.js.map +1 -0
  1547. package/www/build/p-378b2bbf.entry.js +2 -0
  1548. package/www/build/p-378b2bbf.entry.js.map +1 -0
  1549. package/www/build/p-38c63f28.entry.js +2 -0
  1550. package/www/build/p-38c63f28.entry.js.map +1 -0
  1551. package/www/build/p-38dd5e41.entry.js +2 -0
  1552. package/www/build/p-38dd5e41.entry.js.map +1 -0
  1553. package/www/build/p-3b5e773e.entry.js +2 -0
  1554. package/www/build/p-3b5e773e.entry.js.map +1 -0
  1555. package/www/build/p-3c87d5e2.entry.js +2 -0
  1556. package/www/build/p-3c87d5e2.entry.js.map +1 -0
  1557. package/www/build/p-402bd7f6.entry.js +2 -0
  1558. package/www/build/p-402bd7f6.entry.js.map +1 -0
  1559. package/www/build/p-40f68d35.entry.js +2 -0
  1560. package/www/build/p-40f68d35.entry.js.map +1 -0
  1561. package/www/build/p-4686b762.js +2 -0
  1562. package/www/build/p-4686b762.js.map +1 -0
  1563. package/www/build/p-4691b59a.entry.js +2 -0
  1564. package/www/build/p-4691b59a.entry.js.map +1 -0
  1565. package/www/build/p-472eb82d.entry.js +2 -0
  1566. package/www/build/p-472eb82d.entry.js.map +1 -0
  1567. package/www/build/p-49407985.entry.js +2 -0
  1568. package/www/build/p-49407985.entry.js.map +1 -0
  1569. package/www/build/p-4bc82510.js +2 -0
  1570. package/www/build/p-4bc82510.js.map +1 -0
  1571. package/www/build/p-5023f7d5.entry.js +2 -0
  1572. package/www/build/p-5023f7d5.entry.js.map +1 -0
  1573. package/www/build/p-52fa5f80.entry.js +2 -0
  1574. package/www/build/p-52fa5f80.entry.js.map +1 -0
  1575. package/www/build/p-54681ece.entry.js +2 -0
  1576. package/www/build/p-54681ece.entry.js.map +1 -0
  1577. package/www/build/p-54b0b04e.js +7 -0
  1578. package/www/build/p-54b0b04e.js.map +1 -0
  1579. package/www/build/p-55d22af2.js +2 -0
  1580. package/www/build/p-55d22af2.js.map +1 -0
  1581. package/www/build/p-5af8a5e1.entry.js +2 -0
  1582. package/www/build/p-5af8a5e1.entry.js.map +1 -0
  1583. package/www/build/p-5bb776c9.entry.js +2 -0
  1584. package/www/build/p-5bb776c9.entry.js.map +1 -0
  1585. package/www/build/p-5d220bbc.entry.js +2 -0
  1586. package/www/build/p-5d220bbc.entry.js.map +1 -0
  1587. package/www/build/p-5e585fe9.js +2 -0
  1588. package/www/build/p-5e585fe9.js.map +1 -0
  1589. package/www/build/p-6087739d.js +2 -0
  1590. package/www/build/p-6087739d.js.map +1 -0
  1591. package/www/build/p-60e11155.entry.js +2 -0
  1592. package/www/build/p-60e11155.entry.js.map +1 -0
  1593. package/www/build/p-626a5bb1.entry.js +2 -0
  1594. package/www/build/p-626a5bb1.entry.js.map +1 -0
  1595. package/www/build/p-647bd8e1.entry.js +2 -0
  1596. package/www/build/p-647bd8e1.entry.js.map +1 -0
  1597. package/www/build/p-67450112.entry.js +2 -0
  1598. package/www/build/p-67450112.entry.js.map +1 -0
  1599. package/www/build/p-6790a3c1.js +2 -0
  1600. package/www/build/p-6790a3c1.js.map +1 -0
  1601. package/www/build/p-68a9a3dd.entry.js +2 -0
  1602. package/www/build/p-68a9a3dd.entry.js.map +1 -0
  1603. package/www/build/p-69697329.entry.js +2 -0
  1604. package/www/build/p-69697329.entry.js.map +1 -0
  1605. package/www/build/p-6aba107d.entry.js +2 -0
  1606. package/www/build/p-6aba107d.entry.js.map +1 -0
  1607. package/www/build/p-6d0bb567.entry.js +2 -0
  1608. package/www/build/p-6d0bb567.entry.js.map +1 -0
  1609. package/www/build/p-73f33c0f.js +2 -0
  1610. package/www/build/p-73f33c0f.js.map +1 -0
  1611. package/www/build/p-7c5b1265.entry.js +2 -0
  1612. package/www/build/p-7c5b1265.entry.js.map +1 -0
  1613. package/www/build/p-7d4cd2e8.entry.js +2 -0
  1614. package/www/build/p-7d4cd2e8.entry.js.map +1 -0
  1615. package/www/build/p-820c2503.js +2 -0
  1616. package/www/build/p-820c2503.js.map +1 -0
  1617. package/www/build/p-83657b33.entry.js +2 -0
  1618. package/www/build/p-83657b33.entry.js.map +1 -0
  1619. package/www/build/p-88cf27cf.js +2 -0
  1620. package/www/build/p-88cf27cf.js.map +1 -0
  1621. package/www/build/p-8908c7aa.js +2 -0
  1622. package/www/build/p-8a72e834.entry.js +17 -0
  1623. package/www/build/p-8a72e834.entry.js.map +1 -0
  1624. package/www/build/p-955da62e.js +2 -0
  1625. package/www/build/p-955da62e.js.map +1 -0
  1626. package/www/build/p-97bba1f2.entry.js +2 -0
  1627. package/www/build/p-97bba1f2.entry.js.map +1 -0
  1628. package/www/build/p-9882e8a5.entry.js +2 -0
  1629. package/www/build/p-9882e8a5.entry.js.map +1 -0
  1630. package/www/build/p-98e8d64f.entry.js +2 -0
  1631. package/www/build/p-98e8d64f.entry.js.map +1 -0
  1632. package/www/build/p-9b50a99a.entry.js +2 -0
  1633. package/www/build/p-9b50a99a.entry.js.map +1 -0
  1634. package/www/build/p-9b52dea5.entry.js +2 -0
  1635. package/www/build/p-9b52dea5.entry.js.map +1 -0
  1636. package/www/build/p-9bcb606c.entry.js +2 -0
  1637. package/www/build/p-9bcb606c.entry.js.map +1 -0
  1638. package/www/build/p-9e71d6b3.entry.js +2 -0
  1639. package/www/build/p-9e71d6b3.entry.js.map +1 -0
  1640. package/www/build/p-9f47cebe.entry.js +2 -0
  1641. package/www/build/p-9f47cebe.entry.js.map +1 -0
  1642. package/www/build/p-9f979c92.entry.js +2 -0
  1643. package/www/build/p-9f979c92.entry.js.map +1 -0
  1644. package/www/build/p-a7e61213.entry.js +2 -0
  1645. package/www/build/p-a7e61213.entry.js.map +1 -0
  1646. package/www/build/p-a8901c35.entry.js +2 -0
  1647. package/www/build/p-a8901c35.entry.js.map +1 -0
  1648. package/www/build/p-a9d42b98.entry.js +2 -0
  1649. package/www/build/p-a9d42b98.entry.js.map +1 -0
  1650. package/www/build/p-ac497c80.entry.js +2 -0
  1651. package/www/build/p-ac497c80.entry.js.map +1 -0
  1652. package/www/build/p-ac768eff.js +2 -0
  1653. package/www/build/p-ac768eff.js.map +1 -0
  1654. package/www/build/p-acfde9fa.entry.js +2 -0
  1655. package/www/build/p-acfde9fa.entry.js.map +1 -0
  1656. package/www/build/p-ae71256f.entry.js +2 -0
  1657. package/www/build/p-ae71256f.entry.js.map +1 -0
  1658. package/www/build/p-af27423a.entry.js +2 -0
  1659. package/www/build/p-af27423a.entry.js.map +1 -0
  1660. package/www/build/p-b1b69181.entry.js +2 -0
  1661. package/www/build/p-b1b69181.entry.js.map +1 -0
  1662. package/www/build/p-b3c92412.entry.js +2 -0
  1663. package/www/build/p-b3c92412.entry.js.map +1 -0
  1664. package/www/build/p-b574f1be.entry.js +2 -0
  1665. package/www/build/p-b574f1be.entry.js.map +1 -0
  1666. package/www/build/p-b5e223fb.entry.js +2 -0
  1667. package/www/build/p-b5e223fb.entry.js.map +1 -0
  1668. package/www/build/p-b99dd793.entry.js +2 -0
  1669. package/www/build/p-b99dd793.entry.js.map +1 -0
  1670. package/www/build/p-bb8037c4.entry.js +2 -0
  1671. package/www/build/p-bb8037c4.entry.js.map +1 -0
  1672. package/www/build/p-bc956e60.entry.js +2 -0
  1673. package/www/build/p-bc956e60.entry.js.map +1 -0
  1674. package/www/build/p-c0bfa87d.js +2 -0
  1675. package/www/build/p-c0bfa87d.js.map +1 -0
  1676. package/www/build/p-c2110712.entry.js +2 -0
  1677. package/www/build/p-c2110712.entry.js.map +1 -0
  1678. package/www/build/p-c49ca2a9.entry.js +2 -0
  1679. package/www/build/p-c49ca2a9.entry.js.map +1 -0
  1680. package/www/build/p-ca5975a3.js +2 -0
  1681. package/www/build/p-ca5975a3.js.map +1 -0
  1682. package/www/build/p-cc46f0ce.js +2 -0
  1683. package/www/build/p-cc46f0ce.js.map +1 -0
  1684. package/www/build/p-d973f170.entry.js +2 -0
  1685. package/www/build/p-d973f170.entry.js.map +1 -0
  1686. package/www/build/p-dd3cc9a7.entry.js +2 -0
  1687. package/www/build/p-dd3cc9a7.entry.js.map +1 -0
  1688. package/www/build/p-e3e48e64.entry.js +2 -0
  1689. package/www/build/p-e3e48e64.entry.js.map +1 -0
  1690. package/www/build/p-ebcf6b4d.entry.js +2 -0
  1691. package/www/build/p-ebcf6b4d.entry.js.map +1 -0
  1692. package/www/build/p-ed03b414.entry.js +2 -0
  1693. package/www/build/p-ed03b414.entry.js.map +1 -0
  1694. package/www/build/p-f0653be6.entry.js +2 -0
  1695. package/www/build/p-f0653be6.entry.js.map +1 -0
  1696. package/www/build/p-f088324c.entry.js +2 -0
  1697. package/www/build/p-f088324c.entry.js.map +1 -0
  1698. package/www/build/p-f76d0247.js +2 -0
  1699. package/www/build/p-f76d0247.js.map +1 -0
  1700. package/www/build/p-f97c093d.entry.js +2 -0
  1701. package/www/build/p-f97c093d.entry.js.map +1 -0
  1702. package/www/build/p-f9ddfc93.entry.js +2 -0
  1703. package/www/build/p-f9ddfc93.entry.js.map +1 -0
  1704. package/www/build/p-fa4a2862.entry.js +2 -0
  1705. package/www/build/p-fa4a2862.entry.js.map +1 -0
  1706. package/www/build/p-fe8d7642.entry.js +2 -0
  1707. package/www/build/p-fe8d7642.entry.js.map +1 -0
  1708. package/www/build/web-components-library.esm.js +2 -1
  1709. package/www/build/web-components-library.esm.js.map +1 -0
  1710. package/www/build/web-components-library.js +24 -24
  1711. package/www/index.html +1 -1
  1712. package/dist/cjs/_commonjsHelpers-537d719a.js +0 -20
  1713. package/dist/cjs/breakpoints-ebe1a437.js +0 -9
  1714. package/dist/cjs/hammer-4f20813e.js +0 -2650
  1715. package/dist/cjs/icons-d385b990.js +0 -862
  1716. package/dist/cjs/index-00b6f6ba.js +0 -20
  1717. package/dist/cjs/index-115387e6.js +0 -17
  1718. package/dist/cjs/index-195ca522.js +0 -2326
  1719. package/dist/cjs/index-20f305f7.js +0 -17
  1720. package/dist/cjs/index-23ca3837.js +0 -53
  1721. package/dist/cjs/index-270a4cf7.js +0 -22
  1722. package/dist/cjs/index-2b0eb1f0.js +0 -34
  1723. package/dist/cjs/index-4e41767c.js +0 -21
  1724. package/dist/cjs/index-53c72420.js +0 -79
  1725. package/dist/cjs/index-544902f0.js +0 -21
  1726. package/dist/cjs/index-bb84dc1c.js +0 -21
  1727. package/dist/cjs/index-cf9497bc.js +0 -344
  1728. package/dist/cjs/index-d30158ef.js +0 -67
  1729. package/dist/cjs/index-df08bc63.js +0 -29
  1730. package/dist/cjs/index-e3bf75bc.js +0 -41
  1731. package/dist/cjs/index-e78caf11.js +0 -74
  1732. package/dist/cjs/index-f64e5dfe.js +0 -17
  1733. package/dist/cjs/index-f6910e7f.js +0 -21
  1734. package/dist/cjs/utils-8335dca3.js +0 -2706
  1735. package/dist/cjs/utils-ee86db4f.js +0 -110
  1736. package/dist/esm/_commonjsHelpers-9943807e.js +0 -17
  1737. package/dist/esm/breakpoints-9b81eb1b.js +0 -5
  1738. package/dist/esm/hammer-c3266b17.js +0 -2648
  1739. package/dist/esm/icons-e3232103.js +0 -860
  1740. package/dist/esm/index-0a587f24.js +0 -51
  1741. package/dist/esm/index-0cdc998f.js +0 -19
  1742. package/dist/esm/index-361b27f9.js +0 -15
  1743. package/dist/esm/index-47f23745.js +0 -344
  1744. package/dist/esm/index-4968ce56.js +0 -2298
  1745. package/dist/esm/index-4d1853ea.js +0 -77
  1746. package/dist/esm/index-531501d7.js +0 -15
  1747. package/dist/esm/index-6161978d.js +0 -27
  1748. package/dist/esm/index-772a7413.js +0 -20
  1749. package/dist/esm/index-816801e5.js +0 -18
  1750. package/dist/esm/index-85dc8bc0.js +0 -32
  1751. package/dist/esm/index-88a23895.js +0 -19
  1752. package/dist/esm/index-8f7fd43f.js +0 -19
  1753. package/dist/esm/index-af5c6b4c.js +0 -15
  1754. package/dist/esm/index-dc50a9ae.js +0 -72
  1755. package/dist/esm/index-e6ee76f0.js +0 -39
  1756. package/dist/esm/index-fac1fe6c.js +0 -19
  1757. package/dist/esm/index-fb19ca57.js +0 -65
  1758. package/dist/esm/polyfills/css-shim.js +0 -1
  1759. package/dist/esm/utils-2a4ef29d.js +0 -100
  1760. package/dist/esm/utils-8e0bd81d.js +0 -2700
  1761. package/dist/web-components-library/p-01e2e8d4.entry.js +0 -1
  1762. package/dist/web-components-library/p-035fbb3e.entry.js +0 -1
  1763. package/dist/web-components-library/p-03b13390.entry.js +0 -1
  1764. package/dist/web-components-library/p-04b2ab0d.entry.js +0 -1
  1765. package/dist/web-components-library/p-06c94384.entry.js +0 -1
  1766. package/dist/web-components-library/p-100207d8.entry.js +0 -1
  1767. package/dist/web-components-library/p-1086a0fa.entry.js +0 -1
  1768. package/dist/web-components-library/p-112455b1.js +0 -1
  1769. package/dist/web-components-library/p-138bc87e.entry.js +0 -1
  1770. package/dist/web-components-library/p-13fc4378.js +0 -1
  1771. package/dist/web-components-library/p-15a606ce.entry.js +0 -1
  1772. package/dist/web-components-library/p-19876b0d.entry.js +0 -1
  1773. package/dist/web-components-library/p-1d805413.entry.js +0 -1
  1774. package/dist/web-components-library/p-29fa362c.entry.js +0 -1
  1775. package/dist/web-components-library/p-2cb45213.entry.js +0 -1
  1776. package/dist/web-components-library/p-33305cc8.entry.js +0 -1
  1777. package/dist/web-components-library/p-3636078a.entry.js +0 -1
  1778. package/dist/web-components-library/p-376f2928.entry.js +0 -1
  1779. package/dist/web-components-library/p-392899e9.entry.js +0 -1
  1780. package/dist/web-components-library/p-39b7ad4f.entry.js +0 -1
  1781. package/dist/web-components-library/p-3bb2d909.entry.js +0 -1
  1782. package/dist/web-components-library/p-485fd3db.entry.js +0 -1
  1783. package/dist/web-components-library/p-49f4e9a0.entry.js +0 -1
  1784. package/dist/web-components-library/p-4d0d5d93.entry.js +0 -1
  1785. package/dist/web-components-library/p-50f78a81.entry.js +0 -1
  1786. package/dist/web-components-library/p-5338cc37.entry.js +0 -1
  1787. package/dist/web-components-library/p-571b55dc.js +0 -1
  1788. package/dist/web-components-library/p-57c6d414.entry.js +0 -1
  1789. package/dist/web-components-library/p-5944a8f2.entry.js +0 -1
  1790. package/dist/web-components-library/p-5c177ba5.entry.js +0 -1
  1791. package/dist/web-components-library/p-5c63b09c.entry.js +0 -1
  1792. package/dist/web-components-library/p-5d19e5ef.entry.js +0 -1
  1793. package/dist/web-components-library/p-5d274fcc.entry.js +0 -1
  1794. package/dist/web-components-library/p-5f202970.entry.js +0 -1
  1795. package/dist/web-components-library/p-5fd3ed9c.entry.js +0 -1
  1796. package/dist/web-components-library/p-61c00383.entry.js +0 -1
  1797. package/dist/web-components-library/p-68410ea2.js +0 -1
  1798. package/dist/web-components-library/p-6a4403c6.entry.js +0 -1
  1799. package/dist/web-components-library/p-6ed0aaab.entry.js +0 -1
  1800. package/dist/web-components-library/p-7426f322.js +0 -1
  1801. package/dist/web-components-library/p-7588fbf0.js +0 -1
  1802. package/dist/web-components-library/p-7907bdf7.entry.js +0 -1
  1803. package/dist/web-components-library/p-7b990086.js +0 -1
  1804. package/dist/web-components-library/p-8053b752.entry.js +0 -1
  1805. package/dist/web-components-library/p-80e52459.js +0 -1
  1806. package/dist/web-components-library/p-81006561.js +0 -2
  1807. package/dist/web-components-library/p-86758f78.entry.js +0 -1
  1808. package/dist/web-components-library/p-8a45ae2a.entry.js +0 -1
  1809. package/dist/web-components-library/p-8c31e60b.entry.js +0 -1
  1810. package/dist/web-components-library/p-9021c92a.js +0 -1
  1811. package/dist/web-components-library/p-94afe4dd.entry.js +0 -1
  1812. package/dist/web-components-library/p-9508cd3e.js +0 -1
  1813. package/dist/web-components-library/p-95370f75.js +0 -1
  1814. package/dist/web-components-library/p-958b8d86.entry.js +0 -1
  1815. package/dist/web-components-library/p-96fc8078.entry.js +0 -1
  1816. package/dist/web-components-library/p-98204840.entry.js +0 -1
  1817. package/dist/web-components-library/p-98badafc.js +0 -1
  1818. package/dist/web-components-library/p-9b0bcd43.entry.js +0 -1
  1819. package/dist/web-components-library/p-9c1ed1e8.entry.js +0 -1
  1820. package/dist/web-components-library/p-9ff2fc8e.entry.js +0 -1
  1821. package/dist/web-components-library/p-a01baa71.js +0 -1
  1822. package/dist/web-components-library/p-a1663ab1.entry.js +0 -1
  1823. package/dist/web-components-library/p-a3587fd6.entry.js +0 -16
  1824. package/dist/web-components-library/p-a4502b1e.entry.js +0 -1
  1825. package/dist/web-components-library/p-a48e5c46.entry.js +0 -1
  1826. package/dist/web-components-library/p-a50262e8.entry.js +0 -1
  1827. package/dist/web-components-library/p-a862a070.entry.js +0 -1
  1828. package/dist/web-components-library/p-a9d2edee.entry.js +0 -1
  1829. package/dist/web-components-library/p-acb89afa.entry.js +0 -1
  1830. package/dist/web-components-library/p-b2527ca1.entry.js +0 -1
  1831. package/dist/web-components-library/p-b497e33e.js +0 -1
  1832. package/dist/web-components-library/p-b99039ed.js +0 -1
  1833. package/dist/web-components-library/p-c298cb2f.js +0 -1
  1834. package/dist/web-components-library/p-c6e7991f.entry.js +0 -1
  1835. package/dist/web-components-library/p-c9bc5148.js +0 -1
  1836. package/dist/web-components-library/p-ca472d1c.entry.js +0 -1
  1837. package/dist/web-components-library/p-cbb670c5.js +0 -1
  1838. package/dist/web-components-library/p-cc009af8.entry.js +0 -1
  1839. package/dist/web-components-library/p-cd561d69.js +0 -1
  1840. package/dist/web-components-library/p-d2946762.entry.js +0 -1
  1841. package/dist/web-components-library/p-db0a64af.js +0 -1
  1842. package/dist/web-components-library/p-dc854830.entry.js +0 -1
  1843. package/dist/web-components-library/p-dd4fc386.entry.js +0 -1
  1844. package/dist/web-components-library/p-de5688e9.entry.js +0 -1
  1845. package/dist/web-components-library/p-decbd59d.entry.js +0 -1
  1846. package/dist/web-components-library/p-e43e61ac.js +0 -7
  1847. package/dist/web-components-library/p-e54d4ef9.entry.js +0 -1
  1848. package/dist/web-components-library/p-e7c6d651.entry.js +0 -1
  1849. package/dist/web-components-library/p-ed42ceca.entry.js +0 -1
  1850. package/dist/web-components-library/p-f058316f.entry.js +0 -1
  1851. package/dist/web-components-library/p-f14105c6.entry.js +0 -1
  1852. package/dist/web-components-library/p-f3cc3f27.entry.js +0 -1
  1853. package/dist/web-components-library/p-f46fa177.entry.js +0 -1
  1854. package/dist/web-components-library/p-f4e2e76b.entry.js +0 -1
  1855. package/dist/web-components-library/p-f5ae1514.entry.js +0 -1
  1856. package/dist/web-components-library/p-f5bc7dda.entry.js +0 -1
  1857. package/dist/web-components-library/p-f8383e14.entry.js +0 -1
  1858. package/dist/web-components-library/p-f976f29f.js +0 -1
  1859. package/dist/web-components-library/p-f9873cb9.entry.js +0 -1
  1860. package/dist/web-components-library/p-fd58b7a2.entry.js +0 -1
  1861. package/dist/web-components-library/p-fde82dc3.js +0 -1
  1862. package/dist/web-components-library/p-ff5a6e34.entry.js +0 -1
  1863. package/dist/web-components-library/p-ffde06d1.entry.js +0 -1
  1864. package/www/build/p-01e2e8d4.entry.js +0 -1
  1865. package/www/build/p-035fbb3e.entry.js +0 -1
  1866. package/www/build/p-03b13390.entry.js +0 -1
  1867. package/www/build/p-04b2ab0d.entry.js +0 -1
  1868. package/www/build/p-06c94384.entry.js +0 -1
  1869. package/www/build/p-100207d8.entry.js +0 -1
  1870. package/www/build/p-1086a0fa.entry.js +0 -1
  1871. package/www/build/p-112455b1.js +0 -1
  1872. package/www/build/p-138bc87e.entry.js +0 -1
  1873. package/www/build/p-13fc4378.js +0 -1
  1874. package/www/build/p-15a606ce.entry.js +0 -1
  1875. package/www/build/p-19876b0d.entry.js +0 -1
  1876. package/www/build/p-1d805413.entry.js +0 -1
  1877. package/www/build/p-29fa362c.entry.js +0 -1
  1878. package/www/build/p-2cb45213.entry.js +0 -1
  1879. package/www/build/p-33305cc8.entry.js +0 -1
  1880. package/www/build/p-3636078a.entry.js +0 -1
  1881. package/www/build/p-376f2928.entry.js +0 -1
  1882. package/www/build/p-392899e9.entry.js +0 -1
  1883. package/www/build/p-39b7ad4f.entry.js +0 -1
  1884. package/www/build/p-3bb2d909.entry.js +0 -1
  1885. package/www/build/p-485fd3db.entry.js +0 -1
  1886. package/www/build/p-49f4e9a0.entry.js +0 -1
  1887. package/www/build/p-4d0d5d93.entry.js +0 -1
  1888. package/www/build/p-50f78a81.entry.js +0 -1
  1889. package/www/build/p-5338cc37.entry.js +0 -1
  1890. package/www/build/p-571b55dc.js +0 -1
  1891. package/www/build/p-57c6d414.entry.js +0 -1
  1892. package/www/build/p-5944a8f2.entry.js +0 -1
  1893. package/www/build/p-5c177ba5.entry.js +0 -1
  1894. package/www/build/p-5c63b09c.entry.js +0 -1
  1895. package/www/build/p-5d19e5ef.entry.js +0 -1
  1896. package/www/build/p-5d274fcc.entry.js +0 -1
  1897. package/www/build/p-5f202970.entry.js +0 -1
  1898. package/www/build/p-5fd3ed9c.entry.js +0 -1
  1899. package/www/build/p-61c00383.entry.js +0 -1
  1900. package/www/build/p-68410ea2.js +0 -1
  1901. package/www/build/p-6a4403c6.entry.js +0 -1
  1902. package/www/build/p-6ed0aaab.entry.js +0 -1
  1903. package/www/build/p-7426f322.js +0 -1
  1904. package/www/build/p-7588fbf0.js +0 -1
  1905. package/www/build/p-7907bdf7.entry.js +0 -1
  1906. package/www/build/p-7b990086.js +0 -1
  1907. package/www/build/p-8053b752.entry.js +0 -1
  1908. package/www/build/p-80e52459.js +0 -1
  1909. package/www/build/p-81006561.js +0 -2
  1910. package/www/build/p-86758f78.entry.js +0 -1
  1911. package/www/build/p-8a45ae2a.entry.js +0 -1
  1912. package/www/build/p-8c31e60b.entry.js +0 -1
  1913. package/www/build/p-9021c92a.js +0 -1
  1914. package/www/build/p-94afe4dd.entry.js +0 -1
  1915. package/www/build/p-9508cd3e.js +0 -1
  1916. package/www/build/p-95370f75.js +0 -1
  1917. package/www/build/p-958b8d86.entry.js +0 -1
  1918. package/www/build/p-96fc8078.entry.js +0 -1
  1919. package/www/build/p-98204840.entry.js +0 -1
  1920. package/www/build/p-98badafc.js +0 -1
  1921. package/www/build/p-9b0bcd43.entry.js +0 -1
  1922. package/www/build/p-9c1ed1e8.entry.js +0 -1
  1923. package/www/build/p-9ff2fc8e.entry.js +0 -1
  1924. package/www/build/p-a01baa71.js +0 -1
  1925. package/www/build/p-a1663ab1.entry.js +0 -1
  1926. package/www/build/p-a3587fd6.entry.js +0 -16
  1927. package/www/build/p-a4502b1e.entry.js +0 -1
  1928. package/www/build/p-a48e5c46.entry.js +0 -1
  1929. package/www/build/p-a50262e8.entry.js +0 -1
  1930. package/www/build/p-a862a070.entry.js +0 -1
  1931. package/www/build/p-a9d2edee.entry.js +0 -1
  1932. package/www/build/p-acb89afa.entry.js +0 -1
  1933. package/www/build/p-b2527ca1.entry.js +0 -1
  1934. package/www/build/p-b497e33e.js +0 -1
  1935. package/www/build/p-b99039ed.js +0 -1
  1936. package/www/build/p-c298cb2f.js +0 -1
  1937. package/www/build/p-c6e7991f.entry.js +0 -1
  1938. package/www/build/p-c9bc5148.js +0 -1
  1939. package/www/build/p-ca472d1c.entry.js +0 -1
  1940. package/www/build/p-cbb670c5.js +0 -1
  1941. package/www/build/p-cc009af8.entry.js +0 -1
  1942. package/www/build/p-cd561d69.js +0 -1
  1943. package/www/build/p-d2946762.entry.js +0 -1
  1944. package/www/build/p-db0a64af.js +0 -1
  1945. package/www/build/p-dc854830.entry.js +0 -1
  1946. package/www/build/p-dd4fc386.entry.js +0 -1
  1947. package/www/build/p-de5688e9.entry.js +0 -1
  1948. package/www/build/p-decbd59d.entry.js +0 -1
  1949. package/www/build/p-e43e61ac.js +0 -7
  1950. package/www/build/p-e54d4ef9.entry.js +0 -1
  1951. package/www/build/p-e7c6d651.entry.js +0 -1
  1952. package/www/build/p-ed42ceca.entry.js +0 -1
  1953. package/www/build/p-f058316f.entry.js +0 -1
  1954. package/www/build/p-f14105c6.entry.js +0 -1
  1955. package/www/build/p-f3cc3f27.entry.js +0 -1
  1956. package/www/build/p-f46fa177.entry.js +0 -1
  1957. package/www/build/p-f4e2e76b.entry.js +0 -1
  1958. package/www/build/p-f5ae1514.entry.js +0 -1
  1959. package/www/build/p-f5bc7dda.entry.js +0 -1
  1960. package/www/build/p-f8383e14.entry.js +0 -1
  1961. package/www/build/p-f976f29f.js +0 -1
  1962. package/www/build/p-f9873cb9.entry.js +0 -1
  1963. package/www/build/p-fd58b7a2.entry.js +0 -1
  1964. package/www/build/p-fde82dc3.js +0 -1
  1965. package/www/build/p-ff5a6e34.entry.js +0 -1
  1966. package/www/build/p-ffde06d1.entry.js +0 -1
@@ -0,0 +1,3174 @@
1
+ const NAMESPACE = 'web-components-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
+ * Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
36
+ *
37
+ * Two cascading rules must be used instead of a `:not()` selector due to Stencil browser
38
+ * support as of Stencil v4.
39
+ */
40
+ const SLOT_FB_CSS = 'slot-fb{display:contents}slot-fb[hidden]{display:none}';
41
+ const XLINK_NS = 'http://www.w3.org/1999/xlink';
42
+ /**
43
+ * Default style mode id
44
+ */
45
+ /**
46
+ * Reusable empty obj/array
47
+ * Don't add values to these!!
48
+ */
49
+ const EMPTY_OBJ = {};
50
+ /**
51
+ * Namespaces
52
+ */
53
+ const SVG_NS = 'http://www.w3.org/2000/svg';
54
+ const HTML_NS = 'http://www.w3.org/1999/xhtml';
55
+ const isDef = (v) => v != null;
56
+ /**
57
+ * Check whether a value is a 'complex type', defined here as an object or a
58
+ * function.
59
+ *
60
+ * @param o the value to check
61
+ * @returns whether it's a complex type or not
62
+ */
63
+ const isComplexType = (o) => {
64
+ // https://jsperf.com/typeof-fn-object/5
65
+ o = typeof o;
66
+ return o === 'object' || o === 'function';
67
+ };
68
+ /**
69
+ * Helper method for querying a `meta` tag that contains a nonce value
70
+ * out of a DOM's head.
71
+ *
72
+ * @param doc The DOM containing the `head` to query against
73
+ * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
74
+ * exists or the tag has no content.
75
+ */
76
+ function queryNonceMetaTagContent(doc) {
77
+ var _a, _b, _c;
78
+ 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;
79
+ }
80
+ /**
81
+ * Production h() function based on Preact by
82
+ * Jason Miller (@developit)
83
+ * Licensed under the MIT License
84
+ * https://github.com/developit/preact/blob/master/LICENSE
85
+ *
86
+ * Modified for Stencil's compiler and vdom
87
+ */
88
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
89
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
90
+ const h = (nodeName, vnodeData, ...children) => {
91
+ let child = null;
92
+ let key = null;
93
+ let slotName = null;
94
+ let simple = false;
95
+ let lastSimple = false;
96
+ const vNodeChildren = [];
97
+ const walk = (c) => {
98
+ for (let i = 0; i < c.length; i++) {
99
+ child = c[i];
100
+ if (Array.isArray(child)) {
101
+ walk(child);
102
+ }
103
+ else if (child != null && typeof child !== 'boolean') {
104
+ if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {
105
+ child = String(child);
106
+ }
107
+ if (simple && lastSimple) {
108
+ // If the previous child was simple (string), we merge both
109
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
110
+ }
111
+ else {
112
+ // Append a new vNode, if it's text, we create a text vNode
113
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
114
+ }
115
+ lastSimple = simple;
116
+ }
117
+ }
118
+ };
119
+ walk(children);
120
+ if (vnodeData) {
121
+ if (vnodeData.key) {
122
+ key = vnodeData.key;
123
+ }
124
+ if (vnodeData.name) {
125
+ slotName = vnodeData.name;
126
+ }
127
+ // normalize class / className attributes
128
+ {
129
+ const classData = vnodeData.className || vnodeData.class;
130
+ if (classData) {
131
+ vnodeData.class =
132
+ typeof classData !== 'object'
133
+ ? classData
134
+ : Object.keys(classData)
135
+ .filter((k) => classData[k])
136
+ .join(' ');
137
+ }
138
+ }
139
+ }
140
+ const vnode = newVNode(nodeName, null);
141
+ vnode.$attrs$ = vnodeData;
142
+ if (vNodeChildren.length > 0) {
143
+ vnode.$children$ = vNodeChildren;
144
+ }
145
+ {
146
+ vnode.$key$ = key;
147
+ }
148
+ {
149
+ vnode.$name$ = slotName;
150
+ }
151
+ return vnode;
152
+ };
153
+ /**
154
+ * A utility function for creating a virtual DOM node from a tag and some
155
+ * possible text content.
156
+ *
157
+ * @param tag the tag for this element
158
+ * @param text possible text content for the node
159
+ * @returns a newly-minted virtual DOM node
160
+ */
161
+ const newVNode = (tag, text) => {
162
+ const vnode = {
163
+ $flags$: 0,
164
+ $tag$: tag,
165
+ $text$: text,
166
+ $elm$: null,
167
+ $children$: null,
168
+ };
169
+ {
170
+ vnode.$attrs$ = null;
171
+ }
172
+ {
173
+ vnode.$key$ = null;
174
+ }
175
+ {
176
+ vnode.$name$ = null;
177
+ }
178
+ return vnode;
179
+ };
180
+ const Host = {};
181
+ /**
182
+ * Check whether a given node is a Host node or not
183
+ *
184
+ * @param node the virtual DOM node to check
185
+ * @returns whether it's a Host node or not
186
+ */
187
+ const isHost = (node) => node && node.$tag$ === Host;
188
+ /**
189
+ * Parse a new property value for a given property type.
190
+ *
191
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
192
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
193
+ * 1. `any`, the type given to `propValue` in the function signature
194
+ * 2. the type stored from `propType`.
195
+ *
196
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
197
+ *
198
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
199
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
200
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
201
+ * ```tsx
202
+ * <my-cmp prop-val={0}></my-cmp>
203
+ * ```
204
+ *
205
+ * HTML prop values on the other hand, will always a string
206
+ *
207
+ * @param propValue the new value to coerce to some type
208
+ * @param propType the type of the prop, expressed as a binary number
209
+ * @returns the parsed/coerced value
210
+ */
211
+ const parsePropertyValue = (propValue, propType) => {
212
+ // ensure this value is of the correct prop type
213
+ if (propValue != null && !isComplexType(propValue)) {
214
+ if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
215
+ // per the HTML spec, any string value means it is a boolean true value
216
+ // but we'll cheat here and say that the string "false" is the boolean false
217
+ return propValue === 'false' ? false : propValue === '' || !!propValue;
218
+ }
219
+ if (propType & 2 /* MEMBER_FLAGS.Number */) {
220
+ // force it to be a number
221
+ return parseFloat(propValue);
222
+ }
223
+ if (propType & 1 /* MEMBER_FLAGS.String */) {
224
+ // could have been passed as a number or boolean
225
+ // but we still want it as a string
226
+ return String(propValue);
227
+ }
228
+ // redundant return here for better minification
229
+ return propValue;
230
+ }
231
+ // not sure exactly what type we want
232
+ // so no need to change to a different type
233
+ return propValue;
234
+ };
235
+ const getElement = (ref) => (getHostRef(ref).$hostElement$ );
236
+ const createEvent = (ref, name, flags) => {
237
+ const elm = getElement(ref);
238
+ return {
239
+ emit: (detail) => {
240
+ return emitEvent(elm, name, {
241
+ bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
242
+ composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
243
+ cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
244
+ detail,
245
+ });
246
+ },
247
+ };
248
+ };
249
+ /**
250
+ * Helper function to create & dispatch a custom Event on a provided target
251
+ * @param elm the target of the Event
252
+ * @param name the name to give the custom Event
253
+ * @param opts options for configuring a custom Event
254
+ * @returns the custom Event
255
+ */
256
+ const emitEvent = (elm, name, opts) => {
257
+ const ev = plt.ce(name, opts);
258
+ elm.dispatchEvent(ev);
259
+ return ev;
260
+ };
261
+ const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
262
+ const registerStyle = (scopeId, cssText, allowCS) => {
263
+ let style = styles.get(scopeId);
264
+ if (supportsConstructableStylesheets && allowCS) {
265
+ style = (style || new CSSStyleSheet());
266
+ if (typeof style === 'string') {
267
+ style = cssText;
268
+ }
269
+ else {
270
+ style.replaceSync(cssText);
271
+ }
272
+ }
273
+ else {
274
+ style = cssText;
275
+ }
276
+ styles.set(scopeId, style);
277
+ };
278
+ const addStyle = (styleContainerNode, cmpMeta, mode) => {
279
+ var _a;
280
+ const scopeId = getScopeId(cmpMeta);
281
+ const style = styles.get(scopeId);
282
+ // if an element is NOT connected then getRootNode() will return the wrong root node
283
+ // so the fallback is to always use the document for the root node in those cases
284
+ styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
285
+ if (style) {
286
+ if (typeof style === 'string') {
287
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
288
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
289
+ let styleElm;
290
+ if (!appliedStyles) {
291
+ rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
292
+ }
293
+ if (!appliedStyles.has(scopeId)) {
294
+ {
295
+ styleElm = doc.createElement('style');
296
+ styleElm.innerHTML = style;
297
+ // Apply CSP nonce to the style tag if it exists
298
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
299
+ if (nonce != null) {
300
+ styleElm.setAttribute('nonce', nonce);
301
+ }
302
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
303
+ }
304
+ // Add styles for `slot-fb` elements if we're using slots outside the Shadow DOM
305
+ if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
306
+ styleElm.innerHTML += SLOT_FB_CSS;
307
+ }
308
+ if (appliedStyles) {
309
+ appliedStyles.add(scopeId);
310
+ }
311
+ }
312
+ }
313
+ else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
314
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
315
+ }
316
+ }
317
+ return scopeId;
318
+ };
319
+ const attachStyles = (hostRef) => {
320
+ const cmpMeta = hostRef.$cmpMeta$;
321
+ const elm = hostRef.$hostElement$;
322
+ const flags = cmpMeta.$flags$;
323
+ const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
324
+ const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
325
+ if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
326
+ // only required when we're NOT using native shadow dom (slot)
327
+ // or this browser doesn't support native shadow dom
328
+ // and this host element was NOT created with SSR
329
+ // let's pick out the inner content for slot projection
330
+ // create a node to represent where the original
331
+ // content was first placed, which is useful later on
332
+ // DOM WRITE!!
333
+ elm['s-sc'] = scopeId;
334
+ elm.classList.add(scopeId + '-h');
335
+ if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
336
+ elm.classList.add(scopeId + '-s');
337
+ }
338
+ }
339
+ endAttachStyles();
340
+ };
341
+ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
342
+ /**
343
+ * Production setAccessor() function based on Preact by
344
+ * Jason Miller (@developit)
345
+ * Licensed under the MIT License
346
+ * https://github.com/developit/preact/blob/master/LICENSE
347
+ *
348
+ * Modified for Stencil's compiler and vdom
349
+ */
350
+ /**
351
+ * When running a VDom render set properties present on a VDom node onto the
352
+ * corresponding HTML element.
353
+ *
354
+ * Note that this function has special functionality for the `class`,
355
+ * `style`, `key`, and `ref` attributes, as well as event handlers (like
356
+ * `onClick`, etc). All others are just passed through as-is.
357
+ *
358
+ * @param elm the HTMLElement onto which attributes should be set
359
+ * @param memberName the name of the attribute to set
360
+ * @param oldValue the old value for the attribute
361
+ * @param newValue the new value for the attribute
362
+ * @param isSvg whether we're in an svg context or not
363
+ * @param flags bitflags for Vdom variables
364
+ */
365
+ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
366
+ if (oldValue !== newValue) {
367
+ let isProp = isMemberInElement(elm, memberName);
368
+ let ln = memberName.toLowerCase();
369
+ if (memberName === 'class') {
370
+ const classList = elm.classList;
371
+ const oldClasses = parseClassList(oldValue);
372
+ const newClasses = parseClassList(newValue);
373
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
374
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
375
+ }
376
+ else if (memberName === 'style') {
377
+ // update style attribute, css properties and values
378
+ {
379
+ for (const prop in oldValue) {
380
+ if (!newValue || newValue[prop] == null) {
381
+ if (prop.includes('-')) {
382
+ elm.style.removeProperty(prop);
383
+ }
384
+ else {
385
+ elm.style[prop] = '';
386
+ }
387
+ }
388
+ }
389
+ }
390
+ for (const prop in newValue) {
391
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
392
+ if (prop.includes('-')) {
393
+ elm.style.setProperty(prop, newValue[prop]);
394
+ }
395
+ else {
396
+ elm.style[prop] = newValue[prop];
397
+ }
398
+ }
399
+ }
400
+ }
401
+ else if (memberName === 'key')
402
+ ;
403
+ else if (memberName === 'ref') {
404
+ // minifier will clean this up
405
+ if (newValue) {
406
+ newValue(elm);
407
+ }
408
+ }
409
+ else if ((!isProp ) &&
410
+ memberName[0] === 'o' &&
411
+ memberName[1] === 'n') {
412
+ // Event Handlers
413
+ // so if the member name starts with "on" and the 3rd characters is
414
+ // a capital letter, and it's not already a member on the element,
415
+ // then we're assuming it's an event listener
416
+ if (memberName[2] === '-') {
417
+ // on- prefixed events
418
+ // allows to be explicit about the dom event to listen without any magic
419
+ // under the hood:
420
+ // <my-cmp on-click> // listens for "click"
421
+ // <my-cmp on-Click> // listens for "Click"
422
+ // <my-cmp on-ionChange> // listens for "ionChange"
423
+ // <my-cmp on-EVENTS> // listens for "EVENTS"
424
+ memberName = memberName.slice(3);
425
+ }
426
+ else if (isMemberInElement(win, ln)) {
427
+ // standard event
428
+ // the JSX attribute could have been "onMouseOver" and the
429
+ // member name "onmouseover" is on the window's prototype
430
+ // so let's add the listener "mouseover", which is all lowercased
431
+ memberName = ln.slice(2);
432
+ }
433
+ else {
434
+ // custom event
435
+ // the JSX attribute could have been "onMyCustomEvent"
436
+ // so let's trim off the "on" prefix and lowercase the first character
437
+ // and add the listener "myCustomEvent"
438
+ // except for the first character, we keep the event name case
439
+ memberName = ln[2] + memberName.slice(3);
440
+ }
441
+ if (oldValue || newValue) {
442
+ // Need to account for "capture" events.
443
+ // If the event name ends with "Capture", we'll update the name to remove
444
+ // the "Capture" suffix and make sure the event listener is setup to handle the capture event.
445
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
446
+ // Make sure we only replace the last instance of "Capture"
447
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, '');
448
+ if (oldValue) {
449
+ plt.rel(elm, memberName, oldValue, capture);
450
+ }
451
+ if (newValue) {
452
+ plt.ael(elm, memberName, newValue, capture);
453
+ }
454
+ }
455
+ }
456
+ else {
457
+ // Set property if it exists and it's not a SVG
458
+ const isComplex = isComplexType(newValue);
459
+ if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
460
+ try {
461
+ if (!elm.tagName.includes('-')) {
462
+ const n = newValue == null ? '' : newValue;
463
+ // Workaround for Safari, moving the <input> caret when re-assigning the same valued
464
+ if (memberName === 'list') {
465
+ isProp = false;
466
+ }
467
+ else if (oldValue == null || elm[memberName] != n) {
468
+ elm[memberName] = n;
469
+ }
470
+ }
471
+ else {
472
+ elm[memberName] = newValue;
473
+ }
474
+ }
475
+ catch (e) {
476
+ /**
477
+ * in case someone tries to set a read-only property, e.g. "namespaceURI", we just ignore it
478
+ */
479
+ }
480
+ }
481
+ /**
482
+ * Need to manually update attribute if:
483
+ * - memberName is not an attribute
484
+ * - if we are rendering the host element in order to reflect attribute
485
+ * - if it's a SVG, since properties might not work in <svg>
486
+ * - if the newValue is null/undefined or 'false'.
487
+ */
488
+ let xlink = false;
489
+ {
490
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ''))) {
491
+ memberName = ln;
492
+ xlink = true;
493
+ }
494
+ }
495
+ if (newValue == null || newValue === false) {
496
+ if (newValue !== false || elm.getAttribute(memberName) === '') {
497
+ if (xlink) {
498
+ elm.removeAttributeNS(XLINK_NS, memberName);
499
+ }
500
+ else {
501
+ elm.removeAttribute(memberName);
502
+ }
503
+ }
504
+ }
505
+ else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
506
+ newValue = newValue === true ? '' : newValue;
507
+ if (xlink) {
508
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
509
+ }
510
+ else {
511
+ elm.setAttribute(memberName, newValue);
512
+ }
513
+ }
514
+ }
515
+ }
516
+ };
517
+ const parseClassListRegex = /\s/;
518
+ /**
519
+ * Parsed a string of classnames into an array
520
+ * @param value className string, e.g. "foo bar baz"
521
+ * @returns list of classes, e.g. ["foo", "bar", "baz"]
522
+ */
523
+ const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
524
+ const CAPTURE_EVENT_SUFFIX = 'Capture';
525
+ const CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + '$');
526
+ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
527
+ // if the element passed in is a shadow root, which is a document fragment
528
+ // then we want to be adding attrs/props to the shadow root's "host" element
529
+ // if it's not a shadow root, then we add attrs/props to the same element
530
+ const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
531
+ ? newVnode.$elm$.host
532
+ : newVnode.$elm$;
533
+ const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
534
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
535
+ {
536
+ // remove attributes no longer present on the vnode by setting them to undefined
537
+ for (memberName in oldVnodeAttrs) {
538
+ if (!(memberName in newVnodeAttrs)) {
539
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
540
+ }
541
+ }
542
+ }
543
+ // add new & update changed attributes
544
+ for (memberName in newVnodeAttrs) {
545
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
546
+ }
547
+ };
548
+ /**
549
+ * Create a DOM Node corresponding to one of the children of a given VNode.
550
+ *
551
+ * @param oldParentVNode the parent VNode from the previous render
552
+ * @param newParentVNode the parent VNode from the current render
553
+ * @param childIndex the index of the VNode, in the _new_ parent node's
554
+ * children, for which we will create a new DOM node
555
+ * @param parentElm the parent DOM node which our new node will be a child of
556
+ * @returns the newly created node
557
+ */
558
+ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
559
+ // tslint:disable-next-line: prefer-const
560
+ const newVNode = newParentVNode.$children$[childIndex];
561
+ let i = 0;
562
+ let elm;
563
+ let childNode;
564
+ let oldVNode;
565
+ if (!useNativeShadowDom) {
566
+ // remember for later we need to check to relocate nodes
567
+ checkSlotRelocate = true;
568
+ if (newVNode.$tag$ === 'slot') {
569
+ if (scopeId) {
570
+ // scoped css needs to add its scoped id to the parent element
571
+ parentElm.classList.add(scopeId + '-s');
572
+ }
573
+ newVNode.$flags$ |= newVNode.$children$
574
+ ? // slot element has fallback content
575
+ 2 /* VNODE_FLAGS.isSlotFallback */
576
+ : // slot element does not have fallback content
577
+ 1 /* VNODE_FLAGS.isSlotReference */;
578
+ }
579
+ }
580
+ if (newVNode.$text$ !== null) {
581
+ // create text node
582
+ elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
583
+ }
584
+ else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
585
+ // create a slot reference node
586
+ elm = newVNode.$elm$ =
587
+ doc.createTextNode('');
588
+ }
589
+ else {
590
+ if (!isSvgMode) {
591
+ isSvgMode = newVNode.$tag$ === 'svg';
592
+ }
593
+ // create element
594
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
595
+ ? 'slot-fb'
596
+ : newVNode.$tag$)
597
+ );
598
+ if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
599
+ isSvgMode = false;
600
+ }
601
+ // add css classes, attrs, props, listeners, etc.
602
+ {
603
+ updateElement(null, newVNode, isSvgMode);
604
+ }
605
+ if (isDef(scopeId) && elm['s-si'] !== scopeId) {
606
+ // if there is a scopeId and this is the initial render
607
+ // then let's add the scopeId as a css class
608
+ elm.classList.add((elm['s-si'] = scopeId));
609
+ }
610
+ if (newVNode.$children$) {
611
+ for (i = 0; i < newVNode.$children$.length; ++i) {
612
+ // create the node
613
+ childNode = createElm(oldParentVNode, newVNode, i, elm);
614
+ // return node could have been null
615
+ if (childNode) {
616
+ // append our new node
617
+ elm.appendChild(childNode);
618
+ }
619
+ }
620
+ }
621
+ {
622
+ if (newVNode.$tag$ === 'svg') {
623
+ // Only reset the SVG context when we're exiting <svg> element
624
+ isSvgMode = false;
625
+ }
626
+ else if (elm.tagName === 'foreignObject') {
627
+ // Reenter SVG context when we're exiting <foreignObject> element
628
+ isSvgMode = true;
629
+ }
630
+ }
631
+ }
632
+ // This needs to always happen so we can hide nodes that are projected
633
+ // to another component but don't end up in a slot
634
+ elm['s-hn'] = hostTagName;
635
+ {
636
+ if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
637
+ // remember the content reference comment
638
+ elm['s-sr'] = true;
639
+ // remember the content reference comment
640
+ elm['s-cr'] = contentRef;
641
+ // remember the slot name, or empty string for default slot
642
+ elm['s-sn'] = newVNode.$name$ || '';
643
+ // check if we've got an old vnode for this slot
644
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
645
+ if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
646
+ {
647
+ // we've got an old slot vnode and the wrapper is being replaced
648
+ // so let's move the old slot content to the root of the element currently being rendered
649
+ relocateToHostRoot(oldParentVNode.$elm$);
650
+ }
651
+ }
652
+ }
653
+ }
654
+ return elm;
655
+ };
656
+ /**
657
+ * Relocates all child nodes of an element that were a part of a previous slot relocation
658
+ * to the root of the Stencil component currently being rendered. This happens when a parent
659
+ * element of a slot reference node dynamically changes and triggers a re-render. We cannot use
660
+ * `putBackInOriginalLocation()` because that may relocate nodes to elements that will not be re-rendered
661
+ * and so they will not be relocated again.
662
+ *
663
+ * @param parentElm The element potentially containing relocated nodes.
664
+ */
665
+ const relocateToHostRoot = (parentElm) => {
666
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
667
+ const host = parentElm.closest(hostTagName.toLowerCase());
668
+ if (host != null) {
669
+ const contentRefNode = Array.from(host.childNodes).find((ref) => ref['s-cr']);
670
+ const childNodeArray = Array.from(parentElm.childNodes);
671
+ // If we have a content ref, we need to invert the order of the nodes we're relocating
672
+ // to preserve the correct order of elements in the DOM on future relocations
673
+ for (const childNode of contentRefNode ? childNodeArray.reverse() : childNodeArray) {
674
+ // Only relocate nodes that were slotted in
675
+ if (childNode['s-sh'] != null) {
676
+ host.insertBefore(childNode, contentRefNode !== null && contentRefNode !== void 0 ? contentRefNode : null);
677
+ // Reset so we can correctly move the node around again.
678
+ childNode['s-sh'] = undefined;
679
+ // Need to tell the render pipeline to check to relocate slot content again
680
+ checkSlotRelocate = true;
681
+ }
682
+ }
683
+ }
684
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
685
+ };
686
+ const putBackInOriginalLocation = (parentElm, recursive) => {
687
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
688
+ const oldSlotChildNodes = parentElm.childNodes;
689
+ for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
690
+ const childNode = oldSlotChildNodes[i];
691
+ if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {
692
+ // and relocate it back to it's original location
693
+ parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));
694
+ // remove the old original location comment entirely
695
+ // later on the patch function will know what to do
696
+ // and move this to the correct spot if need be
697
+ childNode['s-ol'].remove();
698
+ childNode['s-ol'] = undefined;
699
+ // Reset so we can correctly move the node around again.
700
+ childNode['s-sh'] = undefined;
701
+ checkSlotRelocate = true;
702
+ }
703
+ if (recursive) {
704
+ putBackInOriginalLocation(childNode, recursive);
705
+ }
706
+ }
707
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
708
+ };
709
+ /**
710
+ * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
711
+ * add them to the DOM in the appropriate place.
712
+ *
713
+ * @param parentElm the DOM node which should be used as a parent for the new
714
+ * DOM nodes
715
+ * @param before a child of the `parentElm` which the new children should be
716
+ * inserted before (optional)
717
+ * @param parentVNode the parent virtual DOM node
718
+ * @param vnodes the new child virtual DOM nodes to produce DOM nodes for
719
+ * @param startIdx the index in the child virtual DOM nodes at which to start
720
+ * creating DOM nodes (inclusive)
721
+ * @param endIdx the index in the child virtual DOM nodes at which to stop
722
+ * creating DOM nodes (inclusive)
723
+ */
724
+ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
725
+ let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
726
+ let childNode;
727
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
728
+ containerElm = containerElm.shadowRoot;
729
+ }
730
+ for (; startIdx <= endIdx; ++startIdx) {
731
+ if (vnodes[startIdx]) {
732
+ childNode = createElm(null, parentVNode, startIdx, parentElm);
733
+ if (childNode) {
734
+ vnodes[startIdx].$elm$ = childNode;
735
+ containerElm.insertBefore(childNode, referenceNode(before) );
736
+ }
737
+ }
738
+ }
739
+ };
740
+ /**
741
+ * Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
742
+ * This can be used to, for instance, clean up after a list of children which
743
+ * should no longer be shown.
744
+ *
745
+ * This function also handles some of Stencil's slot relocation logic.
746
+ *
747
+ * @param vnodes a list of virtual DOM nodes to remove
748
+ * @param startIdx the index at which to start removing nodes (inclusive)
749
+ * @param endIdx the index at which to stop removing nodes (inclusive)
750
+ */
751
+ const removeVnodes = (vnodes, startIdx, endIdx) => {
752
+ for (let index = startIdx; index <= endIdx; ++index) {
753
+ const vnode = vnodes[index];
754
+ if (vnode) {
755
+ const elm = vnode.$elm$;
756
+ nullifyVNodeRefs(vnode);
757
+ if (elm) {
758
+ {
759
+ // we're removing this element
760
+ // so it's possible we need to show slot fallback content now
761
+ checkSlotFallbackVisibility = true;
762
+ if (elm['s-ol']) {
763
+ // remove the original location comment
764
+ elm['s-ol'].remove();
765
+ }
766
+ else {
767
+ // it's possible that child nodes of the node
768
+ // that's being removed are slot nodes
769
+ putBackInOriginalLocation(elm, true);
770
+ }
771
+ }
772
+ // remove the vnode's element from the dom
773
+ elm.remove();
774
+ }
775
+ }
776
+ }
777
+ };
778
+ /**
779
+ * Reconcile the children of a new VNode with the children of an old VNode by
780
+ * traversing the two collections of children, identifying nodes that are
781
+ * conserved or changed, calling out to `patch` to make any necessary
782
+ * updates to the DOM, and rearranging DOM nodes as needed.
783
+ *
784
+ * The algorithm for reconciling children works by analyzing two 'windows' onto
785
+ * the two arrays of children (`oldCh` and `newCh`). We keep track of the
786
+ * 'windows' by storing start and end indices and references to the
787
+ * corresponding array entries. Initially the two 'windows' are basically equal
788
+ * to the entire array, but we progressively narrow the windows until there are
789
+ * no children left to update by doing the following:
790
+ *
791
+ * 1. Skip any `null` entries at the beginning or end of the two arrays, so
792
+ * that if we have an initial array like the following we'll end up dealing
793
+ * only with a window bounded by the highlighted elements:
794
+ *
795
+ * [null, null, VNode1 , ... , VNode2, null, null]
796
+ * ^^^^^^ ^^^^^^
797
+ *
798
+ * 2. Check to see if the elements at the head and tail positions are equal
799
+ * across the windows. This will basically detect elements which haven't
800
+ * been added, removed, or changed position, i.e. if you had the following
801
+ * VNode elements (represented as HTML):
802
+ *
803
+ * oldVNode: `<div><p><span>HEY</span></p></div>`
804
+ * newVNode: `<div><p><span>THERE</span></p></div>`
805
+ *
806
+ * Then when comparing the children of the `<div>` tag we check the equality
807
+ * of the VNodes corresponding to the `<p>` tags and, since they are the
808
+ * same tag in the same position, we'd be able to avoid completely
809
+ * re-rendering the subtree under them with a new DOM element and would just
810
+ * call out to `patch` to handle reconciling their children and so on.
811
+ *
812
+ * 3. Check, for both windows, to see if the element at the beginning of the
813
+ * window corresponds to the element at the end of the other window. This is
814
+ * a heuristic which will let us identify _some_ situations in which
815
+ * elements have changed position, for instance it _should_ detect that the
816
+ * children nodes themselves have not changed but merely moved in the
817
+ * following example:
818
+ *
819
+ * oldVNode: `<div><element-one /><element-two /></div>`
820
+ * newVNode: `<div><element-two /><element-one /></div>`
821
+ *
822
+ * If we find cases like this then we also need to move the concrete DOM
823
+ * elements corresponding to the moved children to write the re-order to the
824
+ * DOM.
825
+ *
826
+ * 4. Finally, if VNodes have the `key` attribute set on them we check for any
827
+ * nodes in the old children which have the same key as the first element in
828
+ * our window on the new children. If we find such a node we handle calling
829
+ * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
830
+ * what we find.
831
+ *
832
+ * Finally, once we've narrowed our 'windows' to the point that either of them
833
+ * collapse (i.e. they have length 0) we then handle any remaining VNode
834
+ * insertion or deletion that needs to happen to get a DOM state that correctly
835
+ * reflects the new child VNodes. If, for instance, after our window on the old
836
+ * children has collapsed we still have more nodes on the new children that
837
+ * we haven't dealt with yet then we need to add them, or if the new children
838
+ * collapse but we still have unhandled _old_ children then we need to make
839
+ * sure the corresponding DOM nodes are removed.
840
+ *
841
+ * @param parentElm the node into which the parent VNode is rendered
842
+ * @param oldCh the old children of the parent node
843
+ * @param newVNode the new VNode which will replace the parent
844
+ * @param newCh the new children of the parent node
845
+ * @param isInitialRender whether or not this is the first render of the vdom
846
+ */
847
+ const updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = false) => {
848
+ let oldStartIdx = 0;
849
+ let newStartIdx = 0;
850
+ let idxInOld = 0;
851
+ let i = 0;
852
+ let oldEndIdx = oldCh.length - 1;
853
+ let oldStartVnode = oldCh[0];
854
+ let oldEndVnode = oldCh[oldEndIdx];
855
+ let newEndIdx = newCh.length - 1;
856
+ let newStartVnode = newCh[0];
857
+ let newEndVnode = newCh[newEndIdx];
858
+ let node;
859
+ let elmToMove;
860
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
861
+ if (oldStartVnode == null) {
862
+ // VNode might have been moved left
863
+ oldStartVnode = oldCh[++oldStartIdx];
864
+ }
865
+ else if (oldEndVnode == null) {
866
+ oldEndVnode = oldCh[--oldEndIdx];
867
+ }
868
+ else if (newStartVnode == null) {
869
+ newStartVnode = newCh[++newStartIdx];
870
+ }
871
+ else if (newEndVnode == null) {
872
+ newEndVnode = newCh[--newEndIdx];
873
+ }
874
+ else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
875
+ // if the start nodes are the same then we should patch the new VNode
876
+ // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
877
+ // indices to reflect that. We don't need to move any DOM Nodes around
878
+ // since things are matched up in order.
879
+ patch(oldStartVnode, newStartVnode, isInitialRender);
880
+ oldStartVnode = oldCh[++oldStartIdx];
881
+ newStartVnode = newCh[++newStartIdx];
882
+ }
883
+ else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
884
+ // likewise, if the end nodes are the same we patch new onto old and
885
+ // decrement our end indices, and also likewise in this case we don't
886
+ // need to move any DOM Nodes.
887
+ patch(oldEndVnode, newEndVnode, isInitialRender);
888
+ oldEndVnode = oldCh[--oldEndIdx];
889
+ newEndVnode = newCh[--newEndIdx];
890
+ }
891
+ else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
892
+ // case: "Vnode moved right"
893
+ //
894
+ // We've found that the last node in our window on the new children is
895
+ // the same VNode as the _first_ node in our window on the old children
896
+ // we're dealing with now. Visually, this is the layout of these two
897
+ // nodes:
898
+ //
899
+ // newCh: [..., newStartVnode , ... , newEndVnode , ...]
900
+ // ^^^^^^^^^^^
901
+ // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
902
+ // ^^^^^^^^^^^^^
903
+ //
904
+ // In this situation we need to patch `newEndVnode` onto `oldStartVnode`
905
+ // and move the DOM element for `oldStartVnode`.
906
+ if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
907
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
908
+ }
909
+ patch(oldStartVnode, newEndVnode, isInitialRender);
910
+ // We need to move the element for `oldStartVnode` into a position which
911
+ // will be appropriate for `newEndVnode`. For this we can use
912
+ // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
913
+ // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
914
+ // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
915
+ //
916
+ // <old-start-node />
917
+ // <some-intervening-node />
918
+ // <old-end-node />
919
+ // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
920
+ // <next-sibling />
921
+ //
922
+ // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
923
+ // the node for `oldStartVnode` at the end of the children of
924
+ // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
925
+ // aren't any siblings, and passing `null` to `Node.insertBefore` will
926
+ // append it to the children of the parent element.
927
+ parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
928
+ oldStartVnode = oldCh[++oldStartIdx];
929
+ newEndVnode = newCh[--newEndIdx];
930
+ }
931
+ else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
932
+ // case: "Vnode moved left"
933
+ //
934
+ // We've found that the first node in our window on the new children is
935
+ // the same VNode as the _last_ node in our window on the old children.
936
+ // Visually, this is the layout of these two nodes:
937
+ //
938
+ // newCh: [..., newStartVnode , ... , newEndVnode , ...]
939
+ // ^^^^^^^^^^^^^
940
+ // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
941
+ // ^^^^^^^^^^^
942
+ //
943
+ // In this situation we need to patch `newStartVnode` onto `oldEndVnode`
944
+ // (which will handle updating any changed attributes, reconciling their
945
+ // children etc) but we also need to move the DOM node to which
946
+ // `oldEndVnode` corresponds.
947
+ if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
948
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
949
+ }
950
+ patch(oldEndVnode, newStartVnode, isInitialRender);
951
+ // We've already checked above if `oldStartVnode` and `newStartVnode` are
952
+ // the same node, so since we're here we know that they are not. Thus we
953
+ // can move the element for `oldEndVnode` _before_ the element for
954
+ // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
955
+ // future.
956
+ parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
957
+ oldEndVnode = oldCh[--oldEndIdx];
958
+ newStartVnode = newCh[++newStartIdx];
959
+ }
960
+ else {
961
+ // Here we do some checks to match up old and new nodes based on the
962
+ // `$key$` attribute, which is set by putting a `key="my-key"` attribute
963
+ // in the JSX for a DOM element in the implementation of a Stencil
964
+ // component.
965
+ //
966
+ // First we check to see if there are any nodes in the array of old
967
+ // children which have the same key as the first node in the new
968
+ // children.
969
+ idxInOld = -1;
970
+ {
971
+ for (i = oldStartIdx; i <= oldEndIdx; ++i) {
972
+ if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
973
+ idxInOld = i;
974
+ break;
975
+ }
976
+ }
977
+ }
978
+ if (idxInOld >= 0) {
979
+ // We found a node in the old children which matches up with the first
980
+ // node in the new children! So let's deal with that
981
+ elmToMove = oldCh[idxInOld];
982
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
983
+ // the tag doesn't match so we'll need a new DOM element
984
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
985
+ }
986
+ else {
987
+ patch(elmToMove, newStartVnode, isInitialRender);
988
+ // invalidate the matching old node so that we won't try to update it
989
+ // again later on
990
+ oldCh[idxInOld] = undefined;
991
+ node = elmToMove.$elm$;
992
+ }
993
+ newStartVnode = newCh[++newStartIdx];
994
+ }
995
+ else {
996
+ // We either didn't find an element in the old children that matches
997
+ // the key of the first new child OR the build is not using `key`
998
+ // attributes at all. In either case we need to create a new element
999
+ // for the new node.
1000
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
1001
+ newStartVnode = newCh[++newStartIdx];
1002
+ }
1003
+ if (node) {
1004
+ // if we created a new node then handle inserting it to the DOM
1005
+ {
1006
+ parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
1007
+ }
1008
+ }
1009
+ }
1010
+ }
1011
+ if (oldStartIdx > oldEndIdx) {
1012
+ // we have some more new nodes to add which don't match up with old nodes
1013
+ addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
1014
+ }
1015
+ else if (newStartIdx > newEndIdx) {
1016
+ // there are nodes in the `oldCh` array which no longer correspond to nodes
1017
+ // in the new array, so lets remove them (which entails cleaning up the
1018
+ // relevant DOM nodes)
1019
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
1020
+ }
1021
+ };
1022
+ /**
1023
+ * Compare two VNodes to determine if they are the same
1024
+ *
1025
+ * **NB**: This function is an equality _heuristic_ based on the available
1026
+ * information set on the two VNodes and can be misleading under certain
1027
+ * circumstances. In particular, if the two nodes do not have `key` attrs
1028
+ * (available under `$key$` on VNodes) then the function falls back on merely
1029
+ * checking that they have the same tag.
1030
+ *
1031
+ * So, in other words, if `key` attrs are not set on VNodes which may be
1032
+ * changing order within a `children` array or something along those lines then
1033
+ * we could obtain a false negative and then have to do needless re-rendering
1034
+ * (i.e. we'd say two VNodes aren't equal when in fact they should be).
1035
+ *
1036
+ * @param leftVNode the first VNode to check
1037
+ * @param rightVNode the second VNode to check
1038
+ * @param isInitialRender whether or not this is the first render of the vdom
1039
+ * @returns whether they're equal or not
1040
+ */
1041
+ const isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
1042
+ // compare if two vnode to see if they're "technically" the same
1043
+ // need to have the same element tag, and same key to be the same
1044
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
1045
+ if (leftVNode.$tag$ === 'slot') {
1046
+ return leftVNode.$name$ === rightVNode.$name$;
1047
+ }
1048
+ // this will be set if JSX tags in the build have `key` attrs set on them
1049
+ // we only want to check this if we're not on the first render since on
1050
+ // first render `leftVNode.$key$` will always be `null`, so we can be led
1051
+ // astray and, for instance, accidentally delete a DOM node that we want to
1052
+ // keep around.
1053
+ if (!isInitialRender) {
1054
+ return leftVNode.$key$ === rightVNode.$key$;
1055
+ }
1056
+ return true;
1057
+ }
1058
+ return false;
1059
+ };
1060
+ const referenceNode = (node) => {
1061
+ // this node was relocated to a new location in the dom
1062
+ // because of some other component's slot
1063
+ // but we still have an html comment in place of where
1064
+ // it's original location was according to it's original vdom
1065
+ return (node && node['s-ol']) || node;
1066
+ };
1067
+ const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
1068
+ /**
1069
+ * Handle reconciling an outdated VNode with a new one which corresponds to
1070
+ * it. This function handles flushing updates to the DOM and reconciling the
1071
+ * children of the two nodes (if any).
1072
+ *
1073
+ * @param oldVNode an old VNode whose DOM element and children we want to update
1074
+ * @param newVNode a new VNode representing an updated version of the old one
1075
+ * @param isInitialRender whether or not this is the first render of the vdom
1076
+ */
1077
+ const patch = (oldVNode, newVNode, isInitialRender = false) => {
1078
+ const elm = (newVNode.$elm$ = oldVNode.$elm$);
1079
+ const oldChildren = oldVNode.$children$;
1080
+ const newChildren = newVNode.$children$;
1081
+ const tag = newVNode.$tag$;
1082
+ const text = newVNode.$text$;
1083
+ let defaultHolder;
1084
+ if (text === null) {
1085
+ {
1086
+ // test if we're rendering an svg element, or still rendering nodes inside of one
1087
+ // only add this to the when the compiler sees we're using an svg somewhere
1088
+ isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
1089
+ }
1090
+ {
1091
+ if (tag === 'slot' && !useNativeShadowDom) {
1092
+ if (oldVNode.$name$ !== newVNode.$name$) {
1093
+ newVNode.$elm$['s-sn'] = newVNode.$name$ || '';
1094
+ relocateToHostRoot(newVNode.$elm$.parentElement);
1095
+ }
1096
+ }
1097
+ else {
1098
+ // either this is the first render of an element OR it's an update
1099
+ // AND we already know it's possible it could have changed
1100
+ // this updates the element's css classes, attrs, props, listeners, etc.
1101
+ updateElement(oldVNode, newVNode, isSvgMode);
1102
+ }
1103
+ }
1104
+ if (oldChildren !== null && newChildren !== null) {
1105
+ // looks like there's child vnodes for both the old and new vnodes
1106
+ // so we need to call `updateChildren` to reconcile them
1107
+ updateChildren(elm, oldChildren, newVNode, newChildren, isInitialRender);
1108
+ }
1109
+ else if (newChildren !== null) {
1110
+ // no old child vnodes, but there are new child vnodes to add
1111
+ if (oldVNode.$text$ !== null) {
1112
+ // the old vnode was text, so be sure to clear it out
1113
+ elm.textContent = '';
1114
+ }
1115
+ // add the new vnode children
1116
+ addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);
1117
+ }
1118
+ else if (oldChildren !== null) {
1119
+ // no new child vnodes, but there are old child vnodes to remove
1120
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
1121
+ }
1122
+ if (isSvgMode && tag === 'svg') {
1123
+ isSvgMode = false;
1124
+ }
1125
+ }
1126
+ else if ((defaultHolder = elm['s-cr'])) {
1127
+ // this element has slotted content
1128
+ defaultHolder.parentNode.textContent = text;
1129
+ }
1130
+ else if (oldVNode.$text$ !== text) {
1131
+ // update the text content for the text only vnode
1132
+ // and also only if the text is different than before
1133
+ elm.data = text;
1134
+ }
1135
+ };
1136
+ /**
1137
+ * Adjust the `.hidden` property as-needed on any nodes in a DOM subtree which
1138
+ * are slot fallbacks nodes.
1139
+ *
1140
+ * A slot fallback node should be visible by default. Then, it should be
1141
+ * conditionally hidden if:
1142
+ *
1143
+ * - it has a sibling with a `slot` property set to its slot name or if
1144
+ * - it is a default fallback slot node, in which case we hide if it has any
1145
+ * content
1146
+ *
1147
+ * @param elm the element of interest
1148
+ */
1149
+ const updateFallbackSlotVisibility = (elm) => {
1150
+ const childNodes = elm.childNodes;
1151
+ for (const childNode of childNodes) {
1152
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1153
+ if (childNode['s-sr']) {
1154
+ // this is a slot fallback node
1155
+ // get the slot name for this slot reference node
1156
+ const slotName = childNode['s-sn'];
1157
+ // by default always show a fallback slot node
1158
+ // then hide it if there are other slots in the light dom
1159
+ childNode.hidden = false;
1160
+ // we need to check all of its sibling nodes in order to see if
1161
+ // `childNode` should be hidden
1162
+ for (const siblingNode of childNodes) {
1163
+ // Don't check the node against itself
1164
+ if (siblingNode !== childNode) {
1165
+ if (siblingNode['s-hn'] !== childNode['s-hn'] || slotName !== '') {
1166
+ // this sibling node is from a different component OR is a named
1167
+ // fallback slot node
1168
+ if (siblingNode.nodeType === 1 /* NODE_TYPE.ElementNode */ &&
1169
+ (slotName === siblingNode.getAttribute('slot') || slotName === siblingNode['s-sn'])) {
1170
+ childNode.hidden = true;
1171
+ break;
1172
+ }
1173
+ }
1174
+ else {
1175
+ // this is a default fallback slot node
1176
+ // any element or text node (with content)
1177
+ // should hide the default fallback slot node
1178
+ if (siblingNode.nodeType === 1 /* NODE_TYPE.ElementNode */ ||
1179
+ (siblingNode.nodeType === 3 /* NODE_TYPE.TextNode */ && siblingNode.textContent.trim() !== '')) {
1180
+ childNode.hidden = true;
1181
+ break;
1182
+ }
1183
+ }
1184
+ }
1185
+ }
1186
+ }
1187
+ // keep drilling down
1188
+ updateFallbackSlotVisibility(childNode);
1189
+ }
1190
+ }
1191
+ };
1192
+ /**
1193
+ * Component-global information about nodes which are either currently being
1194
+ * relocated or will be shortly.
1195
+ */
1196
+ const relocateNodes = [];
1197
+ /**
1198
+ * Mark the contents of a slot for relocation via adding references to them to
1199
+ * the {@link relocateNodes} data structure. The actual work of relocating them
1200
+ * will then be handled in {@link renderVdom}.
1201
+ *
1202
+ * @param elm a render node whose child nodes need to be relocated
1203
+ */
1204
+ const markSlotContentForRelocation = (elm) => {
1205
+ // tslint:disable-next-line: prefer-const
1206
+ let node;
1207
+ let hostContentNodes;
1208
+ let j;
1209
+ for (const childNode of elm.childNodes) {
1210
+ // we need to find child nodes which are slot references so we can then try
1211
+ // to match them up with nodes that need to be relocated
1212
+ if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
1213
+ // first get the content reference comment node ('s-cr'), then we get
1214
+ // its parent, which is where all the host content is now
1215
+ hostContentNodes = node.parentNode.childNodes;
1216
+ const slotName = childNode['s-sn'];
1217
+ // iterate through all the nodes under the location where the host was
1218
+ // originally rendered
1219
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
1220
+ node = hostContentNodes[j];
1221
+ // check that the node is not a content reference node or a node
1222
+ // reference and then check that the host name does not match that of
1223
+ // childNode.
1224
+ // In addition, check that the slot either has not already been relocated, or
1225
+ // that its current location's host is not childNode's host. This is essentially
1226
+ // a check so that we don't try to relocate (and then hide) a node that is already
1227
+ // where it should be.
1228
+ if (!node['s-cn'] &&
1229
+ !node['s-nr'] &&
1230
+ node['s-hn'] !== childNode['s-hn'] &&
1231
+ (!node['s-sh'] || node['s-sh'] !== childNode['s-hn'])) {
1232
+ // if `node` is located in the slot that `childNode` refers to (via the
1233
+ // `'s-sn'` property) then we need to relocate it from it's current spot
1234
+ // (under the host element parent) to the right slot location
1235
+ if (isNodeLocatedInSlot(node, slotName)) {
1236
+ // it's possible we've already decided to relocate this node
1237
+ let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1238
+ // made some changes to slots
1239
+ // let's make sure we also double check
1240
+ // fallbacks are correctly hidden or shown
1241
+ checkSlotFallbackVisibility = true;
1242
+ // ensure that the slot-name attr is correct
1243
+ node['s-sn'] = node['s-sn'] || slotName;
1244
+ if (relocateNodeData) {
1245
+ relocateNodeData.$nodeToRelocate$['s-sh'] = childNode['s-hn'];
1246
+ // we marked this node for relocation previously but didn't find
1247
+ // out the slot reference node to which it needs to be relocated
1248
+ // so write it down now!
1249
+ relocateNodeData.$slotRefNode$ = childNode;
1250
+ }
1251
+ else {
1252
+ node['s-sh'] = childNode['s-hn'];
1253
+ // add to our list of nodes to relocate
1254
+ relocateNodes.push({
1255
+ $slotRefNode$: childNode,
1256
+ $nodeToRelocate$: node,
1257
+ });
1258
+ }
1259
+ if (node['s-sr']) {
1260
+ relocateNodes.map((relocateNode) => {
1261
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
1262
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1263
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
1264
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1265
+ }
1266
+ }
1267
+ });
1268
+ }
1269
+ }
1270
+ else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1271
+ // the node is not found within the slot (`childNode`) that we're
1272
+ // currently looking at, so we stick it into `relocateNodes` to
1273
+ // handle later. If we never find a home for this element then
1274
+ // we'll need to hide it
1275
+ relocateNodes.push({
1276
+ $nodeToRelocate$: node,
1277
+ });
1278
+ }
1279
+ }
1280
+ }
1281
+ }
1282
+ // if we're dealing with any type of element (capable of itself being a
1283
+ // slot reference or containing one) then we recur
1284
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1285
+ markSlotContentForRelocation(childNode);
1286
+ }
1287
+ }
1288
+ };
1289
+ /**
1290
+ * Check whether a node is located in a given named slot.
1291
+ *
1292
+ * @param nodeToRelocate the node of interest
1293
+ * @param slotName the slot name to check
1294
+ * @returns whether the node is located in the slot or not
1295
+ */
1296
+ const isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
1297
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1298
+ if (nodeToRelocate.getAttribute('slot') === null && slotName === '') {
1299
+ // if the node doesn't have a slot attribute, and the slot we're checking
1300
+ // is not a named slot, then we assume the node should be within the slot
1301
+ return true;
1302
+ }
1303
+ if (nodeToRelocate.getAttribute('slot') === slotName) {
1304
+ return true;
1305
+ }
1306
+ return false;
1307
+ }
1308
+ if (nodeToRelocate['s-sn'] === slotName) {
1309
+ return true;
1310
+ }
1311
+ return slotName === '';
1312
+ };
1313
+ /**
1314
+ * 'Nullify' any VDom `ref` callbacks on a VDom node or its children by calling
1315
+ * them with `null`. This signals that the DOM element corresponding to the VDom
1316
+ * node has been removed from the DOM.
1317
+ *
1318
+ * @param vNode a virtual DOM node
1319
+ */
1320
+ const nullifyVNodeRefs = (vNode) => {
1321
+ {
1322
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1323
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
1324
+ }
1325
+ };
1326
+ /**
1327
+ * The main entry point for Stencil's virtual DOM-based rendering engine
1328
+ *
1329
+ * Given a {@link d.HostRef} container and some virtual DOM nodes, this
1330
+ * function will handle creating a virtual DOM tree with a single root, patching
1331
+ * the current virtual DOM tree onto an old one (if any), dealing with slot
1332
+ * relocation, and reflecting attributes.
1333
+ *
1334
+ * @param hostRef data needed to root and render the virtual DOM tree, such as
1335
+ * the DOM node into which it should be rendered.
1336
+ * @param renderFnResults the virtual DOM nodes to be rendered
1337
+ * @param isInitialLoad whether or not this is the first call after page load
1338
+ */
1339
+ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1340
+ var _a, _b, _c, _d;
1341
+ const hostElm = hostRef.$hostElement$;
1342
+ const cmpMeta = hostRef.$cmpMeta$;
1343
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1344
+ // if `renderFnResults` is a Host node then we can use it directly. If not,
1345
+ // we need to call `h` again to wrap the children of our component in a
1346
+ // 'dummy' Host node (well, an empty vnode) since `renderVdom` assumes
1347
+ // implicitly that the top-level vdom node is 1) an only child and 2)
1348
+ // contains attrs that need to be set on the host element.
1349
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1350
+ hostTagName = hostElm.tagName;
1351
+ if (cmpMeta.$attrsToReflect$) {
1352
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1353
+ cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
1354
+ }
1355
+ // On the first render and *only* on the first render we want to check for
1356
+ // any attributes set on the host element which are also set on the vdom
1357
+ // node. If we find them, we override the value on the VDom node attrs with
1358
+ // the value from the host element, which allows developers building apps
1359
+ // with Stencil components to override e.g. the `role` attribute on a
1360
+ // component even if it's already set on the `Host`.
1361
+ if (isInitialLoad && rootVnode.$attrs$) {
1362
+ for (const key of Object.keys(rootVnode.$attrs$)) {
1363
+ // We have a special implementation in `setAccessor` for `style` and
1364
+ // `class` which reconciles values coming from the VDom with values
1365
+ // already present on the DOM element, so we don't want to override those
1366
+ // attributes on the VDom tree with values from the host element if they
1367
+ // are present.
1368
+ //
1369
+ // Likewise, `ref` and `key` are special internal values for the Stencil
1370
+ // runtime and we don't want to override those either.
1371
+ if (hostElm.hasAttribute(key) && !['key', 'ref', 'style', 'class'].includes(key)) {
1372
+ rootVnode.$attrs$[key] = hostElm[key];
1373
+ }
1374
+ }
1375
+ }
1376
+ rootVnode.$tag$ = null;
1377
+ rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
1378
+ hostRef.$vnode$ = rootVnode;
1379
+ rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
1380
+ {
1381
+ scopeId = hostElm['s-sc'];
1382
+ }
1383
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
1384
+ {
1385
+ contentRef = hostElm['s-cr'];
1386
+ // always reset
1387
+ checkSlotFallbackVisibility = false;
1388
+ }
1389
+ // synchronous patch
1390
+ patch(oldVNode, rootVnode, isInitialLoad);
1391
+ {
1392
+ // while we're moving nodes around existing nodes, temporarily disable
1393
+ // the disconnectCallback from working
1394
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1395
+ if (checkSlotRelocate) {
1396
+ markSlotContentForRelocation(rootVnode.$elm$);
1397
+ for (const relocateData of relocateNodes) {
1398
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1399
+ if (!nodeToRelocate['s-ol']) {
1400
+ // add a reference node marking this node's original location
1401
+ // keep a reference to this node for later lookups
1402
+ const orgLocationNode = doc.createTextNode('');
1403
+ orgLocationNode['s-nr'] = nodeToRelocate;
1404
+ nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
1405
+ }
1406
+ }
1407
+ for (const relocateData of relocateNodes) {
1408
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1409
+ const slotRefNode = relocateData.$slotRefNode$;
1410
+ if (slotRefNode) {
1411
+ const parentNodeRef = slotRefNode.parentNode;
1412
+ // When determining where to insert content, the most simple case would be
1413
+ // to relocate the node immediately following the slot reference node. We do this
1414
+ // by getting a reference to the node immediately following the slot reference node
1415
+ // since we will use `insertBefore` to manipulate the DOM.
1416
+ //
1417
+ // If there is no node immediately following the slot reference node, then we will just
1418
+ // end up appending the node as the last child of the parent.
1419
+ let insertBeforeNode = slotRefNode.nextSibling;
1420
+ // If the node we're currently planning on inserting the new node before is an element,
1421
+ // we need to do some additional checks to make sure we're inserting the node in the correct order.
1422
+ // The use case here would be that we have multiple nodes being relocated to the same slot. So, we want
1423
+ // to make sure they get inserted into their new how in the same order they were declared in their original location.
1424
+ //
1425
+ // TODO(STENCIL-914): Remove `experimentalSlotFixes` check
1426
+ if ((insertBeforeNode && insertBeforeNode.nodeType === 1 /* NODE_TYPE.ElementNode */)) {
1427
+ let orgLocationNode = (_a = nodeToRelocate['s-ol']) === null || _a === void 0 ? void 0 : _a.previousSibling;
1428
+ while (orgLocationNode) {
1429
+ let refNode = (_b = orgLocationNode['s-nr']) !== null && _b !== void 0 ? _b : null;
1430
+ if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {
1431
+ refNode = refNode.nextSibling;
1432
+ if (!refNode || !refNode['s-nr']) {
1433
+ insertBeforeNode = refNode;
1434
+ break;
1435
+ }
1436
+ }
1437
+ orgLocationNode = orgLocationNode.previousSibling;
1438
+ }
1439
+ }
1440
+ if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
1441
+ nodeToRelocate.nextSibling !== insertBeforeNode) {
1442
+ // we've checked that it's worth while to relocate
1443
+ // since that the node to relocate
1444
+ // has a different next sibling or parent relocated
1445
+ if (nodeToRelocate !== insertBeforeNode) {
1446
+ // Add it back to the dom but in its new home
1447
+ // If we get to this point and `insertBeforeNode` is `null`, that means
1448
+ // we're just going to append the node as the last child of the parent. Passing
1449
+ // `null` as the second arg here will trigger that behavior.
1450
+ parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
1451
+ // Reset the `hidden` value back to what it was defined as originally
1452
+ // This solves a problem where a `slot` is dynamically rendered and `hidden` may have
1453
+ // been set on content originally, but now it has a slot to go to so it should have
1454
+ // the value it was defined as having in the DOM, not what we overrode it to.
1455
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1456
+ nodeToRelocate.hidden = (_c = nodeToRelocate['s-ih']) !== null && _c !== void 0 ? _c : false;
1457
+ }
1458
+ }
1459
+ }
1460
+ }
1461
+ else {
1462
+ // this node doesn't have a slot home to go to, so let's hide it
1463
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1464
+ // Store the initial value of `hidden` so we can reset it later when
1465
+ // moving nodes around.
1466
+ if (isInitialLoad) {
1467
+ nodeToRelocate['s-ih'] = (_d = nodeToRelocate.hidden) !== null && _d !== void 0 ? _d : false;
1468
+ }
1469
+ nodeToRelocate.hidden = true;
1470
+ }
1471
+ }
1472
+ }
1473
+ }
1474
+ if (checkSlotFallbackVisibility) {
1475
+ updateFallbackSlotVisibility(rootVnode.$elm$);
1476
+ }
1477
+ // done moving nodes around
1478
+ // allow the disconnect callback to work again
1479
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1480
+ // always reset
1481
+ relocateNodes.length = 0;
1482
+ }
1483
+ // Clear the content ref so we don't create a memory leak
1484
+ contentRef = undefined;
1485
+ };
1486
+ const attachToAncestor = (hostRef, ancestorComponent) => {
1487
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
1488
+ ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
1489
+ }
1490
+ };
1491
+ const scheduleUpdate = (hostRef, isInitialLoad) => {
1492
+ {
1493
+ hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
1494
+ }
1495
+ if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
1496
+ hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
1497
+ return;
1498
+ }
1499
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1500
+ // there is no ancestor component or the ancestor component
1501
+ // has already fired off its lifecycle update then
1502
+ // fire off the initial update
1503
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1504
+ return writeTask(dispatch) ;
1505
+ };
1506
+ /**
1507
+ * Dispatch initial-render and update lifecycle hooks, enqueuing calls to
1508
+ * component lifecycle methods like `componentWillLoad` as well as
1509
+ * {@link updateComponent}, which will kick off the virtual DOM re-render.
1510
+ *
1511
+ * @param hostRef a reference to a host DOM node
1512
+ * @param isInitialLoad whether we're on the initial load or not
1513
+ * @returns an empty Promise which is used to enqueue a series of operations for
1514
+ * the component
1515
+ */
1516
+ const dispatchHooks = (hostRef, isInitialLoad) => {
1517
+ const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
1518
+ const instance = hostRef.$lazyInstance$ ;
1519
+ // We're going to use this variable together with `enqueue` to implement a
1520
+ // little promise-based queue. We start out with it `undefined`. When we add
1521
+ // the first function to the queue we'll set this variable to be that
1522
+ // function's return value. When we attempt to add subsequent values to the
1523
+ // queue we'll check that value and, if it was a `Promise`, we'll then chain
1524
+ // the new function off of that `Promise` using `.then()`. This will give our
1525
+ // queue two nice properties:
1526
+ //
1527
+ // 1. If all functions added to the queue are synchronous they'll be called
1528
+ // synchronously right away.
1529
+ // 2. If all functions added to the queue are asynchronous they'll all be
1530
+ // called in order after `dispatchHooks` exits.
1531
+ let maybePromise;
1532
+ if (isInitialLoad) {
1533
+ {
1534
+ hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
1535
+ if (hostRef.$queuedListeners$) {
1536
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1537
+ hostRef.$queuedListeners$ = undefined;
1538
+ }
1539
+ }
1540
+ {
1541
+ // If `componentWillLoad` returns a `Promise` then we want to wait on
1542
+ // whatever's going on in that `Promise` before we launch into
1543
+ // rendering the component, doing other lifecycle stuff, etc. So
1544
+ // in that case we assign the returned promise to the variable we
1545
+ // declared above to hold a possible 'queueing' Promise
1546
+ maybePromise = safeCall(instance, 'componentWillLoad');
1547
+ }
1548
+ }
1549
+ else {
1550
+ {
1551
+ // Like `componentWillLoad` above, we allow Stencil component
1552
+ // authors to return a `Promise` from this lifecycle callback, and
1553
+ // we specify that our runtime will wait for that `Promise` to
1554
+ // resolve before the component re-renders. So if the method
1555
+ // returns a `Promise` we need to keep it around!
1556
+ maybePromise = safeCall(instance, 'componentWillUpdate');
1557
+ }
1558
+ }
1559
+ {
1560
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, 'componentWillRender'));
1561
+ }
1562
+ endSchedule();
1563
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1564
+ };
1565
+ /**
1566
+ * This function uses a Promise to implement a simple first-in, first-out queue
1567
+ * of functions to be called.
1568
+ *
1569
+ * The queue is ordered on the basis of the first argument. If it's
1570
+ * `undefined`, then nothing is on the queue yet, so the provided function can
1571
+ * be called synchronously (although note that this function may return a
1572
+ * `Promise`). The idea is that then the return value of that enqueueing
1573
+ * operation is kept around, so that if it was a `Promise` then subsequent
1574
+ * functions can be enqueued by calling this function again with that `Promise`
1575
+ * as the first argument.
1576
+ *
1577
+ * @param maybePromise either a `Promise` which should resolve before the next function is called or an 'empty' sentinel
1578
+ * @param fn a function to enqueue
1579
+ * @returns either a `Promise` or the return value of the provided function
1580
+ */
1581
+ const enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn) : fn();
1582
+ /**
1583
+ * Check that a value is a `Promise`. To check, we first see if the value is an
1584
+ * instance of the `Promise` global. In a few circumstances, in particular if
1585
+ * the global has been overwritten, this is could be misleading, so we also do
1586
+ * a little 'duck typing' check to see if the `.then` property of the value is
1587
+ * defined and a function.
1588
+ *
1589
+ * @param maybePromise it might be a promise!
1590
+ * @returns whether it is or not
1591
+ */
1592
+ const isPromisey = (maybePromise) => maybePromise instanceof Promise ||
1593
+ (maybePromise && maybePromise.then && typeof maybePromise.then === 'function');
1594
+ /**
1595
+ * Update a component given reference to its host elements and so on.
1596
+ *
1597
+ * @param hostRef an object containing references to the element's host node,
1598
+ * VDom nodes, and other metadata
1599
+ * @param instance a reference to the underlying host element where it will be
1600
+ * rendered
1601
+ * @param isInitialLoad whether or not this function is being called as part of
1602
+ * the first render cycle
1603
+ */
1604
+ const updateComponent = async (hostRef, instance, isInitialLoad) => {
1605
+ var _a;
1606
+ const elm = hostRef.$hostElement$;
1607
+ const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
1608
+ const rc = elm['s-rc'];
1609
+ if (isInitialLoad) {
1610
+ // DOM WRITE!
1611
+ attachStyles(hostRef);
1612
+ }
1613
+ const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
1614
+ {
1615
+ callRender(hostRef, instance, elm, isInitialLoad);
1616
+ }
1617
+ if (rc) {
1618
+ // ok, so turns out there are some child host elements
1619
+ // waiting on this parent element to load
1620
+ // let's fire off all update callbacks waiting
1621
+ rc.map((cb) => cb());
1622
+ elm['s-rc'] = undefined;
1623
+ }
1624
+ endRender();
1625
+ endUpdate();
1626
+ {
1627
+ const childrenPromises = (_a = elm['s-p']) !== null && _a !== void 0 ? _a : [];
1628
+ const postUpdate = () => postUpdateComponent(hostRef);
1629
+ if (childrenPromises.length === 0) {
1630
+ postUpdate();
1631
+ }
1632
+ else {
1633
+ Promise.all(childrenPromises).then(postUpdate);
1634
+ hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
1635
+ childrenPromises.length = 0;
1636
+ }
1637
+ }
1638
+ };
1639
+ /**
1640
+ * Handle making the call to the VDom renderer with the proper context given
1641
+ * various build variables
1642
+ *
1643
+ * @param hostRef an object containing references to the element's host node,
1644
+ * VDom nodes, and other metadata
1645
+ * @param instance a reference to the underlying host element where it will be
1646
+ * rendered
1647
+ * @param elm the Host element for the component
1648
+ * @param isInitialLoad whether or not this function is being called as part of
1649
+ * @returns an empty promise
1650
+ */
1651
+ const callRender = (hostRef, instance, elm, isInitialLoad) => {
1652
+ try {
1653
+ /**
1654
+ * minification optimization: `allRenderFn` is `true` if all components have a `render`
1655
+ * method, so we can call the method immediately. If not, check before calling it.
1656
+ */
1657
+ instance = instance.render() ;
1658
+ {
1659
+ hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
1660
+ }
1661
+ {
1662
+ hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
1663
+ }
1664
+ {
1665
+ {
1666
+ // looks like we've got child nodes to render into this host element
1667
+ // or we need to update the css class/attrs on the host element
1668
+ // DOM WRITE!
1669
+ {
1670
+ renderVdom(hostRef, instance, isInitialLoad);
1671
+ }
1672
+ }
1673
+ }
1674
+ }
1675
+ catch (e) {
1676
+ consoleError(e, hostRef.$hostElement$);
1677
+ }
1678
+ return null;
1679
+ };
1680
+ const postUpdateComponent = (hostRef) => {
1681
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1682
+ const elm = hostRef.$hostElement$;
1683
+ const endPostUpdate = createTime('postUpdate', tagName);
1684
+ const instance = hostRef.$lazyInstance$ ;
1685
+ const ancestorComponent = hostRef.$ancestorComponent$;
1686
+ {
1687
+ safeCall(instance, 'componentDidRender');
1688
+ }
1689
+ if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
1690
+ hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
1691
+ {
1692
+ // DOM WRITE!
1693
+ addHydratedFlag(elm);
1694
+ }
1695
+ {
1696
+ safeCall(instance, 'componentDidLoad');
1697
+ }
1698
+ endPostUpdate();
1699
+ {
1700
+ hostRef.$onReadyResolve$(elm);
1701
+ if (!ancestorComponent) {
1702
+ appDidLoad();
1703
+ }
1704
+ }
1705
+ }
1706
+ else {
1707
+ {
1708
+ safeCall(instance, 'componentDidUpdate');
1709
+ }
1710
+ endPostUpdate();
1711
+ }
1712
+ {
1713
+ hostRef.$onInstanceResolve$(elm);
1714
+ }
1715
+ // load events fire from bottom to top
1716
+ // the deepest elements load first then bubbles up
1717
+ {
1718
+ if (hostRef.$onRenderResolve$) {
1719
+ hostRef.$onRenderResolve$();
1720
+ hostRef.$onRenderResolve$ = undefined;
1721
+ }
1722
+ if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
1723
+ nextTick(() => scheduleUpdate(hostRef, false));
1724
+ }
1725
+ hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
1726
+ }
1727
+ // ( •_•)
1728
+ // ( •_•)>⌐■-■
1729
+ // (⌐■_■)
1730
+ };
1731
+ const forceUpdate = (ref) => {
1732
+ {
1733
+ const hostRef = getHostRef(ref);
1734
+ const isConnected = hostRef.$hostElement$.isConnected;
1735
+ if (isConnected &&
1736
+ (hostRef.$flags$ & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1737
+ scheduleUpdate(hostRef, false);
1738
+ }
1739
+ // Returns "true" when the forced update was successfully scheduled
1740
+ return isConnected;
1741
+ }
1742
+ };
1743
+ const appDidLoad = (who) => {
1744
+ // on appload
1745
+ // we have finish the first big initial render
1746
+ {
1747
+ addHydratedFlag(doc.documentElement);
1748
+ }
1749
+ nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
1750
+ };
1751
+ /**
1752
+ * Allows to safely call a method, e.g. `componentDidLoad`, on an instance,
1753
+ * e.g. custom element node. If a build figures out that e.g. no component
1754
+ * has a `componentDidLoad` method, the instance method gets removed from the
1755
+ * output bundle and this function returns `undefined`.
1756
+ * @param instance any object that may or may not contain methods
1757
+ * @param method method name
1758
+ * @param arg single arbitrary argument
1759
+ * @returns result of method call if it exists, otherwise `undefined`
1760
+ */
1761
+ const safeCall = (instance, method, arg) => {
1762
+ if (instance && instance[method]) {
1763
+ try {
1764
+ return instance[method](arg);
1765
+ }
1766
+ catch (e) {
1767
+ consoleError(e);
1768
+ }
1769
+ }
1770
+ return undefined;
1771
+ };
1772
+ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1773
+ ;
1774
+ const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1775
+ const setValue = (ref, propName, newVal, cmpMeta) => {
1776
+ // check our new property value against our internal value
1777
+ const hostRef = getHostRef(ref);
1778
+ const elm = hostRef.$hostElement$ ;
1779
+ const oldVal = hostRef.$instanceValues$.get(propName);
1780
+ const flags = hostRef.$flags$;
1781
+ const instance = hostRef.$lazyInstance$ ;
1782
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1783
+ // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1784
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1785
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1786
+ if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1787
+ // gadzooks! the property's value has changed!!
1788
+ // set our new value!
1789
+ hostRef.$instanceValues$.set(propName, newVal);
1790
+ if (instance) {
1791
+ // get an array of method names of watch functions to call
1792
+ if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
1793
+ const watchMethods = cmpMeta.$watchers$[propName];
1794
+ if (watchMethods) {
1795
+ // this instance is watching for when this property changed
1796
+ watchMethods.map((watchMethodName) => {
1797
+ try {
1798
+ // fire off each of the watch methods that are watching this property
1799
+ instance[watchMethodName](newVal, oldVal, propName);
1800
+ }
1801
+ catch (e) {
1802
+ consoleError(e, elm);
1803
+ }
1804
+ });
1805
+ }
1806
+ }
1807
+ if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1808
+ // looks like this value actually changed, so we've got work to do!
1809
+ // but only if we've already rendered, otherwise just chill out
1810
+ // queue that we need to do an update, but don't worry about queuing
1811
+ // up millions cuz this function ensures it only runs once
1812
+ scheduleUpdate(hostRef, false);
1813
+ }
1814
+ }
1815
+ }
1816
+ };
1817
+ /**
1818
+ * Attach a series of runtime constructs to a compiled Stencil component
1819
+ * constructor, including getters and setters for the `@Prop` and `@State`
1820
+ * decorators, callbacks for when attributes change, and so on.
1821
+ *
1822
+ * @param Cstr the constructor for a component that we need to process
1823
+ * @param cmpMeta metadata collected previously about the component
1824
+ * @param flags a number used to store a series of bit flags
1825
+ * @returns a reference to the same constructor passed in (but now mutated)
1826
+ */
1827
+ const proxyComponent = (Cstr, cmpMeta, flags) => {
1828
+ var _a;
1829
+ const prototype = Cstr.prototype;
1830
+ if (cmpMeta.$members$) {
1831
+ if (Cstr.watchers) {
1832
+ cmpMeta.$watchers$ = Cstr.watchers;
1833
+ }
1834
+ // It's better to have a const than two Object.entries()
1835
+ const members = Object.entries(cmpMeta.$members$);
1836
+ members.map(([memberName, [memberFlags]]) => {
1837
+ if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
1838
+ ((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
1839
+ // proxyComponent - prop
1840
+ Object.defineProperty(prototype, memberName, {
1841
+ get() {
1842
+ // proxyComponent, get value
1843
+ return getValue(this, memberName);
1844
+ },
1845
+ set(newValue) {
1846
+ // proxyComponent, set value
1847
+ setValue(this, memberName, newValue, cmpMeta);
1848
+ },
1849
+ configurable: true,
1850
+ enumerable: true,
1851
+ });
1852
+ }
1853
+ else if (flags & 1 /* PROXY_FLAGS.isElementConstructor */ &&
1854
+ memberFlags & 64 /* MEMBER_FLAGS.Method */) {
1855
+ // proxyComponent - method
1856
+ Object.defineProperty(prototype, memberName, {
1857
+ value(...args) {
1858
+ var _a;
1859
+ const ref = getHostRef(this);
1860
+ return (_a = ref === null || ref === void 0 ? void 0 : ref.$onInstancePromise$) === null || _a === void 0 ? void 0 : _a.then(() => { var _a; return (_a = ref.$lazyInstance$) === null || _a === void 0 ? void 0 : _a[memberName](...args); });
1861
+ },
1862
+ });
1863
+ }
1864
+ });
1865
+ if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1866
+ const attrNameToPropName = new Map();
1867
+ prototype.attributeChangedCallback = function (attrName, oldValue, newValue) {
1868
+ plt.jmp(() => {
1869
+ var _a;
1870
+ const propName = attrNameToPropName.get(attrName);
1871
+ // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1872
+ // in the case where an attribute was set inline.
1873
+ // ```html
1874
+ // <my-component some-attribute="some-value"></my-component>
1875
+ // ```
1876
+ //
1877
+ // There is an edge case where a developer sets the attribute inline on a custom element and then
1878
+ // programmatically changes it before it has been upgraded as shown below:
1879
+ //
1880
+ // ```html
1881
+ // <!-- this component has _not_ been upgraded yet -->
1882
+ // <my-component id="test" some-attribute="some-value"></my-component>
1883
+ // <script>
1884
+ // // grab non-upgraded component
1885
+ // el = document.querySelector("#test");
1886
+ // el.someAttribute = "another-value";
1887
+ // // upgrade component
1888
+ // customElements.define('my-component', MyComponent);
1889
+ // </script>
1890
+ // ```
1891
+ // In this case if we do not un-shadow here and use the value of the shadowing property, attributeChangedCallback
1892
+ // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1893
+ // to the value that was set inline i.e. "some-value" from above example. When
1894
+ // the connectedCallback attempts to un-shadow it will use "some-value" as the initial value rather than "another-value"
1895
+ //
1896
+ // The case where the attribute was NOT set inline but was not set programmatically shall be handled/un-shadowed
1897
+ // by connectedCallback as this attributeChangedCallback will not fire.
1898
+ //
1899
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1900
+ //
1901
+ // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1902
+ // properties here given that this goes against best practices outlined here
1903
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1904
+ if (this.hasOwnProperty(propName)) {
1905
+ newValue = this[propName];
1906
+ delete this[propName];
1907
+ }
1908
+ else if (prototype.hasOwnProperty(propName) &&
1909
+ typeof this[propName] === 'number' &&
1910
+ this[propName] == newValue) {
1911
+ // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
1912
+ // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
1913
+ // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1914
+ return;
1915
+ }
1916
+ else if (propName == null) {
1917
+ // At this point we should know this is not a "member", so we can treat it like watching an attribute
1918
+ // on a vanilla web component
1919
+ const hostRef = getHostRef(this);
1920
+ const flags = hostRef === null || hostRef === void 0 ? void 0 : hostRef.$flags$;
1921
+ // We only want to trigger the callback(s) if:
1922
+ // 1. The instance is ready
1923
+ // 2. The watchers are ready
1924
+ // 3. The value has changed
1925
+ if (flags &&
1926
+ !(flags & 8 /* HOST_FLAGS.isConstructingInstance */) &&
1927
+ flags & 128 /* HOST_FLAGS.isWatchReady */ &&
1928
+ newValue !== oldValue) {
1929
+ const instance = hostRef.$lazyInstance$ ;
1930
+ const entry = (_a = cmpMeta.$watchers$) === null || _a === void 0 ? void 0 : _a[attrName];
1931
+ entry === null || entry === void 0 ? void 0 : entry.forEach((callbackName) => {
1932
+ if (instance[callbackName] != null) {
1933
+ instance[callbackName].call(instance, newValue, oldValue, attrName);
1934
+ }
1935
+ });
1936
+ }
1937
+ return;
1938
+ }
1939
+ this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1940
+ });
1941
+ };
1942
+ // Create an array of attributes to observe
1943
+ // This list in comprised of all strings used within a `@Watch()` decorator
1944
+ // on a component as well as any Stencil-specific "members" (`@Prop()`s and `@State()`s).
1945
+ // As such, there is no way to guarantee type-safety here that a user hasn't entered
1946
+ // an invalid attribute.
1947
+ Cstr.observedAttributes = Array.from(new Set([
1948
+ ...Object.keys((_a = cmpMeta.$watchers$) !== null && _a !== void 0 ? _a : {}),
1949
+ ...members
1950
+ .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */)
1951
+ .map(([propName, m]) => {
1952
+ var _a;
1953
+ const attrName = m[1] || propName;
1954
+ attrNameToPropName.set(attrName, propName);
1955
+ if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1956
+ (_a = cmpMeta.$attrsToReflect$) === null || _a === void 0 ? void 0 : _a.push([propName, attrName]);
1957
+ }
1958
+ return attrName;
1959
+ }),
1960
+ ]));
1961
+ }
1962
+ }
1963
+ return Cstr;
1964
+ };
1965
+ /**
1966
+ * Initialize a Stencil component given a reference to its host element, its
1967
+ * runtime bookkeeping data structure, runtime metadata about the component,
1968
+ * and (optionally) an HMR version ID.
1969
+ *
1970
+ * @param elm a host element
1971
+ * @param hostRef the element's runtime bookkeeping object
1972
+ * @param cmpMeta runtime metadata for the Stencil component
1973
+ * @param hmrVersionId an (optional) HMR version ID
1974
+ */
1975
+ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1976
+ let Cstr;
1977
+ // initializeComponent
1978
+ if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1979
+ // Let the runtime know that the component has been initialized
1980
+ hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1981
+ {
1982
+ // lazy loaded components
1983
+ // request the component's implementation to be
1984
+ // wired up with the host element
1985
+ Cstr = loadModule(cmpMeta);
1986
+ if (Cstr.then) {
1987
+ // Await creates a micro-task avoid if possible
1988
+ const endLoad = uniqueTime();
1989
+ Cstr = await Cstr;
1990
+ endLoad();
1991
+ }
1992
+ if (!Cstr.isProxied) {
1993
+ // we've never proxied this Constructor before
1994
+ // let's add the getters/setters to its prototype before
1995
+ // the first time we create an instance of the implementation
1996
+ {
1997
+ cmpMeta.$watchers$ = Cstr.watchers;
1998
+ }
1999
+ proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
2000
+ Cstr.isProxied = true;
2001
+ }
2002
+ const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
2003
+ // ok, time to construct the instance
2004
+ // but let's keep track of when we start and stop
2005
+ // so that the getters/setters don't incorrectly step on data
2006
+ {
2007
+ hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
2008
+ }
2009
+ // construct the lazy-loaded component implementation
2010
+ // passing the hostRef is very important during
2011
+ // construction in order to directly wire together the
2012
+ // host element and the lazy-loaded instance
2013
+ try {
2014
+ new Cstr(hostRef);
2015
+ }
2016
+ catch (e) {
2017
+ consoleError(e);
2018
+ }
2019
+ {
2020
+ hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
2021
+ }
2022
+ {
2023
+ hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
2024
+ }
2025
+ endNewInstance();
2026
+ fireConnectedCallback(hostRef.$lazyInstance$);
2027
+ }
2028
+ if (Cstr.style) {
2029
+ // this component has styles but we haven't registered them yet
2030
+ let style = Cstr.style;
2031
+ const scopeId = getScopeId(cmpMeta);
2032
+ if (!styles.has(scopeId)) {
2033
+ const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
2034
+ registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
2035
+ endRegisterStyles();
2036
+ }
2037
+ }
2038
+ }
2039
+ // we've successfully created a lazy instance
2040
+ const ancestorComponent = hostRef.$ancestorComponent$;
2041
+ const schedule = () => scheduleUpdate(hostRef, true);
2042
+ if (ancestorComponent && ancestorComponent['s-rc']) {
2043
+ // this is the initial load and this component it has an ancestor component
2044
+ // but the ancestor component has NOT fired its will update lifecycle yet
2045
+ // so let's just cool our jets and wait for the ancestor to continue first
2046
+ // this will get fired off when the ancestor component
2047
+ // finally gets around to rendering its lazy self
2048
+ // fire off the initial update
2049
+ ancestorComponent['s-rc'].push(schedule);
2050
+ }
2051
+ else {
2052
+ schedule();
2053
+ }
2054
+ };
2055
+ const fireConnectedCallback = (instance) => {
2056
+ {
2057
+ safeCall(instance, 'connectedCallback');
2058
+ }
2059
+ };
2060
+ const connectedCallback = (elm) => {
2061
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
2062
+ const hostRef = getHostRef(elm);
2063
+ const cmpMeta = hostRef.$cmpMeta$;
2064
+ const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
2065
+ if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
2066
+ // first time this component has connected
2067
+ hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
2068
+ {
2069
+ // initUpdate
2070
+ // if the slot polyfill is required we'll need to put some nodes
2071
+ // in here to act as original content anchors as we move nodes around
2072
+ // host element has been connected to the DOM
2073
+ if ((// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
2074
+ cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
2075
+ setContentReference(elm);
2076
+ }
2077
+ }
2078
+ {
2079
+ // find the first ancestor component (if there is one) and register
2080
+ // this component as one of the actively loading child components for its ancestor
2081
+ let ancestorComponent = elm;
2082
+ while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
2083
+ // climb up the ancestors looking for the first
2084
+ // component that hasn't finished its lifecycle update yet
2085
+ if (ancestorComponent['s-p']) {
2086
+ // we found this components first ancestor component
2087
+ // keep a reference to this component's ancestor component
2088
+ attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
2089
+ break;
2090
+ }
2091
+ }
2092
+ }
2093
+ // Lazy properties
2094
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
2095
+ if (cmpMeta.$members$) {
2096
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
2097
+ if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
2098
+ const value = elm[memberName];
2099
+ delete elm[memberName];
2100
+ elm[memberName] = value;
2101
+ }
2102
+ });
2103
+ }
2104
+ {
2105
+ initializeComponent(elm, hostRef, cmpMeta);
2106
+ }
2107
+ }
2108
+ else {
2109
+ // not the first time this has connected
2110
+ // reattach any event listeners to the host
2111
+ // since they would have been removed when disconnected
2112
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
2113
+ // fire off connectedCallback() on component instance
2114
+ if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {
2115
+ fireConnectedCallback(hostRef.$lazyInstance$);
2116
+ }
2117
+ else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {
2118
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
2119
+ }
2120
+ }
2121
+ endConnected();
2122
+ }
2123
+ };
2124
+ const setContentReference = (elm) => {
2125
+ // only required when we're NOT using native shadow dom (slot)
2126
+ // or this browser doesn't support native shadow dom
2127
+ // and this host element was NOT created with SSR
2128
+ // let's pick out the inner content for slot projection
2129
+ // create a node to represent where the original
2130
+ // content was first placed, which is useful later on
2131
+ const contentRefElm = (elm['s-cr'] = doc.createComment(''));
2132
+ contentRefElm['s-cn'] = true;
2133
+ elm.insertBefore(contentRefElm, elm.firstChild);
2134
+ };
2135
+ const disconnectInstance = (instance) => {
2136
+ {
2137
+ safeCall(instance, 'disconnectedCallback');
2138
+ }
2139
+ };
2140
+ const disconnectedCallback = async (elm) => {
2141
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
2142
+ const hostRef = getHostRef(elm);
2143
+ {
2144
+ if (hostRef.$rmListeners$) {
2145
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
2146
+ hostRef.$rmListeners$ = undefined;
2147
+ }
2148
+ }
2149
+ if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {
2150
+ disconnectInstance(hostRef.$lazyInstance$);
2151
+ }
2152
+ else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {
2153
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
2154
+ }
2155
+ }
2156
+ };
2157
+ const patchPseudoShadowDom = (hostElementPrototype, descriptorPrototype) => {
2158
+ patchCloneNode(hostElementPrototype);
2159
+ patchSlotAppendChild(hostElementPrototype);
2160
+ patchSlotAppend(hostElementPrototype);
2161
+ patchSlotPrepend(hostElementPrototype);
2162
+ patchSlotInsertAdjacentElement(hostElementPrototype);
2163
+ patchSlotInsertAdjacentHTML(hostElementPrototype);
2164
+ patchSlotInsertAdjacentText(hostElementPrototype);
2165
+ patchTextContent(hostElementPrototype);
2166
+ patchChildSlotNodes(hostElementPrototype, descriptorPrototype);
2167
+ patchSlotRemoveChild(hostElementPrototype);
2168
+ };
2169
+ const patchCloneNode = (HostElementPrototype) => {
2170
+ const orgCloneNode = HostElementPrototype.cloneNode;
2171
+ HostElementPrototype.cloneNode = function (deep) {
2172
+ const srcNode = this;
2173
+ const isShadowDom = srcNode.shadowRoot && supportsShadow ;
2174
+ const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);
2175
+ if (!isShadowDom && deep) {
2176
+ let i = 0;
2177
+ let slotted, nonStencilNode;
2178
+ const stencilPrivates = [
2179
+ 's-id',
2180
+ 's-cr',
2181
+ 's-lr',
2182
+ 's-rc',
2183
+ 's-sc',
2184
+ 's-p',
2185
+ 's-cn',
2186
+ 's-sr',
2187
+ 's-sn',
2188
+ 's-hn',
2189
+ 's-ol',
2190
+ 's-nr',
2191
+ 's-si',
2192
+ ];
2193
+ for (; i < srcNode.childNodes.length; i++) {
2194
+ slotted = srcNode.childNodes[i]['s-nr'];
2195
+ nonStencilNode = stencilPrivates.every((privateField) => !srcNode.childNodes[i][privateField]);
2196
+ if (slotted) {
2197
+ if (clonedNode.__appendChild) {
2198
+ clonedNode.__appendChild(slotted.cloneNode(true));
2199
+ }
2200
+ else {
2201
+ clonedNode.appendChild(slotted.cloneNode(true));
2202
+ }
2203
+ }
2204
+ if (nonStencilNode) {
2205
+ clonedNode.appendChild(srcNode.childNodes[i].cloneNode(true));
2206
+ }
2207
+ }
2208
+ }
2209
+ return clonedNode;
2210
+ };
2211
+ };
2212
+ /**
2213
+ * Patches the `appendChild` method on a `scoped` Stencil component.
2214
+ * The patch will attempt to find a slot with the same name as the node being appended
2215
+ * and insert it into the slot reference if found. Otherwise, it falls-back to the original
2216
+ * `appendChild` method.
2217
+ *
2218
+ * @param HostElementPrototype The Stencil component to be patched
2219
+ */
2220
+ const patchSlotAppendChild = (HostElementPrototype) => {
2221
+ HostElementPrototype.__appendChild = HostElementPrototype.appendChild;
2222
+ HostElementPrototype.appendChild = function (newChild) {
2223
+ const slotName = (newChild['s-sn'] = getSlotName(newChild));
2224
+ const slotNode = getHostSlotNode(this.childNodes, slotName);
2225
+ if (slotNode) {
2226
+ const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);
2227
+ const appendAfter = slotChildNodes[slotChildNodes.length - 1];
2228
+ const insertedNode = appendAfter.parentNode.insertBefore(newChild, appendAfter.nextSibling);
2229
+ // Check if there is fallback content that should be hidden
2230
+ updateFallbackSlotVisibility(this);
2231
+ // Force a re-render of the host element
2232
+ forceUpdate(this);
2233
+ return insertedNode;
2234
+ }
2235
+ return this.__appendChild(newChild);
2236
+ };
2237
+ };
2238
+ /**
2239
+ * Patches the `removeChild` method on a `scoped` Stencil component.
2240
+ * This patch attempts to remove the specified node from a slot reference
2241
+ * if the slot exists. Otherwise, it falls-back to the original `removeChild` method.
2242
+ *
2243
+ * @param ElementPrototype The Stencil component to be patched
2244
+ */
2245
+ const patchSlotRemoveChild = (ElementPrototype) => {
2246
+ ElementPrototype.__removeChild = ElementPrototype.removeChild;
2247
+ ElementPrototype.removeChild = function (toRemove) {
2248
+ if (toRemove && typeof toRemove['s-sn'] !== 'undefined') {
2249
+ const slotNode = getHostSlotNode(this.childNodes, toRemove['s-sn']);
2250
+ if (slotNode) {
2251
+ // Get all slot content
2252
+ const slotChildNodes = getHostSlotChildNodes(slotNode, toRemove['s-sn']);
2253
+ // See if any of the slotted content matches the node to remove
2254
+ const existingNode = slotChildNodes.find((n) => n === toRemove);
2255
+ if (existingNode) {
2256
+ existingNode.remove();
2257
+ // Check if there is fallback content that should be displayed if that
2258
+ // was the last node in the slot
2259
+ updateFallbackSlotVisibility(this);
2260
+ return;
2261
+ }
2262
+ }
2263
+ }
2264
+ return this.__removeChild(toRemove);
2265
+ };
2266
+ };
2267
+ /**
2268
+ * Patches the `prepend` method for a slotted node inside a scoped component.
2269
+ *
2270
+ * @param HostElementPrototype the `Element` to be patched
2271
+ */
2272
+ const patchSlotPrepend = (HostElementPrototype) => {
2273
+ const originalPrepend = HostElementPrototype.prepend;
2274
+ HostElementPrototype.prepend = function (...newChildren) {
2275
+ newChildren.forEach((newChild) => {
2276
+ if (typeof newChild === 'string') {
2277
+ newChild = this.ownerDocument.createTextNode(newChild);
2278
+ }
2279
+ const slotName = (newChild['s-sn'] = getSlotName(newChild));
2280
+ const slotNode = getHostSlotNode(this.childNodes, slotName);
2281
+ if (slotNode) {
2282
+ const slotPlaceholder = document.createTextNode('');
2283
+ slotPlaceholder['s-nr'] = newChild;
2284
+ slotNode['s-cr'].parentNode.__appendChild(slotPlaceholder);
2285
+ newChild['s-ol'] = slotPlaceholder;
2286
+ const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);
2287
+ const appendAfter = slotChildNodes[0];
2288
+ return appendAfter.parentNode.insertBefore(newChild, appendAfter.nextSibling);
2289
+ }
2290
+ if (newChild.nodeType === 1 && !!newChild.getAttribute('slot')) {
2291
+ newChild.hidden = true;
2292
+ }
2293
+ return originalPrepend.call(this, newChild);
2294
+ });
2295
+ };
2296
+ };
2297
+ /**
2298
+ * Patches the `append` method for a slotted node inside a scoped component. The patched method uses
2299
+ * `appendChild` under-the-hood while creating text nodes for any new children that passed as bare strings.
2300
+ *
2301
+ * @param HostElementPrototype the `Element` to be patched
2302
+ */
2303
+ const patchSlotAppend = (HostElementPrototype) => {
2304
+ HostElementPrototype.append = function (...newChildren) {
2305
+ newChildren.forEach((newChild) => {
2306
+ if (typeof newChild === 'string') {
2307
+ newChild = this.ownerDocument.createTextNode(newChild);
2308
+ }
2309
+ this.appendChild(newChild);
2310
+ });
2311
+ };
2312
+ };
2313
+ /**
2314
+ * Patches the `insertAdjacentHTML` method for a slotted node inside a scoped component. Specifically,
2315
+ * we only need to patch the behavior for the specific `beforeend` and `afterbegin` positions so the element
2316
+ * gets inserted into the DOM in the correct location.
2317
+ *
2318
+ * @param HostElementPrototype the `Element` to be patched
2319
+ */
2320
+ const patchSlotInsertAdjacentHTML = (HostElementPrototype) => {
2321
+ const originalInsertAdjacentHtml = HostElementPrototype.insertAdjacentHTML;
2322
+ HostElementPrototype.insertAdjacentHTML = function (position, text) {
2323
+ if (position !== 'afterbegin' && position !== 'beforeend') {
2324
+ return originalInsertAdjacentHtml.call(this, position, text);
2325
+ }
2326
+ const container = this.ownerDocument.createElement('_');
2327
+ let node;
2328
+ container.innerHTML = text;
2329
+ if (position === 'afterbegin') {
2330
+ while ((node = container.firstChild)) {
2331
+ this.prepend(node);
2332
+ }
2333
+ }
2334
+ else if (position === 'beforeend') {
2335
+ while ((node = container.firstChild)) {
2336
+ this.append(node);
2337
+ }
2338
+ }
2339
+ };
2340
+ };
2341
+ /**
2342
+ * Patches the `insertAdjacentText` method for a slotted node inside a scoped component. Specifically,
2343
+ * we only need to patch the behavior for the specific `beforeend` and `afterbegin` positions so the text node
2344
+ * gets inserted into the DOM in the correct location.
2345
+ *
2346
+ * @param HostElementPrototype the `Element` to be patched
2347
+ */
2348
+ const patchSlotInsertAdjacentText = (HostElementPrototype) => {
2349
+ HostElementPrototype.insertAdjacentText = function (position, text) {
2350
+ this.insertAdjacentHTML(position, text);
2351
+ };
2352
+ };
2353
+ /**
2354
+ * Patches the `insertAdjacentElement` method for a slotted node inside a scoped component. Specifically,
2355
+ * we only need to patch the behavior for the specific `beforeend` and `afterbegin` positions so the element
2356
+ * gets inserted into the DOM in the correct location.
2357
+ *
2358
+ * @param HostElementPrototype the `Element` to be patched
2359
+ */
2360
+ const patchSlotInsertAdjacentElement = (HostElementPrototype) => {
2361
+ const originalInsertAdjacentElement = HostElementPrototype.insertAdjacentElement;
2362
+ HostElementPrototype.insertAdjacentElement = function (position, element) {
2363
+ if (position !== 'afterbegin' && position !== 'beforeend') {
2364
+ return originalInsertAdjacentElement.call(this, position, element);
2365
+ }
2366
+ if (position === 'afterbegin') {
2367
+ this.prepend(element);
2368
+ return element;
2369
+ }
2370
+ else if (position === 'beforeend') {
2371
+ this.append(element);
2372
+ return element;
2373
+ }
2374
+ return element;
2375
+ };
2376
+ };
2377
+ /**
2378
+ * Patches the text content of an unnamed slotted node inside a scoped component
2379
+ * @param hostElementPrototype the `Element` to be patched
2380
+ */
2381
+ const patchTextContent = (hostElementPrototype) => {
2382
+ const descriptor = Object.getOwnPropertyDescriptor(Node.prototype, 'textContent');
2383
+ Object.defineProperty(hostElementPrototype, '__textContent', descriptor);
2384
+ {
2385
+ Object.defineProperty(hostElementPrototype, 'textContent', {
2386
+ get() {
2387
+ var _a;
2388
+ // get the 'default slot', which would be the first slot in a shadow tree (if we were using one), whose name is
2389
+ // the empty string
2390
+ const slotNode = getHostSlotNode(this.childNodes, '');
2391
+ // when a slot node is found, the textContent _may_ be found in the next sibling (text) node, depending on how
2392
+ // nodes were reordered during the vdom render. first try to get the text content from the sibling.
2393
+ if (((_a = slotNode === null || slotNode === void 0 ? void 0 : slotNode.nextSibling) === null || _a === void 0 ? void 0 : _a.nodeType) === 3 /* NODE_TYPES.TEXT_NODE */) {
2394
+ return slotNode.nextSibling.textContent;
2395
+ }
2396
+ else if (slotNode) {
2397
+ return slotNode.textContent;
2398
+ }
2399
+ else {
2400
+ // fallback to the original implementation
2401
+ return this.__textContent;
2402
+ }
2403
+ },
2404
+ set(value) {
2405
+ var _a;
2406
+ // get the 'default slot', which would be the first slot in a shadow tree (if we were using one), whose name is
2407
+ // the empty string
2408
+ const slotNode = getHostSlotNode(this.childNodes, '');
2409
+ // when a slot node is found, the textContent _may_ need to be placed in the next sibling (text) node,
2410
+ // depending on how nodes were reordered during the vdom render. first try to set the text content on the
2411
+ // sibling.
2412
+ if (((_a = slotNode === null || slotNode === void 0 ? void 0 : slotNode.nextSibling) === null || _a === void 0 ? void 0 : _a.nodeType) === 3 /* NODE_TYPES.TEXT_NODE */) {
2413
+ slotNode.nextSibling.textContent = value;
2414
+ }
2415
+ else if (slotNode) {
2416
+ slotNode.textContent = value;
2417
+ }
2418
+ else {
2419
+ // we couldn't find a slot, but that doesn't mean that there isn't one. if this check ran before the DOM
2420
+ // loaded, we could have missed it. check for a content reference element on the scoped component and insert
2421
+ // it there
2422
+ this.__textContent = value;
2423
+ const contentRefElm = this['s-cr'];
2424
+ if (contentRefElm) {
2425
+ this.insertBefore(contentRefElm, this.firstChild);
2426
+ }
2427
+ }
2428
+ },
2429
+ });
2430
+ }
2431
+ };
2432
+ const patchChildSlotNodes = (elm, cmpMeta) => {
2433
+ class FakeNodeList extends Array {
2434
+ item(n) {
2435
+ return this[n];
2436
+ }
2437
+ }
2438
+ // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
2439
+ if (cmpMeta.$flags$ & 8 /* CMP_FLAGS.needsShadowDomShim */) {
2440
+ const childNodesFn = elm.__lookupGetter__('childNodes');
2441
+ Object.defineProperty(elm, 'children', {
2442
+ get() {
2443
+ return this.childNodes.map((n) => n.nodeType === 1);
2444
+ },
2445
+ });
2446
+ Object.defineProperty(elm, 'childElementCount', {
2447
+ get() {
2448
+ return elm.children.length;
2449
+ },
2450
+ });
2451
+ Object.defineProperty(elm, 'childNodes', {
2452
+ get() {
2453
+ const childNodes = childNodesFn.call(this);
2454
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0 &&
2455
+ getHostRef(this).$flags$ & 2 /* HOST_FLAGS.hasRendered */) {
2456
+ const result = new FakeNodeList();
2457
+ for (let i = 0; i < childNodes.length; i++) {
2458
+ const slot = childNodes[i]['s-nr'];
2459
+ if (slot) {
2460
+ result.push(slot);
2461
+ }
2462
+ }
2463
+ return result;
2464
+ }
2465
+ return FakeNodeList.from(childNodes);
2466
+ },
2467
+ });
2468
+ }
2469
+ };
2470
+ const getSlotName = (node) => node['s-sn'] || (node.nodeType === 1 && node.getAttribute('slot')) || '';
2471
+ /**
2472
+ * Recursively searches a series of child nodes for a slot with the provided name.
2473
+ * @param childNodes the nodes to search for a slot with a specific name.
2474
+ * @param slotName the name of the slot to match on.
2475
+ * @returns a reference to the slot node that matches the provided name, `null` otherwise
2476
+ */
2477
+ const getHostSlotNode = (childNodes, slotName) => {
2478
+ let i = 0;
2479
+ let childNode;
2480
+ for (; i < childNodes.length; i++) {
2481
+ childNode = childNodes[i];
2482
+ if (childNode['s-sr'] && childNode['s-sn'] === slotName) {
2483
+ return childNode;
2484
+ }
2485
+ childNode = getHostSlotNode(childNode.childNodes, slotName);
2486
+ if (childNode) {
2487
+ return childNode;
2488
+ }
2489
+ }
2490
+ return null;
2491
+ };
2492
+ const getHostSlotChildNodes = (n, slotName) => {
2493
+ const childNodes = [n];
2494
+ while ((n = n.nextSibling) && n['s-sn'] === slotName) {
2495
+ childNodes.push(n);
2496
+ }
2497
+ return childNodes;
2498
+ };
2499
+ const bootstrapLazy = (lazyBundles, options = {}) => {
2500
+ var _a;
2501
+ const endBootstrap = createTime();
2502
+ const cmpTags = [];
2503
+ const exclude = options.exclude || [];
2504
+ const customElements = win.customElements;
2505
+ const head = doc.head;
2506
+ const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
2507
+ const dataStyles = /*@__PURE__*/ doc.createElement('style');
2508
+ const deferredConnectedCallbacks = [];
2509
+ let appLoadFallback;
2510
+ let isBootstrapping = true;
2511
+ Object.assign(plt, options);
2512
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
2513
+ let hasSlotRelocation = false;
2514
+ lazyBundles.map((lazyBundle) => {
2515
+ lazyBundle[1].map((compactMeta) => {
2516
+ var _a;
2517
+ const cmpMeta = {
2518
+ $flags$: compactMeta[0],
2519
+ $tagName$: compactMeta[1],
2520
+ $members$: compactMeta[2],
2521
+ $listeners$: compactMeta[3],
2522
+ };
2523
+ // Check if we are using slots outside the shadow DOM in this component.
2524
+ // We'll use this information later to add styles for `slot-fb` elements
2525
+ if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
2526
+ hasSlotRelocation = true;
2527
+ }
2528
+ {
2529
+ cmpMeta.$members$ = compactMeta[2];
2530
+ }
2531
+ {
2532
+ cmpMeta.$listeners$ = compactMeta[3];
2533
+ }
2534
+ {
2535
+ cmpMeta.$attrsToReflect$ = [];
2536
+ }
2537
+ {
2538
+ cmpMeta.$watchers$ = (_a = compactMeta[4]) !== null && _a !== void 0 ? _a : {};
2539
+ }
2540
+ const tagName = cmpMeta.$tagName$;
2541
+ const HostElement = class extends HTMLElement {
2542
+ // StencilLazyHost
2543
+ constructor(self) {
2544
+ // @ts-ignore
2545
+ super(self);
2546
+ self = this;
2547
+ registerHost(self, cmpMeta);
2548
+ if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
2549
+ // this component is using shadow dom
2550
+ // and this browser supports shadow dom
2551
+ // add the read-only property "shadowRoot" to the host element
2552
+ // adding the shadow root build conditionals to minimize runtime
2553
+ {
2554
+ {
2555
+ self.attachShadow({ mode: 'open' });
2556
+ }
2557
+ }
2558
+ }
2559
+ }
2560
+ connectedCallback() {
2561
+ if (appLoadFallback) {
2562
+ clearTimeout(appLoadFallback);
2563
+ appLoadFallback = null;
2564
+ }
2565
+ if (isBootstrapping) {
2566
+ // connectedCallback will be processed once all components have been registered
2567
+ deferredConnectedCallbacks.push(this);
2568
+ }
2569
+ else {
2570
+ plt.jmp(() => connectedCallback(this));
2571
+ }
2572
+ }
2573
+ disconnectedCallback() {
2574
+ plt.jmp(() => disconnectedCallback(this));
2575
+ }
2576
+ componentOnReady() {
2577
+ return getHostRef(this).$onReadyPromise$;
2578
+ }
2579
+ };
2580
+ // TODO(STENCIL-914): this check and `else` block can go away and be replaced by just the `scoped` check
2581
+ {
2582
+ // This check is intentionally not combined with the surrounding `experimentalSlotFixes` check
2583
+ // since, moving forward, we only want to patch the pseudo shadow DOM when the component is scoped
2584
+ if (cmpMeta.$flags$ & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
2585
+ patchPseudoShadowDom(HostElement.prototype, cmpMeta);
2586
+ }
2587
+ }
2588
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
2589
+ if (!exclude.includes(tagName) && !customElements.get(tagName)) {
2590
+ cmpTags.push(tagName);
2591
+ customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
2592
+ }
2593
+ });
2594
+ });
2595
+ // Only bother generating CSS if we have components
2596
+ // TODO(STENCIL-1118): Add test cases for CSS content based on conditionals
2597
+ if (cmpTags.length > 0) {
2598
+ // Add styles for `slot-fb` elements if any of our components are using slots outside the Shadow DOM
2599
+ if (hasSlotRelocation) {
2600
+ dataStyles.innerHTML += SLOT_FB_CSS;
2601
+ }
2602
+ // Add hydration styles
2603
+ {
2604
+ dataStyles.innerHTML += cmpTags + HYDRATED_CSS;
2605
+ }
2606
+ // If we have styles, add them to the DOM
2607
+ if (dataStyles.innerHTML.length) {
2608
+ dataStyles.setAttribute('data-styles', '');
2609
+ // Apply CSP nonce to the style tag if it exists
2610
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
2611
+ if (nonce != null) {
2612
+ dataStyles.setAttribute('nonce', nonce);
2613
+ }
2614
+ // Insert the styles into the document head
2615
+ // NOTE: this _needs_ to happen last so we can ensure the nonce (and other attributes) are applied
2616
+ head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
2617
+ }
2618
+ }
2619
+ // Process deferred connectedCallbacks now all components have been registered
2620
+ isBootstrapping = false;
2621
+ if (deferredConnectedCallbacks.length) {
2622
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
2623
+ }
2624
+ else {
2625
+ {
2626
+ plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));
2627
+ }
2628
+ }
2629
+ // Fallback appLoad event
2630
+ endBootstrap();
2631
+ };
2632
+ const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
2633
+ if (listeners) {
2634
+ listeners.map(([flags, name, method]) => {
2635
+ const target = getHostListenerTarget(elm, flags) ;
2636
+ const handler = hostListenerProxy(hostRef, method);
2637
+ const opts = hostListenerOpts(flags);
2638
+ plt.ael(target, name, handler, opts);
2639
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
2640
+ });
2641
+ }
2642
+ };
2643
+ const hostListenerProxy = (hostRef, methodName) => (ev) => {
2644
+ try {
2645
+ {
2646
+ if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
2647
+ // instance is ready, let's call it's member method for this event
2648
+ hostRef.$lazyInstance$[methodName](ev);
2649
+ }
2650
+ else {
2651
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
2652
+ }
2653
+ }
2654
+ }
2655
+ catch (e) {
2656
+ consoleError(e);
2657
+ }
2658
+ };
2659
+ const getHostListenerTarget = (elm, flags) => {
2660
+ if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
2661
+ return doc;
2662
+ if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
2663
+ return win;
2664
+ if (flags & 16 /* LISTENER_FLAGS.TargetBody */)
2665
+ return doc.body;
2666
+ return elm;
2667
+ };
2668
+ // prettier-ignore
2669
+ const hostListenerOpts = (flags) => supportsListenerOptions
2670
+ ? ({
2671
+ passive: (flags & 1 /* LISTENER_FLAGS.Passive */) !== 0,
2672
+ capture: (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0,
2673
+ })
2674
+ : (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
2675
+ /**
2676
+ * Assigns the given value to the nonce property on the runtime platform object.
2677
+ * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
2678
+ * @param nonce The value to be assigned to the platform nonce property.
2679
+ * @returns void
2680
+ */
2681
+ const setNonce = (nonce) => (plt.$nonce$ = nonce);
2682
+ /**
2683
+ * A WeakMap mapping runtime component references to their corresponding host reference
2684
+ * instances.
2685
+ *
2686
+ * **Note**: If we're in an HMR context we need to store a reference to this
2687
+ * value on `window` in order to maintain the mapping of {@link d.RuntimeRef}
2688
+ * to {@link d.HostRef} across HMR updates.
2689
+ *
2690
+ * This is necessary because when HMR updates for a component are processed by
2691
+ * the browser-side dev server client the JS bundle for that component is
2692
+ * re-fetched. Since the module containing {@link hostRefs} is included in
2693
+ * that bundle, if we do not store a reference to it the new iteration of the
2694
+ * component will not have access to the previous hostRef map, leading to a
2695
+ * bug where the new version of the component cannot properly initialize.
2696
+ */
2697
+ const hostRefs = new WeakMap();
2698
+ /**
2699
+ * Given a {@link d.RuntimeRef} retrieve the corresponding {@link d.HostRef}
2700
+ *
2701
+ * @param ref the runtime ref of interest
2702
+ * @returns the Host reference (if found) or undefined
2703
+ */
2704
+ const getHostRef = (ref) => hostRefs.get(ref);
2705
+ /**
2706
+ * Register a lazy instance with the {@link hostRefs} object so it's
2707
+ * corresponding {@link d.HostRef} can be retrieved later.
2708
+ *
2709
+ * @param lazyInstance the lazy instance of interest
2710
+ * @param hostRef that instances `HostRef` object
2711
+ * @returns a reference to the host ref WeakMap
2712
+ */
2713
+ const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
2714
+ /**
2715
+ * Register a host element for a Stencil component, setting up various metadata
2716
+ * and callbacks based on {@link BUILD} flags as well as the component's runtime
2717
+ * metadata.
2718
+ *
2719
+ * @param hostElement the host element to register
2720
+ * @param cmpMeta runtime metadata for that component
2721
+ * @returns a reference to the host ref WeakMap
2722
+ */
2723
+ const registerHost = (hostElement, cmpMeta) => {
2724
+ const hostRef = {
2725
+ $flags$: 0,
2726
+ $hostElement$: hostElement,
2727
+ $cmpMeta$: cmpMeta,
2728
+ $instanceValues$: new Map(),
2729
+ };
2730
+ {
2731
+ hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));
2732
+ }
2733
+ {
2734
+ hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
2735
+ hostElement['s-p'] = [];
2736
+ hostElement['s-rc'] = [];
2737
+ }
2738
+ addHostEventListeners(hostElement, hostRef, cmpMeta.$listeners$);
2739
+ return hostRefs.set(hostElement, hostRef);
2740
+ };
2741
+ const isMemberInElement = (elm, memberName) => memberName in elm;
2742
+ const consoleError = (e, el) => (0, console.error)(e, el);
2743
+ const cmpModules = /*@__PURE__*/ new Map();
2744
+ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2745
+ // loadModuleImport
2746
+ const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
2747
+ const bundleId = cmpMeta.$lazyBundleId$;
2748
+ const module = cmpModules.get(bundleId) ;
2749
+ if (module) {
2750
+ return module[exportName];
2751
+ }
2752
+
2753
+ if (!hmrVersionId || !BUILD.hotModuleReplacement) {
2754
+ const processMod = importedModule => {
2755
+ cmpModules.set(bundleId, importedModule);
2756
+ return importedModule[exportName];
2757
+ }
2758
+ switch(bundleId) {
2759
+
2760
+ case 'z-app-header_11':
2761
+ return import(
2762
+ /* webpackMode: "lazy" */
2763
+ './z-app-header_11.entry.js').then(processMod, consoleError);
2764
+ case 'z-accordion':
2765
+ return import(
2766
+ /* webpackMode: "lazy" */
2767
+ './z-accordion.entry.js').then(processMod, consoleError);
2768
+ case 'z-anchor-navigation':
2769
+ return import(
2770
+ /* webpackMode: "lazy" */
2771
+ './z-anchor-navigation.entry.js').then(processMod, consoleError);
2772
+ case 'z-aria-alert':
2773
+ return import(
2774
+ /* webpackMode: "lazy" */
2775
+ './z-aria-alert.entry.js').then(processMod, consoleError);
2776
+ case 'z-avatar':
2777
+ return import(
2778
+ /* webpackMode: "lazy" */
2779
+ './z-avatar.entry.js').then(processMod, consoleError);
2780
+ case 'z-book-card':
2781
+ return import(
2782
+ /* webpackMode: "lazy" */
2783
+ './z-book-card.entry.js').then(processMod, consoleError);
2784
+ case 'z-breadcrumb':
2785
+ return import(
2786
+ /* webpackMode: "lazy" */
2787
+ './z-breadcrumb.entry.js').then(processMod, consoleError);
2788
+ case 'z-button-sort':
2789
+ return import(
2790
+ /* webpackMode: "lazy" */
2791
+ './z-button-sort.entry.js').then(processMod, consoleError);
2792
+ case 'z-card':
2793
+ return import(
2794
+ /* webpackMode: "lazy" */
2795
+ './z-card.entry.js').then(processMod, consoleError);
2796
+ case 'z-carousel':
2797
+ return import(
2798
+ /* webpackMode: "lazy" */
2799
+ './z-carousel.entry.js').then(processMod, consoleError);
2800
+ case 'z-combobox':
2801
+ return import(
2802
+ /* webpackMode: "lazy" */
2803
+ './z-combobox.entry.js').then(processMod, consoleError);
2804
+ case 'z-contextual-menu':
2805
+ return import(
2806
+ /* webpackMode: "lazy" */
2807
+ './z-contextual-menu.entry.js').then(processMod, consoleError);
2808
+ case 'z-cover-hero':
2809
+ return import(
2810
+ /* webpackMode: "lazy" */
2811
+ './z-cover-hero.entry.js').then(processMod, consoleError);
2812
+ case 'z-date-picker':
2813
+ return import(
2814
+ /* webpackMode: "lazy" */
2815
+ './z-date-picker.entry.js').then(processMod, consoleError);
2816
+ case 'z-file':
2817
+ return import(
2818
+ /* webpackMode: "lazy" */
2819
+ './z-file.entry.js').then(processMod, consoleError);
2820
+ case 'z-file-upload':
2821
+ return import(
2822
+ /* webpackMode: "lazy" */
2823
+ './z-file-upload.entry.js').then(processMod, consoleError);
2824
+ case 'z-info-box':
2825
+ return import(
2826
+ /* webpackMode: "lazy" */
2827
+ './z-info-box.entry.js').then(processMod, consoleError);
2828
+ case 'z-info-reveal':
2829
+ return import(
2830
+ /* webpackMode: "lazy" */
2831
+ './z-info-reveal.entry.js').then(processMod, consoleError);
2832
+ case 'z-link':
2833
+ return import(
2834
+ /* webpackMode: "lazy" */
2835
+ './z-link.entry.js').then(processMod, consoleError);
2836
+ case 'z-logo':
2837
+ return import(
2838
+ /* webpackMode: "lazy" */
2839
+ './z-logo.entry.js').then(processMod, consoleError);
2840
+ case 'z-menu':
2841
+ return import(
2842
+ /* webpackMode: "lazy" */
2843
+ './z-menu.entry.js').then(processMod, consoleError);
2844
+ case 'z-menu-section':
2845
+ return import(
2846
+ /* webpackMode: "lazy" */
2847
+ './z-menu-section.entry.js').then(processMod, consoleError);
2848
+ case 'z-messages-pocket':
2849
+ return import(
2850
+ /* webpackMode: "lazy" */
2851
+ './z-messages-pocket.entry.js').then(processMod, consoleError);
2852
+ case 'z-myz-card-alert':
2853
+ return import(
2854
+ /* webpackMode: "lazy" */
2855
+ './z-myz-card-alert.entry.js').then(processMod, consoleError);
2856
+ case 'z-myz-card-dictionary':
2857
+ return import(
2858
+ /* webpackMode: "lazy" */
2859
+ './z-myz-card-dictionary.entry.js').then(processMod, consoleError);
2860
+ case 'z-myz-card-footer':
2861
+ return import(
2862
+ /* webpackMode: "lazy" */
2863
+ './z-myz-card-footer.entry.js').then(processMod, consoleError);
2864
+ case 'z-myz-card-footer-sections':
2865
+ return import(
2866
+ /* webpackMode: "lazy" */
2867
+ './z-myz-card-footer-sections.entry.js').then(processMod, consoleError);
2868
+ case 'z-myz-card-icon':
2869
+ return import(
2870
+ /* webpackMode: "lazy" */
2871
+ './z-myz-card-icon.entry.js').then(processMod, consoleError);
2872
+ case 'z-myz-card-info':
2873
+ return import(
2874
+ /* webpackMode: "lazy" */
2875
+ './z-myz-card-info.entry.js').then(processMod, consoleError);
2876
+ case 'z-myz-card-list':
2877
+ return import(
2878
+ /* webpackMode: "lazy" */
2879
+ './z-myz-card-list.entry.js').then(processMod, consoleError);
2880
+ case 'z-myz-list':
2881
+ return import(
2882
+ /* webpackMode: "lazy" */
2883
+ './z-myz-list.entry.js').then(processMod, consoleError);
2884
+ case 'z-navigation-tab':
2885
+ return import(
2886
+ /* webpackMode: "lazy" */
2887
+ './z-navigation-tab.entry.js').then(processMod, consoleError);
2888
+ case 'z-navigation-tab-link':
2889
+ return import(
2890
+ /* webpackMode: "lazy" */
2891
+ './z-navigation-tab-link.entry.js').then(processMod, consoleError);
2892
+ case 'z-navigation-tabs':
2893
+ return import(
2894
+ /* webpackMode: "lazy" */
2895
+ './z-navigation-tabs.entry.js').then(processMod, consoleError);
2896
+ case 'z-notification':
2897
+ return import(
2898
+ /* webpackMode: "lazy" */
2899
+ './z-notification.entry.js').then(processMod, consoleError);
2900
+ case 'z-otp':
2901
+ return import(
2902
+ /* webpackMode: "lazy" */
2903
+ './z-otp.entry.js').then(processMod, consoleError);
2904
+ case 'z-pagination':
2905
+ return import(
2906
+ /* webpackMode: "lazy" */
2907
+ './z-pagination.entry.js').then(processMod, consoleError);
2908
+ case 'z-panel-elem':
2909
+ return import(
2910
+ /* webpackMode: "lazy" */
2911
+ './z-panel-elem.entry.js').then(processMod, consoleError);
2912
+ case 'z-pocket-message':
2913
+ return import(
2914
+ /* webpackMode: "lazy" */
2915
+ './z-pocket-message.entry.js').then(processMod, consoleError);
2916
+ case 'z-range-picker':
2917
+ return import(
2918
+ /* webpackMode: "lazy" */
2919
+ './z-range-picker.entry.js').then(processMod, consoleError);
2920
+ case 'z-section-title':
2921
+ return import(
2922
+ /* webpackMode: "lazy" */
2923
+ './z-section-title.entry.js').then(processMod, consoleError);
2924
+ case 'z-select':
2925
+ return import(
2926
+ /* webpackMode: "lazy" */
2927
+ './z-select.entry.js').then(processMod, consoleError);
2928
+ case 'z-skip-to-content':
2929
+ return import(
2930
+ /* webpackMode: "lazy" */
2931
+ './z-skip-to-content.entry.js').then(processMod, consoleError);
2932
+ case 'z-slideshow':
2933
+ return import(
2934
+ /* webpackMode: "lazy" */
2935
+ './z-slideshow.entry.js').then(processMod, consoleError);
2936
+ case 'z-stepper':
2937
+ return import(
2938
+ /* webpackMode: "lazy" */
2939
+ './z-stepper.entry.js').then(processMod, consoleError);
2940
+ case 'z-stepper-item':
2941
+ return import(
2942
+ /* webpackMode: "lazy" */
2943
+ './z-stepper-item.entry.js').then(processMod, consoleError);
2944
+ case 'z-table':
2945
+ return import(
2946
+ /* webpackMode: "lazy" */
2947
+ './z-table.entry.js').then(processMod, consoleError);
2948
+ case 'z-table-body':
2949
+ return import(
2950
+ /* webpackMode: "lazy" */
2951
+ './z-table-body.entry.js').then(processMod, consoleError);
2952
+ case 'z-table-deprecated':
2953
+ return import(
2954
+ /* webpackMode: "lazy" */
2955
+ './z-table-deprecated.entry.js').then(processMod, consoleError);
2956
+ case 'z-table-expanded-row':
2957
+ return import(
2958
+ /* webpackMode: "lazy" */
2959
+ './z-table-expanded-row.entry.js').then(processMod, consoleError);
2960
+ case 'z-table-footer':
2961
+ return import(
2962
+ /* webpackMode: "lazy" */
2963
+ './z-table-footer.entry.js').then(processMod, consoleError);
2964
+ case 'z-table-head':
2965
+ return import(
2966
+ /* webpackMode: "lazy" */
2967
+ './z-table-head.entry.js').then(processMod, consoleError);
2968
+ case 'z-table-header-row':
2969
+ return import(
2970
+ /* webpackMode: "lazy" */
2971
+ './z-table-header-row.entry.js').then(processMod, consoleError);
2972
+ case 'z-table-row':
2973
+ return import(
2974
+ /* webpackMode: "lazy" */
2975
+ './z-table-row.entry.js').then(processMod, consoleError);
2976
+ case 'z-table-sticky-footer':
2977
+ return import(
2978
+ /* webpackMode: "lazy" */
2979
+ './z-table-sticky-footer.entry.js').then(processMod, consoleError);
2980
+ case 'z-tag':
2981
+ return import(
2982
+ /* webpackMode: "lazy" */
2983
+ './z-tag.entry.js').then(processMod, consoleError);
2984
+ case 'z-tbody':
2985
+ return import(
2986
+ /* webpackMode: "lazy" */
2987
+ './z-tbody.entry.js').then(processMod, consoleError);
2988
+ case 'z-td':
2989
+ return import(
2990
+ /* webpackMode: "lazy" */
2991
+ './z-td.entry.js').then(processMod, consoleError);
2992
+ case 'z-tfoot':
2993
+ return import(
2994
+ /* webpackMode: "lazy" */
2995
+ './z-tfoot.entry.js').then(processMod, consoleError);
2996
+ case 'z-th':
2997
+ return import(
2998
+ /* webpackMode: "lazy" */
2999
+ './z-th.entry.js').then(processMod, consoleError);
3000
+ case 'z-thead':
3001
+ return import(
3002
+ /* webpackMode: "lazy" */
3003
+ './z-thead.entry.js').then(processMod, consoleError);
3004
+ case 'z-toast-notification':
3005
+ return import(
3006
+ /* webpackMode: "lazy" */
3007
+ './z-toast-notification.entry.js').then(processMod, consoleError);
3008
+ case 'z-toast-notification-list':
3009
+ return import(
3010
+ /* webpackMode: "lazy" */
3011
+ './z-toast-notification-list.entry.js').then(processMod, consoleError);
3012
+ case 'z-toggle-button':
3013
+ return import(
3014
+ /* webpackMode: "lazy" */
3015
+ './z-toggle-button.entry.js').then(processMod, consoleError);
3016
+ case 'z-toggle-switch':
3017
+ return import(
3018
+ /* webpackMode: "lazy" */
3019
+ './z-toggle-switch.entry.js').then(processMod, consoleError);
3020
+ case 'z-tooltip':
3021
+ return import(
3022
+ /* webpackMode: "lazy" */
3023
+ './z-tooltip.entry.js').then(processMod, consoleError);
3024
+ case 'z-tr':
3025
+ return import(
3026
+ /* webpackMode: "lazy" */
3027
+ './z-tr.entry.js').then(processMod, consoleError);
3028
+ case 'z-visually-hidden':
3029
+ return import(
3030
+ /* webpackMode: "lazy" */
3031
+ './z-visually-hidden.entry.js').then(processMod, consoleError);
3032
+ case 'z-alert':
3033
+ return import(
3034
+ /* webpackMode: "lazy" */
3035
+ './z-alert.entry.js').then(processMod, consoleError);
3036
+ case 'z-chip':
3037
+ return import(
3038
+ /* webpackMode: "lazy" */
3039
+ './z-chip.entry.js').then(processMod, consoleError);
3040
+ case 'z-dragdrop-area_2':
3041
+ return import(
3042
+ /* webpackMode: "lazy" */
3043
+ './z-dragdrop-area_2.entry.js').then(processMod, consoleError);
3044
+ case 'z-ghost-loading':
3045
+ return import(
3046
+ /* webpackMode: "lazy" */
3047
+ './z-ghost-loading.entry.js').then(processMod, consoleError);
3048
+ case 'z-myz-card_4':
3049
+ return import(
3050
+ /* webpackMode: "lazy" */
3051
+ './z-myz-card_4.entry.js').then(processMod, consoleError);
3052
+ case 'z-pocket_3':
3053
+ return import(
3054
+ /* webpackMode: "lazy" */
3055
+ './z-pocket_3.entry.js').then(processMod, consoleError);
3056
+ case 'z-table-cell':
3057
+ return import(
3058
+ /* webpackMode: "lazy" */
3059
+ './z-table-cell.entry.js').then(processMod, consoleError);
3060
+ case 'z-table-empty-box':
3061
+ return import(
3062
+ /* webpackMode: "lazy" */
3063
+ './z-table-empty-box.entry.js').then(processMod, consoleError);
3064
+ case 'z-table-header':
3065
+ return import(
3066
+ /* webpackMode: "lazy" */
3067
+ './z-table-header.entry.js').then(processMod, consoleError);
3068
+ case 'z-myz-list-item':
3069
+ return import(
3070
+ /* webpackMode: "lazy" */
3071
+ './z-myz-list-item.entry.js').then(processMod, consoleError);
3072
+ case 'z-popover':
3073
+ return import(
3074
+ /* webpackMode: "lazy" */
3075
+ './z-popover.entry.js').then(processMod, consoleError);
3076
+ }
3077
+ }
3078
+ return import(
3079
+ /* @vite-ignore */
3080
+ /* webpackInclude: /\.entry\.js$/ */
3081
+ /* webpackExclude: /\.system\.entry\.js$/ */
3082
+ /* webpackMode: "lazy" */
3083
+ `./${bundleId}.entry.js${''}`).then((importedModule) => {
3084
+ {
3085
+ cmpModules.set(bundleId, importedModule);
3086
+ }
3087
+ return importedModule[exportName];
3088
+ }, consoleError);
3089
+ };
3090
+ const styles = /*@__PURE__*/ new Map();
3091
+ const win = typeof window !== 'undefined' ? window : {};
3092
+ const doc = win.document || { head: {} };
3093
+ const H = (win.HTMLElement || class {
3094
+ });
3095
+ const plt = {
3096
+ $flags$: 0,
3097
+ $resourcesUrl$: '',
3098
+ jmp: (h) => h(),
3099
+ raf: (h) => requestAnimationFrame(h),
3100
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
3101
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
3102
+ ce: (eventName, opts) => new CustomEvent(eventName, opts),
3103
+ };
3104
+ const supportsShadow =
3105
+ // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
3106
+ true;
3107
+ const supportsListenerOptions = /*@__PURE__*/ (() => {
3108
+ let supportsListenerOptions = false;
3109
+ try {
3110
+ doc.addEventListener('e', null, Object.defineProperty({}, 'passive', {
3111
+ get() {
3112
+ supportsListenerOptions = true;
3113
+ },
3114
+ }));
3115
+ }
3116
+ catch (e) { }
3117
+ return supportsListenerOptions;
3118
+ })();
3119
+ const promiseResolve = (v) => Promise.resolve(v);
3120
+ const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
3121
+ try {
3122
+ new CSSStyleSheet();
3123
+ return typeof new CSSStyleSheet().replaceSync === 'function';
3124
+ }
3125
+ catch (e) { }
3126
+ return false;
3127
+ })()
3128
+ ;
3129
+ const queueDomReads = [];
3130
+ const queueDomWrites = [];
3131
+ const queueTask = (queue, write) => (cb) => {
3132
+ queue.push(cb);
3133
+ if (!queuePending) {
3134
+ queuePending = true;
3135
+ if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
3136
+ nextTick(flush);
3137
+ }
3138
+ else {
3139
+ plt.raf(flush);
3140
+ }
3141
+ }
3142
+ };
3143
+ const consume = (queue) => {
3144
+ for (let i = 0; i < queue.length; i++) {
3145
+ try {
3146
+ queue[i](performance.now());
3147
+ }
3148
+ catch (e) {
3149
+ consoleError(e);
3150
+ }
3151
+ }
3152
+ queue.length = 0;
3153
+ };
3154
+ const flush = () => {
3155
+ // always force a bunch of medium callbacks to run, but still have
3156
+ // a throttle on how many can run in a certain time
3157
+ // DOM READS!!!
3158
+ consume(queueDomReads);
3159
+ // DOM WRITES!!!
3160
+ {
3161
+ consume(queueDomWrites);
3162
+ if ((queuePending = queueDomReads.length > 0)) {
3163
+ // still more to do yet, but we've run out of time
3164
+ // let's let this thing cool off and try again in the next tick
3165
+ plt.raf(flush);
3166
+ }
3167
+ }
3168
+ };
3169
+ const nextTick = (cb) => promiseResolve().then(cb);
3170
+ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
3171
+
3172
+ export { H, Host as a, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
3173
+
3174
+ //# sourceMappingURL=index-f16bc2ca.js.map