@zanichelli/albe-web-components 18.4.0 → 18.4.2-RC1

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 (533) hide show
  1. package/CHANGELOG.md +3 -8
  2. package/dist/cjs/_commonjsHelpers-68cdf74f.js +7 -0
  3. package/dist/cjs/_commonjsHelpers-68cdf74f.js.map +1 -0
  4. package/dist/cjs/{index-f0b0a7d1.js → index-443b084a.js} +2 -2
  5. package/dist/cjs/{index-f0b0a7d1.js.map → index-443b084a.js.map} +1 -1
  6. package/dist/cjs/{index-4f18c0e2.js → index-be0b8cf5.js} +6 -1
  7. package/dist/cjs/index-be0b8cf5.js.map +1 -0
  8. package/dist/cjs/{index-d1759a5a.js → index-e98b419e.js} +2 -2
  9. package/dist/cjs/{index-d1759a5a.js.map → index-e98b419e.js.map} +1 -1
  10. package/dist/cjs/{index-394da17e.js → index-f67078cb.js} +4 -4
  11. package/dist/cjs/{index-394da17e.js.map → index-f67078cb.js.map} +1 -1
  12. package/dist/cjs/index.cjs.js +2 -2
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/cjs/{utils-a5d151ea.js → utils-4087e353.js} +4 -6
  15. package/dist/cjs/utils-4087e353.js.map +1 -0
  16. package/dist/cjs/{utils-67ea6e35.js → utils-714b7a92.js} +2 -2
  17. package/dist/cjs/{utils-67ea6e35.js.map → utils-714b7a92.js.map} +1 -1
  18. package/dist/cjs/web-components-library.cjs.js +1 -1
  19. package/dist/cjs/z-accordion.cjs.entry.js +1 -1
  20. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  21. package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
  22. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +1 -1
  23. package/dist/cjs/z-app-header_12.cjs.entry.js +6 -6
  24. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  25. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  26. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  27. package/dist/cjs/z-book-card-app.cjs.entry.js +1 -1
  28. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +2 -2
  29. package/dist/cjs/z-book-card.cjs.entry.js +1 -1
  30. package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
  31. package/dist/cjs/z-card.cjs.entry.js +1 -1
  32. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  33. package/dist/cjs/z-chip.cjs.entry.js +1 -1
  34. package/dist/cjs/z-combobox.cjs.entry.js +2 -2
  35. package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
  36. package/dist/cjs/z-date-picker.cjs.entry.js +4 -3
  37. package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -1
  38. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
  39. package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
  40. package/dist/cjs/z-file.cjs.entry.js +1 -1
  41. package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
  42. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  43. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  44. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  45. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  46. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  47. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  48. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  49. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  50. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  51. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  52. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  53. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  54. package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
  55. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
  56. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  57. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  58. package/dist/cjs/z-popover.cjs.entry.js +307 -153
  59. package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
  60. package/dist/cjs/z-range-picker.cjs.entry.js +3 -2
  61. package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -1
  62. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  63. package/dist/cjs/z-select.cjs.entry.js +2 -2
  64. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  65. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  66. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  67. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  68. package/dist/cjs/z-table.cjs.entry.js +5 -5
  69. package/dist/cjs/z-td.cjs.entry.js +2 -2
  70. package/dist/cjs/z-th.cjs.entry.js +2 -2
  71. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  72. package/dist/cjs/z-toast-notification.cjs.entry.js +1387 -11
  73. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
  74. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  75. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  76. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  77. package/dist/cjs/z-tr.cjs.entry.js +5 -5
  78. package/dist/cjs/z-tree-list.cjs.entry.js +1 -1
  79. package/dist/collection/beans/index.js +5 -0
  80. package/dist/collection/beans/index.js.map +1 -1
  81. package/dist/collection/components/z-button/index.js +7 -7
  82. package/dist/collection/components/z-button/index.js.map +1 -1
  83. package/dist/collection/components/z-navigation-tabs/styles.css +1 -1
  84. package/dist/collection/components/z-popover/index.js +316 -156
  85. package/dist/collection/components/z-popover/index.js.map +1 -1
  86. package/dist/collection/components/z-popover/index.stories.js +124 -41
  87. package/dist/collection/components/z-popover/index.stories.js.map +1 -1
  88. package/dist/collection/components/z-popover/styles.css +16 -10
  89. package/dist/collection/components/z-searchbar/index.js +1 -1
  90. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  91. package/dist/collection/components/z-stepper/index.js +1 -1
  92. package/dist/collection/components/z-stepper-item/index.js +1 -1
  93. package/dist/collection/components/z-toast-notification/index.js +28 -10
  94. package/dist/collection/components/z-toast-notification/index.js.map +1 -1
  95. package/dist/collection/components/z-toast-notification/index.stories.js +6 -2
  96. package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -1
  97. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  98. package/dist/collection/components/z-toggle-button/index.js +2 -2
  99. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  100. package/dist/collection/components/z-tooltip/index.js +1 -1
  101. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  102. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  103. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  104. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  105. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  106. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  107. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  108. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  109. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  110. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  111. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  112. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  113. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  114. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  115. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  116. package/dist/components/_commonjsHelpers.js +5 -0
  117. package/dist/components/_commonjsHelpers.js.map +1 -0
  118. package/dist/components/index17.js +1 -1
  119. package/dist/components/index18.js +1 -1
  120. package/dist/components/index19.js +1 -1
  121. package/dist/components/index2.js +5 -0
  122. package/dist/components/index2.js.map +1 -1
  123. package/dist/components/index20.js +1 -1
  124. package/dist/components/index21.js +1 -1
  125. package/dist/components/index23.js +308 -154
  126. package/dist/components/index23.js.map +1 -1
  127. package/dist/components/index24.js +1 -1
  128. package/dist/components/index3.js +1 -1
  129. package/dist/components/index4.js +4 -4
  130. package/dist/components/index4.js.map +1 -1
  131. package/dist/components/utils2.js +2 -3
  132. package/dist/components/utils2.js.map +1 -1
  133. package/dist/components/z-date-picker.js +2 -1
  134. package/dist/components/z-date-picker.js.map +1 -1
  135. package/dist/components/z-myz-card-alert.js +1 -1
  136. package/dist/components/z-myz-card-dictionary.js +1 -1
  137. package/dist/components/z-myz-card-footer-sections.js +1 -1
  138. package/dist/components/z-myz-card-footer.js +1 -1
  139. package/dist/components/z-myz-card-icon.js +1 -1
  140. package/dist/components/z-myz-card-info.js +1 -1
  141. package/dist/components/z-myz-card-list.js +1 -1
  142. package/dist/components/z-myz-list.js +1 -1
  143. package/dist/components/z-navigation-tabs.js +1 -1
  144. package/dist/components/z-navigation-tabs.js.map +1 -1
  145. package/dist/components/z-otp.js +2 -2
  146. package/dist/components/z-skip-to-content.js +1 -1
  147. package/dist/components/z-stepper-item.js +1 -1
  148. package/dist/components/z-stepper.js +1 -1
  149. package/dist/components/z-table.js +1 -0
  150. package/dist/components/z-table.js.map +1 -1
  151. package/dist/components/z-toast-notification-list.js +1 -1
  152. package/dist/components/z-toast-notification.js +1386 -10
  153. package/dist/components/z-toast-notification.js.map +1 -1
  154. package/dist/components/z-toggle-button.js +2 -2
  155. package/dist/components/z-toggle-switch.js +3 -3
  156. package/dist/components/z-tooltip.js +1 -1
  157. package/dist/components/z-tr.js +1 -0
  158. package/dist/components/z-tr.js.map +1 -1
  159. package/dist/esm/_commonjsHelpers-1c8beb5f.js +5 -0
  160. package/dist/esm/_commonjsHelpers-1c8beb5f.js.map +1 -0
  161. package/dist/esm/{index-fc0913d1.js → index-2a26d10b.js} +2 -2
  162. package/dist/esm/{index-fc0913d1.js.map → index-2a26d10b.js.map} +1 -1
  163. package/dist/esm/{index-2ccbb96f.js → index-406138db.js} +2 -2
  164. package/dist/esm/{index-2ccbb96f.js.map → index-406138db.js.map} +1 -1
  165. package/dist/esm/{index-fe87283d.js → index-9f584e0a.js} +6 -1
  166. package/dist/esm/index-9f584e0a.js.map +1 -0
  167. package/dist/esm/{index-ceebee64.js → index-be3c8aaa.js} +4 -4
  168. package/dist/esm/{index-ceebee64.js.map → index-be3c8aaa.js.map} +1 -1
  169. package/dist/esm/index.js +2 -2
  170. package/dist/esm/loader.js +1 -1
  171. package/dist/esm/{utils-c7062cf7.js → utils-6e83ba99.js} +2 -2
  172. package/dist/esm/{utils-c7062cf7.js.map → utils-6e83ba99.js.map} +1 -1
  173. package/dist/esm/{utils-9b99e7a0.js → utils-fa0dd1c1.js} +4 -5
  174. package/dist/esm/utils-fa0dd1c1.js.map +1 -0
  175. package/dist/esm/web-components-library.js +1 -1
  176. package/dist/esm/z-accordion.entry.js +1 -1
  177. package/dist/esm/z-alert.entry.js +1 -1
  178. package/dist/esm/z-anchor-navigation.entry.js +1 -1
  179. package/dist/esm/z-app-header-deprecated.entry.js +1 -1
  180. package/dist/esm/z-app-header_12.entry.js +6 -6
  181. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  182. package/dist/esm/z-aria-alert.entry.js +1 -1
  183. package/dist/esm/z-avatar.entry.js +1 -1
  184. package/dist/esm/z-book-card-app.entry.js +1 -1
  185. package/dist/esm/z-book-card-deprecated.entry.js +2 -2
  186. package/dist/esm/z-book-card.entry.js +1 -1
  187. package/dist/esm/z-breadcrumb.entry.js +2 -2
  188. package/dist/esm/z-card.entry.js +1 -1
  189. package/dist/esm/z-carousel.entry.js +1 -1
  190. package/dist/esm/z-chip.entry.js +1 -1
  191. package/dist/esm/z-combobox.entry.js +2 -2
  192. package/dist/esm/z-cover-hero.entry.js +1 -1
  193. package/dist/esm/z-date-picker.entry.js +3 -2
  194. package/dist/esm/z-date-picker.entry.js.map +1 -1
  195. package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
  196. package/dist/esm/z-file-upload.entry.js +1 -1
  197. package/dist/esm/z-file.entry.js +1 -1
  198. package/dist/esm/z-info-reveal.entry.js +1 -1
  199. package/dist/esm/z-menu-section.entry.js +1 -1
  200. package/dist/esm/z-menu.entry.js +2 -2
  201. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  202. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  203. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  204. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  205. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  206. package/dist/esm/z-myz-card-info.entry.js +3 -3
  207. package/dist/esm/z-myz-card-list.entry.js +1 -1
  208. package/dist/esm/z-myz-card_4.entry.js +5 -5
  209. package/dist/esm/z-myz-list-item.entry.js +3 -3
  210. package/dist/esm/z-myz-list.entry.js +1 -1
  211. package/dist/esm/z-navigation-tabs.entry.js +2 -2
  212. package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
  213. package/dist/esm/z-otp.entry.js +3 -3
  214. package/dist/esm/z-pagination.entry.js +1 -1
  215. package/dist/esm/z-popover.entry.js +308 -154
  216. package/dist/esm/z-popover.entry.js.map +1 -1
  217. package/dist/esm/z-range-picker.entry.js +3 -2
  218. package/dist/esm/z-range-picker.entry.js.map +1 -1
  219. package/dist/esm/z-section-title.entry.js +1 -1
  220. package/dist/esm/z-select.entry.js +2 -2
  221. package/dist/esm/z-skip-to-content.entry.js +3 -3
  222. package/dist/esm/z-slideshow.entry.js +2 -2
  223. package/dist/esm/z-stepper-item.entry.js +1 -1
  224. package/dist/esm/z-stepper.entry.js +1 -1
  225. package/dist/esm/z-table.entry.js +5 -5
  226. package/dist/esm/z-td.entry.js +2 -2
  227. package/dist/esm/z-th.entry.js +2 -2
  228. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  229. package/dist/esm/z-toast-notification.entry.js +1387 -11
  230. package/dist/esm/z-toast-notification.entry.js.map +1 -1
  231. package/dist/esm/z-toggle-button.entry.js +2 -2
  232. package/dist/esm/z-toggle-switch.entry.js +5 -5
  233. package/dist/esm/z-tooltip.entry.js +2 -2
  234. package/dist/esm/z-tr.entry.js +5 -5
  235. package/dist/esm/z-tree-list.entry.js +1 -1
  236. package/dist/types/beans/index.d.ts +5 -0
  237. package/dist/types/components/z-button/index.d.ts +2 -2
  238. package/dist/types/components/z-popover/index.d.ts +50 -4
  239. package/dist/types/components/z-popover/index.stories.d.ts +26 -6
  240. package/dist/types/components/z-toast-notification/index.stories.d.ts +6 -2
  241. package/dist/types/components.d.ts +27 -7
  242. package/dist/web-components-library/index.esm.js +1 -1
  243. package/dist/web-components-library/{p-6b679226.entry.js → p-0084024e.entry.js} +2 -2
  244. package/dist/web-components-library/{p-0b26a8e0.js → p-06b31bf5.js} +2 -2
  245. package/{www/build/p-b705fba3.entry.js → dist/web-components-library/p-0e91e5b6.entry.js} +2 -2
  246. package/dist/web-components-library/{p-f609b40e.entry.js → p-1252814d.entry.js} +2 -2
  247. package/{www/build/p-c6b7c8e4.entry.js → dist/web-components-library/p-12a7af3b.entry.js} +2 -2
  248. package/{www/build/p-dfcf9936.js → dist/web-components-library/p-137c2618.js} +1 -1
  249. package/dist/web-components-library/p-137c2618.js.map +1 -0
  250. package/dist/web-components-library/p-1fb48014.js +2 -0
  251. package/{www/build/p-c08fe3cc.js.map → dist/web-components-library/p-1fb48014.js.map} +1 -1
  252. package/{www/build/p-d60b9285.entry.js → dist/web-components-library/p-245a7cf6.entry.js} +2 -2
  253. package/dist/web-components-library/{p-43aea424.entry.js → p-26ea588a.entry.js} +2 -2
  254. package/dist/web-components-library/{p-611e6579.entry.js → p-2dee7eef.entry.js} +2 -2
  255. package/{www/build/p-f7d7cf44.entry.js → dist/web-components-library/p-353952ef.entry.js} +2 -2
  256. package/dist/web-components-library/{p-2726182b.entry.js → p-359fddfd.entry.js} +2 -2
  257. package/{www/build/p-c7d5971f.js → dist/web-components-library/p-36e71b13.js} +2 -2
  258. package/dist/web-components-library/p-37d31461.entry.js +2 -0
  259. package/dist/web-components-library/{p-dc46730d.entry.js → p-3cc02ff9.entry.js} +2 -2
  260. package/{www/build/p-49f99fa3.entry.js → dist/web-components-library/p-3fe267a1.entry.js} +2 -2
  261. package/dist/web-components-library/p-4573c419.js +2 -0
  262. package/dist/web-components-library/{p-b1561f18.entry.js → p-5123ff9e.entry.js} +2 -2
  263. package/dist/web-components-library/{p-d9592fa6.entry.js → p-512a8f43.entry.js} +2 -2
  264. package/dist/web-components-library/p-5ba4f3cf.entry.js +2 -0
  265. package/dist/web-components-library/p-5ba4f3cf.entry.js.map +1 -0
  266. package/dist/web-components-library/{p-604602a8.entry.js → p-5f58b59c.entry.js} +2 -2
  267. package/{www/build/p-a3860bef.entry.js → dist/web-components-library/p-5f5fd804.entry.js} +2 -2
  268. package/dist/web-components-library/{p-8e7554c4.entry.js → p-610207c1.entry.js} +2 -2
  269. package/dist/web-components-library/p-651250c2.entry.js +2 -0
  270. package/dist/web-components-library/{p-6598aee0.entry.js → p-6ba34f6e.entry.js} +2 -2
  271. package/{www/build/p-d8d7db0e.entry.js → dist/web-components-library/p-7248bddb.entry.js} +2 -2
  272. package/dist/web-components-library/p-725b253d.entry.js +2 -0
  273. package/dist/web-components-library/{p-222d4160.entry.js → p-74301de8.entry.js} +2 -2
  274. package/dist/web-components-library/p-76ee5c89.entry.js +2 -0
  275. package/{www/build/p-93af4721.entry.js → dist/web-components-library/p-77b02b31.entry.js} +2 -2
  276. package/dist/web-components-library/{p-b0f758e7.entry.js → p-7934dde1.entry.js} +2 -2
  277. package/{www/build/p-f73d8a87.entry.js → dist/web-components-library/p-7e554fad.entry.js} +2 -2
  278. package/dist/web-components-library/{p-e2b57681.js → p-84635654.js} +2 -2
  279. package/dist/web-components-library/{p-37a34984.entry.js → p-84fe65a8.entry.js} +2 -2
  280. package/dist/web-components-library/{p-f3145212.js → p-8c322c9a.js} +2 -2
  281. package/dist/web-components-library/{p-1ef90472.entry.js → p-93bea5f7.entry.js} +2 -2
  282. package/dist/web-components-library/{p-96b5a35d.entry.js → p-9c3cea8c.entry.js} +2 -2
  283. package/{www/build/p-506d2cdb.entry.js → dist/web-components-library/p-9dc90af3.entry.js} +2 -2
  284. package/dist/web-components-library/{p-2a657ab1.entry.js → p-9f506297.entry.js} +2 -2
  285. package/dist/web-components-library/{p-8b4ae80a.entry.js → p-a02dc4e3.entry.js} +3 -3
  286. package/{www/build/p-8b4ae80a.entry.js.map → dist/web-components-library/p-a02dc4e3.entry.js.map} +1 -1
  287. package/dist/web-components-library/{p-e4627f9a.entry.js → p-a33b1a31.entry.js} +2 -2
  288. package/dist/web-components-library/{p-a1d45a8b.entry.js → p-a3aef2c0.entry.js} +2 -2
  289. package/dist/web-components-library/p-a4e05ee2.entry.js +2 -0
  290. package/dist/web-components-library/{p-ee7185cf.entry.js → p-b2313d3c.entry.js} +2 -2
  291. package/dist/web-components-library/p-b256f1e9.entry.js +2 -0
  292. package/dist/web-components-library/p-b256f1e9.entry.js.map +1 -0
  293. package/dist/web-components-library/{p-564ddab3.entry.js → p-b6de2c30.entry.js} +2 -2
  294. package/{www/build/p-3d8cdd34.entry.js → dist/web-components-library/p-bba086fb.entry.js} +2 -2
  295. package/dist/web-components-library/{p-e853ccde.entry.js → p-c231ed32.entry.js} +2 -2
  296. package/dist/web-components-library/{p-07da09b0.entry.js → p-c381b01c.entry.js} +2 -2
  297. package/dist/web-components-library/{p-8ec302f8.entry.js → p-c6ae7dfa.entry.js} +2 -2
  298. package/dist/web-components-library/p-cdd36026.entry.js +2 -0
  299. package/dist/web-components-library/p-cdd36026.entry.js.map +1 -0
  300. package/dist/web-components-library/p-d9f9d864.entry.js +8 -0
  301. package/dist/web-components-library/p-d9f9d864.entry.js.map +1 -0
  302. package/{www/build/p-996446e2.entry.js → dist/web-components-library/p-dd021fcb.entry.js} +2 -2
  303. package/dist/web-components-library/{p-430916e9.entry.js → p-e540d235.entry.js} +2 -2
  304. package/dist/web-components-library/{p-c1d89e00.entry.js → p-e5ac7dfc.entry.js} +2 -2
  305. package/{www/build/p-8ca5851b.entry.js → dist/web-components-library/p-e7270ec2.entry.js} +2 -2
  306. package/dist/web-components-library/{p-e8bab6ad.entry.js → p-ee8c03e3.entry.js} +2 -2
  307. package/{www/build/p-6949d27d.entry.js → dist/web-components-library/p-f0dd44c4.entry.js} +2 -2
  308. package/dist/web-components-library/p-f20f1ed3.entry.js +2 -0
  309. package/dist/web-components-library/p-f5d29077.entry.js +2 -0
  310. package/dist/web-components-library/{p-811e9ae0.entry.js.map → p-f5d29077.entry.js.map} +1 -1
  311. package/{www/build/p-b0856b23.entry.js → dist/web-components-library/p-f7461e10.entry.js} +2 -2
  312. package/dist/web-components-library/web-components-library.esm.js +1 -1
  313. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  314. package/package.json +3 -1
  315. package/www/build/index.esm.js +1 -1
  316. package/www/build/{p-6b679226.entry.js → p-0084024e.entry.js} +2 -2
  317. package/www/build/{p-0b26a8e0.js → p-06b31bf5.js} +2 -2
  318. package/{dist/web-components-library/p-b705fba3.entry.js → www/build/p-0e91e5b6.entry.js} +2 -2
  319. package/www/build/{p-f609b40e.entry.js → p-1252814d.entry.js} +2 -2
  320. package/{dist/web-components-library/p-c6b7c8e4.entry.js → www/build/p-12a7af3b.entry.js} +2 -2
  321. package/{dist/web-components-library/p-dfcf9936.js → www/build/p-137c2618.js} +1 -1
  322. package/www/build/p-137c2618.js.map +1 -0
  323. package/www/build/p-1fb48014.js +2 -0
  324. package/{dist/web-components-library/p-c08fe3cc.js.map → www/build/p-1fb48014.js.map} +1 -1
  325. package/{dist/web-components-library/p-d60b9285.entry.js → www/build/p-245a7cf6.entry.js} +2 -2
  326. package/www/build/{p-43aea424.entry.js → p-26ea588a.entry.js} +2 -2
  327. package/www/build/{p-611e6579.entry.js → p-2dee7eef.entry.js} +2 -2
  328. package/{dist/web-components-library/p-f7d7cf44.entry.js → www/build/p-353952ef.entry.js} +2 -2
  329. package/www/build/{p-2726182b.entry.js → p-359fddfd.entry.js} +2 -2
  330. package/{dist/web-components-library/p-c7d5971f.js → www/build/p-36e71b13.js} +2 -2
  331. package/www/build/p-37d31461.entry.js +2 -0
  332. package/www/build/{p-dc46730d.entry.js → p-3cc02ff9.entry.js} +2 -2
  333. package/{dist/web-components-library/p-49f99fa3.entry.js → www/build/p-3fe267a1.entry.js} +2 -2
  334. package/www/build/p-4573c419.js +2 -0
  335. package/www/build/{p-b1561f18.entry.js → p-5123ff9e.entry.js} +2 -2
  336. package/www/build/{p-d9592fa6.entry.js → p-512a8f43.entry.js} +2 -2
  337. package/www/build/p-5ba4f3cf.entry.js +2 -0
  338. package/www/build/p-5ba4f3cf.entry.js.map +1 -0
  339. package/www/build/{p-604602a8.entry.js → p-5f58b59c.entry.js} +2 -2
  340. package/{dist/web-components-library/p-a3860bef.entry.js → www/build/p-5f5fd804.entry.js} +2 -2
  341. package/www/build/{p-8e7554c4.entry.js → p-610207c1.entry.js} +2 -2
  342. package/www/build/p-651250c2.entry.js +2 -0
  343. package/www/build/{p-6598aee0.entry.js → p-6ba34f6e.entry.js} +2 -2
  344. package/{dist/web-components-library/p-d8d7db0e.entry.js → www/build/p-7248bddb.entry.js} +2 -2
  345. package/www/build/p-725b253d.entry.js +2 -0
  346. package/www/build/{p-222d4160.entry.js → p-74301de8.entry.js} +2 -2
  347. package/www/build/p-76ee5c89.entry.js +2 -0
  348. package/{dist/web-components-library/p-93af4721.entry.js → www/build/p-77b02b31.entry.js} +2 -2
  349. package/www/build/{p-b0f758e7.entry.js → p-7934dde1.entry.js} +2 -2
  350. package/{dist/web-components-library/p-f73d8a87.entry.js → www/build/p-7e554fad.entry.js} +2 -2
  351. package/www/build/{p-e2b57681.js → p-84635654.js} +2 -2
  352. package/www/build/{p-37a34984.entry.js → p-84fe65a8.entry.js} +2 -2
  353. package/www/build/{p-f3145212.js → p-8c322c9a.js} +2 -2
  354. package/www/build/{p-1ef90472.entry.js → p-93bea5f7.entry.js} +2 -2
  355. package/www/build/{p-96b5a35d.entry.js → p-9c3cea8c.entry.js} +2 -2
  356. package/{dist/web-components-library/p-506d2cdb.entry.js → www/build/p-9dc90af3.entry.js} +2 -2
  357. package/www/build/{p-2a657ab1.entry.js → p-9f506297.entry.js} +2 -2
  358. package/www/build/{p-8b4ae80a.entry.js → p-a02dc4e3.entry.js} +3 -3
  359. package/{dist/web-components-library/p-8b4ae80a.entry.js.map → www/build/p-a02dc4e3.entry.js.map} +1 -1
  360. package/www/build/{p-e4627f9a.entry.js → p-a33b1a31.entry.js} +2 -2
  361. package/www/build/{p-a1d45a8b.entry.js → p-a3aef2c0.entry.js} +2 -2
  362. package/www/build/p-a4e05ee2.entry.js +2 -0
  363. package/www/build/p-a4e05ee2.entry.js.map +1 -0
  364. package/www/build/{p-ee7185cf.entry.js → p-b2313d3c.entry.js} +2 -2
  365. package/www/build/p-b256f1e9.entry.js +2 -0
  366. package/www/build/p-b256f1e9.entry.js.map +1 -0
  367. package/www/build/{p-564ddab3.entry.js → p-b6de2c30.entry.js} +2 -2
  368. package/www/build/p-baea1326.js +2 -0
  369. package/{dist/web-components-library/p-3d8cdd34.entry.js → www/build/p-bba086fb.entry.js} +2 -2
  370. package/www/build/{p-e853ccde.entry.js → p-c231ed32.entry.js} +2 -2
  371. package/www/build/{p-07da09b0.entry.js → p-c381b01c.entry.js} +2 -2
  372. package/www/build/{p-8ec302f8.entry.js → p-c6ae7dfa.entry.js} +2 -2
  373. package/www/build/p-cdd36026.entry.js +2 -0
  374. package/www/build/p-cdd36026.entry.js.map +1 -0
  375. package/www/build/p-d9f9d864.entry.js +8 -0
  376. package/www/build/p-d9f9d864.entry.js.map +1 -0
  377. package/{dist/web-components-library/p-996446e2.entry.js → www/build/p-dd021fcb.entry.js} +2 -2
  378. package/www/build/{p-430916e9.entry.js → p-e540d235.entry.js} +2 -2
  379. package/www/build/{p-c1d89e00.entry.js → p-e5ac7dfc.entry.js} +2 -2
  380. package/{dist/web-components-library/p-8ca5851b.entry.js → www/build/p-e7270ec2.entry.js} +2 -2
  381. package/www/build/{p-e8bab6ad.entry.js → p-ee8c03e3.entry.js} +2 -2
  382. package/{dist/web-components-library/p-6949d27d.entry.js → www/build/p-f0dd44c4.entry.js} +2 -2
  383. package/www/build/p-f20f1ed3.entry.js +2 -0
  384. package/www/build/p-f20f1ed3.entry.js.map +1 -0
  385. package/www/build/p-f5d29077.entry.js +2 -0
  386. package/www/build/{p-811e9ae0.entry.js.map → p-f5d29077.entry.js.map} +1 -1
  387. package/{dist/web-components-library/p-b0856b23.entry.js → www/build/p-f7461e10.entry.js} +2 -2
  388. package/www/build/web-components-library.esm.js +1 -1
  389. package/www/build/web-components-library.esm.js.map +1 -1
  390. package/www/index.html +1 -1
  391. package/dist/cjs/index-4f18c0e2.js.map +0 -1
  392. package/dist/cjs/utils-a5d151ea.js.map +0 -1
  393. package/dist/esm/index-fe87283d.js.map +0 -1
  394. package/dist/esm/utils-9b99e7a0.js.map +0 -1
  395. package/dist/web-components-library/p-0bd2b21e.entry.js +0 -2
  396. package/dist/web-components-library/p-1dd6dff4.entry.js +0 -7
  397. package/dist/web-components-library/p-1dd6dff4.entry.js.map +0 -1
  398. package/dist/web-components-library/p-43f9569d.entry.js +0 -2
  399. package/dist/web-components-library/p-43f9569d.entry.js.map +0 -1
  400. package/dist/web-components-library/p-550a5e46.entry.js +0 -2
  401. package/dist/web-components-library/p-550a5e46.entry.js.map +0 -1
  402. package/dist/web-components-library/p-811e9ae0.entry.js +0 -2
  403. package/dist/web-components-library/p-83e3b2ff.entry.js +0 -2
  404. package/dist/web-components-library/p-a2217ed8.entry.js +0 -2
  405. package/dist/web-components-library/p-a9d05a92.entry.js +0 -2
  406. package/dist/web-components-library/p-c08fe3cc.js +0 -2
  407. package/dist/web-components-library/p-cf837902.entry.js +0 -2
  408. package/dist/web-components-library/p-d8e88ea8.entry.js +0 -2
  409. package/dist/web-components-library/p-d8e88ea8.entry.js.map +0 -1
  410. package/dist/web-components-library/p-dfcf9936.js.map +0 -1
  411. package/dist/web-components-library/p-fd7c7885.entry.js +0 -2
  412. package/www/build/p-0666df4a.js +0 -2
  413. package/www/build/p-0bd2b21e.entry.js +0 -2
  414. package/www/build/p-1dd6dff4.entry.js +0 -7
  415. package/www/build/p-1dd6dff4.entry.js.map +0 -1
  416. package/www/build/p-43f9569d.entry.js +0 -2
  417. package/www/build/p-43f9569d.entry.js.map +0 -1
  418. package/www/build/p-550a5e46.entry.js +0 -2
  419. package/www/build/p-550a5e46.entry.js.map +0 -1
  420. package/www/build/p-811e9ae0.entry.js +0 -2
  421. package/www/build/p-83e3b2ff.entry.js +0 -2
  422. package/www/build/p-a2217ed8.entry.js +0 -2
  423. package/www/build/p-a9d05a92.entry.js +0 -2
  424. package/www/build/p-c08fe3cc.js +0 -2
  425. package/www/build/p-cf837902.entry.js +0 -2
  426. package/www/build/p-d8e88ea8.entry.js +0 -2
  427. package/www/build/p-d8e88ea8.entry.js.map +0 -1
  428. package/www/build/p-dfcf9936.js.map +0 -1
  429. package/www/build/p-fd7c7885.entry.js +0 -2
  430. /package/dist/web-components-library/{p-6b679226.entry.js.map → p-0084024e.entry.js.map} +0 -0
  431. /package/dist/web-components-library/{p-0b26a8e0.js.map → p-06b31bf5.js.map} +0 -0
  432. /package/dist/web-components-library/{p-b705fba3.entry.js.map → p-0e91e5b6.entry.js.map} +0 -0
  433. /package/dist/web-components-library/{p-f609b40e.entry.js.map → p-1252814d.entry.js.map} +0 -0
  434. /package/dist/web-components-library/{p-c6b7c8e4.entry.js.map → p-12a7af3b.entry.js.map} +0 -0
  435. /package/dist/web-components-library/{p-d60b9285.entry.js.map → p-245a7cf6.entry.js.map} +0 -0
  436. /package/dist/web-components-library/{p-43aea424.entry.js.map → p-26ea588a.entry.js.map} +0 -0
  437. /package/dist/web-components-library/{p-611e6579.entry.js.map → p-2dee7eef.entry.js.map} +0 -0
  438. /package/dist/web-components-library/{p-f7d7cf44.entry.js.map → p-353952ef.entry.js.map} +0 -0
  439. /package/dist/web-components-library/{p-2726182b.entry.js.map → p-359fddfd.entry.js.map} +0 -0
  440. /package/dist/web-components-library/{p-c7d5971f.js.map → p-36e71b13.js.map} +0 -0
  441. /package/dist/web-components-library/{p-fd7c7885.entry.js.map → p-37d31461.entry.js.map} +0 -0
  442. /package/dist/web-components-library/{p-dc46730d.entry.js.map → p-3cc02ff9.entry.js.map} +0 -0
  443. /package/dist/web-components-library/{p-49f99fa3.entry.js.map → p-3fe267a1.entry.js.map} +0 -0
  444. /package/dist/web-components-library/{p-0bd2b21e.entry.js.map → p-4573c419.js.map} +0 -0
  445. /package/dist/web-components-library/{p-b1561f18.entry.js.map → p-5123ff9e.entry.js.map} +0 -0
  446. /package/dist/web-components-library/{p-d9592fa6.entry.js.map → p-512a8f43.entry.js.map} +0 -0
  447. /package/dist/web-components-library/{p-604602a8.entry.js.map → p-5f58b59c.entry.js.map} +0 -0
  448. /package/dist/web-components-library/{p-a3860bef.entry.js.map → p-5f5fd804.entry.js.map} +0 -0
  449. /package/dist/web-components-library/{p-8e7554c4.entry.js.map → p-610207c1.entry.js.map} +0 -0
  450. /package/dist/web-components-library/{p-a2217ed8.entry.js.map → p-651250c2.entry.js.map} +0 -0
  451. /package/dist/web-components-library/{p-6598aee0.entry.js.map → p-6ba34f6e.entry.js.map} +0 -0
  452. /package/dist/web-components-library/{p-d8d7db0e.entry.js.map → p-7248bddb.entry.js.map} +0 -0
  453. /package/dist/web-components-library/{p-83e3b2ff.entry.js.map → p-725b253d.entry.js.map} +0 -0
  454. /package/dist/web-components-library/{p-222d4160.entry.js.map → p-74301de8.entry.js.map} +0 -0
  455. /package/dist/web-components-library/{p-a9d05a92.entry.js.map → p-76ee5c89.entry.js.map} +0 -0
  456. /package/dist/web-components-library/{p-93af4721.entry.js.map → p-77b02b31.entry.js.map} +0 -0
  457. /package/dist/web-components-library/{p-b0f758e7.entry.js.map → p-7934dde1.entry.js.map} +0 -0
  458. /package/dist/web-components-library/{p-f73d8a87.entry.js.map → p-7e554fad.entry.js.map} +0 -0
  459. /package/dist/web-components-library/{p-e2b57681.js.map → p-84635654.js.map} +0 -0
  460. /package/dist/web-components-library/{p-37a34984.entry.js.map → p-84fe65a8.entry.js.map} +0 -0
  461. /package/dist/web-components-library/{p-f3145212.js.map → p-8c322c9a.js.map} +0 -0
  462. /package/dist/web-components-library/{p-1ef90472.entry.js.map → p-93bea5f7.entry.js.map} +0 -0
  463. /package/dist/web-components-library/{p-96b5a35d.entry.js.map → p-9c3cea8c.entry.js.map} +0 -0
  464. /package/dist/web-components-library/{p-506d2cdb.entry.js.map → p-9dc90af3.entry.js.map} +0 -0
  465. /package/dist/web-components-library/{p-2a657ab1.entry.js.map → p-9f506297.entry.js.map} +0 -0
  466. /package/dist/web-components-library/{p-e4627f9a.entry.js.map → p-a33b1a31.entry.js.map} +0 -0
  467. /package/dist/web-components-library/{p-a1d45a8b.entry.js.map → p-a3aef2c0.entry.js.map} +0 -0
  468. /package/dist/web-components-library/{p-cf837902.entry.js.map → p-a4e05ee2.entry.js.map} +0 -0
  469. /package/dist/web-components-library/{p-ee7185cf.entry.js.map → p-b2313d3c.entry.js.map} +0 -0
  470. /package/dist/web-components-library/{p-564ddab3.entry.js.map → p-b6de2c30.entry.js.map} +0 -0
  471. /package/dist/web-components-library/{p-3d8cdd34.entry.js.map → p-bba086fb.entry.js.map} +0 -0
  472. /package/dist/web-components-library/{p-e853ccde.entry.js.map → p-c231ed32.entry.js.map} +0 -0
  473. /package/dist/web-components-library/{p-07da09b0.entry.js.map → p-c381b01c.entry.js.map} +0 -0
  474. /package/dist/web-components-library/{p-8ec302f8.entry.js.map → p-c6ae7dfa.entry.js.map} +0 -0
  475. /package/dist/web-components-library/{p-996446e2.entry.js.map → p-dd021fcb.entry.js.map} +0 -0
  476. /package/dist/web-components-library/{p-430916e9.entry.js.map → p-e540d235.entry.js.map} +0 -0
  477. /package/dist/web-components-library/{p-c1d89e00.entry.js.map → p-e5ac7dfc.entry.js.map} +0 -0
  478. /package/dist/web-components-library/{p-8ca5851b.entry.js.map → p-e7270ec2.entry.js.map} +0 -0
  479. /package/dist/web-components-library/{p-e8bab6ad.entry.js.map → p-ee8c03e3.entry.js.map} +0 -0
  480. /package/dist/web-components-library/{p-6949d27d.entry.js.map → p-f0dd44c4.entry.js.map} +0 -0
  481. /package/{www/build/p-0bd2b21e.entry.js.map → dist/web-components-library/p-f20f1ed3.entry.js.map} +0 -0
  482. /package/dist/web-components-library/{p-b0856b23.entry.js.map → p-f7461e10.entry.js.map} +0 -0
  483. /package/www/build/{p-6b679226.entry.js.map → p-0084024e.entry.js.map} +0 -0
  484. /package/www/build/{p-0b26a8e0.js.map → p-06b31bf5.js.map} +0 -0
  485. /package/www/build/{p-b705fba3.entry.js.map → p-0e91e5b6.entry.js.map} +0 -0
  486. /package/www/build/{p-f609b40e.entry.js.map → p-1252814d.entry.js.map} +0 -0
  487. /package/www/build/{p-c6b7c8e4.entry.js.map → p-12a7af3b.entry.js.map} +0 -0
  488. /package/www/build/{p-d60b9285.entry.js.map → p-245a7cf6.entry.js.map} +0 -0
  489. /package/www/build/{p-43aea424.entry.js.map → p-26ea588a.entry.js.map} +0 -0
  490. /package/www/build/{p-611e6579.entry.js.map → p-2dee7eef.entry.js.map} +0 -0
  491. /package/www/build/{p-f7d7cf44.entry.js.map → p-353952ef.entry.js.map} +0 -0
  492. /package/www/build/{p-2726182b.entry.js.map → p-359fddfd.entry.js.map} +0 -0
  493. /package/www/build/{p-c7d5971f.js.map → p-36e71b13.js.map} +0 -0
  494. /package/www/build/{p-fd7c7885.entry.js.map → p-37d31461.entry.js.map} +0 -0
  495. /package/www/build/{p-dc46730d.entry.js.map → p-3cc02ff9.entry.js.map} +0 -0
  496. /package/www/build/{p-49f99fa3.entry.js.map → p-3fe267a1.entry.js.map} +0 -0
  497. /package/www/build/{p-83e3b2ff.entry.js.map → p-4573c419.js.map} +0 -0
  498. /package/www/build/{p-b1561f18.entry.js.map → p-5123ff9e.entry.js.map} +0 -0
  499. /package/www/build/{p-d9592fa6.entry.js.map → p-512a8f43.entry.js.map} +0 -0
  500. /package/www/build/{p-604602a8.entry.js.map → p-5f58b59c.entry.js.map} +0 -0
  501. /package/www/build/{p-a3860bef.entry.js.map → p-5f5fd804.entry.js.map} +0 -0
  502. /package/www/build/{p-8e7554c4.entry.js.map → p-610207c1.entry.js.map} +0 -0
  503. /package/www/build/{p-a2217ed8.entry.js.map → p-651250c2.entry.js.map} +0 -0
  504. /package/www/build/{p-6598aee0.entry.js.map → p-6ba34f6e.entry.js.map} +0 -0
  505. /package/www/build/{p-d8d7db0e.entry.js.map → p-7248bddb.entry.js.map} +0 -0
  506. /package/www/build/{p-cf837902.entry.js.map → p-725b253d.entry.js.map} +0 -0
  507. /package/www/build/{p-222d4160.entry.js.map → p-74301de8.entry.js.map} +0 -0
  508. /package/www/build/{p-a9d05a92.entry.js.map → p-76ee5c89.entry.js.map} +0 -0
  509. /package/www/build/{p-93af4721.entry.js.map → p-77b02b31.entry.js.map} +0 -0
  510. /package/www/build/{p-b0f758e7.entry.js.map → p-7934dde1.entry.js.map} +0 -0
  511. /package/www/build/{p-f73d8a87.entry.js.map → p-7e554fad.entry.js.map} +0 -0
  512. /package/www/build/{p-e2b57681.js.map → p-84635654.js.map} +0 -0
  513. /package/www/build/{p-37a34984.entry.js.map → p-84fe65a8.entry.js.map} +0 -0
  514. /package/www/build/{p-f3145212.js.map → p-8c322c9a.js.map} +0 -0
  515. /package/www/build/{p-1ef90472.entry.js.map → p-93bea5f7.entry.js.map} +0 -0
  516. /package/www/build/{p-96b5a35d.entry.js.map → p-9c3cea8c.entry.js.map} +0 -0
  517. /package/www/build/{p-506d2cdb.entry.js.map → p-9dc90af3.entry.js.map} +0 -0
  518. /package/www/build/{p-2a657ab1.entry.js.map → p-9f506297.entry.js.map} +0 -0
  519. /package/www/build/{p-e4627f9a.entry.js.map → p-a33b1a31.entry.js.map} +0 -0
  520. /package/www/build/{p-a1d45a8b.entry.js.map → p-a3aef2c0.entry.js.map} +0 -0
  521. /package/www/build/{p-ee7185cf.entry.js.map → p-b2313d3c.entry.js.map} +0 -0
  522. /package/www/build/{p-564ddab3.entry.js.map → p-b6de2c30.entry.js.map} +0 -0
  523. /package/www/build/{p-3d8cdd34.entry.js.map → p-bba086fb.entry.js.map} +0 -0
  524. /package/www/build/{p-e853ccde.entry.js.map → p-c231ed32.entry.js.map} +0 -0
  525. /package/www/build/{p-07da09b0.entry.js.map → p-c381b01c.entry.js.map} +0 -0
  526. /package/www/build/{p-8ec302f8.entry.js.map → p-c6ae7dfa.entry.js.map} +0 -0
  527. /package/www/build/{p-996446e2.entry.js.map → p-dd021fcb.entry.js.map} +0 -0
  528. /package/www/build/{p-430916e9.entry.js.map → p-e540d235.entry.js.map} +0 -0
  529. /package/www/build/{p-c1d89e00.entry.js.map → p-e5ac7dfc.entry.js.map} +0 -0
  530. /package/www/build/{p-8ca5851b.entry.js.map → p-e7270ec2.entry.js.map} +0 -0
  531. /package/www/build/{p-e8bab6ad.entry.js.map → p-ee8c03e3.entry.js.map} +0 -0
  532. /package/www/build/{p-6949d27d.entry.js.map → p-f0dd44c4.entry.js.map} +0 -0
  533. /package/www/build/{p-b0856b23.entry.js.map → p-f7461e10.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as t,c as e,h as a}from"./p-75c4a726.js";import{B as i,d as s}from"./p-dfcf9936.js";const o=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host z-myz-card{--card-overflow:visible}:host>div{position:relative;width:100%;height:522px;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out,\n -webkit-transform 0.5s ease-out}:host>div .content{position:relative;z-index:2;width:100%;height:522px;transform-style:preserve-3d;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out,\n -webkit-transform 0.5s ease-out}:host>div .content.flipped{margin-top:-2px;transform:rotateY(180deg)}:host>div .front,:host>div .back{position:absolute;top:0;left:0;width:100%;height:100%;backface-visibility:hidden}:host>div .front{z-index:2;top:0;left:0;transform:rotateY(0deg)}:host>div .front z-button{position:absolute;z-index:3;top:calc(var(--space-unit) * 0.5);left:calc(-1 * var(--space-unit))}:host>div .back{z-index:1;top:0;left:0;display:flex;justify-content:center;padding:0 var(--space-unit);margin-left:calc(-1 * var(--space-unit));transform:rotateY(180deg)}.hide-info{display:none}";const d=o;const n=class{constructor(a){t(this,a);this.cardFlipped=e(this,"cardFlipped",7);this.name=undefined;this.cover=undefined;this.disabled=false;this.flipped=false;this.flipbuttonlabel="INFO";this.hideinfobtn=false}handleFlipCard(t){this.flipCard(t.detail)}flipCard(t=true){this.flipped=t;this.cardFlipped.emit(t)}render(){return a("div",{key:"ad61aba485ff07b6887c21e377d6290db3aef346"},a("z-myz-card",{key:"2e56928077dd16aab521328b3e97e1ec43ef790e"},a("z-myz-card-header",{key:"51a8db93d985cd985ddf474b77bfa6a808e7b234",titolo:this.name}),a("div",{key:"c7d27041211bdbe02ff47cc0b2ae044a60cf7b25",class:`content ${this.flipped?"flipped":""}`},a("div",{key:"574d6a0c6e682a588ec6d008a4b5d8fa68d145c8",class:"front"},a("z-myz-card-body",{key:"5bbcf71f86ce10d1fee29f73a4468bccfd6f1f71"},a("z-myz-card-cover",{key:"3f2de502f052593fc9ab2914c23ab33ff34c9f57",slot:"cover",titolo:this.name,img:this.cover,faded:this.disabled})),a("z-button",{key:"7e34990fb7d304761e160e8536c141851d0db661",class:{"hide-info":this.hideinfobtn},variant:i.SECONDARY,icon:"informationsource",size:s.X_SMALL,onClick:()=>this.flipCard(true),disabled:this.flipped},this.flipbuttonlabel)),a("div",{key:"50707395dd1da4630b039d855199269038e26b80",class:"back"},a("slot",{key:"706088d854a9bb10a8f8a3fb9ef5852e869dd51a",name:"info"}))),a("slot",{key:"3917bc8881f8b0d2c038fb5c61107c2ca7fd27c3"})))}};n.style=d;export{n as z_myz_card_dictionary};
