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