@zanichelli/albe-web-components 18.4.1 → 18.4.2-rc2

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 (491) hide show
  1. package/CHANGELOG.md +0 -40
  2. package/dist/cjs/{index-f0b0a7d1.js → index-443b084a.js} +2 -2
  3. package/dist/cjs/{index-f0b0a7d1.js.map → index-443b084a.js.map} +1 -1
  4. package/dist/cjs/{index-4f18c0e2.js → index-be0b8cf5.js} +6 -1
  5. package/dist/cjs/index-be0b8cf5.js.map +1 -0
  6. package/dist/cjs/{index-d1759a5a.js → index-e98b419e.js} +2 -2
  7. package/dist/cjs/{index-d1759a5a.js.map → index-e98b419e.js.map} +1 -1
  8. package/dist/cjs/{index-394da17e.js → index-f67078cb.js} +4 -4
  9. package/dist/cjs/{index-394da17e.js.map → index-f67078cb.js.map} +1 -1
  10. package/dist/cjs/index.cjs.js +2 -2
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/{utils-123c371d.js → utils-021d5bc3.js} +2 -2
  13. package/dist/cjs/{utils-123c371d.js.map → utils-021d5bc3.js.map} +1 -1
  14. package/dist/cjs/{utils-67ea6e35.js → utils-714b7a92.js} +2 -2
  15. package/dist/cjs/{utils-67ea6e35.js.map → utils-714b7a92.js.map} +1 -1
  16. package/dist/cjs/web-components-library.cjs.js +1 -1
  17. package/dist/cjs/z-accordion.cjs.entry.js +1 -1
  18. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  19. package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
  20. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +1 -1
  21. package/dist/cjs/z-app-header_12.cjs.entry.js +3 -3
  22. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  23. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  24. package/dist/cjs/z-book-card-app.cjs.entry.js +1 -1
  25. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +2 -2
  26. package/dist/cjs/z-book-card.cjs.entry.js +1 -1
  27. package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
  28. package/dist/cjs/z-card.cjs.entry.js +1 -1
  29. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  30. package/dist/cjs/z-chip.cjs.entry.js +1 -1
  31. package/dist/cjs/z-combobox.cjs.entry.js +2 -2
  32. package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
  33. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  34. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
  35. package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
  36. package/dist/cjs/z-file.cjs.entry.js +1 -1
  37. package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
  38. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  39. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  40. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  41. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  42. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  43. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  44. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  45. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  46. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  47. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  48. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  49. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  50. package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
  51. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
  52. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  53. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  54. package/dist/cjs/z-popover.cjs.entry.js +307 -153
  55. package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
  56. package/dist/cjs/z-range-picker.cjs.entry.js +2 -2
  57. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  58. package/dist/cjs/z-select.cjs.entry.js +2 -2
  59. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  60. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  61. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  62. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  63. package/dist/cjs/z-table.cjs.entry.js +5 -5
  64. package/dist/cjs/z-td.cjs.entry.js +2 -2
  65. package/dist/cjs/z-th.cjs.entry.js +2 -2
  66. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  67. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  68. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  69. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  70. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  71. package/dist/cjs/z-tr.cjs.entry.js +5 -5
  72. package/dist/cjs/z-tree-list.cjs.entry.js +1 -1
  73. package/dist/collection/beans/index.js +5 -0
  74. package/dist/collection/beans/index.js.map +1 -1
  75. package/dist/collection/components/file-upload/z-file-upload/index.js +1 -1
  76. package/dist/collection/components/z-navigation-tabs/styles.css +1 -1
  77. package/dist/collection/components/z-popover/index.js +316 -156
  78. package/dist/collection/components/z-popover/index.js.map +1 -1
  79. package/dist/collection/components/z-popover/index.stories.js +124 -41
  80. package/dist/collection/components/z-popover/index.stories.js.map +1 -1
  81. package/dist/collection/components/z-popover/styles.css +16 -10
  82. package/dist/collection/components/z-searchbar/index.js +1 -1
  83. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  84. package/dist/collection/components/z-stepper/index.js +1 -1
  85. package/dist/collection/components/z-stepper-item/index.js +1 -1
  86. package/dist/collection/components/z-toast-notification/index.js +1 -1
  87. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  88. package/dist/collection/components/z-toggle-button/index.js +2 -2
  89. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  90. package/dist/collection/components/z-tooltip/index.js +1 -1
  91. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  92. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  93. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  94. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  95. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  96. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  97. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  98. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  99. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  100. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  101. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  102. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  103. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  104. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  105. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  106. package/dist/components/index17.js +1 -1
  107. package/dist/components/index18.js +1 -1
  108. package/dist/components/index19.js +1 -1
  109. package/dist/components/index2.js +5 -0
  110. package/dist/components/index2.js.map +1 -1
  111. package/dist/components/index20.js +1 -1
  112. package/dist/components/index21.js +1 -1
  113. package/dist/components/index23.js +308 -154
  114. package/dist/components/index23.js.map +1 -1
  115. package/dist/components/index24.js +1 -1
  116. package/dist/components/index3.js +1 -1
  117. package/dist/components/z-myz-card-alert.js +1 -1
  118. package/dist/components/z-myz-card-dictionary.js +1 -1
  119. package/dist/components/z-myz-card-footer-sections.js +1 -1
  120. package/dist/components/z-myz-card-footer.js +1 -1
  121. package/dist/components/z-myz-card-icon.js +1 -1
  122. package/dist/components/z-myz-card-info.js +1 -1
  123. package/dist/components/z-myz-card-list.js +1 -1
  124. package/dist/components/z-myz-list.js +1 -1
  125. package/dist/components/z-navigation-tabs.js +1 -1
  126. package/dist/components/z-navigation-tabs.js.map +1 -1
  127. package/dist/components/z-otp.js +2 -2
  128. package/dist/components/z-skip-to-content.js +1 -1
  129. package/dist/components/z-stepper-item.js +1 -1
  130. package/dist/components/z-stepper.js +1 -1
  131. package/dist/components/z-table.js +1 -0
  132. package/dist/components/z-table.js.map +1 -1
  133. package/dist/components/z-toast-notification-list.js +1 -1
  134. package/dist/components/z-toast-notification.js +1 -1
  135. package/dist/components/z-toggle-button.js +2 -2
  136. package/dist/components/z-toggle-switch.js +3 -3
  137. package/dist/components/z-tooltip.js +1 -1
  138. package/dist/components/z-tr.js +1 -0
  139. package/dist/components/z-tr.js.map +1 -1
  140. package/dist/esm/{index-fc0913d1.js → index-2a26d10b.js} +2 -2
  141. package/dist/esm/{index-fc0913d1.js.map → index-2a26d10b.js.map} +1 -1
  142. package/dist/esm/{index-2ccbb96f.js → index-406138db.js} +2 -2
  143. package/dist/esm/{index-2ccbb96f.js.map → index-406138db.js.map} +1 -1
  144. package/dist/esm/{index-fe87283d.js → index-9f584e0a.js} +6 -1
  145. package/dist/esm/index-9f584e0a.js.map +1 -0
  146. package/dist/esm/{index-ceebee64.js → index-be3c8aaa.js} +4 -4
  147. package/dist/esm/{index-ceebee64.js.map → index-be3c8aaa.js.map} +1 -1
  148. package/dist/esm/index.js +2 -2
  149. package/dist/esm/loader.js +1 -1
  150. package/dist/esm/{utils-c7062cf7.js → utils-6e83ba99.js} +2 -2
  151. package/dist/esm/{utils-c7062cf7.js.map → utils-6e83ba99.js.map} +1 -1
  152. package/dist/esm/{utils-5e53516d.js → utils-90416845.js} +2 -2
  153. package/dist/esm/{utils-5e53516d.js.map → utils-90416845.js.map} +1 -1
  154. package/dist/esm/web-components-library.js +1 -1
  155. package/dist/esm/z-accordion.entry.js +1 -1
  156. package/dist/esm/z-alert.entry.js +1 -1
  157. package/dist/esm/z-anchor-navigation.entry.js +1 -1
  158. package/dist/esm/z-app-header-deprecated.entry.js +1 -1
  159. package/dist/esm/z-app-header_12.entry.js +3 -3
  160. package/dist/esm/z-aria-alert.entry.js +1 -1
  161. package/dist/esm/z-avatar.entry.js +1 -1
  162. package/dist/esm/z-book-card-app.entry.js +1 -1
  163. package/dist/esm/z-book-card-deprecated.entry.js +2 -2
  164. package/dist/esm/z-book-card.entry.js +1 -1
  165. package/dist/esm/z-breadcrumb.entry.js +2 -2
  166. package/dist/esm/z-card.entry.js +1 -1
  167. package/dist/esm/z-carousel.entry.js +1 -1
  168. package/dist/esm/z-chip.entry.js +1 -1
  169. package/dist/esm/z-combobox.entry.js +2 -2
  170. package/dist/esm/z-cover-hero.entry.js +1 -1
  171. package/dist/esm/z-date-picker.entry.js +2 -2
  172. package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
  173. package/dist/esm/z-file-upload.entry.js +1 -1
  174. package/dist/esm/z-file.entry.js +1 -1
  175. package/dist/esm/z-info-reveal.entry.js +1 -1
  176. package/dist/esm/z-menu-section.entry.js +1 -1
  177. package/dist/esm/z-menu.entry.js +2 -2
  178. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  179. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  180. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  181. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  182. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  183. package/dist/esm/z-myz-card-info.entry.js +3 -3
  184. package/dist/esm/z-myz-card-list.entry.js +1 -1
  185. package/dist/esm/z-myz-card_4.entry.js +5 -5
  186. package/dist/esm/z-myz-list-item.entry.js +3 -3
  187. package/dist/esm/z-myz-list.entry.js +1 -1
  188. package/dist/esm/z-navigation-tabs.entry.js +2 -2
  189. package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
  190. package/dist/esm/z-otp.entry.js +3 -3
  191. package/dist/esm/z-pagination.entry.js +1 -1
  192. package/dist/esm/z-popover.entry.js +308 -154
  193. package/dist/esm/z-popover.entry.js.map +1 -1
  194. package/dist/esm/z-range-picker.entry.js +2 -2
  195. package/dist/esm/z-section-title.entry.js +1 -1
  196. package/dist/esm/z-select.entry.js +2 -2
  197. package/dist/esm/z-skip-to-content.entry.js +3 -3
  198. package/dist/esm/z-slideshow.entry.js +2 -2
  199. package/dist/esm/z-stepper-item.entry.js +1 -1
  200. package/dist/esm/z-stepper.entry.js +1 -1
  201. package/dist/esm/z-table.entry.js +5 -5
  202. package/dist/esm/z-td.entry.js +2 -2
  203. package/dist/esm/z-th.entry.js +2 -2
  204. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  205. package/dist/esm/z-toast-notification.entry.js +2 -2
  206. package/dist/esm/z-toggle-button.entry.js +2 -2
  207. package/dist/esm/z-toggle-switch.entry.js +5 -5
  208. package/dist/esm/z-tooltip.entry.js +2 -2
  209. package/dist/esm/z-tr.entry.js +5 -5
  210. package/dist/esm/z-tree-list.entry.js +1 -1
  211. package/dist/types/beans/index.d.ts +5 -0
  212. package/dist/types/components/z-popover/index.d.ts +50 -4
  213. package/dist/types/components/z-popover/index.stories.d.ts +26 -6
  214. package/dist/types/components.d.ts +23 -3
  215. package/dist/web-components-library/index.esm.js +1 -1
  216. package/dist/web-components-library/{p-6b679226.entry.js → p-0084024e.entry.js} +2 -2
  217. package/{www/build/p-0b26a8e0.js → dist/web-components-library/p-06b31bf5.js} +2 -2
  218. package/{www/build/p-b705fba3.entry.js → dist/web-components-library/p-0e91e5b6.entry.js} +2 -2
  219. package/dist/web-components-library/{p-f609b40e.entry.js → p-1252814d.entry.js} +2 -2
  220. package/{www/build/p-c6b7c8e4.entry.js → dist/web-components-library/p-12a7af3b.entry.js} +2 -2
  221. package/{www/build/p-dfcf9936.js → dist/web-components-library/p-137c2618.js} +1 -1
  222. package/dist/web-components-library/p-137c2618.js.map +1 -0
  223. package/{www/build/p-d60b9285.entry.js → dist/web-components-library/p-245a7cf6.entry.js} +2 -2
  224. package/dist/web-components-library/{p-43aea424.entry.js → p-26ea588a.entry.js} +2 -2
  225. package/dist/web-components-library/{p-611e6579.entry.js → p-2dee7eef.entry.js} +2 -2
  226. package/{www/build/p-f7d7cf44.entry.js → dist/web-components-library/p-353952ef.entry.js} +2 -2
  227. package/dist/web-components-library/{p-2726182b.entry.js → p-359fddfd.entry.js} +2 -2
  228. package/{www/build/p-c7d5971f.js → dist/web-components-library/p-36e71b13.js} +2 -2
  229. package/dist/web-components-library/p-37d31461.entry.js +2 -0
  230. package/dist/web-components-library/{p-dc46730d.entry.js → p-3cc02ff9.entry.js} +2 -2
  231. package/{www/build/p-49f99fa3.entry.js → dist/web-components-library/p-3fe267a1.entry.js} +2 -2
  232. package/dist/web-components-library/{p-b1561f18.entry.js → p-5123ff9e.entry.js} +2 -2
  233. package/dist/web-components-library/{p-d9592fa6.entry.js → p-512a8f43.entry.js} +2 -2
  234. package/dist/web-components-library/{p-c419dba3.entry.js → p-5ba4f3cf.entry.js} +2 -2
  235. package/dist/web-components-library/{p-604602a8.entry.js → p-5f58b59c.entry.js} +2 -2
  236. package/{www/build/p-a3860bef.entry.js → dist/web-components-library/p-5f5fd804.entry.js} +2 -2
  237. package/dist/web-components-library/{p-8e7554c4.entry.js → p-610207c1.entry.js} +2 -2
  238. package/dist/web-components-library/p-651250c2.entry.js +2 -0
  239. package/dist/web-components-library/{p-6598aee0.entry.js → p-6ba34f6e.entry.js} +2 -2
  240. package/{www/build/p-d8d7db0e.entry.js → dist/web-components-library/p-7248bddb.entry.js} +2 -2
  241. package/dist/web-components-library/p-725b253d.entry.js +2 -0
  242. package/dist/web-components-library/{p-222d4160.entry.js → p-74301de8.entry.js} +2 -2
  243. package/dist/web-components-library/p-76ee5c89.entry.js +2 -0
  244. package/{www/build/p-93af4721.entry.js → dist/web-components-library/p-77b02b31.entry.js} +2 -2
  245. package/dist/web-components-library/{p-b0f758e7.entry.js → p-7934dde1.entry.js} +2 -2
  246. package/{www/build/p-f73d8a87.entry.js → dist/web-components-library/p-7e554fad.entry.js} +2 -2
  247. package/dist/web-components-library/{p-e2b57681.js → p-84635654.js} +2 -2
  248. package/dist/web-components-library/{p-37a34984.entry.js → p-84fe65a8.entry.js} +2 -2
  249. package/dist/web-components-library/{p-f3145212.js → p-8c322c9a.js} +2 -2
  250. package/dist/web-components-library/{p-1ef90472.entry.js → p-93bea5f7.entry.js} +2 -2
  251. package/dist/web-components-library/{p-96b5a35d.entry.js → p-9c3cea8c.entry.js} +2 -2
  252. package/{www/build/p-506d2cdb.entry.js → dist/web-components-library/p-9dc90af3.entry.js} +2 -2
  253. package/dist/web-components-library/{p-2a657ab1.entry.js → p-9f506297.entry.js} +2 -2
  254. package/dist/web-components-library/{p-e4627f9a.entry.js → p-a33b1a31.entry.js} +2 -2
  255. package/dist/web-components-library/{p-a1d45a8b.entry.js → p-a3aef2c0.entry.js} +2 -2
  256. package/dist/web-components-library/p-a4e05ee2.entry.js +2 -0
  257. package/{www/build/p-290f832a.entry.js → dist/web-components-library/p-aff88c50.entry.js} +2 -2
  258. package/dist/web-components-library/{p-ee7185cf.entry.js → p-b2313d3c.entry.js} +2 -2
  259. package/dist/web-components-library/p-b256f1e9.entry.js +2 -0
  260. package/dist/web-components-library/p-b256f1e9.entry.js.map +1 -0
  261. package/{www/build/p-564ddab3.entry.js → dist/web-components-library/p-b6de2c30.entry.js} +2 -2
  262. package/{www/build/p-3d8cdd34.entry.js → dist/web-components-library/p-bba086fb.entry.js} +2 -2
  263. package/dist/web-components-library/{p-e853ccde.entry.js → p-c231ed32.entry.js} +2 -2
  264. package/dist/web-components-library/{p-07da09b0.entry.js → p-c381b01c.entry.js} +2 -2
  265. package/dist/web-components-library/{p-8ec302f8.entry.js → p-c6ae7dfa.entry.js} +2 -2
  266. package/dist/web-components-library/p-cdd36026.entry.js +2 -0
  267. package/dist/web-components-library/p-cdd36026.entry.js.map +1 -0
  268. package/{www/build/p-996446e2.entry.js → dist/web-components-library/p-dd021fcb.entry.js} +2 -2
  269. package/dist/web-components-library/{p-430916e9.entry.js → p-e540d235.entry.js} +2 -2
  270. package/dist/web-components-library/{p-c1d89e00.entry.js → p-e5ac7dfc.entry.js} +2 -2
  271. package/{www/build/p-8ca5851b.entry.js → dist/web-components-library/p-e7270ec2.entry.js} +2 -2
  272. package/dist/web-components-library/{p-1dd6dff4.entry.js → p-e91ece0c.entry.js} +3 -3
  273. package/dist/web-components-library/{p-e8bab6ad.entry.js → p-ee8c03e3.entry.js} +2 -2
  274. package/{www/build/p-6949d27d.entry.js → dist/web-components-library/p-f0dd44c4.entry.js} +2 -2
  275. package/dist/web-components-library/p-f20f1ed3.entry.js +2 -0
  276. package/{www/build/p-ef2484b8.js → dist/web-components-library/p-f670c5ad.js} +2 -2
  277. package/{www/build/p-b0856b23.entry.js → dist/web-components-library/p-f7461e10.entry.js} +2 -2
  278. package/dist/web-components-library/{p-8e43f5ee.entry.js → p-fb12af88.entry.js} +2 -2
  279. package/dist/web-components-library/web-components-library.esm.js +1 -1
  280. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  281. package/package.json +1 -1
  282. package/www/build/index.esm.js +1 -1
  283. package/www/build/{p-6b679226.entry.js → p-0084024e.entry.js} +2 -2
  284. package/www/build/{p-992ea73d.js → p-01619706.js} +1 -1
  285. package/{dist/web-components-library/p-0b26a8e0.js → www/build/p-06b31bf5.js} +2 -2
  286. package/{dist/web-components-library/p-b705fba3.entry.js → www/build/p-0e91e5b6.entry.js} +2 -2
  287. package/www/build/{p-f609b40e.entry.js → p-1252814d.entry.js} +2 -2
  288. package/{dist/web-components-library/p-c6b7c8e4.entry.js → www/build/p-12a7af3b.entry.js} +2 -2
  289. package/{dist/web-components-library/p-dfcf9936.js → www/build/p-137c2618.js} +1 -1
  290. package/www/build/p-137c2618.js.map +1 -0
  291. package/{dist/web-components-library/p-d60b9285.entry.js → www/build/p-245a7cf6.entry.js} +2 -2
  292. package/www/build/{p-43aea424.entry.js → p-26ea588a.entry.js} +2 -2
  293. package/www/build/{p-611e6579.entry.js → p-2dee7eef.entry.js} +2 -2
  294. package/{dist/web-components-library/p-f7d7cf44.entry.js → www/build/p-353952ef.entry.js} +2 -2
  295. package/www/build/{p-2726182b.entry.js → p-359fddfd.entry.js} +2 -2
  296. package/{dist/web-components-library/p-c7d5971f.js → www/build/p-36e71b13.js} +2 -2
  297. package/www/build/p-37d31461.entry.js +2 -0
  298. package/www/build/{p-dc46730d.entry.js → p-3cc02ff9.entry.js} +2 -2
  299. package/{dist/web-components-library/p-49f99fa3.entry.js → www/build/p-3fe267a1.entry.js} +2 -2
  300. package/www/build/{p-b1561f18.entry.js → p-5123ff9e.entry.js} +2 -2
  301. package/www/build/{p-d9592fa6.entry.js → p-512a8f43.entry.js} +2 -2
  302. package/www/build/{p-c419dba3.entry.js → p-5ba4f3cf.entry.js} +2 -2
  303. package/www/build/{p-604602a8.entry.js → p-5f58b59c.entry.js} +2 -2
  304. package/{dist/web-components-library/p-a3860bef.entry.js → www/build/p-5f5fd804.entry.js} +2 -2
  305. package/www/build/{p-8e7554c4.entry.js → p-610207c1.entry.js} +2 -2
  306. package/www/build/p-651250c2.entry.js +2 -0
  307. package/www/build/{p-6598aee0.entry.js → p-6ba34f6e.entry.js} +2 -2
  308. package/{dist/web-components-library/p-d8d7db0e.entry.js → www/build/p-7248bddb.entry.js} +2 -2
  309. package/www/build/p-725b253d.entry.js +2 -0
  310. package/www/build/{p-222d4160.entry.js → p-74301de8.entry.js} +2 -2
  311. package/www/build/p-76ee5c89.entry.js +2 -0
  312. package/{dist/web-components-library/p-93af4721.entry.js → www/build/p-77b02b31.entry.js} +2 -2
  313. package/www/build/{p-b0f758e7.entry.js → p-7934dde1.entry.js} +2 -2
  314. package/{dist/web-components-library/p-f73d8a87.entry.js → www/build/p-7e554fad.entry.js} +2 -2
  315. package/www/build/{p-e2b57681.js → p-84635654.js} +2 -2
  316. package/www/build/{p-37a34984.entry.js → p-84fe65a8.entry.js} +2 -2
  317. package/www/build/{p-f3145212.js → p-8c322c9a.js} +2 -2
  318. package/www/build/{p-1ef90472.entry.js → p-93bea5f7.entry.js} +2 -2
  319. package/www/build/{p-96b5a35d.entry.js → p-9c3cea8c.entry.js} +2 -2
  320. package/{dist/web-components-library/p-506d2cdb.entry.js → www/build/p-9dc90af3.entry.js} +2 -2
  321. package/www/build/{p-2a657ab1.entry.js → p-9f506297.entry.js} +2 -2
  322. package/www/build/{p-e4627f9a.entry.js → p-a33b1a31.entry.js} +2 -2
  323. package/www/build/{p-a1d45a8b.entry.js → p-a3aef2c0.entry.js} +2 -2
  324. package/www/build/p-a4e05ee2.entry.js +2 -0
  325. package/{dist/web-components-library/p-290f832a.entry.js → www/build/p-aff88c50.entry.js} +2 -2
  326. package/www/build/{p-ee7185cf.entry.js → p-b2313d3c.entry.js} +2 -2
  327. package/www/build/p-b256f1e9.entry.js +2 -0
  328. package/www/build/p-b256f1e9.entry.js.map +1 -0
  329. package/{dist/web-components-library/p-564ddab3.entry.js → www/build/p-b6de2c30.entry.js} +2 -2
  330. package/{dist/web-components-library/p-3d8cdd34.entry.js → www/build/p-bba086fb.entry.js} +2 -2
  331. package/www/build/{p-e853ccde.entry.js → p-c231ed32.entry.js} +2 -2
  332. package/www/build/{p-07da09b0.entry.js → p-c381b01c.entry.js} +2 -2
  333. package/www/build/{p-8ec302f8.entry.js → p-c6ae7dfa.entry.js} +2 -2
  334. package/www/build/p-cdd36026.entry.js +2 -0
  335. package/www/build/p-cdd36026.entry.js.map +1 -0
  336. package/{dist/web-components-library/p-996446e2.entry.js → www/build/p-dd021fcb.entry.js} +2 -2
  337. package/www/build/{p-430916e9.entry.js → p-e540d235.entry.js} +2 -2
  338. package/www/build/{p-c1d89e00.entry.js → p-e5ac7dfc.entry.js} +2 -2
  339. package/{dist/web-components-library/p-8ca5851b.entry.js → www/build/p-e7270ec2.entry.js} +2 -2
  340. package/www/build/{p-1dd6dff4.entry.js → p-e91ece0c.entry.js} +3 -3
  341. package/www/build/{p-e8bab6ad.entry.js → p-ee8c03e3.entry.js} +2 -2
  342. package/{dist/web-components-library/p-6949d27d.entry.js → www/build/p-f0dd44c4.entry.js} +2 -2
  343. package/www/build/p-f20f1ed3.entry.js +2 -0
  344. package/{dist/web-components-library/p-ef2484b8.js → www/build/p-f670c5ad.js} +2 -2
  345. package/{dist/web-components-library/p-b0856b23.entry.js → www/build/p-f7461e10.entry.js} +2 -2
  346. package/www/build/{p-8e43f5ee.entry.js → p-fb12af88.entry.js} +2 -2
  347. package/www/build/web-components-library.esm.js +1 -1
  348. package/www/build/web-components-library.esm.js.map +1 -1
  349. package/www/index.html +1 -1
  350. package/dist/cjs/index-4f18c0e2.js.map +0 -1
  351. package/dist/esm/index-fe87283d.js.map +0 -1
  352. package/dist/web-components-library/p-0bd2b21e.entry.js +0 -2
  353. package/dist/web-components-library/p-43f9569d.entry.js +0 -2
  354. package/dist/web-components-library/p-43f9569d.entry.js.map +0 -1
  355. package/dist/web-components-library/p-83e3b2ff.entry.js +0 -2
  356. package/dist/web-components-library/p-a2217ed8.entry.js +0 -2
  357. package/dist/web-components-library/p-a9d05a92.entry.js +0 -2
  358. package/dist/web-components-library/p-cf837902.entry.js +0 -2
  359. package/dist/web-components-library/p-d8e88ea8.entry.js +0 -2
  360. package/dist/web-components-library/p-d8e88ea8.entry.js.map +0 -1
  361. package/dist/web-components-library/p-dfcf9936.js.map +0 -1
  362. package/dist/web-components-library/p-fd7c7885.entry.js +0 -2
  363. package/www/build/p-0bd2b21e.entry.js +0 -2
  364. package/www/build/p-43f9569d.entry.js +0 -2
  365. package/www/build/p-43f9569d.entry.js.map +0 -1
  366. package/www/build/p-83e3b2ff.entry.js +0 -2
  367. package/www/build/p-a2217ed8.entry.js +0 -2
  368. package/www/build/p-a9d05a92.entry.js +0 -2
  369. package/www/build/p-cf837902.entry.js +0 -2
  370. package/www/build/p-d8e88ea8.entry.js +0 -2
  371. package/www/build/p-d8e88ea8.entry.js.map +0 -1
  372. package/www/build/p-dfcf9936.js.map +0 -1
  373. package/www/build/p-fd7c7885.entry.js +0 -2
  374. /package/dist/types/{Users/dario/Progetti/Zanichelli → home/runner/work/design-system}/design-system/.stencil/docs/grid/index.stories.d.ts +0 -0
  375. /package/dist/types/{Users/dario/Progetti/Zanichelli → home/runner/work/design-system}/design-system/.stencil/docs/iconset/index.stories.d.ts +0 -0
  376. /package/dist/types/{Users/dario/Progetti/Zanichelli → home/runner/work/design-system}/design-system/.stencil/docs/themes/index.stories.d.ts +0 -0
  377. /package/dist/types/{Users/dario/Progetti/Zanichelli → home/runner/work/design-system}/design-system/.stencil/docs/typography/index.stories.d.ts +0 -0
  378. /package/dist/web-components-library/{p-6b679226.entry.js.map → p-0084024e.entry.js.map} +0 -0
  379. /package/dist/web-components-library/{p-0b26a8e0.js.map → p-06b31bf5.js.map} +0 -0
  380. /package/dist/web-components-library/{p-b705fba3.entry.js.map → p-0e91e5b6.entry.js.map} +0 -0
  381. /package/dist/web-components-library/{p-f609b40e.entry.js.map → p-1252814d.entry.js.map} +0 -0
  382. /package/dist/web-components-library/{p-c6b7c8e4.entry.js.map → p-12a7af3b.entry.js.map} +0 -0
  383. /package/dist/web-components-library/{p-d60b9285.entry.js.map → p-245a7cf6.entry.js.map} +0 -0
  384. /package/dist/web-components-library/{p-43aea424.entry.js.map → p-26ea588a.entry.js.map} +0 -0
  385. /package/dist/web-components-library/{p-611e6579.entry.js.map → p-2dee7eef.entry.js.map} +0 -0
  386. /package/dist/web-components-library/{p-f7d7cf44.entry.js.map → p-353952ef.entry.js.map} +0 -0
  387. /package/dist/web-components-library/{p-2726182b.entry.js.map → p-359fddfd.entry.js.map} +0 -0
  388. /package/dist/web-components-library/{p-c7d5971f.js.map → p-36e71b13.js.map} +0 -0
  389. /package/dist/web-components-library/{p-fd7c7885.entry.js.map → p-37d31461.entry.js.map} +0 -0
  390. /package/dist/web-components-library/{p-dc46730d.entry.js.map → p-3cc02ff9.entry.js.map} +0 -0
  391. /package/dist/web-components-library/{p-49f99fa3.entry.js.map → p-3fe267a1.entry.js.map} +0 -0
  392. /package/dist/web-components-library/{p-b1561f18.entry.js.map → p-5123ff9e.entry.js.map} +0 -0
  393. /package/dist/web-components-library/{p-d9592fa6.entry.js.map → p-512a8f43.entry.js.map} +0 -0
  394. /package/dist/web-components-library/{p-c419dba3.entry.js.map → p-5ba4f3cf.entry.js.map} +0 -0
  395. /package/dist/web-components-library/{p-604602a8.entry.js.map → p-5f58b59c.entry.js.map} +0 -0
  396. /package/dist/web-components-library/{p-a3860bef.entry.js.map → p-5f5fd804.entry.js.map} +0 -0
  397. /package/dist/web-components-library/{p-8e7554c4.entry.js.map → p-610207c1.entry.js.map} +0 -0
  398. /package/dist/web-components-library/{p-a2217ed8.entry.js.map → p-651250c2.entry.js.map} +0 -0
  399. /package/dist/web-components-library/{p-6598aee0.entry.js.map → p-6ba34f6e.entry.js.map} +0 -0
  400. /package/dist/web-components-library/{p-d8d7db0e.entry.js.map → p-7248bddb.entry.js.map} +0 -0
  401. /package/dist/web-components-library/{p-0bd2b21e.entry.js.map → p-725b253d.entry.js.map} +0 -0
  402. /package/dist/web-components-library/{p-222d4160.entry.js.map → p-74301de8.entry.js.map} +0 -0
  403. /package/dist/web-components-library/{p-a9d05a92.entry.js.map → p-76ee5c89.entry.js.map} +0 -0
  404. /package/dist/web-components-library/{p-93af4721.entry.js.map → p-77b02b31.entry.js.map} +0 -0
  405. /package/dist/web-components-library/{p-b0f758e7.entry.js.map → p-7934dde1.entry.js.map} +0 -0
  406. /package/dist/web-components-library/{p-f73d8a87.entry.js.map → p-7e554fad.entry.js.map} +0 -0
  407. /package/dist/web-components-library/{p-e2b57681.js.map → p-84635654.js.map} +0 -0
  408. /package/dist/web-components-library/{p-37a34984.entry.js.map → p-84fe65a8.entry.js.map} +0 -0
  409. /package/dist/web-components-library/{p-f3145212.js.map → p-8c322c9a.js.map} +0 -0
  410. /package/dist/web-components-library/{p-1ef90472.entry.js.map → p-93bea5f7.entry.js.map} +0 -0
  411. /package/dist/web-components-library/{p-96b5a35d.entry.js.map → p-9c3cea8c.entry.js.map} +0 -0
  412. /package/dist/web-components-library/{p-506d2cdb.entry.js.map → p-9dc90af3.entry.js.map} +0 -0
  413. /package/dist/web-components-library/{p-2a657ab1.entry.js.map → p-9f506297.entry.js.map} +0 -0
  414. /package/dist/web-components-library/{p-e4627f9a.entry.js.map → p-a33b1a31.entry.js.map} +0 -0
  415. /package/dist/web-components-library/{p-a1d45a8b.entry.js.map → p-a3aef2c0.entry.js.map} +0 -0
  416. /package/dist/web-components-library/{p-83e3b2ff.entry.js.map → p-a4e05ee2.entry.js.map} +0 -0
  417. /package/dist/web-components-library/{p-290f832a.entry.js.map → p-aff88c50.entry.js.map} +0 -0
  418. /package/dist/web-components-library/{p-ee7185cf.entry.js.map → p-b2313d3c.entry.js.map} +0 -0
  419. /package/dist/web-components-library/{p-564ddab3.entry.js.map → p-b6de2c30.entry.js.map} +0 -0
  420. /package/dist/web-components-library/{p-3d8cdd34.entry.js.map → p-bba086fb.entry.js.map} +0 -0
  421. /package/dist/web-components-library/{p-e853ccde.entry.js.map → p-c231ed32.entry.js.map} +0 -0
  422. /package/dist/web-components-library/{p-07da09b0.entry.js.map → p-c381b01c.entry.js.map} +0 -0
  423. /package/dist/web-components-library/{p-8ec302f8.entry.js.map → p-c6ae7dfa.entry.js.map} +0 -0
  424. /package/dist/web-components-library/{p-996446e2.entry.js.map → p-dd021fcb.entry.js.map} +0 -0
  425. /package/dist/web-components-library/{p-430916e9.entry.js.map → p-e540d235.entry.js.map} +0 -0
  426. /package/dist/web-components-library/{p-c1d89e00.entry.js.map → p-e5ac7dfc.entry.js.map} +0 -0
  427. /package/dist/web-components-library/{p-8ca5851b.entry.js.map → p-e7270ec2.entry.js.map} +0 -0
  428. /package/dist/web-components-library/{p-1dd6dff4.entry.js.map → p-e91ece0c.entry.js.map} +0 -0
  429. /package/dist/web-components-library/{p-e8bab6ad.entry.js.map → p-ee8c03e3.entry.js.map} +0 -0
  430. /package/dist/web-components-library/{p-6949d27d.entry.js.map → p-f0dd44c4.entry.js.map} +0 -0
  431. /package/dist/web-components-library/{p-cf837902.entry.js.map → p-f20f1ed3.entry.js.map} +0 -0
  432. /package/dist/web-components-library/{p-ef2484b8.js.map → p-f670c5ad.js.map} +0 -0
  433. /package/dist/web-components-library/{p-b0856b23.entry.js.map → p-f7461e10.entry.js.map} +0 -0
  434. /package/dist/web-components-library/{p-8e43f5ee.entry.js.map → p-fb12af88.entry.js.map} +0 -0
  435. /package/www/build/{p-6b679226.entry.js.map → p-0084024e.entry.js.map} +0 -0
  436. /package/www/build/{p-0b26a8e0.js.map → p-06b31bf5.js.map} +0 -0
  437. /package/www/build/{p-b705fba3.entry.js.map → p-0e91e5b6.entry.js.map} +0 -0
  438. /package/www/build/{p-f609b40e.entry.js.map → p-1252814d.entry.js.map} +0 -0
  439. /package/www/build/{p-c6b7c8e4.entry.js.map → p-12a7af3b.entry.js.map} +0 -0
  440. /package/www/build/{p-d60b9285.entry.js.map → p-245a7cf6.entry.js.map} +0 -0
  441. /package/www/build/{p-43aea424.entry.js.map → p-26ea588a.entry.js.map} +0 -0
  442. /package/www/build/{p-611e6579.entry.js.map → p-2dee7eef.entry.js.map} +0 -0
  443. /package/www/build/{p-f7d7cf44.entry.js.map → p-353952ef.entry.js.map} +0 -0
  444. /package/www/build/{p-2726182b.entry.js.map → p-359fddfd.entry.js.map} +0 -0
  445. /package/www/build/{p-c7d5971f.js.map → p-36e71b13.js.map} +0 -0
  446. /package/www/build/{p-fd7c7885.entry.js.map → p-37d31461.entry.js.map} +0 -0
  447. /package/www/build/{p-dc46730d.entry.js.map → p-3cc02ff9.entry.js.map} +0 -0
  448. /package/www/build/{p-49f99fa3.entry.js.map → p-3fe267a1.entry.js.map} +0 -0
  449. /package/www/build/{p-b1561f18.entry.js.map → p-5123ff9e.entry.js.map} +0 -0
  450. /package/www/build/{p-d9592fa6.entry.js.map → p-512a8f43.entry.js.map} +0 -0
  451. /package/www/build/{p-c419dba3.entry.js.map → p-5ba4f3cf.entry.js.map} +0 -0
  452. /package/www/build/{p-604602a8.entry.js.map → p-5f58b59c.entry.js.map} +0 -0
  453. /package/www/build/{p-a3860bef.entry.js.map → p-5f5fd804.entry.js.map} +0 -0
  454. /package/www/build/{p-8e7554c4.entry.js.map → p-610207c1.entry.js.map} +0 -0
  455. /package/www/build/{p-a2217ed8.entry.js.map → p-651250c2.entry.js.map} +0 -0
  456. /package/www/build/{p-6598aee0.entry.js.map → p-6ba34f6e.entry.js.map} +0 -0
  457. /package/www/build/{p-d8d7db0e.entry.js.map → p-7248bddb.entry.js.map} +0 -0
  458. /package/www/build/{p-0bd2b21e.entry.js.map → p-725b253d.entry.js.map} +0 -0
  459. /package/www/build/{p-222d4160.entry.js.map → p-74301de8.entry.js.map} +0 -0
  460. /package/www/build/{p-a9d05a92.entry.js.map → p-76ee5c89.entry.js.map} +0 -0
  461. /package/www/build/{p-93af4721.entry.js.map → p-77b02b31.entry.js.map} +0 -0
  462. /package/www/build/{p-b0f758e7.entry.js.map → p-7934dde1.entry.js.map} +0 -0
  463. /package/www/build/{p-f73d8a87.entry.js.map → p-7e554fad.entry.js.map} +0 -0
  464. /package/www/build/{p-e2b57681.js.map → p-84635654.js.map} +0 -0
  465. /package/www/build/{p-37a34984.entry.js.map → p-84fe65a8.entry.js.map} +0 -0
  466. /package/www/build/{p-f3145212.js.map → p-8c322c9a.js.map} +0 -0
  467. /package/www/build/{p-1ef90472.entry.js.map → p-93bea5f7.entry.js.map} +0 -0
  468. /package/www/build/{p-96b5a35d.entry.js.map → p-9c3cea8c.entry.js.map} +0 -0
  469. /package/www/build/{p-506d2cdb.entry.js.map → p-9dc90af3.entry.js.map} +0 -0
  470. /package/www/build/{p-2a657ab1.entry.js.map → p-9f506297.entry.js.map} +0 -0
  471. /package/www/build/{p-e4627f9a.entry.js.map → p-a33b1a31.entry.js.map} +0 -0
  472. /package/www/build/{p-a1d45a8b.entry.js.map → p-a3aef2c0.entry.js.map} +0 -0
  473. /package/www/build/{p-83e3b2ff.entry.js.map → p-a4e05ee2.entry.js.map} +0 -0
  474. /package/www/build/{p-290f832a.entry.js.map → p-aff88c50.entry.js.map} +0 -0
  475. /package/www/build/{p-ee7185cf.entry.js.map → p-b2313d3c.entry.js.map} +0 -0
  476. /package/www/build/{p-564ddab3.entry.js.map → p-b6de2c30.entry.js.map} +0 -0
  477. /package/www/build/{p-3d8cdd34.entry.js.map → p-bba086fb.entry.js.map} +0 -0
  478. /package/www/build/{p-e853ccde.entry.js.map → p-c231ed32.entry.js.map} +0 -0
  479. /package/www/build/{p-07da09b0.entry.js.map → p-c381b01c.entry.js.map} +0 -0
  480. /package/www/build/{p-8ec302f8.entry.js.map → p-c6ae7dfa.entry.js.map} +0 -0
  481. /package/www/build/{p-996446e2.entry.js.map → p-dd021fcb.entry.js.map} +0 -0
  482. /package/www/build/{p-430916e9.entry.js.map → p-e540d235.entry.js.map} +0 -0
  483. /package/www/build/{p-c1d89e00.entry.js.map → p-e5ac7dfc.entry.js.map} +0 -0
  484. /package/www/build/{p-8ca5851b.entry.js.map → p-e7270ec2.entry.js.map} +0 -0
  485. /package/www/build/{p-1dd6dff4.entry.js.map → p-e91ece0c.entry.js.map} +0 -0
  486. /package/www/build/{p-e8bab6ad.entry.js.map → p-ee8c03e3.entry.js.map} +0 -0
  487. /package/www/build/{p-6949d27d.entry.js.map → p-f0dd44c4.entry.js.map} +0 -0
  488. /package/www/build/{p-cf837902.entry.js.map → p-f20f1ed3.entry.js.map} +0 -0
  489. /package/www/build/{p-ef2484b8.js.map → p-f670c5ad.js.map} +0 -0
  490. /package/www/build/{p-b0856b23.entry.js.map → p-f7461e10.entry.js.map} +0 -0
  491. /package/www/build/{p-8e43f5ee.entry.js.map → p-fb12af88.entry.js.map} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZPopoverStyle0","DOCUMENT_ELEMENT","document","documentElement","getParentElement","element","parentNode","shadowRoot","host","parentElement","findScrollableParent","parent","overflow","overflowX","overflowY","window","getComputedStyle","scrollHeight","clientHeight","scrollWidth","clientWidth","computeOffset","targetParentOffset","rect","getBoundingClientRect","width","height","top","left","offsetParent","offsetLeft","body","scrollY","offsetTop","DOMMatrix","style","transform","webkitTransform","domMatrix","m41","m42","parentWidth","parentHeight","innerWidth","innerHeight","offsetWidth","offsetHeight","right","bottom","ZPopover","PopoverPosition","AUTO","closePopoverWithKeyboard","e","this","closable","key","KeyboardCode","ESC","open","handleOutsideClick","composedPath","includes","target","triggerElemClicked","bindTo","HTMLElement","contains","closest","stopPropagation","positionChange","emit","position","currentPosition","validatePosition","newValue","Object","values","onOpen","cancelAnimationFrame","animationFrameRequestId","setPosition","requestAnimationFrame","hasAttribute","removeAttribute","undefined","openChange","disconnectedCallback","ownerDocument","querySelector","scrollContainer","scrollingBoundingRect","offsetContainer","relativeBoundingRect","boundingRect","scrollTop","scrollLeft","overflowBottom","Math","max","overflowRight","availableTop","min","availableBottom","availableLeft","availableRight","availableHeight","availableWidth","positions","push","LEFT","RIGHT","unshift","TOP","BOTTOM","join","offsetRight","offsetBottom","offsetModifier","center","sizeModifier","TOP_RIGHT","maxHeight","maxWidth","TOP_LEFT","BOTTOM_RIGHT","BOTTOM_LEFT","RIGHT_BOTTOM","RIGHT_TOP","LEFT_BOTTOM","LEFT_TOP","setAttribute","componentWillLoad","render","h"],"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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":[]}
