@zanichelli/zanichelli-it-frontend-kit 0.0.1-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1219) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +30 -0
  3. package/dist/cjs/_commonjsHelpers-CFO10eej.js +10 -0
  4. package/dist/cjs/_commonjsHelpers-CFO10eej.js.map +1 -0
  5. package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
  6. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
  7. package/dist/cjs/breakpoints-B7vFm-3T.js +12 -0
  8. package/dist/cjs/breakpoints-B7vFm-3T.js.map +1 -0
  9. package/dist/cjs/index-B_IQfJ7S.js +1967 -0
  10. package/dist/cjs/index-B_IQfJ7S.js.map +1 -0
  11. package/dist/cjs/index-GMHChntS.js +350 -0
  12. package/dist/cjs/index-GMHChntS.js.map +1 -0
  13. package/dist/cjs/index.cjs.js +12 -0
  14. package/dist/cjs/index.cjs.js.map +1 -0
  15. package/dist/cjs/loader.cjs.js +16 -0
  16. package/dist/cjs/loader.cjs.js.map +1 -0
  17. package/dist/cjs/utils-ByqSbvpv.js +2721 -0
  18. package/dist/cjs/utils-ByqSbvpv.js.map +1 -0
  19. package/dist/cjs/utils-KpWnWsPi.js +114 -0
  20. package/dist/cjs/utils-KpWnWsPi.js.map +1 -0
  21. package/dist/cjs/z-accordion.cjs.entry.js +52 -0
  22. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -0
  23. package/dist/cjs/z-accordion.entry.cjs.js.map +1 -0
  24. package/dist/cjs/z-alert.cjs.entry.js +21 -0
  25. package/dist/cjs/z-alert.cjs.entry.js.map +1 -0
  26. package/dist/cjs/z-alert.entry.cjs.js.map +1 -0
  27. package/dist/cjs/z-anchor-navigation.cjs.entry.js +53 -0
  28. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -0
  29. package/dist/cjs/z-anchor-navigation.entry.cjs.js.map +1 -0
  30. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +156 -0
  31. package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -0
  32. package/dist/cjs/z-app-header-deprecated.entry.cjs.js.map +1 -0
  33. package/dist/cjs/z-app-header.cjs.entry.js +268 -0
  34. package/dist/cjs/z-app-header.cjs.entry.js.map +1 -0
  35. package/dist/cjs/z-app-header.entry.cjs.js.map +1 -0
  36. package/dist/cjs/z-aria-alert.cjs.entry.js +19 -0
  37. package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -0
  38. package/dist/cjs/z-aria-alert.entry.cjs.js.map +1 -0
  39. package/dist/cjs/z-avatar.cjs.entry.js +44 -0
  40. package/dist/cjs/z-avatar.cjs.entry.js.map +1 -0
  41. package/dist/cjs/z-avatar.entry.cjs.js.map +1 -0
  42. package/dist/cjs/z-book-card-app.cjs.entry.js +41 -0
  43. package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -0
  44. package/dist/cjs/z-book-card-app.entry.cjs.js.map +1 -0
  45. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +136 -0
  46. package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -0
  47. package/dist/cjs/z-book-card-deprecated.entry.cjs.js.map +1 -0
  48. package/dist/cjs/z-book-card.cjs.entry.js +82 -0
  49. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -0
  50. package/dist/cjs/z-book-card.entry.cjs.js.map +1 -0
  51. package/dist/cjs/z-breadcrumb.cjs.entry.js +226 -0
  52. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -0
  53. package/dist/cjs/z-breadcrumb.entry.cjs.js.map +1 -0
  54. package/dist/cjs/z-button-sort.cjs.entry.js +54 -0
  55. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -0
  56. package/dist/cjs/z-button-sort.entry.cjs.js.map +1 -0
  57. package/dist/cjs/z-button.z-icon.z-logo.zanit-menubar.zanit-mobile-menubar.entry.cjs.js.map +1 -0
  58. package/dist/cjs/z-button_5.cjs.entry.js +1614 -0
  59. package/dist/cjs/z-button_5.cjs.entry.js.map +1 -0
  60. package/dist/cjs/z-card.cjs.entry.js +55 -0
  61. package/dist/cjs/z-card.cjs.entry.js.map +1 -0
  62. package/dist/cjs/z-card.entry.cjs.js.map +1 -0
  63. package/dist/cjs/z-carousel.cjs.entry.js +182 -0
  64. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -0
  65. package/dist/cjs/z-carousel.entry.cjs.js.map +1 -0
  66. package/dist/cjs/z-chip.cjs.entry.js +32 -0
  67. package/dist/cjs/z-chip.cjs.entry.js.map +1 -0
  68. package/dist/cjs/z-chip.entry.cjs.js.map +1 -0
  69. package/dist/cjs/z-combobox.cjs.entry.js +276 -0
  70. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -0
  71. package/dist/cjs/z-combobox.entry.cjs.js.map +1 -0
  72. package/dist/cjs/z-cover-hero.cjs.entry.js +46 -0
  73. package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -0
  74. package/dist/cjs/z-cover-hero.entry.cjs.js.map +1 -0
  75. package/dist/cjs/z-date-picker.cjs.entry.js +494 -0
  76. package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -0
  77. package/dist/cjs/z-date-picker.entry.cjs.js.map +1 -0
  78. package/dist/cjs/z-divider.z-list-element.entry.cjs.js.map +1 -0
  79. package/dist/cjs/z-divider_2.cjs.entry.js +151 -0
  80. package/dist/cjs/z-divider_2.cjs.entry.js.map +1 -0
  81. package/dist/cjs/z-dragdrop-area.z-modal.entry.cjs.js.map +1 -0
  82. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1038 -0
  83. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -0
  84. package/dist/cjs/z-file-upload.cjs.entry.js +190 -0
  85. package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -0
  86. package/dist/cjs/z-file-upload.entry.cjs.js.map +1 -0
  87. package/dist/cjs/z-file.cjs.entry.js +51 -0
  88. package/dist/cjs/z-file.cjs.entry.js.map +1 -0
  89. package/dist/cjs/z-file.entry.cjs.js.map +1 -0
  90. package/dist/cjs/z-ghost-loading.cjs.entry.js +20 -0
  91. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -0
  92. package/dist/cjs/z-ghost-loading.entry.cjs.js.map +1 -0
  93. package/dist/cjs/z-info-box.cjs.entry.js +26 -0
  94. package/dist/cjs/z-info-box.cjs.entry.js.map +1 -0
  95. package/dist/cjs/z-info-box.entry.cjs.js.map +1 -0
  96. package/dist/cjs/z-info-reveal.cjs.entry.js +63 -0
  97. package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -0
  98. package/dist/cjs/z-info-reveal.entry.cjs.js.map +1 -0
  99. package/dist/cjs/z-input.z-input-message.entry.cjs.js.map +1 -0
  100. package/dist/cjs/z-input_2.cjs.entry.js +315 -0
  101. package/dist/cjs/z-input_2.cjs.entry.js.map +1 -0
  102. package/dist/cjs/z-list.z-list-group.z-tag.entry.cjs.js.map +1 -0
  103. package/dist/cjs/z-list_3.cjs.entry.js +93 -0
  104. package/dist/cjs/z-list_3.cjs.entry.js.map +1 -0
  105. package/dist/cjs/z-menu-deprecated.cjs.entry.js +113 -0
  106. package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +1 -0
  107. package/dist/cjs/z-menu-deprecated.entry.cjs.js.map +1 -0
  108. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +58 -0
  109. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +1 -0
  110. package/dist/cjs/z-menu-section-deprecated.entry.cjs.js.map +1 -0
  111. package/dist/cjs/z-menu-section.cjs.entry.js +193 -0
  112. package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -0
  113. package/dist/cjs/z-menu-section.entry.cjs.js.map +1 -0
  114. package/dist/cjs/z-menu.cjs.entry.js +319 -0
  115. package/dist/cjs/z-menu.cjs.entry.js.map +1 -0
  116. package/dist/cjs/z-menu.entry.cjs.js.map +1 -0
  117. package/dist/cjs/z-myz-card-alert.cjs.entry.js +68 -0
  118. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -0
  119. package/dist/cjs/z-myz-card-alert.entry.cjs.js.map +1 -0
  120. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +35 -0
  121. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -0
  122. package/dist/cjs/z-myz-card-dictionary.entry.cjs.js.map +1 -0
  123. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +20 -0
  124. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +1 -0
  125. package/dist/cjs/z-myz-card-footer-sections.entry.cjs.js.map +1 -0
  126. package/dist/cjs/z-myz-card-footer.cjs.entry.js +73 -0
  127. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -0
  128. package/dist/cjs/z-myz-card-footer.entry.cjs.js.map +1 -0
  129. package/dist/cjs/z-myz-card-icon.cjs.entry.js +23 -0
  130. package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +1 -0
  131. package/dist/cjs/z-myz-card-icon.entry.cjs.js.map +1 -0
  132. package/dist/cjs/z-myz-card-info.cjs.entry.js +130 -0
  133. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -0
  134. package/dist/cjs/z-myz-card-info.entry.cjs.js.map +1 -0
  135. package/dist/cjs/z-myz-card-list.cjs.entry.js +40 -0
  136. package/dist/cjs/z-myz-card-list.cjs.entry.js.map +1 -0
  137. package/dist/cjs/z-myz-card-list.entry.cjs.js.map +1 -0
  138. package/dist/cjs/z-myz-card.z-myz-card-body.z-myz-card-cover.z-myz-card-header.entry.cjs.js.map +1 -0
  139. package/dist/cjs/z-myz-card_4.cjs.entry.js +116 -0
  140. package/dist/cjs/z-myz-card_4.cjs.entry.js.map +1 -0
  141. package/dist/cjs/z-myz-list-item.cjs.entry.js +41 -0
  142. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -0
  143. package/dist/cjs/z-myz-list-item.entry.cjs.js.map +1 -0
  144. package/dist/cjs/z-myz-list.cjs.entry.js +38 -0
  145. package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -0
  146. package/dist/cjs/z-myz-list.entry.cjs.js.map +1 -0
  147. package/dist/cjs/z-navigation-tabs.cjs.entry.js +227 -0
  148. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -0
  149. package/dist/cjs/z-navigation-tabs.entry.cjs.js.map +1 -0
  150. package/dist/cjs/z-notification.cjs.entry.js +39 -0
  151. package/dist/cjs/z-notification.cjs.entry.js.map +1 -0
  152. package/dist/cjs/z-notification.entry.cjs.js.map +1 -0
  153. package/dist/cjs/z-offcanvas.z-searchbar.entry.cjs.js.map +1 -0
  154. package/dist/cjs/z-offcanvas_2.cjs.entry.js +384 -0
  155. package/dist/cjs/z-offcanvas_2.cjs.entry.js.map +1 -0
  156. package/dist/cjs/z-otp.cjs.entry.js +43 -0
  157. package/dist/cjs/z-otp.cjs.entry.js.map +1 -0
  158. package/dist/cjs/z-otp.entry.cjs.js.map +1 -0
  159. package/dist/cjs/z-pagination.cjs.entry.js +223 -0
  160. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -0
  161. package/dist/cjs/z-pagination.entry.cjs.js.map +1 -0
  162. package/dist/cjs/z-panel-elem.cjs.entry.js +35 -0
  163. package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -0
  164. package/dist/cjs/z-panel-elem.entry.cjs.js.map +1 -0
  165. package/dist/cjs/z-popover.cjs.entry.js +317 -0
  166. package/dist/cjs/z-popover.cjs.entry.js.map +1 -0
  167. package/dist/cjs/z-popover.entry.cjs.js.map +1 -0
  168. package/dist/cjs/z-range-picker.cjs.entry.js +361 -0
  169. package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -0
  170. package/dist/cjs/z-range-picker.entry.cjs.js.map +1 -0
  171. package/dist/cjs/z-section-title.cjs.entry.js +27 -0
  172. package/dist/cjs/z-section-title.cjs.entry.js.map +1 -0
  173. package/dist/cjs/z-section-title.entry.cjs.js.map +1 -0
  174. package/dist/cjs/z-select.cjs.entry.js +490 -0
  175. package/dist/cjs/z-select.cjs.entry.js.map +1 -0
  176. package/dist/cjs/z-select.entry.cjs.js.map +1 -0
  177. package/dist/cjs/z-skip-to-content.cjs.entry.js +74 -0
  178. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -0
  179. package/dist/cjs/z-skip-to-content.entry.cjs.js.map +1 -0
  180. package/dist/cjs/z-slideshow.cjs.entry.js +133 -0
  181. package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -0
  182. package/dist/cjs/z-slideshow.entry.cjs.js.map +1 -0
  183. package/dist/cjs/z-stepper-item.cjs.entry.js +32 -0
  184. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -0
  185. package/dist/cjs/z-stepper-item.entry.cjs.js.map +1 -0
  186. package/dist/cjs/z-stepper.cjs.entry.js +20 -0
  187. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -0
  188. package/dist/cjs/z-stepper.entry.cjs.js.map +1 -0
  189. package/dist/cjs/z-table.cjs.entry.js +54 -0
  190. package/dist/cjs/z-table.cjs.entry.js.map +1 -0
  191. package/dist/cjs/z-table.entry.cjs.js.map +1 -0
  192. package/dist/cjs/z-tbody.cjs.entry.js +20 -0
  193. package/dist/cjs/z-tbody.cjs.entry.js.map +1 -0
  194. package/dist/cjs/z-tbody.entry.cjs.js.map +1 -0
  195. package/dist/cjs/z-td.cjs.entry.js +47 -0
  196. package/dist/cjs/z-td.cjs.entry.js.map +1 -0
  197. package/dist/cjs/z-td.entry.cjs.js.map +1 -0
  198. package/dist/cjs/z-tfoot.cjs.entry.js +21 -0
  199. package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -0
  200. package/dist/cjs/z-tfoot.entry.cjs.js.map +1 -0
  201. package/dist/cjs/z-th.cjs.entry.js +67 -0
  202. package/dist/cjs/z-th.cjs.entry.js.map +1 -0
  203. package/dist/cjs/z-th.entry.cjs.js.map +1 -0
  204. package/dist/cjs/z-thead.cjs.entry.js +21 -0
  205. package/dist/cjs/z-thead.cjs.entry.js.map +1 -0
  206. package/dist/cjs/z-thead.entry.cjs.js.map +1 -0
  207. package/dist/cjs/z-toast-notification-list.cjs.entry.js +57 -0
  208. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -0
  209. package/dist/cjs/z-toast-notification-list.entry.cjs.js.map +1 -0
  210. package/dist/cjs/z-toast-notification.cjs.entry.js +2820 -0
  211. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -0
  212. package/dist/cjs/z-toast-notification.entry.cjs.js.map +1 -0
  213. package/dist/cjs/z-toggle-button.cjs.entry.js +36 -0
  214. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -0
  215. package/dist/cjs/z-toggle-button.entry.cjs.js.map +1 -0
  216. package/dist/cjs/z-toggle-switch.cjs.entry.js +48 -0
  217. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -0
  218. package/dist/cjs/z-toggle-switch.entry.cjs.js.map +1 -0
  219. package/dist/cjs/z-tooltip.cjs.entry.js +29 -0
  220. package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -0
  221. package/dist/cjs/z-tooltip.entry.cjs.js.map +1 -0
  222. package/dist/cjs/z-tr.cjs.entry.js +61 -0
  223. package/dist/cjs/z-tr.cjs.entry.js.map +1 -0
  224. package/dist/cjs/z-tr.entry.cjs.js.map +1 -0
  225. package/dist/cjs/z-tree-list.cjs.entry.js +116 -0
  226. package/dist/cjs/z-tree-list.cjs.entry.js.map +1 -0
  227. package/dist/cjs/z-tree-list.entry.cjs.js.map +1 -0
  228. package/dist/cjs/z-visually-hidden.cjs.entry.js +20 -0
  229. package/dist/cjs/z-visually-hidden.cjs.entry.js.map +1 -0
  230. package/dist/cjs/z-visually-hidden.entry.cjs.js.map +1 -0
  231. package/dist/cjs/zanichelli-it-frontend-kit.cjs.js +28 -0
  232. package/dist/cjs/zanichelli-it-frontend-kit.cjs.js.map +1 -0
  233. package/dist/collection/collection-manifest.json +100 -0
  234. package/dist/collection/components/menubar/menu/menu.css +87 -0
  235. package/dist/collection/components/menubar/menu/menu.js +34 -0
  236. package/dist/collection/components/menubar/menu/menu.js.map +1 -0
  237. package/dist/collection/components/menubar/menubar.css +187 -0
  238. package/dist/collection/components/menubar/menubar.js +508 -0
  239. package/dist/collection/components/menubar/menubar.js.map +1 -0
  240. package/dist/collection/components/menubar/mobile-menubar/mobile-menubar.css +143 -0
  241. package/dist/collection/components/menubar/mobile-menubar/mobile-menubar.js +292 -0
  242. package/dist/collection/components/menubar/mobile-menubar/mobile-menubar.js.map +1 -0
  243. package/dist/collection/index.js +11 -0
  244. package/dist/collection/index.js.map +1 -0
  245. package/dist/collection/utils/utils.js +17 -0
  246. package/dist/collection/utils/utils.js.map +1 -0
  247. package/dist/components/index.d.ts +33 -0
  248. package/dist/components/index.js +11 -0
  249. package/dist/components/index.js.map +1 -0
  250. package/dist/components/p--0ruQjLj.js +67 -0
  251. package/dist/components/p--0ruQjLj.js.map +1 -0
  252. package/dist/components/p--Z4AiqIE.js +54 -0
  253. package/dist/components/p--Z4AiqIE.js.map +1 -0
  254. package/dist/components/p-1DYWWUwe.js +1041 -0
  255. package/dist/components/p-1DYWWUwe.js.map +1 -0
  256. package/dist/components/p-B85MJLTf.js +8 -0
  257. package/dist/components/p-B85MJLTf.js.map +1 -0
  258. package/dist/components/p-BLSm2Iqv.js +110 -0
  259. package/dist/components/p-BLSm2Iqv.js.map +1 -0
  260. package/dist/components/p-BdZZ3nCA.js +34 -0
  261. package/dist/components/p-BdZZ3nCA.js.map +1 -0
  262. package/dist/components/p-Bla2iV_L.js +350 -0
  263. package/dist/components/p-Bla2iV_L.js.map +1 -0
  264. package/dist/components/p-BnlxWpkO.js +261 -0
  265. package/dist/components/p-BnlxWpkO.js.map +1 -0
  266. package/dist/components/p-BwaWGQgy.js +34 -0
  267. package/dist/components/p-BwaWGQgy.js.map +1 -0
  268. package/dist/components/p-C0jAXHRM.js +85 -0
  269. package/dist/components/p-C0jAXHRM.js.map +1 -0
  270. package/dist/components/p-C37VC5pL.js +93 -0
  271. package/dist/components/p-C37VC5pL.js.map +1 -0
  272. package/dist/components/p-C79F56iB.js +78 -0
  273. package/dist/components/p-C79F56iB.js.map +1 -0
  274. package/dist/components/p-CJkso_Ly.js +2715 -0
  275. package/dist/components/p-CJkso_Ly.js.map +1 -0
  276. package/dist/components/p-CVdIKwxq.js +37 -0
  277. package/dist/components/p-CVdIKwxq.js.map +1 -0
  278. package/dist/components/p-CjYpA4EJ.js +46 -0
  279. package/dist/components/p-CjYpA4EJ.js.map +1 -0
  280. package/dist/components/p-Cm3Hcr2i.js +57 -0
  281. package/dist/components/p-Cm3Hcr2i.js.map +1 -0
  282. package/dist/components/p-CoyJoo-Q.js +64 -0
  283. package/dist/components/p-CoyJoo-Q.js.map +1 -0
  284. package/dist/components/p-D6oPathC.js +104 -0
  285. package/dist/components/p-D6oPathC.js.map +1 -0
  286. package/dist/components/p-DFx72tO8.js +66 -0
  287. package/dist/components/p-DFx72tO8.js.map +1 -0
  288. package/dist/components/p-DTu9qk5c.js +34 -0
  289. package/dist/components/p-DTu9qk5c.js.map +1 -0
  290. package/dist/components/p-DX_drPpd.js +75 -0
  291. package/dist/components/p-DX_drPpd.js.map +1 -0
  292. package/dist/components/p-DexdQ2O9.js +988 -0
  293. package/dist/components/p-DexdQ2O9.js.map +1 -0
  294. package/dist/components/p-DnbQxkNk.js +63 -0
  295. package/dist/components/p-DnbQxkNk.js.map +1 -0
  296. package/dist/components/p-Dog_NtRb.js +67 -0
  297. package/dist/components/p-Dog_NtRb.js.map +1 -0
  298. package/dist/components/p-Du5IymMo.js +87 -0
  299. package/dist/components/p-Du5IymMo.js.map +1 -0
  300. package/dist/components/p-Dxu5saXC.js +1745 -0
  301. package/dist/components/p-Dxu5saXC.js.map +1 -0
  302. package/dist/components/p-KDKAI9M0.js +54 -0
  303. package/dist/components/p-KDKAI9M0.js.map +1 -0
  304. package/dist/components/p-M8sq6nYX.js +37 -0
  305. package/dist/components/p-M8sq6nYX.js.map +1 -0
  306. package/dist/components/p-Q-tWjk7P.js +12 -0
  307. package/dist/components/p-Q-tWjk7P.js.map +1 -0
  308. package/dist/components/p-ZsHngv6X.js +37 -0
  309. package/dist/components/p-ZsHngv6X.js.map +1 -0
  310. package/dist/components/p-fkdKSkwd.js +403 -0
  311. package/dist/components/p-fkdKSkwd.js.map +1 -0
  312. package/dist/components/p-k1oALiEe.js +104 -0
  313. package/dist/components/p-k1oALiEe.js.map +1 -0
  314. package/dist/components/p-nUV6IonK.js +46 -0
  315. package/dist/components/p-nUV6IonK.js.map +1 -0
  316. package/dist/components/p-uWp7Cs9b.js +341 -0
  317. package/dist/components/p-uWp7Cs9b.js.map +1 -0
  318. package/dist/components/p-vUB-94eM.js +41 -0
  319. package/dist/components/p-vUB-94eM.js.map +1 -0
  320. package/dist/components/p-vqNYJq21.js +179 -0
  321. package/dist/components/p-vqNYJq21.js.map +1 -0
  322. package/dist/components/p-wdrm-LLt.js +342 -0
  323. package/dist/components/p-wdrm-LLt.js.map +1 -0
  324. package/dist/components/z-accordion.js +86 -0
  325. package/dist/components/z-accordion.js.map +1 -0
  326. package/dist/components/z-alert.js +9 -0
  327. package/dist/components/z-alert.js.map +1 -0
  328. package/dist/components/z-anchor-navigation.js +86 -0
  329. package/dist/components/z-anchor-navigation.js.map +1 -0
  330. package/dist/components/z-app-header-deprecated.js +256 -0
  331. package/dist/components/z-app-header-deprecated.js.map +1 -0
  332. package/dist/components/z-app-header.js +368 -0
  333. package/dist/components/z-app-header.js.map +1 -0
  334. package/dist/components/z-aria-alert.js +37 -0
  335. package/dist/components/z-aria-alert.js.map +1 -0
  336. package/dist/components/z-avatar.js +67 -0
  337. package/dist/components/z-avatar.js.map +1 -0
  338. package/dist/components/z-book-card-app.js +76 -0
  339. package/dist/components/z-book-card-app.js.map +1 -0
  340. package/dist/components/z-book-card-deprecated.js +176 -0
  341. package/dist/components/z-book-card-deprecated.js.map +1 -0
  342. package/dist/components/z-book-card.js +123 -0
  343. package/dist/components/z-book-card.js.map +1 -0
  344. package/dist/components/z-breadcrumb.js +291 -0
  345. package/dist/components/z-breadcrumb.js.map +1 -0
  346. package/dist/components/z-button-sort.js +87 -0
  347. package/dist/components/z-button-sort.js.map +1 -0
  348. package/dist/components/z-button.js +9 -0
  349. package/dist/components/z-button.js.map +1 -0
  350. package/dist/components/z-card.js +84 -0
  351. package/dist/components/z-card.js.map +1 -0
  352. package/dist/components/z-carousel.js +235 -0
  353. package/dist/components/z-carousel.js.map +1 -0
  354. package/dist/components/z-chip.js +9 -0
  355. package/dist/components/z-chip.js.map +1 -0
  356. package/dist/components/z-combobox.js +356 -0
  357. package/dist/components/z-combobox.js.map +1 -0
  358. package/dist/components/z-cover-hero.js +67 -0
  359. package/dist/components/z-cover-hero.js.map +1 -0
  360. package/dist/components/z-date-picker.js +539 -0
  361. package/dist/components/z-date-picker.js.map +1 -0
  362. package/dist/components/z-divider.js +9 -0
  363. package/dist/components/z-divider.js.map +1 -0
  364. package/dist/components/z-dragdrop-area.js +9 -0
  365. package/dist/components/z-dragdrop-area.js.map +1 -0
  366. package/dist/components/z-file-upload.js +254 -0
  367. package/dist/components/z-file-upload.js.map +1 -0
  368. package/dist/components/z-file.js +90 -0
  369. package/dist/components/z-file.js.map +1 -0
  370. package/dist/components/z-ghost-loading.js +9 -0
  371. package/dist/components/z-ghost-loading.js.map +1 -0
  372. package/dist/components/z-icon.js +9 -0
  373. package/dist/components/z-icon.js.map +1 -0
  374. package/dist/components/z-info-box.js +52 -0
  375. package/dist/components/z-info-box.js.map +1 -0
  376. package/dist/components/z-info-reveal.js +9 -0
  377. package/dist/components/z-info-reveal.js.map +1 -0
  378. package/dist/components/z-input-message.js +9 -0
  379. package/dist/components/z-input-message.js.map +1 -0
  380. package/dist/components/z-input.js +9 -0
  381. package/dist/components/z-input.js.map +1 -0
  382. package/dist/components/z-list-element.js +9 -0
  383. package/dist/components/z-list-element.js.map +1 -0
  384. package/dist/components/z-list-group.js +9 -0
  385. package/dist/components/z-list-group.js.map +1 -0
  386. package/dist/components/z-list.js +9 -0
  387. package/dist/components/z-list.js.map +1 -0
  388. package/dist/components/z-logo.js +9 -0
  389. package/dist/components/z-logo.js.map +1 -0
  390. package/dist/components/z-menu-deprecated.js +145 -0
  391. package/dist/components/z-menu-deprecated.js.map +1 -0
  392. package/dist/components/z-menu-section-deprecated.js +85 -0
  393. package/dist/components/z-menu-section-deprecated.js.map +1 -0
  394. package/dist/components/z-menu-section.js +227 -0
  395. package/dist/components/z-menu-section.js.map +1 -0
  396. package/dist/components/z-menu.js +354 -0
  397. package/dist/components/z-menu.js.map +1 -0
  398. package/dist/components/z-modal.js +9 -0
  399. package/dist/components/z-modal.js.map +1 -0
  400. package/dist/components/z-myz-card-alert.js +102 -0
  401. package/dist/components/z-myz-card-alert.js.map +1 -0
  402. package/dist/components/z-myz-card-body.js +9 -0
  403. package/dist/components/z-myz-card-body.js.map +1 -0
  404. package/dist/components/z-myz-card-cover.js +9 -0
  405. package/dist/components/z-myz-card-cover.js.map +1 -0
  406. package/dist/components/z-myz-card-dictionary.js +95 -0
  407. package/dist/components/z-myz-card-dictionary.js.map +1 -0
  408. package/dist/components/z-myz-card-footer-sections.js +37 -0
  409. package/dist/components/z-myz-card-footer-sections.js.map +1 -0
  410. package/dist/components/z-myz-card-footer.js +100 -0
  411. package/dist/components/z-myz-card-footer.js.map +1 -0
  412. package/dist/components/z-myz-card-header.js +9 -0
  413. package/dist/components/z-myz-card-header.js.map +1 -0
  414. package/dist/components/z-myz-card-icon.js +50 -0
  415. package/dist/components/z-myz-card-icon.js.map +1 -0
  416. package/dist/components/z-myz-card-info.js +163 -0
  417. package/dist/components/z-myz-card-info.js.map +1 -0
  418. package/dist/components/z-myz-card-list.js +59 -0
  419. package/dist/components/z-myz-card-list.js.map +1 -0
  420. package/dist/components/z-myz-card.js +9 -0
  421. package/dist/components/z-myz-card.js.map +1 -0
  422. package/dist/components/z-myz-list-item.js +9 -0
  423. package/dist/components/z-myz-list-item.js.map +1 -0
  424. package/dist/components/z-myz-list.js +72 -0
  425. package/dist/components/z-myz-list.js.map +1 -0
  426. package/dist/components/z-navigation-tabs.js +260 -0
  427. package/dist/components/z-navigation-tabs.js.map +1 -0
  428. package/dist/components/z-notification.js +69 -0
  429. package/dist/components/z-notification.js.map +1 -0
  430. package/dist/components/z-offcanvas.js +9 -0
  431. package/dist/components/z-offcanvas.js.map +1 -0
  432. package/dist/components/z-otp.js +76 -0
  433. package/dist/components/z-otp.js.map +1 -0
  434. package/dist/components/z-pagination.js +281 -0
  435. package/dist/components/z-pagination.js.map +1 -0
  436. package/dist/components/z-panel-elem.js +67 -0
  437. package/dist/components/z-panel-elem.js.map +1 -0
  438. package/dist/components/z-popover.js +9 -0
  439. package/dist/components/z-popover.js.map +1 -0
  440. package/dist/components/z-range-picker.js +414 -0
  441. package/dist/components/z-range-picker.js.map +1 -0
  442. package/dist/components/z-searchbar.js +9 -0
  443. package/dist/components/z-searchbar.js.map +1 -0
  444. package/dist/components/z-section-title.js +53 -0
  445. package/dist/components/z-section-title.js.map +1 -0
  446. package/dist/components/z-select.js +582 -0
  447. package/dist/components/z-select.js.map +1 -0
  448. package/dist/components/z-skip-to-content.js +94 -0
  449. package/dist/components/z-skip-to-content.js.map +1 -0
  450. package/dist/components/z-slideshow.js +162 -0
  451. package/dist/components/z-slideshow.js.map +1 -0
  452. package/dist/components/z-stepper-item.js +61 -0
  453. package/dist/components/z-stepper-item.js.map +1 -0
  454. package/dist/components/z-stepper.js +37 -0
  455. package/dist/components/z-stepper.js.map +1 -0
  456. package/dist/components/z-table.js +69 -0
  457. package/dist/components/z-table.js.map +1 -0
  458. package/dist/components/z-tag.js +9 -0
  459. package/dist/components/z-tag.js.map +1 -0
  460. package/dist/components/z-tbody.js +9 -0
  461. package/dist/components/z-tbody.js.map +1 -0
  462. package/dist/components/z-td.js +9 -0
  463. package/dist/components/z-td.js.map +1 -0
  464. package/dist/components/z-tfoot.js +9 -0
  465. package/dist/components/z-tfoot.js.map +1 -0
  466. package/dist/components/z-th.js +9 -0
  467. package/dist/components/z-th.js.map +1 -0
  468. package/dist/components/z-thead.js +9 -0
  469. package/dist/components/z-thead.js.map +1 -0
  470. package/dist/components/z-toast-notification-list.js +79 -0
  471. package/dist/components/z-toast-notification-list.js.map +1 -0
  472. package/dist/components/z-toast-notification.js +2858 -0
  473. package/dist/components/z-toast-notification.js.map +1 -0
  474. package/dist/components/z-toggle-button.js +65 -0
  475. package/dist/components/z-toggle-button.js.map +1 -0
  476. package/dist/components/z-toggle-switch.js +74 -0
  477. package/dist/components/z-toggle-switch.js.map +1 -0
  478. package/dist/components/z-tooltip.js +58 -0
  479. package/dist/components/z-tooltip.js.map +1 -0
  480. package/dist/components/z-tr.js +9 -0
  481. package/dist/components/z-tr.js.map +1 -0
  482. package/dist/components/z-tree-list.js +163 -0
  483. package/dist/components/z-tree-list.js.map +1 -0
  484. package/dist/components/z-visually-hidden.js +37 -0
  485. package/dist/components/z-visually-hidden.js.map +1 -0
  486. package/dist/components/zanit-menubar.d.ts +11 -0
  487. package/dist/components/zanit-menubar.js +420 -0
  488. package/dist/components/zanit-menubar.js.map +1 -0
  489. package/dist/components/zanit-mobile-menubar.d.ts +11 -0
  490. package/dist/components/zanit-mobile-menubar.js +9 -0
  491. package/dist/components/zanit-mobile-menubar.js.map +1 -0
  492. package/dist/esm/_commonjsHelpers-B85MJLTf.js +8 -0
  493. package/dist/esm/_commonjsHelpers-B85MJLTf.js.map +1 -0
  494. package/dist/esm/app-globals-DQuL1Twl.js +6 -0
  495. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
  496. package/dist/esm/breakpoints-Q-tWjk7P.js +12 -0
  497. package/dist/esm/breakpoints-Q-tWjk7P.js.map +1 -0
  498. package/dist/esm/index-B2-dCTD2.js +350 -0
  499. package/dist/esm/index-B2-dCTD2.js.map +1 -0
  500. package/dist/esm/index-Cam6wBSi.js +1957 -0
  501. package/dist/esm/index-Cam6wBSi.js.map +1 -0
  502. package/dist/esm/index.js +9 -0
  503. package/dist/esm/index.js.map +1 -0
  504. package/dist/esm/loader.js +14 -0
  505. package/dist/esm/loader.js.map +1 -0
  506. package/dist/esm/utils-CNUNJl55.js +2715 -0
  507. package/dist/esm/utils-CNUNJl55.js.map +1 -0
  508. package/dist/esm/utils-GdAsGfFX.js +104 -0
  509. package/dist/esm/utils-GdAsGfFX.js.map +1 -0
  510. package/dist/esm/z-accordion.entry.js +50 -0
  511. package/dist/esm/z-accordion.entry.js.map +1 -0
  512. package/dist/esm/z-alert.entry.js +19 -0
  513. package/dist/esm/z-alert.entry.js.map +1 -0
  514. package/dist/esm/z-anchor-navigation.entry.js +51 -0
  515. package/dist/esm/z-anchor-navigation.entry.js.map +1 -0
  516. package/dist/esm/z-app-header-deprecated.entry.js +154 -0
  517. package/dist/esm/z-app-header-deprecated.entry.js.map +1 -0
  518. package/dist/esm/z-app-header.entry.js +266 -0
  519. package/dist/esm/z-app-header.entry.js.map +1 -0
  520. package/dist/esm/z-aria-alert.entry.js +17 -0
  521. package/dist/esm/z-aria-alert.entry.js.map +1 -0
  522. package/dist/esm/z-avatar.entry.js +42 -0
  523. package/dist/esm/z-avatar.entry.js.map +1 -0
  524. package/dist/esm/z-book-card-app.entry.js +39 -0
  525. package/dist/esm/z-book-card-app.entry.js.map +1 -0
  526. package/dist/esm/z-book-card-deprecated.entry.js +134 -0
  527. package/dist/esm/z-book-card-deprecated.entry.js.map +1 -0
  528. package/dist/esm/z-book-card.entry.js +80 -0
  529. package/dist/esm/z-book-card.entry.js.map +1 -0
  530. package/dist/esm/z-breadcrumb.entry.js +224 -0
  531. package/dist/esm/z-breadcrumb.entry.js.map +1 -0
  532. package/dist/esm/z-button-sort.entry.js +52 -0
  533. package/dist/esm/z-button-sort.entry.js.map +1 -0
  534. package/dist/esm/z-button.z-icon.z-logo.zanit-menubar.zanit-mobile-menubar.entry.js.map +1 -0
  535. package/dist/esm/z-button_5.entry.js +1608 -0
  536. package/dist/esm/z-button_5.entry.js.map +1 -0
  537. package/dist/esm/z-card.entry.js +53 -0
  538. package/dist/esm/z-card.entry.js.map +1 -0
  539. package/dist/esm/z-carousel.entry.js +180 -0
  540. package/dist/esm/z-carousel.entry.js.map +1 -0
  541. package/dist/esm/z-chip.entry.js +30 -0
  542. package/dist/esm/z-chip.entry.js.map +1 -0
  543. package/dist/esm/z-combobox.entry.js +274 -0
  544. package/dist/esm/z-combobox.entry.js.map +1 -0
  545. package/dist/esm/z-cover-hero.entry.js +44 -0
  546. package/dist/esm/z-cover-hero.entry.js.map +1 -0
  547. package/dist/esm/z-date-picker.entry.js +492 -0
  548. package/dist/esm/z-date-picker.entry.js.map +1 -0
  549. package/dist/esm/z-divider.z-list-element.entry.js.map +1 -0
  550. package/dist/esm/z-divider_2.entry.js +148 -0
  551. package/dist/esm/z-divider_2.entry.js.map +1 -0
  552. package/dist/esm/z-dragdrop-area.z-modal.entry.js.map +1 -0
  553. package/dist/esm/z-dragdrop-area_2.entry.js +1035 -0
  554. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -0
  555. package/dist/esm/z-file-upload.entry.js +188 -0
  556. package/dist/esm/z-file-upload.entry.js.map +1 -0
  557. package/dist/esm/z-file.entry.js +49 -0
  558. package/dist/esm/z-file.entry.js.map +1 -0
  559. package/dist/esm/z-ghost-loading.entry.js +18 -0
  560. package/dist/esm/z-ghost-loading.entry.js.map +1 -0
  561. package/dist/esm/z-info-box.entry.js +24 -0
  562. package/dist/esm/z-info-box.entry.js.map +1 -0
  563. package/dist/esm/z-info-reveal.entry.js +61 -0
  564. package/dist/esm/z-info-reveal.entry.js.map +1 -0
  565. package/dist/esm/z-input.z-input-message.entry.js.map +1 -0
  566. package/dist/esm/z-input_2.entry.js +312 -0
  567. package/dist/esm/z-input_2.entry.js.map +1 -0
  568. package/dist/esm/z-list.z-list-group.z-tag.entry.js.map +1 -0
  569. package/dist/esm/z-list_3.entry.js +89 -0
  570. package/dist/esm/z-list_3.entry.js.map +1 -0
  571. package/dist/esm/z-menu-deprecated.entry.js +111 -0
  572. package/dist/esm/z-menu-deprecated.entry.js.map +1 -0
  573. package/dist/esm/z-menu-section-deprecated.entry.js +56 -0
  574. package/dist/esm/z-menu-section-deprecated.entry.js.map +1 -0
  575. package/dist/esm/z-menu-section.entry.js +191 -0
  576. package/dist/esm/z-menu-section.entry.js.map +1 -0
  577. package/dist/esm/z-menu.entry.js +317 -0
  578. package/dist/esm/z-menu.entry.js.map +1 -0
  579. package/dist/esm/z-myz-card-alert.entry.js +66 -0
  580. package/dist/esm/z-myz-card-alert.entry.js.map +1 -0
  581. package/dist/esm/z-myz-card-dictionary.entry.js +33 -0
  582. package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -0
  583. package/dist/esm/z-myz-card-footer-sections.entry.js +18 -0
  584. package/dist/esm/z-myz-card-footer-sections.entry.js.map +1 -0
  585. package/dist/esm/z-myz-card-footer.entry.js +71 -0
  586. package/dist/esm/z-myz-card-footer.entry.js.map +1 -0
  587. package/dist/esm/z-myz-card-icon.entry.js +21 -0
  588. package/dist/esm/z-myz-card-icon.entry.js.map +1 -0
  589. package/dist/esm/z-myz-card-info.entry.js +128 -0
  590. package/dist/esm/z-myz-card-info.entry.js.map +1 -0
  591. package/dist/esm/z-myz-card-list.entry.js +38 -0
  592. package/dist/esm/z-myz-card-list.entry.js.map +1 -0
  593. package/dist/esm/z-myz-card.z-myz-card-body.z-myz-card-cover.z-myz-card-header.entry.js.map +1 -0
  594. package/dist/esm/z-myz-card_4.entry.js +111 -0
  595. package/dist/esm/z-myz-card_4.entry.js.map +1 -0
  596. package/dist/esm/z-myz-list-item.entry.js +39 -0
  597. package/dist/esm/z-myz-list-item.entry.js.map +1 -0
  598. package/dist/esm/z-myz-list.entry.js +36 -0
  599. package/dist/esm/z-myz-list.entry.js.map +1 -0
  600. package/dist/esm/z-navigation-tabs.entry.js +225 -0
  601. package/dist/esm/z-navigation-tabs.entry.js.map +1 -0
  602. package/dist/esm/z-notification.entry.js +37 -0
  603. package/dist/esm/z-notification.entry.js.map +1 -0
  604. package/dist/esm/z-offcanvas.z-searchbar.entry.js.map +1 -0
  605. package/dist/esm/z-offcanvas_2.entry.js +381 -0
  606. package/dist/esm/z-offcanvas_2.entry.js.map +1 -0
  607. package/dist/esm/z-otp.entry.js +41 -0
  608. package/dist/esm/z-otp.entry.js.map +1 -0
  609. package/dist/esm/z-pagination.entry.js +221 -0
  610. package/dist/esm/z-pagination.entry.js.map +1 -0
  611. package/dist/esm/z-panel-elem.entry.js +33 -0
  612. package/dist/esm/z-panel-elem.entry.js.map +1 -0
  613. package/dist/esm/z-popover.entry.js +315 -0
  614. package/dist/esm/z-popover.entry.js.map +1 -0
  615. package/dist/esm/z-range-picker.entry.js +359 -0
  616. package/dist/esm/z-range-picker.entry.js.map +1 -0
  617. package/dist/esm/z-section-title.entry.js +25 -0
  618. package/dist/esm/z-section-title.entry.js.map +1 -0
  619. package/dist/esm/z-select.entry.js +488 -0
  620. package/dist/esm/z-select.entry.js.map +1 -0
  621. package/dist/esm/z-skip-to-content.entry.js +72 -0
  622. package/dist/esm/z-skip-to-content.entry.js.map +1 -0
  623. package/dist/esm/z-slideshow.entry.js +131 -0
  624. package/dist/esm/z-slideshow.entry.js.map +1 -0
  625. package/dist/esm/z-stepper-item.entry.js +30 -0
  626. package/dist/esm/z-stepper-item.entry.js.map +1 -0
  627. package/dist/esm/z-stepper.entry.js +18 -0
  628. package/dist/esm/z-stepper.entry.js.map +1 -0
  629. package/dist/esm/z-table.entry.js +52 -0
  630. package/dist/esm/z-table.entry.js.map +1 -0
  631. package/dist/esm/z-tbody.entry.js +18 -0
  632. package/dist/esm/z-tbody.entry.js.map +1 -0
  633. package/dist/esm/z-td.entry.js +45 -0
  634. package/dist/esm/z-td.entry.js.map +1 -0
  635. package/dist/esm/z-tfoot.entry.js +19 -0
  636. package/dist/esm/z-tfoot.entry.js.map +1 -0
  637. package/dist/esm/z-th.entry.js +65 -0
  638. package/dist/esm/z-th.entry.js.map +1 -0
  639. package/dist/esm/z-thead.entry.js +19 -0
  640. package/dist/esm/z-thead.entry.js.map +1 -0
  641. package/dist/esm/z-toast-notification-list.entry.js +55 -0
  642. package/dist/esm/z-toast-notification-list.entry.js.map +1 -0
  643. package/dist/esm/z-toast-notification.entry.js +2818 -0
  644. package/dist/esm/z-toast-notification.entry.js.map +1 -0
  645. package/dist/esm/z-toggle-button.entry.js +34 -0
  646. package/dist/esm/z-toggle-button.entry.js.map +1 -0
  647. package/dist/esm/z-toggle-switch.entry.js +46 -0
  648. package/dist/esm/z-toggle-switch.entry.js.map +1 -0
  649. package/dist/esm/z-tooltip.entry.js +27 -0
  650. package/dist/esm/z-tooltip.entry.js.map +1 -0
  651. package/dist/esm/z-tr.entry.js +59 -0
  652. package/dist/esm/z-tr.entry.js.map +1 -0
  653. package/dist/esm/z-tree-list.entry.js +114 -0
  654. package/dist/esm/z-tree-list.entry.js.map +1 -0
  655. package/dist/esm/z-visually-hidden.entry.js +18 -0
  656. package/dist/esm/z-visually-hidden.entry.js.map +1 -0
  657. package/dist/esm/zanichelli-it-frontend-kit.js +24 -0
  658. package/dist/esm/zanichelli-it-frontend-kit.js.map +1 -0
  659. package/dist/index.cjs.js +1 -0
  660. package/dist/index.js +1 -0
  661. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/book-card/z-book-card/styles.css +202 -0
  662. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/book-card/z-book-card-app/styles.css +74 -0
  663. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/css-components/z-link/styles.css +168 -0
  664. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/date-picker/styles.css +565 -0
  665. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/deprecated/z-app-header-deprecated/styles.css +441 -0
  666. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/deprecated/z-book-card-deprecated/styles.css +486 -0
  667. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/deprecated/z-menu-deprecated/styles.css +217 -0
  668. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/deprecated/z-menu-section-deprecated/styles.css +123 -0
  669. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/deprecated/z-section-title/styles.css +45 -0
  670. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/file-upload/z-dragdrop-area/styles.css +82 -0
  671. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/file-upload/z-file/styles.css +23 -0
  672. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/file-upload/z-file-upload/styles.css +91 -0
  673. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/list/z-list/styles.css +6 -0
  674. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/list/z-list-element/styles.css +108 -0
  675. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/list/z-list-group/styles.css +26 -0
  676. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/list/z-tree-list/styles.css +142 -0
  677. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/table/cells/z-td/styles.css +71 -0
  678. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/table/cells/z-th/styles.css +127 -0
  679. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/table/z-table/styles.css +18 -0
  680. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/table/z-tbody/styles.css +4 -0
  681. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/table/z-tfoot/styles.css +13 -0
  682. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/table/z-thead/styles.css +19 -0
  683. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/table/z-tr/styles.css +86 -0
  684. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-accordion/styles.css +260 -0
  685. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-anchor-navigation/styles.css +122 -0
  686. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-app-header/styles.css +397 -0
  687. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-avatar/styles.css +32 -0
  688. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-breadcrumb/styles.css +151 -0
  689. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-button/styles.css +149 -0
  690. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-button-sort/styles.css +84 -0
  691. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-card/styles.css +230 -0
  692. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-carousel/styles.css +148 -0
  693. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-chip/styles.css +118 -0
  694. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-combobox/styles.css +220 -0
  695. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-cover-hero/styles.css +93 -0
  696. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-divider/styles.css +37 -0
  697. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-ghost-loading/styles.css +34 -0
  698. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-icon/styles.css +14 -0
  699. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-info-box/styles.css +23 -0
  700. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-info-reveal/styles.css +130 -0
  701. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-input/styles.css +416 -0
  702. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-input-message/styles.css +53 -0
  703. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-logo/styles.css +29 -0
  704. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-menu/styles.css +213 -0
  705. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-menu-section/styles.css +138 -0
  706. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-modal/styles.css +266 -0
  707. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-navigation-tabs/styles.css +212 -0
  708. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-notification/styles.css +119 -0
  709. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-offcanvas/styles.css +122 -0
  710. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-pagination/styles.css +199 -0
  711. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-panel-elem/styles.css +46 -0
  712. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-popover/styles.css +147 -0
  713. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-searchbar/styles.css +297 -0
  714. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-select/styles.css +321 -0
  715. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-skip-to-content/styles.css +81 -0
  716. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-stepper/styles.css +19 -0
  717. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-stepper-item/styles.css +150 -0
  718. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-tag/styles.css +47 -0
  719. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-toast-notification/styles.css +261 -0
  720. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-toast-notification-list/styles.css +100 -0
  721. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-toggle-button/styles.css +60 -0
  722. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-toggle-switch/styles.css +104 -0
  723. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-tooltip/styles.css +17 -0
  724. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-visually-hidden/styles.css +12 -0
  725. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +44 -0
  726. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +62 -0
  727. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +13 -0
  728. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +11 -0
  729. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +76 -0
  730. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +187 -0
  731. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +20 -0
  732. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +59 -0
  733. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +69 -0
  734. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +93 -0
  735. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +46 -0
  736. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +4 -0
  737. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +66 -0
  738. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/z-alert/styles.css +28 -0
  739. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/z-otp/styles.css +52 -0
  740. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/z-slideshow/styles.css +134 -0
  741. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/tokens/typography.css +769 -0
  742. package/dist/types/components/menubar/menu/menu.d.ts +19 -0
  743. package/dist/types/components/menubar/menubar.d.ts +82 -0
  744. package/dist/types/components/menubar/mobile-menubar/mobile-menubar.d.ts +46 -0
  745. package/dist/types/components.d.ts +172 -0
  746. package/dist/types/index.d.ts +11 -0
  747. package/dist/types/stencil-public-runtime.d.ts +1702 -0
  748. package/dist/types/utils/utils.d.ts +7 -0
  749. package/dist/zanichelli-it-frontend-kit/index.esm.js +3 -0
  750. package/dist/zanichelli-it-frontend-kit/index.esm.js.map +1 -0
  751. package/dist/zanichelli-it-frontend-kit/loader.esm.js.map +1 -0
  752. package/dist/zanichelli-it-frontend-kit/p-06a75db9.entry.js +2 -0
  753. package/dist/zanichelli-it-frontend-kit/p-06a75db9.entry.js.map +1 -0
  754. package/dist/zanichelli-it-frontend-kit/p-1301f408.entry.js +2 -0
  755. package/dist/zanichelli-it-frontend-kit/p-1301f408.entry.js.map +1 -0
  756. package/dist/zanichelli-it-frontend-kit/p-14695889.entry.js +2 -0
  757. package/dist/zanichelli-it-frontend-kit/p-14695889.entry.js.map +1 -0
  758. package/dist/zanichelli-it-frontend-kit/p-1a55b30b.entry.js +2 -0
  759. package/dist/zanichelli-it-frontend-kit/p-1a55b30b.entry.js.map +1 -0
  760. package/dist/zanichelli-it-frontend-kit/p-1d8f3be0.entry.js +2 -0
  761. package/dist/zanichelli-it-frontend-kit/p-1d8f3be0.entry.js.map +1 -0
  762. package/dist/zanichelli-it-frontend-kit/p-1edb773f.entry.js +2 -0
  763. package/dist/zanichelli-it-frontend-kit/p-1edb773f.entry.js.map +1 -0
  764. package/dist/zanichelli-it-frontend-kit/p-24c5e0cc.entry.js +2 -0
  765. package/dist/zanichelli-it-frontend-kit/p-24c5e0cc.entry.js.map +1 -0
  766. package/dist/zanichelli-it-frontend-kit/p-25b57525.entry.js +2 -0
  767. package/dist/zanichelli-it-frontend-kit/p-25b57525.entry.js.map +1 -0
  768. package/dist/zanichelli-it-frontend-kit/p-26c0bb2c.entry.js +2 -0
  769. package/dist/zanichelli-it-frontend-kit/p-26c0bb2c.entry.js.map +1 -0
  770. package/dist/zanichelli-it-frontend-kit/p-285d0e0f.entry.js +2 -0
  771. package/dist/zanichelli-it-frontend-kit/p-285d0e0f.entry.js.map +1 -0
  772. package/dist/zanichelli-it-frontend-kit/p-2e1826ab.entry.js +2 -0
  773. package/dist/zanichelli-it-frontend-kit/p-2e1826ab.entry.js.map +1 -0
  774. package/dist/zanichelli-it-frontend-kit/p-2fb38b5e.entry.js +2 -0
  775. package/dist/zanichelli-it-frontend-kit/p-2fb38b5e.entry.js.map +1 -0
  776. package/dist/zanichelli-it-frontend-kit/p-353dfd3a.entry.js +2 -0
  777. package/dist/zanichelli-it-frontend-kit/p-353dfd3a.entry.js.map +1 -0
  778. package/dist/zanichelli-it-frontend-kit/p-3b23bf6b.entry.js +2 -0
  779. package/dist/zanichelli-it-frontend-kit/p-3b23bf6b.entry.js.map +1 -0
  780. package/dist/zanichelli-it-frontend-kit/p-3c197169.entry.js +2 -0
  781. package/dist/zanichelli-it-frontend-kit/p-3c197169.entry.js.map +1 -0
  782. package/dist/zanichelli-it-frontend-kit/p-3f49652c.entry.js +2 -0
  783. package/dist/zanichelli-it-frontend-kit/p-3f49652c.entry.js.map +1 -0
  784. package/dist/zanichelli-it-frontend-kit/p-4035e4b7.entry.js +2 -0
  785. package/dist/zanichelli-it-frontend-kit/p-4035e4b7.entry.js.map +1 -0
  786. package/dist/zanichelli-it-frontend-kit/p-4ad3b8c3.entry.js +2 -0
  787. package/dist/zanichelli-it-frontend-kit/p-4ad3b8c3.entry.js.map +1 -0
  788. package/dist/zanichelli-it-frontend-kit/p-4b0f8b7c.entry.js +2 -0
  789. package/dist/zanichelli-it-frontend-kit/p-4b0f8b7c.entry.js.map +1 -0
  790. package/dist/zanichelli-it-frontend-kit/p-4e503a77.entry.js +2 -0
  791. package/dist/zanichelli-it-frontend-kit/p-4e503a77.entry.js.map +1 -0
  792. package/dist/zanichelli-it-frontend-kit/p-4fb10c24.entry.js +2 -0
  793. package/dist/zanichelli-it-frontend-kit/p-4fb10c24.entry.js.map +1 -0
  794. package/dist/zanichelli-it-frontend-kit/p-52d05436.entry.js +2 -0
  795. package/dist/zanichelli-it-frontend-kit/p-52d05436.entry.js.map +1 -0
  796. package/dist/zanichelli-it-frontend-kit/p-53c4cea5.entry.js +2 -0
  797. package/dist/zanichelli-it-frontend-kit/p-53c4cea5.entry.js.map +1 -0
  798. package/dist/zanichelli-it-frontend-kit/p-545cf652.entry.js +2 -0
  799. package/dist/zanichelli-it-frontend-kit/p-545cf652.entry.js.map +1 -0
  800. package/dist/zanichelli-it-frontend-kit/p-5edcf0ee.entry.js +2 -0
  801. package/dist/zanichelli-it-frontend-kit/p-5edcf0ee.entry.js.map +1 -0
  802. package/dist/zanichelli-it-frontend-kit/p-65f0a8cd.entry.js +2 -0
  803. package/dist/zanichelli-it-frontend-kit/p-65f0a8cd.entry.js.map +1 -0
  804. package/dist/zanichelli-it-frontend-kit/p-673af8ea.entry.js +2 -0
  805. package/dist/zanichelli-it-frontend-kit/p-673af8ea.entry.js.map +1 -0
  806. package/dist/zanichelli-it-frontend-kit/p-69c45802.entry.js +2 -0
  807. package/dist/zanichelli-it-frontend-kit/p-69c45802.entry.js.map +1 -0
  808. package/dist/zanichelli-it-frontend-kit/p-6aa64881.entry.js +2 -0
  809. package/dist/zanichelli-it-frontend-kit/p-6aa64881.entry.js.map +1 -0
  810. package/dist/zanichelli-it-frontend-kit/p-6d0758da.entry.js +2 -0
  811. package/dist/zanichelli-it-frontend-kit/p-6d0758da.entry.js.map +1 -0
  812. package/dist/zanichelli-it-frontend-kit/p-71c28d19.entry.js +2 -0
  813. package/dist/zanichelli-it-frontend-kit/p-71c28d19.entry.js.map +1 -0
  814. package/dist/zanichelli-it-frontend-kit/p-752d72d8.entry.js +2 -0
  815. package/dist/zanichelli-it-frontend-kit/p-752d72d8.entry.js.map +1 -0
  816. package/dist/zanichelli-it-frontend-kit/p-7534f34f.entry.js +2 -0
  817. package/dist/zanichelli-it-frontend-kit/p-7534f34f.entry.js.map +1 -0
  818. package/dist/zanichelli-it-frontend-kit/p-7551d826.entry.js +2 -0
  819. package/dist/zanichelli-it-frontend-kit/p-7551d826.entry.js.map +1 -0
  820. package/dist/zanichelli-it-frontend-kit/p-7d696560.entry.js +2 -0
  821. package/dist/zanichelli-it-frontend-kit/p-7d696560.entry.js.map +1 -0
  822. package/dist/zanichelli-it-frontend-kit/p-7f0a51da.entry.js +2 -0
  823. package/dist/zanichelli-it-frontend-kit/p-7f0a51da.entry.js.map +1 -0
  824. package/dist/zanichelli-it-frontend-kit/p-84a30acf.entry.js +17 -0
  825. package/dist/zanichelli-it-frontend-kit/p-84a30acf.entry.js.map +1 -0
  826. package/dist/zanichelli-it-frontend-kit/p-877d6f26.entry.js +2 -0
  827. package/dist/zanichelli-it-frontend-kit/p-877d6f26.entry.js.map +1 -0
  828. package/dist/zanichelli-it-frontend-kit/p-8bed1043.entry.js +2 -0
  829. package/dist/zanichelli-it-frontend-kit/p-8bed1043.entry.js.map +1 -0
  830. package/dist/zanichelli-it-frontend-kit/p-8c2538dc.entry.js +2 -0
  831. package/dist/zanichelli-it-frontend-kit/p-8c2538dc.entry.js.map +1 -0
  832. package/dist/zanichelli-it-frontend-kit/p-906081da.entry.js +2 -0
  833. package/dist/zanichelli-it-frontend-kit/p-906081da.entry.js.map +1 -0
  834. package/dist/zanichelli-it-frontend-kit/p-9126ad89.entry.js +2 -0
  835. package/dist/zanichelli-it-frontend-kit/p-9126ad89.entry.js.map +1 -0
  836. package/dist/zanichelli-it-frontend-kit/p-9260de4d.entry.js +2 -0
  837. package/dist/zanichelli-it-frontend-kit/p-9260de4d.entry.js.map +1 -0
  838. package/dist/zanichelli-it-frontend-kit/p-93176ede.entry.js +2 -0
  839. package/dist/zanichelli-it-frontend-kit/p-93176ede.entry.js.map +1 -0
  840. package/dist/zanichelli-it-frontend-kit/p-98b10414.entry.js +2 -0
  841. package/dist/zanichelli-it-frontend-kit/p-98b10414.entry.js.map +1 -0
  842. package/dist/zanichelli-it-frontend-kit/p-B2-dCTD2.js +2 -0
  843. package/dist/zanichelli-it-frontend-kit/p-B2-dCTD2.js.map +1 -0
  844. package/dist/zanichelli-it-frontend-kit/p-B85MJLTf.js +2 -0
  845. package/dist/zanichelli-it-frontend-kit/p-B85MJLTf.js.map +1 -0
  846. package/dist/zanichelli-it-frontend-kit/p-C46tSaXG.js +2 -0
  847. package/dist/zanichelli-it-frontend-kit/p-C46tSaXG.js.map +1 -0
  848. package/dist/zanichelli-it-frontend-kit/p-Cam6wBSi.js +3 -0
  849. package/dist/zanichelli-it-frontend-kit/p-Cam6wBSi.js.map +1 -0
  850. package/dist/zanichelli-it-frontend-kit/p-Cj7hOgFG.js +2 -0
  851. package/dist/zanichelli-it-frontend-kit/p-Cj7hOgFG.js.map +1 -0
  852. package/dist/zanichelli-it-frontend-kit/p-DQuL1Twl.js +2 -0
  853. package/dist/zanichelli-it-frontend-kit/p-DQuL1Twl.js.map +1 -0
  854. package/dist/zanichelli-it-frontend-kit/p-Q-tWjk7P.js +2 -0
  855. package/dist/zanichelli-it-frontend-kit/p-Q-tWjk7P.js.map +1 -0
  856. package/dist/zanichelli-it-frontend-kit/p-a7f0a630.entry.js +7 -0
  857. package/dist/zanichelli-it-frontend-kit/p-a7f0a630.entry.js.map +1 -0
  858. package/dist/zanichelli-it-frontend-kit/p-af8a7986.entry.js +2 -0
  859. package/dist/zanichelli-it-frontend-kit/p-af8a7986.entry.js.map +1 -0
  860. package/dist/zanichelli-it-frontend-kit/p-b8198b19.entry.js +2 -0
  861. package/dist/zanichelli-it-frontend-kit/p-b8198b19.entry.js.map +1 -0
  862. package/dist/zanichelli-it-frontend-kit/p-b9fba3a0.entry.js +2 -0
  863. package/dist/zanichelli-it-frontend-kit/p-b9fba3a0.entry.js.map +1 -0
  864. package/dist/zanichelli-it-frontend-kit/p-ba1d43ec.entry.js +2 -0
  865. package/dist/zanichelli-it-frontend-kit/p-ba1d43ec.entry.js.map +1 -0
  866. package/dist/zanichelli-it-frontend-kit/p-bdd53627.entry.js +2 -0
  867. package/dist/zanichelli-it-frontend-kit/p-bdd53627.entry.js.map +1 -0
  868. package/dist/zanichelli-it-frontend-kit/p-c363882e.entry.js +2 -0
  869. package/dist/zanichelli-it-frontend-kit/p-c363882e.entry.js.map +1 -0
  870. package/dist/zanichelli-it-frontend-kit/p-c55a5042.entry.js +2 -0
  871. package/dist/zanichelli-it-frontend-kit/p-c55a5042.entry.js.map +1 -0
  872. package/dist/zanichelli-it-frontend-kit/p-cc00d883.entry.js +2 -0
  873. package/dist/zanichelli-it-frontend-kit/p-cc00d883.entry.js.map +1 -0
  874. package/dist/zanichelli-it-frontend-kit/p-d23576e5.entry.js +2 -0
  875. package/dist/zanichelli-it-frontend-kit/p-d23576e5.entry.js.map +1 -0
  876. package/dist/zanichelli-it-frontend-kit/p-d3e18055.entry.js +2 -0
  877. package/dist/zanichelli-it-frontend-kit/p-d3e18055.entry.js.map +1 -0
  878. package/dist/zanichelli-it-frontend-kit/p-d404ce2d.entry.js +2 -0
  879. package/dist/zanichelli-it-frontend-kit/p-d404ce2d.entry.js.map +1 -0
  880. package/dist/zanichelli-it-frontend-kit/p-d767c93a.entry.js +2 -0
  881. package/dist/zanichelli-it-frontend-kit/p-d767c93a.entry.js.map +1 -0
  882. package/dist/zanichelli-it-frontend-kit/p-d854a0fb.entry.js +2 -0
  883. package/dist/zanichelli-it-frontend-kit/p-d854a0fb.entry.js.map +1 -0
  884. package/dist/zanichelli-it-frontend-kit/p-da27116e.entry.js +2 -0
  885. package/dist/zanichelli-it-frontend-kit/p-da27116e.entry.js.map +1 -0
  886. package/dist/zanichelli-it-frontend-kit/p-da73a0e0.entry.js +2 -0
  887. package/dist/zanichelli-it-frontend-kit/p-da73a0e0.entry.js.map +1 -0
  888. package/dist/zanichelli-it-frontend-kit/p-e3d9cd6c.entry.js +2 -0
  889. package/dist/zanichelli-it-frontend-kit/p-e3d9cd6c.entry.js.map +1 -0
  890. package/dist/zanichelli-it-frontend-kit/p-e46785e6.entry.js +2 -0
  891. package/dist/zanichelli-it-frontend-kit/p-e46785e6.entry.js.map +1 -0
  892. package/dist/zanichelli-it-frontend-kit/p-e60b79de.entry.js +2 -0
  893. package/dist/zanichelli-it-frontend-kit/p-e60b79de.entry.js.map +1 -0
  894. package/dist/zanichelli-it-frontend-kit/p-ea18b15f.entry.js +2 -0
  895. package/dist/zanichelli-it-frontend-kit/p-ea18b15f.entry.js.map +1 -0
  896. package/dist/zanichelli-it-frontend-kit/p-ea7db3b1.entry.js +2 -0
  897. package/dist/zanichelli-it-frontend-kit/p-ea7db3b1.entry.js.map +1 -0
  898. package/dist/zanichelli-it-frontend-kit/p-ec50e1b7.entry.js +2 -0
  899. package/dist/zanichelli-it-frontend-kit/p-ec50e1b7.entry.js.map +1 -0
  900. package/dist/zanichelli-it-frontend-kit/p-f0162a34.entry.js +2 -0
  901. package/dist/zanichelli-it-frontend-kit/p-f0162a34.entry.js.map +1 -0
  902. package/dist/zanichelli-it-frontend-kit/p-f70245a3.entry.js +2 -0
  903. package/dist/zanichelli-it-frontend-kit/p-f70245a3.entry.js.map +1 -0
  904. package/dist/zanichelli-it-frontend-kit/p-f765dd3e.entry.js +2 -0
  905. package/dist/zanichelli-it-frontend-kit/p-f765dd3e.entry.js.map +1 -0
  906. package/dist/zanichelli-it-frontend-kit/z-accordion.entry.esm.js.map +1 -0
  907. package/dist/zanichelli-it-frontend-kit/z-alert.entry.esm.js.map +1 -0
  908. package/dist/zanichelli-it-frontend-kit/z-anchor-navigation.entry.esm.js.map +1 -0
  909. package/dist/zanichelli-it-frontend-kit/z-app-header-deprecated.entry.esm.js.map +1 -0
  910. package/dist/zanichelli-it-frontend-kit/z-app-header.entry.esm.js.map +1 -0
  911. package/dist/zanichelli-it-frontend-kit/z-aria-alert.entry.esm.js.map +1 -0
  912. package/dist/zanichelli-it-frontend-kit/z-avatar.entry.esm.js.map +1 -0
  913. package/dist/zanichelli-it-frontend-kit/z-book-card-app.entry.esm.js.map +1 -0
  914. package/dist/zanichelli-it-frontend-kit/z-book-card-deprecated.entry.esm.js.map +1 -0
  915. package/dist/zanichelli-it-frontend-kit/z-book-card.entry.esm.js.map +1 -0
  916. package/dist/zanichelli-it-frontend-kit/z-breadcrumb.entry.esm.js.map +1 -0
  917. package/dist/zanichelli-it-frontend-kit/z-button-sort.entry.esm.js.map +1 -0
  918. package/dist/zanichelli-it-frontend-kit/z-button.z-icon.z-logo.zanit-menubar.zanit-mobile-menubar.entry.esm.js.map +1 -0
  919. package/dist/zanichelli-it-frontend-kit/z-card.entry.esm.js.map +1 -0
  920. package/dist/zanichelli-it-frontend-kit/z-carousel.entry.esm.js.map +1 -0
  921. package/dist/zanichelli-it-frontend-kit/z-chip.entry.esm.js.map +1 -0
  922. package/dist/zanichelli-it-frontend-kit/z-combobox.entry.esm.js.map +1 -0
  923. package/dist/zanichelli-it-frontend-kit/z-cover-hero.entry.esm.js.map +1 -0
  924. package/dist/zanichelli-it-frontend-kit/z-date-picker.entry.esm.js.map +1 -0
  925. package/dist/zanichelli-it-frontend-kit/z-divider.z-list-element.entry.esm.js.map +1 -0
  926. package/dist/zanichelli-it-frontend-kit/z-dragdrop-area.z-modal.entry.esm.js.map +1 -0
  927. package/dist/zanichelli-it-frontend-kit/z-file-upload.entry.esm.js.map +1 -0
  928. package/dist/zanichelli-it-frontend-kit/z-file.entry.esm.js.map +1 -0
  929. package/dist/zanichelli-it-frontend-kit/z-ghost-loading.entry.esm.js.map +1 -0
  930. package/dist/zanichelli-it-frontend-kit/z-info-box.entry.esm.js.map +1 -0
  931. package/dist/zanichelli-it-frontend-kit/z-info-reveal.entry.esm.js.map +1 -0
  932. package/dist/zanichelli-it-frontend-kit/z-input.z-input-message.entry.esm.js.map +1 -0
  933. package/dist/zanichelli-it-frontend-kit/z-list.z-list-group.z-tag.entry.esm.js.map +1 -0
  934. package/dist/zanichelli-it-frontend-kit/z-menu-deprecated.entry.esm.js.map +1 -0
  935. package/dist/zanichelli-it-frontend-kit/z-menu-section-deprecated.entry.esm.js.map +1 -0
  936. package/dist/zanichelli-it-frontend-kit/z-menu-section.entry.esm.js.map +1 -0
  937. package/dist/zanichelli-it-frontend-kit/z-menu.entry.esm.js.map +1 -0
  938. package/dist/zanichelli-it-frontend-kit/z-myz-card-alert.entry.esm.js.map +1 -0
  939. package/dist/zanichelli-it-frontend-kit/z-myz-card-dictionary.entry.esm.js.map +1 -0
  940. package/dist/zanichelli-it-frontend-kit/z-myz-card-footer-sections.entry.esm.js.map +1 -0
  941. package/dist/zanichelli-it-frontend-kit/z-myz-card-footer.entry.esm.js.map +1 -0
  942. package/dist/zanichelli-it-frontend-kit/z-myz-card-icon.entry.esm.js.map +1 -0
  943. package/dist/zanichelli-it-frontend-kit/z-myz-card-info.entry.esm.js.map +1 -0
  944. package/dist/zanichelli-it-frontend-kit/z-myz-card-list.entry.esm.js.map +1 -0
  945. package/dist/zanichelli-it-frontend-kit/z-myz-card.z-myz-card-body.z-myz-card-cover.z-myz-card-header.entry.esm.js.map +1 -0
  946. package/dist/zanichelli-it-frontend-kit/z-myz-list-item.entry.esm.js.map +1 -0
  947. package/dist/zanichelli-it-frontend-kit/z-myz-list.entry.esm.js.map +1 -0
  948. package/dist/zanichelli-it-frontend-kit/z-navigation-tabs.entry.esm.js.map +1 -0
  949. package/dist/zanichelli-it-frontend-kit/z-notification.entry.esm.js.map +1 -0
  950. package/dist/zanichelli-it-frontend-kit/z-offcanvas.z-searchbar.entry.esm.js.map +1 -0
  951. package/dist/zanichelli-it-frontend-kit/z-otp.entry.esm.js.map +1 -0
  952. package/dist/zanichelli-it-frontend-kit/z-pagination.entry.esm.js.map +1 -0
  953. package/dist/zanichelli-it-frontend-kit/z-panel-elem.entry.esm.js.map +1 -0
  954. package/dist/zanichelli-it-frontend-kit/z-popover.entry.esm.js.map +1 -0
  955. package/dist/zanichelli-it-frontend-kit/z-range-picker.entry.esm.js.map +1 -0
  956. package/dist/zanichelli-it-frontend-kit/z-section-title.entry.esm.js.map +1 -0
  957. package/dist/zanichelli-it-frontend-kit/z-select.entry.esm.js.map +1 -0
  958. package/dist/zanichelli-it-frontend-kit/z-skip-to-content.entry.esm.js.map +1 -0
  959. package/dist/zanichelli-it-frontend-kit/z-slideshow.entry.esm.js.map +1 -0
  960. package/dist/zanichelli-it-frontend-kit/z-stepper-item.entry.esm.js.map +1 -0
  961. package/dist/zanichelli-it-frontend-kit/z-stepper.entry.esm.js.map +1 -0
  962. package/dist/zanichelli-it-frontend-kit/z-table.entry.esm.js.map +1 -0
  963. package/dist/zanichelli-it-frontend-kit/z-tbody.entry.esm.js.map +1 -0
  964. package/dist/zanichelli-it-frontend-kit/z-td.entry.esm.js.map +1 -0
  965. package/dist/zanichelli-it-frontend-kit/z-tfoot.entry.esm.js.map +1 -0
  966. package/dist/zanichelli-it-frontend-kit/z-th.entry.esm.js.map +1 -0
  967. package/dist/zanichelli-it-frontend-kit/z-thead.entry.esm.js.map +1 -0
  968. package/dist/zanichelli-it-frontend-kit/z-toast-notification-list.entry.esm.js.map +1 -0
  969. package/dist/zanichelli-it-frontend-kit/z-toast-notification.entry.esm.js.map +1 -0
  970. package/dist/zanichelli-it-frontend-kit/z-toggle-button.entry.esm.js.map +1 -0
  971. package/dist/zanichelli-it-frontend-kit/z-toggle-switch.entry.esm.js.map +1 -0
  972. package/dist/zanichelli-it-frontend-kit/z-tooltip.entry.esm.js.map +1 -0
  973. package/dist/zanichelli-it-frontend-kit/z-tr.entry.esm.js.map +1 -0
  974. package/dist/zanichelli-it-frontend-kit/z-tree-list.entry.esm.js.map +1 -0
  975. package/dist/zanichelli-it-frontend-kit/z-visually-hidden.entry.esm.js.map +1 -0
  976. package/dist/zanichelli-it-frontend-kit/zanichelli-it-frontend-kit.css +3038 -0
  977. package/dist/zanichelli-it-frontend-kit/zanichelli-it-frontend-kit.esm.js +2 -0
  978. package/dist/zanichelli-it-frontend-kit/zanichelli-it-frontend-kit.esm.js.map +1 -0
  979. package/loader/cdn.js +1 -0
  980. package/loader/index.cjs.js +1 -0
  981. package/loader/index.d.ts +24 -0
  982. package/loader/index.es2017.js +1 -0
  983. package/loader/index.js +2 -0
  984. package/package.json +60 -0
  985. package/www/build/index.esm.js +3 -0
  986. package/www/build/index.esm.js.map +1 -0
  987. package/www/build/loader.esm.js.map +1 -0
  988. package/www/build/p-06a75db9.entry.js +2 -0
  989. package/www/build/p-06a75db9.entry.js.map +1 -0
  990. package/www/build/p-1301f408.entry.js +2 -0
  991. package/www/build/p-1301f408.entry.js.map +1 -0
  992. package/www/build/p-14695889.entry.js +2 -0
  993. package/www/build/p-14695889.entry.js.map +1 -0
  994. package/www/build/p-1a55b30b.entry.js +2 -0
  995. package/www/build/p-1a55b30b.entry.js.map +1 -0
  996. package/www/build/p-1d8f3be0.entry.js +2 -0
  997. package/www/build/p-1d8f3be0.entry.js.map +1 -0
  998. package/www/build/p-1edb773f.entry.js +2 -0
  999. package/www/build/p-1edb773f.entry.js.map +1 -0
  1000. package/www/build/p-24c5e0cc.entry.js +2 -0
  1001. package/www/build/p-24c5e0cc.entry.js.map +1 -0
  1002. package/www/build/p-25b57525.entry.js +2 -0
  1003. package/www/build/p-25b57525.entry.js.map +1 -0
  1004. package/www/build/p-26c0bb2c.entry.js +2 -0
  1005. package/www/build/p-26c0bb2c.entry.js.map +1 -0
  1006. package/www/build/p-285d0e0f.entry.js +2 -0
  1007. package/www/build/p-285d0e0f.entry.js.map +1 -0
  1008. package/www/build/p-2e1826ab.entry.js +2 -0
  1009. package/www/build/p-2e1826ab.entry.js.map +1 -0
  1010. package/www/build/p-2fb38b5e.entry.js +2 -0
  1011. package/www/build/p-2fb38b5e.entry.js.map +1 -0
  1012. package/www/build/p-353dfd3a.entry.js +2 -0
  1013. package/www/build/p-353dfd3a.entry.js.map +1 -0
  1014. package/www/build/p-3b23bf6b.entry.js +2 -0
  1015. package/www/build/p-3b23bf6b.entry.js.map +1 -0
  1016. package/www/build/p-3c197169.entry.js +2 -0
  1017. package/www/build/p-3c197169.entry.js.map +1 -0
  1018. package/www/build/p-3f49652c.entry.js +2 -0
  1019. package/www/build/p-3f49652c.entry.js.map +1 -0
  1020. package/www/build/p-4035e4b7.entry.js +2 -0
  1021. package/www/build/p-4035e4b7.entry.js.map +1 -0
  1022. package/www/build/p-4ad3b8c3.entry.js +2 -0
  1023. package/www/build/p-4ad3b8c3.entry.js.map +1 -0
  1024. package/www/build/p-4b0f8b7c.entry.js +2 -0
  1025. package/www/build/p-4b0f8b7c.entry.js.map +1 -0
  1026. package/www/build/p-4e503a77.entry.js +2 -0
  1027. package/www/build/p-4e503a77.entry.js.map +1 -0
  1028. package/www/build/p-4fb10c24.entry.js +2 -0
  1029. package/www/build/p-4fb10c24.entry.js.map +1 -0
  1030. package/www/build/p-52d05436.entry.js +2 -0
  1031. package/www/build/p-52d05436.entry.js.map +1 -0
  1032. package/www/build/p-53c4cea5.entry.js +2 -0
  1033. package/www/build/p-53c4cea5.entry.js.map +1 -0
  1034. package/www/build/p-545cf652.entry.js +2 -0
  1035. package/www/build/p-545cf652.entry.js.map +1 -0
  1036. package/www/build/p-5edcf0ee.entry.js +2 -0
  1037. package/www/build/p-5edcf0ee.entry.js.map +1 -0
  1038. package/www/build/p-65f0a8cd.entry.js +2 -0
  1039. package/www/build/p-65f0a8cd.entry.js.map +1 -0
  1040. package/www/build/p-673af8ea.entry.js +2 -0
  1041. package/www/build/p-673af8ea.entry.js.map +1 -0
  1042. package/www/build/p-69c45802.entry.js +2 -0
  1043. package/www/build/p-69c45802.entry.js.map +1 -0
  1044. package/www/build/p-6aa64881.entry.js +2 -0
  1045. package/www/build/p-6aa64881.entry.js.map +1 -0
  1046. package/www/build/p-6d0758da.entry.js +2 -0
  1047. package/www/build/p-6d0758da.entry.js.map +1 -0
  1048. package/www/build/p-71c28d19.entry.js +2 -0
  1049. package/www/build/p-71c28d19.entry.js.map +1 -0
  1050. package/www/build/p-752d72d8.entry.js +2 -0
  1051. package/www/build/p-752d72d8.entry.js.map +1 -0
  1052. package/www/build/p-7534f34f.entry.js +2 -0
  1053. package/www/build/p-7534f34f.entry.js.map +1 -0
  1054. package/www/build/p-7551d826.entry.js +2 -0
  1055. package/www/build/p-7551d826.entry.js.map +1 -0
  1056. package/www/build/p-7a88aaf5.css +3038 -0
  1057. package/www/build/p-7d696560.entry.js +2 -0
  1058. package/www/build/p-7d696560.entry.js.map +1 -0
  1059. package/www/build/p-7f0a51da.entry.js +2 -0
  1060. package/www/build/p-7f0a51da.entry.js.map +1 -0
  1061. package/www/build/p-84a30acf.entry.js +17 -0
  1062. package/www/build/p-84a30acf.entry.js.map +1 -0
  1063. package/www/build/p-877d6f26.entry.js +2 -0
  1064. package/www/build/p-877d6f26.entry.js.map +1 -0
  1065. package/www/build/p-8bed1043.entry.js +2 -0
  1066. package/www/build/p-8bed1043.entry.js.map +1 -0
  1067. package/www/build/p-8c2538dc.entry.js +2 -0
  1068. package/www/build/p-8c2538dc.entry.js.map +1 -0
  1069. package/www/build/p-906081da.entry.js +2 -0
  1070. package/www/build/p-906081da.entry.js.map +1 -0
  1071. package/www/build/p-9126ad89.entry.js +2 -0
  1072. package/www/build/p-9126ad89.entry.js.map +1 -0
  1073. package/www/build/p-9260de4d.entry.js +2 -0
  1074. package/www/build/p-9260de4d.entry.js.map +1 -0
  1075. package/www/build/p-93176ede.entry.js +2 -0
  1076. package/www/build/p-93176ede.entry.js.map +1 -0
  1077. package/www/build/p-98b10414.entry.js +2 -0
  1078. package/www/build/p-98b10414.entry.js.map +1 -0
  1079. package/www/build/p-B2-dCTD2.js +2 -0
  1080. package/www/build/p-B2-dCTD2.js.map +1 -0
  1081. package/www/build/p-B85MJLTf.js +2 -0
  1082. package/www/build/p-B85MJLTf.js.map +1 -0
  1083. package/www/build/p-C46tSaXG.js +2 -0
  1084. package/www/build/p-C46tSaXG.js.map +1 -0
  1085. package/www/build/p-Cam6wBSi.js +3 -0
  1086. package/www/build/p-Cam6wBSi.js.map +1 -0
  1087. package/www/build/p-Cj7hOgFG.js +2 -0
  1088. package/www/build/p-Cj7hOgFG.js.map +1 -0
  1089. package/www/build/p-DQuL1Twl.js +2 -0
  1090. package/www/build/p-DQuL1Twl.js.map +1 -0
  1091. package/www/build/p-Q-tWjk7P.js +2 -0
  1092. package/www/build/p-Q-tWjk7P.js.map +1 -0
  1093. package/www/build/p-a7f0a630.entry.js +7 -0
  1094. package/www/build/p-a7f0a630.entry.js.map +1 -0
  1095. package/www/build/p-af8a7986.entry.js +2 -0
  1096. package/www/build/p-af8a7986.entry.js.map +1 -0
  1097. package/www/build/p-b8198b19.entry.js +2 -0
  1098. package/www/build/p-b8198b19.entry.js.map +1 -0
  1099. package/www/build/p-b9fba3a0.entry.js +2 -0
  1100. package/www/build/p-b9fba3a0.entry.js.map +1 -0
  1101. package/www/build/p-ba1d43ec.entry.js +2 -0
  1102. package/www/build/p-ba1d43ec.entry.js.map +1 -0
  1103. package/www/build/p-bdd53627.entry.js +2 -0
  1104. package/www/build/p-bdd53627.entry.js.map +1 -0
  1105. package/www/build/p-c363882e.entry.js +2 -0
  1106. package/www/build/p-c363882e.entry.js.map +1 -0
  1107. package/www/build/p-c55a5042.entry.js +2 -0
  1108. package/www/build/p-c55a5042.entry.js.map +1 -0
  1109. package/www/build/p-cc00d883.entry.js +2 -0
  1110. package/www/build/p-cc00d883.entry.js.map +1 -0
  1111. package/www/build/p-ce3b9406.js +2 -0
  1112. package/www/build/p-d23576e5.entry.js +2 -0
  1113. package/www/build/p-d23576e5.entry.js.map +1 -0
  1114. package/www/build/p-d3e18055.entry.js +2 -0
  1115. package/www/build/p-d3e18055.entry.js.map +1 -0
  1116. package/www/build/p-d404ce2d.entry.js +2 -0
  1117. package/www/build/p-d404ce2d.entry.js.map +1 -0
  1118. package/www/build/p-d767c93a.entry.js +2 -0
  1119. package/www/build/p-d767c93a.entry.js.map +1 -0
  1120. package/www/build/p-d854a0fb.entry.js +2 -0
  1121. package/www/build/p-d854a0fb.entry.js.map +1 -0
  1122. package/www/build/p-da27116e.entry.js +2 -0
  1123. package/www/build/p-da27116e.entry.js.map +1 -0
  1124. package/www/build/p-da73a0e0.entry.js +2 -0
  1125. package/www/build/p-da73a0e0.entry.js.map +1 -0
  1126. package/www/build/p-e3d9cd6c.entry.js +2 -0
  1127. package/www/build/p-e3d9cd6c.entry.js.map +1 -0
  1128. package/www/build/p-e46785e6.entry.js +2 -0
  1129. package/www/build/p-e46785e6.entry.js.map +1 -0
  1130. package/www/build/p-e60b79de.entry.js +2 -0
  1131. package/www/build/p-e60b79de.entry.js.map +1 -0
  1132. package/www/build/p-ea18b15f.entry.js +2 -0
  1133. package/www/build/p-ea18b15f.entry.js.map +1 -0
  1134. package/www/build/p-ea7db3b1.entry.js +2 -0
  1135. package/www/build/p-ea7db3b1.entry.js.map +1 -0
  1136. package/www/build/p-ec50e1b7.entry.js +2 -0
  1137. package/www/build/p-ec50e1b7.entry.js.map +1 -0
  1138. package/www/build/p-f0162a34.entry.js +2 -0
  1139. package/www/build/p-f0162a34.entry.js.map +1 -0
  1140. package/www/build/p-f70245a3.entry.js +2 -0
  1141. package/www/build/p-f70245a3.entry.js.map +1 -0
  1142. package/www/build/p-f765dd3e.entry.js +2 -0
  1143. package/www/build/p-f765dd3e.entry.js.map +1 -0
  1144. package/www/build/z-accordion.entry.esm.js.map +1 -0
  1145. package/www/build/z-alert.entry.esm.js.map +1 -0
  1146. package/www/build/z-anchor-navigation.entry.esm.js.map +1 -0
  1147. package/www/build/z-app-header-deprecated.entry.esm.js.map +1 -0
  1148. package/www/build/z-app-header.entry.esm.js.map +1 -0
  1149. package/www/build/z-aria-alert.entry.esm.js.map +1 -0
  1150. package/www/build/z-avatar.entry.esm.js.map +1 -0
  1151. package/www/build/z-book-card-app.entry.esm.js.map +1 -0
  1152. package/www/build/z-book-card-deprecated.entry.esm.js.map +1 -0
  1153. package/www/build/z-book-card.entry.esm.js.map +1 -0
  1154. package/www/build/z-breadcrumb.entry.esm.js.map +1 -0
  1155. package/www/build/z-button-sort.entry.esm.js.map +1 -0
  1156. package/www/build/z-button.z-icon.z-logo.zanit-menubar.zanit-mobile-menubar.entry.esm.js.map +1 -0
  1157. package/www/build/z-card.entry.esm.js.map +1 -0
  1158. package/www/build/z-carousel.entry.esm.js.map +1 -0
  1159. package/www/build/z-chip.entry.esm.js.map +1 -0
  1160. package/www/build/z-combobox.entry.esm.js.map +1 -0
  1161. package/www/build/z-cover-hero.entry.esm.js.map +1 -0
  1162. package/www/build/z-date-picker.entry.esm.js.map +1 -0
  1163. package/www/build/z-divider.z-list-element.entry.esm.js.map +1 -0
  1164. package/www/build/z-dragdrop-area.z-modal.entry.esm.js.map +1 -0
  1165. package/www/build/z-file-upload.entry.esm.js.map +1 -0
  1166. package/www/build/z-file.entry.esm.js.map +1 -0
  1167. package/www/build/z-ghost-loading.entry.esm.js.map +1 -0
  1168. package/www/build/z-info-box.entry.esm.js.map +1 -0
  1169. package/www/build/z-info-reveal.entry.esm.js.map +1 -0
  1170. package/www/build/z-input.z-input-message.entry.esm.js.map +1 -0
  1171. package/www/build/z-list.z-list-group.z-tag.entry.esm.js.map +1 -0
  1172. package/www/build/z-menu-deprecated.entry.esm.js.map +1 -0
  1173. package/www/build/z-menu-section-deprecated.entry.esm.js.map +1 -0
  1174. package/www/build/z-menu-section.entry.esm.js.map +1 -0
  1175. package/www/build/z-menu.entry.esm.js.map +1 -0
  1176. package/www/build/z-myz-card-alert.entry.esm.js.map +1 -0
  1177. package/www/build/z-myz-card-dictionary.entry.esm.js.map +1 -0
  1178. package/www/build/z-myz-card-footer-sections.entry.esm.js.map +1 -0
  1179. package/www/build/z-myz-card-footer.entry.esm.js.map +1 -0
  1180. package/www/build/z-myz-card-icon.entry.esm.js.map +1 -0
  1181. package/www/build/z-myz-card-info.entry.esm.js.map +1 -0
  1182. package/www/build/z-myz-card-list.entry.esm.js.map +1 -0
  1183. package/www/build/z-myz-card.z-myz-card-body.z-myz-card-cover.z-myz-card-header.entry.esm.js.map +1 -0
  1184. package/www/build/z-myz-list-item.entry.esm.js.map +1 -0
  1185. package/www/build/z-myz-list.entry.esm.js.map +1 -0
  1186. package/www/build/z-navigation-tabs.entry.esm.js.map +1 -0
  1187. package/www/build/z-notification.entry.esm.js.map +1 -0
  1188. package/www/build/z-offcanvas.z-searchbar.entry.esm.js.map +1 -0
  1189. package/www/build/z-otp.entry.esm.js.map +1 -0
  1190. package/www/build/z-pagination.entry.esm.js.map +1 -0
  1191. package/www/build/z-panel-elem.entry.esm.js.map +1 -0
  1192. package/www/build/z-popover.entry.esm.js.map +1 -0
  1193. package/www/build/z-range-picker.entry.esm.js.map +1 -0
  1194. package/www/build/z-section-title.entry.esm.js.map +1 -0
  1195. package/www/build/z-select.entry.esm.js.map +1 -0
  1196. package/www/build/z-skip-to-content.entry.esm.js.map +1 -0
  1197. package/www/build/z-slideshow.entry.esm.js.map +1 -0
  1198. package/www/build/z-stepper-item.entry.esm.js.map +1 -0
  1199. package/www/build/z-stepper.entry.esm.js.map +1 -0
  1200. package/www/build/z-table.entry.esm.js.map +1 -0
  1201. package/www/build/z-tbody.entry.esm.js.map +1 -0
  1202. package/www/build/z-td.entry.esm.js.map +1 -0
  1203. package/www/build/z-tfoot.entry.esm.js.map +1 -0
  1204. package/www/build/z-th.entry.esm.js.map +1 -0
  1205. package/www/build/z-thead.entry.esm.js.map +1 -0
  1206. package/www/build/z-toast-notification-list.entry.esm.js.map +1 -0
  1207. package/www/build/z-toast-notification.entry.esm.js.map +1 -0
  1208. package/www/build/z-toggle-button.entry.esm.js.map +1 -0
  1209. package/www/build/z-toggle-switch.entry.esm.js.map +1 -0
  1210. package/www/build/z-tooltip.entry.esm.js.map +1 -0
  1211. package/www/build/z-tr.entry.esm.js.map +1 -0
  1212. package/www/build/z-tree-list.entry.esm.js.map +1 -0
  1213. package/www/build/z-visually-hidden.entry.esm.js.map +1 -0
  1214. package/www/build/zanichelli-it-frontend-kit.css +3038 -0
  1215. package/www/build/zanichelli-it-frontend-kit.esm.js +2 -0
  1216. package/www/build/zanichelli-it-frontend-kit.esm.js.map +1 -0
  1217. package/www/build/zanichelli-it-frontend-kit.js +33 -0
  1218. package/www/host.config.json +15 -0
  1219. package/www/index.html +163 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZPagination","constructor","hostRef","this","label","undefined","navArrows","totalPages","skip","edges","split","visiblePages","currentPage","goToPage","_visiblePages","isMobile","goToPageValue","setPagesContainerWidth","host","style","setProperty","pagesContainerStyle","window","getComputedStyle","pageButtonWidth","getPropertyValue","setVisiblePages","Math","min","onPageChanged","pageChanged","emit","scrollToPage","onSplitChanged","onResize","setMobile","mobileMediaQuery","matchMedia","matches","getPagesChunks","pages","Array","from","length","_","i","chunks","chunksCount","ceil","index","push","slice","pageBtn","querySelector","scrollIntoView","behavior","block","inline","selectPage","page","max","renderPage","h","class","type","title","onClick","renderEllipsisButton","renderPages","pagesChunks","map","chunk","renderSplitPages","renderBackButton","disabled","name","renderForwardButton","renderMobile","role","tabIndex","onSubmit","ev","preventDefault","InputType","NUMBER","message","onInput","target","value","placeholder","toString","hasclearicon","componentDidLoad","componentDidRender","render","Host","onKeyDown","key"],"sources":["node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-pagination/styles.css?tag=z-pagination","node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-pagination/index.js"],"sourcesContent":["z-pagination {\n --z-pagination--page-button-width: 64px;\n --z-pagination--pages-container-max-width: 100%;\n\n display: flex;\n max-width: 100%;\n flex-flow: column wrap;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n gap: calc(var(--space-unit) * 2) calc(var(--space-unit) * 4);\n}\n\nz-pagination,\nz-pagination * {\n box-sizing: border-box;\n}\n\nz-pagination button {\n height: 100%;\n}\n\nz-pagination z-icon {\n fill: var(--color-primary01-icon);\n}\n\nz-pagination *:disabled z-icon {\n fill: var(--color-disabled03);\n}\n\nz-pagination .page-label {\n margin-right: calc(var(--space-unit) * 3);\n color: var(--color-default-text);\n}\n\nz-pagination .pagination-bar {\n display: flex;\n max-width: 100%;\n height: 48px;\n align-items: center;\n}\n\nz-pagination .pagination-bar button {\n display: flex;\n align-items: center;\n justify-content: center;\n border: none;\n margin: 0;\n background-color: var(--color-background);\n color: var(--color-primary01);\n cursor: pointer;\n font-family: inherit;\n font-weight: inherit;\n transition:\n 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;\n}\n\nz-pagination .pagination-bar button:focus-visible {\n background-color: var(--color-surface01);\n outline: none;\n}\n\nz-pagination .pagination-bar .pagination-button {\n padding: calc(var(--space-unit) * 2);\n font-weight: var(--font-sb);\n text-transform: uppercase;\n white-space: nowrap;\n}\n\nz-pagination .pagination-bar .navigation-button {\n padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 1.5);\n}\n\nz-pagination .pagination-bar .pagination-button:disabled,\nz-pagination .pagination-bar .navigation-button:disabled {\n color: var(--color-disabled03);\n cursor: default;\n fill: var(--color-disabled03);\n pointer-events: none;\n}\n\nz-pagination .pagination-bar .page-button,\nz-pagination .pagination-bar .ellipsis-button {\n width: var(--z-pagination--page-button-width);\n}\n\nz-pagination .pages-container {\n position: relative;\n display: inline-flex;\n max-width: 100%;\n height: 100%;\n overflow-x: auto;\n scroll-behavior: smooth;\n scroll-snap-align: center;\n\n /* hide scrollbar in Firefox */\n scrollbar-width: none;\n}\n\nz-pagination .pages-container::-webkit-scrollbar {\n display: none;\n}\n\nz-pagination .pages-chunk {\n display: flex;\n scroll-snap-align: center;\n}\n\nz-pagination .pagination-bar .page-button {\n padding-top: var(--border-size-large) solid transparent;\n border-bottom: var(--border-size-large) solid transparent;\n font-size: var(--font-size-2);\n font-weight: var(--font-sb);\n}\n\nz-pagination .pagination-bar .page-button[data-current] {\n border-bottom-color: var(--color-primary01);\n font-size: var(--font-size-7);\n}\n\nz-pagination .go-to-page {\n display: flex;\n flex-direction: column;\n row-gap: var(--space-unit);\n}\n\nz-pagination .go-to-page .label {\n color: var(--color-default-text);\n text-transform: uppercase;\n}\n\nz-pagination .go-to-page .inputs {\n display: flex;\n column-gap: var(--space-unit);\n}\n\nz-pagination .go-to-page .inputs z-input {\n width: calc(var(--space-unit) * 11);\n}\n\nz-pagination .go-to-page .inputs z-input input,\nz-pagination .mobile-go-to-page z-input input {\n padding: 0 calc(var(--space-unit) * 1.5) !important;\n appearance: none;\n}\n\nz-pagination .mobile-go-to-page {\n display: flex;\n height: 100%;\n flex: 1 auto;\n align-items: center;\n justify-content: center;\n background-color: var(--color-surface02);\n}\n\nz-pagination .mobile-go-to-page z-input {\n width: var(--z-pagination--page-button-width);\n margin-right: var(--space-unit);\n}\n\nz-pagination .mobile-go-to-page z-input input {\n text-align: center;\n}\n\nz-pagination .mobile-go-to-page z-input input::-webkit-outer-spin-button,\nz-pagination .mobile-go-to-page z-input input::-webkit-inner-spin-button {\n appearance: none;\n}\n\nz-pagination .mobile-go-to-page > span {\n font-size: var(--font-size-2);\n}\n\n@media (hover: hover) {\n z-pagination .pagination-bar button:hover {\n background-color: var(--color-surface01);\n }\n\n z-pagination .pagination-bar .page-button:hover {\n border-bottom-color: var(--color-hover-primary);\n color: var(--color-hover-primary);\n }\n}\n\n@media (min-width: 768px) {\n z-pagination {\n --z-pagination--page-button-width: 88px;\n\n flex-direction: row;\n align-items: flex-end;\n }\n\n z-pagination .pages-container {\n max-width: var(--z-pagination--pages-container-max-width);\n }\n}\n","import { Host, h } from \"@stencil/core\";\nimport { InputType } from \"../../beans\";\n/**\n * Pagination bar component.\n */\nexport class ZPagination {\n constructor() {\n this.label = undefined;\n this.navArrows = true;\n this.totalPages = undefined;\n this.skip = 0;\n this.edges = false;\n this.split = undefined;\n this.visiblePages = undefined;\n this.currentPage = 1;\n this.goToPage = undefined;\n this._visiblePages = this.visiblePages;\n this.isMobile = false;\n this.goToPageValue = null;\n }\n /**\n * Set the max width of the pages container.\n */\n setPagesContainerWidth() {\n if (!this._visiblePages || this.split) {\n this.host.style.setProperty(\"--z-pagination--pages-container-max-width\", \"100%\");\n return;\n }\n const pagesContainerStyle = window.getComputedStyle(this.host);\n const pageButtonWidth = pagesContainerStyle.getPropertyValue(\"--z-pagination--page-button-width\");\n this.host.style.setProperty(\"--z-pagination--pages-container-max-width\", `calc(${pageButtonWidth} * ${this._visiblePages})`);\n }\n /**\n * Set visible pages.\n * Ensure that the visible pages are always <= the total pages.\n * If `visiblePages` isn't set, fallback to the total pages.\n */\n setVisiblePages() {\n this._visiblePages = Math.min(this.visiblePages || this.totalPages, this.totalPages);\n }\n /**\n * On page changed.\n * @emits pageChanged\n */\n onPageChanged() {\n this.pageChanged.emit(this.currentPage);\n this.scrollToPage();\n }\n /**\n * On split changed.\n * Empty `edges` value. The split feature wins over the pages chunks and edges.\n */\n onSplitChanged() {\n if (this.split) {\n this.edges = false;\n }\n }\n /**\n * Hide stuff on mobile.\n */\n onResize() {\n this.setMobile();\n }\n /**\n * Set functionalities according to screen size.\n */\n setMobile() {\n const mobileMediaQuery = \"screen and (max-width: 767px)\";\n this.isMobile = window.matchMedia(mobileMediaQuery).matches;\n }\n /**\n * Get a list of pages chunks, each of `visiblePages` length.\n * @returns {number[][]}\n */\n getPagesChunks() {\n // array of numbers from 1 to `totalPages`\n const pages = Array.from({ length: this.totalPages }, (_, i) => i + 1);\n const chunks = [];\n const chunksCount = Math.ceil(pages.length / this._visiblePages);\n for (let index = 0; index < chunksCount; index++) {\n chunks.push(pages.slice(index * this._visiblePages, (index + 1) * this._visiblePages));\n }\n return chunks;\n }\n /**\n * Scroll to the left the chunk of pages containing the current page.\n */\n scrollToPage() {\n const pageBtn = this.host.querySelector(`[data-page=\"${this.currentPage}\"]`);\n if (!pageBtn) {\n return;\n }\n pageBtn.scrollIntoView({\n behavior: \"smooth\",\n block: \"nearest\",\n inline: \"center\",\n });\n }\n /**\n * Select a page.\n * Do validations on the passed value before assigning it to `currentPage`.\n * @param {number} page Page number to set\n */\n selectPage(page) {\n this.currentPage = Math.min(Math.max(page, 1), this.totalPages);\n }\n /**\n * Render page number button.\n * @param {number} page Page number to render\n * @returns {HTMLButtonElement}\n */\n renderPage(page) {\n return (h(\"button\", { class: \"page-button\", type: \"button\", \"aria-current\": this.currentPage === page ? \"page\" : \"false\", title: `Vai alla pagina ${page}`, \"data-page\": page, \"data-current\": this.currentPage === page, onClick: () => this.selectPage(page) }, page));\n }\n /**\n * Render split button.\n * @param {number} page Page to select on click.\n * @returns {HTMLButtonElement}\n */\n renderEllipsisButton(page) {\n return (h(\"button\", { class: \"ellipsis-button\", type: \"button\", title: `Vai alla pagina ${page}`, onClick: () => this.selectPage(page) }, \"\\u2026\"));\n }\n /**\n * Render chunked page buttons.\n * @returns {HTMLDivElement[]}\n */\n renderPages() {\n const pagesChunks = this.getPagesChunks();\n if (pagesChunks.length <= 0) {\n return;\n }\n return pagesChunks.map((chunk) => h(\"div\", { class: \"pages-chunk\" }, chunk.map((page) => this.renderPage(page))));\n }\n /**\n * Render page buttons when split feature is enabled.\n * @returns {HTMLButtonElement[]}\n */\n renderSplitPages() {\n // left and right split pages, current page, first and last page, left and right ellipsis button\n if (this.totalPages <= this.split * 2 + 5) {\n // Too few pages: ellipsis will never be rendered, so let's just render all pages and that's it.\n return Array.from({ length: this.totalPages }, (_, i) => this.renderPage(i + 1));\n }\n if (this.currentPage <= this.split * 2 + 2) {\n // Render first (2 * split + 3) pages, ellipsis, then last page.\n return [\n ...Array.from({ length: this.split * 2 + 3 }, (_, i) => this.renderPage(i + 1)),\n this.renderEllipsisButton(this.split * 2 + 4),\n this.renderPage(this.totalPages),\n ];\n }\n if (this.currentPage > this.split * 2 + 2 && this.currentPage < this.totalPages - this.split * 2 - 1) {\n // Render first page, ellipsis, current page surrounded by (split) pages both before and after, another ellipsis, then last page.\n return [\n this.renderPage(1),\n this.renderEllipsisButton(this.currentPage - this.split - 1),\n ...Array.from({ length: this.split * 2 + 1 }, (_, i) => this.renderPage(this.currentPage - this.split + i)),\n this.renderEllipsisButton(this.currentPage + this.split + 1),\n this.renderPage(this.totalPages),\n ];\n }\n // Render first page, ellipsis, then last (2 * split + 3) pages.\n return [\n this.renderPage(1),\n this.renderEllipsisButton(this.totalPages - this.split * 2 - 3),\n ...Array.from({ length: this.split * 2 + 3 }, (_, i) => this.renderPage(this.totalPages - this.split * 2 - 2 + i)),\n ];\n }\n renderBackButton() {\n return (h(\"button\", { class: \"navigation-button\", type: \"button\", title: \"Vai alla pagina precedente\", disabled: this.currentPage === 1, onClick: () => this.selectPage(this.currentPage - 1) }, h(\"z-icon\", { name: \"chevron-left\" })));\n }\n renderForwardButton() {\n return (h(\"button\", { class: \"navigation-button\", type: \"button\", title: \"Vai alla prossima pagina\", disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.currentPage + 1) }, h(\"z-icon\", { name: \"chevron-right\" })));\n }\n renderMobile() {\n const pagesChunks = this.getPagesChunks();\n return [\n this.label && h(\"span\", { class: \"page-label body-1-sb\" }, this.label),\n h(\"div\", { class: \"pagination-bar\" }, this.renderBackButton(), !this.goToPage && (h(\"div\", { class: \"pages-container\", role: \"navigation\", tabIndex: -1 }, pagesChunks.length > 0 &&\n pagesChunks.map((chunk) => h(\"div\", { class: \"pages-chunk\" }, chunk.map((page) => this.renderPage(page)))))), this.goToPage && (h(\"form\", { class: \"mobile-go-to-page\", onSubmit: (ev) => {\n ev.preventDefault();\n this.selectPage(this.goToPageValue);\n } }, h(\"z-input\", { class: \"go-to-page-input\", type: InputType.NUMBER, min: 1, max: this.totalPages, message: false, onInput: (ev) => {\n this.goToPageValue = ev.target.value;\n }, placeholder: this.currentPage.toString(), hasclearicon: false }), h(\"span\", null, `/${this.totalPages}`))), this.renderForwardButton()),\n ];\n }\n componentDidLoad() {\n this.setVisiblePages();\n }\n componentDidRender() {\n if (this.split) {\n this.edges = false;\n }\n this.setPagesContainerWidth();\n this.setMobile();\n }\n render() {\n if (this.isMobile) {\n return h(Host, null, this.renderMobile());\n }\n return (h(Host, null, h(\"div\", { class: \"pagination-bar\" }, this.label && h(\"span\", { class: \"page-label body-1-sb\" }, this.label), this.edges && (h(\"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 && (h(\"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(), h(\"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 && (h(\"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 && (h(\"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 && (h(\"div\", { class: \"go-to-page\" }, h(\"span\", { class: \"label body-5-sb\" }, \"Vai a pagina:\"), h(\"div\", { class: \"inputs\" }, h(\"z-input\", { class: \"go-to-page-input\", type: InputType.NUMBER, min: 1, max: this.totalPages, message: false, placeholder: \"2\", hasclearicon: false, onInput: (ev) => {\n this.goToPageValue = ev.target.value;\n }, onKeyDown: (ev) => ev.key === \"Enter\" && this.selectPage(this.goToPageValue) }), h(\"z-button\", { disabled: !this.goToPageValue, title: \"Vai alla pagina inserita\", onClick: () => this.selectPage(this.goToPageValue) }, \"vai\"))))));\n }\n static get is() { return \"z-pagination\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"styles.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"styles.css\"]\n };\n }\n static get properties() {\n return {\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Pagination label placed before the bar.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"navArrows\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Enable navigation arrows.\"\n },\n \"attribute\": \"nav-arrows\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n },\n \"totalPages\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Total number of pages. Required.\"\n },\n \"attribute\": \"total-pages\",\n \"reflect\": false\n },\n \"skip\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Number of pages to skip.\"\n },\n \"attribute\": \"skip\",\n \"reflect\": false,\n \"defaultValue\": \"0\"\n },\n \"edges\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Enable buttons to go to the first and last pages.\"\n },\n \"attribute\": \"edges\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"split\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Number of pages to show left/right of the current, before showing \\\"load more\\\" symbol (\\u2026).\"\n },\n \"attribute\": \"split\",\n \"reflect\": false\n },\n \"visiblePages\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Number of pages to show at a time. If not set, all pages will be shown.\"\n },\n \"attribute\": \"visible-pages\",\n \"reflect\": false\n },\n \"currentPage\": {\n \"type\": \"number\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Current page.\"\n },\n \"attribute\": \"current-page\",\n \"reflect\": false,\n \"defaultValue\": \"1\"\n },\n \"goToPage\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Whether to show \\\"go to page\\\" feature.\"\n },\n \"attribute\": \"go-to-page\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"_visiblePages\": {},\n \"isMobile\": {},\n \"goToPageValue\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"pageChanged\",\n \"name\": \"pageChanged\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Event emitted when the current page has changed.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }];\n }\n static get elementRef() { return \"host\"; }\n static get watchers() {\n return [{\n \"propName\": \"_visiblePages\",\n \"methodName\": \"setPagesContainerWidth\"\n }, {\n \"propName\": \"visiblePages\",\n \"methodName\": \"setVisiblePages\"\n }, {\n \"propName\": \"currentPage\",\n \"methodName\": \"onPageChanged\"\n }, {\n \"propName\": \"split\",\n \"methodName\": \"onSplitChanged\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"resize\",\n \"method\": \"onResize\",\n \"target\": \"window\",\n \"capture\": false,\n \"passive\": true\n }];\n }\n}\n//# sourceMappingURL=index.js.map\n"],"mappings":"oGAAA,MAAMA,EAAY,20H,MCKLC,EAAW,MACpB,WAAAC,CAAAC,G,mDACIC,KAAKC,MAAQC,UACbF,KAAKG,UAAY,KACjBH,KAAKI,WAAaF,UAClBF,KAAKK,KAAO,EACZL,KAAKM,MAAQ,MACbN,KAAKO,MAAQL,UACbF,KAAKQ,aAAeN,UACpBF,KAAKS,YAAc,EACnBT,KAAKU,SAAWR,UAChBF,KAAKW,cAAgBX,KAAKQ,aAC1BR,KAAKY,SAAW,MAChBZ,KAAKa,cAAgB,IACxB,CAID,sBAAAC,GACI,IAAKd,KAAKW,eAAiBX,KAAKO,MAAO,CACnCP,KAAKe,KA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,::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=t=>(t===null||t===void 0?void 0:t.tagName)==="Z-MENU-SECTION";const l=class{get focusableItem(){return this.items.find((t=>h(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(h(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(!h(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(!h(t)){t.dataset.text=t.textContent}}))}moveFocus(t,i){if(h(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(h(t)&&t.open){t.focusLastItem();return}this.moveFocus(t)}onOpenChanged(){if(!this.open){cancelAnimationFrame(this.raf);this.closed.emit();this.items.forEach((t=>{if(h(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(h(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(h(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"]}}};l.style=r;export{l as z_menu};
