@zanichelli/albe-web-components 18.5.4-RC1 → 18.6.0

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 (691) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/cjs/index-09238e31.js +47 -0
  3. package/dist/cjs/index-09238e31.js.map +1 -0
  4. package/dist/cjs/{index-364e3f60.js → index-1c7cd5df.js} +2 -2
  5. package/dist/cjs/index-1c7cd5df.js.map +1 -0
  6. package/dist/cjs/{index-6b856bc1.js → index-66928615.js} +3 -3
  7. package/dist/cjs/{index-6b856bc1.js.map → index-66928615.js.map} +1 -1
  8. package/dist/cjs/{index-2d4fb043.js → index-97a4c18d.js} +6 -1
  9. package/dist/cjs/index-97a4c18d.js.map +1 -0
  10. package/dist/cjs/index-c48948bf.js +73 -0
  11. package/dist/cjs/index-c48948bf.js.map +1 -0
  12. package/dist/cjs/{index-bf197d11.js → index-f011b2e3.js} +5 -3
  13. package/dist/cjs/index-f011b2e3.js.map +1 -0
  14. package/dist/cjs/index.cjs.js +2 -2
  15. package/dist/cjs/loader.cjs.js +1 -1
  16. package/dist/cjs/{utils-7bfaaf8c.js → utils-7f9d5a78.js} +2 -2
  17. package/dist/cjs/{utils-7bfaaf8c.js.map → utils-7f9d5a78.js.map} +1 -1
  18. package/dist/cjs/{utils-ecc8ba50.js → utils-93961cb6.js} +2 -2
  19. package/dist/cjs/{utils-ecc8ba50.js.map → utils-93961cb6.js.map} +1 -1
  20. package/dist/cjs/web-components-library.cjs.js +1 -1
  21. package/dist/cjs/z-accordion.cjs.entry.js +2 -2
  22. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  23. package/dist/cjs/z-anchor-navigation.cjs.entry.js +2 -2
  24. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +1 -1
  25. package/dist/cjs/z-app-header_12.cjs.entry.js +8 -8
  26. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  27. package/dist/cjs/z-avatar.cjs.entry.js +3 -3
  28. package/dist/cjs/z-book-card-app.cjs.entry.js +1 -1
  29. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +2 -2
  30. package/dist/cjs/z-book-card.cjs.entry.js +20 -7
  31. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
  32. package/dist/cjs/z-breadcrumb.cjs.entry.js +4 -4
  33. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  34. package/dist/cjs/z-card.cjs.entry.js +1 -1
  35. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  36. package/dist/cjs/z-chip.cjs.entry.js +3 -3
  37. package/dist/cjs/z-combobox.cjs.entry.js +3 -3
  38. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
  39. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  40. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +5 -5
  41. package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
  42. package/dist/cjs/z-file.cjs.entry.js +1 -1
  43. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  44. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  45. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  46. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  47. package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
  48. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  49. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  50. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  51. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  52. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  53. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  54. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  55. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  56. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  57. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  58. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  59. package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -4
  60. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
  61. package/dist/cjs/z-notification.cjs.entry.js +1 -1
  62. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  63. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  64. package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
  65. package/dist/cjs/z-popover.cjs.entry.js +307 -153
  66. package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
  67. package/dist/cjs/z-range-picker.cjs.entry.js +2 -2
  68. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  69. package/dist/cjs/z-select.cjs.entry.js +3 -3
  70. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  71. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  72. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  73. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  74. package/dist/cjs/z-table.cjs.entry.js +9 -9
  75. package/dist/cjs/z-table.cjs.entry.js.map +1 -1
  76. package/dist/cjs/z-td.cjs.entry.js +2 -2
  77. package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
  78. package/dist/cjs/z-th.cjs.entry.js +2 -2
  79. package/dist/cjs/z-thead.cjs.entry.js +1 -1
  80. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  81. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  82. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  83. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  84. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  85. package/dist/cjs/z-tr.cjs.entry.js +5 -5
  86. package/dist/cjs/z-tree-list.cjs.entry.js +1 -1
  87. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  88. package/dist/collection/beans/index.js +5 -0
  89. package/dist/collection/beans/index.js.map +1 -1
  90. package/dist/collection/components/book-card/z-book-card/index.js +44 -6
  91. package/dist/collection/components/book-card/z-book-card/index.js.map +1 -1
  92. package/dist/collection/components/book-card/z-book-card/styles.css +6 -0
  93. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  94. package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
  95. package/dist/collection/components/table/cells/z-td/styles.css +1 -7
  96. package/dist/collection/components/table/cells/z-th/styles.css +10 -7
  97. package/dist/collection/components/table/z-table/index.js +1 -1
  98. package/dist/collection/components/table/z-table/index.stories.js +7 -2
  99. package/dist/collection/components/table/z-table/index.stories.js.map +1 -1
  100. package/dist/collection/components/table/z-table/styles.css +2 -0
  101. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  102. package/dist/collection/components/table/z-tfoot/index.js.map +1 -1
  103. package/dist/collection/components/table/z-thead/index.js +21 -1
  104. package/dist/collection/components/table/z-thead/index.js.map +1 -1
  105. package/dist/collection/components/table/z-thead/styles.css +5 -0
  106. package/dist/collection/components/table/z-tr/index.js +15 -1
  107. package/dist/collection/components/table/z-tr/index.js.map +1 -1
  108. package/dist/collection/components/table/z-tr/styles.css +39 -14
  109. package/dist/collection/components/z-accordion/index.js +1 -1
  110. package/dist/collection/components/z-anchor-navigation/index.js +1 -1
  111. package/dist/collection/components/z-app-header/index.js +1 -1
  112. package/dist/collection/components/z-aria-alert/index.js +1 -1
  113. package/dist/collection/components/z-avatar/index.js +2 -2
  114. package/dist/collection/components/z-breadcrumb/index.js +2 -2
  115. package/dist/collection/components/z-button-sort/index.js +1 -1
  116. package/dist/collection/components/z-chip/index.js +2 -2
  117. package/dist/collection/components/z-combobox/index.js +1 -1
  118. package/dist/collection/components/z-cover-hero/index.js +2 -2
  119. package/dist/collection/components/z-divider/index.js +1 -1
  120. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  121. package/dist/collection/components/z-info-box/index.js +1 -1
  122. package/dist/collection/components/z-info-reveal/index.js +1 -1
  123. package/dist/collection/components/z-input/index.js +1 -1
  124. package/dist/collection/components/z-input-message/index.js +1 -1
  125. package/dist/collection/components/z-logo/index.js +1 -1
  126. package/dist/collection/components/z-menu-section/index.js +1 -1
  127. package/dist/collection/components/z-modal/index.js +4 -4
  128. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  129. package/dist/collection/components/z-navigation-tabs/styles.css +1 -1
  130. package/dist/collection/components/z-notification/index.js +1 -1
  131. package/dist/collection/components/z-offcanvas/index.js +1 -1
  132. package/dist/collection/components/z-panel-elem/index.js +2 -2
  133. package/dist/collection/components/z-popover/index.js +316 -156
  134. package/dist/collection/components/z-popover/index.js.map +1 -1
  135. package/dist/collection/components/z-popover/index.stories.js +124 -41
  136. package/dist/collection/components/z-popover/index.stories.js.map +1 -1
  137. package/dist/collection/components/z-popover/styles.css +16 -10
  138. package/dist/collection/components/z-searchbar/index.js +1 -1
  139. package/dist/collection/components/z-select/index.js +1 -1
  140. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  141. package/dist/collection/components/z-stepper/index.js +1 -1
  142. package/dist/collection/components/z-stepper-item/index.js +1 -1
  143. package/dist/collection/components/z-toast-notification/index.js +1 -1
  144. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  145. package/dist/collection/components/z-toggle-button/index.js +2 -2
  146. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  147. package/dist/collection/components/z-tooltip/index.js +1 -1
  148. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  149. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  150. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  151. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  152. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  153. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  154. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  155. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  156. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  157. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  158. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  159. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  160. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  161. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  162. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  163. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  164. package/dist/components/index10.js +1 -1
  165. package/dist/components/index11.js +1 -1
  166. package/dist/components/index12.js +1 -1
  167. package/dist/components/index16.js +4 -4
  168. package/dist/components/index17.js +1 -1
  169. package/dist/components/index18.js +1 -1
  170. package/dist/components/index19.js +1 -1
  171. package/dist/components/index2.js +5 -0
  172. package/dist/components/index2.js.map +1 -1
  173. package/dist/components/index20.js +1 -1
  174. package/dist/components/index21.js +1 -1
  175. package/dist/components/index22.js +1 -1
  176. package/dist/components/index23.js +308 -154
  177. package/dist/components/index23.js.map +1 -1
  178. package/dist/components/index24.js +1 -1
  179. package/dist/components/index3.js +1 -1
  180. package/dist/components/index5.js +2 -2
  181. package/dist/components/index6.js +1 -1
  182. package/dist/components/index8.js +1 -1
  183. package/dist/components/z-accordion.js +1 -1
  184. package/dist/components/z-anchor-navigation.js +1 -1
  185. package/dist/components/z-app-header.js +1 -1
  186. package/dist/components/z-aria-alert.js +1 -1
  187. package/dist/components/z-avatar.js +2 -2
  188. package/dist/components/z-book-card.js +19 -6
  189. package/dist/components/z-book-card.js.map +1 -1
  190. package/dist/components/z-breadcrumb.js +2 -2
  191. package/dist/components/z-button-sort.js +1 -1
  192. package/dist/components/z-combobox.js +1 -1
  193. package/dist/components/z-cover-hero.js +2 -2
  194. package/dist/components/z-info-box.js +1 -1
  195. package/dist/components/z-logo.js +1 -1
  196. package/dist/components/z-menu-section.js +1 -1
  197. package/dist/components/z-myz-card-alert.js +1 -1
  198. package/dist/components/z-myz-card-dictionary.js +1 -1
  199. package/dist/components/z-myz-card-footer-sections.js +1 -1
  200. package/dist/components/z-myz-card-footer.js +1 -1
  201. package/dist/components/z-myz-card-icon.js +1 -1
  202. package/dist/components/z-myz-card-info.js +1 -1
  203. package/dist/components/z-myz-card-list.js +1 -1
  204. package/dist/components/z-myz-list.js +1 -1
  205. package/dist/components/z-navigation-tabs.js +3 -3
  206. package/dist/components/z-navigation-tabs.js.map +1 -1
  207. package/dist/components/z-notification.js +1 -1
  208. package/dist/components/z-otp.js +2 -2
  209. package/dist/components/z-panel-elem.js +2 -2
  210. package/dist/components/z-select.js +1 -1
  211. package/dist/components/z-skip-to-content.js +1 -1
  212. package/dist/components/z-stepper-item.js +1 -1
  213. package/dist/components/z-stepper.js +1 -1
  214. package/dist/components/z-table.js +3 -2
  215. package/dist/components/z-table.js.map +1 -1
  216. package/dist/components/z-td.js +2 -2
  217. package/dist/components/z-td.js.map +1 -1
  218. package/dist/components/z-tfoot.js +1 -1
  219. package/dist/components/z-tfoot.js.map +1 -1
  220. package/dist/components/z-th.js +1 -1
  221. package/dist/components/z-th.js.map +1 -1
  222. package/dist/components/z-thead.js +6 -3
  223. package/dist/components/z-thead.js.map +1 -1
  224. package/dist/components/z-toast-notification-list.js +1 -1
  225. package/dist/components/z-toast-notification.js +1 -1
  226. package/dist/components/z-toggle-button.js +2 -2
  227. package/dist/components/z-toggle-switch.js +3 -3
  228. package/dist/components/z-tooltip.js +1 -1
  229. package/dist/components/z-tr.js +17 -2
  230. package/dist/components/z-tr.js.map +1 -1
  231. package/dist/components/z-visually-hidden.js +1 -1
  232. package/dist/esm/index-0bcacbd3.js +21 -0
  233. package/dist/esm/index-0bcacbd3.js.map +1 -0
  234. package/dist/esm/index-10473b87.js +71 -0
  235. package/dist/esm/index-10473b87.js.map +1 -0
  236. package/dist/esm/{index-cb76b648.js → index-2a6324f8.js} +6 -1
  237. package/dist/esm/index-2a6324f8.js.map +1 -0
  238. package/dist/esm/{index-571f913c.js → index-36122d8f.js} +2 -2
  239. package/dist/esm/index-36122d8f.js.map +1 -0
  240. package/dist/esm/{index-d02d53b4.js → index-b64ced16.js} +3 -3
  241. package/dist/esm/{index-d02d53b4.js.map → index-b64ced16.js.map} +1 -1
  242. package/dist/esm/index-f20179ad.js +45 -0
  243. package/dist/esm/index-f20179ad.js.map +1 -0
  244. package/dist/esm/index.js +2 -2
  245. package/dist/esm/loader.js +1 -1
  246. package/dist/esm/{utils-26154cbf.js → utils-227ef1c0.js} +2 -2
  247. package/dist/esm/{utils-26154cbf.js.map → utils-227ef1c0.js.map} +1 -1
  248. package/dist/esm/{utils-f6ae5714.js → utils-c8abef2f.js} +2 -2
  249. package/dist/esm/{utils-f6ae5714.js.map → utils-c8abef2f.js.map} +1 -1
  250. package/dist/esm/web-components-library.js +1 -1
  251. package/dist/esm/z-accordion.entry.js +2 -2
  252. package/dist/esm/z-alert.entry.js +1 -1
  253. package/dist/esm/z-anchor-navigation.entry.js +2 -2
  254. package/dist/esm/z-app-header-deprecated.entry.js +1 -1
  255. package/dist/esm/z-app-header_12.entry.js +8 -8
  256. package/dist/esm/z-aria-alert.entry.js +2 -2
  257. package/dist/esm/z-avatar.entry.js +3 -3
  258. package/dist/esm/z-book-card-app.entry.js +1 -1
  259. package/dist/esm/z-book-card-deprecated.entry.js +2 -2
  260. package/dist/esm/z-book-card.entry.js +20 -7
  261. package/dist/esm/z-book-card.entry.js.map +1 -1
  262. package/dist/esm/z-breadcrumb.entry.js +4 -4
  263. package/dist/esm/z-button-sort.entry.js +1 -1
  264. package/dist/esm/z-card.entry.js +1 -1
  265. package/dist/esm/z-carousel.entry.js +1 -1
  266. package/dist/esm/z-chip.entry.js +3 -3
  267. package/dist/esm/z-combobox.entry.js +3 -3
  268. package/dist/esm/z-cover-hero.entry.js +3 -3
  269. package/dist/esm/z-date-picker.entry.js +2 -2
  270. package/dist/esm/z-dragdrop-area_2.entry.js +5 -5
  271. package/dist/esm/z-file-upload.entry.js +1 -1
  272. package/dist/esm/z-file.entry.js +1 -1
  273. package/dist/esm/z-ghost-loading.entry.js +1 -1
  274. package/dist/esm/z-info-box.entry.js +1 -1
  275. package/dist/esm/z-info-reveal.entry.js +2 -2
  276. package/dist/esm/z-logo.entry.js +1 -1
  277. package/dist/esm/z-menu-section.entry.js +2 -2
  278. package/dist/esm/z-menu.entry.js +2 -2
  279. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  280. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  281. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  282. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  283. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  284. package/dist/esm/z-myz-card-info.entry.js +3 -3
  285. package/dist/esm/z-myz-card-list.entry.js +1 -1
  286. package/dist/esm/z-myz-card_4.entry.js +5 -5
  287. package/dist/esm/z-myz-list-item.entry.js +3 -3
  288. package/dist/esm/z-myz-list.entry.js +1 -1
  289. package/dist/esm/z-navigation-tabs.entry.js +4 -4
  290. package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
  291. package/dist/esm/z-notification.entry.js +1 -1
  292. package/dist/esm/z-otp.entry.js +3 -3
  293. package/dist/esm/z-pagination.entry.js +1 -1
  294. package/dist/esm/z-panel-elem.entry.js +2 -2
  295. package/dist/esm/z-popover.entry.js +308 -154
  296. package/dist/esm/z-popover.entry.js.map +1 -1
  297. package/dist/esm/z-range-picker.entry.js +2 -2
  298. package/dist/esm/z-section-title.entry.js +1 -1
  299. package/dist/esm/z-select.entry.js +3 -3
  300. package/dist/esm/z-skip-to-content.entry.js +3 -3
  301. package/dist/esm/z-slideshow.entry.js +2 -2
  302. package/dist/esm/z-stepper-item.entry.js +1 -1
  303. package/dist/esm/z-stepper.entry.js +1 -1
  304. package/dist/esm/z-table.entry.js +9 -9
  305. package/dist/esm/z-table.entry.js.map +1 -1
  306. package/dist/esm/z-td.entry.js +2 -2
  307. package/dist/esm/z-tfoot.entry.js +1 -1
  308. package/dist/esm/z-th.entry.js +2 -2
  309. package/dist/esm/z-thead.entry.js +1 -1
  310. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  311. package/dist/esm/z-toast-notification.entry.js +2 -2
  312. package/dist/esm/z-toggle-button.entry.js +2 -2
  313. package/dist/esm/z-toggle-switch.entry.js +5 -5
  314. package/dist/esm/z-tooltip.entry.js +2 -2
  315. package/dist/esm/z-tr.entry.js +5 -5
  316. package/dist/esm/z-tree-list.entry.js +1 -1
  317. package/dist/esm/z-visually-hidden.entry.js +1 -1
  318. package/dist/types/beans/index.d.ts +5 -0
  319. package/dist/types/components/book-card/z-book-card/index.d.ts +7 -1
  320. package/dist/types/components/table/z-table/index.stories.d.ts +5 -0
  321. package/dist/types/components/table/z-thead/index.d.ts +5 -0
  322. package/dist/types/components/table/z-tr/index.d.ts +1 -0
  323. package/dist/types/components/z-popover/index.d.ts +50 -4
  324. package/dist/types/components/z-popover/index.stories.d.ts +26 -6
  325. package/dist/types/components.d.ts +43 -5
  326. package/dist/web-components-library/index.esm.js +1 -1
  327. package/dist/web-components-library/{p-10345a6d.entry.js → p-0756fe6f.entry.js} +2 -2
  328. package/dist/web-components-library/{p-173b1867.entry.js → p-09ba466b.entry.js} +2 -2
  329. package/dist/web-components-library/{p-fa9fdeb5.entry.js → p-14f0bdf4.entry.js} +2 -2
  330. package/{www/build/p-b49aeff4.js → dist/web-components-library/p-17af7fb2.js} +1 -1
  331. package/dist/web-components-library/p-17af7fb2.js.map +1 -0
  332. package/dist/web-components-library/{p-0c61db99.entry.js → p-25935be3.entry.js} +2 -2
  333. package/dist/web-components-library/{p-333e3cef.entry.js → p-2fb52cd0.entry.js} +2 -2
  334. package/dist/web-components-library/{p-892f03fc.entry.js → p-30575221.entry.js} +2 -2
  335. package/{www/build/p-d67e2f1b.js → dist/web-components-library/p-30e42fb1.js} +2 -2
  336. package/dist/web-components-library/{p-411e98ab.entry.js → p-342b0eb0.entry.js} +2 -2
  337. package/dist/web-components-library/p-37f271c8.entry.js +2 -0
  338. package/dist/web-components-library/p-37f271c8.entry.js.map +1 -0
  339. package/dist/web-components-library/p-3ed25564.entry.js +2 -0
  340. package/dist/web-components-library/{p-209db20e.entry.js → p-4c730d4a.entry.js} +2 -2
  341. package/dist/web-components-library/p-4c9bf42d.js +2 -0
  342. package/dist/web-components-library/p-4c9bf42d.js.map +1 -0
  343. package/{www/build/p-b2bb23bb.entry.js → dist/web-components-library/p-4cec3345.entry.js} +2 -2
  344. package/dist/web-components-library/{p-a61cb9dc.entry.js → p-4d73640e.entry.js} +2 -2
  345. package/dist/web-components-library/{p-40fc2770.entry.js → p-4fbcf534.entry.js} +2 -2
  346. package/dist/web-components-library/{p-49f5ad13.entry.js → p-57b8bd19.entry.js} +2 -2
  347. package/dist/web-components-library/{p-fed6d4ac.entry.js → p-5cf3a797.entry.js} +2 -2
  348. package/dist/web-components-library/p-61f76cab.js +2 -0
  349. package/dist/web-components-library/p-61f76cab.js.map +1 -0
  350. package/{www/build/p-ee7185cf.entry.js → dist/web-components-library/p-6273db7f.entry.js} +2 -2
  351. package/dist/web-components-library/{p-22aab9d2.entry.js → p-63c1bde5.entry.js} +2 -2
  352. package/dist/web-components-library/{p-a372e8cb.entry.js → p-6793061a.entry.js} +2 -2
  353. package/dist/web-components-library/p-67edb420.entry.js +2 -0
  354. package/{www/build/p-59c1d10c.entry.js → dist/web-components-library/p-689b0280.entry.js} +2 -2
  355. package/dist/web-components-library/p-69a1a67a.entry.js +2 -0
  356. package/{www/build/p-dd350f70.entry.js → dist/web-components-library/p-6a62a0a7.entry.js} +3 -3
  357. package/dist/web-components-library/{p-6efc0b32.entry.js → p-6ca0ee2f.entry.js} +2 -2
  358. package/dist/web-components-library/{p-98148b01.entry.js → p-72a7eb26.entry.js} +2 -2
  359. package/dist/web-components-library/p-74819cbe.entry.js +2 -0
  360. package/dist/web-components-library/p-748fa3ae.js +2 -0
  361. package/{www/build/p-171ee634.js.map → dist/web-components-library/p-748fa3ae.js.map} +1 -1
  362. package/{www/build/p-99e3d7f4.entry.js → dist/web-components-library/p-757415e9.entry.js} +2 -2
  363. package/dist/web-components-library/p-8117a929.entry.js +2 -0
  364. package/dist/web-components-library/p-8117a929.entry.js.map +1 -0
  365. package/dist/web-components-library/{p-23d669a8.entry.js → p-817689d5.entry.js} +2 -2
  366. package/{www/build/p-cbc1f955.entry.js → dist/web-components-library/p-8b93bc6d.entry.js} +2 -2
  367. package/dist/web-components-library/{p-c96b2352.entry.js → p-8c164e0d.entry.js} +2 -2
  368. package/dist/web-components-library/p-8c52635e.entry.js +2 -0
  369. package/dist/web-components-library/p-8d5e3396.entry.js +2 -0
  370. package/dist/web-components-library/p-8d5e3396.entry.js.map +1 -0
  371. package/dist/web-components-library/{p-064c29b7.entry.js → p-962c7f6b.entry.js} +2 -2
  372. package/dist/web-components-library/p-97608d16.entry.js +2 -0
  373. package/dist/web-components-library/{p-dc46730d.entry.js.map → p-97608d16.entry.js.map} +1 -1
  374. package/dist/web-components-library/p-9e3da0b7.entry.js +2 -0
  375. package/dist/web-components-library/{p-02c55ed9.js → p-a06fbbc0.js} +2 -2
  376. package/dist/web-components-library/{p-a840eb59.entry.js → p-a905df88.entry.js} +2 -2
  377. package/dist/web-components-library/{p-684c8fcb.entry.js → p-ac585bcd.entry.js} +2 -2
  378. package/dist/web-components-library/{p-634b9589.entry.js → p-b63c8e8b.entry.js} +2 -2
  379. package/dist/web-components-library/{p-60ea979a.entry.js → p-badd98ad.entry.js} +2 -2
  380. package/dist/web-components-library/p-c2395922.entry.js +2 -0
  381. package/dist/web-components-library/p-c2395922.entry.js.map +1 -0
  382. package/dist/web-components-library/{p-6ba6ed17.entry.js → p-c2ba8a6c.entry.js} +2 -2
  383. package/dist/web-components-library/{p-dd66d76e.entry.js → p-c8814ae1.entry.js} +2 -2
  384. package/dist/web-components-library/{p-38ffeac0.entry.js → p-c962e854.entry.js} +2 -2
  385. package/dist/web-components-library/{p-3cb9a131.entry.js → p-caa491ca.entry.js} +2 -2
  386. package/dist/web-components-library/{p-62aaee7a.entry.js → p-cb1de7b4.entry.js} +2 -2
  387. package/dist/web-components-library/p-cbab66f7.entry.js +2 -0
  388. package/{www/build/p-40ac080b.entry.js → dist/web-components-library/p-cebc9451.entry.js} +2 -2
  389. package/{www/build/p-33c8d043.entry.js → dist/web-components-library/p-d0d54d42.entry.js} +2 -2
  390. package/{www/build/p-5cca3cf8.entry.js → dist/web-components-library/p-d6a7b7f3.entry.js} +2 -2
  391. package/dist/web-components-library/{p-b376a58c.entry.js → p-d6d3a92a.entry.js} +2 -2
  392. package/dist/web-components-library/p-d75f8bbb.entry.js +2 -0
  393. package/dist/web-components-library/p-d7f12672.js +2 -0
  394. package/dist/web-components-library/p-d7f12672.js.map +1 -0
  395. package/dist/web-components-library/{p-edceccad.entry.js → p-d8aa6afa.entry.js} +2 -2
  396. package/dist/web-components-library/p-d90d2698.entry.js +2 -0
  397. package/{www/build/p-800bd543.entry.js → dist/web-components-library/p-da30a6cb.entry.js} +2 -2
  398. package/{www/build/p-9425d3d1.entry.js → dist/web-components-library/p-dc5ba112.entry.js} +2 -2
  399. package/dist/web-components-library/{p-76102f08.entry.js → p-e231e811.entry.js} +2 -2
  400. package/{www/build/p-2fd165a0.entry.js → dist/web-components-library/p-e3b82454.entry.js} +2 -2
  401. package/dist/web-components-library/p-e5407cc1.entry.js +2 -0
  402. package/dist/web-components-library/{p-e853ccde.entry.js → p-e639e1bc.entry.js} +2 -2
  403. package/dist/web-components-library/{p-8ec302f8.entry.js → p-e8419614.entry.js} +2 -2
  404. package/dist/web-components-library/p-f19f12b1.js +2 -0
  405. package/dist/web-components-library/p-f19f12b1.js.map +1 -0
  406. package/dist/web-components-library/{p-a1d45a8b.entry.js → p-f1c55eda.entry.js} +2 -2
  407. package/{www/build/p-9c6fc3a6.entry.js → dist/web-components-library/p-f5efb3fc.entry.js} +2 -2
  408. package/dist/web-components-library/{p-2afe6219.entry.js → p-fb232d07.entry.js} +2 -2
  409. package/dist/web-components-library/web-components-library.esm.js +1 -1
  410. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  411. package/package.json +1 -1
  412. package/www/build/index.esm.js +1 -1
  413. package/www/build/{p-10345a6d.entry.js → p-0756fe6f.entry.js} +2 -2
  414. package/www/build/{p-173b1867.entry.js → p-09ba466b.entry.js} +2 -2
  415. package/www/build/{p-fa9fdeb5.entry.js → p-14f0bdf4.entry.js} +2 -2
  416. package/{dist/web-components-library/p-b49aeff4.js → www/build/p-17af7fb2.js} +1 -1
  417. package/www/build/p-17af7fb2.js.map +1 -0
  418. package/www/build/{p-0c61db99.entry.js → p-25935be3.entry.js} +2 -2
  419. package/www/build/{p-333e3cef.entry.js → p-2fb52cd0.entry.js} +2 -2
  420. package/www/build/{p-892f03fc.entry.js → p-30575221.entry.js} +2 -2
  421. package/{dist/web-components-library/p-d67e2f1b.js → www/build/p-30e42fb1.js} +2 -2
  422. package/www/build/{p-411e98ab.entry.js → p-342b0eb0.entry.js} +2 -2
  423. package/www/build/p-37f271c8.entry.js +2 -0
  424. package/www/build/p-37f271c8.entry.js.map +1 -0
  425. package/www/build/p-3ed25564.entry.js +2 -0
  426. package/www/build/{p-209db20e.entry.js → p-4c730d4a.entry.js} +2 -2
  427. package/www/build/p-4c9bf42d.js +2 -0
  428. package/www/build/p-4c9bf42d.js.map +1 -0
  429. package/{dist/web-components-library/p-b2bb23bb.entry.js → www/build/p-4cec3345.entry.js} +2 -2
  430. package/www/build/{p-a61cb9dc.entry.js → p-4d73640e.entry.js} +2 -2
  431. package/www/build/{p-40fc2770.entry.js → p-4fbcf534.entry.js} +2 -2
  432. package/www/build/{p-49f5ad13.entry.js → p-57b8bd19.entry.js} +2 -2
  433. package/www/build/{p-fed6d4ac.entry.js → p-5cf3a797.entry.js} +2 -2
  434. package/www/build/p-61f76cab.js +2 -0
  435. package/www/build/p-61f76cab.js.map +1 -0
  436. package/{dist/web-components-library/p-ee7185cf.entry.js → www/build/p-6273db7f.entry.js} +2 -2
  437. package/www/build/{p-22aab9d2.entry.js → p-63c1bde5.entry.js} +2 -2
  438. package/www/build/{p-a372e8cb.entry.js → p-6793061a.entry.js} +2 -2
  439. package/www/build/p-67edb420.entry.js +2 -0
  440. package/{dist/web-components-library/p-59c1d10c.entry.js → www/build/p-689b0280.entry.js} +2 -2
  441. package/www/build/p-69a1a67a.entry.js +2 -0
  442. package/{dist/web-components-library/p-dd350f70.entry.js → www/build/p-6a62a0a7.entry.js} +3 -3
  443. package/www/build/{p-6efc0b32.entry.js → p-6ca0ee2f.entry.js} +2 -2
  444. package/www/build/{p-98148b01.entry.js → p-72a7eb26.entry.js} +2 -2
  445. package/www/build/p-74819cbe.entry.js +2 -0
  446. package/www/build/p-748fa3ae.js +2 -0
  447. package/{dist/web-components-library/p-171ee634.js.map → www/build/p-748fa3ae.js.map} +1 -1
  448. package/{dist/web-components-library/p-99e3d7f4.entry.js → www/build/p-757415e9.entry.js} +2 -2
  449. package/www/build/p-8117a929.entry.js +2 -0
  450. package/www/build/p-8117a929.entry.js.map +1 -0
  451. package/www/build/{p-23d669a8.entry.js → p-817689d5.entry.js} +2 -2
  452. package/{dist/web-components-library/p-cbc1f955.entry.js → www/build/p-8b93bc6d.entry.js} +2 -2
  453. package/www/build/{p-c96b2352.entry.js → p-8c164e0d.entry.js} +2 -2
  454. package/www/build/p-8c52635e.entry.js +2 -0
  455. package/www/build/p-8d5e3396.entry.js +2 -0
  456. package/www/build/p-8d5e3396.entry.js.map +1 -0
  457. package/www/build/{p-064c29b7.entry.js → p-962c7f6b.entry.js} +2 -2
  458. package/www/build/p-97608d16.entry.js +2 -0
  459. package/www/build/{p-dc46730d.entry.js.map → p-97608d16.entry.js.map} +1 -1
  460. package/www/build/p-9e3da0b7.entry.js +2 -0
  461. package/www/build/{p-02c55ed9.js → p-a06fbbc0.js} +2 -2
  462. package/www/build/{p-a840eb59.entry.js → p-a905df88.entry.js} +2 -2
  463. package/www/build/{p-684c8fcb.entry.js → p-ac585bcd.entry.js} +2 -2
  464. package/www/build/{p-634b9589.entry.js → p-b63c8e8b.entry.js} +2 -2
  465. package/www/build/{p-60ea979a.entry.js → p-badd98ad.entry.js} +2 -2
  466. package/www/build/p-c2395922.entry.js +2 -0
  467. package/www/build/p-c2395922.entry.js.map +1 -0
  468. package/www/build/{p-6ba6ed17.entry.js → p-c2ba8a6c.entry.js} +2 -2
  469. package/www/build/{p-62dcf5d1.js → p-c802bb75.js} +1 -1
  470. package/www/build/{p-dd66d76e.entry.js → p-c8814ae1.entry.js} +2 -2
  471. package/www/build/{p-38ffeac0.entry.js → p-c962e854.entry.js} +2 -2
  472. package/www/build/{p-3cb9a131.entry.js → p-caa491ca.entry.js} +2 -2
  473. package/www/build/{p-62aaee7a.entry.js → p-cb1de7b4.entry.js} +2 -2
  474. package/www/build/p-cbab66f7.entry.js +2 -0
  475. package/{dist/web-components-library/p-40ac080b.entry.js → www/build/p-cebc9451.entry.js} +2 -2
  476. package/{dist/web-components-library/p-33c8d043.entry.js → www/build/p-d0d54d42.entry.js} +2 -2
  477. package/{dist/web-components-library/p-5cca3cf8.entry.js → www/build/p-d6a7b7f3.entry.js} +2 -2
  478. package/www/build/{p-b376a58c.entry.js → p-d6d3a92a.entry.js} +2 -2
  479. package/www/build/p-d75f8bbb.entry.js +2 -0
  480. package/www/build/p-d7f12672.js +2 -0
  481. package/www/build/p-d7f12672.js.map +1 -0
  482. package/www/build/{p-edceccad.entry.js → p-d8aa6afa.entry.js} +2 -2
  483. package/www/build/p-d90d2698.entry.js +2 -0
  484. package/{dist/web-components-library/p-800bd543.entry.js → www/build/p-da30a6cb.entry.js} +2 -2
  485. package/{dist/web-components-library/p-9425d3d1.entry.js → www/build/p-dc5ba112.entry.js} +2 -2
  486. package/www/build/{p-76102f08.entry.js → p-e231e811.entry.js} +2 -2
  487. package/{dist/web-components-library/p-2fd165a0.entry.js → www/build/p-e3b82454.entry.js} +2 -2
  488. package/www/build/p-e5407cc1.entry.js +2 -0
  489. package/www/build/{p-e853ccde.entry.js → p-e639e1bc.entry.js} +2 -2
  490. package/www/build/{p-8ec302f8.entry.js → p-e8419614.entry.js} +2 -2
  491. package/www/build/p-f19f12b1.js +2 -0
  492. package/www/build/p-f19f12b1.js.map +1 -0
  493. package/www/build/{p-a1d45a8b.entry.js → p-f1c55eda.entry.js} +2 -2
  494. package/{dist/web-components-library/p-9c6fc3a6.entry.js → www/build/p-f5efb3fc.entry.js} +2 -2
  495. package/www/build/{p-2afe6219.entry.js → p-fb232d07.entry.js} +2 -2
  496. package/www/build/web-components-library.esm.js +1 -1
  497. package/www/build/web-components-library.esm.js.map +1 -1
  498. package/www/index.html +1 -1
  499. package/dist/cjs/index-10fe85fc.js +0 -47
  500. package/dist/cjs/index-10fe85fc.js.map +0 -1
  501. package/dist/cjs/index-152c983a.js +0 -59
  502. package/dist/cjs/index-152c983a.js.map +0 -1
  503. package/dist/cjs/index-2d4fb043.js.map +0 -1
  504. package/dist/cjs/index-364e3f60.js.map +0 -1
  505. package/dist/cjs/index-bf197d11.js.map +0 -1
  506. package/dist/esm/index-571f913c.js.map +0 -1
  507. package/dist/esm/index-6b637355.js +0 -45
  508. package/dist/esm/index-6b637355.js.map +0 -1
  509. package/dist/esm/index-cb76b648.js.map +0 -1
  510. package/dist/esm/index-d0f93a38.js +0 -57
  511. package/dist/esm/index-d0f93a38.js.map +0 -1
  512. package/dist/esm/index-eb53c87f.js +0 -19
  513. package/dist/esm/index-eb53c87f.js.map +0 -1
  514. package/dist/web-components-library/p-171ee634.js +0 -2
  515. package/dist/web-components-library/p-195ed6d2.js +0 -2
  516. package/dist/web-components-library/p-195ed6d2.js.map +0 -1
  517. package/dist/web-components-library/p-2174d968.js +0 -2
  518. package/dist/web-components-library/p-2174d968.js.map +0 -1
  519. package/dist/web-components-library/p-22a8071a.entry.js +0 -2
  520. package/dist/web-components-library/p-28b41569.entry.js +0 -2
  521. package/dist/web-components-library/p-2aa75dee.entry.js +0 -2
  522. package/dist/web-components-library/p-2aa75dee.entry.js.map +0 -1
  523. package/dist/web-components-library/p-305d294a.entry.js +0 -2
  524. package/dist/web-components-library/p-3315c3e1.entry.js +0 -2
  525. package/dist/web-components-library/p-3315c3e1.entry.js.map +0 -1
  526. package/dist/web-components-library/p-35b5c549.entry.js +0 -2
  527. package/dist/web-components-library/p-35b5c549.entry.js.map +0 -1
  528. package/dist/web-components-library/p-39a968af.entry.js +0 -2
  529. package/dist/web-components-library/p-440db280.entry.js +0 -2
  530. package/dist/web-components-library/p-56156e0e.entry.js +0 -2
  531. package/dist/web-components-library/p-5cda7027.entry.js +0 -2
  532. package/dist/web-components-library/p-6a5bf3df.js +0 -2
  533. package/dist/web-components-library/p-6a5bf3df.js.map +0 -1
  534. package/dist/web-components-library/p-a2217ed8.entry.js +0 -2
  535. package/dist/web-components-library/p-a22b7aa0.entry.js +0 -2
  536. package/dist/web-components-library/p-a9d05a92.entry.js +0 -2
  537. package/dist/web-components-library/p-b49aeff4.js.map +0 -1
  538. package/dist/web-components-library/p-dc46730d.entry.js +0 -2
  539. package/dist/web-components-library/p-e2f36e53.entry.js +0 -2
  540. package/dist/web-components-library/p-e2f36e53.entry.js.map +0 -1
  541. package/dist/web-components-library/p-eb9ef3cb.js +0 -2
  542. package/dist/web-components-library/p-eb9ef3cb.js.map +0 -1
  543. package/www/build/p-171ee634.js +0 -2
  544. package/www/build/p-195ed6d2.js +0 -2
  545. package/www/build/p-195ed6d2.js.map +0 -1
  546. package/www/build/p-2174d968.js +0 -2
  547. package/www/build/p-2174d968.js.map +0 -1
  548. package/www/build/p-22a8071a.entry.js +0 -2
  549. package/www/build/p-28b41569.entry.js +0 -2
  550. package/www/build/p-2aa75dee.entry.js +0 -2
  551. package/www/build/p-2aa75dee.entry.js.map +0 -1
  552. package/www/build/p-305d294a.entry.js +0 -2
  553. package/www/build/p-3315c3e1.entry.js +0 -2
  554. package/www/build/p-3315c3e1.entry.js.map +0 -1
  555. package/www/build/p-35b5c549.entry.js +0 -2
  556. package/www/build/p-35b5c549.entry.js.map +0 -1
  557. package/www/build/p-39a968af.entry.js +0 -2
  558. package/www/build/p-440db280.entry.js +0 -2
  559. package/www/build/p-56156e0e.entry.js +0 -2
  560. package/www/build/p-5cda7027.entry.js +0 -2
  561. package/www/build/p-6a5bf3df.js +0 -2
  562. package/www/build/p-6a5bf3df.js.map +0 -1
  563. package/www/build/p-a2217ed8.entry.js +0 -2
  564. package/www/build/p-a22b7aa0.entry.js +0 -2
  565. package/www/build/p-a9d05a92.entry.js +0 -2
  566. package/www/build/p-b49aeff4.js.map +0 -1
  567. package/www/build/p-dc46730d.entry.js +0 -2
  568. package/www/build/p-e2f36e53.entry.js +0 -2
  569. package/www/build/p-e2f36e53.entry.js.map +0 -1
  570. package/www/build/p-eb9ef3cb.js +0 -2
  571. package/www/build/p-eb9ef3cb.js.map +0 -1
  572. /package/dist/web-components-library/{p-10345a6d.entry.js.map → p-0756fe6f.entry.js.map} +0 -0
  573. /package/dist/web-components-library/{p-173b1867.entry.js.map → p-09ba466b.entry.js.map} +0 -0
  574. /package/dist/web-components-library/{p-fa9fdeb5.entry.js.map → p-14f0bdf4.entry.js.map} +0 -0
  575. /package/dist/web-components-library/{p-0c61db99.entry.js.map → p-25935be3.entry.js.map} +0 -0
  576. /package/dist/web-components-library/{p-333e3cef.entry.js.map → p-2fb52cd0.entry.js.map} +0 -0
  577. /package/dist/web-components-library/{p-892f03fc.entry.js.map → p-30575221.entry.js.map} +0 -0
  578. /package/dist/web-components-library/{p-d67e2f1b.js.map → p-30e42fb1.js.map} +0 -0
  579. /package/dist/web-components-library/{p-411e98ab.entry.js.map → p-342b0eb0.entry.js.map} +0 -0
  580. /package/dist/web-components-library/{p-a2217ed8.entry.js.map → p-3ed25564.entry.js.map} +0 -0
  581. /package/dist/web-components-library/{p-209db20e.entry.js.map → p-4c730d4a.entry.js.map} +0 -0
  582. /package/dist/web-components-library/{p-b2bb23bb.entry.js.map → p-4cec3345.entry.js.map} +0 -0
  583. /package/dist/web-components-library/{p-a61cb9dc.entry.js.map → p-4d73640e.entry.js.map} +0 -0
  584. /package/dist/web-components-library/{p-40fc2770.entry.js.map → p-4fbcf534.entry.js.map} +0 -0
  585. /package/dist/web-components-library/{p-49f5ad13.entry.js.map → p-57b8bd19.entry.js.map} +0 -0
  586. /package/dist/web-components-library/{p-fed6d4ac.entry.js.map → p-5cf3a797.entry.js.map} +0 -0
  587. /package/dist/web-components-library/{p-ee7185cf.entry.js.map → p-6273db7f.entry.js.map} +0 -0
  588. /package/dist/web-components-library/{p-22aab9d2.entry.js.map → p-63c1bde5.entry.js.map} +0 -0
  589. /package/dist/web-components-library/{p-a372e8cb.entry.js.map → p-6793061a.entry.js.map} +0 -0
  590. /package/dist/web-components-library/{p-a9d05a92.entry.js.map → p-67edb420.entry.js.map} +0 -0
  591. /package/dist/web-components-library/{p-59c1d10c.entry.js.map → p-689b0280.entry.js.map} +0 -0
  592. /package/dist/web-components-library/{p-28b41569.entry.js.map → p-69a1a67a.entry.js.map} +0 -0
  593. /package/dist/web-components-library/{p-dd350f70.entry.js.map → p-6a62a0a7.entry.js.map} +0 -0
  594. /package/dist/web-components-library/{p-6efc0b32.entry.js.map → p-6ca0ee2f.entry.js.map} +0 -0
  595. /package/dist/web-components-library/{p-98148b01.entry.js.map → p-72a7eb26.entry.js.map} +0 -0
  596. /package/dist/web-components-library/{p-440db280.entry.js.map → p-74819cbe.entry.js.map} +0 -0
  597. /package/dist/web-components-library/{p-99e3d7f4.entry.js.map → p-757415e9.entry.js.map} +0 -0
  598. /package/dist/web-components-library/{p-23d669a8.entry.js.map → p-817689d5.entry.js.map} +0 -0
  599. /package/dist/web-components-library/{p-cbc1f955.entry.js.map → p-8b93bc6d.entry.js.map} +0 -0
  600. /package/dist/web-components-library/{p-c96b2352.entry.js.map → p-8c164e0d.entry.js.map} +0 -0
  601. /package/dist/web-components-library/{p-5cda7027.entry.js.map → p-8c52635e.entry.js.map} +0 -0
  602. /package/dist/web-components-library/{p-064c29b7.entry.js.map → p-962c7f6b.entry.js.map} +0 -0
  603. /package/dist/web-components-library/{p-305d294a.entry.js.map → p-9e3da0b7.entry.js.map} +0 -0
  604. /package/dist/web-components-library/{p-02c55ed9.js.map → p-a06fbbc0.js.map} +0 -0
  605. /package/dist/web-components-library/{p-a840eb59.entry.js.map → p-a905df88.entry.js.map} +0 -0
  606. /package/dist/web-components-library/{p-684c8fcb.entry.js.map → p-ac585bcd.entry.js.map} +0 -0
  607. /package/dist/web-components-library/{p-634b9589.entry.js.map → p-b63c8e8b.entry.js.map} +0 -0
  608. /package/dist/web-components-library/{p-60ea979a.entry.js.map → p-badd98ad.entry.js.map} +0 -0
  609. /package/dist/web-components-library/{p-6ba6ed17.entry.js.map → p-c2ba8a6c.entry.js.map} +0 -0
  610. /package/dist/web-components-library/{p-dd66d76e.entry.js.map → p-c8814ae1.entry.js.map} +0 -0
  611. /package/dist/web-components-library/{p-38ffeac0.entry.js.map → p-c962e854.entry.js.map} +0 -0
  612. /package/dist/web-components-library/{p-3cb9a131.entry.js.map → p-caa491ca.entry.js.map} +0 -0
  613. /package/dist/web-components-library/{p-62aaee7a.entry.js.map → p-cb1de7b4.entry.js.map} +0 -0
  614. /package/dist/web-components-library/{p-22a8071a.entry.js.map → p-cbab66f7.entry.js.map} +0 -0
  615. /package/dist/web-components-library/{p-40ac080b.entry.js.map → p-cebc9451.entry.js.map} +0 -0
  616. /package/dist/web-components-library/{p-33c8d043.entry.js.map → p-d0d54d42.entry.js.map} +0 -0
  617. /package/dist/web-components-library/{p-5cca3cf8.entry.js.map → p-d6a7b7f3.entry.js.map} +0 -0
  618. /package/dist/web-components-library/{p-b376a58c.entry.js.map → p-d6d3a92a.entry.js.map} +0 -0
  619. /package/dist/web-components-library/{p-39a968af.entry.js.map → p-d75f8bbb.entry.js.map} +0 -0
  620. /package/dist/web-components-library/{p-edceccad.entry.js.map → p-d8aa6afa.entry.js.map} +0 -0
  621. /package/dist/web-components-library/{p-56156e0e.entry.js.map → p-d90d2698.entry.js.map} +0 -0
  622. /package/dist/web-components-library/{p-800bd543.entry.js.map → p-da30a6cb.entry.js.map} +0 -0
  623. /package/dist/web-components-library/{p-9425d3d1.entry.js.map → p-dc5ba112.entry.js.map} +0 -0
  624. /package/dist/web-components-library/{p-76102f08.entry.js.map → p-e231e811.entry.js.map} +0 -0
  625. /package/dist/web-components-library/{p-2fd165a0.entry.js.map → p-e3b82454.entry.js.map} +0 -0
  626. /package/dist/web-components-library/{p-a22b7aa0.entry.js.map → p-e5407cc1.entry.js.map} +0 -0
  627. /package/dist/web-components-library/{p-e853ccde.entry.js.map → p-e639e1bc.entry.js.map} +0 -0
  628. /package/dist/web-components-library/{p-8ec302f8.entry.js.map → p-e8419614.entry.js.map} +0 -0
  629. /package/dist/web-components-library/{p-a1d45a8b.entry.js.map → p-f1c55eda.entry.js.map} +0 -0
  630. /package/dist/web-components-library/{p-9c6fc3a6.entry.js.map → p-f5efb3fc.entry.js.map} +0 -0
  631. /package/dist/web-components-library/{p-2afe6219.entry.js.map → p-fb232d07.entry.js.map} +0 -0
  632. /package/www/build/{p-10345a6d.entry.js.map → p-0756fe6f.entry.js.map} +0 -0
  633. /package/www/build/{p-173b1867.entry.js.map → p-09ba466b.entry.js.map} +0 -0
  634. /package/www/build/{p-fa9fdeb5.entry.js.map → p-14f0bdf4.entry.js.map} +0 -0
  635. /package/www/build/{p-0c61db99.entry.js.map → p-25935be3.entry.js.map} +0 -0
  636. /package/www/build/{p-333e3cef.entry.js.map → p-2fb52cd0.entry.js.map} +0 -0
  637. /package/www/build/{p-892f03fc.entry.js.map → p-30575221.entry.js.map} +0 -0
  638. /package/www/build/{p-d67e2f1b.js.map → p-30e42fb1.js.map} +0 -0
  639. /package/www/build/{p-411e98ab.entry.js.map → p-342b0eb0.entry.js.map} +0 -0
  640. /package/www/build/{p-a2217ed8.entry.js.map → p-3ed25564.entry.js.map} +0 -0
  641. /package/www/build/{p-209db20e.entry.js.map → p-4c730d4a.entry.js.map} +0 -0
  642. /package/www/build/{p-b2bb23bb.entry.js.map → p-4cec3345.entry.js.map} +0 -0
  643. /package/www/build/{p-a61cb9dc.entry.js.map → p-4d73640e.entry.js.map} +0 -0
  644. /package/www/build/{p-40fc2770.entry.js.map → p-4fbcf534.entry.js.map} +0 -0
  645. /package/www/build/{p-49f5ad13.entry.js.map → p-57b8bd19.entry.js.map} +0 -0
  646. /package/www/build/{p-fed6d4ac.entry.js.map → p-5cf3a797.entry.js.map} +0 -0
  647. /package/www/build/{p-ee7185cf.entry.js.map → p-6273db7f.entry.js.map} +0 -0
  648. /package/www/build/{p-22aab9d2.entry.js.map → p-63c1bde5.entry.js.map} +0 -0
  649. /package/www/build/{p-a372e8cb.entry.js.map → p-6793061a.entry.js.map} +0 -0
  650. /package/www/build/{p-a9d05a92.entry.js.map → p-67edb420.entry.js.map} +0 -0
  651. /package/www/build/{p-59c1d10c.entry.js.map → p-689b0280.entry.js.map} +0 -0
  652. /package/www/build/{p-28b41569.entry.js.map → p-69a1a67a.entry.js.map} +0 -0
  653. /package/www/build/{p-dd350f70.entry.js.map → p-6a62a0a7.entry.js.map} +0 -0
  654. /package/www/build/{p-6efc0b32.entry.js.map → p-6ca0ee2f.entry.js.map} +0 -0
  655. /package/www/build/{p-98148b01.entry.js.map → p-72a7eb26.entry.js.map} +0 -0
  656. /package/www/build/{p-440db280.entry.js.map → p-74819cbe.entry.js.map} +0 -0
  657. /package/www/build/{p-99e3d7f4.entry.js.map → p-757415e9.entry.js.map} +0 -0
  658. /package/www/build/{p-23d669a8.entry.js.map → p-817689d5.entry.js.map} +0 -0
  659. /package/www/build/{p-cbc1f955.entry.js.map → p-8b93bc6d.entry.js.map} +0 -0
  660. /package/www/build/{p-c96b2352.entry.js.map → p-8c164e0d.entry.js.map} +0 -0
  661. /package/www/build/{p-5cda7027.entry.js.map → p-8c52635e.entry.js.map} +0 -0
  662. /package/www/build/{p-064c29b7.entry.js.map → p-962c7f6b.entry.js.map} +0 -0
  663. /package/www/build/{p-305d294a.entry.js.map → p-9e3da0b7.entry.js.map} +0 -0
  664. /package/www/build/{p-02c55ed9.js.map → p-a06fbbc0.js.map} +0 -0
  665. /package/www/build/{p-a840eb59.entry.js.map → p-a905df88.entry.js.map} +0 -0
  666. /package/www/build/{p-684c8fcb.entry.js.map → p-ac585bcd.entry.js.map} +0 -0
  667. /package/www/build/{p-634b9589.entry.js.map → p-b63c8e8b.entry.js.map} +0 -0
  668. /package/www/build/{p-60ea979a.entry.js.map → p-badd98ad.entry.js.map} +0 -0
  669. /package/www/build/{p-6ba6ed17.entry.js.map → p-c2ba8a6c.entry.js.map} +0 -0
  670. /package/www/build/{p-dd66d76e.entry.js.map → p-c8814ae1.entry.js.map} +0 -0
  671. /package/www/build/{p-38ffeac0.entry.js.map → p-c962e854.entry.js.map} +0 -0
  672. /package/www/build/{p-3cb9a131.entry.js.map → p-caa491ca.entry.js.map} +0 -0
  673. /package/www/build/{p-62aaee7a.entry.js.map → p-cb1de7b4.entry.js.map} +0 -0
  674. /package/www/build/{p-22a8071a.entry.js.map → p-cbab66f7.entry.js.map} +0 -0
  675. /package/www/build/{p-40ac080b.entry.js.map → p-cebc9451.entry.js.map} +0 -0
  676. /package/www/build/{p-33c8d043.entry.js.map → p-d0d54d42.entry.js.map} +0 -0
  677. /package/www/build/{p-5cca3cf8.entry.js.map → p-d6a7b7f3.entry.js.map} +0 -0
  678. /package/www/build/{p-b376a58c.entry.js.map → p-d6d3a92a.entry.js.map} +0 -0
  679. /package/www/build/{p-39a968af.entry.js.map → p-d75f8bbb.entry.js.map} +0 -0
  680. /package/www/build/{p-edceccad.entry.js.map → p-d8aa6afa.entry.js.map} +0 -0
  681. /package/www/build/{p-56156e0e.entry.js.map → p-d90d2698.entry.js.map} +0 -0
  682. /package/www/build/{p-800bd543.entry.js.map → p-da30a6cb.entry.js.map} +0 -0
  683. /package/www/build/{p-9425d3d1.entry.js.map → p-dc5ba112.entry.js.map} +0 -0
  684. /package/www/build/{p-76102f08.entry.js.map → p-e231e811.entry.js.map} +0 -0
  685. /package/www/build/{p-2fd165a0.entry.js.map → p-e3b82454.entry.js.map} +0 -0
  686. /package/www/build/{p-a22b7aa0.entry.js.map → p-e5407cc1.entry.js.map} +0 -0
  687. /package/www/build/{p-e853ccde.entry.js.map → p-e639e1bc.entry.js.map} +0 -0
  688. /package/www/build/{p-8ec302f8.entry.js.map → p-e8419614.entry.js.map} +0 -0
  689. /package/www/build/{p-a1d45a8b.entry.js.map → p-f1c55eda.entry.js.map} +0 -0
  690. /package/www/build/{p-9c6fc3a6.entry.js.map → p-f5efb3fc.entry.js.map} +0 -0
  691. /package/www/build/{p-2afe6219.entry.js.map → p-fb232d07.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"index23.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,4xGAA4xG,CAAC;AAC/yG,uBAAe,SAAS;;ACExB,MAAM,gBAAgB,GAAG,QAAQ,CAAC,eAAe,CAAC;AAElD,SAAS,gBAAgB,CAAC,OAAgB;IACxC,IAAI,OAAO,CAAC,UAAU,KAAK,OAAO,CAAC,UAAU,EAAE;QAC7C,OAAO,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC;KAChC;IAED,OAAO,OAAO,CAAC,aAAa,CAAC;AAC/B,CAAC;AAED;;;;;AAKA,SAAS,oBAAoB,CAAC,OAAgB;IAC5C,IAAI,MAAM,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAEvC,OAAO,MAAM,IAAI,MAAM,KAAK,gBAAgB,EAAE;QAC5C,MAAM,EAAC,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAC,GAAG,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;QACzE,IAAI,QAAQ,KAAK,QAAQ,IAAI,SAAS,KAAK,QAAQ,IAAI,SAAS,KAAK,QAAQ,EAAE;YAC7E,OAAO,MAAM,CAAC;SACf;QAED,IACE,CAAC,MAAM,CAAC,YAAY,GAAG,MAAM,CAAC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AC;YACpB,KAAK,CAAC,QAAQ,GAAG,GAAG,aAAa,IAAI,CAAC;YACtC,KAAK,CAAC,SAAS,GAAG,GAAG,YAAY,GAAG,YAAY,CAAC,MAAM,GAAG,YAAY,IAAI,CAAC;SAC5E;QAED,IAAI,CAAC,eAAe,GAAG,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC;QACjD,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,kBAAkB,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;KAClE;IAED,iBAAiB;QACf,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,EAAE,CAAC;KACf;IAED,MAAM;QACJ,OAAO,8DAAa,CAAC;KACtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/z-popover/styles.css?tag=z-popover&encapsulation=shadow","src/components/z-popover/index.tsx"],"sourcesContent":[":host {\n --z-popover-theme--surface: var(--color-surface01);\n --z-popover-theme--text: var(--color-default-text);\n --z-popover-padding: 0;\n --z-popover-shadow-filter: drop-shadow(0 1px 2px var(--shadow-color-base));\n\n position: relative;\n display: none;\n min-width: calc(var(--space-unit) * 8);\n min-height: calc(var(--space-unit) * 4);\n align-items: center;\n justify-content: center;\n padding: var(--z-popover-padding);\n background: var(--z-popover-theme--surface);\n border-radius: var(--border-radius-small);\n color: var(--z-popover-theme--text);\n fill: currentcolor;\n filter: var(--z-popover-shadow-filter);\n font-family: var(--font-family-sans);\n text-align: center;\n}\n\n:host([open][current-position]),\n:host([open=\"true\"][current-position]) {\n display: flex;\n}\n\n:host([center][current-position=\"top\"]),\n:host([center][current-position=\"bottom\"]) {\n transform: translateX(-50%);\n}\n\n:host([center][current-position=\"right\"]),\n:host([center][current-position=\"left\"]) {\n transform: translateY(-50%);\n}\n\n:host([current-position^=\"top\"]) {\n margin: 0 0 var(--space-unit);\n}\n\n:host([current-position^=\"bottom\"]) {\n margin: var(--space-unit) 0 0;\n}\n\n:host([current-position^=\"left\"]) {\n margin: 0 var(--space-unit) 0 0;\n}\n\n:host([current-position^=\"right\"]) {\n margin: 0 0 0 var(--space-unit);\n}\n\n/* Arrow style */\n\n:host([current-position])::before {\n --arrow-size: 6px;\n --arrow-edge-offset: calc(100% - var(--space-unit) - (var(--arrow-size) / 2));\n --arrow-center-x-offset: calc(50% - (var(--arrow-size) / 2));\n --arrow-center-y-offset: calc(100% - (var(--arrow-size) / 2));\n\n position: absolute;\n display: block;\n width: var(--arrow-size);\n height: var(--arrow-size);\n background: var(--z-popover-theme--surface);\n content: \"\";\n transform: rotate(45deg);\n}\n\n:host([show-arrow=\"false\"])::before,\n:host(:not([show-arrow]))::before {\n display: none;\n}\n\n:host([current-position^=\"top\"])::before {\n top: var(--arrow-center-y-offset);\n}\n\n:host([current-position^=\"bottom\"])::before {\n bottom: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"top\"])::before,\n:host([current-position=\"bottom\"])::before {\n right: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"right\"])::before,\n:host([current-position=\"left\"])::before {\n bottom: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"right\"])::before {\n right: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"left\"])::before {\n left: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"top_right\"])::before,\n:host([current-position=\"bottom_right\"])::before {\n right: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"top_left\"])::before,\n:host([current-position=\"bottom_left\"])::before {\n left: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"right_top\"])::before,\n:host([current-position=\"left_top\"])::before {\n top: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"right_top\"])::before,\n:host([current-position=\"right_bottom\"])::before {\n right: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"left_top\"])::before,\n:host([current-position=\"left_bottom\"])::before {\n left: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"right_bottom\"])::before,\n:host([current-position=\"left_bottom\"])::before {\n bottom: var(--arrow-edge-offset);\n}\n\n:host([center][current-position=\"top\"])::before,\n:host([center][current-position=\"bottom\"])::before {\n right: auto;\n left: var(--arrow-center-x-offset);\n}\n\n:host([center][current-position=\"right\"])::before,\n:host([center][current-position=\"left\"])::before {\n top: var(--arrow-center-x-offset);\n bottom: auto;\n}\n\n::slotted(*) {\n overflow: auto;\n flex: 1 auto;\n}\n","import {Component, Element, Event, EventEmitter, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode, PopoverPosition} from \"../../beans\";\n\nconst DOCUMENT_ELEMENT = document.documentElement;\n\nfunction getParentElement(element: Element): Element {\n if (element.parentNode === element.shadowRoot) {\n return element.shadowRoot.host;\n }\n\n return element.parentElement;\n}\n\n/**\n * Find the closest scrollable parent of a node.\n *\n * @param {Element} element The node\n */\nfunction findScrollableParent(element: Element): Element {\n let parent = getParentElement(element);\n\n while (parent && parent !== DOCUMENT_ELEMENT) {\n const {overflow, overflowX, overflowY} = window.getComputedStyle(parent);\n if (overflow === \"hidden\" || overflowY === \"hidden\" || overflowX === \"hidden\") {\n return parent;\n }\n\n if (\n (parent.scrollHeight > parent.clientHeight && overflow !== \"visible\" && overflowY !== \"visible\") ||\n (parent.scrollWidth > parent.clientWidth && overflow !== \"visible\" && overflowX !== \"visible\")\n ) {\n return parent;\n }\n\n parent = getParentElement(parent);\n }\n\n return DOCUMENT_ELEMENT;\n}\n\n/**\n * Calculate computed offset.\n * It includes matrix transformations.\n * @param element The target element.\n * @param targetParentOffset The relative offset parent.\n * @return A client rect object.\n */\nfunction computeOffset(element: HTMLElement, targetParentOffset?: HTMLElement): Record<string, number> {\n const rect = element.getBoundingClientRect();\n const width = rect.width;\n const height = rect.height;\n\n let top = 0;\n let left = 0;\n let offsetParent = element;\n while (offsetParent && offsetParent != targetParentOffset) {\n left += offsetParent.offsetLeft;\n\n // document.body sometimes has offsetTop == 0 but still has an\n // offset because of children margins!\n if (offsetParent === document.body) {\n top += offsetParent.getBoundingClientRect().top + window.scrollY;\n } else {\n top += offsetParent.offsetTop;\n }\n\n if (window.DOMMatrix) {\n const style = window.getComputedStyle(offsetParent);\n const transform = style.transform || style.webkitTransform;\n const domMatrix = new DOMMatrix(transform);\n if (domMatrix) {\n left += domMatrix.m41;\n if (offsetParent !== document.body) {\n top += domMatrix.m42;\n }\n }\n }\n\n if (!offsetParent.offsetParent) {\n break;\n }\n\n offsetParent = offsetParent.offsetParent as HTMLElement;\n }\n\n let parentWidth: number;\n let parentHeight: number;\n if (offsetParent === document.body) {\n parentWidth = window.innerWidth;\n parentHeight = window.innerHeight;\n } else {\n parentWidth = offsetParent.offsetWidth;\n parentHeight = offsetParent.offsetHeight;\n }\n\n const right = parentWidth - left - rect.width;\n const bottom = parentHeight - top - rect.height;\n\n return {top, right, bottom, left, width, height};\n}\n\n/**\n * Popover component.\n *\n * @cssprop --z-popover-theme--surface - background color of the popover.\n * @cssprop --z-popover-theme--text - foreground color of the popover.\n * @cssprop --z-popover-padding - padding of the popover.\n * @cssprop --z-popover-shadow-filter - drop-shadow filter of the popover. Defaults to `drop-shadow(0 1px 2px var(--shadow-color-base))`.\n */\n@Component({\n tag: \"z-popover\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZPopover {\n /** Popover position. */\n @Prop({reflect: true})\n position: PopoverPosition = PopoverPosition.AUTO;\n\n /**\n * The open state of the popover.\n */\n @Prop({reflect: true, mutable: true})\n open = false;\n\n /**\n * The selector or the element bound with the popover.\n * If string css selector is provided make sure to use a valid selector.\n */\n @Prop()\n bindTo?: string | HTMLElement;\n\n /**\n * Whether to show popover's arrow.\n */\n @Prop({reflect: true})\n showArrow = false;\n\n /**\n * Whether to center the popup on the main side (according to \"position\").\n */\n @Prop({reflect: true})\n center = false;\n\n /**\n * If true, the popover can be closed by clicking outside of it or pressing the escape key.\n * Otherwise, it will be closed only programmatically (by setting `open` to `false`).\n */\n @Prop()\n closable = true;\n\n /**\n * The current position of the popover.\n */\n @State()\n currentPosition?: PopoverPosition;\n\n /**\n * Position change event.\n */\n @Event()\n positionChange: EventEmitter;\n\n /**\n * Open change event.\n */\n @Event()\n openChange: EventEmitter;\n\n @Element() host: HTMLZPopoverElement;\n\n private animationFrameRequestId?: number;\n\n @Listen(\"keyup\", {target: \"window\"})\n closePopoverWithKeyboard(e: KeyboardEvent): void {\n if (this.closable && e.key === KeyboardCode.ESC) {\n this.open = false;\n }\n }\n\n /**\n * Close the popover when clicking outside of its content.\n * Stop event propagation if the click was fired by popover's trigger element,\n * to prevent close and reopen glitches.\n * @param {MouseEvent} e\n */\n @Listen(\"click\", {target: \"body\", capture: true})\n handleOutsideClick(e: MouseEvent): void {\n if (!this.closable || !this.open) {\n return;\n }\n\n if (!e.composedPath().includes(this.host)) {\n const target = e.target as HTMLElement;\n const triggerElemClicked =\n this.bindTo instanceof HTMLElement ? this.bindTo.contains(target) : target.closest(this.bindTo);\n if (triggerElemClicked) {\n e.stopPropagation();\n }\n\n this.open = false;\n this.positionChange.emit({position: this.currentPosition});\n }\n }\n\n @Watch(\"position\")\n validatePosition(newValue: PopoverPosition): void {\n if (newValue && !Object.values(PopoverPosition).includes(newValue as PopoverPosition)) {\n this.position = PopoverPosition.AUTO;\n }\n\n this.currentPosition = this.position;\n this.positionChange.emit({position: this.currentPosition});\n }\n\n /**\n * Setup popover behaviors on opening.\n */\n @Watch(\"open\")\n onOpen(): void {\n cancelAnimationFrame(this.animationFrameRequestId);\n if (this.open) {\n const setPosition = (): void => {\n if (this.open) {\n this.setPosition();\n this.animationFrameRequestId = requestAnimationFrame(setPosition);\n }\n };\n\n setPosition();\n } else if (this.host.hasAttribute(\"current-position\")) {\n this.host.removeAttribute(\"current-position\");\n this.currentPosition = undefined;\n }\n\n this.openChange.emit({open: this.open});\n }\n\n disconnectedCallback(): void {\n cancelAnimationFrame(this.animationFrameRequestId);\n }\n\n /**\n * Set the position of the popover.\n */\n private setPosition(): void {\n let element: HTMLElement;\n if (typeof this.bindTo === \"string\") {\n element = this.host.ownerDocument.querySelector(this.bindTo) as HTMLElement;\n } else if (this.bindTo) {\n element = this.bindTo;\n } else {\n element = this.host.parentElement as HTMLElement;\n }\n\n if (!element) {\n return;\n }\n\n const scrollContainer = findScrollableParent(element) as HTMLElement;\n const scrollingBoundingRect = scrollContainer.getBoundingClientRect();\n const offsetContainer = this.host.offsetParent as HTMLElement;\n\n const relativeBoundingRect = offsetContainer\n ? computeOffset(offsetContainer, scrollContainer)\n : {top: 0, right: 0, bottom: 0, left: 0};\n const boundingRect = computeOffset(element, scrollContainer);\n\n const top = boundingRect.top - scrollContainer.scrollTop;\n const bottom = scrollingBoundingRect.height - (boundingRect.top + boundingRect.height) + scrollContainer.scrollTop;\n const left = boundingRect.left - scrollContainer.scrollLeft;\n const right = scrollingBoundingRect.width - (boundingRect.left + boundingRect.width) + scrollContainer.scrollLeft;\n\n const overflowBottom = Math.max(0, scrollingBoundingRect.top + scrollingBoundingRect.height - window.innerHeight);\n const overflowRight = Math.max(0, scrollingBoundingRect.left + scrollingBoundingRect.width - window.innerWidth);\n\n const availableTop = Math.min(top, top + scrollingBoundingRect.top);\n const availableBottom = Math.min(bottom, bottom - overflowBottom);\n const availableLeft = Math.min(left, left + scrollingBoundingRect.left);\n const availableRight = Math.min(right, right - overflowRight);\n\n const availableHeight = availableTop + availableBottom + boundingRect.height;\n const availableWidth = availableLeft + availableRight + boundingRect.width;\n\n let position = this.currentPosition;\n const positions: PopoverPosition[] = [];\n if (this.position === PopoverPosition.AUTO) {\n /**\n * The `AUTO` position tries to place the popover in the 'safest' area,\n * where there's more space available.\n */\n if (availableLeft / availableWidth > 0.6) {\n positions.push(PopoverPosition.LEFT);\n } else if (availableLeft / availableWidth < 0.4) {\n positions.push(PopoverPosition.RIGHT);\n }\n\n if (availableTop / availableHeight > 0.9) {\n positions.unshift(PopoverPosition.TOP);\n } else if (availableTop / availableHeight > 0.6) {\n positions.push(PopoverPosition.TOP);\n } else if (availableTop / availableHeight < 0.1) {\n positions.unshift(PopoverPosition.BOTTOM);\n } else {\n positions.push(PopoverPosition.BOTTOM);\n }\n\n position = positions.join(\"_\") as PopoverPosition;\n }\n\n const style = this.host.style;\n style.position = \"absolute\";\n\n const offsetTop = boundingRect.top - relativeBoundingRect.top;\n const offsetRight = boundingRect.right - relativeBoundingRect.right;\n const offsetBottom = boundingRect.bottom - relativeBoundingRect.bottom;\n const offsetLeft = boundingRect.left - relativeBoundingRect.left;\n const offsetModifier = this.center ? 0.5 : 0;\n const sizeModifier = this.center ? 0.5 : 0;\n\n if (position === PopoverPosition.TOP || position === PopoverPosition.TOP_RIGHT) {\n style.top = \"auto\";\n style.right = \"auto\";\n style.bottom = `${offsetBottom + boundingRect.height}px`;\n\n style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;\n style.maxHeight = `${availableTop}px`;\n if (position === PopoverPosition.TOP_RIGHT) {\n style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;\n }\n } else if (position === PopoverPosition.TOP_LEFT) {\n style.top = \"auto\";\n style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;\n style.bottom = `${offsetBottom + boundingRect.height}px`;\n style.left = \"auto\";\n style.maxWidth = `${availableLeft}px`;\n style.maxHeight = `${availableTop}px`;\n } else if (position === PopoverPosition.BOTTOM || position === PopoverPosition.BOTTOM_RIGHT) {\n style.top = `${offsetTop + boundingRect.height}px`;\n style.right = \"auto\";\n style.bottom = \"auto\";\n style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;\n style.maxHeight = `${availableBottom}px`;\n if (position === PopoverPosition.BOTTOM_RIGHT) {\n style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;\n }\n } else if (position === PopoverPosition.BOTTOM_LEFT) {\n style.top = `${offsetTop + boundingRect.height}px`;\n style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;\n style.bottom = \"auto\";\n style.left = \"auto\";\n style.maxWidth = `${availableLeft}px`;\n style.maxHeight = `${availableBottom}px`;\n } else if (position === PopoverPosition.RIGHT || position === PopoverPosition.RIGHT_BOTTOM) {\n style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;\n style.right = \"auto\";\n style.bottom = \"auto\";\n style.left = `${offsetLeft + boundingRect.width}px`;\n style.maxWidth = `${availableRight}px`;\n style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;\n } else if (position === PopoverPosition.RIGHT_TOP) {\n style.top = \"auto\";\n style.right = \"auto\";\n style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;\n style.left = `${offsetLeft + boundingRect.width}px`;\n style.maxWidth = `${availableRight}px`;\n style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;\n } else if (position === PopoverPosition.LEFT || position === PopoverPosition.LEFT_BOTTOM) {\n style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;\n style.right = `${offsetRight + boundingRect.width}px`;\n style.bottom = \"auto\";\n style.left = \"auto\";\n style.maxWidth = `${availableLeft}px`;\n style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;\n } else if (position === PopoverPosition.LEFT_TOP) {\n style.top = \"auto\";\n style.right = `${offsetRight + boundingRect.width}px`;\n style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;\n style.left = \"auto\";\n style.maxWidth = `${availableLeft}px`;\n style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;\n }\n\n this.currentPosition = position || this.position;\n this.host.setAttribute(\"current-position\", this.currentPosition);\n }\n\n componentWillLoad(): void {\n this.validatePosition(this.position);\n this.onOpen();\n }\n\n render(): HTMLSlotElement {\n return <slot></slot>;\n }\n}\n"],"version":3}