2
- //# sourceMappingURL=p-d60b9285.entry.js.map
1
+ import{r as t,c as e,h as a}from"./p-75c4a726.js";import{B as i,d as s}from"./p-137c2618.js";const o=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host z-myz-card{--card-overflow:visible}:host>div{position:relative;width:100%;height:522px;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out,\n -webkit-transform 0.5s ease-out}:host>div .content{position:relative;z-index:2;width:100%;height:522px;transform-style:preserve-3d;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out,\n -webkit-transform 0.5s ease-out}:host>div .content.flipped{margin-top:-2px;transform:rotateY(180deg)}:host>div .front,:host>div .back{position:absolute;top:0;left:0;width:100%;height:100%;backface-visibility:hidden}:host>div .front{z-index:2;top:0;left:0;transform:rotateY(0deg)}:host>div .front z-button{position:absolute;z-index:3;top:calc(var(--space-unit) * 0.5);left:calc(-1 * var(--space-unit))}:host>div .back{z-index:1;top:0;left:0;display:flex;justify-content:center;padding:0 var(--space-unit);margin-left:calc(-1 * var(--space-unit));transform:rotateY(180deg)}.hide-info{display:none}";const d=o;const n=class{constructor(a){t(this,a);this.cardFlipped=e(this,"cardFlipped",7);this.name=undefined;this.cover=undefined;this.disabled=false;this.flipped=false;this.flipbuttonlabel="INFO";this.hideinfobtn=false}handleFlipCard(t){this.flipCard(t.detail)}flipCard(t=true){this.flipped=t;this.cardFlipped.emit(t)}render(){return a("div",{key:"c9c9e8b19a2bea3a3a3d3e9068a861082807cca1"},a("z-myz-card",{key:"d896b291a04ba600f7b0d5b1e9bbfcef832ba5cd"},a("z-myz-card-header",{key:"f11c54362d6576667ae32e65009edd814bb0c1be",titolo:this.name}),a("div",{key:"2f3f3a315179a8c731dff427fdbbd2c24fa0b242",class:`content ${this.flipped?"flipped":""}`},a("div",{key:"4d07a2c08ba1231074a74582895f2bcd07809ed5",class:"front"},a("z-myz-card-body",{key:"37deb0becefe8daf4b85857160e4cbdd66efb2f0"},a("z-myz-card-cover",{key:"4f08439081886f3e11c684b9b036cb1cb75f6c14",slot:"cover",titolo:this.name,img:this.cover,faded:this.disabled})),a("z-button",{key:"43b0d914a31252f6cdfaedf554754d2d15355945",class:{"hide-info":this.hideinfobtn},variant:i.SECONDARY,icon:"informationsource",size:s.X_SMALL,onClick:()=>this.flipCard(true),disabled:this.flipped},this.flipbuttonlabel)),a("div",{key:"527ba7fa39fcd696a9dd365c098f9a27b9cafcab",class:"back"},a("slot",{key:"0e9b3353d957cea825fa60efb975657121e2616f",name:"info"}))),a("slot",{key:"04a8056434f039fc33b43d0b529138e8be00f4dd"})))}};n.style=d;export{n as z_myz_card_dictionary};
2
+ //# sourceMappingURL=p-245a7cf6.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,c as t,h as s}from"./p-75c4a726.js";import{d as a}from"./p-f3145212.js";import"./p-dfcf9936.js";import"./p-5145a606.js";const e=":host li{all:unset;all:reset;width:100%;line-height:14px;list-style-type:none}:host li>span{display:flex;padding:calc(var(--space-unit) * 2) 0;color:var(--color-default-text);fill:var(--color-default-icon);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-rg);letter-spacing:0.23px;line-height:14px}:host(.small) li>span{padding:calc(var(--space-unit) * 1.5) 0;font-size:var(--font-size-2)}:host(.x-small) li>span{padding:var(--space-unit) 0;font-size:var(--font-size-2)}:host(.small) li>span>z-icon,:host(.x-small) li>span>z-icon{--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:calc(var(--space-unit) * 0.5);padding:0}:host li>span.border{border-bottom:2px solid var(--color-surface03)}:host li span:hover,a:hover{color:var(--color-primary01);fill:var(--color-primary01)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-repeat:no-repeat;background-size:contain;color:var(--color-primary01);fill:var(--color-primary01)}";const n=e;const o=class{emitZListItemLinkClick(i,t){this.zListItemLinkClick.emit({e:i,linkId:t})}emitZListItemClick(i,t){this.zListItemClick.emit({e:i,listitemid:t})}constructor(s){i(this,s);this.zListItemLinkClick=t(this,"zListItemLinkClick",7);this.zListItemClick=t(this,"zListItemClick",7);this.text=undefined;this.link=undefined;this.linktarget="_self";this.icon=undefined;this.listitemid=undefined;this.action=undefined;this.underlined=true;this.emitZListItemLinkClick=this.emitZListItemLinkClick.bind(this);this.emitZListItemClick=this.emitZListItemClick.bind(this)}render(){const i=this.listitemid?`link_${this.listitemid}`:"";return s("li",{key:"61b1d8587c4425412ab0889c57c5240ed60d9b28",role:"button",id:this.listitemid,"data-action":this.action,onClick:i=>this.emitZListItemClick(i,this.listitemid),onKeyPress:i=>a(i,this.emitZListItemClick,this.listitemid)},s("span",{key:"6653e6e32ab2c26df2578ce7a1b0597a4dfa254f",class:this.underlined&&"border"},this.icon&&s("z-icon",{key:"ee5a694bfac0d94230f7c48d12417ed3b62cc35b",name:this.icon}),this.link?s("a",{href:this.link?this.link:null,target:this.linktarget,id:i,onClick:t=>this.emitZListItemLinkClick(t,i),onKeyPress:t=>a(t,this.emitZListItemLinkClick,i),role:this.link?"link":"button",tabindex:"0"},this.text):s("span",{innerHTML:this.text}),s("slot",{key:"858a57f9c493e73f3a93877830defb0e32a86acc"})))}};o.style=n;export{o as z_myz_list_item};
2
- //# sourceMappingURL=p-43aea424.entry.js.map
1
+ import{r as i,c as t,h as s}from"./p-75c4a726.js";import{d as a}from"./p-8c322c9a.js";import"./p-137c2618.js";import"./p-5145a606.js";const e=":host li{all:unset;all:reset;width:100%;line-height:14px;list-style-type:none}:host li>span{display:flex;padding:calc(var(--space-unit) * 2) 0;color:var(--color-default-text);fill:var(--color-default-icon);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-rg);letter-spacing:0.23px;line-height:14px}:host(.small) li>span{padding:calc(var(--space-unit) * 1.5) 0;font-size:var(--font-size-2)}:host(.x-small) li>span{padding:var(--space-unit) 0;font-size:var(--font-size-2)}:host(.small) li>span>z-icon,:host(.x-small) li>span>z-icon{--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:calc(var(--space-unit) * 0.5);padding:0}:host li>span.border{border-bottom:2px solid var(--color-surface03)}:host li span:hover,a:hover{color:var(--color-primary01);fill:var(--color-primary01)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-repeat:no-repeat;background-size:contain;color:var(--color-primary01);fill:var(--color-primary01)}";const n=e;const o=class{emitZListItemLinkClick(i,t){this.zListItemLinkClick.emit({e:i,linkId:t})}emitZListItemClick(i,t){this.zListItemClick.emit({e:i,listitemid:t})}constructor(s){i(this,s);this.zListItemLinkClick=t(this,"zListItemLinkClick",7);this.zListItemClick=t(this,"zListItemClick",7);this.text=undefined;this.link=undefined;this.linktarget="_self";this.icon=undefined;this.listitemid=undefined;this.action=undefined;this.underlined=true;this.emitZListItemLinkClick=this.emitZListItemLinkClick.bind(this);this.emitZListItemClick=this.emitZListItemClick.bind(this)}render(){const i=this.listitemid?`link_${this.listitemid}`:"";return s("li",{key:"5ee57123059bf6e319ad93624c91bd8830b4af13",role:"button",id:this.listitemid,"data-action":this.action,onClick:i=>this.emitZListItemClick(i,this.listitemid),onKeyPress:i=>a(i,this.emitZListItemClick,this.listitemid)},s("span",{key:"06929f92ad299cefc2267071ee700da0dfce8eb3",class:this.underlined&&"border"},this.icon&&s("z-icon",{key:"329c6af79758b78933046f09980676435cb41fe6",name:this.icon}),this.link?s("a",{href:this.link?this.link:null,target:this.linktarget,id:i,onClick:t=>this.emitZListItemLinkClick(t,i),onKeyPress:t=>a(t,this.emitZListItemLinkClick,i),role:this.link?"link":"button",tabindex:"0"},this.text):s("span",{innerHTML:this.text}),s("slot",{key:"2a522809bfe3a779a890a2393e3d3fa9a00a354e"})))}};o.style=n;export{o as z_myz_list_item};
2
+ //# sourceMappingURL=p-26ea588a.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as e,a as s,g as o}from"./p-75c4a726.js";import{g as n}from"./p-dfcf9936.js";import{a}from"./p-f3145212.js";import"./p-5145a606.js";const r=':host,::slotted(*),*{box-sizing:border-box;outline:none}:host{position:relative;display:inline-flex;height:fit-content;flex-direction:column}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{position:relative;display:flex;width:100%;align-items:center;padding:0;border:0;border-bottom:var(--border-size-large) solid transparent;margin:0;background:transparent;border-radius:0;color:inherit;text-align:left}button.menu-label{cursor:pointer}.menu-label:focus-visible,div.menu-label:focus-within{box-shadow:var(--shadow-focus-primary)}:host(:is([active],[open])) .menu-label ::slotted(*),.menu-label:focus-visible ::slotted(*),div.menu-label:focus-within ::slotted(*){color:var(--color-primary01);font-weight:var(--font-bd)}:host([vertical-context]) .menu-label{padding:var(--space-unit) 0;border-width:var(--border-size-small);border-color:var(--color-surface03)}:host(:is([active],[open])) .menu-label,.menu-label:hover,.menu-label:focus-visible,div.menu-label:focus-within{border-color:var(--color-primary01)}:host([vertical-context]:is([active],[open])) .menu-label::after,:host([vertical-context]) .menu-label:hover::after,:host([vertical-context]) .menu-label:focus-visible::after,:host([vertical-context]) div.menu-label:focus-within::after{position:absolute;bottom:calc(var(--border-size-small) * -1);left:0;width:100%;height:var(--border-size-large);background-color:var(--color-primary01);content:""}:host([vertical-context]) .menu-label ::slotted(*){padding:0}.menu-label ::slotted(*){display:inline-flex;width:100%;min-width:fit-content;padding-bottom:2px;margin:0;appearance:none;color:var(--z-menu-label-color, var(--color-default-text));font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:inherit;line-height:1.5;white-space:nowrap}.menu-label z-icon{margin-left:calc(var(--space-unit) * 1.5);fill:var(--color-default-icon)}::slotted([data-text]:not([slot]))::after{height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);letter-spacing:normal;pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text]:not([slot]))::after{display:none}}::slotted([data-text]:not([slot])){display:inline-flex;flex-direction:column}.content{background:var(--color-surface01)}:host(:not([open])) .content{display:none}:host([floating]:not([vertical-context])) .content{position:absolute;top:100%;left:0;width:375px;min-width:100%;max-width:100vw;padding:0 calc(var(--space-unit) * 2);box-shadow:var(--shadow-2)}:host(:not([floating])) .content{width:100%}.header{display:flex;align-items:center;padding:var(--space-unit) 0 calc(var(--space-unit) * 2)}.header ::slotted(img[slot="header"]){width:calc(var(--space-unit) * 11.25);height:auto;object-fit:contain}.header ::slotted([slot="header"]:not(:first-child)){margin:auto 0;margin-left:calc(var(--space-unit) * 2.5);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5}.items{display:flex;flex-direction:column;align-items:flex-start;background:inherit}.items>::slotted([slot="item"]){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.5}.items>::slotted([slot="item"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot="item"]:not(z-menu-section)){padding:var(--space-unit) 0;border-bottom:var(--border-size-small) solid var(--color-surface03)}:host(:not([vertical-context])) .items>::slotted([slot="item"]:last-child){border-bottom:0}.items>::slotted([slot="item"]:hover),.items>::slotted([slot="item"]:focus:focus-visible),.items>::slotted([slot="item"]:active),.items>::slotted([slot="item"][active]),.items>::slotted([slot="item"][data-active]){border-color:var(--color-primary01);font-weight:var(--font-bd)}';const h=r;const l=t=>(t===null||t===void 0?void 0:t.tagName)==="Z-MENU-SECTION";const c=class{get focusableItem(){return this.items.find((t=>l(t)?t.htmlTabindex===0:t.tabIndex===0))}toggle(){if(!this.hasContent){return}this.open=!this.open}onLabelSlotChange(t){const i=t.target.assignedElements()[0];i.dataset.text=i===null||i===void 0?void 0:i.textContent;this.setLabelA11yAttrs()}reflow(t=false){if(!this.floating){return}if(this.content&&this.hasContent){const{style:t}=this.content;const{left:i}=this.host.getBoundingClientRect();const e=getComputedStyle(this.content).width;const s=e?parseFloat(e.replace("px","")):375;const o=30;t.left=`${Math.min(window.innerWidth-i-s-o,0)}px`}if(t){this.raf=requestAnimationFrame(this.reflow.bind(this,t))}}checkContent(){this.hasHeader=!!this.host.querySelectorAll("[slot=header]").length;this.hasContent=!!this.host.querySelectorAll("[slot=item]").length||this.hasHeader}setItemTabindex(t,i){if(l(t)){t.htmlTabindex=i}else{t.tabIndex=i}}setItemsA11yAttrs(){this.items.forEach(((t,i)=>{const e=i===0?0:-1;this.setItemTabindex(t,e);if(!l(t)){t.setAttribute("role","menuitem")}}))}onItemsChange(){this.checkContent();this.items=Array.from(this.host.children).filter((({slot:t})=>t==="item"));this.setItemsA11yAttrs();this.items.forEach((t=>{if(!l(t)){t.dataset.text=t.textContent}}))}moveFocus(t,i){if(l(t)){t.setFocus()}else{t.tabIndex=0;setTimeout((()=>{t.focus()}),100)}if(!i){return}this.setItemTabindex(i,-1)}onLabelClick(){this.toggle();this.setFocus()}onLabelKeydown(t){if(t.key===n.ENTER||t.key===n.SPACE){t.preventDefault();t.stopPropagation();this.toggle();if(this.open){this.moveFocus(this.items[0])}return}if(!this.verticalContext){return}if(t.key===n.ARROW_RIGHT&&!this.open){t.preventDefault();t.stopPropagation();this.open=true;this.moveFocus(this.items[0])}}async setFocus(){this.htmlTabindex=0;const t=this.hasContent?this.labelButton:this.host.firstElementChild;t.focus()}async focusLastItem(){const t=this.items[this.items.length-1];if(l(t)&&t.open){t.focusLastItem();return}this.moveFocus(t)}onOpenChanged(){if(!this.open){cancelAnimationFrame(this.raf);this.closed.emit();this.items.forEach((t=>{if(l(t)&&t.open){t.open=false}}));return}this.setItemsA11yAttrs();this.opened.emit();if(this.floating){this.reflow(true)}}setLabelA11yAttrs(){if(this.hasContent&&this.labelButton){this.labelButton.tabIndex=this.htmlTabindex;return}const t=this.host.firstElementChild;t.role="menuitem";t.tabIndex=this.htmlTabindex}onItemClick(t){const i=this.items.find((i=>a(i,t.target)));if(i){this.items.forEach((t=>{if(t===i){return}if(l(t)){t.htmlTabindex=-1}else{t.tabIndex=-1}}))}}onKeyDown(t){var i;if(!this.hasContent){return}switch(t.key){case n.ESC:if(!this.open){break}t.stopPropagation();t.preventDefault();this.open=false;this.setFocus();break;case n.ARROW_DOWN:{if(document.activeElement===this.host){if(this.verticalContext&&!this.open){break}t.stopPropagation();t.preventDefault();if(!this.open){this.open=true}this.moveFocus(this.items[0]);break}const i=this.items.indexOf(this.focusableItem);if(this.verticalContext&&i===this.items.length-1){this.setItemTabindex(this.items[i],-1);this.htmlTabindex=0;break}t.stopPropagation();t.preventDefault();const e=this.items[i+1];this.moveFocus(e!==null&&e!==void 0?e:this.items[0],this.focusableItem);break}case n.ARROW_UP:{if(document.activeElement===this.host){if(this.verticalContext){break}t.stopPropagation();t.preventDefault();if(!this.open){this.open=true}this.moveFocus(this.items[this.items.length-1],this.focusableItem);break}t.stopPropagation();t.preventDefault();const e=this.items.indexOf(this.focusableItem);if(e===0&&this.verticalContext){this.setItemTabindex(this.focusableItem,-1);this.setFocus();break}const s=(i=this.items[e-1])!==null&&i!==void 0?i:this.items[this.items.length-1];if(l(s)&&s.open){this.setItemTabindex(this.focusableItem,-1);s.focusLastItem();break}this.moveFocus(s,this.focusableItem);break}case n.ARROW_LEFT:if(!this.open||!this.verticalContext){break}t.preventDefault();t.stopPropagation();this.open=false;this.setFocus()}}constructor(e){t(this,e);this.opened=i(this,"opened",7);this.closed=i(this,"closed",7);this.items=[];this.active=undefined;this.floating=true;this.open=false;this.verticalContext=false;this.htmlTabindex=-1;this.hasHeader=undefined;this.hasContent=undefined;this.toggle=this.toggle.bind(this);this.checkContent=this.checkContent.bind(this);this.onLabelSlotChange=this.onLabelSlotChange.bind(this);this.onLabelClick=this.onLabelClick.bind(this);this.onItemsChange=this.onItemsChange.bind(this);this.onLabelKeydown=this.onLabelKeydown.bind(this)}componentWillLoad(){this.setLabelA11yAttrs();this.onItemsChange()}render(){if(!this.hasContent){return e("div",{class:"menu-label"},e("slot",{onSlotchange:this.onLabelSlotChange}))}return e(s,null,e("button",{ref:t=>this.labelButton=t,class:"menu-label","aria-expanded":`${!!this.open}`,"aria-haspopup":`${this.hasContent}`,"aria-label":this.open?"Chiudi menù":"Apri menù",role:"menuitem",tabIndex:this.htmlTabindex,onClick:this.onLabelClick,onKeyDown:this.onLabelKeydown},e("slot",{onSlotchange:this.onLabelSlotChange}),e("z-icon",{name:this.open?"chevron-up":"chevron-down"})),e("div",{class:"content",ref:t=>this.content=t},this.hasHeader&&e("header",{class:"header"},e("slot",{name:"header",onSlotchange:this.checkContent})),e("div",{class:"items",role:"menu"},e("slot",{name:"item",onSlotchange:this.onItemsChange}))))}get host(){return o(this)}static get watchers(){return{open:["onOpenChanged"],htmlTabindex:["setLabelA11yAttrs"]}}};c.style=h;export{c as z_menu};
2
- //# sourceMappingURL=p-611e6579.entry.js.map
1
+ import{r as t,c as i,h as e,a as s,g as o}from"./p-75c4a726.js";import{g as n}from"./p-137c2618.js";import{a}from"./p-8c322c9a.js";import"./p-5145a606.js";const r=':host,::slotted(*),*{box-sizing:border-box;outline:none}:host{position:relative;display:inline-flex;height:fit-content;flex-direction:column}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{position:relative;display:flex;width:100%;align-items:center;padding:0;border:0;border-bottom:var(--border-size-large) solid transparent;margin:0;background:transparent;border-radius:0;color:inherit;text-align:left}button.menu-label{cursor:pointer}.menu-label:focus-visible,div.menu-label:focus-within{box-shadow:var(--shadow-focus-primary)}:host(:is([active],[open])) .menu-label ::slotted(*),.menu-label:focus-visible ::slotted(*),div.menu-label:focus-within ::slotted(*){color:var(--color-primary01);font-weight:var(--font-bd)}:host([vertical-context]) .menu-label{padding:var(--space-unit) 0;border-width:var(--border-size-small);border-color:var(--color-surface03)}:host(:is([active],[open])) .menu-label,.menu-label:hover,.menu-label:focus-visible,div.menu-label:focus-within{border-color:var(--color-primary01)}:host([vertical-context]:is([active],[open])) .menu-label::after,:host([vertical-context]) .menu-label:hover::after,:host([vertical-context]) .menu-label:focus-visible::after,:host([vertical-context]) div.menu-label:focus-within::after{position:absolute;bottom:calc(var(--border-size-small) * -1);left:0;width:100%;height:var(--border-size-large);background-color:var(--color-primary01);content:""}:host([vertical-context]) .menu-label ::slotted(*){padding:0}.menu-label ::slotted(*){display:inline-flex;width:100%;min-width:fit-content;padding-bottom:2px;margin:0;appearance:none;color:var(--z-menu-label-color, var(--color-default-text));font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:inherit;line-height:1.5;white-space:nowrap}.menu-label z-icon{margin-left:calc(var(--space-unit) * 1.5);fill:var(--color-default-icon)}::slotted([data-text]:not([slot]))::after{height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);letter-spacing:normal;pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text]:not([slot]))::after{display:none}}::slotted([data-text]:not([slot])){display:inline-flex;flex-direction:column}.content{background:var(--color-surface01)}:host(:not([open])) .content{display:none}:host([floating]:not([vertical-context])) .content{position:absolute;top:100%;left:0;width:375px;min-width:100%;max-width:100vw;padding:0 calc(var(--space-unit) * 2);box-shadow:var(--shadow-2)}:host(:not([floating])) .content{width:100%}.header{display:flex;align-items:center;padding:var(--space-unit) 0 calc(var(--space-unit) * 2)}.header ::slotted(img[slot="header"]){width:calc(var(--space-unit) * 11.25);height:auto;object-fit:contain}.header ::slotted([slot="header"]:not(:first-child)){margin:auto 0;margin-left:calc(var(--space-unit) * 2.5);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5}.items{display:flex;flex-direction:column;align-items:flex-start;background:inherit}.items>::slotted([slot="item"]){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.5}.items>::slotted([slot="item"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot="item"]:not(z-menu-section)){padding:var(--space-unit) 0;border-bottom:var(--border-size-small) solid var(--color-surface03)}:host(:not([vertical-context])) .items>::slotted([slot="item"]:last-child){border-bottom:0}.items>::slotted([slot="item"]:hover),.items>::slotted([slot="item"]:focus:focus-visible),.items>::slotted([slot="item"]:active),.items>::slotted([slot="item"][active]),.items>::slotted([slot="item"][data-active]){border-color:var(--color-primary01);font-weight:var(--font-bd)}';const h=r;const l=t=>(t===null||t===void 0?void 0:t.tagName)==="Z-MENU-SECTION";const c=class{get focusableItem(){return this.items.find((t=>l(t)?t.htmlTabindex===0:t.tabIndex===0))}toggle(){if(!this.hasContent){return}this.open=!this.open}onLabelSlotChange(t){const i=t.target.assignedElements()[0];i.dataset.text=i===null||i===void 0?void 0:i.textContent;this.setLabelA11yAttrs()}reflow(t=false){if(!this.floating){return}if(this.content&&this.hasContent){const{style:t}=this.content;const{left:i}=this.host.getBoundingClientRect();const e=getComputedStyle(this.content).width;const s=e?parseFloat(e.replace("px","")):375;const o=30;t.left=`${Math.min(window.innerWidth-i-s-o,0)}px`}if(t){this.raf=requestAnimationFrame(this.reflow.bind(this,t))}}checkContent(){this.hasHeader=!!this.host.querySelectorAll("[slot=header]").length;this.hasContent=!!this.host.querySelectorAll("[slot=item]").length||this.hasHeader}setItemTabindex(t,i){if(l(t)){t.htmlTabindex=i}else{t.tabIndex=i}}setItemsA11yAttrs(){this.items.forEach(((t,i)=>{const e=i===0?0:-1;this.setItemTabindex(t,e);if(!l(t)){t.setAttribute("role","menuitem")}}))}onItemsChange(){this.checkContent();this.items=Array.from(this.host.children).filter((({slot:t})=>t==="item"));this.setItemsA11yAttrs();this.items.forEach((t=>{if(!l(t)){t.dataset.text=t.textContent}}))}moveFocus(t,i){if(l(t)){t.setFocus()}else{t.tabIndex=0;setTimeout((()=>{t.focus()}),100)}if(!i){return}this.setItemTabindex(i,-1)}onLabelClick(){this.toggle();this.setFocus()}onLabelKeydown(t){if(t.key===n.ENTER||t.key===n.SPACE){t.preventDefault();t.stopPropagation();this.toggle();if(this.open){this.moveFocus(this.items[0])}return}if(!this.verticalContext){return}if(t.key===n.ARROW_RIGHT&&!this.open){t.preventDefault();t.stopPropagation();this.open=true;this.moveFocus(this.items[0])}}async setFocus(){this.htmlTabindex=0;const t=this.hasContent?this.labelButton:this.host.firstElementChild;t.focus()}async focusLastItem(){const t=this.items[this.items.length-1];if(l(t)&&t.open){t.focusLastItem();return}this.moveFocus(t)}onOpenChanged(){if(!this.open){cancelAnimationFrame(this.raf);this.closed.emit();this.items.forEach((t=>{if(l(t)&&t.open){t.open=false}}));return}this.setItemsA11yAttrs();this.opened.emit();if(this.floating){this.reflow(true)}}setLabelA11yAttrs(){if(this.hasContent&&this.labelButton){this.labelButton.tabIndex=this.htmlTabindex;return}const t=this.host.firstElementChild;t.role="menuitem";t.tabIndex=this.htmlTabindex}onItemClick(t){const i=this.items.find((i=>a(i,t.target)));if(i){this.items.forEach((t=>{if(t===i){return}if(l(t)){t.htmlTabindex=-1}else{t.tabIndex=-1}}))}}onKeyDown(t){var i;if(!this.hasContent){return}switch(t.key){case n.ESC:if(!this.open){break}t.stopPropagation();t.preventDefault();this.open=false;this.setFocus();break;case n.ARROW_DOWN:{if(document.activeElement===this.host){if(this.verticalContext&&!this.open){break}t.stopPropagation();t.preventDefault();if(!this.open){this.open=true}this.moveFocus(this.items[0]);break}const i=this.items.indexOf(this.focusableItem);if(this.verticalContext&&i===this.items.length-1){this.setItemTabindex(this.items[i],-1);this.htmlTabindex=0;break}t.stopPropagation();t.preventDefault();const e=this.items[i+1];this.moveFocus(e!==null&&e!==void 0?e:this.items[0],this.focusableItem);break}case n.ARROW_UP:{if(document.activeElement===this.host){if(this.verticalContext){break}t.stopPropagation();t.preventDefault();if(!this.open){this.open=true}this.moveFocus(this.items[this.items.length-1],this.focusableItem);break}t.stopPropagation();t.preventDefault();const e=this.items.indexOf(this.focusableItem);if(e===0&&this.verticalContext){this.setItemTabindex(this.focusableItem,-1);this.setFocus();break}const s=(i=this.items[e-1])!==null&&i!==void 0?i:this.items[this.items.length-1];if(l(s)&&s.open){this.setItemTabindex(this.focusableItem,-1);s.focusLastItem();break}this.moveFocus(s,this.focusableItem);break}case n.ARROW_LEFT:if(!this.open||!this.verticalContext){break}t.preventDefault();t.stopPropagation();this.open=false;this.setFocus()}}constructor(e){t(this,e);this.opened=i(this,"opened",7);this.closed=i(this,"closed",7);this.items=[];this.active=undefined;this.floating=true;this.open=false;this.verticalContext=false;this.htmlTabindex=-1;this.hasHeader=undefined;this.hasContent=undefined;this.toggle=this.toggle.bind(this);this.checkContent=this.checkContent.bind(this);this.onLabelSlotChange=this.onLabelSlotChange.bind(this);this.onLabelClick=this.onLabelClick.bind(this);this.onItemsChange=this.onItemsChange.bind(this);this.onLabelKeydown=this.onLabelKeydown.bind(this)}componentWillLoad(){this.setLabelA11yAttrs();this.onItemsChange()}render(){if(!this.hasContent){return e("div",{class:"menu-label"},e("slot",{onSlotchange:this.onLabelSlotChange}))}return e(s,null,e("button",{ref:t=>this.labelButton=t,class:"menu-label","aria-expanded":`${!!this.open}`,"aria-haspopup":`${this.hasContent}`,"aria-label":this.open?"Chiudi menù":"Apri menù",role:"menuitem",tabIndex:this.htmlTabindex,onClick:this.onLabelClick,onKeyDown:this.onLabelKeydown},e("slot",{onSlotchange:this.onLabelSlotChange}),e("z-icon",{name:this.open?"chevron-up":"chevron-down"})),e("div",{class:"content",ref:t=>this.content=t},this.hasHeader&&e("header",{class:"header"},e("slot",{name:"header",onSlotchange:this.checkContent})),e("div",{class:"items",role:"menu"},e("slot",{name:"item",onSlotchange:this.onItemsChange}))))}get host(){return o(this)}static get watchers(){return{open:["onOpenChanged"],htmlTabindex:["setLabelA11yAttrs"]}}};c.style=h;export{c as z_menu};
2
+ //# sourceMappingURL=p-2dee7eef.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as a,a as n,g as o}from"./p-75c4a726.js";import{I as s}from"./p-dfcf9936.js";const e="z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;--z-pagination-background-color:var(--color-background);--z-pagination-background-color-hover:var(--color-surface01);display:flex;max-width:100%;flex-flow:column wrap;font-family:var(--font-family-sans);font-weight:var(--font-rg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}z-pagination,z-pagination *{box-sizing:border-box}z-pagination button{height:100%}z-pagination z-icon{fill:var(--color-primary01-icon)}z-pagination *:disabled z-icon{fill:var(--color-disabled03)}z-pagination .page-label{margin-right:calc(var(--space-unit) * 3);color:var(--color-default-text)}z-pagination .pagination-bar{display:flex;max-width:100%;height:48px;align-items:center}z-pagination .pagination-bar button{display:flex;align-items:center;justify-content:center;border:none;margin:0;background-color:var(--z-pagination-background-color);color:var(--color-primary01);cursor:pointer;font-family:inherit;font-weight:inherit;transition:background-color 0.15s ease-out,\n color 0.15s ease-out,\n border-bottom-color 0.15s ease-out,\n font-size 0.15s ease-in-out,\n font-weight 0.15s ease-in-out}z-pagination .pagination-bar button:focus-visible{background-color:var(--color-surface01);outline:none}z-pagination .pagination-bar .pagination-button{padding:calc(var(--space-unit) * 2);font-weight:var(--font-sb);text-transform:uppercase;white-space:nowrap}z-pagination .pagination-bar .navigation-button{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 1.5)}z-pagination .pagination-bar .pagination-button:disabled,z-pagination .pagination-bar .navigation-button:disabled{color:var(--color-disabled03);cursor:default;fill:var(--color-disabled03);pointer-events:none}z-pagination .pagination-bar .page-button,z-pagination .pagination-bar .ellipsis-button{width:var(--z-pagination--page-button-width)}z-pagination .pages-container{position:relative;display:inline-flex;max-width:100%;height:100%;overflow-x:auto;scroll-behavior:smooth;scroll-snap-align:center;scrollbar-width:none}z-pagination .pages-container::-webkit-scrollbar{display:none}z-pagination .pages-chunk{display:flex;scroll-snap-align:center}z-pagination .pagination-bar .page-button{padding-top:var(--border-size-large) solid transparent;border-bottom:var(--border-size-large) solid transparent;font-size:var(--font-size-2);font-weight:var(--font-sb)}z-pagination .pagination-bar .page-button[data-current]{border-bottom-color:var(--color-primary01);font-size:var(--font-size-7)}z-pagination .go-to-page{display:flex;flex-direction:column}z-pagination .go-to-page .inputs{display:flex;column-gap:var(--space-unit)}z-pagination .go-to-page .inputs z-input{width:calc(var(--space-unit) * 11)}z-pagination .go-to-page .inputs z-input input,z-pagination .mobile-go-to-page z-input input{padding:0 calc(var(--space-unit) * 1.5) !important;appearance:none}z-pagination .mobile-go-to-page{display:flex;height:100%;flex:1 auto;align-items:center;justify-content:center;background-color:var(--color-surface02)}z-pagination .mobile-go-to-page z-input{width:var(--z-pagination--page-button-width);margin-right:var(--space-unit)}z-pagination .mobile-go-to-page z-input input{text-align:center}z-pagination .mobile-go-to-page z-input input::-webkit-outer-spin-button,z-pagination .mobile-go-to-page z-input input::-webkit-inner-spin-button{appearance:none}z-pagination .mobile-go-to-page>span{font-size:var(--font-size-2)}@media (hover: hover){z-pagination .pagination-bar button:hover{background-color:var(--z-pagination-background-color-hover)}z-pagination .pagination-bar .page-button:hover{border-bottom-color:var(--color-hover-primary);color:var(--color-hover-primary)}}@media (min-width: 768px){z-pagination{--z-pagination--page-button-width:88px;flex-direction:row;align-items:flex-end}z-pagination .pages-container{max-width:var(--z-pagination--pages-container-max-width)}}";const r=e;const l=class{constructor(a){t(this,a);this.pageChanged=i(this,"pageChanged",7);this.label=undefined;this.navArrows=true;this.totalPages=undefined;this.skip=0;this.edges=false;this.split=undefined;this.visiblePages=undefined;this.currentPage=1;this.goToPage=undefined;this._visiblePages=this.visiblePages;this.isMobile=false;this.goToPageValue=null}setPagesContainerWidth(){if(!this._visiblePages||this.split){this.host.style.setProperty("--z-pagination--pages-container-max-width","100%");return}const t=window.getComputedStyle(this.host);const i=t.getPropertyValue("--z-pagination--page-button-width");this.host.style.setProperty("--z-pagination--pages-container-max-width",`calc(${i} * ${this._visiblePages})`)}setVisiblePages(){this._visiblePages=Math.min(this.visiblePages||this.totalPages,this.totalPages)}onPageChanged(){this.pageChanged.emit(this.currentPage);this.scrollToPage()}onSplitChanged(){if(this.split){this.edges=false}}onResize(){this.setMobile()}setMobile(){const t="screen and (max-width: 767px)";this.isMobile=window.matchMedia(t).matches}getPagesChunks(){const t=Array.from({length:this.totalPages},((t,i)=>i+1));const i=[];const a=Math.ceil(t.length/this._visiblePages);for(let n=0;n<a;n++){i.push(t.slice(n*this._visiblePages,(n+1)*this._visiblePages))}return i}scrollToPage(){var t,i;const a=this.host.querySelector(".pages-container");const n=this.host.querySelector(`[data-page="${this.currentPage}"]`);const o=this.host.querySelector(".navigation-button");if(!n||!a){return}const s=a.getBoundingClientRect().width;const e=n.getBoundingClientRect().width;const r=(i=(t=o===null||o===void 0?void 0:o.getBoundingClientRect())===null||t===void 0?void 0:t.width)!==null&&i!==void 0?i:0;a.scrollLeft=this.currentPage*e-r-s/2}selectPage(t){this.currentPage=Math.min(Math.max(t,1),this.totalPages)}renderPage(t){return a("button",{class:"page-button",type:"button","aria-current":this.currentPage===t?"page":"false",title:`Vai alla pagina ${t}`,"data-page":t,"data-current":this.currentPage===t,onClick:()=>this.selectPage(t)},t)}renderEllipsisButton(t){return a("button",{class:"ellipsis-button",type:"button",title:`Vai alla pagina ${t}`,onClick:()=>this.selectPage(t)},"…")}renderPages(){const t=this.getPagesChunks();if(t.length<=0){return}return t.map((t=>a("div",{class:"pages-chunk"},t.map((t=>this.renderPage(t))))))}renderSplitPages(){if(this.totalPages<=this.split*2+5){return Array.from({length:this.totalPages},((t,i)=>this.renderPage(i+1)))}if(this.currentPage<=this.split*2+2){return[...Array.from({length:this.split*2+3},((t,i)=>this.renderPage(i+1))),this.renderEllipsisButton(this.split*2+4),this.renderPage(this.totalPages)]}if(this.currentPage>this.split*2+2&&this.currentPage<this.totalPages-this.split*2-1){return[this.renderPage(1),this.renderEllipsisButton(this.currentPage-this.split-1),...Array.from({length:this.split*2+1},((t,i)=>this.renderPage(this.currentPage-this.split+i))),this.renderEllipsisButton(this.currentPage+this.split+1),this.renderPage(this.totalPages)]}return[this.renderPage(1),this.renderEllipsisButton(this.totalPages-this.split*2-3),...Array.from({length:this.split*2+3},((t,i)=>this.renderPage(this.totalPages-this.split*2-2+i)))]}renderBackButton(){return a("button",{class:"navigation-button",type:"button",title:"Vai alla pagina precedente",disabled:this.currentPage===1,onClick:()=>this.selectPage(this.currentPage-1)},a("z-icon",{name:"chevron-left"}))}renderForwardButton(){return a("button",{class:"navigation-button",type:"button",title:"Vai alla prossima pagina",disabled:this.currentPage===this.totalPages,onClick:()=>this.selectPage(this.currentPage+1)},a("z-icon",{name:"chevron-right"}))}renderMobile(){const t=this.getPagesChunks();return[this.label&&a("span",{class:"page-label body-1-sb"},this.label),a("div",{class:"pagination-bar"},this.renderBackButton(),!this.goToPage&&a("div",{class:"pages-container",role:"navigation",tabIndex:-1},t.length>0&&t.map((t=>a("div",{class:"pages-chunk"},t.map((t=>this.renderPage(t))))))),this.goToPage&&a("form",{class:"mobile-go-to-page",onSubmit:t=>{t.preventDefault();this.selectPage(this.goToPageValue)}},a("z-input",{class:"go-to-page-input",type:s.NUMBER,min:1,max:this.totalPages,message:false,onInput:t=>{this.goToPageValue=t.target.value},placeholder:this.currentPage.toString(),hasclearicon:false}),a("span",null,`/${this.totalPages}`)),this.renderForwardButton())]}componentDidLoad(){this.setVisiblePages()}componentDidRender(){if(this.split){this.edges=false}this.setPagesContainerWidth();this.setMobile();this.scrollToPage()}render(){if(this.isMobile){return a(n,null,this.renderMobile())}return a(n,null,a("div",{class:"pagination-bar"},this.label&&a("span",{class:"page-label body-1-sb"},this.label),this.edges&&a("button",{class:"pagination-button",type:"button",title:"Vai alla pagina 1",disabled:this.currentPage===1,onClick:()=>this.selectPage(1)},"Pagina 1"),this.skip<this.totalPages&&this.skip>1&&a("button",{class:"pagination-button",type:"button",title:`Vai alla pagina ${this.currentPage-this.skip}`,disabled:this.currentPage<=this.skip,onClick:()=>this.selectPage(this.currentPage-this.skip)},"-",this.skip),this.navArrows&&this.renderBackButton(),a("div",{class:"pages-container",role:"navigation",tabIndex:-1},this.split?this.renderSplitPages():this.renderPages()),this.navArrows&&this.renderForwardButton(),this.skip<this.totalPages&&this.skip>1&&a("button",{class:"pagination-button",type:"button",title:`Vai alla pagina ${this.currentPage+this.skip}`,disabled:this.currentPage>this.totalPages-this.skip,onClick:()=>this.selectPage(this.currentPage+this.skip)},"+",this.skip),this.edges&&a("button",{class:"pagination-button",type:"button",title:`Vai alla pagina ${this.totalPages}`,disabled:this.currentPage===this.totalPages,onClick:()=>this.selectPage(this.totalPages)},"Pagina ",this.totalPages)),this.goToPage&&a("div",{class:"go-to-page"},a("span",{class:"z-label body-5-sb"},"Vai a pagina:"),a("div",{class:"inputs"},a("z-input",{class:"go-to-page-input",type:s.NUMBER,min:1,max:this.totalPages,message:false,placeholder:"2",hasclearicon:false,onInput:t=>{this.goToPageValue=t.target.value},onKeyDown:t=>t.key==="Enter"&&this.selectPage(this.goToPageValue)}),a("z-button",{disabled:!this.goToPageValue,title:"Vai alla pagina inserita",onClick:()=>this.selectPage(this.goToPageValue)},"vai"))))}get host(){return o(this)}static get watchers(){return{_visiblePages:["setPagesContainerWidth"],visiblePages:["setVisiblePages"],currentPage:["onPageChanged"],split:["onSplitChanged"]}}};l.style=r;export{l as z_pagination};
2
- //# sourceMappingURL=p-f7d7cf44.entry.js.map
1
+ import{r as t,c as i,h as a,a as n,g as o}from"./p-75c4a726.js";import{I as s}from"./p-137c2618.js";const e="z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;--z-pagination-background-color:var(--color-background);--z-pagination-background-color-hover:var(--color-surface01);display:flex;max-width:100%;flex-flow:column wrap;font-family:var(--font-family-sans);font-weight:var(--font-rg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}z-pagination,z-pagination *{box-sizing:border-box}z-pagination button{height:100%}z-pagination z-icon{fill:var(--color-primary01-icon)}z-pagination *:disabled z-icon{fill:var(--color-disabled03)}z-pagination .page-label{margin-right:calc(var(--space-unit) * 3);color:var(--color-default-text)}z-pagination .pagination-bar{display:flex;max-width:100%;height:48px;align-items:center}z-pagination .pagination-bar button{display:flex;align-items:center;justify-content:center;border:none;margin:0;background-color:var(--z-pagination-background-color);color:var(--color-primary01);cursor:pointer;font-family:inherit;font-weight:inherit;transition:background-color 0.15s ease-out,\n color 0.15s ease-out,\n border-bottom-color 0.15s ease-out,\n font-size 0.15s ease-in-out,\n font-weight 0.15s ease-in-out}z-pagination .pagination-bar button:focus-visible{background-color:var(--color-surface01);outline:none}z-pagination .pagination-bar .pagination-button{padding:calc(var(--space-unit) * 2);font-weight:var(--font-sb);text-transform:uppercase;white-space:nowrap}z-pagination .pagination-bar .navigation-button{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 1.5)}z-pagination .pagination-bar .pagination-button:disabled,z-pagination .pagination-bar .navigation-button:disabled{color:var(--color-disabled03);cursor:default;fill:var(--color-disabled03);pointer-events:none}z-pagination .pagination-bar .page-button,z-pagination .pagination-bar .ellipsis-button{width:var(--z-pagination--page-button-width)}z-pagination .pages-container{position:relative;display:inline-flex;max-width:100%;height:100%;overflow-x:auto;scroll-behavior:smooth;scroll-snap-align:center;scrollbar-width:none}z-pagination .pages-container::-webkit-scrollbar{display:none}z-pagination .pages-chunk{display:flex;scroll-snap-align:center}z-pagination .pagination-bar .page-button{padding-top:var(--border-size-large) solid transparent;border-bottom:var(--border-size-large) solid transparent;font-size:var(--font-size-2);font-weight:var(--font-sb)}z-pagination .pagination-bar .page-button[data-current]{border-bottom-color:var(--color-primary01);font-size:var(--font-size-7)}z-pagination .go-to-page{display:flex;flex-direction:column}z-pagination .go-to-page .inputs{display:flex;column-gap:var(--space-unit)}z-pagination .go-to-page .inputs z-input{width:calc(var(--space-unit) * 11)}z-pagination .go-to-page .inputs z-input input,z-pagination .mobile-go-to-page z-input input{padding:0 calc(var(--space-unit) * 1.5) !important;appearance:none}z-pagination .mobile-go-to-page{display:flex;height:100%;flex:1 auto;align-items:center;justify-content:center;background-color:var(--color-surface02)}z-pagination .mobile-go-to-page z-input{width:var(--z-pagination--page-button-width);margin-right:var(--space-unit)}z-pagination .mobile-go-to-page z-input input{text-align:center}z-pagination .mobile-go-to-page z-input input::-webkit-outer-spin-button,z-pagination .mobile-go-to-page z-input input::-webkit-inner-spin-button{appearance:none}z-pagination .mobile-go-to-page>span{font-size:var(--font-size-2)}@media (hover: hover){z-pagination .pagination-bar button:hover{background-color:var(--z-pagination-background-color-hover)}z-pagination .pagination-bar .page-button:hover{border-bottom-color:var(--color-hover-primary);color:var(--color-hover-primary)}}@media (min-width: 768px){z-pagination{--z-pagination--page-button-width:88px;flex-direction:row;align-items:flex-end}z-pagination .pages-container{max-width:var(--z-pagination--pages-container-max-width)}}";const r=e;const l=class{constructor(a){t(this,a);this.pageChanged=i(this,"pageChanged",7);this.label=undefined;this.navArrows=true;this.totalPages=undefined;this.skip=0;this.edges=false;this.split=undefined;this.visiblePages=undefined;this.currentPage=1;this.goToPage=undefined;this._visiblePages=this.visiblePages;this.isMobile=false;this.goToPageValue=null}setPagesContainerWidth(){if(!this._visiblePages||this.split){this.host.style.setProperty("--z-pagination--pages-container-max-width","100%");return}const t=window.getComputedStyle(this.host);const i=t.getPropertyValue("--z-pagination--page-button-width");this.host.style.setProperty("--z-pagination--pages-container-max-width",`calc(${i} * ${this._visiblePages})`)}setVisiblePages(){this._visiblePages=Math.min(this.visiblePages||this.totalPages,this.totalPages)}onPageChanged(){this.pageChanged.emit(this.currentPage);this.scrollToPage()}onSplitChanged(){if(this.split){this.edges=false}}onResize(){this.setMobile()}setMobile(){const t="screen and (max-width: 767px)";this.isMobile=window.matchMedia(t).matches}getPagesChunks(){const t=Array.from({length:this.totalPages},((t,i)=>i+1));const i=[];const a=Math.ceil(t.length/this._visiblePages);for(let n=0;n<a;n++){i.push(t.slice(n*this._visiblePages,(n+1)*this._visiblePages))}return i}scrollToPage(){var t,i;const a=this.host.querySelector(".pages-container");const n=this.host.querySelector(`[data-page="${this.currentPage}"]`);const o=this.host.querySelector(".navigation-button");if(!n||!a){return}const s=a.getBoundingClientRect().width;const e=n.getBoundingClientRect().width;const r=(i=(t=o===null||o===void 0?void 0:o.getBoundingClientRect())===null||t===void 0?void 0:t.width)!==null&&i!==void 0?i:0;a.scrollLeft=this.currentPage*e-r-s/2}selectPage(t){this.currentPage=Math.min(Math.max(t,1),this.totalPages)}renderPage(t){return a("button",{class:"page-button",type:"button","aria-current":this.currentPage===t?"page":"false",title:`Vai alla pagina ${t}`,"data-page":t,"data-current":this.currentPage===t,onClick:()=>this.selectPage(t)},t)}renderEllipsisButton(t){return a("button",{class:"ellipsis-button",type:"button",title:`Vai alla pagina ${t}`,onClick:()=>this.selectPage(t)},"…")}renderPages(){const t=this.getPagesChunks();if(t.length<=0){return}return t.map((t=>a("div",{class:"pages-chunk"},t.map((t=>this.renderPage(t))))))}renderSplitPages(){if(this.totalPages<=this.split*2+5){return Array.from({length:this.totalPages},((t,i)=>this.renderPage(i+1)))}if(this.currentPage<=this.split*2+2){return[...Array.from({length:this.split*2+3},((t,i)=>this.renderPage(i+1))),this.renderEllipsisButton(this.split*2+4),this.renderPage(this.totalPages)]}if(this.currentPage>this.split*2+2&&this.currentPage<this.totalPages-this.split*2-1){return[this.renderPage(1),this.renderEllipsisButton(this.currentPage-this.split-1),...Array.from({length:this.split*2+1},((t,i)=>this.renderPage(this.currentPage-this.split+i))),this.renderEllipsisButton(this.currentPage+this.split+1),this.renderPage(this.totalPages)]}return[this.renderPage(1),this.renderEllipsisButton(this.totalPages-this.split*2-3),...Array.from({length:this.split*2+3},((t,i)=>this.renderPage(this.totalPages-this.split*2-2+i)))]}renderBackButton(){return a("button",{class:"navigation-button",type:"button",title:"Vai alla pagina precedente",disabled:this.currentPage===1,onClick:()=>this.selectPage(this.currentPage-1)},a("z-icon",{name:"chevron-left"}))}renderForwardButton(){return a("button",{class:"navigation-button",type:"button",title:"Vai alla prossima pagina",disabled:this.currentPage===this.totalPages,onClick:()=>this.selectPage(this.currentPage+1)},a("z-icon",{name:"chevron-right"}))}renderMobile(){const t=this.getPagesChunks();return[this.label&&a("span",{class:"page-label body-1-sb"},this.label),a("div",{class:"pagination-bar"},this.renderBackButton(),!this.goToPage&&a("div",{class:"pages-container",role:"navigation",tabIndex:-1},t.length>0&&t.map((t=>a("div",{class:"pages-chunk"},t.map((t=>this.renderPage(t))))))),this.goToPage&&a("form",{class:"mobile-go-to-page",onSubmit:t=>{t.preventDefault();this.selectPage(this.goToPageValue)}},a("z-input",{class:"go-to-page-input",type:s.NUMBER,min:1,max:this.totalPages,message:false,onInput:t=>{this.goToPageValue=t.target.value},placeholder:this.currentPage.toString(),hasclearicon:false}),a("span",null,`/${this.totalPages}`)),this.renderForwardButton())]}componentDidLoad(){this.setVisiblePages()}componentDidRender(){if(this.split){this.edges=false}this.setPagesContainerWidth();this.setMobile();this.scrollToPage()}render(){if(this.isMobile){return a(n,null,this.renderMobile())}return a(n,null,a("div",{class:"pagination-bar"},this.label&&a("span",{class:"page-label body-1-sb"},this.label),this.edges&&a("button",{class:"pagination-button",type:"button",title:"Vai alla pagina 1",disabled:this.currentPage===1,onClick:()=>this.selectPage(1)},"Pagina 1"),this.skip<this.totalPages&&this.skip>1&&a("button",{class:"pagination-button",type:"button",title:`Vai alla pagina ${this.currentPage-this.skip}`,disabled:this.currentPage<=this.skip,onClick:()=>this.selectPage(this.currentPage-this.skip)},"-",this.skip),this.navArrows&&this.renderBackButton(),a("div",{class:"pages-container",role:"navigation",tabIndex:-1},this.split?this.renderSplitPages():this.renderPages()),this.navArrows&&this.renderForwardButton(),this.skip<this.totalPages&&this.skip>1&&a("button",{class:"pagination-button",type:"button",title:`Vai alla pagina ${this.currentPage+this.skip}`,disabled:this.currentPage>this.totalPages-this.skip,onClick:()=>this.selectPage(this.currentPage+this.skip)},"+",this.skip),this.edges&&a("button",{class:"pagination-button",type:"button",title:`Vai alla pagina ${this.totalPages}`,disabled:this.currentPage===this.totalPages,onClick:()=>this.selectPage(this.totalPages)},"Pagina ",this.totalPages)),this.goToPage&&a("div",{class:"go-to-page"},a("span",{class:"z-label body-5-sb"},"Vai a pagina:"),a("div",{class:"inputs"},a("z-input",{class:"go-to-page-input",type:s.NUMBER,min:1,max:this.totalPages,message:false,placeholder:"2",hasclearicon:false,onInput:t=>{this.goToPageValue=t.target.value},onKeyDown:t=>t.key==="Enter"&&this.selectPage(this.goToPageValue)}),a("z-button",{disabled:!this.goToPageValue,title:"Vai alla pagina inserita",onClick:()=>this.selectPage(this.goToPageValue)},"vai"))))}get host(){return o(this)}static get watchers(){return{_visiblePages:["setPagesContainerWidth"],visiblePages:["setVisiblePages"],currentPage:["onPageChanged"],split:["onSplitChanged"]}}};l.style=r;export{l as z_pagination};
2
+ //# sourceMappingURL=p-353952ef.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,c as e,h as s,a as t,g as a}from"./p-75c4a726.js";import{v as l}from"./p-dfcf9936.js";const o='.sc-z-file-upload-h{display:flex;flex-direction:column;align-items:flex-start;color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{display:flex;flex-direction:column;justify-content:center;padding:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload>.files-wrapper.sc-z-file-upload{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}.sc-z-file-upload-h .text-container.sc-z-file-upload{display:flex;flex-direction:column;margin:auto;text-align:center}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload{color:var(--color-text-link-blue);cursor:pointer;text-decoration:underline}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none !important}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link-text.sc-z-file-upload{margin-bottom:var(--space-unit)}.sc-z-file-upload-h input[type="file"].sc-z-file-upload{display:none}.sc-z-file-upload-h #title.sc-z-file-upload+#description.sc-z-file-upload{margin-top:var(--space-unit)}.sc-z-file-upload-h>*.sc-z-file-upload+z-button.sc-z-file-upload,.sc-z-file-upload-h>.files-container.sc-z-file-upload+*.sc-z-file-upload,.sc-z-file-upload-h>.files-container.sc-z-file-upload:not(:first-child){margin-top:calc(var(--space-unit) * 3)}.sc-z-file-upload-h>.files-container.hidden.sc-z-file-upload{display:none}.sc-z-file-upload-h>.files-container.sc-z-file-upload>.uploaded-files-label.sc-z-file-upload{margin-bottom:calc(var(--space-unit) * 2)}.sc-z-file-upload-h>.files-container.sc-z-file-upload>.files-wrapper.sc-z-file-upload{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}@media (min-width: 768px){.sc-z-file-upload-h>.container.sc-z-file-upload>z-button.sc-z-file-upload{align-self:flex-start}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{padding:calc(var(--space-unit) * 3)}}@media (min-width: 1152px){.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{padding:calc(var(--space-unit) * 4)}}';const n=o;const r=class{constructor(s){i(this,s);this.fileInput=e(this,"fileInput",7);this.fileError=e(this,"fileError",7);this.type=l.DEFAULT;this.buttonVariant=undefined;this.acceptedFormat=undefined;this.fileMaxSize=undefined;this.mainTitle=undefined;this.description=undefined;this.uploadBtnLabel="allega";this.dragAndDropLabel="Rilascia i file in questa area per allegarli.";this.allowedFilesMessage=undefined;this.uploadClickableMessage="Carica";this.uploadMessage="o trascina dal tuo computer";this.errorModalTitle="Errore di caricamento";this.errorModalMessage=undefined;this.uploadedFilesLabel="File appena caricati";this.hasFileSection=true;this.inputName="z-file-upload";this.showErrors=true;this._type=this.type;this.files=[];this.invalidFiles=new Map;this.input=undefined}onFileRemoved(i){this.removeFile(i.detail.fileName)}fileDroppedListener(i){this.input.files=i.detail;this.checkFilesValidity(this.input.files)}async getFiles(){return this.files}async removeFile(i){const e=this.files;const s=e.findIndex((e=>e.name===i));if(s>=0){e.splice(s,1);this.files=[...e]}}checkFilesValidity(i){if(!i.length){return}Array.from(i).forEach((i=>{const e=i.size/1024/1024;const s=this.acceptedFormat.split(",").some((e=>i.name.toLowerCase().endsWith(e.trim())));const t=e<=this.fileMaxSize;if(t&&s&&!this.files.find((e=>e.name===i.name))){this.files=[...this.files,i];this.fileInput.emit(i);this.input.value="";return}const a=`Il file ${i.name} supera il limite di ${this.fileMaxSize}MB`;const l=`Il file ${i.name} ha un formato non supportato`;const o=[!t&&{cause:"size",message:a},!s&&{cause:"format",message:l}].filter(Boolean);this.invalidFiles.set(i.name,o);this.invalidFiles=new Map(this.invalidFiles);this.fileError.emit({file:i.name,errors:o})}))}resetErrors(){this.invalidFiles=new Map}onFilesChange(i){this.checkFilesValidity(i.target.files)}componentWillLoad(){const i=window.matchMedia("(max-width: 1151px)");this._type=i.matches?l.DEFAULT:this.type;i.addEventListener("change",(i=>{this._type=i.matches?l.DEFAULT:this.type}))}componentDidUpdate(){if(!this.showErrors||!this.invalidFiles.size){return}this.errorModal.open()}renderDescription(i){if(!this.description){return}return s("span",{id:"description",class:i},this.description)}renderAllowedFilesMessage(){let i="";let e="";if(this.acceptedFormat){const e=this.acceptedFormat.split(", ").map((i=>i.substring(1).toUpperCase())).join(", ");i=` nei formati ${e}`}if(this.fileMaxSize){e=` per un massimo di ${this.fileMaxSize}MB di peso`}const t=i||e?`Puoi allegare file${i}${e}.`:undefined;if(!this.allowedFilesMessage&&!t){return}return s("span",{class:"allowed-files-message body-3"},this.allowedFilesMessage||t)}renderFileSection(){if(!this.hasFileSection){return}return s("section",{class:{"files-container":true,hidden:!this.files.length}},s("div",{class:"uploaded-files-label heading-3-sb"},this.uploadedFilesLabel),s("div",{class:"files-wrapper"},s("slot",{name:"files"})))}renderInput(){return s("input",{type:"file",name:this.inputName,multiple:true,onChange:i=>this.onFilesChange(i),accept:this.acceptedFormat,ref:i=>this.input=i})}renderUploadButton(){return[s("z-button",{onClick:()=>this.input.click(),onKeyPress:i=>{if(i.code=="Space"||i.code=="Enter"){i.preventDefault();this.input.click()}},id:"fileSelect",variant:this.buttonVariant,icon:"upload"},this.uploadBtnLabel),this.renderInput()]}renderUploadLink(){return[this.renderInput(),s("span",{class:"body-1 upload-link-text"},s("span",{tabIndex:0,class:"body-1-sb upload-link",onClick:()=>this.input.click(),onKeyPress:i=>{if(i.code=="Space"||i.code=="Enter"){i.preventDefault();this.input.click()}}},this.uploadClickableMessage)," ",this.uploadMessage)]}renderDefaultMode(){return[this.renderDescription("body-3-sb"),this.renderAllowedFilesMessage(),this.renderFileSection(),this.renderUploadButton()]}renderDragDropMode(){return[this.renderFileSection(),s("z-dragdrop-area",{"drag-and-drop-label":this.dragAndDropLabel},s("div",{class:"text-container"},this.renderDescription("body-1"),this.renderUploadLink(),this.renderAllowedFilesMessage()))]}renderFileErrors(){return Array.from(this.invalidFiles).map((([i,e])=>{const t=`Il file ${i}`;return s("span",{class:"error-message"},"Il file ",s("span",{class:"body-3-sb"},i),e.map((({message:i})=>i.replace(t,""))).join(" e "),".")}))}render(){return s(t,{key:"13ada780c37ca16c2153f8c1177864932fe299dd"},this.mainTitle&&s("div",{key:"dcf55ac93e6959136262d0422272ab4902c3cbed",id:"title",class:"heading-3-sb"},this.mainTitle),this._type==l.DEFAULT?this.renderDefaultMode():this.renderDragDropMode(),!!this.invalidFiles.size&&this.showErrors&&s("z-modal",{key:"e7d8c001c513ab498779c752dc195ab03ec81a80",modalid:`file-upload-${this.type}-error-modal`,ref:i=>this.errorModal=i,modaltitle:this.errorModalTitle,onModalClose:()=>this.resetErrors(),onModalBackgroundClick:()=>this.resetErrors()},s("div",{key:"e5262f2f8b42dfe38ad4b794b08b4bf6b83b4a7a",slot:"modalContent"},s("div",{key:"5e50b460de47813678ea1e2d3a2a3e0e76d0a6d0",class:"modal-wrapper body-3"},this.errorModalMessage?this.errorModalMessage:this.renderFileErrors()))))}get host(){return a(this)}};r.style=n;export{r as z_file_upload};
2
- //# sourceMappingURL=p-2726182b.entry.js.map
1
+ import{r as i,c as e,h as s,a as t,g as a}from"./p-75c4a726.js";import{v as l}from"./p-137c2618.js";const o='.sc-z-file-upload-h{display:flex;flex-direction:column;align-items:flex-start;color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{display:flex;flex-direction:column;justify-content:center;padding:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload>.files-wrapper.sc-z-file-upload{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}.sc-z-file-upload-h .text-container.sc-z-file-upload{display:flex;flex-direction:column;margin:auto;text-align:center}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload{color:var(--color-text-link-blue);cursor:pointer;text-decoration:underline}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none !important}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link-text.sc-z-file-upload{margin-bottom:var(--space-unit)}.sc-z-file-upload-h input[type="file"].sc-z-file-upload{display:none}.sc-z-file-upload-h #title.sc-z-file-upload+#description.sc-z-file-upload{margin-top:var(--space-unit)}.sc-z-file-upload-h>*.sc-z-file-upload+z-button.sc-z-file-upload,.sc-z-file-upload-h>.files-container.sc-z-file-upload+*.sc-z-file-upload,.sc-z-file-upload-h>.files-container.sc-z-file-upload:not(:first-child){margin-top:calc(var(--space-unit) * 3)}.sc-z-file-upload-h>.files-container.hidden.sc-z-file-upload{display:none}.sc-z-file-upload-h>.files-container.sc-z-file-upload>.uploaded-files-label.sc-z-file-upload{margin-bottom:calc(var(--space-unit) * 2)}.sc-z-file-upload-h>.files-container.sc-z-file-upload>.files-wrapper.sc-z-file-upload{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}@media (min-width: 768px){.sc-z-file-upload-h>.container.sc-z-file-upload>z-button.sc-z-file-upload{align-self:flex-start}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{padding:calc(var(--space-unit) * 3)}}@media (min-width: 1152px){.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{padding:calc(var(--space-unit) * 4)}}';const n=o;const r=class{constructor(s){i(this,s);this.fileInput=e(this,"fileInput",7);this.fileError=e(this,"fileError",7);this.type=l.DEFAULT;this.buttonVariant=undefined;this.acceptedFormat=undefined;this.fileMaxSize=undefined;this.mainTitle=undefined;this.description=undefined;this.uploadBtnLabel="allega";this.dragAndDropLabel="Rilascia i file in questa area per allegarli.";this.allowedFilesMessage=undefined;this.uploadClickableMessage="Carica";this.uploadMessage="o trascina dal tuo computer";this.errorModalTitle="Errore di caricamento";this.errorModalMessage=undefined;this.uploadedFilesLabel="File appena caricati";this.hasFileSection=true;this.inputName="z-file-upload";this.showErrors=true;this._type=this.type;this.files=[];this.invalidFiles=new Map;this.input=undefined}onFileRemoved(i){this.removeFile(i.detail.fileName)}fileDroppedListener(i){this.input.files=i.detail;this.checkFilesValidity(this.input.files)}async getFiles(){return this.files}async removeFile(i){const e=this.files;const s=e.findIndex((e=>e.name===i));if(s>=0){e.splice(s,1);this.files=[...e]}}checkFilesValidity(i){if(!i.length){return}Array.from(i).forEach((i=>{const e=i.size/1024/1024;const s=this.acceptedFormat.split(",").some((e=>i.name.toLowerCase().endsWith(e.trim())));const t=e<=this.fileMaxSize;if(t&&s&&!this.files.find((e=>e.name===i.name))){this.files=[...this.files,i];this.fileInput.emit(i);this.input.value="";return}const a=`Il file ${i.name} supera il limite di ${this.fileMaxSize}MB`;const l=`Il file ${i.name} ha un formato non supportato`;const o=[!t&&{cause:"size",message:a},!s&&{cause:"format",message:l}].filter(Boolean);this.invalidFiles.set(i.name,o);this.invalidFiles=new Map(this.invalidFiles);this.fileError.emit({file:i.name,errors:o})}))}resetErrors(){this.invalidFiles=new Map}onFilesChange(i){this.checkFilesValidity(i.target.files)}componentWillLoad(){const i=window.matchMedia("(max-width: 1151px)");this._type=i.matches?l.DEFAULT:this.type;i.addEventListener("change",(i=>{this._type=i.matches?l.DEFAULT:this.type}))}componentDidUpdate(){if(!this.showErrors||!this.invalidFiles.size){return}this.errorModal.open()}renderDescription(i){if(!this.description){return}return s("span",{id:"description",class:i},this.description)}renderAllowedFilesMessage(){let i="";let e="";if(this.acceptedFormat){const e=this.acceptedFormat.split(", ").map((i=>i.substring(1).toUpperCase())).join(", ");i=` nei formati ${e}`}if(this.fileMaxSize){e=` per un massimo di ${this.fileMaxSize}MB di peso`}const t=i||e?`Puoi allegare file${i}${e}.`:undefined;if(!this.allowedFilesMessage&&!t){return}return s("span",{class:"allowed-files-message body-3"},this.allowedFilesMessage||t)}renderFileSection(){if(!this.hasFileSection){return}return s("section",{class:{"files-container":true,hidden:!this.files.length}},s("div",{class:"uploaded-files-label heading-3-sb"},this.uploadedFilesLabel),s("div",{class:"files-wrapper"},s("slot",{name:"files"})))}renderInput(){return s("input",{type:"file",name:this.inputName,multiple:true,onChange:i=>this.onFilesChange(i),accept:this.acceptedFormat,ref:i=>this.input=i})}renderUploadButton(){return[s("z-button",{onClick:()=>this.input.click(),onKeyPress:i=>{if(i.code=="Space"||i.code=="Enter"){i.preventDefault();this.input.click()}},id:"fileSelect",variant:this.buttonVariant,icon:"upload"},this.uploadBtnLabel),this.renderInput()]}renderUploadLink(){return[this.renderInput(),s("span",{class:"body-1 upload-link-text"},s("span",{tabIndex:0,class:"body-1-sb upload-link",onClick:()=>this.input.click(),onKeyPress:i=>{if(i.code=="Space"||i.code=="Enter"){i.preventDefault();this.input.click()}}},this.uploadClickableMessage)," ",this.uploadMessage)]}renderDefaultMode(){return[this.renderDescription("body-3-sb"),this.renderAllowedFilesMessage(),this.renderFileSection(),this.renderUploadButton()]}renderDragDropMode(){return[this.renderFileSection(),s("z-dragdrop-area",{"drag-and-drop-label":this.dragAndDropLabel},s("div",{class:"text-container"},this.renderDescription("body-1"),this.renderUploadLink(),this.renderAllowedFilesMessage()))]}renderFileErrors(){return Array.from(this.invalidFiles).map((([i,e])=>{const t=`Il file ${i}`;return s("span",{class:"error-message"},"Il file ",s("span",{class:"body-3-sb"},i),e.map((({message:i})=>i.replace(t,""))).join(" e "),".")}))}render(){return s(t,{key:"13ada780c37ca16c2153f8c1177864932fe299dd"},this.mainTitle&&s("div",{key:"dcf55ac93e6959136262d0422272ab4902c3cbed",id:"title",class:"heading-3-sb"},this.mainTitle),this._type==l.DEFAULT?this.renderDefaultMode():this.renderDragDropMode(),!!this.invalidFiles.size&&this.showErrors&&s("z-modal",{key:"e7d8c001c513ab498779c752dc195ab03ec81a80",modalid:`file-upload-${this.type}-error-modal`,ref:i=>this.errorModal=i,modaltitle:this.errorModalTitle,onModalClose:()=>this.resetErrors(),onModalBackgroundClick:()=>this.resetErrors()},s("div",{key:"e5262f2f8b42dfe38ad4b794b08b4bf6b83b4a7a",slot:"modalContent"},s("div",{key:"5e50b460de47813678ea1e2d3a2a3e0e76d0a6d0",class:"modal-wrapper body-3"},this.errorModalMessage?this.errorModalMessage:this.renderFileErrors()))))}get host(){return a(this)}};r.style=n;export{r as z_file_upload};
2
+ //# sourceMappingURL=p-359fddfd.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as o,h as e,a as s,g as n}from"./p-75c4a726.js";import{P as i,S as a,B as r,e as c}from"./p-dfcf9936.js";const h=':host{position:relative;display:flex;max-width:100%;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu="hover"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu="hover"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}:host{z-index:1;padding:0;background-color:var(--color-background);font-weight:var(--font-sb)}.cell--content{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2))}:host([show-sorting]) .cell--content{column-gap:var(--space-unit)}.z-th--sort-button{padding:0;border:none;background-color:transparent;cursor:pointer;outline:none}@media (min-width: 768px) and (hover: hover){:host([show-sorting="hover"]) .z-th--sort-button{opacity:0;pointer-events:none}:host([show-sorting="hover"]:hover) .z-th--sort-button,:host([show-sorting="hover"]) .z-th--sort-button:focus:focus-visible,:host([show-sorting="always"]) .z-th--sort-button,:host([sorted]) .z-th--sort-button{opacity:1;pointer-events:all}}:host([show-sorting="hover"]:hover) .z-th--sort-button::after,:host([show-sorting="hover"]) .z-th--sort-button:focus:focus-visible::after,:host([show-sorting="always"]) .z-th--sort-button::after,:host([sorted]) .z-th--sort-button::after{position:absolute;top:6px;left:6px;width:calc(100% - 12px);height:calc(100% - 10px);background-color:transparent;content:""}:host([sorted]) .z-th--sort-button::after,.z-th--sort-button:focus:focus-visible::after{box-shadow:var(--shadow-focus-primary)}';const l=h;const d=class{constructor(e){t(this,e);this.sort=o(this,"sort",7);this.colspan=undefined;this.showMenu=null;this.showSorting=null;this.sticky=false;this.sortDirection=undefined;this.sorted=false;this.popoverPosition=i.AUTO;this.isMenuOpen=false}get ariaSortDirection(){if(!this.sortDirection){return null}return this.sortDirection===a.ASC?"ascending":"descending"}handleSort(){if(!this.sortDirection){this.sorted=false;return}this.sortDirection=this.sortDirection===a.ASC?a.DESC:a.ASC;this.sorted=true;this.sort.emit({sortDirection:this.sortDirection})}updateColspan(){if(this.colspan){this.host.style.gridColumn=`span ${this.colspan}`}else{this.host.style.removeProperty("grid-column")}}componentWillLoad(){this.updateColspan()}render(){return e(s,{key:"80d84d10038bfd5171b1596db3175c4e915e3c81",role:"columnheader","menu-open":this.isMenuOpen,"aria-sort":this.ariaSortDirection,sortable:this.showSorting},e("div",{key:"b98f5cbe6c9fa873e39f46ba701c76755a4f9da7",class:"cell--content"},e("slot",{key:"f7d2b12496eb334bf07fcfc80e42cacf95a2b6c7"}),this.showSorting&&e("button",{key:"000518536845b9b1383d2aa90a655000a2d0cc0b",class:"z-th--sort-button",type:"button",onClick:this.handleSort.bind(this)},e("z-icon",{key:"61cedbe8a54e51cac9d94f00e4d9d84dbcc1b48d",name:this.sortDirection===a.DESC?"arrow-simple-up":"arrow-simple-down",width:14,height:14})),this.showMenu&&e("div",{key:"3c2ac483288672ac1c65dc3586fb9b346abe53e9",class:"cell--menu-container"},e("z-button",{key:"6a495a201dc8343267ef8892bc97150c2d4ec4fc",variant:r.TERTIARY,icon:"contextual-menu",size:c.X_SMALL,ref:t=>this.menuTrigger=t,onClick:()=>this.popoverEl.open=!this.popoverEl.open}),e("z-popover",{key:"b97a3477c4f63bccb2445304676ad2127a26d9df",ref:t=>this.popoverEl=t,bindTo:this.menuTrigger,onOpenChange:t=>this.isMenuOpen=t.detail.open,position:this.popoverPosition},e("slot",{key:"d51ba2caa4e7929e3aedf3beec9b95f4c9b1cf24",name:"contextual-menu"})))))}get host(){return n(this)}static get watchers(){return{colspan:["updateColspan"]}}};d.style=l;export{d as Z};
2
- //# sourceMappingURL=p-c7d5971f.js.map
1
+ import{r as t,c as o,h as e,a as s,g as n}from"./p-75c4a726.js";import{P as i,S as a,B as r,e as c}from"./p-137c2618.js";const h=':host{position:relative;display:flex;max-width:100%;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu="hover"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu="hover"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}:host{z-index:1;padding:0;background-color:var(--color-background);font-weight:var(--font-sb)}.cell--content{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2))}:host([show-sorting]) .cell--content{column-gap:var(--space-unit)}.z-th--sort-button{padding:0;border:none;background-color:transparent;cursor:pointer;outline:none}@media (min-width: 768px) and (hover: hover){:host([show-sorting="hover"]) .z-th--sort-button{opacity:0;pointer-events:none}:host([show-sorting="hover"]:hover) .z-th--sort-button,:host([show-sorting="hover"]) .z-th--sort-button:focus:focus-visible,:host([show-sorting="always"]) .z-th--sort-button,:host([sorted]) .z-th--sort-button{opacity:1;pointer-events:all}}:host([show-sorting="hover"]:hover) .z-th--sort-button::after,:host([show-sorting="hover"]) .z-th--sort-button:focus:focus-visible::after,:host([show-sorting="always"]) .z-th--sort-button::after,:host([sorted]) .z-th--sort-button::after{position:absolute;top:6px;left:6px;width:calc(100% - 12px);height:calc(100% - 10px);background-color:transparent;content:""}:host([sorted]) .z-th--sort-button::after,.z-th--sort-button:focus:focus-visible::after{box-shadow:var(--shadow-focus-primary)}';const l=h;const d=class{constructor(e){t(this,e);this.sort=o(this,"sort",7);this.colspan=undefined;this.showMenu=null;this.showSorting=null;this.sticky=false;this.sortDirection=undefined;this.sorted=false;this.popoverPosition=i.AUTO;this.isMenuOpen=false}get ariaSortDirection(){if(!this.sortDirection){return null}return this.sortDirection===a.ASC?"ascending":"descending"}handleSort(){if(!this.sortDirection){this.sorted=false;return}this.sortDirection=this.sortDirection===a.ASC?a.DESC:a.ASC;this.sorted=true;this.sort.emit({sortDirection:this.sortDirection})}updateColspan(){if(this.colspan){this.host.style.gridColumn=`span ${this.colspan}`}else{this.host.style.removeProperty("grid-column")}}componentWillLoad(){this.updateColspan()}render(){return e(s,{key:"80d84d10038bfd5171b1596db3175c4e915e3c81",role:"columnheader","menu-open":this.isMenuOpen,"aria-sort":this.ariaSortDirection,sortable:this.showSorting},e("div",{key:"b98f5cbe6c9fa873e39f46ba701c76755a4f9da7",class:"cell--content"},e("slot",{key:"f7d2b12496eb334bf07fcfc80e42cacf95a2b6c7"}),this.showSorting&&e("button",{key:"000518536845b9b1383d2aa90a655000a2d0cc0b",class:"z-th--sort-button",type:"button",onClick:this.handleSort.bind(this)},e("z-icon",{key:"61cedbe8a54e51cac9d94f00e4d9d84dbcc1b48d",name:this.sortDirection===a.DESC?"arrow-simple-up":"arrow-simple-down",width:14,height:14})),this.showMenu&&e("div",{key:"3c2ac483288672ac1c65dc3586fb9b346abe53e9",class:"cell--menu-container"},e("z-button",{key:"6a495a201dc8343267ef8892bc97150c2d4ec4fc",variant:r.TERTIARY,icon:"contextual-menu",size:c.X_SMALL,ref:t=>this.menuTrigger=t,onClick:()=>this.popoverEl.open=!this.popoverEl.open}),e("z-popover",{key:"b97a3477c4f63bccb2445304676ad2127a26d9df",ref:t=>this.popoverEl=t,bindTo:this.menuTrigger,onOpenChange:t=>this.isMenuOpen=t.detail.open,position:this.popoverPosition},e("slot",{key:"d51ba2caa4e7929e3aedf3beec9b95f4c9b1cf24",name:"contextual-menu"})))))}get host(){return n(this)}static get watchers(){return{colspan:["updateColspan"]}}};d.style=l;export{d as Z};
2
+ //# sourceMappingURL=p-36e71b13.js.map
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e,a,g as s}from"./p-75c4a726.js";import"./p-1170826b.js";import"./p-195ed6d2.js";import"./p-eb9ef3cb.js";import"./p-84635654.js";import"./p-8c322c9a.js";import"./p-137c2618.js";import"./p-5145a606.js";import"./p-06b31bf5.js";import"./p-36e71b13.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(e){t(this,e);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 t;(t=this.expandableMutationObserver)===null||t===void 0?void 0:t.disconnect()}render(){return e(a,{key:"a37bf2d018aedf198e11248d9952c062deddc545",expandable:this.expandable},e("div",{key:"a769b79ee55eb5425bb6c72059437f051967c3b3",class:"table",role:"table"},e("slot",{key:"0ba782144cc2f139484954747d530d6f1c606a0d"})))}get host(){return s(this)}};i.style=o;export{i as z_table};
2
+ //# sourceMappingURL=p-37d31461.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as a,a as i}from"./p-75c4a726.js";const o=":host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);list-style:none}@media (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";const s=o;const r=class{constructor(a){t(this,a)}render(){return a(i,{key:"b4d76cddb405ccc4db532cc4d544898424b290fa",role:"list"},a("slot",{key:"9b7d842263cf062b5f3b8a27b72d7a66142bc341"}))}};r.style=s;export{r as z_stepper};
2
- //# sourceMappingURL=p-dc46730d.entry.js.map
1
+ import{r as t,h as a,a as i}from"./p-75c4a726.js";const o=":host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);list-style:none}@media (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";const s=o;const e=class{constructor(a){t(this,a)}render(){return a(i,{key:"e061b74c2336b281488848b87f6a4f7897777f8d",role:"list"},a("slot",{key:"f381debb6adab9931047c6cdd26c58ec78f7a1c1"}))}};e.style=s;export{e as z_stepper};
2
+ //# sourceMappingURL=p-3cc02ff9.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,c as t,h as i,a as l,g as n}from"./p-75c4a726.js";import{g as s}from"./p-dfcf9936.js";const a=':host{font-family:var(--font-family-sans)}z-list-element{position:relative;display:block;padding-top:var(--space-unit)}z-list-element::before,z-list-element::after{position:absolute;z-index:100;top:0.125rem;left:-0.5rem;content:""}z-list z-list-element::before{width:var(--space-unit);height:calc(var(--space-unit) * 2);border-bottom:var(--border-size-small) solid var(--color-disabled01-icon);border-left:var(--border-size-small) solid var(--color-disabled01-icon)}z-list z-list-element::after{width:var(--space-unit);height:100%;border-left:var(--border-size-small) solid var(--color-disabled01-icon)}z-list z-list-element:last-child::after,z-list>z-list-element::before,z-list>z-list-element::after,z-list>z-list-group>z-list-element::before,z-list>z-list-group>z-list-element::after{display:none}z-list>div.children-node{padding-left:calc(var(--space-unit) * 2)}z-list-element>.list-element{z-index:100;display:flex;justify-content:space-between;padding:0;color:var(--color-default-text);font-size:var(--font-size-2);font-style:normal;font-weight:var(--font-rg);text-decoration:none}z-list-element>.list-element.link-clickable{color:var(--color-primary01)}z-list-element>.list-element.link-clickable:hover{text-decoration:underline}z-list-element>.list-element .item.ellipsis{overflow:hidden}z-list-element .list-element::after{position:absolute;top:0;right:-0.0625rem;display:block;width:100%;height:calc(var(--space-unit) * 5);content:"";transform:translateX(-100%)}.item-label{overflow:hidden;flex-grow:1;font-size:var(--font-size-2);font-style:normal;font-weight:var(--font-rg);letter-spacing:0.0032rem;line-height:1.25rem;text-overflow:ellipsis;white-space:nowrap}.item-label.bold-item{font-weight:var(--font-sb)}.item.ellipsis{display:flex;overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.children-node>z-list-element{padding:0;padding-top:0.125;padding-left:calc(var(--space-unit) * 1.25)}.item-icon{margin-right:var(--space-unit)}.no-icon-label{padding-left:var(--space-unit)}.children-node>z-list-element.no-icon-elm{padding-left:0}z-list-element>.list-element:focus:focus-visible{position:relative;z-index:200;box-shadow:var(--shadow-focus-primary);outline:none}@media (max-width: 767px){z-list-element::before,z-list-element::after{top:0.1875rem}z-list z-list-element::before{height:calc(var(--space-unit) * 2.5)}.children-node>z-list-element{padding-top:var(--space-unit)}}';const r=a;const o=class{constructor(i){e(this,i);this.treeItemClicked=t(this,"treeItemClicked",7);this.parsedItems=[];this.items=[];this.htmlAriaLabelledby=undefined;this.htmlSectionTitle=undefined}watchItems(){this.parsedItems=typeof this.items==="string"?JSON.parse(this.items):this.items}componentWillLoad(){this.watchItems()}handleClick(e){this.treeItemClicked.emit({id:e.id,name:e.name,url:e.url})}getFocusableElements(){return Array.from(this.host.shadowRoot.querySelectorAll('a[tabindex="0"]'))}getAncestor(e,t){let i=e;for(let e=0;e<t;e++){i=i===null||i===void 0?void 0:i.parentElement;if(!i){return}}return i}handleArrowNav(e){if(e.code===s.TAB){e.preventDefault();return}const t=this.getFocusableElements();const i=t.indexOf(e.target);if(i===-1){return}if(e.code===s.ARROW_DOWN||e.code===s.ARROW_UP){e.preventDefault();const l=i+(e.code===s.ARROW_DOWN?1:-1);if(l<0||l>=t.length){return}t[l].focus()}if(e.code===s.ARROW_LEFT){e.preventDefault();const l=this.getAncestor(t[i],4);if(!l||!l.children[0]||l.children[0].tagName.toLowerCase()!=="a"&&l.getAttribute("tabindex")===null){return}l.children[0].focus()}if(e.code===s.ARROW_RIGHT){e.preventDefault();const t=e.target.closest("z-list-element");if(!t){return}const i=t.querySelector("z-list");if(!i){return}const l=i.querySelector('a[tabindex="0"]');if(!l){return}l.focus()}}renderTreeList(e,t,l=1){var n,a;this.htmlTag=e.url?"a":"span";const r=i("z-list-element",{id:t,class:!e.icon?"no-icon-elm":"",clickable:Boolean(e.url),hasTreeItems:true,role:"none","aria-hidden":undefined},i(this.htmlTag,{class:{"list-element":true,"z-link":Boolean(e.url),"link-clickable":Boolean(e.url)},tabIndex:e.url?0:-1,onClick:()=>this.handleClick(e),onKeyUp:t=>{if(t.code===s.ENTER||t.code===s.SPACE){this.handleClick(e)}},onKeyDown:e=>this.handleArrowNav(e),role:e.url?"treeitem":undefined,"aria-hidden":e.url?undefined:"true","aria-expanded":((n=e.children)===null||n===void 0?void 0:n.length)>0&&true,"aria-level":l,"aria-label":e.name,href:e.url},i("span",{class:"item ellipsis"},e.icon&&i("z-icon",{width:16,height:16,fill:e.url?"color-primary01":"color-default-icon",class:"item-icon",name:e.icon}),i("span",{class:{"item-label":true,"no-icon-label":!e.icon,"bold-item":e.bold},title:e.name},e.name))),((a=e.children)===null||a===void 0?void 0:a.length)>0&&i("z-list",{role:"group"},i("div",{class:"children-node"},e.children.map(((e,t)=>this.renderTreeList(e,`${t}`,l+1))))));return r}render(){const e=this.parsedItems.some((e=>!!e.url));return i(l,{key:"860eebd2ba1f46fb493bc07eb245596a9dc8be99",class:"tree-list",role:e?"navigation":"none","aria-hidden":e?undefined:"true","aria-labelledby":this.htmlAriaLabelledby},i("div",{key:"6a5876f627d499e9c04464383463f97d5caa1272",tabIndex:-1,role:e?"tree":"none","aria-hidden":e?undefined:"true","aria-label":this.htmlSectionTitle},this.parsedItems.map(((e,t)=>this.renderTreeList(e,`${t}`)))))}get host(){return n(this)}static get watchers(){return{items:["watchItems"]}}};o.style=r;export{o as z_tree_list};
2
- //# sourceMappingURL=p-49f99fa3.entry.js.map
1
+ import{r as e,c as t,h as i,a as l,g as n}from"./p-75c4a726.js";import{g as s}from"./p-137c2618.js";const a=':host{font-family:var(--font-family-sans)}z-list-element{position:relative;display:block;padding-top:var(--space-unit)}z-list-element::before,z-list-element::after{position:absolute;z-index:100;top:0.125rem;left:-0.5rem;content:""}z-list z-list-element::before{width:var(--space-unit);height:calc(var(--space-unit) * 2);border-bottom:var(--border-size-small) solid var(--color-disabled01-icon);border-left:var(--border-size-small) solid var(--color-disabled01-icon)}z-list z-list-element::after{width:var(--space-unit);height:100%;border-left:var(--border-size-small) solid var(--color-disabled01-icon)}z-list z-list-element:last-child::after,z-list>z-list-element::before,z-list>z-list-element::after,z-list>z-list-group>z-list-element::before,z-list>z-list-group>z-list-element::after{display:none}z-list>div.children-node{padding-left:calc(var(--space-unit) * 2)}z-list-element>.list-element{z-index:100;display:flex;justify-content:space-between;padding:0;color:var(--color-default-text);font-size:var(--font-size-2);font-style:normal;font-weight:var(--font-rg);text-decoration:none}z-list-element>.list-element.link-clickable{color:var(--color-primary01)}z-list-element>.list-element.link-clickable:hover{text-decoration:underline}z-list-element>.list-element .item.ellipsis{overflow:hidden}z-list-element .list-element::after{position:absolute;top:0;right:-0.0625rem;display:block;width:100%;height:calc(var(--space-unit) * 5);content:"";transform:translateX(-100%)}.item-label{overflow:hidden;flex-grow:1;font-size:var(--font-size-2);font-style:normal;font-weight:var(--font-rg);letter-spacing:0.0032rem;line-height:1.25rem;text-overflow:ellipsis;white-space:nowrap}.item-label.bold-item{font-weight:var(--font-sb)}.item.ellipsis{display:flex;overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.children-node>z-list-element{padding:0;padding-top:0.125;padding-left:calc(var(--space-unit) * 1.25)}.item-icon{margin-right:var(--space-unit)}.no-icon-label{padding-left:var(--space-unit)}.children-node>z-list-element.no-icon-elm{padding-left:0}z-list-element>.list-element:focus:focus-visible{position:relative;z-index:200;box-shadow:var(--shadow-focus-primary);outline:none}@media (max-width: 767px){z-list-element::before,z-list-element::after{top:0.1875rem}z-list z-list-element::before{height:calc(var(--space-unit) * 2.5)}.children-node>z-list-element{padding-top:var(--space-unit)}}';const r=a;const o=class{constructor(i){e(this,i);this.treeItemClicked=t(this,"treeItemClicked",7);this.parsedItems=[];this.items=[];this.htmlAriaLabelledby=undefined;this.htmlSectionTitle=undefined}watchItems(){this.parsedItems=typeof this.items==="string"?JSON.parse(this.items):this.items}componentWillLoad(){this.watchItems()}handleClick(e){this.treeItemClicked.emit({id:e.id,name:e.name,url:e.url})}getFocusableElements(){return Array.from(this.host.shadowRoot.querySelectorAll('a[tabindex="0"]'))}getAncestor(e,t){let i=e;for(let e=0;e<t;e++){i=i===null||i===void 0?void 0:i.parentElement;if(!i){return}}return i}handleArrowNav(e){if(e.code===s.TAB){e.preventDefault();return}const t=this.getFocusableElements();const i=t.indexOf(e.target);if(i===-1){return}if(e.code===s.ARROW_DOWN||e.code===s.ARROW_UP){e.preventDefault();const l=i+(e.code===s.ARROW_DOWN?1:-1);if(l<0||l>=t.length){return}t[l].focus()}if(e.code===s.ARROW_LEFT){e.preventDefault();const l=this.getAncestor(t[i],4);if(!l||!l.children[0]||l.children[0].tagName.toLowerCase()!=="a"&&l.getAttribute("tabindex")===null){return}l.children[0].focus()}if(e.code===s.ARROW_RIGHT){e.preventDefault();const t=e.target.closest("z-list-element");if(!t){return}const i=t.querySelector("z-list");if(!i){return}const l=i.querySelector('a[tabindex="0"]');if(!l){return}l.focus()}}renderTreeList(e,t,l=1){var n,a;this.htmlTag=e.url?"a":"span";const r=i("z-list-element",{id:t,class:!e.icon?"no-icon-elm":"",clickable:Boolean(e.url),hasTreeItems:true,role:"none","aria-hidden":undefined},i(this.htmlTag,{class:{"list-element":true,"z-link":Boolean(e.url),"link-clickable":Boolean(e.url)},tabIndex:e.url?0:-1,onClick:()=>this.handleClick(e),onKeyUp:t=>{if(t.code===s.ENTER||t.code===s.SPACE){this.handleClick(e)}},onKeyDown:e=>this.handleArrowNav(e),role:e.url?"treeitem":undefined,"aria-hidden":e.url?undefined:"true","aria-expanded":((n=e.children)===null||n===void 0?void 0:n.length)>0&&true,"aria-level":l,"aria-label":e.name,href:e.url},i("span",{class:"item ellipsis"},e.icon&&i("z-icon",{width:16,height:16,fill:e.url?"color-primary01":"color-default-icon",class:"item-icon",name:e.icon}),i("span",{class:{"item-label":true,"no-icon-label":!e.icon,"bold-item":e.bold},title:e.name},e.name))),((a=e.children)===null||a===void 0?void 0:a.length)>0&&i("z-list",{role:"group"},i("div",{class:"children-node"},e.children.map(((e,t)=>this.renderTreeList(e,`${t}`,l+1))))));return r}render(){const e=this.parsedItems.some((e=>!!e.url));return i(l,{key:"860eebd2ba1f46fb493bc07eb245596a9dc8be99",class:"tree-list",role:e?"navigation":"none","aria-hidden":e?undefined:"true","aria-labelledby":this.htmlAriaLabelledby},i("div",{key:"6a5876f627d499e9c04464383463f97d5caa1272",tabIndex:-1,role:e?"tree":"none","aria-hidden":e?undefined:"true","aria-label":this.htmlSectionTitle},this.parsedItems.map(((e,t)=>this.renderTreeList(e,`${t}`)))))}get host(){return n(this)}static get watchers(){return{items:["watchItems"]}}};o.style=r;export{o as z_tree_list};
2
+ //# sourceMappingURL=p-3fe267a1.entry.js.map
@@ -0,0 +1,2 @@
1
+ var e=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};export{e as c};
2
+ //# sourceMappingURL=p-4573c419.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as o,g as s}from"./p-75c4a726.js";import{s as i}from"./p-dfcf9936.js";const n=':host{position:fixed;z-index:10000;display:flex;flex-flow:column nowrap;margin-top:calc(var(--space-unit) * 2);margin-bottom:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host([position="bottom-centre"]),:host([position="bottom-right"]),:host([position="bottom-left"]){bottom:0;align-items:flex-end;justify-content:flex-end}:host([position="top-left"]),:host([position="top-right"]),:host([position="top-centre"]){top:0;align-items:flex-start;justify-content:flex-start}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host([position="top-centre"]){top:0;left:50%;align-items:center;justify-content:flex-start;transform:translateX(-50%)}:host([position="top-left"]){top:0;left:0;align-items:flex-start;justify-content:flex-start}:host([position="top-right"]){top:0;right:0;align-items:flex-end;justify-content:flex-start}:host([position="bottom-centre"]){bottom:0;left:50%;align-items:center;justify-content:flex-end;transform:translateX(-50%)}:host([position="bottom-right"]){right:0;bottom:0;align-items:flex-end;justify-content:flex-end}:host([position="bottom-left"]){bottom:0;left:0;align-items:flex-start;justify-content:flex-end}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}';const e=n;const a=class{constructor(o){t(this,o);this.position=i.TOP_RIGHT;this.newestontop=true}watchPropNewestontop(t){this.hostElement.append(...this.notificationArray.reverse());if(t){this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler)}else{this.hostElement.shadowRoot.removeEventListener("slotchange",this.slotChangeHandler)}}componentWillLoad(){if(this.newestontop){this.handleNewestOnTop()}}handleNewestOnTop(){this.notificationArray=Array.from(this.hostElement.children);this.hostElement.append(...this.notificationArray.reverse());this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler.bind(this))}slotChangeHandler(){const t=Array.from(this.hostElement.children).filter((t=>!this.notificationArray.includes(t)));if(t){t.forEach((t=>{this.notificationArray.push(t);const o=t;t.remove();this.hostElement.prepend(o)}))}}render(){return o("slot",{key:"a40d72d8809dbf05ddce6a05fc59fd4891cd92e7",name:"toasts"})}get hostElement(){return s(this)}static get watchers(){return{newestontop:["watchPropNewestontop"]}}};a.style=e;export{a as z_toast_notification_list};
2
- //# sourceMappingURL=p-b1561f18.entry.js.map
1
+ import{r as t,h as o,g as s}from"./p-75c4a726.js";import{s as i}from"./p-137c2618.js";const n=':host{position:fixed;z-index:10000;display:flex;flex-flow:column nowrap;margin-top:calc(var(--space-unit) * 2);margin-bottom:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host([position="bottom-centre"]),:host([position="bottom-right"]),:host([position="bottom-left"]){bottom:0;align-items:flex-end;justify-content:flex-end}:host([position="top-left"]),:host([position="top-right"]),:host([position="top-centre"]){top:0;align-items:flex-start;justify-content:flex-start}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host([position="top-centre"]){top:0;left:50%;align-items:center;justify-content:flex-start;transform:translateX(-50%)}:host([position="top-left"]){top:0;left:0;align-items:flex-start;justify-content:flex-start}:host([position="top-right"]){top:0;right:0;align-items:flex-end;justify-content:flex-start}:host([position="bottom-centre"]){bottom:0;left:50%;align-items:center;justify-content:flex-end;transform:translateX(-50%)}:host([position="bottom-right"]){right:0;bottom:0;align-items:flex-end;justify-content:flex-end}:host([position="bottom-left"]){bottom:0;left:0;align-items:flex-start;justify-content:flex-end}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}';const e=n;const a=class{constructor(o){t(this,o);this.position=i.TOP_RIGHT;this.newestontop=true}watchPropNewestontop(t){this.hostElement.append(...this.notificationArray.reverse());if(t){this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler)}else{this.hostElement.shadowRoot.removeEventListener("slotchange",this.slotChangeHandler)}}componentWillLoad(){if(this.newestontop){this.handleNewestOnTop()}}handleNewestOnTop(){this.notificationArray=Array.from(this.hostElement.children);this.hostElement.append(...this.notificationArray.reverse());this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler.bind(this))}slotChangeHandler(){const t=Array.from(this.hostElement.children).filter((t=>!this.notificationArray.includes(t)));if(t){t.forEach((t=>{this.notificationArray.push(t);const o=t;t.remove();this.hostElement.prepend(o)}))}}render(){return o("slot",{key:"be2523fdc92c4f08670a086cd86a55c4948129b2",name:"toasts"})}get hostElement(){return s(this)}static get watchers(){return{newestontop:["watchPropNewestontop"]}}};a.style=e;export{a as z_toast_notification_list};
2
+ //# sourceMappingURL=p-5123ff9e.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as a}from"./p-75c4a726.js";import{f as n}from"./p-dfcf9936.js";const r="input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}:host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-default-error);background-color:var(--color-inverse-error);border-radius:4px}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";const o=r;const s=class{constructor(a){t(this,a);this.otpChange=i(this,"otpChange",7);this.inputNum=6;this.status=undefined;this.message=undefined}emitInputChange(t){this.otpChange.emit({value:t})}componentWillLoad(){this.otp=[...Array(this.inputNum)];this.otpRef=[...Array(this.inputNum)]}render(){return a("div",{key:"7cdafff5e25f865f60e24c543f6bb6a1f7cf99d1",class:"otp-container"},a("div",{key:"5240bc35e4831a02c716d061ba17d40da8d4fa38",class:"digits-container"},this.otp.map(((t,i)=>a("input",{class:this.status==n.ERROR?"error":null,onKeyDown:t=>{if(t.keyCode>47){this.otpRef[i].value=""}},onKeyUp:t=>{if(t.keyCode>47){i<this.inputNum-1&&this.otpRef[i+1].focus()}},onInput:t=>{this.otp[i]=t.target.value;this.emitInputChange(this.otp.join(""))},type:"text",minlength:"1",maxlength:"1",autoComplete:"off",ref:t=>this.otpRef[i]=t})))),a("z-input-message",{key:"5f1a3db554221dd987e9550502af92d0bafdb7ff",message:this.message,status:this.status}))}};s.style=o;export{s as z_otp};
2
- //# sourceMappingURL=p-d9592fa6.entry.js.map
1
+ import{r as t,c as i,h as a}from"./p-75c4a726.js";import{f as n}from"./p-137c2618.js";const r="input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}:host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-default-error);background-color:var(--color-inverse-error);border-radius:4px}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";const o=r;const s=class{constructor(a){t(this,a);this.otpChange=i(this,"otpChange",7);this.inputNum=6;this.status=undefined;this.message=undefined}emitInputChange(t){this.otpChange.emit({value:t})}componentWillLoad(){this.otp=[...Array(this.inputNum)];this.otpRef=[...Array(this.inputNum)]}render(){return a("div",{key:"b40a4c7095f23a0c7cbafc924172ab1a3b304854",class:"otp-container"},a("div",{key:"85107cd10596d048e34e84caa472fa8ceb7d0994",class:"digits-container"},this.otp.map(((t,i)=>a("input",{class:this.status==n.ERROR?"error":null,onKeyDown:t=>{if(t.keyCode>47){this.otpRef[i].value=""}},onKeyUp:t=>{if(t.keyCode>47){i<this.inputNum-1&&this.otpRef[i+1].focus()}},onInput:t=>{this.otp[i]=t.target.value;this.emitInputChange(this.otp.join(""))},type:"text",minlength:"1",maxlength:"1",autoComplete:"off",ref:t=>this.otpRef[i]=t})))),a("z-input-message",{key:"0c47a139f060381bca154d5b232a84c597da4da6",message:this.message,status:this.status}))}};s.style=o;export{s as z_otp};
2
+ //# sourceMappingURL=p-512a8f43.entry.js.map