2
+ //# sourceMappingURL=p-52d05436.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","isZMenuSection","el","tagName","ZMenu","focusableItem","this","items","find","item","htmlTabindex","tabIndex","toggle","hasContent","open","onLabelSlotChange","ev","labelElement","target","assignedElements","dataset","text","textContent","setLabelA11yAttrs","reflow","live","floating","content","style","left","host","getBoundingClientRect","widthPx","getComputedStyle","width","parseFloat","replace","safeScrollbarSpace","Math","min","window","innerWidth","raf","requestAnimationFrame","bind","checkContent","hasHeader","querySelectorAll","length","setItemTabindex","setItemsA11yAttrs","forEach","index","tabindex","setAttribute","onItemsChange","Array","from","children","filter","slot","moveFocus","receiver","current","setFocus","setTimeout","focus","onLabelClick","onLabelKeydown","key","KeyboardCode","ENTER","SPACE","preventDefault","stopPropagation","verticalContext","ARROW_RIGHT","label","labelButton","firstElementChild","focusLastItem","lastItem","onOpenChanged","cancelAnimationFrame","closed","emit","opened","slottedLabel","role","onItemClick","clickedItem","containsElement","onKeyDown","_a","ESC","ARROW_DOWN","document","activeElement","currentIndex","indexOf","ARROW_UP","ARROW_LEFT","constructor","hostRef","active","undefined","componentWillLoad","render","h","class","onSlotchange","Host","ref","onClick","name"],"sources":["node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-menu/styles.css?tag=z-menu&encapsulation=shadow","node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-menu/index.js"],"sourcesContent":[":host,\n::slotted(*),\n* {\n box-sizing: border-box;\n outline: none;\n}\n\n:host {\n --z-menu-label-color: ;\n\n position: relative;\n display: inline-flex;\n height: fit-content;\n flex-direction: column;\n}\n\n::slotted(a) {\n text-decoration: none;\n}\n\n::slotted(*) {\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n.menu-label {\n position: relative;\n display: flex;\n width: 100%;\n align-items: center;\n padding: 0;\n border: 0;\n border-bottom: var(--border-size-large) solid transparent;\n margin: 0;\n background: transparent;\n border-radius: 0;\n color: inherit;\n text-align: left;\n}\n\nbutton.menu-label {\n cursor: pointer;\n}\n\n.menu-label:focus-visible,\ndiv.menu-label:focus-within {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host(:is([active], [open])) .menu-label ::slotted(*),\n.menu-label:focus-visible ::slotted(*),\ndiv.menu-label:focus-within ::slotted(*) {\n color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n\n:host([vertical-context]) .menu-label {\n padding: var(--space-unit) 0;\n border-width: var(--border-size-small);\n border-color: var(--color-surface03);\n}\n\n:host(:is([active], [open])) .menu-label,\n.menu-label:hover,\n.menu-label:focus-visible,\ndiv.menu-label:focus-within {\n border-color: var(--color-primary01);\n}\n\n:host([vertical-context]:is([active], [open])) .menu-label::after,\n:host([vertical-context]) .menu-label:hover::after,\n:host([vertical-context]) .menu-label:focus-visible::after,\n:host([vertical-context]) div.menu-label:focus-within::after {\n position: absolute;\n bottom: calc(var(--border-size-small) * -1);\n left: 0;\n width: 100%;\n height: var(--border-size-large);\n background-color: var(--color-primary01);\n content: \"\";\n}\n\n:host([vertical-context]) .menu-label ::slotted(*) {\n padding: 0;\n}\n\n.menu-label ::slotted(*) {\n display: inline-flex;\n width: 100%;\n min-width: fit-content;\n padding-bottom: 2px;\n margin: 0;\n appearance: none;\n color: var(--z-menu-label-color, var(--color-default-text));\n font-family: var(--font-family-sans);\n font-size: var(--font-size-3);\n font-weight: inherit;\n line-height: 1.5;\n white-space: nowrap;\n}\n\n.menu-label z-icon {\n margin-left: calc(var(--space-unit) * 1.5);\n fill: var(--color-default-icon);\n}\n\n/* Prevents layout shifts on font-weight changes.\nThe trick is to put an hidden copy of the text already set to bold,\nso the needed space is correctly calculated before any hover/active state changes the\nfont-weight of the real text.\nThe hidden text has an height of 0px so it can expand the width without changing the height\nwhen placed below the real text using `flex-direction: column`. */\n::slotted([data-text]:not([slot]))::after {\n height: 0;\n content: attr(data-text);\n content: attr(data-text) / \"\";\n font-weight: var(--font-bd);\n letter-spacing: normal;\n pointer-events: none;\n user-select: none;\n visibility: hidden;\n}\n\n@media speech {\n ::slotted([data-text]:not([slot]))::after {\n display: none;\n }\n}\n\n::slotted([data-text]:not([slot])) {\n display: inline-flex;\n flex-direction: column;\n}\n\n.content {\n background: var(--color-surface01);\n}\n\n:host(:not([open])) .content {\n display: none;\n}\n\n:host([floating]:not([vertical-context])) .content {\n position: absolute;\n top: 100%;\n left: 0;\n width: 375px;\n min-width: 100%;\n max-width: 100vw;\n padding: 0 calc(var(--space-unit) * 2);\n box-shadow: var(--shadow-2);\n}\n\n:host(:not([floating])) .content {\n width: 100%;\n}\n\n.header {\n display: flex;\n align-items: center;\n padding: var(--space-unit) 0 calc(var(--space-unit) * 2);\n}\n\n.header ::slotted(img[slot=\"header\"]) {\n width: calc(var(--space-unit) * 11.25);\n height: auto;\n object-fit: contain;\n}\n\n.header ::slotted([slot=\"header\"]:not(:first-child)) {\n margin: auto 0;\n margin-left: calc(var(--space-unit) * 2.5);\n font-size: var(--font-size-3);\n font-weight: var(--font-sb);\n line-height: 1.5;\n}\n\n.items {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: inherit;\n}\n\n.items > ::slotted([slot=\"item\"]) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.5;\n}\n\n.items > ::slotted([slot=\"item\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n}\n\n.items > ::slotted([slot=\"item\"]:not(z-menu-section)) {\n padding: var(--space-unit) 0;\n border-bottom: var(--border-size-small) solid var(--color-surface03);\n}\n\n:host(:not([vertical-context])) .items > ::slotted([slot=\"item\"]:last-child) {\n border-bottom: 0;\n}\n\n.items > ::slotted([slot=\"item\"]:hover),\n.items > ::slotted([slot=\"item\"]:focus:focus-visible),\n.items > ::slotted([slot=\"item\"]:active),\n.items > ::slotted([slot=\"item\"][active]),\n.items > ::slotted([slot=\"item\"][data-active]) {\n border-color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n","import { Host, h } from \"@stencil/core\";\nimport { KeyboardCode } from \"../../beans\";\nimport { containsElement } from \"../../utils/utils\";\nconst isZMenuSection = (el) => (el === null || el === void 0 ? void 0 : el.tagName) === \"Z-MENU-SECTION\";\n/**\n * @slot - Menu label\n * @slot header - Header to display as the first entry of the open menu.\n * @slot item - Single entry of the section. Can be slotted multiple times to insert items onto the menu. Set the `data-active` HTML attribute on the element to highlight it (`active` also works but `data-active` is preferable). Use `z-menu-section` for submenus.\n * @cssprop --z-menu-label-color - Color of the label's text.\n */\nexport class ZMenu {\n get focusableItem() {\n return this.items.find((item) => (isZMenuSection(item) ? item.htmlTabindex === 0 : item.tabIndex === 0));\n }\n toggle() {\n if (!this.hasContent) {\n return;\n }\n this.open = !this.open;\n }\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n onLabelSlotChange(ev) {\n const labelElement = ev.target.assignedElements()[0];\n labelElement.dataset.text = labelElement === null || labelElement === void 0 ? void 0 : labelElement.textContent;\n this.setLabelA11yAttrs();\n }\n /**\n * Correctly set position of the floating menu in order to prevent overflow.\n * @param live Should run the method on every refresh frame.\n */\n reflow(live = false) {\n if (!this.floating) {\n return;\n }\n if (this.content && this.hasContent) {\n const { style } = this.content;\n const { left } = this.host.getBoundingClientRect();\n const widthPx = getComputedStyle(this.content).width;\n const width = widthPx ? parseFloat(widthPx.replace(\"px\", \"\")) : 375;\n const safeScrollbarSpace = 30;\n style.left = `${Math.min(window.innerWidth - left - width - safeScrollbarSpace, 0)}px`;\n }\n if (live) {\n this.raf = requestAnimationFrame(this.reflow.bind(this, live));\n }\n }\n /**\n * Check if some content slot is set.\n */\n checkContent() {\n this.hasHeader = !!this.host.querySelectorAll(\"[slot=header]\").length;\n this.hasContent = !!this.host.querySelectorAll(\"[slot=item]\").length || this.hasHeader;\n }\n setItemTabindex(item, tabIndex) {\n if (isZMenuSection(item)) {\n item.htmlTabindex = tabIndex;\n }\n else {\n item.tabIndex = tabIndex;\n }\n }\n /**\n * Set `menuitem` role to all menu items (ZMenuSection items already have it).\n * Set -1 to the tabindex of the items and 0 to the first one.\n */\n setItemsA11yAttrs() {\n this.items.forEach((item, index) => {\n const tabindex = index === 0 ? 0 : -1;\n this.setItemTabindex(item, tabindex);\n if (!isZMenuSection(item)) {\n item.setAttribute(\"role\", \"menuitem\");\n }\n });\n }\n onItemsChange() {\n this.checkContent();\n this.items = Array.from(this.host.children).filter(({ slot }) => slot === \"item\");\n this.setItemsA11yAttrs();\n this.items.forEach((item) => {\n if (!isZMenuSection(item)) {\n item.dataset.text = item.textContent;\n }\n });\n }\n /**\n * Move focus and adjust the tabindex value of `receiver` and `current` elements,\n * setting -1 to the `current` and 0 to the `receiver`, then focus the `receiver` element.\n * If the receiver is a ZMenuSection and it's open, focus its first focusable item.\n */\n moveFocus(receiver, current) {\n if (isZMenuSection(receiver)) {\n receiver.setFocus();\n }\n else {\n receiver.tabIndex = 0;\n setTimeout(() => {\n receiver.focus();\n }, 100);\n }\n if (!current) {\n return;\n }\n this.setItemTabindex(current, -1);\n }\n onLabelClick() {\n this.toggle();\n this.setFocus();\n }\n onLabelKeydown(ev) {\n if (ev.key === KeyboardCode.ENTER || ev.key === KeyboardCode.SPACE) {\n ev.preventDefault();\n ev.stopPropagation();\n this.toggle();\n if (this.open) {\n this.moveFocus(this.items[0]);\n }\n return;\n }\n if (!this.verticalContext) {\n return;\n }\n if (ev.key === KeyboardCode.ARROW_RIGHT && !this.open) {\n ev.preventDefault();\n ev.stopPropagation();\n this.open = true;\n this.moveFocus(this.items[0]);\n }\n }\n /** Set tabindex of the label to 0, then focus it. */\n async setFocus() {\n this.htmlTabindex = 0;\n const label = this.hasContent ? this.labelButton : this.host.firstElementChild;\n label.focus();\n }\n /**\n * Focus the last item.\n */\n async focusLastItem() {\n const lastItem = this.items[this.items.length - 1];\n if (isZMenuSection(lastItem) && lastItem.open) {\n lastItem.focusLastItem();\n return;\n }\n this.moveFocus(lastItem);\n }\n onOpenChanged() {\n if (!this.open) {\n cancelAnimationFrame(this.raf);\n this.closed.emit();\n this.items.forEach((item) => {\n if (isZMenuSection(item) && item.open) {\n item.open = false;\n }\n });\n return;\n }\n this.setItemsA11yAttrs();\n this.opened.emit();\n if (this.floating) {\n this.reflow(true);\n }\n }\n setLabelA11yAttrs() {\n if (this.hasContent && this.labelButton) {\n this.labelButton.tabIndex = this.htmlTabindex;\n return;\n }\n const slottedLabel = this.host.firstElementChild;\n slottedLabel.role = \"menuitem\";\n slottedLabel.tabIndex = this.htmlTabindex;\n }\n /**\n * Set tabindex to -1 to all siblings of the clicked item.\n */\n onItemClick(ev) {\n const clickedItem = this.items.find((item) => containsElement(item, ev.target));\n if (clickedItem) {\n this.items.forEach((item) => {\n if (item === clickedItem) {\n return;\n }\n if (isZMenuSection(item)) {\n item.htmlTabindex = -1;\n }\n else {\n item.tabIndex = -1;\n }\n });\n }\n }\n onKeyDown(ev) {\n var _a;\n if (!this.hasContent) {\n return;\n }\n switch (ev.key) {\n case KeyboardCode.ESC:\n if (!this.open) {\n break;\n }\n ev.stopPropagation();\n ev.preventDefault();\n this.open = false;\n this.setFocus();\n break;\n case KeyboardCode.ARROW_DOWN: {\n if (document.activeElement === this.host) {\n if (this.verticalContext && !this.open) {\n break;\n }\n ev.stopPropagation();\n ev.preventDefault();\n if (!this.open) {\n this.open = true;\n }\n this.moveFocus(this.items[0]);\n break;\n }\n const currentIndex = this.items.indexOf(this.focusableItem);\n if (this.verticalContext && currentIndex === this.items.length - 1) {\n // navigation is going to leave this menu. restore tabindex to the label and let the parent handle it\n this.setItemTabindex(this.items[currentIndex], -1);\n this.htmlTabindex = 0;\n break;\n }\n ev.stopPropagation();\n ev.preventDefault();\n const receiver = this.items[currentIndex + 1];\n // if the last item is already focused, navigate to the first one\n this.moveFocus(receiver !== null && receiver !== void 0 ? receiver : this.items[0], this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_UP: {\n if (document.activeElement === this.host) {\n if (this.verticalContext) {\n break;\n }\n ev.stopPropagation();\n ev.preventDefault();\n // open the menu and focus the last item\n if (!this.open) {\n this.open = true;\n }\n this.moveFocus(this.items[this.items.length - 1], this.focusableItem);\n break;\n }\n ev.stopPropagation();\n ev.preventDefault();\n const currentIndex = this.items.indexOf(this.focusableItem);\n if (currentIndex === 0 && this.verticalContext) {\n this.setItemTabindex(this.focusableItem, -1);\n this.setFocus();\n break;\n }\n const receiver = (_a = this.items[currentIndex - 1]) !== null && _a !== void 0 ? _a : this.items[this.items.length - 1];\n // if the receiver is a ZMenuSection and it's open, focus its last item\n if (isZMenuSection(receiver) && receiver.open) {\n this.setItemTabindex(this.focusableItem, -1);\n receiver.focusLastItem();\n break;\n }\n this.moveFocus(receiver, this.focusableItem);\n break;\n }\n case KeyboardCode.ARROW_LEFT:\n if (!this.open || !this.verticalContext) {\n break;\n }\n // close the menu and focus the label\n ev.preventDefault();\n ev.stopPropagation();\n this.open = false;\n this.setFocus();\n }\n }\n constructor() {\n this.items = [];\n this.active = undefined;\n this.floating = true;\n this.open = false;\n this.verticalContext = false;\n this.htmlTabindex = -1;\n this.hasHeader = undefined;\n this.hasContent = undefined;\n this.toggle = this.toggle.bind(this);\n this.checkContent = this.checkContent.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onLabelClick = this.onLabelClick.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n this.onLabelKeydown = this.onLabelKeydown.bind(this);\n }\n componentWillLoad() {\n this.setLabelA11yAttrs();\n this.onItemsChange();\n }\n render() {\n if (!this.hasContent) {\n return (h(\"div\", { class: \"menu-label\" }, h(\"slot\", { onSlotchange: this.onLabelSlotChange })));\n }\n return (h(Host, null, h(\"button\", { ref: (el) => (this.labelButton = el), 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 }, h(\"slot\", { onSlotchange: this.onLabelSlotChange }), h(\"z-icon\", { name: this.open ? \"chevron-up\" : \"chevron-down\" })), h(\"div\", { class: \"content\", ref: (el) => (this.content = el) }, this.hasHeader && (h(\"header\", { class: \"header\" }, h(\"slot\", { name: \"header\", onSlotchange: this.checkContent }))), h(\"div\", { class: \"items\", role: \"menu\" }, h(\"slot\", { name: \"item\", onSlotchange: this.onItemsChange })))));\n }\n static get is() { return \"z-menu\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"styles.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"styles.css\"]\n };\n }\n static get properties() {\n return {\n \"active\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Flag to set the active status of the menu.\"\n },\n \"attribute\": \"active\",\n \"reflect\": true\n },\n \"floating\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Flag to set the display mode of the list.\\nIf true, the list will be absolutely positioned under the menu label,\\nstacked beneath it otherwise.\"\n },\n \"attribute\": \"floating\",\n \"reflect\": true,\n \"defaultValue\": \"true\"\n },\n \"open\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The opening state of the menu.\"\n },\n \"attribute\": \"open\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"verticalContext\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Tells the component that it's placed in a vertical context with other `ZMenu`s (usually in the ZAppHeader's offcanvas).\\nA small border is placed under it as a separator from other elements.\"\n },\n \"attribute\": \"vertical-context\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"htmlTabindex\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Tabindex value to set on the menu label.\\nUseful to manage keyboard navigation focus with roving tabindex handled by this component's parent (usually ZAppHeader).\"\n },\n \"attribute\": \"html-tabindex\",\n \"reflect\": false,\n \"defaultValue\": \"-1\"\n }\n };\n }\n static get states() {\n return {\n \"hasHeader\": {},\n \"hasContent\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"opened\",\n \"name\": \"opened\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The menu has been opened.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"closed\",\n \"name\": \"closed\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The menu has been closed.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLElement\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Set tabindex of the label to 0, then focus it.\",\n \"tags\": []\n }\n },\n \"focusLastItem\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Focus the last item.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"host\"; }\n static get watchers() {\n return [{\n \"propName\": \"open\",\n \"methodName\": \"onOpenChanged\"\n }, {\n \"propName\": \"htmlTabindex\",\n \"methodName\": \"setLabelA11yAttrs\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"click\",\n \"method\": \"onItemClick\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"keydown\",\n \"method\": \"onKeyDown\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=index.js.map\n"],"mappings":"gKAAA,MAAMA,EAAY,yuHCGlB,MAAMC,EAAkBC,IAAQA,IAAO,MAAQA,SAAO,OAAS,EAASA,EAAGC,WAAa,iB,MAO3EC,EAAK,MACd,iBAAIC,GACA,OAAOC,KAAKC,MAAMC,MAAMC,GAAUR,EAAeQ,GAAQA,EAAKC,eAAiB,EAAID,EAAKE,WAAa,G,CAEzG,MAAAC,GACI,IA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xG,KAAKuC,gBAAmB+D,EAAE,MAAO,CAAEC,MAAO,QAASrB,KAAM,QAAUoB,EAAE,OAAQ,CAAEM,KAAM,OAAQJ,aAAcxG,KAAKiD,kB","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r,h as o}from"./p-Cam6wBSi.js";const s=":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-inverse-success);fill:var(--color-default-success)}:host>.warning{background:var(--color-inverse-warning);fill:var(--color-default-warning)}:host>.error{background:var(--color-inverse-error);fill:var(--color-default-error)}";const a=class{constructor(o){r(this,o);this.type=undefined}render(){return o("div",{key:"7b5c63664284517f067c7216166e1d132a25c294",class:this.type},o("slot",{key:"24ec7b94ade69283dcb0719c01f5812e5e63d243"}))}};a.style=s;export{a as z_alert};
2
+ //# sourceMappingURL=p-53c4cea5.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZAlert","constructor","hostRef","this","type","undefined","render","h","key","class"],"sources":["node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/z-alert/styles.css?tag=z-alert&encapsulation=shadow","node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/z-alert/index.js"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n color: var(--color-surface05);\n font-family: var(--font-family-sans);\n font-size: 14px;\n font-weight: var(--font-rg);\n line-height: calc(var(--space-unit) * 2);\n}\n\n:host > div {\n padding: calc(var(--space-unit) * 2);\n}\n\n:host > .success {\n background: var(--color-inverse-success);\n fill: var(--color-default-success);\n}\n\n:host > .warning {\n background: var(--color-inverse-warning);\n fill: var(--color-default-warning);\n}\n\n:host > .error {\n background: var(--color-inverse-error);\n fill: var(--color-default-error);\n}\n","import { h } from \"@stencil/core\";\n/**\n * @slot - alert content\n */\nexport class ZAlert {\n constructor() {\n this.type = undefined;\n }\n render() {\n return (h(\"div\", { key: '7b5c63664284517f067c7216166e1d132a25c294', class: this.type }, h(\"slot\", { key: '24ec7b94ade69283dcb0719c01f5812e5e63d243' })));\n }\n static get is() { return \"z-alert\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"styles.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"styles.css\"]\n };\n }\n static get properties() {\n return {\n \"type\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"AlertType\",\n \"resolved\": \"AlertType.ERROR | AlertType.SUCCESS | AlertType.WARNING\",\n \"references\": {\n \"AlertType\": {\n \"location\": \"import\",\n \"path\": \"../../../beans/index\",\n \"id\": \"src/beans/index.tsx::AlertType\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"alert variant type\"\n },\n \"attribute\": \"type\",\n \"reflect\": false\n }\n };\n }\n}\n//# sourceMappingURL=index.js.map\n"],"mappings":"sCAAA,MAAMA,EAAY,mf,MCILC,EAAM,MACf,WAAAC,CAAAC,G,UACIC,KAAKC,KAAOC,SACf,CACD,MAAAC,GACI,OAAQC,EAAE,MAAO,CAAEC,IAAK,2CAA4CC,MAAON,KAAKC,MAAQG,EAAE,OAAQ,CAAEC,IAAK,6C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as t,h as r}from"./p-Cam6wBSi.js";import{m as a}from"./p-B2-dCTD2.js";const i=":host{position:absolute;z-index:2;top:0;left:0;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-alert{height:calc(var(--space-unit) * 6)}.relative-container{position:relative;display:grid;align-items:center;padding:0;grid-column-gap:var(--space-unit);grid-template-columns:18px auto 46px;grid-template-rows:1fr;outline:none}.relative-container::-moz-focus-inner{border:0}.alert-external-wrapper.remove-alert{border:var(--border-size-medium) solid var(--color-background);border-top:none}:host div.add-alert{background:var(--color-inverse-success)}:host div.remove-alert{background:var(--color-inverse-warning)}:host div>.content-text{color:var(--color-surface05);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.content-action{height:20px;color:var(--color-primary01);cursor:pointer;font-size:12px;font-weight:var(--font-sb);letter-spacing:0.32px;line-height:20px}:host div>z-icon{justify-self:center}";const n=class{constructor(r){e(this,r);this.undoAction=t(this,"undoAction",7);this.iconname=undefined;this.contenttext=undefined;this.actiontext=undefined;this.type=undefined}emitUndoAction(){this.undoAction.emit({actionType:this.type})}handleSpaceKeyPress(e){if(e.keyCode==32||e.keyCode==13){e.preventDefault();this.emitUndoAction()}}handleActionButtonClick(e){e.preventDefault();this.emitUndoAction()}retrieveClass(){let e="";switch(this.type){case"add":e="add-alert";break;case"remove":e="remove-alert";break;default:e="";break}return e}getAlertType(){switch(this.type){case"add":return a.SUCCESS;case"remove":return a.WARNING;default:return null}}render(){return r("div",{key:"0a19998aa8afdf605445ca6fff06226dda90bebd",class:"alert-external-wrapper "+this.retrieveClass()},r("z-alert",{key:"580f27b42700aaaab04425d3c8bc60e3ecbdbc8e",type:this.getAlertType()},r("div",{key:"6e8c1366ddd95e0a3ffd3048bf5915d1ca5991c8",class:"relative-container"},r("z-icon",{key:"e50f2727f14417662f9296dc52b69ab3bb7abefc",name:this.iconname,width:18,height:18,class:this.retrieveClass()}),r("span",{key:"4973c8f1184ff49f1c6267e7fff3d97aec1d871f",class:"content-text"},this.contenttext),this.actiontext&&!!this.actiontext.trim().length&&r("span",{key:"758357b1a5f29db6fe2c20216059ef3f086f4f15",role:"button",tabindex:"0",class:"content-action",onClick:e=>{this.handleActionButtonClick(e)},onKeyPress:e=>{this.handleSpaceKeyPress(e)}},this.actiontext))))}};n.style=i;export{n as z_myz_card_alert};
2
+ //# sourceMappingURL=p-545cf652.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZMyzCardAlert","constructor","hostRef","this","iconname","undefined","contenttext","actiontext","type","emitUndoAction","undoAction","emit","actionType","handleSpaceKeyPress","e","keyCode","preventDefault","handleActionButtonClick","retrieveClass","className","getAlertType","AlertType","SUCCESS","WARNING","render","h","key","class","name","width","height","trim","length","role","tabindex","onClick","onKeyPress"],"sources":["node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css?tag=z-myz-card-alert&encapsulation=shadow","node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js"],"sourcesContent":[":host {\n position: absolute;\n z-index: 2;\n top: 0;\n left: 0;\n width: 100%;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host > z-alert {\n height: calc(var(--space-unit) * 6);\n}\n\n.relative-container {\n position: relative;\n display: grid;\n align-items: center;\n padding: 0;\n grid-column-gap: var(--space-unit);\n grid-template-columns: 18px auto 46px;\n grid-template-rows: 1fr;\n outline: none;\n}\n\n.relative-container::-moz-focus-inner {\n border: 0;\n}\n\n.alert-external-wrapper.remove-alert {\n border: var(--border-size-medium) solid var(--color-background);\n border-top: none;\n}\n\n:host div.add-alert {\n background: var(--color-inverse-success);\n}\n\n:host div.remove-alert {\n background: var(--color-inverse-warning);\n}\n\n:host div > .content-text {\n color: var(--color-surface05);\n font-size: 14px;\n letter-spacing: 0.16px;\n line-height: 20px;\n}\n\n:host div > .content-action {\n height: 20px;\n color: var(--color-primary01);\n cursor: pointer;\n font-size: 12px;\n font-weight: var(--font-sb);\n letter-spacing: 0.32px;\n line-height: 20px;\n}\n\n:host div > z-icon {\n justify-self: center;\n}\n","import { h } from \"@stencil/core\";\nimport { AlertType } from \"../../../../beans\";\nexport class ZMyzCardAlert {\n constructor() {\n this.iconname = undefined;\n this.contenttext = undefined;\n this.actiontext = undefined;\n this.type = undefined;\n }\n emitUndoAction() {\n this.undoAction.emit({ actionType: this.type });\n }\n handleSpaceKeyPress(e) {\n if (e.keyCode == 32 || e.keyCode == 13) {\n e.preventDefault();\n this.emitUndoAction();\n }\n }\n handleActionButtonClick(e) {\n e.preventDefault();\n this.emitUndoAction();\n }\n retrieveClass() {\n let className = \"\";\n switch (this.type) {\n case \"add\":\n className = \"add-alert\";\n break;\n case \"remove\":\n className = \"remove-alert\";\n break;\n default:\n className = \"\";\n break;\n }\n return className;\n }\n getAlertType() {\n switch (this.type) {\n case \"add\":\n return AlertType.SUCCESS;\n case \"remove\":\n return AlertType.WARNING;\n default:\n return null;\n }\n }\n render() {\n return (h(\"div\", { key: '0a19998aa8afdf605445ca6fff06226dda90bebd', class: \"alert-external-wrapper \" + this.retrieveClass() }, h(\"z-alert\", { key: '580f27b42700aaaab04425d3c8bc60e3ecbdbc8e', type: this.getAlertType() }, h(\"div\", { key: '6e8c1366ddd95e0a3ffd3048bf5915d1ca5991c8', class: \"relative-container\" }, h(\"z-icon\", { key: 'e50f2727f14417662f9296dc52b69ab3bb7abefc', name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), h(\"span\", { key: '4973c8f1184ff49f1c6267e7fff3d97aec1d871f', class: \"content-text\" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (h(\"span\", { key: '758357b1a5f29db6fe2c20216059ef3f086f4f15', role: \"button\", tabindex: \"0\", class: \"content-action\", onClick: (e) => {\n this.handleActionButtonClick(e);\n }, onKeyPress: (e) => {\n this.handleSpaceKeyPress(e);\n } }, this.actiontext))))));\n }\n static get is() { return \"z-myz-card-alert\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"styles.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"styles.css\"]\n };\n }\n static get properties() {\n return {\n \"iconname\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"icon name\"\n },\n \"attribute\": \"iconname\",\n \"reflect\": false\n },\n \"contenttext\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"content text\"\n },\n \"attribute\": \"contenttext\",\n \"reflect\": false\n },\n \"actiontext\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"action button text\"\n },\n \"attribute\": \"actiontext\",\n \"reflect\": false\n },\n \"type\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"alert variant type\"\n },\n \"attribute\": \"type\",\n \"reflect\": false\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"undoAction\",\n \"name\": \"undoAction\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"undo action click/keyboard event, returns actionType\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }];\n }\n}\n//# sourceMappingURL=index.js.map\n"],"mappings":"sFAAA,MAAMA,EAAY,y7B,MCELC,EAAa,MACtB,WAAAC,CAAAC,G,iDACIC,KAAKC,SAAWC,UAChBF,KAAKG,YAAcD,UACnBF,KAAKI,WAAaF,UAClBF,KAAKK,KAAOH,SACf,CACD,cAAAI,GACIN,KAAKO,WAAWC,KAAK,CAAEC,WAAYT,KAAKK,M,CAE5C,mBAAAK,CAAoBC,GAChB,GAAIA,EAAEC,SAAW,IAAMD,EAAEC,SAAW,GAAI,CACpCD,EAAEE,iBACFb,KAAKM,gB,EAGb,uBAAAQ,CAAwBH,GACpBA,EAAEE,iBACFb,KAAKM,gB,CAET,aAAAS,GACI,IAAIC,EAAY,GAChB,OAAQhB,KAAKK,MACT,IAAK,MACDW,EAAY,YACZ,MACJ,IAAK,SACDA,EAAY,eACZ,MACJ,QACIA,EAAY,GACZ,MAER,OAAOA,C,CAEX,YAAAC,GACI,OAAQjB,KAAKK,MACT,IAAK,MACD,OAAOa,EAAUC,QACrB,IAAK,SACD,OAAOD,EAAUE,QACrB,QACI,OAAO,K,CAGnB,MAAAC,GACI,OAAQC,EAAE,MAAO,CAAEC,IAAK,2CAA4CC,MAAO,0BAA4BxB,KAAKe,iBAAmBO,EAAE,UAAW,CAAEC,IAAK,2CAA4ClB,KAAML,KAAKiB,gBAAkBK,EAAE,MAAO,CAAEC,IAAK,2CAA4CC,MAAO,sBAAwBF,EAAE,SAAU,CAAEC,IAAK,2CAA4CE,KAAMzB,KAAKC,SAAUyB,MAAO,GAAIC,OAAQ,GAAIH,MAAOxB,KAAKe,kBAAoBO,EAAE,OAAQ,CAAEC,IAAK,2CAA4CC,MAAO,gBAAkBxB,KAAKG,aAAcH,KAAKI,cAAgBJ,KAAKI,WAAWwB,OAAOC,QAAWP,EAAE,OAAQ,CAAEC,IAAK,2CAA4CO,KAAM,SAAUC,SAAU,IAAKP,MAAO,iBAAkBQ,QAAUrB,IACztBX,KAAKc,wBAAwBH,EAAE,EAChCsB,WAAatB,IACZX,KAAKU,oBAAoBC,EAAE,GAC1BX,KAAKI,c","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as i,c as t,h as e,H as s,g as o}from"./p-Cam6wBSi.js";import{c as n,d as a,D as r,K as l,P as h,L as p}from"./p-B2-dCTD2.js";import{g as c,h as d}from"./p-C46tSaXG.js";import"./p-Q-tWjk7P.js";const f=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--line-clamp-popover:0;--line-clamp-mobile:1}*{box-sizing:border-box}button{padding:0;border:none;margin:0;background-color:transparent}nav{display:flex;align-items:center}ol{display:flex;align-items:center;padding:0;margin:0;column-gap:var(--space-unit);list-style:none}li{display:flex;align-items:center;justify-content:flex-start;column-gap:var(--space-unit)}ol li>a,ol li>button{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}a:focus,button:focus{box-shadow:var(--shadow-focus-primary);outline:none}a{color:var(--color-text-link-blue);white-space:nowrap}a.missing-path{color:var(--color-default-text)}.text-ellipsis{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:var(--line-clamp-mobile);line-clamp:var(--line-clamp-mobile);text-overflow:ellipsis;white-space:initial}nav.semibold>ol>li>a:not(.missing-path),nav.semibold>ol>li>button{font-weight:var(--font-sb);text-decoration:none}nav.underlined a,nav.underlined button{text-decoration:underline}z-icon{--z-icon-width:16px;--z-icon-height:16px;display:block;fill:var(--color-text-link-blue)}z-icon.separator{--z-icon-width:10px;--z-icon-height:10px;fill:var(--gray500)}button.dots{display:inline-block;color:var(--color-text-link-blue);cursor:pointer}.hidden-paths-popover .popover-content{max-width:302px;padding:calc(var(--space-unit) / 2) var(--space-unit);text-align:left}.hidden-paths-popover .popover-content a{font-weight:var(--font-rg);text-decoration:none}.hidden-paths-popover{--z-popover-theme--surface:var(--color-background);--z-popover-padding:0;--background-color-list-element:var(--color-background)}.hidden-paths-popover::before,.full-path-tooltip::before{--arrow-edge-offset:calc(100% - (var(--space-unit) * 2.55))}.full-path-tooltip{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse);--z-popover-padding:0}.tooltip-content{padding:0 var(--space-unit);font-size:var(--font-size-2)}@media (min-width: 768px){.text-ellipsis{-webkit-line-clamp:var(--line-clamp-popover);line-clamp:var(--line-clamp-popover)}}@media (max-width: 767px){li a{display:flex;align-items:center;column-gap:var(--space-unit)}}";const u=class{constructor(e){i(this,e);this.clickOnNode=t(this,"clickOnNode",7);this.collapsedElements=[];this.currentIndex=0;this.truncatePosition=null;this.pathStyle=n.UNDERLINED;this.homepageVariant=a.ICON;this.maxNodesToShow=5;this.preventFollowUrl=false;this.overflowMenuItemRows=0;this.truncateChar=30;this.viewPortWidth=undefined;this.hasOverflow=false;this.popoverEllipsisOpen=false}handleResize(){this.viewPortWidth=c();if(this.viewPortWidth!==r.MOBILE&&this.wrapElement&&this.wrapElement.scrollWidth>this.wrapElement.clientWidth){this.hasOverflow=true}}handlePropChange(){this.initializeBreadcrumb()}handleResizeUp(i,t){if(i===r.MOBILE||t===r.MOBILE&&i===r.TABLET||t===r.MOBILE&&i===r.DESKTOP||t===r.MOBILE&&i===r.DESKTOP_WIDE||t===r.TABLET&&i===r.DESKTOP||t===r.TABLET&&i===r.DESKTOP_WIDE||t===r.DESKTOP&&i===r.DESKTOP_WIDE){this.initializeBreadcrumb()}}componentWillLoad(){this.viewPortWidth=c();this.initializeBreadcrumb()}componentWillRender(){if(this.viewPortWidth!==r.MOBILE&&this.hasOverflow){this.checkEllipsisOrOverflowMenu();this.hasOverflow=false}}componentDidRender(){if(this.collapsedElementsRef){this.anchorElements=Array.from(this.hostElement.shadowRoot.querySelectorAll("z-list-group a"))}if(this.viewPortWidth!==r.MOBILE){requestAnimationFrame((()=>{if(this.wrapElement.scrollWidth>this.wrapElement.clientWidth){if(!this.hasOverflow){this.hasOverflow=true}}}))}}initializeBreadcrumb(){if(this.viewPortWidth===r.MOBILE){this.pathsList=this.getPathsItemsList().filter((i=>!!i.path))}else{this.pathsList=this.getPathsItemsList()}this.homepageNode=this.pathsList.shift();this.pathListCopy=[...this.pathsList];this.collapsedElements=[];if(this.pathsList.length>this.maxNodesToShow){this.collapsedElements=this.pathsList.splice(0,this.pathsList.length-2)}}checkEllipsisOrOverflowMenu(){for(let i=0;i<this.pathsList.length;i++){if(this.pathsList[i].text.length<=this.truncateChar){continue}if(this.truncatePosition>0){this.collapsedElements.push(...this.pathListCopy.splice(0,this.truncatePosition));this.pathsList.splice(0,this.truncatePosition);this.truncatePosition=0;return}else if(this.truncatePosition===0){this.collapsedElements.push(...this.pathListCopy.splice(0,this.truncatePosition+1));this.pathsList.splice(0,this.truncatePosition+1);this.truncatePosition=null;return}if(i!==this.pathsList.length-1){const t=this.truncateWithEllipsis(this.pathsList[i].text,this.truncateChar);this.currentEllipsisText=this.pathsList[i].text;this.pathsList[i].text=t;this.pathsList[i].hasTooltip=true;this.truncatePosition=i;return}}}truncateWithEllipsis(i,t){if(i.length<=t){return i}return i.substring(0,t-1)+"&mldr;"}getPathsItemsList(){return Array.from(this.hostElement.children).map((i=>({text:i.textContent,path:i.href,hasTooltip:false})))}renderHomepageNode(){return e("li",null,e("a",{class:{"homepage-text":this.homepageVariant===a.TEXT},href:this.homepageNode.path,onClick:i=>this.handlePreventFollowUrl(i,this.homepageNode),innerHTML:this.homepageVariant===a.ICON?`<z-icon name="home" />`:this.homepageNode.text||"Home"}),this.pathsList.length>0&&e("z-icon",{class:"separator",name:"chevron-right"}))}togglePopover(){if(!this.collapsedElementsRef.open){this.collapsedElementsRef.open=true}}handlePreventFollowUrl(i,t){if(this.preventFollowUrl){i.preventDefault();this.clickOnNode.emit(t.path)}}handleOverflowMenuAccessibility(i){const t=this.anchorElements.length;if(i.key===l.TAB){i.preventDefault();return}i.stopPropagation();const e=[l.ARROW_DOWN,l.ARROW_UP];if(e.includes(i.key)){i.preventDefault();if(i.key===l.ARROW_DOWN){this.currentIndex=t===this.currentIndex+1?0:this.currentIndex+1}if(i.key===l.ARROW_UP){this.currentIndex=this.currentIndex<=0?t-1:this.currentIndex-1}this.anchorElements[this.currentIndex].focus()}if(i.key===l.ESC){this.triggerButton.focus()}}renderOverflowMenu(){return e("li",null,e("z-popover",{class:"hidden-paths-popover",ref:i=>this.collapsedElementsRef=i,bindTo:this.triggerButton,position:h.BOTTOM_RIGHT,closable:true,showArrow:true},e("div",{class:"popover-content"},e("z-list",null,e("z-list-group",{size:p.SMALL},this.collapsedElements.map(((i,t,s)=>e("div",null,e("z-list-element",{clickable:true},e("a",{class:"text-ellipsis",href:i.path,onClick:t=>this.handlePreventFollowUrl(t,i),onKeyDown:i=>this.handleOverflowMenuAccessibility(i),innerHTML:i.text})),t<s.length-1&&e("z-divider",{color:"color-surface03"})))))))),e("button",{class:"dots",ref:i=>this.triggerButton=i,"aria-label":"Mostra più breadcrumb","aria-haspopup":"true",onClick:()=>{this.togglePopover()},onKeyDown:i=>{d(i,this.togglePopover.bind(this));setTimeout((()=>{this.anchorElements[0].focus()}),100)},innerHTML:"&mldr;"}),this.pathsList.length>0&&e("z-icon",{class:"separator",name:"chevron-right"}))}renderMobileItems(){const i=this.pathsList[this.pathsList.length-1];if(!i){return}return e("li",null,e("a",{"aria-current":i.path?undefined:"page",href:i.path,onClick:t=>this.handlePreventFollowUrl(t,i)},e("z-icon",{name:"chevron-left"}),e("span",{class:{"missing-path":!i.path,"text-ellipsis":true}},i.text)))}renderItems(){let i;return[this.renderHomepageNode(),this.collapsedElements.length>0&&this.renderOverflowMenu(),...this.pathsList.map(((t,s)=>e("li",null,t.hasTooltip&&e("z-popover",{class:"full-path-tooltip",bindTo:i,open:this.popoverEllipsisOpen,position:h.BOTTOM_RIGHT,closable:false,showArrow:true},e("span",{class:"tooltip-content"},this.currentEllipsisText)),e("a",{class:{"missing-path":!t.path},ref:t=>i=t,"aria-current":t.path?undefined:"page",href:t.path,onClick:i=>this.handlePreventFollowUrl(i,t),onMouseOver:()=>{if(t.hasTooltip){this.popoverEllipsisOpen=true}},onMouseLeave:()=>{if(t.hasTooltip){this.popoverEllipsisOpen=false}},innerHTML:t.text}),s!==this.pathsList.length-1&&e("z-icon",{class:"separator",name:"chevron-right"}))))]}render(){return e(s,{key:"a92078ad9a4aa1ac4689c66c765afa5f113d16d7",style:{"--line-clamp-popover":`${this.overflowMenuItemRows}`}},e("nav",{key:"99259d02797aff8396f3a87af0ff40d1c97e40fd",ref:i=>this.wrapElement=i,"aria-label":"Breadcrumb",class:{semibold:this.pathStyle===n.SEMIBOLD,underlined:this.pathStyle===n.UNDERLINED}},e("ol",{key:"c232f64c88e3bff47af1250385589ecda393b4f3"},this.viewPortWidth===r.MOBILE?this.renderMobileItems():this.renderItems())))}get hostElement(){return o(this)}static get watchers(){return{maxNodesToShow:["handlePropChange"],viewPortWidth:["handleResizeUp"]}}};u.style=f;export{u as z_breadcrumb};
2
+ //# sourceMappingURL=p-5edcf0ee.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZBreadcrumb","constructor","hostRef","this","collapsedElements","currentIndex","truncatePosition","pathStyle","BreadcrumbPathStyle","UNDERLINED","homepageVariant","BreadcrumbHomepageVariant","ICON","maxNodesToShow","preventFollowUrl","overflowMenuItemRows","truncateChar","viewPortWidth","undefined","hasOverflow","popoverEllipsisOpen","handleResize","getDevice","Device","MOBILE","wrapElement","scrollWidth","clientWidth","handlePropChange","initializeBreadcrumb","handleResizeUp","newValue","oldValue","TABLET","DESKTOP","DESKTOP_WIDE","componentWillLoad","componentWillRender","checkEllipsisOrOverflowMenu","componentDidRender","collapsedElementsRef","anchorElements","Array","from","hostElement","shadowRoot","querySelectorAll","requestAnimationFrame","pathsList","getPathsItemsList","filter","item","path","homepageNode","shift","pathListCopy","length","splice","i","text","push","truncatedString","truncateWithEllipsis","currentEllipsisText","hasTooltip","str","maxLength","substring","children","map","textContent","href","renderHomepageNode","h","class","TEXT","onClick","e","handlePreventFollowUrl","innerHTML","name","togglePopover","open","preventDefault","clickOnNode","emit","handleOverflowMenuAccessibility","anchorElementsLenght","key","KeyboardCode","TAB","stopPropagation","arrows","ARROW_DOWN","ARROW_UP","includes","focus","ESC","triggerButton","renderOverflowMenu","ref","val","bindTo","position","PopoverPosition","BOTTOM_RIGHT","closable","showArrow","size","ListSize","SMALL","index","array","clickable","onKeyDown","color","el","handleKeyboardSubmit","bind","setTimeout","renderMobileItems","secondToLastPath","renderItems","trigger","onMouseOver","onMouseLeave","render","Host","style","semibold","SEMIBOLD","underlined"],"sources":["node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-breadcrumb/styles.css?tag=z-breadcrumb&encapsulation=shadow","node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-breadcrumb/index.js"],"sourcesContent":[":host {\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n\n --line-clamp-popover: 0;\n --line-clamp-mobile: 1;\n}\n\n* {\n box-sizing: border-box;\n}\n\nbutton {\n padding: 0;\n border: none;\n margin: 0;\n background-color: transparent;\n}\n\nnav {\n display: flex;\n align-items: center;\n}\n\nol {\n display: flex;\n align-items: center;\n padding: 0;\n margin: 0;\n column-gap: var(--space-unit);\n list-style: none;\n}\n\nli {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n column-gap: var(--space-unit);\n}\n\nol li > a,\nol li > button {\n font-size: var(--font-size-2);\n letter-spacing: 0.16px;\n line-height: 1.4;\n}\n\na:focus,\nbutton:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\na {\n color: var(--color-text-link-blue);\n white-space: nowrap;\n}\n\na.missing-path {\n color: var(--color-default-text);\n}\n\n.text-ellipsis {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: var(--line-clamp-mobile);\n line-clamp: var(--line-clamp-mobile);\n text-overflow: ellipsis;\n white-space: initial;\n}\n\nnav.semibold > ol > li > a:not(.missing-path),\nnav.semibold > ol > li > button {\n font-weight: var(--font-sb);\n text-decoration: none;\n}\n\nnav.underlined a,\nnav.underlined button {\n text-decoration: underline;\n}\n\nz-icon {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n\n display: block;\n fill: var(--color-text-link-blue);\n}\n\nz-icon.separator {\n --z-icon-width: 10px;\n --z-icon-height: 10px;\n\n fill: var(--gray500);\n}\n\nbutton.dots {\n display: inline-block;\n color: var(--color-text-link-blue);\n cursor: pointer;\n}\n\n.hidden-paths-popover .popover-content {\n max-width: 302px;\n padding: calc(var(--space-unit) / 2) var(--space-unit);\n text-align: left;\n}\n\n.hidden-paths-popover .popover-content a {\n font-weight: var(--font-rg);\n text-decoration: none;\n}\n\n.hidden-paths-popover {\n --z-popover-theme--surface: var(--color-background);\n --z-popover-padding: 0;\n --background-color-list-element: var(--color-background);\n}\n\n.hidden-paths-popover::before,\n.full-path-tooltip::before {\n --arrow-edge-offset: calc(100% - (var(--space-unit) * 2.55));\n}\n\n.full-path-tooltip {\n --z-popover-theme--surface: var(--color-surface05);\n --z-popover-theme--text: var(--color-text-inverse);\n --z-popover-padding: 0;\n}\n\n.tooltip-content {\n padding: 0 var(--space-unit);\n font-size: var(--font-size-2);\n}\n\n@media (min-width: 768px) {\n .text-ellipsis {\n -webkit-line-clamp: var(--line-clamp-popover);\n line-clamp: var(--line-clamp-popover);\n }\n}\n\n@media (max-width: 767px) {\n li a {\n display: flex;\n align-items: center;\n column-gap: var(--space-unit);\n }\n}\n","import { Host, h } from \"@stencil/core\";\nimport { BreadcrumbHomepageVariant, BreadcrumbPathStyle, Device, KeyboardCode, ListSize, PopoverPosition, } from \"../../beans\";\nimport { getDevice, handleKeyboardSubmit } from \"../../utils/utils\";\nexport class ZBreadcrumb {\n constructor() {\n this.collapsedElements = [];\n this.currentIndex = 0;\n this.truncatePosition = null;\n this.pathStyle = BreadcrumbPathStyle.UNDERLINED;\n this.homepageVariant = BreadcrumbHomepageVariant.ICON;\n this.maxNodesToShow = 5;\n this.preventFollowUrl = false;\n this.overflowMenuItemRows = 0;\n this.truncateChar = 30;\n this.viewPortWidth = undefined;\n this.hasOverflow = false;\n this.popoverEllipsisOpen = false;\n }\n handleResize() {\n this.viewPortWidth = getDevice();\n if (this.viewPortWidth !== Device.MOBILE &&\n this.wrapElement &&\n this.wrapElement.scrollWidth > this.wrapElement.clientWidth) {\n this.hasOverflow = true;\n }\n }\n // eslint-disable-next-line lines-between-class-members\n handlePropChange() {\n this.initializeBreadcrumb();\n }\n handleResizeUp(newValue, oldValue) {\n if (newValue === Device.MOBILE ||\n (oldValue === Device.MOBILE && newValue === Device.TABLET) ||\n (oldValue === Device.MOBILE && newValue === Device.DESKTOP) ||\n (oldValue === Device.MOBILE && newValue === Device.DESKTOP_WIDE) ||\n (oldValue === Device.TABLET && newValue === Device.DESKTOP) ||\n (oldValue === Device.TABLET && newValue === Device.DESKTOP_WIDE) ||\n (oldValue === Device.DESKTOP && newValue === Device.DESKTOP_WIDE)) {\n this.initializeBreadcrumb();\n }\n }\n componentWillLoad() {\n this.viewPortWidth = getDevice();\n this.initializeBreadcrumb();\n }\n componentWillRender() {\n if (this.viewPortWidth !== Device.MOBILE && this.hasOverflow) {\n this.checkEllipsisOrOverflowMenu();\n this.hasOverflow = false;\n }\n }\n componentDidRender() {\n if (this.collapsedElementsRef) {\n this.anchorElements = Array.from(this.hostElement.shadowRoot.querySelectorAll(\"z-list-group a\"));\n }\n if (this.viewPortWidth !== Device.MOBILE) {\n requestAnimationFrame(() => {\n if (this.wrapElement.scrollWidth > this.wrapElement.clientWidth) {\n if (!this.hasOverflow) {\n this.hasOverflow = true;\n }\n }\n });\n }\n }\n initializeBreadcrumb() {\n if (this.viewPortWidth === Device.MOBILE) {\n this.pathsList = this.getPathsItemsList().filter((item) => !!item.path);\n }\n else {\n this.pathsList = this.getPathsItemsList();\n }\n this.homepageNode = this.pathsList.shift();\n this.pathListCopy = [...this.pathsList];\n this.collapsedElements = [];\n if (this.pathsList.length > this.maxNodesToShow) {\n this.collapsedElements = this.pathsList.splice(0, this.pathsList.length - 2);\n }\n }\n checkEllipsisOrOverflowMenu() {\n for (let i = 0; i < this.pathsList.length; i++) {\n if (this.pathsList[i].text.length <= this.truncateChar) {\n continue;\n }\n if (this.truncatePosition > 0) {\n this.collapsedElements.push(...this.pathListCopy.splice(0, this.truncatePosition));\n this.pathsList.splice(0, this.truncatePosition);\n this.truncatePosition = 0;\n return;\n }\n else if (this.truncatePosition === 0) {\n this.collapsedElements.push(...this.pathListCopy.splice(0, this.truncatePosition + 1));\n this.pathsList.splice(0, this.truncatePosition + 1);\n this.truncatePosition = null;\n return;\n }\n if (i !== this.pathsList.length - 1) {\n const truncatedString = this.truncateWithEllipsis(this.pathsList[i].text, this.truncateChar);\n this.currentEllipsisText = this.pathsList[i].text;\n this.pathsList[i].text = truncatedString;\n this.pathsList[i].hasTooltip = true;\n this.truncatePosition = i;\n return;\n }\n }\n }\n truncateWithEllipsis(str, maxLength) {\n if (str.length <= maxLength) {\n return str;\n }\n return str.substring(0, maxLength - 1) + \"&mldr;\";\n }\n getPathsItemsList() {\n return Array.from(this.hostElement.children).map((item) => {\n return {\n text: item.textContent,\n path: item.href,\n hasTooltip: false,\n };\n });\n }\n renderHomepageNode() {\n return (h(\"li\", null, h(\"a\", { class: {\n \"homepage-text\": this.homepageVariant === BreadcrumbHomepageVariant.TEXT,\n }, href: this.homepageNode.path, onClick: (e) => this.handlePreventFollowUrl(e, this.homepageNode), innerHTML: this.homepageVariant === BreadcrumbHomepageVariant.ICON\n ? `<z-icon name=\"home\" />`\n : this.homepageNode.text || \"Home\" }), this.pathsList.length > 0 && (h(\"z-icon\", { class: \"separator\", name: \"chevron-right\" }))));\n }\n togglePopover() {\n if (!this.collapsedElementsRef.open) {\n this.collapsedElementsRef.open = true;\n }\n }\n handlePreventFollowUrl(e, item) {\n if (this.preventFollowUrl) {\n e.preventDefault();\n this.clickOnNode.emit(item.path);\n }\n }\n handleOverflowMenuAccessibility(e) {\n const anchorElementsLenght = this.anchorElements.length;\n if (e.key === KeyboardCode.TAB) {\n e.preventDefault();\n return;\n }\n e.stopPropagation();\n const arrows = [KeyboardCode.ARROW_DOWN, KeyboardCode.ARROW_UP];\n if (arrows.includes(e.key)) {\n e.preventDefault();\n if (e.key === KeyboardCode.ARROW_DOWN) {\n this.currentIndex = anchorElementsLenght === this.currentIndex + 1 ? 0 : this.currentIndex + 1;\n }\n if (e.key === KeyboardCode.ARROW_UP) {\n this.currentIndex = this.currentIndex <= 0 ? anchorElementsLenght - 1 : this.currentIndex - 1;\n }\n this.anchorElements[this.currentIndex].focus();\n }\n if (e.key === KeyboardCode.ESC) {\n this.triggerButton.focus();\n }\n }\n renderOverflowMenu() {\n return (h(\"li\", null, h(\"z-popover\", { class: \"hidden-paths-popover\", ref: (val) => (this.collapsedElementsRef = val), bindTo: this.triggerButton, position: PopoverPosition.BOTTOM_RIGHT, closable: true, showArrow: true }, h(\"div\", { class: \"popover-content\" }, h(\"z-list\", null, h(\"z-list-group\", { size: ListSize.SMALL }, this.collapsedElements.map((item, index, array) => {\n return (h(\"div\", null, h(\"z-list-element\", { clickable: true }, h(\"a\", { class: \"text-ellipsis\", href: item.path, onClick: (e) => this.handlePreventFollowUrl(e, item), onKeyDown: (e) => this.handleOverflowMenuAccessibility(e), innerHTML: item.text })), index < array.length - 1 && h(\"z-divider\", { color: \"color-surface03\" })));\n }))))), h(\"button\", { class: \"dots\", ref: (el) => (this.triggerButton = el), \"aria-label\": \"Mostra pi\\u00F9 breadcrumb\", \"aria-haspopup\": \"true\", onClick: () => {\n this.togglePopover();\n }, onKeyDown: (e) => {\n handleKeyboardSubmit(e, this.togglePopover.bind(this));\n setTimeout(() => {\n this.anchorElements[0].focus();\n }, 100);\n }, innerHTML: \"&mldr;\" }), this.pathsList.length > 0 && (h(\"z-icon\", { class: \"separator\", name: \"chevron-right\" }))));\n }\n renderMobileItems() {\n // show only the second to last element\n const secondToLastPath = this.pathsList[this.pathsList.length - 1];\n if (!secondToLastPath) {\n return;\n }\n return (h(\"li\", null, h(\"a\", { \"aria-current\": secondToLastPath.path ? undefined : \"page\", href: secondToLastPath.path, onClick: (e) => this.handlePreventFollowUrl(e, secondToLastPath) }, h(\"z-icon\", { name: \"chevron-left\" }), h(\"span\", { class: {\n \"missing-path\": !secondToLastPath.path,\n \"text-ellipsis\": true,\n } }, secondToLastPath.text))));\n }\n renderItems() {\n let trigger;\n return [\n this.renderHomepageNode(),\n this.collapsedElements.length > 0 && this.renderOverflowMenu(),\n ...this.pathsList.map((item, index) => (h(\"li\", null, item.hasTooltip && (h(\"z-popover\", { class: \"full-path-tooltip\", bindTo: trigger, open: this.popoverEllipsisOpen, position: PopoverPosition.BOTTOM_RIGHT, closable: false, showArrow: true }, h(\"span\", { class: \"tooltip-content\" }, this.currentEllipsisText))), h(\"a\", { class: { \"missing-path\": !item.path }, ref: (val) => (trigger = val), \"aria-current\": item.path ? undefined : \"page\", href: item.path, onClick: (e) => this.handlePreventFollowUrl(e, item), onMouseOver: () => {\n if (item.hasTooltip) {\n this.popoverEllipsisOpen = true;\n }\n }, onMouseLeave: () => {\n if (item.hasTooltip) {\n this.popoverEllipsisOpen = false;\n }\n }, innerHTML: item.text }), index !== this.pathsList.length - 1 && (h(\"z-icon\", { class: \"separator\", name: \"chevron-right\" }))))),\n ];\n }\n render() {\n return (h(Host, { key: 'a92078ad9a4aa1ac4689c66c765afa5f113d16d7', style: { \"--line-clamp-popover\": `${this.overflowMenuItemRows}` } }, h(\"nav\", { key: '99259d02797aff8396f3a87af0ff40d1c97e40fd', ref: (val) => (this.wrapElement = val), \"aria-label\": \"Breadcrumb\", class: {\n semibold: this.pathStyle === BreadcrumbPathStyle.SEMIBOLD,\n underlined: this.pathStyle === BreadcrumbPathStyle.UNDERLINED,\n } }, h(\"ol\", { key: 'c232f64c88e3bff47af1250385589ecda393b4f3' }, this.viewPortWidth === Device.MOBILE ? this.renderMobileItems() : this.renderItems()))));\n }\n static get is() { return \"z-breadcrumb\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"styles.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"styles.css\"]\n };\n }\n static get properties() {\n return {\n \"pathStyle\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"BreadcrumbPathStyle\",\n \"resolved\": \"BreadcrumbPathStyle.SEMIBOLD | BreadcrumbPathStyle.UNDERLINED\",\n \"references\": {\n \"BreadcrumbPathStyle\": {\n \"location\": \"import\",\n \"path\": \"../../beans\",\n \"id\": \"src/beans/index.tsx::BreadcrumbPathStyle\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"[optional] Sets the path style\"\n },\n \"attribute\": \"path-style\",\n \"reflect\": true,\n \"defaultValue\": \"BreadcrumbPathStyle.UNDERLINED\"\n },\n \"homepageVariant\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"BreadcrumbHomepageVariant\",\n \"resolved\": \"BreadcrumbHomepageVariant.ICON | BreadcrumbHomepageVariant.TEXT\",\n \"references\": {\n \"BreadcrumbHomepageVariant\": {\n \"location\": \"import\",\n \"path\": \"../../beans\",\n \"id\": \"src/beans/index.tsx::BreadcrumbHomepageVariant\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"[optional] Variant of first node\"\n },\n \"attribute\": \"homepage-variant\",\n \"reflect\": false,\n \"defaultValue\": \"BreadcrumbHomepageVariant.ICON\"\n },\n \"maxNodesToShow\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"[optional] Sets max number of element to show\"\n },\n \"attribute\": \"max-nodes-to-show\",\n \"reflect\": false,\n \"defaultValue\": \"5\"\n },\n \"preventFollowUrl\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"[optional] Controls the behaviour on <a> tag click/enter\"\n },\n \"attribute\": \"prevent-follow-url\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"overflowMenuItemRows\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"[optional] Sets max number of row for each path inside the popover. Zero equals unlimited\"\n },\n \"attribute\": \"overflow-menu-item-rows\",\n \"reflect\": false,\n \"defaultValue\": \"0\"\n },\n \"truncateChar\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"[optional] Sets the maximun number of chars per single node\"\n },\n \"attribute\": \"truncate-char\",\n \"reflect\": false,\n \"defaultValue\": \"30\"\n }\n };\n }\n static get states() {\n return {\n \"viewPortWidth\": {},\n \"hasOverflow\": {},\n \"popoverEllipsisOpen\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"clickOnNode\",\n \"name\": \"clickOnNode\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when preventFollowUrl=true to handle custom page transition\"\n },\n \"complexType\": {\n \"original\": \"BreadcrumbPath[\\\"path\\\"]\",\n \"resolved\": \"string\",\n \"references\": {\n \"BreadcrumbPath\": {\n \"location\": \"import\",\n \"path\": \"../../beans\",\n \"id\": \"src/beans/index.tsx::BreadcrumbPath\"\n }\n }\n }\n }];\n }\n static get elementRef() { return \"hostElement\"; }\n static get watchers() {\n return [{\n \"propName\": \"maxNodesToShow\",\n \"methodName\": \"handlePropChange\"\n }, {\n \"propName\": \"viewPortWidth\",\n \"methodName\": \"handleResizeUp\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"resize\",\n \"method\": \"handleResize\",\n \"target\": \"window\",\n \"capture\": false,\n \"passive\": true\n }];\n }\n}\n//# sourceMappingURL=index.js.map\n"],"mappings":"0MAAA,MAAMA,EAAY,usE,MCGLC,EAAW,MACpB,WAAAC,CAAAC,G,mDACIC,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hC2D,UAAW5B,EAAKQ,OAASoD,IAAU5G,KAAK6C,UAAUQ,OAAS,GAAMiB,EAAE,SAAU,CAAEC,MAAO,YAAaM,KAAM,qB,CAGxH,MAAA8C,GACI,OAAQrD,EAAEsD,EAAM,CAAEvC,IAAK,2CAA4CwC,MAAO,CAAE,uBAAwB,GAAG7H,KAAKY,yBAA4B0D,EAAE,MAAO,CAAEe,IAAK,2CAA4CY,IAAMC,GAASlG,KAAKsB,YAAc4E,EAAM,aAAc,aAAc3B,MAAO,CACvQuD,SAAU9H,KAAKI,YAAcC,EAAoB0H,SACjDC,WAAYhI,KAAKI,YAAcC,EAAoBC,aAClDgE,EAAE,KAAM,CAAEe,IAAK,4CAA8CrF,KAAKc,gBAAkBM,EAAOC,OAASrB,KAAKqH,oBAAsBrH,KAAKuH,gB","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as i,H as a}from"./p-Cam6wBSi.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=class{constructor(i){t(this,i)}render(){return i(a,{key:"b4d76cddb405ccc4db532cc4d544898424b290fa",role:"list"},i("slot",{key:"9b7d842263cf062b5f3b8a27b72d7a66142bc341"}))}};s.style=o;export{s as z_stepper};
2
+ //# sourceMappingURL=p-65f0a8cd.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZStepper","render","h","Host","key","role"],"sources":["node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-stepper/styles.css?tag=z-stepper&encapsulation=shadow","node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-stepper/index.js"],"sourcesContent":[":host {\n position: relative;\n display: flex;\n width: 100%;\n max-width: 100%;\n box-sizing: border-box;\n flex-direction: row;\n padding: 0;\n margin: 0;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n list-style: none;\n}\n\n@media (min-width: 768px) {\n :host {\n padding: 0 calc(var(--space-unit) * 2);\n }\n}\n","import { Host, h } from \"@stencil/core\";\n/**\n * @slot - slot for `z-stepper-item`\n */\nexport class ZStepper {\n render() {\n return (h(Host, { key: 'b4d76cddb405ccc4db532cc4d544898424b290fa', role: \"list\" }, h(\"slot\", { key: '9b7d842263cf062b5f3b8a27b72d7a66142bc341' })));\n }\n static get is() { return \"z-stepper\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"styles.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"styles.css\"]\n };\n }\n}\n//# sourceMappingURL=index.js.map\n"],"mappings":"kDAAA,MAAMA,EAAY,oR,MCILC,EAAQ,M,yBACjB,MAAAC,GACI,OAAQC,EAAEC,EAAM,CAAEC,IAAK,2CAA4CC,KAAM,QAAUH,EAAE,OAAQ,CAAEE,IAAK,6C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as i,c as t,h as s,F as e,H as r,g as n}from"./p-Cam6wBSi.js";import{y as c,C as a,I as o}from"./p-B2-dCTD2.js";import{r as p,b as u}from"./p-C46tSaXG.js";import"./p-Q-tWjk7P.js";const l='.sc-z-input-h{display:inline-block;width:inherit}.sc-z-input-h *.sc-z-input{box-sizing:border-box}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input{background:var(--color-form-background);fill:var(--color-form-default-icon);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg);outline:none}input.sc-z-input,.textarea-wrapper.sc-z-input{border:var(--border-size-small) solid var(--color-form-surface04);border-radius:var(--border-radius-small);color:var(--color-form-default-text)}[size="small"].sc-z-input-h input.sc-z-input,[size="small"].sc-z-input-h textarea.sc-z-input,[size="x-small"].sc-z-input-h input.sc-z-input,[size="x-small"].sc-z-input-h textarea.sc-z-input{font-size:var(--font-size-2)}.cursor-select.sc-z-input-h input.sc-z-input{cursor:pointer}input.sc-z-input:not([readonly]):hover,.textarea-wrapper.sc-z-input:not(.readonly):hover{outline:var(--border-size-medium) solid var(--color-surface04);outline-offset:-2px}.sc-z-input-h:not(.active-select) input.sc-z-input:focus:focus-visible,.sc-z-input-h:not([readonly="true"]) .textarea-wrapper.sc-z-input:focus-within{border-color:var(--color-form-active-primary);box-shadow:var(--shadow-focus-primary);color:var(--color-form-active-primary)}.sc-z-input-h input.sc-z-input:focus:focus-visible:hover,.textarea-wrapper.sc-z-input:not(.readonly):focus-within:hover{outline-color:var(--color-form-active-primary)}.sc-z-input-h input.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input{fill:var(--color-form-active-primary)}.active-select.sc-z-input-h input.sc-z-input{border:var(--border-size-small) solid var(--color-form-active-primary)}.cursor-select.sc-z-input-h input.sc-z-input:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-input-h input[readonly].sc-z-input:focus:focus-visible{border-color:var(--color-form-surface03);box-shadow:none}.input-success.sc-z-input{border-color:var(--color-form-success01);background:var(--color-form-inverse-success)}.input-success.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-success.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-success01)}.input-error.sc-z-input{border-color:var(--color-form-hover-error);background:var(--color-form-inverse-error)}.input-error.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-error.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-hover-error)}.input-warning.sc-z-input{border-color:var(--color-form-hover-warning);background:var(--color-form-inverse-warning)}.input-warning.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-warning.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-hover-warning)}.sc-z-input:is(.input-success,.input-error.sc-z-input,.input-warning).sc-z-input:focus:focus-visible{color:var(--color-form-default-text)}.sc-z-input-h:not(.active-select) input[readonly].sc-z-input,.textarea-wrapper.readonly.sc-z-input{border-color:var(--color-form-surface03);fill:var(--color-form-disabled01-icon);pointer-events:none}[disabled].sc-z-input-h:not([disabled="false"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled="false"]) .textarea-wrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled="false"]) z-icon.sc-z-input{border-color:var(--color-form-disabled03);box-shadow:none;color:var(--color-form-disabled-text);fill:var(--color-form-disabled01-icon);pointer-events:none}[disabled].sc-z-input-h:not([disabled="false"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-form-placeholder-text)}.sc-z-input::-webkit-textarea-placeholder{color:var(--color-form-placeholder-text)}.sc-z-input:-ms-textarea-placeholder{color:var(--color-form-placeholder-text)}.sc-z-input::placeholder{color:var(--color-form-placeholder-text)}label.input-label.sc-z-input{display:block;padding-bottom:var(--space-unit);color:var(--color-default-text);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);text-align:left;text-transform:uppercase}[disabled].sc-z-input-h:not([disabled="false"]) label.input-label.sc-z-input{color:var(--color-disabled03)}.text-wrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1;fill:var(--color-form-default-icon)}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);box-sizing:border-box;padding:0 calc(var(--space-unit) * 1.5);margin:0}[size="small"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4.5)}[size="x-small"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.sc-z-input,.text-wrapper.sc-z-input>div.sc-z-input>input.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input{position:absolute;z-index:2;top:50%;right:calc(var(--space-unit) * 1.5);display:flex;pointer-events:none;transform:translateY(-50%)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.sc-z-input{display:flex;padding:0;border:0;background:none;color:inherit;font:inherit;pointer-events:initial}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.sc-z-input+.input-icon.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.hidden.sc-z-input{display:none}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.reset-icon.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.toggle-password-icon.sc-z-input{cursor:pointer}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.small.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.x-small.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.sc-z-input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset;-webkit-text-fill-color:currentcolor}.textarea-wrapper.sc-z-input{width:100%;height:100%;padding:calc(var(--space-unit) * 1.5)}.textarea-wrapper.sc-z-input:not(.input-error,.input-success.sc-z-input,.input-warning).sc-z-input{background-color:var(--color-form-background)}textarea.sc-z-input{width:100%;min-height:132px;padding:0;border:none;margin:0;color:currentcolor;resize:none}.radio-wrapper.sc-z-input,.checkbox-wrapper.sc-z-input{position:relative;display:inline-flex;flex-direction:row;align-items:center;color:var(--color-default-text);fill:var(--color-primary01);font-family:var(--font-family-sans)}.radio-wrapper.sc-z-input:hover,.checkbox-wrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary-icon)}.radio-wrapper.sc-z-input>input.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input{position:absolute;z-index:-1;opacity:0;pointer-events:none}.radio-wrapper.sc-z-input .radio-label.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{display:inline-flex;align-items:center;margin:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:inherit}.radio-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkbox-label.sc-z-input{cursor:pointer}.radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{cursor:pointer;fill:inherit}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-2)}[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:14px;--z-icon-height:14px}[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-1)}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input{flex-direction:row}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input{flex-direction:row-reverse}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:calc(var(--space-unit) * 0.5)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input{border-radius:50%}.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{border-radius:var(--border-radius-small)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{box-shadow:var(--shadow-focus-primary)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input{color:var(--color-disabled03)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input>z-icon.sc-z-input{cursor:default;fill:var(--color-disabled01)}';const h=class{constructor(s){i(this,s);this.inputChange=t(this,"inputChange",7);this.startTyping=t(this,"startTyping",7);this.stopTyping=t(this,"stopTyping",7);this.inputCheck=t(this,"inputCheck",7);this.inputFocus=t(this,"inputFocus",7);this.inputBlur=t(this,"inputBlur",7);this.typingtimeout=300;this.htmlid=`id-${p()}`;this.type=undefined;this.name=undefined;this.label=undefined;this.ariaLabel="";this.ariaExpanded="";this.ariaControls=undefined;this.ariaAutocomplete=undefined;this.ariaActivedescendant=undefined;this.value=undefined;this.disabled=false;this.readonly=false;this.required=false;this.checked=false;this.placeholder=undefined;this.htmltitle=undefined;this.status=undefined;this.message=true;this.labelPosition=c.RIGHT;this.autocomplete=undefined;this.role="";this.hasclearicon=true;this.icon=undefined;this.min=undefined;this.minlength=undefined;this.max=undefined;this.maxlength=undefined;this.step=undefined;this.pattern=undefined;this.size=a.BIG;this.isTyping=false;this.passwordHidden=true}inputCheckListener(i){const t=i.detail;switch(this.type){case o.RADIO:if(t.type===o.RADIO&&t.name===this.name&&t.id!==this.htmlid){this.checked=false}break}}async isChecked(){switch(this.type){case o.CHECKBOX:case o.RADIO:return this.checked;default:console.warn("`isChecked` method is only available for type `checkbox` and `radio`");return false}}emitInputChange(i){if(!this.isTyping){this.emitStartTyping()}let t;if(this.type===o.TEXTAREA){t=this.getValidity("textarea")}else{t=this.getValidity("input")}this.value=i;this.inputChange.emit({value:i,validity:t});clearTimeout(this.timer);this.timer=setTimeout((()=>{this.emitStopTyping(this.value,t)}),this.typingtimeout)}emitStartTyping(){this.isTyping=true;this.startTyping.emit()}emitStopTyping(i,t){this.isTyping=false;this.stopTyping.emit({value:i,validity:t})}emitInputCheck(i){this.inputCheck.emit({id:this.htmlid,checked:i,type:this.type,name:this.name,value:this.value,validity:this.getValidity("input")})}emitInputFocus(){this.inputFocus.emit({id:this.htmlid})}emitInputBlur(){this.inputBlur.emit({id:this.htmlid})}getValidity(i){const t=this.hostElement.querySelector(i);return t.validity}getTextAttributes(){return{id:this.htmlid,name:this.name,placeholder:this.placeholder,value:this.value,disabled:this.disabled,readonly:this.readonly,required:this.required,title:this.htmltitle,minlength:this.minlength,maxlength:this.maxlength,class:{[`input-${this.status}`]:!!this.status},autocomplete:this.autocomplete,onInput:i=>this.emitInputChange(i.target.value)}}getNumberAttributes(i){if(i!=o.NUMBER){return}return{min:this.min,max:this.max,step:this.step}}getPatternAttribute(i){if(i!=o.PASSWORD&&i!=o.TEXT&&i!=o.TEL&&i!=o.SEARCH&&i!=o.URL&&i!=o.EMAIL){return}return{pattern:this.pattern}}getRoleAttribute(){return this.role?{role:this.role}:{}}getAriaAttrubutes(){const i=this.ariaExpanded?{"aria-expanded":this.ariaExpanded}:{};const t=this.ariaControls?{"aria-controls":this.ariaControls}:{};const s=this.ariaAutocomplete?{"aria-autocomplete":this.ariaAutocomplete}:{};const e=this.ariaActivedescendant?{"aria-activedescendant":this.ariaActivedescendant}:{};return Object.assign(Object.assign(Object.assign(Object.assign({},i),t),s),e)}getFocusBlurAttributes(){return{onFocus:()=>this.emitInputFocus(),onBlur:()=>this.emitInputBlur()}}renderInputText(i=o.TEXT){const t=this.ariaLabel?{"aria-label":this.ariaLabel}:{};const e=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.getTextAttributes()),this.getNumberAttributes(i)),this.getPatternAttribute(i)),t),this.getRoleAttribute()),this.getAriaAttrubutes()),this.getFocusBlurAttributes());if(this.icon||i===o.PASSWORD){Object.assign(e.class,{"has-icon":true})}if(this.hasclearicon&&i!=o.NUMBER){Object.assign(e.class,{"has-clear-icon":true})}return s("div",{class:"text-wrapper"},this.renderLabel(),s("div",null,s("input",Object.assign({type:i===o.PASSWORD&&!this.passwordHidden?o.TEXT:i},e,{ref:i=>this.inputRef=i})),this.renderIcons()),this.renderMessage())}renderLabel(){if(!this.label){return}return s("label",{class:"input-label body-5-sb",id:`${this.htmlid}_label`,htmlFor:this.htmlid},this.label)}renderIcons(){return s("span",{class:"icons-wrapper"},this.renderResetIcon(),this.renderIcon())}renderIcon(){if(this.type===o.PASSWORD){return this.renderShowHidePassword()}if(!this.icon){return}return s("z-icon",{name:this.icon,class:{[this.size]:true,"input-icon":true}})}renderResetIcon(){let i=false;if(!this.hasclearicon||!this.value||this.disabled||this.readonly||this.type==o.NUMBER){i=true}return s("button",{type:"button",class:{"reset-icon":true,"input-icon":true,hidden:i},"aria-label":"cancella il contenuto dell'input",onClick:()=>{this.inputRef.value="";this.emitInputChange("")}},s("z-icon",{name:"multiply",class:this.size}))}renderShowHidePassword(){return s("button",{type:"button",class:"input-icon toggle-password-icon",disabled:this.disabled,"aria-label":this.passwordHidden?"mostra password":"nascondi password",onClick:()=>this.passwordHidden=!this.passwordHidden},s("z-icon",{name:this.passwordHidden?"view-filled":"view-off-filled",class:this.size}))}renderMessage(){if(u(this.message)===false){return}return s("z-input-message",{message:u(this.message)===true?undefined:this.message,status:this.status,class:this.size,disabled:this.disabled})}renderTextarea(){const i=this.getTextAttributes();return s(e,null,this.renderLabel(),s("div",{class:Object.assign(Object.assign({},i.class),{"textarea-wrapper":true,readonly:!!i.readonly})},s("textarea",Object.assign({},i,{class:Object.assign(Object.assign({},i.class),{"z-scrollbar":true}),"aria-label":this.ariaLabel||undefined},this.getRoleAttribute()))),this.renderMessage())}handleCheck(i){this.checked=i.target.checked;this.emitInputCheck(this.checked)}renderCheckbox(){return s("div",{class:"checkbox-wrapper"},s("input",Object.assign({id:this.htmlid,type:"checkbox",name:this.name,checked:this.checked,disabled:this.disabled,readonly:this.readonly,required:this.required,onChange:this.handleCheck.bind(this),value:this.value},this.getRoleAttribute(),this.getFocusBlurAttributes())),s("label",{htmlFor:this.htmlid,class:{"checkbox-label":true,after:this.labelPosition===c.RIGHT,before:this.labelPosition===c.LEFT}},s("z-icon",{name:this.checked?"checkbox-checked":"checkbox",class:this.size}),this.label&&s("span",{innerHTML:this.label})))}renderRadio(){return s("div",{class:"radio-wrapper"},s("input",Object.assign({id:this.htmlid,type:"radio",name:this.name,checked:this.checked,disabled:this.disabled,readonly:this.readonly,onChange:this.handleCheck.bind(this),value:this.value},this.getRoleAttribute(),this.getFocusBlurAttributes())),s("label",{htmlFor:this.htmlid,class:{"radio-label":true,after:this.labelPosition===c.RIGHT,before:this.labelPosition===c.LEFT}},s("z-icon",{name:this.checked?"radio-button-checked":"radio-button",class:this.size}),this.label&&s("span",{innerHTML:this.label})))}render(){let i;switch(this.type){case o.TEXTAREA:i=this.renderTextarea();break;case o.CHECKBOX:i=this.renderCheckbox();break;case o.RADIO:i=this.renderRadio();break;default:i=this.renderInputText(this.type)}return s(r,{key:"716ee8b89dbfeffedfdbfa8785c3994a94c44f44"},i)}get hostElement(){return n(this)}};h.style=l;const z=':host{display:flex;min-height:calc(var(--space-unit) * 2.5);align-items:start;margin-top:var(--space-unit);color:var(--color-default-text);fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host(.small),:host(.x-small){margin-top:calc(var(--space-unit) * 0.5);font-size:var(--font-size-1)}:host([status="success"]){color:var(--color-hover-success)}:host([status="error"]){color:var(--color-hover-error)}:host([status="warning"]){color:var(--color-hover-warning)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);--z-icon-right-margin:var(--space-unit);margin-top:calc(var(--space-unit) * 0.25)}:host(.small)>z-icon,:host(.x-small)>z-icon{--z-icon-width:14px;--z-icon-height:14px;--z-icon-right-margin:calc(var(--space-unit) * 0.5)}:host([disabled]){color:var(--color-disabled03);fill:var(--color-disabled03)}';const d=class{constructor(t){i(this,t);this.statusIcons={success:"checkmark-circle",error:"multiply-circled",warning:"exclamation-circle"};this.message=undefined;this.status=undefined;this.disabled=undefined;this.statusRole={}}onMessageChange(){this.statusRole=this.message&&this.status?{role:"alert"}:{}}componentWillLoad(){this.onMessageChange()}render(){return s(r,Object.assign({key:"ef26c50e4e8f21bed23b6b530f34866bb9d746af"},this.statusRole,{"aria-label":this.message}),this.statusIcons[this.status]&&this.message&&s("z-icon",{key:"1c701e5f10e96e549fc3e799cbc16099f2032956",name:this.statusIcons[this.status]}),s("span",{key:"9a12b124d65a4b4ebcb9856ce6e9fa275d96ac64",innerHTML:this.message}))}static get watchers(){return{message:["onMessageChange"],status:["onMessageChange"]}}};d.style=z;export{h as z_input,d as z_input_message};
2
+ //# sourceMappingURL=p-673af8ea.entry.js.map