@@ -1,2 +0,0 @@
1
- export{Z as z_tr}from"./p-e2b57681.js";import"./p-75c4a726.js";import"./p-f3145212.js";import"./p-dfcf9936.js";import"./p-5145a606.js";import"./p-0b26a8e0.js";import"./p-c7d5971f.js";
2
- //# sourceMappingURL=p-83e3b2ff.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,h as i}from"./p-75c4a726.js";const a="ul{padding:0;margin:0}";const n=a;const s=class{constructor(i){t(this,i);this.inputrawdata=undefined;this.list=undefined}componentWillLoad(){if(this.inputrawdata){this.parseinputrawdata(this.inputrawdata)}}parseinputrawdata(t){this.list=[...JSON.parse(t)]}oninputrawdataChange(t){this.parseinputrawdata(t)}render(){const t=this.list?this.list.length-1:-1;return i("ul",{key:"b5e6a660832a1ecb70a654a1019db5c2cc08f485"},this.list&&this.list.map(((a,n)=>i("z-myz-list-item",{listitemid:a.listitemid,text:a.text,link:a.link,linktarget:a.linktarget,icon:a.icon,underlined:t!=n}))))}static get watchers(){return{inputrawdata:["oninputrawdataChange"]}}};s.style=n;export{s as z_myz_list};
2
- //# sourceMappingURL=p-a2217ed8.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as o,h as e}from"./p-75c4a726.js";const a=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div>footer{height:128px;box-sizing:border-box;padding:var(--space-unit) calc(var(--space-unit) * 2) 0;border-top:var(--border-size-medium) solid var(--color-surface03);border-radius:0 0 var(--border-radius) var(--border-radius);color:var(--color-surface05);font-size:16px;line-height:24px}:host>div>footer>div.top,:host>div>footer>div.bottom{height:60px}";const r=a;const t=class{constructor(e){o(this,e)}render(){return e("div",{key:"977619373d9694e7037d8c0157fe9475c29d9f83"},e("footer",{key:"396a01d3f93460abb58bd46fff58388ffc462eaa"},e("div",{key:"214466f77fe8ba02eca99804f61255ebe9294bf1",class:"top"},e("slot",{key:"55fa07300973f0545328aca44794bb3b191daf75",name:"top"})),e("div",{key:"31a0de5f66972dd86b335dbfa626a07e31e7d9bf",class:"bottom"},e("slot",{key:"d527fab1142fd8b95a926bff6a77d40b3e128374",name:"bottom"}))))}};t.style=r;export{t as z_myz_card_footer_sections};
2
- //# sourceMappingURL=p-a9d05a92.entry.js.map
@@ -1,2 +0,0 @@
1
- export{Z as z_td}from"./p-0b26a8e0.js";import"./p-75c4a726.js";import"./p-dfcf9936.js";
2
- //# sourceMappingURL=p-cf837902.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,c as i,h as a,a as n,g as e}from"./p-75c4a726.js";import{N as o,a as s,b as r}from"./p-dfcf9936.js";const l='z-navigation-tabs{position:relative;z-index:0;display:flex;overflow:hidden;flex-direction:row;font-family:var(--font-family-sans);font-weight:var(--font-rg)}z-navigation-tabs,z-navigation-tabs *{box-sizing:border-box}z-navigation-tabs>nav::-webkit-scrollbar{display:none}z-navigation-tabs .navigation-button{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:0;background-color:var(--z-navigation-tabs-nav-buttons-bg, var(--color-surface01));border-radius:var(--border-no-radius);box-shadow:0 0 4px 1px var(--shadow-color-base);cursor:pointer;fill:var(--z-navigation-tabs-nav-buttons-fg, var(--color-primary01));outline:none}z-navigation-tabs .navigation-button:disabled{display:none}z-navigation-tabs>nav{z-index:0;display:flex;overflow:auto;align-items:center;justify-content:flex-start;scroll-behavior:smooth;scrollbar-width:none}z-navigation-tabs[orientation="horizontal"]>nav{width:100%}z-navigation-tabs[orientation="horizontal"] .navigation-button{top:0;width:calc(var(--space-unit) * 4);height:100%}z-navigation-tabs[orientation="horizontal"] .navigation-button:first-child{left:0}z-navigation-tabs[orientation="horizontal"] .navigation-button:last-child{right:0}z-navigation-tabs[orientation="vertical"]{width:fit-content;flex-direction:column}z-navigation-tabs[orientation="vertical"]>nav{height:100%;flex-direction:column;align-items:stretch}z-navigation-tabs[orientation="vertical"] .navigation-button{left:0;width:100%;height:calc(var(--space-unit) * 4)}z-navigation-tabs[orientation="vertical"] .navigation-button:first-child{top:0}z-navigation-tabs[orientation="vertical"] .navigation-button:last-child{bottom:0}z-navigation-tabs[size="small"][orientation="vertical"] .navigation-button{height:calc(var(--space-unit) * 4)}z-navigation-tabs>nav>*{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;gap:var(--space-unit);letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tabs>nav>a{text-decoration:none}z-navigation-tabs>nav>*:focus:focus-visible{z-index:1;box-shadow:inset 0 0 2px 2px var(--blue800)}z-navigation-tabs>nav>:not([disabled]):hover{background-color:var(--color-background)}z-navigation-tabs>nav>button[disabled]{color:var(--color-disabled03);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tabs>nav>:not([disabled]):hover,nav>[aria-selected="true"]{color:var(--color-hover-primary);fill:currentcolor}z-navigation-tabs>nav>:not([disabled]):hover::after,nav>[aria-selected="true"]::after{position:absolute;background-color:var(--color-hover-primary);content:""}z-navigation-tabs[orientation="horizontal"]>nav>:not([disabled]):hover::after,z-navigation-tabs[orientation="horizontal"]>nav>[aria-selected="true"]::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tabs>nav>* z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tabs[size="small"][orientation="horizontal"]>nav>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tabs[size="small"][orientation="horizontal"]>nav>:not([disabled]):hover::after,z-navigation-tabs[size="small"][orientation="horizontal"]>nav>[aria-selected="true"]::after{height:var(--border-size-medium)}z-navigation-tabs[size="small"]:not([orientation="vertical"])>nav>* z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tabs[orientation="vertical"]>nav>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tabs[orientation="vertical"]>nav>*>:not(z-icon){display:none}z-navigation-tabs[orientation="vertical"]>nav>:not([disabled]):hover::after,z-navigation-tabs[orientation="vertical"]>nav>[aria-selected="true"]::after{top:0;right:0;width:var(--border-size-large);height:100%}';const c=l;const h=class{constructor(a){t(this,a);this.selected=i(this,"selected",7);this.focusedTab=undefined;this.ariaLabel="";this.orientation=o.HORIZONTAL;this.size=s.BIG;this.selectedTab=undefined;this.canNavigate=undefined;this.canNavigatePrev=undefined;this.canNavigateNext=undefined}get direction(){return this.orientation==o.HORIZONTAL?"Left":"Top"}get dimension(){return this.orientation==o.HORIZONTAL?"Width":"Height"}get tabs(){return Array.from(this.nav.children)}scrollToTab(t){const i=t.parentElement;if(!i){return}setTimeout((()=>{const a=this.orientation===o.HORIZONTAL;const n=i.getBoundingClientRect();const e=t.getBoundingClientRect();const s=a?e.left-n.left:e.top-n.top;const r=a?i.clientWidth:i.clientHeight;const l=a?t.clientWidth:t.clientHeight;const c=s-r/2+l/2;i.scrollTo({[a?"left":"top"]:i[a?"scrollLeft":"scrollTop"]+c,behavior:"smooth"})}),100)}navigateBackwards(){this.nav.scrollBy({[this.direction.toLowerCase()]:0-this.nav[`client${this.dimension}`]/2,behavior:"smooth"})}navigateForward(){this.nav.scrollBy({[this.direction.toLowerCase()]:this.nav[`scroll${this.direction}`]+this.nav[`client${this.dimension}`]/2,behavior:"smooth"})}isArrowNavigation(t){return Object.values(r).includes(t.key)}checkScrollVisible(){if(!this.nav){return}this.canNavigate=this.nav[`scroll${this.dimension}`]>this.nav[`client${this.dimension}`]}checkScrollEnabled(){if(!this.nav){return}this.canNavigateNext=this.nav[`scroll${this.direction}`]+this.nav[`client${this.dimension}`]<this.nav[`scroll${this.dimension}`];this.canNavigatePrev=this.nav[`scroll${this.direction}`]>0}onTabSelected(){this.tabs.forEach(((t,i)=>{const a=t.querySelector("z-icon");const n=a===null||a===void 0?void 0:a.name.replace("-filled","");if(i!==this.selectedTab){t.setAttribute("aria-selected","false");t.tabIndex=-1;if(a){a.name=n}return}if(a){a.name=`${n}-filled`}t.setAttribute("aria-selected","true")}));this.selected.emit(this.selectedTab);if(this.selectedTab!==undefined){this.scrollToTab(this.tabs[this.selectedTab])}}handleTabClick(t){const i=t.target.closest("[role='tab']");if(!this.tabs.some((t=>t.contains(i)))){return}this.selectedTab=this.tabs.indexOf(i)}onTabFocusIn(t){const i=this.tabs.findIndex((i=>i.contains(t.target)));if(i===-1){return}if(this.selectedTab!==undefined){this.tabs[this.selectedTab].tabIndex=-1}this.focusedTab=i;this.tabs[this.focusedTab].tabIndex=-1;this.scrollToTab(this.tabs[this.focusedTab])}navigateThroughTabs(t){if(!this.tabs.some((i=>i.contains(t.target)))||!this.isArrowNavigation(t)){return true}t.preventDefault();if(t.key===r.RIGHT&&this.orientation==o.HORIZONTAL||t.key===r.DOWN&&this.orientation==o.VERTICAL){this.focusedTab++;if(this.focusedTab>=this.tabs.length){this.focusedTab=0}}else if(t.key===r.LEFT&&this.orientation==o.HORIZONTAL||t.key===r.UP&&this.orientation==o.VERTICAL){this.focusedTab--;if(this.focusedTab<0){this.focusedTab=this.tabs.length-1}}if(this.tabs[this.focusedTab].hasAttribute("disabled")&&this.tabs[this.focusedTab].getAttribute("disabled")!=="false"){return this.navigateThroughTabs(t)}this.tabs[this.focusedTab].focus();this.scrollToTab(this.tabs[this.focusedTab])}onTabFocusOut(t){var i;if(!this.tabs.some((i=>i.contains(t.relatedTarget)))){this.tabs[(i=this.selectedTab)!==null&&i!==void 0?i:0].tabIndex=0;this.focusedTab=undefined}}connectedCallback(){this.resizeObserver=new ResizeObserver((()=>this.checkScrollVisible()))}componentDidLoad(){var t;this.tabs.forEach((t=>{t.setAttribute("role","tab");t.tabIndex=-1}));const i=(t=this.selectedTab)!==null&&t!==void 0?t:this.tabs.findIndex((t=>t.ariaSelected==="true"));if(i!==-1){this.selectedTab=i;this.tabs[i].tabIndex=0;this.onTabSelected()}else{this.tabs[0].tabIndex=0}this.resizeObserver.observe(this.nav)}disconnectedCallback(){var t;(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect()}render(){return a(n,{key:"b7bdbf2b202dead64ed98f5865e9d46e71898bf9",class:{"interactive-2":this.size===s.SMALL,"interactive-1":this.size!==s.SMALL},scrollable:this.canNavigate},a("button",{key:"aa1df34b54cf4b8848aed44cd3927ee17777a34b",class:"navigation-button",onClick:this.navigateBackwards.bind(this),tabIndex:-1,disabled:!this.canNavigatePrev,"aria-label":"Mostra elementi precedenti",hidden:!this.canNavigate},a("z-icon",{key:"2bad56e221bc2691d8ca6cea0a013c6d92d7f8c1",name:this.orientation===o.HORIZONTAL?"chevron-left":"chevron-up",width:16,height:16})),a("nav",{key:"8dd45e59019ac799f1fffdf7245d0c902455c0a6",role:"tablist","aria-label":this.ariaLabel,ref:t=>this.nav=t!==null&&t!==void 0?t:this.nav,onScroll:this.checkScrollEnabled.bind(this),"aria-orientation":this.orientation},a("slot",{key:"3d243470caae97c068a2ae23b05078695c2ae367"})),a("button",{key:"080cf9e973e320a795c95acfb3bd41b4ee9eacd9",class:"navigation-button",onClick:this.navigateForward.bind(this),tabIndex:-1,disabled:!this.canNavigateNext,"aria-label":"Mostra elementi successivi",hidden:!this.canNavigate},a("z-icon",{key:"293fc3b81bee46d928c8461be0225be73efcc9bb",name:this.orientation===o.HORIZONTAL?"chevron-right":"chevron-down",width:16,height:16})))}get host(){return e(this)}static get watchers(){return{canNavigate:["checkScrollEnabled"],selectedTab:["onTabSelected"]}}};h.style=c;export{h as z_navigation_tabs};
2
- //# sourceMappingURL=p-d8e88ea8.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZNavigationTabsStyle0","ZNavigationTabs","this","focusedTab","undefined","NavigationTabsOrientation","HORIZONTAL","NavigationTabsSize","BIG","direction","orientation","dimension","tabs","Array","from","nav","children","scrollToTab","tabElement","container","parentElement","setTimeout","isHorizontal","containerRect","getBoundingClientRect","tabRect","offset","left","top","containerSize","clientWidth","clientHeight","tabSize","scrollAmount","scrollTo","behavior","navigateBackwards","scrollBy","toLowerCase","navigateForward","isArrowNavigation","e","Object","values","NavigationTabsKeyboardEvents","includes","key","checkScrollVisible","canNavigate","checkScrollEnabled","canNavigateNext","canNavigatePrev","onTabSelected","forEach","tab","i","zicon","querySelector","strokeIcon","name","replace","selectedTab","setAttribute","tabIndex","selected","emit","handleTabClick","event","clickedTab","target","closest","some","child","contains","indexOf","onTabFocusIn","focused","findIndex","navigateThroughTabs","preventDefault","RIGHT","DOWN","VERTICAL","length","LEFT","UP","hasAttribute","getAttribute","focus","onTabFocusOut","relatedTarget","_a","connectedCallback","resizeObserver","ResizeObserver","componentDidLoad","preselectedTab","ariaSelected","observe","disconnectedCallback","disconnect","render","h","Host","class","size","SMALL","scrollable","onClick","bind","disabled","hidden","width","height","role","ariaLabel","ref","el","onScroll"],"sources":["src/components/z-navigation-tabs/styles.css?tag=z-navigation-tabs","src/components/z-navigation-tabs/index.tsx"],"sourcesContent":["z-navigation-tabs {\n --z-navigation-tabs-nav-buttons-bg: ;\n --z-navigation-tabs-nav-buttons-fg: ;\n\n position: relative;\n z-index: 0;\n display: flex;\n overflow: hidden;\n flex-direction: row;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\nz-navigation-tabs,\nz-navigation-tabs * {\n box-sizing: border-box;\n}\n\nz-navigation-tabs > nav::-webkit-scrollbar {\n display: none;\n}\n\nz-navigation-tabs .navigation-button {\n position: absolute;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n margin: 0;\n background-color: var(--z-navigation-tabs-nav-buttons-bg, var(--color-surface01));\n border-radius: var(--border-no-radius);\n box-shadow: 0 0 4px 1px var(--shadow-color-base);\n cursor: pointer;\n fill: var(--z-navigation-tabs-nav-buttons-fg, var(--color-primary01));\n outline: none;\n}\n\nz-navigation-tabs .navigation-button:disabled {\n display: none;\n}\n\nz-navigation-tabs > nav {\n z-index: 0;\n display: flex;\n overflow: auto;\n align-items: center;\n justify-content: flex-start;\n scroll-behavior: smooth;\n\n /* hide scrollbar in Firefox */\n scrollbar-width: none;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] > nav {\n width: 100%;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] .navigation-button {\n top: 0;\n width: calc(var(--space-unit) * 4);\n height: 100%;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] .navigation-button:first-child {\n left: 0;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] .navigation-button:last-child {\n right: 0;\n}\n\n/* Orientation vertical */\nz-navigation-tabs[orientation=\"vertical\"] {\n width: fit-content;\n flex-direction: column;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] > nav {\n height: 100%;\n flex-direction: column;\n align-items: stretch;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] .navigation-button {\n left: 0;\n width: 100%;\n height: calc(var(--space-unit) * 4);\n}\n\nz-navigation-tabs[orientation=\"vertical\"] .navigation-button:first-child {\n top: 0;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] .navigation-button:last-child {\n bottom: 0;\n}\n\nz-navigation-tabs[size=\"small\"][orientation=\"vertical\"] .navigation-button {\n height: calc(var(--space-unit) * 4);\n}\n\n/* Style for the tabs */\n\nz-navigation-tabs > nav > * {\n position: relative;\n z-index: 0;\n display: inline-flex;\n width: auto;\n align-items: center;\n justify-content: center;\n padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);\n border: none;\n margin: 0;\n background-color: unset;\n border-radius: var(--border-no-radius);\n color: var(--color-primary01);\n cursor: pointer;\n fill: currentcolor;\n font-family: var(--font-family-sans);\n font-size: inherit;\n gap: var(--space-unit);\n letter-spacing: inherit;\n line-height: inherit;\n outline: none;\n text-align: center;\n white-space: nowrap;\n}\n\nz-navigation-tabs > nav > a {\n text-decoration: none;\n}\n\nz-navigation-tabs > nav > *:focus:focus-visible {\n z-index: 1;\n box-shadow: inset 0 0 2px 2px var(--blue800);\n}\n\nz-navigation-tabs > nav > :not([disabled]):hover {\n background-color: var(--color-background);\n}\n\nz-navigation-tabs > nav > button[disabled] {\n color: var(--color-disabled03);\n cursor: not-allowed;\n fill: currentcolor;\n pointer-events: all;\n}\n\nz-navigation-tabs > nav > :not([disabled]):hover,\nnav > [aria-selected=\"true\"] {\n color: var(--color-hover-primary);\n fill: currentcolor;\n}\n\nz-navigation-tabs > nav > :not([disabled]):hover::after,\nnav > [aria-selected=\"true\"]::after {\n position: absolute;\n background-color: var(--color-hover-primary);\n content: \"\";\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] > nav > :not([disabled]):hover::after,\nz-navigation-tabs[orientation=\"horizontal\"] > nav > [aria-selected=\"true\"]::after {\n bottom: 0;\n left: 0;\n width: 100%;\n height: var(--border-size-large);\n}\n\nz-navigation-tabs > nav > * z-icon {\n --z-icon-width: calc(var(--space-unit) * 2);\n --z-icon-height: calc(var(--space-unit) * 2);\n\n display: flex;\n margin: 0;\n}\n\n/* `small` size (only available for horizontal orientation) */\n\nz-navigation-tabs[size=\"small\"][orientation=\"horizontal\"] > nav > * {\n padding: var(--space-unit) calc(var(--space-unit) * 2);\n}\n\nz-navigation-tabs[size=\"small\"][orientation=\"horizontal\"] > nav > :not([disabled]):hover::after,\nz-navigation-tabs[size=\"small\"][orientation=\"horizontal\"] > nav > [aria-selected=\"true\"]::after {\n height: var(--border-size-medium);\n}\n\nz-navigation-tabs[size=\"small\"]:not([orientation=\"vertical\"]) > nav > * z-icon {\n --z-icon-width: 14px;\n --z-icon-height: 14px;\n}\n\n/* Orientation Vertical */\n\nz-navigation-tabs[orientation=\"vertical\"] > nav > * {\n padding: calc(var(--space-unit) * 3) calc(var(--space-unit) * 2);\n}\n\nz-navigation-tabs[orientation=\"vertical\"] > nav > * > :not(z-icon) {\n display: none;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] > nav > :not([disabled]):hover::after,\nz-navigation-tabs[orientation=\"vertical\"] > nav > [aria-selected=\"true\"]::after {\n top: 0;\n right: 0;\n width: var(--border-size-large);\n height: 100%;\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {NavigationTabsKeyboardEvents, NavigationTabsOrientation, NavigationTabsSize} from \"../../beans\";\n\n/**\n * Navigation tabs component.\n * To select a specific tab programmatically, set the `aria-selected` attribute to `true` on the desired tab.\n * @slot - Main slot. Use `<button>` or `<a>` tags as children.\n * @cssprop --z-navigation-tabs-nav-buttons-bg - Navigation buttons background color.\n * @cssprop --z-navigation-tabs-nav-buttons-fg - Navigation buttons foreground color.\n */\n@Component({\n tag: \"z-navigation-tabs\",\n styleUrl: \"styles.css\",\n})\nexport class ZNavigationTabs {\n /**\n * Set `aria-label` attribute to the internal `<nav>` element with `tablist` role.\n */\n @Prop()\n ariaLabel = \"\";\n\n /**\n * Navigation tabs orientation.\n */\n @Prop({reflect: true})\n orientation? = NavigationTabsOrientation.HORIZONTAL;\n\n /**\n * Navigation tabs size.\n */\n @Prop({reflect: true})\n size? = NavigationTabsSize.BIG;\n\n /**\n * Index of the selected tab.\n * Useful to programmatically select a tab.\n * The tab can also be selected by setting the `aria-selected` attribute to `true` on the desired tab.\n */\n @Prop({mutable: true})\n selectedTab: number = undefined;\n\n /**\n * Emitted when the selected tab changes.\n * Contains the index of the new selected tab in the `detail` of the event.\n */\n @Event()\n selected: EventEmitter<number>;\n\n /**\n * Whether to show navigation buttons.\n */\n @State()\n canNavigate: boolean;\n\n /**\n * Whether backwards navigation is allowed.\n */\n @State()\n canNavigatePrev: boolean;\n\n /**\n * Whether forward navigation is allowed.\n */\n @State()\n canNavigateNext: boolean;\n\n @Element() host: HTMLZNavigationTabsElement;\n\n /**\n * Index of the last tab that held focus.\n */\n private focusedTab = undefined;\n\n /**\n * Reference to the `<nav>` element\n */\n private nav: HTMLElement;\n\n /**\n * Getter for the direction to check based on current orientation.\n */\n get direction(): string {\n return this.orientation == NavigationTabsOrientation.HORIZONTAL ? \"Left\" : \"Top\";\n }\n\n /**\n * Getter for the dimension to check based on current orientation.\n */\n get dimension(): string {\n return this.orientation == NavigationTabsOrientation.HORIZONTAL ? \"Width\" : \"Height\";\n }\n\n get tabs(): HTMLElement[] {\n return Array.from(this.nav.children) as HTMLElement[];\n }\n\n private resizeObserver: ResizeObserver;\n\n /**\n * Scroll into view to center the tab.\n */\n private scrollToTab(tabElement: HTMLElement): void {\n const container = tabElement.parentElement;\n\n if (!container) {\n return;\n }\n\n setTimeout(() => {\n const isHorizontal = this.orientation === NavigationTabsOrientation.HORIZONTAL;\n\n const containerRect = container.getBoundingClientRect();\n const tabRect = tabElement.getBoundingClientRect();\n\n const offset = isHorizontal ? tabRect.left - containerRect.left : tabRect.top - containerRect.top;\n const containerSize = isHorizontal ? container.clientWidth : container.clientHeight;\n const tabSize = isHorizontal ? tabElement.clientWidth : tabElement.clientHeight;\n const scrollAmount = offset - containerSize / 2 + tabSize / 2;\n\n container.scrollTo({\n [isHorizontal ? \"left\" : \"top\"]: container[isHorizontal ? \"scrollLeft\" : \"scrollTop\"] + scrollAmount,\n behavior: \"smooth\",\n });\n }, 100);\n }\n\n /**\n * Scroll the navigation bar half of its size backward.\n */\n private navigateBackwards(): void {\n this.nav.scrollBy({\n [this.direction.toLowerCase()]: 0 - this.nav[`client${this.dimension}`] / 2,\n behavior: \"smooth\",\n });\n }\n\n /**\n * Scroll the navigation bar half of its size forward.\n */\n private navigateForward(): void {\n this.nav.scrollBy({\n [this.direction.toLowerCase()]: this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] / 2,\n behavior: \"smooth\",\n });\n }\n\n /**\n * Check if a keyboard event was triggered by an arrow key.\n */\n private isArrowNavigation(e: KeyboardEvent): boolean {\n return Object.values(NavigationTabsKeyboardEvents).includes(e.key as NavigationTabsKeyboardEvents);\n }\n\n /**\n * Check if the navigation buttons are needed.\n */\n private checkScrollVisible(): void {\n if (!this.nav) {\n return;\n }\n\n this.canNavigate = this.nav[`scroll${this.dimension}`] > this.nav[`client${this.dimension}`];\n }\n\n /**\n * Check if navigation buttons can be enabled for each direction.\n */\n @Watch(\"canNavigate\")\n checkScrollEnabled(): void {\n if (!this.nav) {\n return;\n }\n\n this.canNavigateNext =\n this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] < this.nav[`scroll${this.dimension}`];\n this.canNavigatePrev = this.nav[`scroll${this.direction}`] > 0;\n }\n\n /**\n * When the selected tab changes, update the `aria-selected` attribute on each tab and scroll to the selected tab.\n */\n @Watch(\"selectedTab\")\n onTabSelected(): void {\n this.tabs.forEach((tab, i) => {\n const zicon = tab.querySelector(\"z-icon\");\n const strokeIcon = zicon?.name.replace(\"-filled\", \"\");\n if (i !== this.selectedTab) {\n tab.setAttribute(\"aria-selected\", \"false\");\n tab.tabIndex = -1;\n if (zicon) {\n zicon.name = strokeIcon;\n }\n\n return;\n }\n\n if (zicon) {\n zicon.name = `${strokeIcon}-filled`;\n }\n tab.setAttribute(\"aria-selected\", \"true\");\n });\n this.selected.emit(this.selectedTab);\n if (this.selectedTab !== undefined) {\n this.scrollToTab(this.tabs[this.selectedTab]);\n }\n }\n\n /**\n * Handle click on the tabs.\n * @param event `click` event triggered by a child tab\n */\n @Listen(\"click\")\n handleTabClick(event: MouseEvent): void {\n const clickedTab = (event.target as HTMLElement).closest<HTMLElement>(\"[role='tab']\");\n if (!this.tabs.some((child) => child.contains(clickedTab))) {\n return;\n }\n\n this.selectedTab = this.tabs.indexOf(clickedTab);\n }\n\n /**\n * When a tab is focused, temporarily set to -1 the `tabindex` of the selected tab (if any) and set the `focusedTab` to the index of the focused tab.\n */\n @Listen(\"focusin\")\n onTabFocusIn(event: FocusEvent): void {\n const focused = this.tabs.findIndex((tab) => tab.contains(event.target as HTMLElement));\n if (focused === -1) {\n return;\n }\n\n if (this.selectedTab !== undefined) {\n this.tabs[this.selectedTab].tabIndex = -1;\n }\n this.focusedTab = focused;\n this.tabs[this.focusedTab].tabIndex = -1;\n this.scrollToTab(this.tabs[this.focusedTab]);\n }\n\n /**\n * Handle keyboard navigation through tabs with arrow keys.\n */\n @Listen(\"keydown\")\n navigateThroughTabs(event: KeyboardEvent): void | boolean {\n if (!this.tabs.some((tab) => tab.contains(event.target as HTMLElement)) || !this.isArrowNavigation(event)) {\n return true;\n }\n\n event.preventDefault();\n if (\n (event.key === NavigationTabsKeyboardEvents.RIGHT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||\n (event.key === NavigationTabsKeyboardEvents.DOWN && this.orientation == NavigationTabsOrientation.VERTICAL)\n ) {\n // Move forward\n this.focusedTab++;\n if (this.focusedTab >= this.tabs.length) {\n this.focusedTab = 0;\n }\n } else if (\n (event.key === NavigationTabsKeyboardEvents.LEFT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||\n (event.key === NavigationTabsKeyboardEvents.UP && this.orientation == NavigationTabsOrientation.VERTICAL)\n ) {\n // Move backward\n this.focusedTab--;\n if (this.focusedTab < 0) {\n this.focusedTab = this.tabs.length - 1;\n }\n }\n // Ignore disabled tabs\n if (\n this.tabs[this.focusedTab].hasAttribute(\"disabled\") &&\n this.tabs[this.focusedTab].getAttribute(\"disabled\") !== \"false\"\n ) {\n return this.navigateThroughTabs(event);\n }\n\n this.tabs[this.focusedTab].focus();\n this.scrollToTab(this.tabs[this.focusedTab]);\n }\n\n /**\n * If the focus is not going on a tab (`relatedTarget` is the new focused element), set to 0 the `tabindex` of the selected tab or the one of the first tab, then unset the `focusedTab`.\n */\n @Listen(\"focusout\")\n onTabFocusOut(event: FocusEvent): void {\n if (!this.tabs.some((tab) => tab.contains(event.relatedTarget as HTMLElement))) {\n this.tabs[this.selectedTab ?? 0].tabIndex = 0;\n this.focusedTab = undefined;\n }\n }\n\n connectedCallback(): void {\n this.resizeObserver = new ResizeObserver(() => this.checkScrollVisible());\n }\n\n componentDidLoad(): void {\n // Set role and tabindex to each slotted tab\n this.tabs.forEach((tab) => {\n tab.setAttribute(\"role\", \"tab\");\n tab.tabIndex = -1;\n });\n\n const preselectedTab = this.selectedTab ?? this.tabs.findIndex((tab) => tab.ariaSelected === \"true\");\n if (preselectedTab !== -1) {\n this.selectedTab = preselectedTab;\n this.tabs[preselectedTab].tabIndex = 0;\n this.onTabSelected();\n } else {\n this.tabs[0].tabIndex = 0;\n }\n\n this.resizeObserver.observe(this.nav);\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n }\n\n render(): HTMLZNavigationTabsElement {\n return (\n <Host\n class={{\n \"interactive-2\": this.size === NavigationTabsSize.SMALL,\n \"interactive-1\": this.size !== NavigationTabsSize.SMALL,\n }}\n scrollable={this.canNavigate}\n >\n <button\n class=\"navigation-button\"\n onClick={this.navigateBackwards.bind(this)}\n tabIndex={-1}\n disabled={!this.canNavigatePrev}\n aria-label=\"Mostra elementi precedenti\"\n hidden={!this.canNavigate}\n >\n <z-icon\n name={this.orientation === NavigationTabsOrientation.HORIZONTAL ? \"chevron-left\" : \"chevron-up\"}\n width={16}\n height={16}\n />\n </button>\n\n <nav\n role=\"tablist\"\n aria-label={this.ariaLabel}\n ref={(el) => (this.nav = el ?? this.nav)}\n onScroll={this.checkScrollEnabled.bind(this)}\n aria-orientation={this.orientation}\n >\n <slot></slot>\n </nav>\n\n <button\n class=\"navigation-button\"\n onClick={this.navigateForward.bind(this)}\n tabIndex={-1}\n disabled={!this.canNavigateNext}\n aria-label=\"Mostra elementi successivi\"\n hidden={!this.canNavigate}\n >\n <z-icon\n name={this.orientation === NavigationTabsOrientation.HORIZONTAL ? \"chevron-right\" : \"chevron-down\"}\n width={16}\n height={16}\n />\n </button>\n </Host>\n );\n }\n}\n"],"mappings":"kHAAA,MAAMA,EAAY,4iIAClB,MAAAC,EAAeD,E,MCaFE,EAAe,M,4DAyDlBC,KAAAC,WAAaC,U,eApDT,G,iBAMGC,EAA0BC,W,UAMjCC,EAAmBC,I,iBAQLJ,U,yFA0CtB,aAAIK,GACF,OAAOP,KAAKQ,aAAeL,EAA0BC,WAAa,OAAS,K,CAM7E,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dsD,EAAA,UAAAxD,IAAA,2CACEa,KAAMzD,KAAKQ,cAAgBL,EAA0BC,WAAa,gBAAkB,eACpF0G,MAAO,GACPC,OAAQ,M","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["LicenseType","CardVariant","NavigationTabsOrientation","NavigationTabsSize","NavigationTabsKeyboardEvents","ButtonVariant","ButtonType","ButtonSize","ControlSize","InputType","InputStatus","PopoverPosition","KeyboardKeyCode","KeyboardCode","ThemeVariant","DividerSize","DividerOrientation","SortDirection","AvatarSize","ListSize","ExpandableListStyle","ExpandableListButtonAlign","LabelPosition","ListDividerType","ListType","NotificationType","AlertType","Device","ToastNotification","ToastNotificationTransition","ToastNotificationPosition","ZTableRowExpandedType","ZAriaAlertMode","TransitionDirection","OffCanvasVariant","ZFileUploadType","ZChipType","ZSectionTitleDividerPosition","ZDatePickerMode","ZDatePickerModeValue","ZDatePickerPosition","ZRangePickerMode","InfoRevealPosition","CoverHeroVariant","CoverHeroContentPosition","CarouselArrowsPosition","CarouselProgressMode","BreadcrumbPathStyle","BreadcrumbHomepageVariant","VisibilityCondition","BookCardVariant","BookCardDeprecatedVariant","AccordionVariant"],"sources":["src/beans/index.tsx"],"sourcesContent":["export type MyzLink = {\n label: string;\n img: string;\n link: string;\n};\n\nexport enum LicenseType {\n REAL = \"reale\",\n VIRTUAL = \"virtuale\",\n TRIAL = \"saggio\",\n TEMP = \"reale_temp\",\n}\n\nexport type Card = {\n id: string;\n isbn: string;\n volumeTitle: string;\n operaTitle: string;\n img: string;\n authors: string;\n actions: Action[];\n isBookmark: boolean;\n licenseType: LicenseType;\n};\n\nexport enum CardVariant {\n BORDER = \"border\",\n SHADOW = \"shadow\",\n OVERLAY = \"overlay\",\n TEXT = \"text\",\n}\n\nexport type Action = {\n isLink: boolean;\n value: string;\n url?: string;\n};\n\nexport type ListItem = {\n text: string;\n link?: string;\n linktarget?: string;\n icon?: string;\n listitemid?: string;\n};\n\nexport type FilterItem = {\n name: string;\n id: string;\n isActive: boolean;\n isfixed: boolean;\n};\n\nexport type MenuItem = {\n id: string;\n label: string;\n link?: string;\n icon?: string;\n target?: string;\n subMenu?: MenuItem[];\n};\n\nexport type TabItem = {\n id: string;\n label: string;\n icon?: string;\n size?: string;\n selected?: boolean;\n disabled?: boolean;\n};\n\nexport enum NavigationTabsOrientation {\n HORIZONTAL = \"horizontal\",\n VERTICAL = \"vertical\",\n}\n\nexport enum NavigationTabsSize {\n BIG = \"big\",\n SMALL = \"small\",\n}\n\nexport enum NavigationTabsKeyboardEvents {\n LEFT = \"ArrowLeft\",\n RIGHT = \"ArrowRight\",\n UP = \"ArrowUp\",\n DOWN = \"ArrowDown\",\n}\n\nexport type HeaderUserData = {\n islogged: boolean;\n id?: number;\n name?: string;\n usergroup: number;\n userlinks: MenuItem[];\n};\n\nexport type ComboItem = {\n id: string;\n name: string;\n checked: boolean;\n category?: string;\n};\n\nexport enum ButtonVariant {\n PRIMARY = \"primary\",\n SECONDARY = \"secondary\",\n TERTIARY = \"tertiary\",\n}\n\nexport enum ButtonType {\n SUBMIT = \"submit\",\n RESET = \"reset\",\n BUTTON = \"button\",\n}\n\n/**\n * @deprecated Use ControlSize instead\n */\nexport enum ButtonSize {\n BIG = \"big\",\n SMALL = \"small\",\n X_SMALL = \"x-small\",\n}\n\nexport enum ControlSize {\n BIG = \"big\",\n SMALL = \"small\",\n X_SMALL = \"x-small\",\n}\n\nexport enum InputType {\n TEXT = \"text\",\n PASSWORD = \"password\",\n NUMBER = \"number\",\n EMAIL = \"email\",\n TEXTAREA = \"textarea\",\n CHECKBOX = \"checkbox\",\n RADIO = \"radio\",\n TEL = \"tel\",\n URL = \"url\",\n SEARCH = \"search\",\n}\n\nexport enum InputStatus {\n SUCCESS = \"success\",\n ERROR = \"error\",\n WARNING = \"warning\",\n}\n\nexport enum PopoverPosition {\n AUTO = \"auto\",\n TOP = \"top\",\n RIGHT = \"right\",\n BOTTOM = \"bottom\",\n LEFT = \"left\",\n TOP_RIGHT = \"top_right\",\n TOP_LEFT = \"top_left\",\n BOTTOM_RIGHT = \"bottom_right\",\n BOTTOM_LEFT = \"bottom_left\",\n RIGHT_TOP = \"right_top\",\n RIGHT_BOTTOM = \"right_bottom\",\n LEFT_TOP = \"left_top\",\n LEFT_BOTTOM = \"left_bottom\",\n}\n\nexport enum KeyboardKeyCode {\n TAB = 9,\n SPACE = 32,\n ESC = 27,\n ENTER = 13,\n ARROW_UP = 38,\n ARROW_DOWN = 40,\n BACKSPACE = 8,\n DELETE = 46,\n}\n\nexport enum KeyboardCode {\n TAB = \"Tab\",\n SPACE = \"Space\",\n ESC = \"Escape\",\n ENTER = \"Enter\",\n ARROW_UP = \"ArrowUp\",\n ARROW_DOWN = \"ArrowDown\",\n BACKSPACE = \"Backspace\",\n DELETE = \"Delete\",\n ARROW_RIGHT = \"ArrowRight\",\n ARROW_LEFT = \"ArrowLeft\",\n}\n\nexport type SelectItem = {\n id: string;\n name: string;\n selected: boolean;\n icon?: string;\n disabled?: boolean;\n category?: string;\n children?: SelectItem[];\n};\n\nexport enum ThemeVariant {\n DARK = \"dark\",\n LIGHT = \"light\",\n}\n\nexport enum DividerSize {\n SMALL = \"small\",\n MEDIUM = \"medium\",\n LARGE = \"large\",\n}\n\nexport enum DividerOrientation {\n HORIZONTAL = \"horizontal\",\n VERTICAL = \"vertical\",\n}\n\nexport enum SortDirection {\n ASC = \"asc\",\n DESC = \"desc\",\n}\n\nexport enum AvatarSize {\n SMALL = \"small\",\n MEDIUM = \"medium\",\n LARGE = \"large\",\n}\n\nexport enum ListSize {\n SMALL = \"small\",\n MEDIUM = \"medium\",\n LARGE = \"large\",\n X_LARGE = \"x-large\",\n NONE = \"none\",\n}\n\nexport enum ExpandableListStyle {\n ACCORDION = \"accordion\",\n MENU = \"menu\",\n}\n\nexport enum ExpandableListButtonAlign {\n RIGHT = \"right\",\n LEFT = \"left\",\n}\n\nexport enum LabelPosition {\n RIGHT = \"right\",\n LEFT = \"left\",\n}\n\nexport enum ListDividerType {\n NONE = \"none\",\n HEADER = \"header\",\n ELEMENT = \"element\",\n}\n\nexport enum ListType {\n NONE = \"none\",\n ORDERED = \"ordered\",\n UNORDERED = \"unordered\",\n}\n\nexport enum NotificationType {\n SUCCESS = \"success\",\n WARNING = \"warning\",\n ERROR = \"error\",\n}\n\nexport enum AlertType {\n SUCCESS = \"success\",\n WARNING = \"warning\",\n ERROR = \"error\",\n}\n\nexport enum Device {\n MOBILE = \"mobile\",\n TABLET = \"tablet\",\n DESKTOP = \"desktop\",\n DESKTOP_WIDE = \"desktop-wide\",\n}\n\nexport type DictionaryData = {\n author: string;\n year: string;\n title: string;\n description: string;\n onlineLicense: DictionaryLicenseData;\n offlineLicense: DictionaryLicenseData;\n};\n\nexport type DictionaryLicenseData = {\n expiration: string;\n expired: boolean;\n expiring: boolean;\n installations: string;\n};\n\nexport enum ToastNotification {\n DARK = \"dark\",\n LIGHT = \"light\",\n ACCENT = \"accent\",\n ERROR = \"error\",\n SUCCESS = \"success\",\n WARNING = \"warning\",\n}\n\nexport enum ToastNotificationTransition {\n SLIDE_IN_LEFT = \"slide-in-left\",\n SLIDE_IN_RIGHT = \"slide-in-right\",\n SLIDE_IN_DOWN = \"slide-in-down\",\n SLIDE_IN_UP = \"slide-in-up\",\n SLIDE_OUT_LEFT = \"slide-out-left\",\n SLIDE_OUT_RIGHT = \"slide-out-right\",\n SLIDE_OUT_DOWN = \"slide-out-down\",\n SLIDE_OUT_UP = \"slide-out-up\",\n}\n\nexport enum ToastNotificationPosition {\n TOP_RIGHT = \"top-right\",\n TOP_LEFT = \"top-left\",\n TOP_CENTRE = \"top-centre\",\n BOTTOM_RIGHT = \"bottom-right\",\n BOTTOM_LEFT = \"bottom-left\",\n BOTTOM_CENTRE = \"bottom-centre\",\n}\n\nexport enum ZTableRowExpandedType {\n EXPANDABLE = \"expandable\",\n PADDING = \"padding\",\n NONE = \"none\",\n}\n\nexport enum ZAriaAlertMode {\n POLITE = \"polite\",\n ASSERTIVE = \"assertive\",\n}\n\nexport enum TransitionDirection {\n LEFT = \"left\",\n RIGHT = \"right\",\n UP = \"up\",\n}\n\nexport enum OffCanvasVariant {\n OVERLAY = \"overlay\",\n PUSHCONTENT = \"pushcontent\",\n}\n\nexport enum ZFileUploadType {\n DEFAULT = \"default\",\n DRAGDROP = \"dragdrop\",\n}\n\nexport enum ZChipType {\n DEFAULT = \"default\",\n MEDIUM = \"medium\",\n SMALL = \"small\",\n}\n\nexport enum ZSectionTitleDividerPosition {\n BEFORE = \"before\",\n AFTER = \"after\",\n}\n\nexport enum ZDatePickerMode {\n DATE = \"date\",\n DATE_TIME = \"date-time\",\n MONTHS = \"months\",\n}\n\nexport enum ZDatePickerModeValue {\n DATE = 401,\n DATE_TIME = 523,\n MONTHS = 288,\n}\n\nexport enum ZDatePickerPosition {\n TOP = \"top\",\n BOTTOM = \"bottom\",\n}\n\nexport enum ZRangePickerMode {\n DATE = \"date\",\n DATE_TIME = \"date-time\",\n}\n\nexport type SkipToContentLink = {\n label: string;\n href: string;\n ariaLabel?: string;\n};\n\nexport enum InfoRevealPosition {\n TOP_RIGHT = \"top_right\",\n TOP_LEFT = \"top_left\",\n BOTTOM_RIGHT = \"bottom_right\",\n BOTTOM_LEFT = \"bottom_left\",\n}\n\nexport enum CoverHeroVariant {\n OVERLAY = \"overlay\",\n STACKED = \"stacked\",\n}\n\nexport enum CoverHeroContentPosition {\n TOP = \"top\",\n BOTTOM = \"bottom\",\n}\n\nexport enum CarouselArrowsPosition {\n OVER = \"over\",\n BOTTOM = \"bottom\",\n}\n\nexport enum CarouselProgressMode {\n DOTS = \"dots\",\n NUMBERS = \"numbers\",\n}\n\nexport type SearchbarItem = {\n label: string;\n id?: string;\n icon?: string;\n tag?: {icon?: string; text: string};\n category?: string;\n subcategory?: string;\n children?: Omit<SearchbarItem, \"category\" | \"subcategory\">[];\n};\n\nexport type SearchbarGroupedItem = {\n [key: string]: SearchbarGroup;\n};\n\nexport type SearchbarGroup = {\n items: SearchbarItem[];\n category?: string;\n subcategory?: string;\n};\n\nexport type BreadcrumbPath = {\n text?: string;\n path?: string;\n hasTooltip?: boolean;\n};\n\nexport enum BreadcrumbPathStyle {\n SEMIBOLD = \"semibold\",\n UNDERLINED = \"underlined\",\n}\n\nexport enum BreadcrumbHomepageVariant {\n TEXT = \"text\",\n ICON = \"icon\",\n}\n\nexport enum VisibilityCondition {\n HOVER = \"hover\",\n ALWAYS = \"always\",\n}\n\nexport enum BookCardVariant {\n LANDSCAPE = \"landscape\",\n PORTRAIT = \"portrait\",\n}\n\nexport enum BookCardDeprecatedVariant {\n EXPANDED = \"expanded\",\n COMPACT = \"compact\",\n SEARCH = \"search\",\n}\n\nexport enum AccordionVariant {\n DEFAULT = \"default\",\n BACKGROUND = \"background\",\n}\n\nexport type TreeListItem = {\n id: string;\n name: string;\n url: string;\n icon?: string;\n bold?: boolean;\n children?: TreeListItem[];\n};\n"],"mappings":"IAMYA,GAAZ,SAAYA,GACVA,EAAA,gBACAA,EAAA,sBACAA,EAAA,kBACAA,EAAA,oBACD,EALD,CAAYA,MAAW,K,IAmBXC,GAAZ,SAAYA,GACVA,EAAA,mBACAA,EAAA,mBACAA,EAAA,qBACAA,EAAA,cACD,EALD,CAAYA,MAAW,K,IA8CXC,GAAZ,SAAYA,GACVA,EAAA,2BACAA,EAAA,sBACD,EAHD,CAAYA,MAAyB,K,IAKzBC,GAAZ,SAAYA,GACVA,EAAA,aACAA,EAAA,gBACD,EAHD,CAAYA,MAAkB,K,IAKlBC,GAAZ,SAAYA,GACVA,EAAA,oBACAA,EAAA,sBACAA,EAAA,gBACAA,EAAA,mBACD,EALD,CAAYA,MAA4B,K,IAsB5BC,GAAZ,SAAYA,GACVA,EAAA,qBACAA,EAAA,yBACAA,EAAA,sBACD,EAJD,CAAYA,MAAa,K,IAMbC,GAAZ,SAAYA,GACVA,EAAA,mBACAA,EAAA,iBACAA,EAAA,kBACD,EAJD,CAAYA,MAAU,K,IASVC,GAAZ,SAAYA,GACVA,EAAA,a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MAAwB,K,IAKxBC,GAAZ,SAAYA,GACVA,EAAA,eACAA,EAAA,kBACD,EAHD,CAAYA,MAAsB,K,IAKtBC,GAAZ,SAAYA,GACVA,EAAA,eACAA,EAAA,oBACD,EAHD,CAAYA,MAAoB,K,IA+BpBC,GAAZ,SAAYA,GACVA,EAAA,uBACAA,EAAA,0BACD,EAHD,CAAYA,MAAmB,K,IAKnBC,GAAZ,SAAYA,GACVA,EAAA,eACAA,EAAA,cACD,EAHD,CAAYA,MAAyB,K,IAKzBC,GAAZ,SAAYA,GACVA,EAAA,iBACAA,EAAA,kBACD,EAHD,CAAYA,MAAmB,K,IAKnBC,GAAZ,SAAYA,GACVA,EAAA,yBACAA,EAAA,sBACD,EAHD,CAAYA,MAAe,K,IAKfC,GAAZ,SAAYA,GACVA,EAAA,uBACAA,EAAA,qBACAA,EAAA,kBACD,EAJD,CAAYA,MAAyB,K,IAMzBC,GAAZ,SAAYA,GACVA,EAAA,qBACAA,EAAA,0BACD,EAHD,CAAYA,MAAgB,Y","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,h as t,a,g as s}from"./p-75c4a726.js";import"./p-1170826b.js";import"./p-195ed6d2.js";import"./p-eb9ef3cb.js";import"./p-e2b57681.js";import"./p-f3145212.js";import"./p-dfcf9936.js";import"./p-5145a606.js";import"./p-0b26a8e0.js";import"./p-c7d5971f.js";const r=":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;max-width:100%;box-sizing:border-box;background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}";const o=r;const i=class{constructor(t){e(this,t);this.bordered=false;this.expandable=false}updateExpandable(){this.expandable=this.host.querySelectorAll("z-tr[expandable]").length>0}componentWillLoad(){this.expandableMutationObserver=new MutationObserver((()=>{this.updateExpandable()}));this.expandableMutationObserver.observe(this.host,{childList:true,subtree:true,attributes:true,attributeFilter:["expandable"],attributeOldValue:false})}disconnectedCallback(){var e;(e=this.expandableMutationObserver)===null||e===void 0?void 0:e.disconnect()}render(){return t(a,{key:"a37bf2d018aedf198e11248d9952c062deddc545",expandable:this.expandable},t("div",{key:"a769b79ee55eb5425bb6c72059437f051967c3b3",class:"table",role:"table"},t("slot",{key:"0ba782144cc2f139484954747d530d6f1c606a0d"})))}get host(){return s(this)}};i.style=o;export{i as z_table};
2
- //# sourceMappingURL=p-fd7c7885.entry.js.map