1
+ {"file":"index23.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,8yGAA8yG,CAAC;AACj0G,uBAAe,SAAS;;ACExB,MAAM,gBAAgB,GAAG,QAAQ,CAAC,eAAe,CAAC;AAOlD,SAAS,gBAAgB,CAAC,OAAgB;IACxC,IAAI,OAAO,CAAC,UAAU,KAAK,OAAO,CAAC,UAAU,EAAE;QAC7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C,WAAW;CAZQ,CAa1B;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/z-popover/styles.css?tag=z-popover&encapsulation=shadow","src/components/z-popover/index.tsx"],"sourcesContent":[":host {\n --z-popover-theme--surface: ;\n --z-popover-theme--text: ;\n --z-popover-padding: ;\n --z-popover-shadow-filter: ;\n\n position: absolute;\n display: none;\n min-width: calc(var(--space-unit) * 8);\n max-width: 100%;\n min-height: calc(var(--space-unit) * 4);\n max-height: 100%;\n align-items: center;\n justify-content: center;\n padding: var(--z-popover-padding, 0);\n background: var(--z-popover-theme--surface, var(--color-surface01));\n border-radius: var(--border-radius-small);\n color: var(--z-popover-theme--text, var(--color-default-text));\n fill: currentcolor;\n filter: var(--z-popover-shadow-filter, drop-shadow(0 1px 2px var(--shadow-color-base)));\n font-family: var(--font-family-sans);\n text-align: center;\n}\n\n:host([open]:not([current-position])) {\n visibility: hidden;\n}\n\n:host([open][current-position]),\n:host([open=\"true\"][current-position]) {\n display: flex;\n}\n\n:host([center][current-position=\"top\"]),\n:host([center][current-position=\"bottom\"]) {\n transform: translateX(-50%);\n}\n\n:host([center][current-position=\"right\"]),\n:host([center][current-position=\"left\"]) {\n transform: translateY(-50%);\n}\n\n:host([current-position^=\"top\"]) {\n margin: 0 0 var(--space-unit);\n}\n\n:host([current-position^=\"bottom\"]) {\n margin: var(--space-unit) 0 0;\n}\n\n:host([current-position^=\"left\"]) {\n margin: 0 var(--space-unit) 0 0;\n}\n\n:host([current-position^=\"right\"]) {\n margin: 0 0 0 var(--space-unit);\n}\n\n/* Arrow style */\n\n:host([current-position])::before {\n --arrow-size: 6px;\n --arrow-edge-offset: calc(100% - var(--space-unit) - (var(--arrow-size) / 2));\n --arrow-center-x-offset: calc(50% - (var(--arrow-size) / 2));\n --arrow-center-y-offset: calc(100% - (var(--arrow-size) / 2));\n\n position: absolute;\n display: block;\n width: var(--arrow-size);\n height: var(--arrow-size);\n background: var(--z-popover-theme--surface, var(--color-surface01));\n content: \"\";\n transform: rotate(45deg);\n}\n\n:host([show-arrow=\"false\"])::before,\n:host(:not([show-arrow]))::before {\n display: none;\n}\n\n:host([current-position^=\"top\"])::before {\n top: var(--arrow-center-y-offset);\n}\n\n:host([current-position^=\"bottom\"])::before {\n bottom: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"top\"])::before,\n:host([current-position=\"bottom\"])::before {\n right: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"right\"])::before,\n:host([current-position=\"left\"])::before {\n bottom: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"right\"])::before {\n right: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"left\"])::before {\n left: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"top_right\"])::before,\n:host([current-position=\"bottom_right\"])::before {\n right: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"top_left\"])::before,\n:host([current-position=\"bottom_left\"])::before {\n left: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"right_top\"])::before,\n:host([current-position=\"left_top\"])::before {\n top: var(--arrow-edge-offset);\n}\n\n:host([current-position=\"right_top\"])::before,\n:host([current-position=\"right_bottom\"])::before {\n right: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"left_top\"])::before,\n:host([current-position=\"left_bottom\"])::before {\n left: var(--arrow-center-y-offset);\n}\n\n:host([current-position=\"right_bottom\"])::before,\n:host([current-position=\"left_bottom\"])::before {\n bottom: var(--arrow-edge-offset);\n}\n\n:host([center][current-position=\"top\"])::before,\n:host([center][current-position=\"bottom\"])::before {\n right: auto;\n left: var(--arrow-center-x-offset);\n}\n\n:host([center][current-position=\"right\"])::before,\n:host([center][current-position=\"left\"])::before {\n top: var(--arrow-center-x-offset);\n bottom: auto;\n}\n\n::slotted(*) {\n overflow: auto;\n flex: 1 auto;\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode, PopoverPosition} from \"../../beans\";\n\nconst DOCUMENT_ELEMENT = document.documentElement;\n\ntype Offsets = {top: number; right: number; bottom: number; left: number};\ntype ElementSizes = {width: number; height: number};\n/** Centering offset modifier. 0 for no offset, 0.5 for centering. */\ntype OffsetModifier = 0 | 0.5;\n\nfunction getParentElement(element: Element): Element {\n if (element.parentNode === element.shadowRoot) {\n return element.shadowRoot.host;\n }\n\n return element.parentElement;\n}\n\n/**\n * Find the closest scrollable parent of a node.\n *\n * @param {Element} element The node\n */\nfunction findScrollableParent(element: Element): Element {\n let parent = getParentElement(element);\n\n while (parent && parent !== DOCUMENT_ELEMENT) {\n const style = window.getComputedStyle(parent);\n const {overflow, overflowX, overflowY} = style;\n\n // Check for hidden overflow first (early return)\n if (overflow === \"hidden\" || overflowY === \"hidden\" || overflowX === \"hidden\") {\n return parent;\n }\n\n // Only check scrollable if overflow is not visible\n const isOverflowNotVisible = overflow !== \"visible\";\n const isOverflowYNotVisible = overflowY !== \"visible\";\n const isOverflowXNotVisible = overflowX !== \"visible\";\n\n if (\n (parent.scrollHeight > parent.clientHeight && isOverflowNotVisible && isOverflowYNotVisible) ||\n (parent.scrollWidth > parent.clientWidth && isOverflowNotVisible && isOverflowXNotVisible)\n ) {\n return parent;\n }\n\n parent = getParentElement(parent);\n }\n\n return DOCUMENT_ELEMENT;\n}\n\n/**\n * Calculate computed offset.\n * It includes matrix transformations.\n * @param element The target element.\n * @param targetParentOffset The relative offset parent.\n */\nfunction computeOffset(element: HTMLElement, targetParentOffset?: HTMLElement): Offsets & ElementSizes {\n const rect = element.getBoundingClientRect();\n const {width, height} = rect;\n\n let top = 0;\n let left = 0;\n let offsetParent = element;\n\n while (offsetParent && offsetParent !== targetParentOffset) {\n left += offsetParent.offsetLeft;\n\n // document.body sometimes has offsetTop == 0 but still has an offset because of children margins!\n if (offsetParent === document.body) {\n top += offsetParent.getBoundingClientRect().top + window.scrollY;\n } else {\n top += offsetParent.offsetTop;\n }\n\n // Handle CSS transforms only when DOMMatrix is available\n if (window.DOMMatrix) {\n const style = window.getComputedStyle(offsetParent);\n const {transform} = style;\n\n if (transform && transform !== \"none\") {\n const domMatrix = new DOMMatrix(transform);\n left += domMatrix.m41;\n if (offsetParent !== document.body) {\n top += domMatrix.m42;\n }\n }\n }\n\n if (!offsetParent.offsetParent) {\n break;\n }\n\n offsetParent = offsetParent.offsetParent as HTMLElement;\n }\n\n let parentWidth: number;\n let parentHeight: number;\n if (offsetParent === document.body) {\n parentWidth = window.innerWidth;\n parentHeight = window.innerHeight;\n } else {\n parentWidth = offsetParent.offsetWidth;\n parentHeight = offsetParent.offsetHeight;\n }\n\n const right = parentWidth - left - width;\n const bottom = parentHeight - top - height;\n\n return {top, right, bottom, left, width, height};\n}\n\n/**\n * Popover component.\n * This component displays a popover that can be bound to an element.\n * It supports various positions and can automatically adjust its position based on available space.\n *\n * Notes:\n * - To ensure the positioning algorithm finds the right container when calculating the position, set its container's `position` to `relative`.\n * - Consider manually adjusting the size of the slotted element (using `max-width`, `max-height`, etc...) when its content is \"fluid\" (like a big text), because it can interfere with the position calculation (for example a long text on one single line can be bigger than the available space, letting the algorithm think that the popover doesn't fit in the available space).\n *\n * @cssprop --z-popover-theme--surface - background color of the popover.\n * @cssprop --z-popover-theme--text - foreground color of the popover.\n * @cssprop --z-popover-padding - padding of the popover.\n * @cssprop --z-popover-shadow-filter - drop-shadow filter of the popover. Defaults to `drop-shadow(0 1px 2px var(--shadow-color-base))`.\n */\n@Component({\n tag: \"z-popover\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZPopover {\n /**\n * The preferred position to render the popover.\n * The popover will automatically search another position if not enough space is available for the preferred position.\n * If the preferred position is not available, it will try to find the best position starting from `TOP` and going clockwise.\n */\n @Prop({reflect: true, mutable: true})\n position?: PopoverPosition = PopoverPosition.TOP;\n\n /**\n * The open state of the popover.\n */\n @Prop({reflect: true, mutable: true})\n open = false;\n\n /**\n * The selector or the element bound with the popover.\n * If string css selector is provided make sure to use a valid selector.\n */\n @Prop()\n bindTo?: string | HTMLElement;\n\n /**\n * Whether to show popover's arrow.\n */\n @Prop({reflect: true})\n showArrow = false;\n\n /**\n * Whether to center the popup on the main side (according to \"position\").\n */\n @Prop({reflect: true})\n center = false;\n\n /**\n * If true, the popover can be closed by clicking outside of it or pressing the escape key.\n * Otherwise, it will be closed only programmatically (by setting `open` to `false`).\n */\n @Prop()\n closable = true;\n\n /**\n * The current position of the popover.\n * It differs from `position` only when calculated automatically (position=auto) or when the position is recalculated for space reasons.\n */\n @State()\n currentPosition?: PopoverPosition;\n\n /**\n * Position change event.\n */\n @Event()\n positionChange: EventEmitter;\n\n /**\n * Open change event.\n */\n @Event()\n openChange: EventEmitter;\n\n @Element() host: HTMLZPopoverElement;\n\n private animationFrameRequestId?: number;\n\n private readonly spaceTolerance = 3; // 3px tolerance for space calculations\n\n @Listen(\"keyup\", {target: \"window\"})\n closePopoverWithKeyboard(e: KeyboardEvent): void {\n if (this.closable && e.key === KeyboardCode.ESC) {\n this.open = false;\n }\n }\n\n /**\n * Close the popover when clicking outside of its content.\n * Stop event propagation if the click was fired by popover's trigger element,\n * to prevent close and reopen glitches.\n * @param {MouseEvent} e\n */\n @Listen(\"click\", {target: \"body\", capture: true})\n handleOutsideClick(e: MouseEvent): void {\n if (!this.closable || !this.open) {\n return;\n }\n\n const eventPath = e.composedPath();\n if (!eventPath.includes(this.host)) {\n const target = e.target as HTMLElement;\n let triggerElemClicked = false;\n\n if (typeof this.bindTo === \"string\") {\n triggerElemClicked = !!target.closest(this.bindTo);\n } else if (this.bindTo) {\n triggerElemClicked = this.bindTo.contains(target);\n }\n\n if (triggerElemClicked) {\n // stop propagation if the click was on the trigger element to prevent close and reopen glitches\n e.stopPropagation();\n }\n\n this.open = false;\n this.positionChange.emit({position: this.currentPosition});\n }\n }\n\n @Watch(\"position\")\n validatePosition(newValue: PopoverPosition): void {\n if (!Object.values(PopoverPosition).includes(newValue as PopoverPosition) || newValue === PopoverPosition.AUTO) {\n newValue = PopoverPosition.TOP;\n }\n\n this.position = newValue;\n this.currentPosition = newValue;\n this.positionChange.emit({position: this.currentPosition});\n this.setPosition();\n }\n\n /**\n * Setup popover behaviors on opening.\n */\n @Watch(\"open\")\n onOpen(): void {\n cancelAnimationFrame(this.animationFrameRequestId);\n\n if (this.open) {\n const setPosition = (): void => {\n if (this.open) {\n this.setPosition();\n this.animationFrameRequestId = requestAnimationFrame(setPosition);\n }\n };\n\n // call `setPosition` after a tick to ensure the DOM is ready and sizes are available\n setTimeout(() => {\n setPosition();\n }, 0);\n }\n\n this.openChange.emit({open: this.open});\n }\n\n // Clockwise order of positions.\n private static readonly positionOrder: PopoverPosition[] = [\n PopoverPosition.TOP_RIGHT,\n PopoverPosition.TOP,\n PopoverPosition.TOP_LEFT,\n PopoverPosition.RIGHT_BOTTOM,\n PopoverPosition.RIGHT,\n PopoverPosition.RIGHT_TOP,\n PopoverPosition.BOTTOM_LEFT,\n PopoverPosition.BOTTOM,\n PopoverPosition.BOTTOM_RIGHT,\n PopoverPosition.LEFT_TOP,\n PopoverPosition.LEFT,\n PopoverPosition.LEFT_BOTTOM,\n ] as const;\n\n /**\n * Helper functions for space calculation\n */\n private hasCenteredHorizontalSpace(\n availableLeft: number,\n availableRight: number,\n hostWidth: number,\n boundWidth: number,\n offsetModifier: OffsetModifier\n ): boolean {\n const requiredSpace = (hostWidth - boundWidth) * (1 - offsetModifier);\n\n return (\n availableLeft >= requiredSpace - this.spaceTolerance && availableRight >= requiredSpace - this.spaceTolerance\n );\n }\n\n private hasCenteredVerticalSpace(\n availableTop: number,\n availableBottom: number,\n hostHeight: number,\n boundHeight: number,\n offsetModifier: OffsetModifier\n ): boolean {\n const requiredSpace = (hostHeight - boundHeight) * (1 - offsetModifier);\n\n return (\n availableTop >= requiredSpace - this.spaceTolerance && availableBottom >= requiredSpace - this.spaceTolerance\n );\n }\n\n private hasOffsetSpace(\n availableSpace: number,\n hostSize: number,\n boundSize: number,\n offsetModifier: OffsetModifier\n ): boolean {\n return availableSpace >= hostSize - boundSize * (1 - offsetModifier) - this.spaceTolerance;\n }\n\n /**\n * Given a desired position and available space around the bound element, returns the best position\n * that fits the popover, trying all positions if needed.\n * Takes into account offsetModifier for centering.\n * @param desiredPosition The desired position of the popover.\n * @param availableSpace The available space around the bound element.\n * @param boundElemSizes The sizes of the bound element.\n * @param offsetModifier The modifier to apply to the offset for centering.\n */\n private getOptimalPopoverPosition(\n desiredPosition: PopoverPosition,\n availableSpace: Offsets,\n boundElemSizes: ElementSizes,\n offsetModifier: OffsetModifier\n ): PopoverPosition {\n const hostWidth = this.host.offsetWidth;\n const hostHeight = this.host.offsetHeight;\n\n // Check if the desired position has enough space\n const fits = (pos: PopoverPosition): boolean => {\n switch (pos) {\n case PopoverPosition.TOP:\n return (\n availableSpace.top >= hostHeight &&\n this.hasCenteredHorizontalSpace(\n availableSpace.left,\n availableSpace.right,\n hostWidth,\n boundElemSizes.width,\n offsetModifier\n )\n );\n\n case PopoverPosition.TOP_RIGHT:\n return (\n availableSpace.top >= hostHeight &&\n this.hasOffsetSpace(availableSpace.right, hostWidth, boundElemSizes.width, offsetModifier)\n );\n\n case PopoverPosition.TOP_LEFT:\n return (\n availableSpace.top >= hostHeight &&\n this.hasOffsetSpace(availableSpace.left, hostWidth, boundElemSizes.width, offsetModifier)\n );\n\n case PopoverPosition.RIGHT:\n return (\n availableSpace.right >= hostWidth &&\n this.hasCenteredVerticalSpace(\n availableSpace.top,\n availableSpace.bottom,\n hostHeight,\n boundElemSizes.height,\n offsetModifier\n )\n );\n\n case PopoverPosition.RIGHT_BOTTOM:\n return (\n availableSpace.right >= hostWidth &&\n this.hasOffsetSpace(availableSpace.bottom, hostHeight, boundElemSizes.height, offsetModifier)\n );\n\n case PopoverPosition.RIGHT_TOP:\n return (\n availableSpace.right >= hostWidth &&\n this.hasOffsetSpace(availableSpace.top, hostHeight, boundElemSizes.height, offsetModifier)\n );\n\n case PopoverPosition.BOTTOM:\n return (\n availableSpace.bottom >= hostHeight &&\n this.hasCenteredHorizontalSpace(\n availableSpace.left,\n availableSpace.right,\n hostWidth,\n boundElemSizes.width,\n offsetModifier\n )\n );\n\n case PopoverPosition.BOTTOM_LEFT:\n return (\n availableSpace.bottom >= hostHeight &&\n this.hasOffsetSpace(availableSpace.left, hostWidth, boundElemSizes.width, offsetModifier)\n );\n\n case PopoverPosition.BOTTOM_RIGHT:\n return (\n availableSpace.bottom >= hostHeight &&\n this.hasOffsetSpace(availableSpace.right, hostWidth, boundElemSizes.width, offsetModifier)\n );\n\n case PopoverPosition.LEFT:\n return (\n availableSpace.left >= hostWidth &&\n this.hasCenteredVerticalSpace(\n availableSpace.top,\n availableSpace.bottom,\n hostHeight,\n boundElemSizes.height,\n offsetModifier\n )\n );\n\n case PopoverPosition.LEFT_TOP:\n return (\n availableSpace.left >= hostWidth &&\n this.hasOffsetSpace(availableSpace.top, hostHeight, boundElemSizes.height, offsetModifier)\n );\n\n case PopoverPosition.LEFT_BOTTOM:\n return (\n availableSpace.left >= hostWidth &&\n this.hasOffsetSpace(availableSpace.bottom, hostHeight, boundElemSizes.height, offsetModifier)\n );\n\n default:\n return false;\n }\n };\n\n // Check desired position first\n if (fits(desiredPosition)) {\n return desiredPosition;\n }\n\n // Find position index and create rotation starting from next position\n const positions = ZPopover.positionOrder;\n const startIndex = positions.indexOf(desiredPosition);\n\n if (startIndex === -1) {\n return desiredPosition; // fallback if position not found\n }\n\n // Try all other positions starting from the next one\n for (let i = 1; i < positions.length; i++) {\n const posIndex = (startIndex + i) % positions.length;\n const pos = positions[posIndex];\n if (fits(pos)) {\n return pos;\n }\n }\n\n // If no position fits, find the best fallback based on available space\n return this.findBestFallbackPosition(availableSpace);\n }\n\n /**\n * Find the best fallback position based on available space when no position fits perfectly\n */\n private findBestFallbackPosition(availableSpace: Offsets): PopoverPosition {\n // Determine the directions with the most space\n const bestHorizontalDirection =\n availableSpace.right >= availableSpace.left ? PopoverPosition.RIGHT : PopoverPosition.LEFT;\n\n const bestVerticalDirection =\n availableSpace.bottom >= availableSpace.top ? PopoverPosition.BOTTOM : PopoverPosition.TOP;\n\n // Choose the main direction based on which has more space\n const maxHorizontalSpace = Math.max(availableSpace.right, availableSpace.left);\n const maxVerticalSpace = Math.max(availableSpace.bottom, availableSpace.top);\n\n const mainDirection = maxVerticalSpace >= maxHorizontalSpace ? bestVerticalDirection : bestHorizontalDirection;\n\n // Check if secondary direction is necessary\n // Only add secondary direction if the difference between min and max in that direction is at least double\n let needsSecondaryDirection = false;\n\n if (mainDirection === bestVerticalDirection) {\n // Main direction is vertical, check horizontal space difference\n const minHorizontalSpace = Math.min(availableSpace.right, availableSpace.left);\n needsSecondaryDirection = maxHorizontalSpace >= minHorizontalSpace * 2;\n } else {\n // Main direction is horizontal, check vertical space difference\n const minVerticalSpace = Math.min(availableSpace.bottom, availableSpace.top);\n needsSecondaryDirection = maxVerticalSpace >= minVerticalSpace * 2;\n }\n\n if (!needsSecondaryDirection) {\n return mainDirection;\n }\n\n const secondaryDirection =\n mainDirection === bestVerticalDirection ? bestHorizontalDirection : bestVerticalDirection;\n\n // Create a combined position (e.g., \"bottom_right\")\n return `${mainDirection}_${secondaryDirection}` as PopoverPosition;\n }\n\n /**\n * Calculate available space around the bound element\n */\n private calculateAvailableSpace(\n boundElementRect: Offsets & ElementSizes,\n scrollContainer: HTMLElement,\n scrollingBoundingRect: DOMRect\n ): {top: number; right: number; bottom: number; left: number} {\n const top = boundElementRect.top - scrollContainer.scrollTop;\n const bottom =\n scrollingBoundingRect.height - (boundElementRect.top + boundElementRect.height) + scrollContainer.scrollTop;\n const left = boundElementRect.left - scrollContainer.scrollLeft;\n const right =\n scrollingBoundingRect.width - (boundElementRect.left + boundElementRect.width) + scrollContainer.scrollLeft;\n\n const overflowBottom = Math.max(0, scrollingBoundingRect.top + scrollingBoundingRect.height - window.innerHeight);\n const overflowRight = Math.max(0, scrollingBoundingRect.left + scrollingBoundingRect.width - window.innerWidth);\n\n return {\n top: Math.min(top, top + scrollingBoundingRect.top),\n bottom: Math.min(bottom, bottom - overflowBottom),\n left: Math.min(left, left + scrollingBoundingRect.left),\n right: Math.min(right, right - overflowRight),\n };\n }\n\n /**\n * Calculate relative offsets for positioning\n */\n private calculateRelativeOffsets(\n boundElementRect: Offsets,\n relativeBoundingRect: Offsets\n ): {top: number; right: number; bottom: number; left: number} {\n return {\n top: boundElementRect.top - relativeBoundingRect.top,\n right: boundElementRect.right - relativeBoundingRect.right,\n bottom: boundElementRect.bottom - relativeBoundingRect.bottom,\n left: boundElementRect.left - relativeBoundingRect.left,\n };\n }\n\n /**\n * Apply positioning styles based on position\n */\n private applyPositionStyles(\n position: PopoverPosition,\n style: CSSStyleDeclaration,\n offsets: Offsets,\n boundElementSizes: ElementSizes,\n availableSpace: Offsets,\n offsetModifier: OffsetModifier,\n arrowModifier: number\n ): void {\n const distanceFromBound = 8; // 8px is the distance of the popover from the bound element\n // Reset all positioning properties\n style.top = \"auto\";\n style.right = \"auto\";\n style.bottom = \"auto\";\n style.left = \"auto\";\n style.maxWidth = \"\";\n style.maxHeight = \"\";\n\n switch (position) {\n case PopoverPosition.TOP:\n case PopoverPosition.TOP_RIGHT:\n style.bottom = `${offsets.bottom + boundElementSizes.height}px`;\n style.left = `${offsets.left + boundElementSizes.width * offsetModifier - (position === PopoverPosition.TOP_RIGHT ? arrowModifier : 0)}px`;\n style.maxHeight = `${availableSpace.top - distanceFromBound}px`;\n if (position === PopoverPosition.TOP_RIGHT) {\n style.maxWidth = `${availableSpace.right + boundElementSizes.width * offsetModifier}px`;\n }\n break;\n\n case PopoverPosition.TOP_LEFT:\n style.right = `${offsets.right + boundElementSizes.width * offsetModifier - arrowModifier}px`;\n style.bottom = `${offsets.bottom + boundElementSizes.height}px`;\n style.maxWidth = `${availableSpace.left}px`;\n style.maxHeight = `${availableSpace.top - distanceFromBound}px`;\n break;\n\n case PopoverPosition.BOTTOM:\n case PopoverPosition.BOTTOM_RIGHT:\n style.top = `${offsets.top + boundElementSizes.height}px`;\n style.left = `${offsets.left + boundElementSizes.width * offsetModifier - (position === PopoverPosition.BOTTOM_RIGHT ? arrowModifier : 0)}px`;\n style.maxHeight = `${availableSpace.bottom - distanceFromBound}px`;\n if (position === PopoverPosition.BOTTOM_RIGHT) {\n style.maxWidth = `${availableSpace.right + boundElementSizes.width * offsetModifier}px`;\n }\n break;\n\n case PopoverPosition.BOTTOM_LEFT:\n style.top = `${offsets.top + boundElementSizes.height}px`;\n style.right = `${offsets.right + boundElementSizes.width * offsetModifier - arrowModifier}px`;\n style.maxWidth = `${availableSpace.left}px`;\n style.maxHeight = `${availableSpace.bottom - distanceFromBound}px`;\n break;\n\n case PopoverPosition.RIGHT:\n case PopoverPosition.RIGHT_BOTTOM:\n style.top = `${offsets.top + boundElementSizes.height * offsetModifier - (position === PopoverPosition.RIGHT_BOTTOM ? arrowModifier : 0)}px`;\n style.left = `${offsets.left + boundElementSizes.width}px`;\n style.maxWidth = `${availableSpace.right - distanceFromBound}px`;\n if (position === PopoverPosition.RIGHT) {\n style.maxHeight = `${Math.min(availableSpace.top + availableSpace.bottom + boundElementSizes.height, window.innerHeight - 20)}px`;\n } else {\n style.maxHeight = `${availableSpace.bottom + boundElementSizes.height * offsetModifier}px`;\n }\n break;\n\n case PopoverPosition.RIGHT_TOP:\n style.bottom = `${offsets.bottom + boundElementSizes.height * offsetModifier - arrowModifier}px`;\n style.left = `${offsets.left + boundElementSizes.width}px`;\n style.maxWidth = `${availableSpace.right - distanceFromBound}px`;\n if (position === PopoverPosition.RIGHT_TOP) {\n style.maxHeight = `${availableSpace.top + boundElementSizes.height * offsetModifier}px`;\n }\n break;\n\n case PopoverPosition.LEFT:\n case PopoverPosition.LEFT_BOTTOM:\n style.top = `${offsets.top + boundElementSizes.height * offsetModifier - (position === PopoverPosition.LEFT_BOTTOM ? arrowModifier : 0)}px`;\n style.right = `${offsets.right + boundElementSizes.width}px`;\n style.maxWidth = `${availableSpace.left - distanceFromBound}px`;\n if (position === PopoverPosition.LEFT_BOTTOM) {\n style.maxHeight = `${availableSpace.bottom + boundElementSizes.height * offsetModifier}px`;\n }\n break;\n\n case PopoverPosition.LEFT_TOP:\n style.right = `${offsets.right + boundElementSizes.width}px`;\n style.bottom = `${offsets.bottom + boundElementSizes.height * offsetModifier - arrowModifier}px`;\n style.maxWidth = `${availableSpace.left - distanceFromBound}px`;\n if (position === PopoverPosition.LEFT_TOP) {\n style.maxHeight = `${availableSpace.top + boundElementSizes.height * offsetModifier}px`;\n }\n break;\n }\n }\n\n /**\n * Set the position of the popover.\n */\n private setPosition(): void {\n let boundElement: HTMLElement;\n if (typeof this.bindTo === \"string\") {\n boundElement = this.host.ownerDocument.querySelector(this.bindTo) as HTMLElement;\n } else if (this.bindTo) {\n boundElement = this.bindTo;\n } else {\n boundElement = this.host.parentElement as HTMLElement;\n }\n\n if (!boundElement) {\n return;\n }\n\n const scrollContainer = findScrollableParent(boundElement) as HTMLElement;\n const scrollingBoundingRect = scrollContainer.getBoundingClientRect();\n const offsetContainer = this.host.offsetParent as HTMLElement;\n\n const relativeBoundingRect = offsetContainer\n ? computeOffset(offsetContainer, scrollContainer)\n : {top: 0, right: 0, bottom: 0, left: 0};\n const boundElementRect = computeOffset(boundElement, scrollContainer);\n\n const availableSpace = this.calculateAvailableSpace(boundElementRect, scrollContainer, scrollingBoundingRect);\n const offsets = this.calculateRelativeOffsets(boundElementRect, relativeBoundingRect);\n const offsetModifier = this.center ? 0.5 : 0;\n const arrowModifier = this.showArrow && this.center ? 8 : 0; // 8px is the distance of the arrow center from the edge of the popover\n\n const position = this.getOptimalPopoverPosition(\n this.position,\n availableSpace,\n {width: boundElementRect.width, height: boundElementRect.height},\n offsetModifier\n );\n\n const style = this.host.style;\n this.applyPositionStyles(position, style, offsets, boundElementRect, availableSpace, offsetModifier, arrowModifier);\n\n this.currentPosition = position;\n }\n\n componentWillLoad(): void {\n this.validatePosition(this.position);\n this.onOpen();\n }\n\n componentDidLoad(): void {\n this.setPosition();\n }\n\n disconnectedCallback(): void {\n cancelAnimationFrame(this.animationFrameRequestId);\n }\n\n render(): HTMLZPopoverElement {\n return (\n <Host current-position={this.currentPosition}>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -300,7 +300,7 @@ const ZSearchbar = /*@__PURE__*/ proxyCustomElement(class ZSearchbar extends HTM
300
300
  return (h("z-list-element", { role: "option", tabindex: 0, clickable: true, id: `list-item-${this.htmlid}-show-all`, onClickItem: () => (this.currResultsCount = 0), color: "color-primary01" }, h("div", { class: "item-show-all" }, "Vedi tutti i risultati")));
301
301
  }
302
302
  render() {
303
- return (h(Host, { key: '700c1b24aa29998ad1f51ddeff187bb462c87d39', onFocus: () => (this.showResults = true), onClick: (e) => this.handleOutsideClick(e), class: { "has-submit": this.showSearchButton, "has-results": this.autocomplete } }, h("div", { key: 'fb8c855749a9d3e901cd350d4d0246c2f2b3d183', class: "input-container" }, this.renderInput(), this.renderResults()), this.renderButton()));
303
+ return (h(Host, { key: '0ecc3fd73df3cf20449c6b241b526153e08caddb', onFocus: () => (this.showResults = true), onClick: (e) => this.handleOutsideClick(e), class: { "has-submit": this.showSearchButton, "has-results": this.autocomplete } }, h("div", { key: '860e5fea6661aad7aaa4ddfdf0e340754cf5275e', class: "input-container" }, this.renderInput(), this.renderResults()), this.renderButton()));
304
304
  }
305
305
  get element() { return this; }
306
306
  static get watchers() { return {
@@ -11,7 +11,7 @@ const ZAlert = /*@__PURE__*/ proxyCustomElement(class ZAlert extends HTMLElement
11
11
  this.type = undefined;
12
12
  }
13
13
  render() {
14
- return (h("div", { key: '7b5c63664284517f067c7216166e1d132a25c294', class: this.type }, h("slot", { key: '24ec7b94ade69283dcb0719c01f5812e5e63d243' })));
14
+ return (h("div", { key: 'cec03fbd664959d6e8f40dc4df14fe2308d0f43b', class: this.type }, h("slot", { key: 'a34ffee3e9c99c492ccdd72e42546abd57368456' })));
15
15
  }
16
16
  static get style() { return ZAlertStyle0; }
17
17
  }, [1, "z-alert", {
@@ -17,11 +17,11 @@ const ZChip = /*@__PURE__*/ proxyCustomElement(class ZChip extends HTMLElement {
17
17
  this.ariaLabel = "";
18
18
  }
19
19
  render() {
20
- return (h("div", { key: '0c1d69ed8078ff340f797d27d2b74798471c001b', class: {
20
+ return (h("div", { key: '4b4a07ba069a0392343f826702b9d221fe76f0be', class: {
21
21
  "z-chip-container": true,
22
22
  "z-chip-interactive": !!this.interactiveIcon,
23
23
  [this.type]: true,
24
- }, "aria-disabled": this.disabled }, this.icon && h("z-icon", { key: 'baa00891b0130541f3a820a08678d2f1eef894b7', name: this.icon }), h("slot", { key: 'd49c8dc5643a7f42f62ab086f9ae97da18aa2561' }), this.interactiveIcon && (h("button", { key: '970f2ccfd3cf3718627e8aec7bfe06d957694030', type: "button", onClick: () => this.interactiveIconClick.emit(), "aria-label": this.ariaLabel, disabled: this.disabled }, h("z-icon", { key: '68c899a4e14a204eaac9fc7d2be37dfd5af1b087', class: "interactive-icon", name: this.interactiveIcon })))));
24
+ }, "aria-disabled": this.disabled }, this.icon && h("z-icon", { key: '1adeb5f9343cfd12208342e2028ba802f5aa6dd6', name: this.icon }), h("slot", { key: 'ea3d86af473a049622e6de91dc6dafee0499da05' }), this.interactiveIcon && (h("button", { key: 'd4d2eb2c77d2a1224e0582500fc329a381e07a20', type: "button", onClick: () => this.interactiveIconClick.emit(), "aria-label": this.ariaLabel, disabled: this.disabled }, h("z-icon", { key: '7d4d4743ac1c87882732f9b5145afc70889dcac2', class: "interactive-icon", name: this.interactiveIcon })))));
25
25
  }
26
26
  get el() { return this; }
27
27
  static get style() { return ZChipStyle0; }
@@ -13,7 +13,7 @@ const ZDivider = /*@__PURE__*/ proxyCustomElement(class ZDivider extends HTMLEle
13
13
  this.orientation = DividerOrientation.HORIZONTAL;
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '04573f93294d9e35e7901c677476414b9d1eb74f', class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
16
+ return (h(Host, { key: '8a1e8b974fcbb5e77c9ee30d3fb08886f4c0e733', class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
17
17
  }
18
18
  static get style() { return ZDividerStyle0; }
19
19
  }, [2, "z-divider", {
@@ -10,7 +10,7 @@ const ZGhostLoading = /*@__PURE__*/ proxyCustomElement(class ZGhostLoading exten
10
10
  this.__attachShadow();
11
11
  }
12
12
  render() {
13
- return h(Host, { key: '06569bdb14202a00a873fc4d8336448b20115378' });
13
+ return h(Host, { key: '92040be77ff2741acd6f13352ff13c550524c78b' });
14
14
  }
15
15
  static get style() { return ZGhostLoadingStyle0; }
16
16
  }, [1, "z-ghost-loading"]);
@@ -40,7 +40,7 @@ const ZAccordion$1 = /*@__PURE__*/ proxyCustomElement(class ZAccordion extends H
40
40
  this.toggled.emit(this.open);
41
41
  }
42
42
  render() {
43
- return (h("details", { key: 'f7be56452b2cde8f5d4334c5d7ca5ebc0e119a44', ref: (elm) => (this.detailsElm = elm), onToggle: this.onDetailsToggle.bind(this), open: this.open }, h("summary", { key: '84fe90e0b7309290d1d1649032d0d5689ea26ece', tabIndex: this.isDisabled ? -1 : null, part: "summary" }, this.icon && (h("z-icon", { key: 'cbb8d8e385b9966d688eeaa65774d8612c8f51a4', class: "z-accordion-label-icon", name: this.icon })), h("span", { key: '609df343692d9ab5d7834a008cbe9f369dd25b2d', class: "z-accordion-label" }, this.label), h("span", { key: '2fb0b9a8d27bb9eceac332b90fcd4ed249fac7da', class: "z-accordion-tags" }, h("slot", { key: 'f7bd4d94db31698da39024ef0c0750388e63b821', name: "tag" })), h("z-icon", { key: '76503d776cacb956702720eed3bd21eff48ef2ce', class: "z-accordion-chevron", name: this.open ? "chevron-up" : "chevron-down" })), !this.isDisabled && (h("div", { key: '28949aca06f11637b2fffd7e6a3c037809a781e3', class: "z-accordion-content", part: "content" }, h("slot", { key: '24b9441a8563a113f33ba5f5b9a7f170feb458a9' })))));
43
+ return (h("details", { key: '75f8a546aa49db6a078ee035a359ea512da290a1', ref: (elm) => (this.detailsElm = elm), onToggle: this.onDetailsToggle.bind(this), open: this.open }, h("summary", { key: '83cf68bd5d118bb43dce8aed36776bdb6f31df24', tabIndex: this.isDisabled ? -1 : null, part: "summary" }, this.icon && (h("z-icon", { key: 'b718c6923a9176504f1c4f05e706938fc44aabe9', class: "z-accordion-label-icon", name: this.icon })), h("span", { key: '5db96b4f3f565e6e746fa1d339edb72839900a7e', class: "z-accordion-label" }, this.label), h("span", { key: 'f6b7bc7ce502d25be290af4ac3f257b8f2d88142', class: "z-accordion-tags" }, h("slot", { key: '304b3ac5f1cd58e9e3532e4e47109fb569d7a14a', name: "tag" })), h("z-icon", { key: 'ad373df60eafcabe0f707a74cff5bacdaeccb531', class: "z-accordion-chevron", name: this.open ? "chevron-up" : "chevron-down" })), !this.isDisabled && (h("div", { key: '3997863313ebf787bdc1ef101fb46ab4ed9fac00', class: "z-accordion-content", part: "content" }, h("slot", { key: '1870a604a2949390f50ef03e5d9f3a407a494023' })))));
44
44
  }
45
45
  static get watchers() { return {
46
46
  "isDisabled": ["onDisabledChange"]
@@ -43,7 +43,7 @@ const ZAnchorNavigation$1 = /*@__PURE__*/ proxyCustomElement(class ZAnchorNaviga
43
43
  window.removeEventListener("hashchange", this.setCurrent);
44
44
  }
45
45
  render() {
46
- return (h(Host, { key: '3a2bc3f92ecf223c95987e33c48e14bb03909fac', collapsed: this.collapsed }, h("z-button", { key: '5d88809c9fcc1a1ea1d163c3111367038da64f19', class: "toggle", variant: ButtonVariant.SECONDARY, icon: this.collapsed ? "chevron-up" : "chevron-down", onClick: this.toggleCollapsed.bind(this) }, this.collapsedLabel), h("nav", { key: '9f9eabbc84d1fe9ef578cc44b2a73d871c658ab5', ref: (el) => (this.nav = el) }, h("slot", { key: '44a486e2caa4b56f8556494f6fd8c4da8e076e7e' }))));
46
+ return (h(Host, { key: '7416cbf3c13605bab5b696af6ed5a63ae5a0ff4b', collapsed: this.collapsed }, h("z-button", { key: 'f4601704ffc2de21501aa18f3c9f79d50ef873ed', class: "toggle", variant: ButtonVariant.SECONDARY, icon: this.collapsed ? "chevron-up" : "chevron-down", onClick: this.toggleCollapsed.bind(this) }, this.collapsedLabel), h("nav", { key: '03029584b0971a53446e2db85b7bab98c9726495', ref: (el) => (this.nav = el) }, h("slot", { key: '22d203408c1172cf46fc6f3da0d128fcafb3d06b' }))));
47
47
  }
48
48
  get host() { return this; }
49
49
  static get style() { return ZAnchorNavigationStyle0; }
@@ -263,7 +263,7 @@ const ZAppHeader$1 = /*@__PURE__*/ proxyCustomElement(class ZAppHeader extends H
263
263
  }
264
264
  render() {
265
265
  const hasTopSubtitle = this.hasSlot("top-subtitle");
266
- return (h(Host, { key: '607b7e24e9f285a68b2b060594d7f05e1858d5cb', "menu-length": this.menuLength }, h("div", { key: 'de8f54eeebf6566e213aa26f938de37837a4eaee', class: { "heading-panel": true, "has-menubar": this.menuLength > 0 && !this.enableOffcanvas }, ref: (el) => (this.container = el) }, h("div", { key: 'f11b563767f199727353f296321d0668f8444465', class: "heading-container" }, ((!this.enableSearch && this.isMobile) || !this.isMobile) && (h("div", { key: '19345fabd859f0d6bad18ee1cdb1c03d959f888a', class: "top-subtitle" }, h("slot", { key: '47a905ab7dc9c88c99d296bc57021bb15ce5ca12', name: "top-subtitle" }))), h("div", { key: 'c2143a9324af347082cdd40584622818f631cea3', class: "heading-title" }, this.renderMenuButton(), !hasTopSubtitle && !this._stuck && this.renderProductLogos(), h("slot", { key: '90ebc7860504f24edf3b4380d716eedf4674ccab', name: "title" }), this.enableSearch && !this.isMobile && this.renderSeachbar()), this.enableSearch && this.isMobile && this.renderSeachbar()), h("nav", { key: '43fb23d049539010c329b0b4c03df3651ad0962b', class: "menu-container", "aria-label": this.title || undefined }, this.canShowMenu && (h("div", { key: 'e08c4cd11e0fb472ae66ed70c7129977175eaa1c', role: "menubar", "aria-label": this.title || undefined }, h("slot", { key: '5daa80b2f4cd1274f2cf564d29677a2c426a4359', name: "menu", onSlotchange: this.collectMenuElements }))))), this.renderOffcanvas(), this._stuck && this.renderStuck()));
266
+ return (h(Host, { key: '01bcf2e73c2b4da9ed2c9bcf19ceeece56bd738e', "menu-length": this.menuLength }, h("div", { key: 'adf412ee992b488c6e87b7e2f82265c7e6a13b8c', class: { "heading-panel": true, "has-menubar": this.menuLength > 0 && !this.enableOffcanvas }, ref: (el) => (this.container = el) }, h("div", { key: '015996363351b8b81ee50bffd409d8a41edc4008', class: "heading-container" }, ((!this.enableSearch && this.isMobile) || !this.isMobile) && (h("div", { key: '98e3fd2bc1a55fb77dfb00fb55708f6520461bb5', class: "top-subtitle" }, h("slot", { key: '068c16c8cb9496933955c6d68ac8aa1326640688', name: "top-subtitle" }))), h("div", { key: 'c7a806a4af8d099f0c6bc70cefd03f01467b235f', class: "heading-title" }, this.renderMenuButton(), !hasTopSubtitle && !this._stuck && this.renderProductLogos(), h("slot", { key: '45a99fbbb889355061ee3230d5825110d681e26e', name: "title" }), this.enableSearch && !this.isMobile && this.renderSeachbar()), this.enableSearch && this.isMobile && this.renderSeachbar()), h("nav", { key: 'b9ab704c754800865087d45791257a6191b847e9', class: "menu-container", "aria-label": this.title || undefined }, this.canShowMenu && (h("div", { key: '0dd28fca9d831513a3f29041a33da0b9935caa3e', role: "menubar", "aria-label": this.title || undefined }, h("slot", { key: '35e03382a70e5601c8d02c26731ba434d795de0a', name: "menu", onSlotchange: this.collectMenuElements }))))), this.renderOffcanvas(), this._stuck && this.renderStuck()));
267
267
  }
268
268
  get hostElement() { return this; }
269
269
  static get watchers() { return {
@@ -8,7 +8,7 @@ const ZAriaAlert$1 = /*@__PURE__*/ proxyCustomElement(class ZAriaAlert extends H
8
8
  this.mode = ZAriaAlertMode.POLITE;
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: '583949db78c250fbedcf782e8985635f23a109d8', "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", { key: '12d852a544ac602c33237d7f24124bd2fd47847c' })));
11
+ return (h(Host, { key: '507fd85bea3bc6cdfa0915afaf57866e29cc36e3', "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", { key: 'b28a7129f907a00beb9e5aa186f2960d7d6c4d1d' })));
12
12
  }
13
13
  }, [4, "z-aria-alert", {
14
14
  "mode": [1]
@@ -31,10 +31,10 @@ const ZAvatar$1 = /*@__PURE__*/ proxyCustomElement(class ZAvatar extends HTMLEle
31
31
  }
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: 'bf7dc11b7c8aea57303ce02812fd487a78248d46', class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
34
+ return (h(Host, { key: '8ce8c6ffe56b55036f9f47146041fcb91051ad36', class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
35
35
  color: `var(--${this.textColor})`,
36
36
  backgroundColor: `var(--${this.backgroundColor})`,
37
- } }, this.text && !this.image && h("span", { key: 'f5ff0b0ef02d7d69ada96f344f32dc8daccd5437' }, this.text.substring(0, 2)), this.image && (h("img", { key: '7df4cda5d4028d7397b70e1181c846bc9f84e19d', src: this.image, onError: () => (this.image = "") }))));
37
+ } }, this.text && !this.image && h("span", { key: 'b989378860518c05074dcf3cf445df062679f3c1' }, this.text.substring(0, 2)), this.image && (h("img", { key: '56a3a248fe3f88b2ed285f6a7c133b542ca21940', src: this.image, onError: () => (this.image = "") }))));
38
38
  }
39
39
  static get style() { return ZAvatarStyle0; }
40
40
  }, [1, "z-avatar", {
@@ -3,18 +3,23 @@ import { X as BookCardVariant, e as ControlSize } from './index2.js';
3
3
  import { d as defineCustomElement$3 } from './index4.js';
4
4
  import { d as defineCustomElement$2 } from './index9.js';
5
5
 
6
- const stylesCss = ":host{--z-book-card-portrait-cover-height:378px;--z-book-card-title-lines:2;--z-book-card-title-word-break:initial;--z-book-card-subtitle-lines:1;--z-book-card-subtitle-word-break:break-all;--z-book-card-authors-lines:1;--z-book-card-authors-word-break:break-all;display:flex;width:304px;box-sizing:border-box;flex-direction:column;border:solid var(--border-size-medium) var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);color:var(--color-default-text);font-family:var(--font-family-sans)}:host .main-content{display:flex;height:100%;box-sizing:border-box;flex-direction:column;padding:var(--space-unit);gap:var(--space-unit)}:host .main-content .cover{position:relative;display:flex;overflow:hidden;height:var(--z-book-card-portrait-cover-height);background:var(--color-white);border-radius:var(--border-radius)}:host .main-content .cover img{max-width:100%;max-height:100%;align-self:end}::slotted([slot=\"coverOverlay\"]){position:absolute;bottom:0;overflow:hidden;width:100%;box-sizing:border-box;padding:var(--space-unit);background-color:var(--avatar-C19);color:var(--color-white)}:host .main-content .cover ::slotted([slot=\"coverOverlay\"]){min-height:80px;max-height:336px}:host .main-content .card-info{display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:var(--space-unit)}:host .main-content .card-info .top{display:flex;flex-direction:column;gap:calc(var(--space-unit) * 2)}:host .main-content .card-info .top ::slotted([slot=\"tags\"]){display:flex;flex-wrap:wrap;gap:var(--space-unit)}:host .main-content .card-info .top ::slotted([slot=\"data\"]){display:flex;justify-content:space-between}:host .main-content .card-info .top .ellipsis{display:-webkit-box;overflow:hidden;height:1.4rem;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;line-height:1.4rem;text-overflow:ellipsis;word-break:break-all}:host .main-content .card-info .top .ellipsis.opera-title{height:calc(1.5 * var(--z-book-card-title-lines)) rem;-webkit-line-clamp:var(--z-book-card-title-lines);line-clamp:var(--z-book-card-title-lines);line-height:1.5rem;word-break:var(--z-book-card-title-word-break)}:host .main-content .card-info .top .ellipsis.volume-title{height:calc(1.4 * var(--z-book-card-subtitle-lines)) rem;-webkit-line-clamp:var(--z-book-card-subtitle-lines);line-clamp:var(--z-book-card-subtitle-lines);line-height:1.4rem;word-break:var(--z-book-card-subtitle-word-break)}:host .main-content .card-info .top .ellipsis.authors{height:calc(1.4 * var(--z-book-card-authors-lines)) rem;-webkit-line-clamp:var(--z-book-card-authors-lines);line-clamp:var(--z-book-card-authors-lines);line-height:1.4rem;word-break:var(--z-book-card-authors-word-break)}:host .main-content .card-info .top .opera-title *{all:unset}:host .main-content .cta-wrapper{display:flex;justify-content:space-between;gap:calc(var(--space-unit) / 2)}:host .main-content .card-info .top .link-chip-wrapper{display:flex;justify-content:space-between}:host .main-content .card-info .bottom .ebook{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--space-unit);background-color:var(--color-primary02);border-radius:var(--border-radius);gap:var(--space-unit)}:host .main-content .card-info .bottom .ebook .app-name{display:flex;align-items:center;padding:calc(var(--space-unit) / 2) 0;font-family:var(--font-family-serif);gap:calc(var(--space-unit) / 2)}:host .main-content .card-info .bottom .ebook .app-name .ebook-logo{width:1.5rem;height:1.5rem;content:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22none%22 aria-hidden=%22true%22%3E%3Cg clip-path=%22url(%23clip0_11996_224)%22%3E%3Cpath d=%22M14.6644 0.469604H5.00141C2.33305 0.469604 0.169922 2.63274 0.169922 5.3011V14.9641C0.169922 17.6324 2.33305 19.7956 5.00141 19.7956H14.6644C17.3328 19.7956 19.4959 17.6324 19.4959 14.9641V5.3011C19.4959 2.63274 17.3328 0.469604 14.6644 0.469604Z%22 fill=%22%23E2011A%22/%3E%3Cpath d=%22M15.9523 13.3536H12.7313C11.6861 13.3536 10.6683 13.6934 9.83241 14.3199C8.99657 13.6934 7.97873 13.3536 6.93352 13.3536H3.71252V5.30115H6.93352C7.97873 5.30115 8.99657 5.64096 9.83241 6.26745C10.6683 5.64096 11.6861 5.30115 12.7313 5.30115H15.9523V13.3536Z%22 fill=%22white%22/%3E%3Cpath d=%22M15.9523 14.3201H3.71252V14.9643H15.9523V14.3201Z%22 fill=%22black%22/%3E%3Cpath d=%22M8.22229 10.732V8.24543C8.22229 7.97165 8.51057 7.79449 8.75375 7.91689L11.2404 9.16019C11.5109 9.29548 11.5109 9.682 11.2404 9.81728L8.75375 11.0606C8.50896 11.183 8.22229 11.0058 8.22229 10.732Z%22 fill=%22black%22/%3E%3Cpath d=%22M4.35704 7.87826C5.42438 7.87826 6.28963 7.013 6.28963 5.94566C6.28963 4.87831 5.42438 4.01306 4.35704 4.01306C3.28969 4.01306 2.42444 4.87831 2.42444 5.94566C2.42444 7.013 3.28969 7.87826 4.35704 7.87826Z%22 fill=%22black%22/%3E%3Cpath d=%22M5.6454 5.62354H3.0686V6.26773H5.6454V5.62354Z%22 fill=%22white%22/%3E%3Cpath d=%22M4.67917 4.65723H4.03497V7.23402H4.67917V4.65723Z%22 fill=%22white%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id=%22clip0_11996_224%22%3E%3Crect width=%2219.326%22 height=%2219.326%22 fill=%22white%22 transform=%22translate(0.169922 0.469604)%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E\")}:host([variant=\"landscape\"]){width:635px;min-height:max(332px, 20.75rem);padding:0}:host([variant=\"landscape\"]) .main-content{min-height:max(332px, 20.75rem);box-sizing:border-box;flex-direction:row;padding:calc(var(--space-unit) * 2);gap:calc(var(--space-unit) * 2)}:host([variant=\"landscape\"]) .main-content .cover{display:flex;overflow:hidden;width:221px;height:300px;margin:0}:host([variant=\"landscape\"]) .main-content .cover ::slotted([slot=\"coverOverlay\"]){min-height:80px;max-height:256px}:host([variant=\"landscape\"]) .main-content .card-info{gap:calc(var(--space-unit) / 2)}:host([variant=\"landscape\"]) .main-content .card-info .top{gap:calc(var(--space-unit) / 2)}@media (max-width: 767px){:host([variant=\"portrait\"]){width:100%;max-width:400px}}";
7
- const ZBookCardStyle0 = stylesCss;
6
+ const stylesCss$1 = ":host{--z-book-card-portrait-cover-height:378px;--z-book-card-title-lines:2;--z-book-card-title-word-break:initial;--z-book-card-subtitle-lines:1;--z-book-card-subtitle-word-break:break-all;--z-book-card-authors-lines:1;--z-book-card-authors-word-break:break-all;display:flex;width:304px;box-sizing:border-box;flex-direction:column;border:solid var(--border-size-medium) var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);color:var(--color-default-text);font-family:var(--font-family-sans)}:host .main-content{display:flex;height:100%;box-sizing:border-box;flex-direction:column;padding:var(--space-unit);gap:var(--space-unit)}:host .main-content .cover{position:relative;display:flex;overflow:hidden;height:var(--z-book-card-portrait-cover-height);background:var(--color-white);border-radius:var(--border-radius)}:host .main-content a.cover-link:focus-visible{border-radius:var(--border-radius);box-shadow:var(--shadow-focus-primary);outline:none}:host .main-content .cover img{max-width:100%;max-height:100%;align-self:end}::slotted([slot=\"coverOverlay\"]){position:absolute;bottom:0;overflow:hidden;width:100%;box-sizing:border-box;padding:var(--space-unit);background-color:var(--avatar-C19);color:var(--color-white)}:host .main-content .cover ::slotted([slot=\"coverOverlay\"]){min-height:80px;max-height:336px}:host .main-content .card-info{display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:var(--space-unit)}:host .main-content .card-info .top{display:flex;flex-direction:column;gap:calc(var(--space-unit) * 2)}:host .main-content .card-info .top ::slotted([slot=\"tags\"]){display:flex;flex-wrap:wrap;gap:var(--space-unit)}:host .main-content .card-info .top ::slotted([slot=\"data\"]){display:flex;justify-content:space-between}:host .main-content .card-info .top .ellipsis{display:-webkit-box;overflow:hidden;height:1.4rem;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;line-height:1.4rem;text-overflow:ellipsis;word-break:break-all}:host .main-content .card-info .top .ellipsis.opera-title{height:calc(1.5 * var(--z-book-card-title-lines)) rem;-webkit-line-clamp:var(--z-book-card-title-lines);line-clamp:var(--z-book-card-title-lines);line-height:1.5rem;word-break:var(--z-book-card-title-word-break)}:host .main-content .card-info .top .ellipsis.volume-title{height:calc(1.4 * var(--z-book-card-subtitle-lines)) rem;-webkit-line-clamp:var(--z-book-card-subtitle-lines);line-clamp:var(--z-book-card-subtitle-lines);line-height:1.4rem;word-break:var(--z-book-card-subtitle-word-break)}:host .main-content .card-info .top .ellipsis.authors{height:calc(1.4 * var(--z-book-card-authors-lines)) rem;-webkit-line-clamp:var(--z-book-card-authors-lines);line-clamp:var(--z-book-card-authors-lines);line-height:1.4rem;word-break:var(--z-book-card-authors-word-break)}:host .main-content .card-info .top .opera-title *{all:unset}:host .main-content .cta-wrapper{display:flex;justify-content:space-between;gap:calc(var(--space-unit) / 2)}:host .main-content .card-info .top .link-chip-wrapper{display:flex;justify-content:space-between}:host .main-content .card-info .bottom .ebook{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--space-unit);background-color:var(--color-primary02);border-radius:var(--border-radius);gap:var(--space-unit)}:host .main-content .card-info .bottom .ebook .app-name{display:flex;align-items:center;padding:calc(var(--space-unit) / 2) 0;font-family:var(--font-family-serif);gap:calc(var(--space-unit) / 2)}:host .main-content .card-info .bottom .ebook .app-name .ebook-logo{width:1.5rem;height:1.5rem;content:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22none%22 aria-hidden=%22true%22%3E%3Cg clip-path=%22url(%23clip0_11996_224)%22%3E%3Cpath d=%22M14.6644 0.469604H5.00141C2.33305 0.469604 0.169922 2.63274 0.169922 5.3011V14.9641C0.169922 17.6324 2.33305 19.7956 5.00141 19.7956H14.6644C17.3328 19.7956 19.4959 17.6324 19.4959 14.9641V5.3011C19.4959 2.63274 17.3328 0.469604 14.6644 0.469604Z%22 fill=%22%23E2011A%22/%3E%3Cpath d=%22M15.9523 13.3536H12.7313C11.6861 13.3536 10.6683 13.6934 9.83241 14.3199C8.99657 13.6934 7.97873 13.3536 6.93352 13.3536H3.71252V5.30115H6.93352C7.97873 5.30115 8.99657 5.64096 9.83241 6.26745C10.6683 5.64096 11.6861 5.30115 12.7313 5.30115H15.9523V13.3536Z%22 fill=%22white%22/%3E%3Cpath d=%22M15.9523 14.3201H3.71252V14.9643H15.9523V14.3201Z%22 fill=%22black%22/%3E%3Cpath d=%22M8.22229 10.732V8.24543C8.22229 7.97165 8.51057 7.79449 8.75375 7.91689L11.2404 9.16019C11.5109 9.29548 11.5109 9.682 11.2404 9.81728L8.75375 11.0606C8.50896 11.183 8.22229 11.0058 8.22229 10.732Z%22 fill=%22black%22/%3E%3Cpath d=%22M4.35704 7.87826C5.42438 7.87826 6.28963 7.013 6.28963 5.94566C6.28963 4.87831 5.42438 4.01306 4.35704 4.01306C3.28969 4.01306 2.42444 4.87831 2.42444 5.94566C2.42444 7.013 3.28969 7.87826 4.35704 7.87826Z%22 fill=%22black%22/%3E%3Cpath d=%22M5.6454 5.62354H3.0686V6.26773H5.6454V5.62354Z%22 fill=%22white%22/%3E%3Cpath d=%22M4.67917 4.65723H4.03497V7.23402H4.67917V4.65723Z%22 fill=%22white%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id=%22clip0_11996_224%22%3E%3Crect width=%2219.326%22 height=%2219.326%22 fill=%22white%22 transform=%22translate(0.169922 0.469604)%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E\")}:host([variant=\"landscape\"]){width:635px;min-height:max(332px, 20.75rem);padding:0}:host([variant=\"landscape\"]) .main-content{min-height:max(332px, 20.75rem);box-sizing:border-box;flex-direction:row;padding:calc(var(--space-unit) * 2);gap:calc(var(--space-unit) * 2)}:host([variant=\"landscape\"]) .main-content .cover{display:flex;overflow:hidden;width:221px;height:300px;margin:0}:host([variant=\"landscape\"]) .main-content .cover ::slotted([slot=\"coverOverlay\"]){min-height:80px;max-height:256px}:host([variant=\"landscape\"]) .main-content .card-info{gap:calc(var(--space-unit) / 2)}:host([variant=\"landscape\"]) .main-content .card-info .top{gap:calc(var(--space-unit) / 2)}@media (max-width: 767px){:host([variant=\"portrait\"]){width:100%;max-width:400px}}";
7
+ const ZBookCardStyle0 = stylesCss$1;
8
8
 
9
9
  const typographyCss = ":root{--font-family-sans:\"IBM Plex Sans\", sans-serif;--font-family-serif:\"IBM Plex Serif\", serif;--font-lt:300;--font-rg:400;--font-sb:600;--font-bd:700;--font-size-1:0.75rem;--font-size-2:0.875rem;--font-size-3:1rem;--font-size-4:1.125rem;--font-size-5:1.25rem;--font-size-6:1.5rem;--font-size-7:1.75rem;--font-size-8:2rem;--font-size-9:2.25rem;--font-size-10:2.625rem;--font-size-11:3rem;--font-size-12:3.375rem;--font-size-13:3.75rem;--font-size-14:4.25rem;--font-size-15:4.75rem;--font-size-16:5.25rem;--font-size-17:5.75rem;--section-title-1:var(--font-sb) var(--font-size-11) / 0.9166 var(--font-family-serif);--section-title-2:var(--font-sb) var(--font-size-10) / 1.1904 var(--font-family-serif);--section-title-3:var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);--section-title-4:var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);--section-title-5:var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);--section-title-6:var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif)}.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-3,.heading-3-sb,.heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-4,.heading-4-sb,.heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-1,.body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-2,.body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.body-3,.body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.body-4,.body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.body-5,.body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.interactive-1,.interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.interactive-2,.interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.interactive-3,.interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.helper,.helper-sb{font-size:var(--font-size-1);font-style:italic;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.section-title-1{font:var(--section-title-1)}.section-title-2{font:var(--section-title-2)}.section-title-3{font:var(--section-title-3)}.section-title-4{font:var(--section-title-4)}.section-title-5{font:var(--section-title-5)}.section-title-6{font:var(--section-title-6)}@media (min-width: 1152px){.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}}@media (max-width: 767px){.mobile-heading-1,.mobile-heading-1-sb,.mobile-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.mobile-heading-2,.mobile-heading-2-sb,.mobile-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-3,.mobile-heading-3-sb,.mobile-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-4,.mobile-heading-4-sb,.mobile-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-1,.mobile-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-2,.mobile-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.mobile-body-3,.mobile-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-body-4,.mobile-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-body-5,.mobile-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-interactive-1,.mobile-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-interactive-2,.mobile-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-interactive-3,.mobile-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-section-title-1{font:var(--section-title-1)}.mobile-section-title-2{font:var(--section-title-2)}.mobile-section-title-3{font:var(--section-title-3)}.mobile-section-title-4{font:var(--section-title-4)}.mobile-section-title-5{font:var(--section-title-5)}.mobile-section-title-6{font:var(--section-title-6)}.mobile-heading-1-lt,.mobile-heading-2-lt,.mobile-heading-3-lt,.mobile-heading-4-lt{font-weight:var(--font-lt)}.mobile-heading-1-sb,.mobile-heading-2-sb,.mobile-heading-3-sb,.mobile-heading-4-sb,.mobile-body-1-sb,.mobile-body-2-sb,.mobile-body-3-sb,.mobile-body-4-sb,.mobile-body-5-sb,.mobile-interactive-1-sb,.mobile-interactive-2-sb,.mobile-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 768px) and (max-width: 1151px){.tablet-heading-1,.tablet-heading-1-sb,.tablet-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.tablet-heading-2,.tablet-heading-2-sb,.tablet-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-3,.tablet-heading-3-sb,.tablet-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-4,.tablet-heading-4-sb,.tablet-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-1,.tablet-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-2,.tablet-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.tablet-body-3,.tablet-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-body-4,.tablet-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-body-5,.tablet-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-interactive-1,.tablet-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-interactive-2,.tablet-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-interactive-3,.tablet-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-section-title-1{font:var(--section-title-1)}.tablet-section-title-2{font:var(--section-title-2)}.tablet-section-title-3{font:var(--section-title-3)}.tablet-section-title-4{font:var(--section-title-4)}.tablet-section-title-5{font:var(--section-title-5)}.tablet-section-title-6{font:var(--section-title-6)}.tablet-heading-1-lt,.tablet-heading-2-lt,.tablet-heading-3-lt,.tablet-heading-4-lt{font-weight:var(--font-lt)}.tablet-heading-1-sb,.tablet-heading-2-sb,.tablet-heading-3-sb,.tablet-heading-4-sb,.tablet-body-1-sb,.tablet-body-2-sb,.tablet-body-3-sb,.tablet-body-4-sb,.tablet-body-5-sb,.tablet-interactive-1-sb,.tablet-interactive-2-sb,.tablet-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1152px) and (max-width: 1365px){.desktop-heading-1,.desktop-heading-1-sb,.desktop-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.desktop-heading-2,.desktop-heading-2-sb,.desktop-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.desktop-heading-3,.desktop-heading-3-sb,.desktop-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.desktop-heading-4,.desktop-heading-4-sb,.desktop-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-1,.desktop-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-2,.desktop-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.desktop-body-3,.desktop-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-body-4,.desktop-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-body-5,.desktop-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-interactive-1,.desktop-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-interactive-2,.desktop-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-interactive-3,.desktop-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-section-title-1{font:var(--section-title-1)}.desktop-section-title-2{font:var(--section-title-2)}.desktop-section-title-3{font:var(--section-title-3)}.desktop-section-title-4{font:var(--section-title-4)}.desktop-section-title-5{font:var(--section-title-5)}.desktop-section-title-6{font:var(--section-title-6)}.desktop-heading-1-lt,.desktop-heading-2-lt,.desktop-heading-3-lt,.desktop-heading-4-lt{font-weight:var(--font-lt)}.desktop-heading-1-sb,.desktop-heading-2-sb,.desktop-heading-3-sb,.desktop-heading-4-sb,.desktop-body-1-sb,.desktop-body-2-sb,.desktop-body-3-sb,.desktop-body-4-sb,.desktop-body-5-sb,.desktop-interactive-1-sb,.desktop-interactive-2-sb,.desktop-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1366px){.wide-heading-1,.wide-heading-1-sb,.wide-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.wide-heading-2,.wide-heading-2-sb,.wide-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.wide-heading-3,.wide-heading-3-sb,.wide-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.wide-heading-4,.wide-heading-4-sb,.wide-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-1,.wide-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-2,.wide-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.wide-body-3,.wide-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-body-4,.wide-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-body-5,.wide-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-interactive-1,.wide-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-interactive-2,.wide-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-interactive-3,.wide-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-section-title-1{font:var(--section-title-1)}.wide-section-title-2{font:var(--section-title-2)}.wide-section-title-3{font:var(--section-title-3)}.wide-section-title-4{font:var(--section-title-4)}.wide-section-title-5{font:var(--section-title-5)}.wide-section-title-6{font:var(--section-title-6)}.wide-heading-1-lt,.wide-heading-2-lt,.wide-heading-3-lt,.wide-heading-4-lt{font-weight:var(--font-lt)}.wide-heading-1-sb,.wide-heading-2-sb,.wide-heading-3-sb,.wide-heading-4-sb,.wide-body-1-sb,.wide-body-2-sb,.wide-body-3-sb,.wide-body-4-sb,.wide-body-5-sb,.wide-interactive-1-sb,.wide-interactive-2-sb,.wide-interactive-3-sb{font-weight:var(--font-sb)}}.heading-1-lt,.heading-2-lt,.heading-3-lt,.heading-4-lt{font-weight:var(--font-lt)}.heading-1-sb,.heading-2-sb,.heading-3-sb,.heading-4-sb,.body-1-sb,.body-2-sb,.body-3-sb,.body-4-sb,.body-5-sb,.interactive-1-sb,.interactive-2-sb,.interactive-3-sb,.helper-sb{font-weight:var(--font-sb)}";
10
10
  const ZBookCardStyle1 = typographyCss;
11
11
 
12
+ const stylesCss = "button.z-link{padding:0;border:0;margin:0;background-color:transparent}a.z-link,button.z-link{display:inline-flex;cursor:pointer;font-family:var(--font-family-sans);line-height:inherit;text-decoration:none}a.z-link.z-link-icon,button.z-link.z-link-icon{--z-icon-width:1.125em;--z-icon-height:1.125em;align-items:center;column-gap:0.5em}a.z-link.z-link-sb,button.z-link.z-link-sb{font-weight:var(--font-sb)}a.z-link.z-link-underline,button.z-link.z-link-underline{text-decoration:underline}a.z-link:hover,button.z-link:hover,a.z-link:focus,button.z-link:focus,a.z-link:active,button.z-link:active{text-decoration:underline}a.z-link:focus,button.z-link:focus{box-shadow:var(--shadow-focus-primary);outline:none}a.z-link.z-link-disabled,button.z-link.z-link-disabled{box-shadow:none;color:var(--color-disabled03);cursor:default;fill:var(--color-disabled03);outline:none;pointer-events:none;text-decoration:none}a.z-link,button.z-link,a.z-link.z-link-active,button.z-link.z-link-active,a.z-link:hover,button.z-link:hover,a.z-link.z-link-active:hover,button.z-link.z-link-active:hover,a.z-link:focus,button.z-link:focus,a.z-link.z-link-active:focus,button.z-link.z-link-active:focus,a.z-link:active,button.z-link:active,a.z-link.z-link-active:active,button.z-link.z-link-active:active,a.z-link:visited,button.z-link:visited,a.z-link.z-link-active:visited,button.z-link.z-link-active:visited{color:var(--color-text-link-default);fill:var(--color-text-link-default)}a.z-link.z-link-blue,button.z-link.z-link-blue,a.z-link.z-link-blue.z-link-active,button.z-link.z-link-blue.z-link-active{color:var(--color-text-link-blue);fill:var(--color-text-link-blue)}a.z-link.z-link-red,button.z-link.z-link-red,a.z-link.z-link-red.z-link-active,button.z-link.z-link-red.z-link-active{color:var(--color-text-link-red);fill:var(--color-text-link-red)}a.z-link.z-link-inverse,button.z-link.z-link-inverse,a.z-link.z-link-inverse.z-link-active,button.z-link.z-link-inverse.z-link-active{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}a.z-link.z-link-blue:hover,button.z-link.z-link-blue:hover{color:var(--color-text-link-blue-hover);fill:var(--color-text-link-blue-hover)}a.z-link.z-link-red:hover,button.z-link.z-link-red:hover{color:var(--color-text-link-red-hover);fill:var(--color-text-link-red-hover)}a.z-link.z-link-inverse:hover,button.z-link.z-link-inverse:hover{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}a.z-link.z-link-blue:active,button.z-link.z-link-blue:active,a.z-link.z-link-blue:focus,button.z-link.z-link-blue:focus{color:var(--color-text-link-blue-active);fill:var(--color-text-link-blue-active)}a.z-link.z-link-red:active,button.z-link.z-link-red:active,a.z-link.z-link-red:focus,button.z-link.z-link-red:focus{color:var(--color-text-link-red-active);fill:var(--color-text-link-red-active)}a.z-link.z-link-inverse:active,button.z-link.z-link-inverse:active,a.z-link.z-link-inverse:focus,button.z-link.z-link-inverse:focus{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}a.z-link.z-link-blue:visited,button.z-link.z-link-blue:visited{color:var(--color-text-link-blue-visited);fill:var(--color-text-link-blue-visited)}a.z-link.z-link-red:visited,button.z-link.z-link-red:visited{color:var(--color-text-link-red-visited);fill:var(--color-text-link-red-visited)}a.z-link.z-link-inverse:visited,button.z-link.z-link-inverse:visited{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}";
13
+ const ZBookCardStyle2 = stylesCss;
14
+
12
15
  const ZBookCard$1 = /*@__PURE__*/ proxyCustomElement(class ZBookCard extends HTMLElement {
13
16
  constructor() {
14
17
  super();
15
18
  this.__registerHost();
16
19
  this.__attachShadow();
17
20
  this.ebookClick = createEvent(this, "ebookClick", 7);
21
+ this.coverClick = createEvent(this, "coverClick", 7);
22
+ this.titleClick = createEvent(this, "titleClick", 7);
18
23
  this.variant = BookCardVariant.PORTRAIT;
19
24
  this.cover = undefined;
20
25
  this.operaTitle = undefined;
@@ -30,12 +35,19 @@ const ZBookCard$1 = /*@__PURE__*/ proxyCustomElement(class ZBookCard extends HTM
30
35
  emitEbookClick() {
31
36
  this.ebookClick.emit();
32
37
  }
38
+ emitCoverClick() {
39
+ this.coverClick.emit();
40
+ }
41
+ emitTitleClick() {
42
+ this.titleClick.emit();
43
+ }
33
44
  renderCover() {
34
- return (h("div", { class: "cover" }, h("img", { src: this.cover, onError: () => {
45
+ const cover = (h("div", { class: "cover" }, h("img", { src: this.cover, onError: () => {
35
46
  if (this.fallbackCover) {
36
47
  this.cover = this.fallbackCover;
37
48
  }
38
49
  }, "aria-hidden": "true" }), h("slot", { name: "coverOverlay" })));
50
+ return this.ebookUrl ? (h("a", { class: "cover-link", href: this.ebookUrl, onClick: () => this.emitCoverClick(), target: "_blank" }, cover)) : (cover);
39
51
  }
40
52
  renderYear() {
41
53
  if (!this.year) {
@@ -53,7 +65,8 @@ const ZBookCard$1 = /*@__PURE__*/ proxyCustomElement(class ZBookCard extends HTM
53
65
  const title = this.titleHtmlTag
54
66
  ? `<${this.titleHtmlTag}>${this.operaTitle}</${this.titleHtmlTag}>`
55
67
  : this.operaTitle;
56
- return (h("div", { class: "cta-wrapper" }, h("div", { class: "opera-title ellipsis body-2-sb", innerHTML: title }), this.variant === BookCardVariant.PORTRAIT ? this.renderCtaSlot() : null));
68
+ const operaTitle = (h("div", { class: "opera-title ellipsis body-2-sb", innerHTML: title }));
69
+ return (h("div", { class: "cta-wrapper" }, this.ebookUrl ? (h("a", { class: "z-link", href: this.ebookUrl, onClick: () => this.emitTitleClick(), target: "_blank" }, operaTitle)) : (operaTitle), this.variant === BookCardVariant.PORTRAIT ? this.renderCtaSlot() : null));
57
70
  }
58
71
  renderVolumeTitle() {
59
72
  if (!this.volumeTitle) {
@@ -74,10 +87,10 @@ const ZBookCard$1 = /*@__PURE__*/ proxyCustomElement(class ZBookCard extends HTM
74
87
  return h("slot", { name: "cta" });
75
88
  }
76
89
  render() {
77
- return (h(Host, { key: '239ba8bd3f52288ec3f748311dce284d71106ba0' }, h("div", { key: 'd25b33181914ddd8ff5f699cf02112237e2bf6e3', class: "main-content" }, this.renderCover(), h("div", { key: 'fa79e463b770b63f1f8a0bbde3f05105dc229344', class: "card-info" }, h("div", { key: '7e595f41169cca9455dc53b99ddc15342eb1b963', class: "top" }, h("div", { key: 'f9fe00fb63360154f451de3486385cf88202d107' }, this.renderYear(), this.renderAuthors(), this.renderOperaTitle(), this.renderVolumeTitle(), this.renderIsbn()), h("slot", { key: '2585df52a10a90cc2c10466a02fe4601ce015749', name: "tags" }), h("slot", { key: 'b383f55e1c64ce5c7578aa16eb68893f73c7c778', name: "data" })), h("slot", { key: '5cbbbc32f7142a6f2a8637ec220c3add460f3313', name: "ebook" }, !!this.ebookUrl && h("div", { key: '4aeb1dd60f20e6b50cd1459a933bd3e5a36112e4', class: "bottom" }, this.renderEbook())))), h("slot", { key: '78149851420a6e915b4fbebd95df89e45c56bc57', name: "apps" })));
90
+ return (h(Host, { key: '035f2f151024cdb55216e9d74f969eeac321f6f8' }, h("div", { key: 'a246d9121299591487f99ff9f515b667d87856fb', class: "main-content" }, this.renderCover(), h("div", { key: 'a5059b09bf377e873debd311968c24a09aa2d8ec', class: "card-info" }, h("div", { key: '5cafc0fc20eb300d0409f4326fc82f00f39df500', class: "top" }, h("div", { key: 'd4c2a605c2846f0c0b62da99ece8a95cdc895893' }, this.renderYear(), this.renderAuthors(), this.renderOperaTitle(), this.renderVolumeTitle(), this.renderIsbn()), h("slot", { key: 'c19933023642c86a7fe451f0bc5ec6ec3a6de814', name: "tags" }), h("slot", { key: '7bece491928c0204d7f33e32b3905762bc9cc79a', name: "data" })), h("slot", { key: '8a65ede93bfbdb59eeb06d8a4577d2dffd2bd773', name: "ebook" }, !!this.ebookUrl && h("div", { key: '0028618a3bf5cd93096a207a22754dd35b676882', class: "bottom" }, this.renderEbook())))), h("slot", { key: '373a54a7748585ea149f530efc9e8b820853f378', name: "apps" })));
78
91
  }
79
92
  get hostElement() { return this; }
80
- static get style() { return ZBookCardStyle0 + ZBookCardStyle1; }
93
+ static get style() { return ZBookCardStyle0 + (ZBookCardStyle1 + ZBookCardStyle2); }
81
94
  }, [1, "z-book-card", {
82
95
  "variant": [513],
83
96
  "cover": [1],