@zanichelli/albe-web-components 2.40.0 → 2.40.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (388) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/cjs/{index-25206491.js → index-6b11e272.js} +10 -10
  3. package/dist/cjs/{index-e826b4ad.js → index-dee3e21d.js} +0 -3
  4. package/dist/cjs/index.cjs.js +2 -2
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/{utils-6410fc7d.js → utils-428c57eb.js} +3 -3
  7. package/dist/cjs/web-components-library.cjs.js +2 -2
  8. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/z-app-header.cjs.entry.js +1 -1
  10. package/dist/cjs/z-app-switcher_10.cjs.entry.js +353 -0
  11. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  12. package/dist/cjs/z-avatar.cjs.entry.js +2 -2
  13. package/dist/cjs/z-body_2.cjs.entry.js +1 -1
  14. package/dist/cjs/z-button-filter_5.cjs.entry.js +3 -3
  15. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  16. package/dist/cjs/z-candybar.cjs.entry.js +1 -1
  17. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  18. package/dist/cjs/z-combobox.cjs.entry.js +3 -3
  19. package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -2
  20. package/dist/cjs/z-cookiebar.cjs.entry.js +2 -2
  21. package/dist/cjs/z-footer-link_3.cjs.entry.js +1 -1
  22. package/dist/cjs/z-footer.cjs.entry.js +2 -2
  23. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  24. package/dist/cjs/z-heading.cjs.entry.js +17 -0
  25. package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
  26. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  27. package/dist/cjs/z-list_3.cjs.entry.js +2 -2
  28. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +3 -3
  29. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  30. package/dist/cjs/z-menu.cjs.entry.js +1 -1
  31. package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
  32. package/dist/cjs/z-modal-login.cjs.entry.js +2 -2
  33. package/dist/cjs/z-modal.cjs.entry.js +1 -1
  34. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  35. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  36. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  37. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  38. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  39. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  40. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  41. package/dist/cjs/z-myz-card_4.cjs.entry.js +2 -2
  42. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  43. package/dist/cjs/z-myz-topbar.cjs.entry.js +2 -2
  44. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  45. package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
  46. package/dist/cjs/z-notification.cjs.entry.js +2 -2
  47. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  48. package/dist/cjs/z-pagination-bar.cjs.entry.js +3 -3
  49. package/dist/cjs/z-pagination-page.cjs.entry.js +1 -1
  50. package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
  51. package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
  52. package/dist/cjs/z-pocket_3.cjs.entry.js +3 -3
  53. package/dist/cjs/z-popover.cjs.entry.js +3 -3
  54. package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
  55. package/dist/cjs/z-status-tag.cjs.entry.js +2 -2
  56. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  57. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  58. package/dist/cjs/z-table-body.cjs.entry.js +1 -1
  59. package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
  60. package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
  61. package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
  62. package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
  63. package/dist/cjs/z-table-head.cjs.entry.js +1 -1
  64. package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
  65. package/dist/cjs/z-table-header.cjs.entry.js +3 -3
  66. package/dist/cjs/z-table-row.cjs.entry.js +2 -2
  67. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
  68. package/dist/cjs/z-table.cjs.entry.js +2 -2
  69. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  70. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  71. package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
  72. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  73. package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -1
  74. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  75. package/dist/collection/beans/index.js +10 -10
  76. package/dist/collection/collection-manifest.json +1 -4
  77. package/dist/collection/components/buttons/z-button/index.js +1 -2
  78. package/dist/collection/components/z-offcanvas/index.js +147 -0
  79. package/dist/collection/components/z-offcanvas/styles.css +163 -0
  80. package/dist/collection/utils/utils.js +2 -2
  81. package/dist/esm/{index-cca2b0d2.js → index-9d70864c.js} +11 -11
  82. package/dist/esm/{index-8782dff4.js → index-fa9e549c.js} +0 -3
  83. package/dist/esm/index.js +2 -2
  84. package/dist/esm/loader.js +2 -2
  85. package/dist/esm/{utils-cdd5a909.js → utils-347de6f5.js} +3 -3
  86. package/dist/esm/web-components-library.js +2 -2
  87. package/dist/esm/z-alert.entry.js +1 -1
  88. package/dist/esm/z-app-header.entry.js +1 -1
  89. package/dist/esm/z-app-switcher_10.entry.js +340 -0
  90. package/dist/esm/z-aria-alert.entry.js +2 -2
  91. package/dist/esm/z-avatar.entry.js +2 -2
  92. package/dist/esm/z-body_2.entry.js +1 -1
  93. package/dist/esm/z-button-filter_5.entry.js +3 -3
  94. package/dist/esm/z-button-sort.entry.js +1 -1
  95. package/dist/esm/z-candybar.entry.js +1 -1
  96. package/dist/esm/z-chip.entry.js +2 -2
  97. package/dist/esm/z-combobox.entry.js +3 -3
  98. package/dist/esm/z-contextual-menu.entry.js +2 -2
  99. package/dist/esm/z-cookiebar.entry.js +2 -2
  100. package/dist/esm/z-footer-link_3.entry.js +1 -1
  101. package/dist/esm/z-footer.entry.js +2 -2
  102. package/dist/esm/z-ghost-loading.entry.js +1 -1
  103. package/dist/esm/z-heading.entry.js +13 -0
  104. package/dist/esm/z-icon-package.entry.js +1 -1
  105. package/dist/esm/z-info-box.entry.js +1 -1
  106. package/dist/esm/z-list_3.entry.js +2 -2
  107. package/dist/esm/z-menu-dropdown_2.entry.js +3 -3
  108. package/dist/esm/z-menu-section.entry.js +1 -1
  109. package/dist/esm/z-menu.entry.js +1 -1
  110. package/dist/esm/z-messages-pocket.entry.js +2 -2
  111. package/dist/esm/z-modal-login.entry.js +2 -2
  112. package/dist/esm/z-modal.entry.js +1 -1
  113. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  114. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  115. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  116. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  117. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  118. package/dist/esm/z-myz-card-info.entry.js +3 -3
  119. package/dist/esm/z-myz-card-list.entry.js +1 -1
  120. package/dist/esm/z-myz-card_4.entry.js +2 -2
  121. package/dist/esm/z-myz-list-item.entry.js +3 -3
  122. package/dist/esm/z-myz-topbar.entry.js +2 -2
  123. package/dist/esm/z-navigation-tab.entry.js +1 -1
  124. package/dist/esm/z-navigation-tabs.entry.js +2 -2
  125. package/dist/esm/z-notification.entry.js +2 -2
  126. package/dist/esm/z-otp.entry.js +2 -2
  127. package/dist/esm/z-pagination-bar.entry.js +3 -3
  128. package/dist/esm/z-pagination-page.entry.js +1 -1
  129. package/dist/esm/z-panel-elem.entry.js +1 -1
  130. package/dist/esm/z-pocket-message.entry.js +1 -1
  131. package/dist/esm/z-pocket_3.entry.js +3 -3
  132. package/dist/esm/z-popover.entry.js +3 -3
  133. package/dist/esm/z-slideshow.entry.js +3 -3
  134. package/dist/esm/z-status-tag.entry.js +2 -2
  135. package/dist/esm/z-stepper-item.entry.js +1 -1
  136. package/dist/esm/z-stepper.entry.js +1 -1
  137. package/dist/esm/z-table-body.entry.js +1 -1
  138. package/dist/esm/z-table-cell.entry.js +2 -2
  139. package/dist/esm/z-table-empty-box.entry.js +1 -1
  140. package/dist/esm/z-table-expanded-row.entry.js +1 -1
  141. package/dist/esm/z-table-footer.entry.js +1 -1
  142. package/dist/esm/z-table-head.entry.js +1 -1
  143. package/dist/esm/z-table-header-row.entry.js +1 -1
  144. package/dist/esm/z-table-header.entry.js +3 -3
  145. package/dist/esm/z-table-row.entry.js +2 -2
  146. package/dist/esm/z-table-sticky-footer.entry.js +1 -1
  147. package/dist/esm/z-table.entry.js +2 -2
  148. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  149. package/dist/esm/z-toast-notification.entry.js +2 -2
  150. package/dist/esm/z-toggle-button.entry.js +1 -1
  151. package/dist/esm/z-tooltip.entry.js +2 -2
  152. package/dist/esm/z-user-dropdown.entry.js +1 -1
  153. package/dist/esm/z-visually-hidden.entry.js +1 -1
  154. package/dist/types/beans/index.d.ts +8 -8
  155. package/dist/types/components/buttons/z-button/index.d.ts +1 -2
  156. package/dist/types/components/z-offcanvas/index.d.ts +25 -0
  157. package/dist/types/components.d.ts +42 -124
  158. package/dist/web-components-library/index.esm.js +1 -1
  159. package/dist/web-components-library/{p-95b95a4c.entry.js → p-017ddee6.entry.js} +1 -1
  160. package/dist/web-components-library/{p-a73f0693.entry.js → p-01a920d1.entry.js} +1 -1
  161. package/dist/web-components-library/{p-99f91860.entry.js → p-0ce6293a.entry.js} +1 -1
  162. package/dist/web-components-library/{p-68fab13e.entry.js → p-1094e4de.entry.js} +1 -1
  163. package/dist/web-components-library/{p-daec8d7f.entry.js → p-1231efbf.entry.js} +1 -1
  164. package/dist/web-components-library/{p-7dcda694.entry.js → p-140cc18f.entry.js} +1 -1
  165. package/dist/web-components-library/{p-a5460f1e.entry.js → p-15b45bd6.entry.js} +1 -1
  166. package/dist/web-components-library/{p-1c66e50c.entry.js → p-1879f46c.entry.js} +1 -1
  167. package/dist/web-components-library/{p-cddc1de0.entry.js → p-1c72783c.entry.js} +1 -1
  168. package/dist/web-components-library/p-24a2786b.js +1 -0
  169. package/dist/web-components-library/{p-431d0295.entry.js → p-250926fe.entry.js} +1 -1
  170. package/dist/web-components-library/{p-6a4dfee8.entry.js → p-29df410a.entry.js} +1 -1
  171. package/{www/build/p-621a7fac.entry.js → dist/web-components-library/p-2df6d015.entry.js} +1 -1
  172. package/dist/web-components-library/{p-d9a14771.entry.js → p-3552098c.entry.js} +1 -1
  173. package/dist/web-components-library/p-3b3cd128.js +1 -0
  174. package/dist/web-components-library/{p-006a91ce.entry.js → p-3c5e84f2.entry.js} +1 -1
  175. package/{www/build/p-e88726bc.entry.js → dist/web-components-library/p-45a41bff.entry.js} +1 -1
  176. package/dist/web-components-library/{p-d1a0cb4c.entry.js → p-4665d79f.entry.js} +1 -1
  177. package/dist/web-components-library/p-483d10ba.entry.js +1 -0
  178. package/dist/web-components-library/p-48e0a763.entry.js +1 -0
  179. package/dist/web-components-library/{p-f4062940.entry.js → p-4a1404e2.entry.js} +1 -1
  180. package/dist/web-components-library/{p-c277d035.entry.js → p-4a414eb2.entry.js} +1 -1
  181. package/dist/web-components-library/{p-d338e5a9.entry.js → p-4c1dc891.entry.js} +1 -1
  182. package/dist/web-components-library/{p-db1508ed.entry.js → p-4e896ed8.entry.js} +1 -1
  183. package/dist/web-components-library/{p-a3820e7d.entry.js → p-5aff6913.entry.js} +1 -1
  184. package/dist/web-components-library/{p-97c04e0c.entry.js → p-5bbbc979.entry.js} +1 -1
  185. package/dist/web-components-library/{p-277f19e8.entry.js → p-5c860beb.entry.js} +1 -1
  186. package/dist/web-components-library/{p-335768cc.entry.js → p-6583cbec.entry.js} +1 -1
  187. package/{www/build/p-8741a278.entry.js → dist/web-components-library/p-6847ed50.entry.js} +1 -1
  188. package/dist/web-components-library/{p-3830db49.entry.js → p-698e18cf.entry.js} +1 -1
  189. package/dist/web-components-library/{p-016c1fd4.entry.js → p-71cc7ed0.entry.js} +1 -1
  190. package/dist/web-components-library/p-74200866.entry.js +1 -0
  191. package/dist/web-components-library/{p-d1432a24.entry.js → p-74fb3d69.entry.js} +1 -1
  192. package/dist/web-components-library/{p-84f934a8.entry.js → p-8a061b5b.entry.js} +1 -1
  193. package/dist/web-components-library/{p-f6bfde21.entry.js → p-8deddec7.entry.js} +1 -1
  194. package/dist/web-components-library/{p-8497f556.entry.js → p-8edb6b65.entry.js} +1 -1
  195. package/dist/web-components-library/{p-8c298051.entry.js → p-8ef035ce.entry.js} +1 -1
  196. package/dist/web-components-library/{p-1acbd992.js → p-904a85e4.js} +1 -1
  197. package/dist/web-components-library/{p-22e61c79.entry.js → p-9af1322d.entry.js} +1 -1
  198. package/dist/web-components-library/{p-e4739505.entry.js → p-9cb6848c.entry.js} +1 -1
  199. package/dist/web-components-library/{p-7f866d57.entry.js → p-9d3ea635.entry.js} +1 -1
  200. package/dist/web-components-library/{p-6043d78f.entry.js → p-a025a565.entry.js} +1 -1
  201. package/dist/web-components-library/p-a1bb6af2.entry.js +1 -0
  202. package/{www/build/p-99f59836.entry.js → dist/web-components-library/p-a7733104.entry.js} +1 -1
  203. package/dist/web-components-library/{p-39a787af.entry.js → p-aa0f7169.entry.js} +1 -1
  204. package/dist/web-components-library/{p-b1e6a2ae.entry.js → p-ac3bc4c2.entry.js} +1 -1
  205. package/{www/build/p-70c7f657.entry.js → dist/web-components-library/p-b171474c.entry.js} +1 -1
  206. package/dist/web-components-library/{p-a0fef4f3.entry.js → p-b52459fd.entry.js} +1 -1
  207. package/dist/web-components-library/{p-e8305a91.entry.js → p-b78fb152.entry.js} +1 -1
  208. package/dist/web-components-library/p-bbbdb48a.entry.js +1 -0
  209. package/dist/web-components-library/{p-031de7f3.entry.js → p-be15a83a.entry.js} +1 -1
  210. package/{www/build/p-51957070.entry.js → dist/web-components-library/p-c2dfaef9.entry.js} +1 -1
  211. package/dist/web-components-library/{p-1a6b8d43.entry.js → p-c7af96eb.entry.js} +1 -1
  212. package/dist/web-components-library/{p-d950fcf8.entry.js → p-ca136ef7.entry.js} +1 -1
  213. package/dist/web-components-library/{p-836d2cb2.entry.js → p-cf914ea7.entry.js} +1 -1
  214. package/dist/web-components-library/{p-b0027b69.entry.js → p-cfebc80e.entry.js} +1 -1
  215. package/{www/build/p-1c7ed895.entry.js → dist/web-components-library/p-d9917511.entry.js} +1 -1
  216. package/dist/web-components-library/{p-2d45e45e.entry.js → p-db5863cf.entry.js} +1 -1
  217. package/dist/web-components-library/{p-18d36e2e.entry.js → p-e1f1f39e.entry.js} +1 -1
  218. package/dist/web-components-library/p-e60c2a06.entry.js +1 -0
  219. package/dist/web-components-library/{p-824875b4.entry.js → p-eadaf008.entry.js} +1 -1
  220. package/dist/web-components-library/{p-3504da90.entry.js → p-ebcad010.entry.js} +1 -1
  221. package/{www/build/p-8fe1b60c.entry.js → dist/web-components-library/p-f113a03a.entry.js} +1 -1
  222. package/dist/web-components-library/{p-152f95de.entry.js → p-f1cc3489.entry.js} +1 -1
  223. package/dist/web-components-library/{p-823cbb37.entry.js → p-f333967e.entry.js} +1 -1
  224. package/dist/web-components-library/{p-ee19d602.entry.js → p-f34a707c.entry.js} +1 -1
  225. package/dist/web-components-library/{p-13a0a93a.entry.js → p-f7f9db16.entry.js} +1 -1
  226. package/dist/web-components-library/{p-ee432245.entry.js → p-fa0e0402.entry.js} +1 -1
  227. package/dist/web-components-library/{p-d943ee16.entry.js → p-fa1e086f.entry.js} +1 -1
  228. package/dist/web-components-library/{p-b1e3a655.entry.js → p-fdfca9b7.entry.js} +1 -1
  229. package/dist/web-components-library/web-components-library.esm.js +1 -1
  230. package/package.json +1 -1
  231. package/react/components.d.ts +1 -4
  232. package/react/components.js +3 -6
  233. package/react/components.js.map +1 -1
  234. package/www/assets/favicon.png +0 -0
  235. package/www/build/index.esm.js +1 -1
  236. package/www/build/{p-95b95a4c.entry.js → p-017ddee6.entry.js} +1 -1
  237. package/www/build/{p-a73f0693.entry.js → p-01a920d1.entry.js} +1 -1
  238. package/www/build/{p-99f91860.entry.js → p-0ce6293a.entry.js} +1 -1
  239. package/www/build/{p-68fab13e.entry.js → p-1094e4de.entry.js} +1 -1
  240. package/www/build/{p-daec8d7f.entry.js → p-1231efbf.entry.js} +1 -1
  241. package/www/build/{p-7dcda694.entry.js → p-140cc18f.entry.js} +1 -1
  242. package/www/build/{p-a5460f1e.entry.js → p-15b45bd6.entry.js} +1 -1
  243. package/www/build/{p-1c66e50c.entry.js → p-1879f46c.entry.js} +1 -1
  244. package/www/build/{p-cddc1de0.entry.js → p-1c72783c.entry.js} +1 -1
  245. package/www/build/p-24a2786b.js +1 -0
  246. package/www/build/{p-431d0295.entry.js → p-250926fe.entry.js} +1 -1
  247. package/www/build/{p-6a4dfee8.entry.js → p-29df410a.entry.js} +1 -1
  248. package/{dist/web-components-library/p-621a7fac.entry.js → www/build/p-2df6d015.entry.js} +1 -1
  249. package/www/build/{p-d9a14771.entry.js → p-3552098c.entry.js} +1 -1
  250. package/www/build/p-3b3cd128.js +1 -0
  251. package/www/build/{p-006a91ce.entry.js → p-3c5e84f2.entry.js} +1 -1
  252. package/{dist/web-components-library/p-e88726bc.entry.js → www/build/p-45a41bff.entry.js} +1 -1
  253. package/www/build/{p-d1a0cb4c.entry.js → p-4665d79f.entry.js} +1 -1
  254. package/www/build/p-483d10ba.entry.js +1 -0
  255. package/www/build/p-48e0a763.entry.js +1 -0
  256. package/www/build/{p-f4062940.entry.js → p-4a1404e2.entry.js} +1 -1
  257. package/www/build/{p-c277d035.entry.js → p-4a414eb2.entry.js} +1 -1
  258. package/www/build/{p-d338e5a9.entry.js → p-4c1dc891.entry.js} +1 -1
  259. package/www/build/{p-db1508ed.entry.js → p-4e896ed8.entry.js} +1 -1
  260. package/www/build/{p-a3820e7d.entry.js → p-5aff6913.entry.js} +1 -1
  261. package/www/build/{p-97c04e0c.entry.js → p-5bbbc979.entry.js} +1 -1
  262. package/www/build/{p-277f19e8.entry.js → p-5c860beb.entry.js} +1 -1
  263. package/www/build/{p-335768cc.entry.js → p-6583cbec.entry.js} +1 -1
  264. package/{dist/web-components-library/p-8741a278.entry.js → www/build/p-6847ed50.entry.js} +1 -1
  265. package/www/build/{p-3830db49.entry.js → p-698e18cf.entry.js} +1 -1
  266. package/www/build/{p-016c1fd4.entry.js → p-71cc7ed0.entry.js} +1 -1
  267. package/www/build/p-74200866.entry.js +1 -0
  268. package/www/build/{p-d1432a24.entry.js → p-74fb3d69.entry.js} +1 -1
  269. package/www/build/{p-84f934a8.entry.js → p-8a061b5b.entry.js} +1 -1
  270. package/www/build/p-8af945c2.js +1 -0
  271. package/www/build/{p-f6bfde21.entry.js → p-8deddec7.entry.js} +1 -1
  272. package/www/build/{p-8497f556.entry.js → p-8edb6b65.entry.js} +1 -1
  273. package/www/build/{p-8c298051.entry.js → p-8ef035ce.entry.js} +1 -1
  274. package/www/build/{p-1acbd992.js → p-904a85e4.js} +1 -1
  275. package/www/build/{p-22e61c79.entry.js → p-9af1322d.entry.js} +1 -1
  276. package/www/build/{p-e4739505.entry.js → p-9cb6848c.entry.js} +1 -1
  277. package/www/build/{p-7f866d57.entry.js → p-9d3ea635.entry.js} +1 -1
  278. package/www/build/{p-6043d78f.entry.js → p-a025a565.entry.js} +1 -1
  279. package/www/build/p-a1bb6af2.entry.js +1 -0
  280. package/{dist/web-components-library/p-99f59836.entry.js → www/build/p-a7733104.entry.js} +1 -1
  281. package/www/build/{p-39a787af.entry.js → p-aa0f7169.entry.js} +1 -1
  282. package/www/build/{p-b1e6a2ae.entry.js → p-ac3bc4c2.entry.js} +1 -1
  283. package/{dist/web-components-library/p-70c7f657.entry.js → www/build/p-b171474c.entry.js} +1 -1
  284. package/www/build/{p-a0fef4f3.entry.js → p-b52459fd.entry.js} +1 -1
  285. package/www/build/{p-e8305a91.entry.js → p-b78fb152.entry.js} +1 -1
  286. package/www/build/p-bbbdb48a.entry.js +1 -0
  287. package/www/build/{p-031de7f3.entry.js → p-be15a83a.entry.js} +1 -1
  288. package/{dist/web-components-library/p-51957070.entry.js → www/build/p-c2dfaef9.entry.js} +1 -1
  289. package/www/build/{p-1a6b8d43.entry.js → p-c7af96eb.entry.js} +1 -1
  290. package/www/build/{p-d950fcf8.entry.js → p-ca136ef7.entry.js} +1 -1
  291. package/www/build/{p-836d2cb2.entry.js → p-cf914ea7.entry.js} +1 -1
  292. package/www/build/{p-b0027b69.entry.js → p-cfebc80e.entry.js} +1 -1
  293. package/{dist/web-components-library/p-1c7ed895.entry.js → www/build/p-d9917511.entry.js} +1 -1
  294. package/www/build/{p-2d45e45e.entry.js → p-db5863cf.entry.js} +1 -1
  295. package/www/build/{p-18d36e2e.entry.js → p-e1f1f39e.entry.js} +1 -1
  296. package/www/build/p-e60c2a06.entry.js +1 -0
  297. package/www/build/p-ea943cbd.css +1 -0
  298. package/www/build/{p-824875b4.entry.js → p-eadaf008.entry.js} +1 -1
  299. package/www/build/{p-3504da90.entry.js → p-ebcad010.entry.js} +1 -1
  300. package/{dist/web-components-library/p-8fe1b60c.entry.js → www/build/p-f113a03a.entry.js} +1 -1
  301. package/www/build/{p-152f95de.entry.js → p-f1cc3489.entry.js} +1 -1
  302. package/www/build/{p-823cbb37.entry.js → p-f333967e.entry.js} +1 -1
  303. package/www/build/{p-ee19d602.entry.js → p-f34a707c.entry.js} +1 -1
  304. package/www/build/{p-13a0a93a.entry.js → p-f7f9db16.entry.js} +1 -1
  305. package/www/build/{p-ee432245.entry.js → p-fa0e0402.entry.js} +1 -1
  306. package/www/build/{p-d943ee16.entry.js → p-fa1e086f.entry.js} +1 -1
  307. package/www/build/{p-b1e3a655.entry.js → p-fdfca9b7.entry.js} +1 -1
  308. package/www/build/web-components-library.esm.js +1 -1
  309. package/www/index.html +32 -8
  310. package/dist/cjs/z-app-switcher.cjs.entry.js +0 -29
  311. package/dist/cjs/z-app-topbar.cjs.entry.js +0 -41
  312. package/dist/cjs/z-button.cjs.entry.js +0 -39
  313. package/dist/cjs/z-card.cjs.entry.js +0 -69
  314. package/dist/cjs/z-carousel.cjs.entry.js +0 -19
  315. package/dist/cjs/z-divider.cjs.entry.js +0 -26
  316. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +0 -49
  317. package/dist/cjs/z-file-upload.cjs.entry.js +0 -169
  318. package/dist/cjs/z-file.cjs.entry.js +0 -53
  319. package/dist/cjs/z-icon.cjs.entry.js +0 -28
  320. package/dist/cjs/z-link.cjs.entry.js +0 -71
  321. package/dist/cjs/z-logo.cjs.entry.js +0 -28
  322. package/dist/cjs/z-toggle-switch.cjs.entry.js +0 -42
  323. package/dist/collection/components/buttons/z-toggle-switch/index.js +0 -136
  324. package/dist/collection/components/buttons/z-toggle-switch/styles.css +0 -115
  325. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +0 -52
  326. package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +0 -62
  327. package/dist/collection/components/file-upload/z-file/index.js +0 -108
  328. package/dist/collection/components/file-upload/z-file/styles.css +0 -61
  329. package/dist/collection/components/file-upload/z-file-upload/index.js +0 -329
  330. package/dist/collection/components/file-upload/z-file-upload/styles.css +0 -87
  331. package/dist/esm/z-app-switcher.entry.js +0 -25
  332. package/dist/esm/z-app-topbar.entry.js +0 -37
  333. package/dist/esm/z-button.entry.js +0 -35
  334. package/dist/esm/z-card.entry.js +0 -65
  335. package/dist/esm/z-carousel.entry.js +0 -15
  336. package/dist/esm/z-divider.entry.js +0 -22
  337. package/dist/esm/z-dragdrop-area_2.entry.js +0 -44
  338. package/dist/esm/z-file-upload.entry.js +0 -165
  339. package/dist/esm/z-file.entry.js +0 -49
  340. package/dist/esm/z-icon.entry.js +0 -24
  341. package/dist/esm/z-link.entry.js +0 -67
  342. package/dist/esm/z-logo.entry.js +0 -24
  343. package/dist/esm/z-toggle-switch.entry.js +0 -38
  344. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +0 -12
  345. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +0 -9
  346. package/dist/types/components/file-upload/z-file/index.d.ts +0 -17
  347. package/dist/types/components/file-upload/z-file-upload/index.d.ts +0 -49
  348. package/dist/web-components-library/p-0e7fe7c1.js +0 -1
  349. package/dist/web-components-library/p-117c6e89.entry.js +0 -1
  350. package/dist/web-components-library/p-11d4e9b7.entry.js +0 -1
  351. package/dist/web-components-library/p-13abb76e.entry.js +0 -1
  352. package/dist/web-components-library/p-1f439216.entry.js +0 -1
  353. package/dist/web-components-library/p-42d64757.js +0 -1
  354. package/dist/web-components-library/p-4ce434aa.entry.js +0 -1
  355. package/dist/web-components-library/p-5ff0b130.entry.js +0 -1
  356. package/dist/web-components-library/p-7076e9fd.entry.js +0 -1
  357. package/dist/web-components-library/p-73e8c323.entry.js +0 -1
  358. package/dist/web-components-library/p-8ed29309.entry.js +0 -1
  359. package/dist/web-components-library/p-9b4f979f.entry.js +0 -1
  360. package/dist/web-components-library/p-a3792cf0.entry.js +0 -1
  361. package/dist/web-components-library/p-a4b2df38.entry.js +0 -1
  362. package/dist/web-components-library/p-b10f1aaa.entry.js +0 -1
  363. package/dist/web-components-library/p-c1a7b740.entry.js +0 -1
  364. package/dist/web-components-library/p-db38494e.entry.js +0 -1
  365. package/dist/web-components-library/p-e5c89d9f.entry.js +0 -1
  366. package/dist/web-components-library/p-fc23b15f.entry.js +0 -1
  367. package/www/build/p-0e7fe7c1.js +0 -1
  368. package/www/build/p-117c6e89.entry.js +0 -1
  369. package/www/build/p-11d4e9b7.entry.js +0 -1
  370. package/www/build/p-13abb76e.entry.js +0 -1
  371. package/www/build/p-1f439216.entry.js +0 -1
  372. package/www/build/p-42d64757.js +0 -1
  373. package/www/build/p-4ce434aa.entry.js +0 -1
  374. package/www/build/p-5ff0b130.entry.js +0 -1
  375. package/www/build/p-7076e9fd.entry.js +0 -1
  376. package/www/build/p-73e8c323.entry.js +0 -1
  377. package/www/build/p-7fab4941.js +0 -122
  378. package/www/build/p-8ed29309.entry.js +0 -1
  379. package/www/build/p-97a11655.css +0 -789
  380. package/www/build/p-9b4f979f.entry.js +0 -1
  381. package/www/build/p-a3792cf0.entry.js +0 -1
  382. package/www/build/p-a4b2df38.entry.js +0 -1
  383. package/www/build/p-b10f1aaa.entry.js +0 -1
  384. package/www/build/p-c1a7b740.entry.js +0 -1
  385. package/www/build/p-db38494e.entry.js +0 -1
  386. package/www/build/p-e5c89d9f.entry.js +0 -1
  387. package/www/build/p-fc23b15f.entry.js +0 -1
  388. package/www/pages/file-upload.html +0 -236
@@ -1 +0,0 @@
1
- import{r as o,h as r,g as t}from"./p-1acbd992.js";import{c as a}from"./p-3247dee9.js";import{x as e,B as s,f as i}from"./p-0e7fe7c1.js";import"./p-b68038b5.js";const l=class{constructor(r){o(this,r),this.disabled=!1,this.type=e.button,this.variant=s.primary,this.size=i.big,this.issmall=!1,this.square=!1}render(){return this.hostElement.style.pointerEvents=this.disabled?"none":"auto",r("slot",{name:"element"},r("button",{id:this.htmlid,name:this.name,type:this.type,disabled:this.disabled,class:a(this.variant,this.size,{issmall:this.issmall},{square:this.square})},this.icon&&r("z-icon",{name:this.icon,width:16,height:16}),r("slot",null)))}get hostElement(){return t(this)}};l.style=':host{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:var(--space-unit);--rgb-white:240, 240, 240}button:disabled,::slotted(button:disabled){pointer-events:none}button,::slotted(button),::slotted(a){box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;width:100%;font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;line-height:1;letter-spacing:0.3px;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);vertical-align:middle;text-transform:uppercase;text-decoration:none;cursor:pointer;white-space:nowrap;outline:none;fill:currentColor}button.big,:host([size="big"]) ::slotted(button),:host([size="big"]) ::slotted(a){height:44px;min-width:44px}button.small,:host([size="small"]) ::slotted(button),:host([size="small"]) ::slotted(a){height:36px;min-width:36px}button.issmall,:host([issmall]) ::slotted(button),:host([issmall]) ::slotted(a){height:36px;min-width:36px}button.x-small,:host([size="x-small"]) ::slotted(button),:host([size="x-small"]) ::slotted(a){height:32px;min-width:32px}button:not(.square),:host(:not([square])) ::slotted(button),:host(:not([square])) ::slotted(a){min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}button.square,:host([square]){--z-icon-right-margin:0}button.primary,:host([variant="primary"]) ::slotted(button),:host([variant="primary"]) ::slotted(a){background-color:var(--color-primary01);border-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){button.primary:hover,:host([variant="primary"]) ::slotted(button:hover),:host([variant="primary"]) ::slotted(a:hover){background-color:var(--color-hover-primary);border-color:var(--color-hover-primary);color:var(--color-text-inverse)}}button:focus:focus-visible,::slotted(button:focus:focus-visible),::slotted(a:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}button.primary:active,:host([variant="primary"]) ::slotted(button:active),:host([variant="primary"]) ::slotted(a:active){background-color:var(--color-pressed-primary);border-color:var(--color-pressed-primary);color:var(--color-text-inverse);box-shadow:var(--shadow-2)}button.primary:disabled,:host([variant="primary"]) ::slotted(button:disabled){background-color:var(--color-disabled01);border-color:var(--color-disabled01);color:var(--color-disabled02)}button.secondary,:host([variant="secondary"]) ::slotted(button),:host([variant="secondary"]) ::slotted(a){background-color:var(--color-surface01);border-color:var(--color-primary01);color:var(--color-primary01)}@media (hover: hover){button.secondary:hover,:host([variant="secondary"]) ::slotted(button:hover),:host([variant="secondary"]) ::slotted(a:hover){background-color:var(--color-surface01);border-color:var(--color-hover-primary);color:var(--color-hover-primary)}}button.secondary:active,:host([variant="secondary"]) ::slotted(button:active),:host([variant="secondary"]) ::slotted(a:active){background-color:var(--color-surface01);border-color:var(--color-pressed-primary);color:var(--color-pressed-primary);box-shadow:var(--shadow-2)}button.secondary:disabled,:host([variant="secondary"]) ::slotted(button:disabled){background-color:var(--color-surface01);border-color:var(--color-disabled01);color:var(--color-disabled02)}button.tertiary,:host([variant="tertiary"]) ::slotted(button),:host([variant="tertiary"]) ::slotted(a){background-color:transparent;border-color:transparent;color:var(--color-primary01)}button.tertiary.hasContent{padding:0 var(--space-unit)}@media (hover: hover){button.tertiary:hover,:host([variant="tertiary"]) ::slotted(button:hover),:host([variant="tertiary"]) ::slotted(a:hover){background-color:var(--color-primary03);border-color:var(--color-primary03);color:var(--color-hover-primary)}}button.tertiary:focus:focus-visible,:host([variant="tertiary"]) ::slotted(button:focus:focus-visible),:host([variant="tertiary"]) ::slotted(a:focus:focus-visible){background-color:var(--color-surface01);border-color:var(--color-surface01);color:var(--color-primary01)}button.tertiary:active,:host([variant="tertiary"]) ::slotted(button:active),:host([variant="tertiary"]) ::slotted(a:active){background-color:var(--color-surface01);border-color:var(--color-surface01);color:var(--color-primary01);box-shadow:var(--shadow-2)}button.tertiary:disabled,:host([variant="tertiary"]) ::slotted(button:disabled){background-color:transparent;border-color:transparent;color:var(--color-disabled02)}button.dark-bg,:host([variant="dark-bg"]) ::slotted(button),:host([variant="dark-bg"]) ::slotted(a){background-color:rgba(var(--rgb-white), 0.2);border-color:transparent;color:var(--color-text04)}button.dark-bg.hasContent{padding:0 var(--space-unit)}@media (hover: hover){button.dark-bg:hover,:host([variant="dark-bg"]) ::slotted(button:hover),:host([variant="dark-bg"]) ::slotted(a:hover){background-color:rgba(var(--rgb-white), 0.1)}}button.dark-bg:active,:host([variant="dark-bg"]) ::slotted(button:active),:host([variant="dark-bg"]) ::slotted(a:active){background-color:rgba(var(--rgb-white), 0.3)}button.dark-bg:disabled,:host([variant="dark-bg"]) ::slotted(button:disabled){color:var(--color-disabled03);background-color:rgba(var(--rgb-white), 0.05)}';export{l as z_button}
@@ -1 +0,0 @@
1
- import{r,h as s}from"./p-1acbd992.js";const t=class{constructor(s){r(this,s)}render(){return s("ul",{class:"z-carousel-items-container"},s("slot",null))}};t.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-carousel-gutter:0}.z-carousel-items-container{display:flex;overflow-x:scroll;padding-inline-start:0;margin:0;list-style:none;-ms-overflow-style:none;scrollbar-width:none;}.z-carousel-items-container::-webkit-scrollbar{display:none}.z-carousel-items-container>*:not(:last-child){margin-right:var(--z-carousel-gutter)}";export{t as z_carousel}
@@ -1 +0,0 @@
1
- import{r as i,c as e,h as l,g as t}from"./p-1acbd992.js";import{d as a,D as s,e as n}from"./p-0e7fe7c1.js";import{g as o}from"./p-42d64757.js";import"./p-d69e14fb.js";const r=class{constructor(l){i(this,l),this.fileInput=e(this,"fileInput",7),this.type=a.default,this.filesNumber=0,this.inputAttributes={type:"file",id:"fileElem",multiple:!0}}removeFileListener(){this.filesNumber--}fileDroppedListener(i){this.input.files=i.detail,this.fileInputHandler()}componentDidUpdate(){this.handleAccessibility(),this.invalidFiles.size&&this.errorModal.focus()}componentWillLoad(){this.invalidFiles=new Map,this.type===a.dragdrop&&o()!==s.desktop&&(this.type=a.default)}fileInputHandler(){this.input.files.length&&(this.invalidFiles=this.checkFiles(Array.from(this.input.files)))}handleAccessibility(){this.filesNumber>0?this.el.querySelector("z-file:last-child > z-chip").shadowRoot.querySelector("button").focus():this.type===a.default?this.button.shadowRoot.querySelector("button").focus():this.uploadLink.focus()}checkFiles(i){let e=new Map;const l=`supera i ${this.fileMaxSize}MB`;return i.forEach((i=>{const t=i.size/1024/1024,a=this.acceptedFormat.split(",").some((e=>i.name.toLowerCase().endsWith(e.trim()))),s=t<=this.fileMaxSize;if(s&&a)return this.fileInput.emit(i),this.filesNumber++,void(this.input.value="");e.set(i.name,[]),s||e.get(i.name).push(l),a||e.get(i.name).push(" ha un'estensione non prevista")})),e}renderTitle(){return l("z-heading",{id:"title",variant:"semibold",level:2},this.mainTitle)}renderDescription(i,e){return l("z-body",{variant:i,level:e},this.description)}renderAllowedFileExtensions(){let i="",e="";return this.acceptedFormat&&(i=` nei formati ${this.acceptedFormat.split(", ").map((i=>i.substring(1).toUpperCase())).join(", ")}`),this.fileMaxSize&&(e=` per un massimo di ${this.fileMaxSize}MB di peso`),l("z-body",{level:3},i||e?`Puoi allegare file${i}${e}.`:null)}renderFileSection(){return this.filesNumber>0&&l("section",{class:"files-container"},l("z-heading",{variant:"semibold",level:4},"File appena caricati"),l("div",{class:"files"},l("slot",{name:"files"})),l("z-divider",{size:n.medium}))}renderInput(){return l("input",Object.assign({},this.inputAttributes,{onChange:()=>this.fileInputHandler(),accept:this.acceptedFormat,ref:i=>this.input=i}))}renderUploadButton(){return[this.renderInput(),l("z-button",{onClick:()=>this.input.click(),onKeyPress:i=>{"Space"!=i.code&&"Enter"!=i.code||(i.preventDefault(),this.input.click())},id:"fileSelect",variant:this.buttonVariant,icon:"plus",ref:i=>this.button=i},"Allega")]}renderUploadLink(){return[this.renderInput(),l("z-body",{class:"upload-link-text",variant:"regular",level:1},"Trascinalo qui o"," ",l("z-body",{tabIndex:0,class:"upload-link",onClick:()=>this.input.click(),onKeyPress:i=>{"Space"!=i.code&&"Enter"!=i.code||(i.preventDefault(),this.input.click())},variant:"semibold",level:1,ref:i=>this.uploadLink=i},"caricalo")," ","dal tuo computer")]}renderDefaultMode(){return[this.renderDescription("semibold",3),this.renderAllowedFileExtensions(),this.renderFileSection(),this.renderUploadButton()]}renderDragDropMode(){return[this.renderFileSection(),l("z-dragdrop-area",null,l("div",{class:"text-container"},this.renderDescription("regular",1),this.renderUploadLink(),this.renderAllowedFileExtensions()))]}formatErrorString(i,e){var l,t;return`Il file ${i} ${null!==(l=e[0])&&void 0!==l?l:""}${e[0]&&e[1]?", ":""} ${null!==(t=e[1])&&void 0!==t?t:""} e non può quindi essere caricato.`}handleErrorModalContent(){return l("div",{slot:"modalContent"},l("div",{class:"modalWrapper"},l("div",{class:"files"},Array.from(this.invalidFiles).map((([i,e])=>l("z-body",{variant:"regular",level:3},this.formatErrorString(i,e)))))))}render(){return[l("div",{tabIndex:0,class:`container ${this.type}`},this.renderTitle(),this.type==a.default?this.renderDefaultMode():this.renderDragDropMode()),!!this.invalidFiles.size&&l("z-modal",{tabIndex:0,ref:i=>this.errorModal=i,modaltitle:"Attenzione",onModalClose:()=>this.invalidFiles=new Map,onModalBackgroundClick:()=>this.invalidFiles=new Map},this.handleErrorModalContent())]}get el(){return t(this)}};r.style=".sc-z-file-upload-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);color:var(--color-text01)}.sc-z-file-upload-h>.container.sc-z-file-upload{display:flex;flex-direction:column}.sc-z-file-upload-h .modalWrapper.sc-z-file-upload{display:flex;justify-content:center;align-items:center}.sc-z-file-upload-h .modalWrapper.sc-z-file-upload>.files.sc-z-file-upload{margin:calc(var(--space-unit) * 4);display:flex;flex-direction:column;gap:var(--space-unit)}.sc-z-file-upload-h .text-container.sc-z-file-upload{display:flex;flex-direction:column;margin:auto}.sc-z-file-upload-h .text-container.sc-z-file-upload z-body.sc-z-file-upload{text-align:center}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload{color:var(--color-link-primary);cursor:pointer}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link-text.sc-z-file-upload{margin-bottom:var(--space-unit)}input#fileElem.sc-z-file-upload{display:none}#title.sc-z-file-upload{display:inline-block;margin-bottom:var(--space-unit)}.sc-z-file-upload-h>.container.sc-z-file-upload>z-button.sc-z-file-upload{display:inline-block;margin-top:calc(var(--space-unit) * 3)}.sc-z-file-upload-h>.container.sc-z-file-upload>.files-container.sc-z-file-upload>z-heading.sc-z-file-upload{display:inline-block;margin:calc(var(--space-unit) * 3) 0}.sc-z-file-upload-h>.container.sc-z-file-upload>.files-container.sc-z-file-upload>.files.sc-z-file-upload{display:flex;flex-wrap:wrap;row-gap:calc(var(--space-unit) * 2);column-gap:calc(var(--space-unit) * 2)}.sc-z-file-upload-h>.container.sc-z-file-upload>.files-container.sc-z-file-upload>z-divider.sc-z-file-upload{margin-top:calc(var(--space-unit) * 3);margin-bottom:0}@media only screen and (min-width: 768px){.sc-z-file-upload-h>.container.sc-z-file-upload>z-button.sc-z-file-upload{align-self:flex-start}}";export{r as z_file_upload}
@@ -1 +0,0 @@
1
- import{r as i,c as e,h as s,H as t,g as l}from"./p-1acbd992.js";import{b as n,D as o,c}from"./p-0e7fe7c1.js";import{t as h}from"./p-d69e14fb.js";import{g as a}from"./p-42d64757.js";const r=class{constructor(s){i(this,s),this.removeFile=e(this,"removeFile",7),this.allowTooltip=!1,this.tooltipVisible=!1}removeFileHandler(){this.removeFile.emit(),this.el.remove()}onMouseOver(){this.tooltipVisible=!0}onMouseLeave(){this.tooltipVisible=!1}componentDidLoad(){var i,e;this.elementHasEllipsis()&&window.innerWidth>h&&(this.allowTooltip=!0),null===(e=null===(i=this.icon)||void 0===i?void 0:i.focus)||void 0===e||e.call(i)}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return s(t,null,this.allowTooltip&&s("z-tooltip",{open:this.tooltipVisible,type:c.AUTO,"bind-to":`#chip-${this.fileNumber}`},s("span",{class:"body-5 tootip-content"},this.ellipsis.innerText)),s("z-chip",{id:`chip-${this.fileNumber}`,filter:!0,type:n.default},s("div",{class:"chip-content"},s("span",{ref:i=>this.ellipsis=i,tabIndex:-1,class:{"body-3-sb":a()==o.desktop,"body-2-sb":a()!==o.desktop}},s("slot",null)),s("z-icon",{"aria-label":"Elimina file",tabIndex:0,onClick:()=>this.removeFileHandler(),onKeyPress:i=>{"Space"!=i.code&&"Enter"!=i.code||(i.preventDefault(),this.removeFileHandler())},name:"multiply-circled",height:a()!==o.desktop?20:15,width:a()!==o.desktop?20:15,ref:i=>this.icon=i}))))}get el(){return l(this)}};r.style=".sc-z-file-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:relative}.sc-z-file-h .chip-content.sc-z-file{display:flex;align-items:center}.sc-z-file-h>z-tooltip.sc-z-file{z-index:10}.sc-z-file-h>z-tooltip.sc-z-file>.tootip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file>.chip-content.sc-z-file>span.sc-z-file{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.33;letter-spacing:0.32px}.sc-z-file-h>z-chip.sc-z-file>.chip-content.sc-z-file>span.regular.sc-z-file{font-weight:var(--font-rg)}.sc-z-file-h>z-chip.sc-z-file>.chip-content.sc-z-file>span.bold.sc-z-file{font-weight:var(--font-sb)}.sc-z-file-h .chip-content.sc-z-file>z-icon.sc-z-file:last-child{margin-left:var(--space-unit);cursor:pointer;fill:var(--color-icon01)}@media only screen and (min-width: 1152px){.sc-z-file-h{border-radius:16px}.sc-z-file-h>z-chip.sc-z-file>.chip-content.sc-z-file>span.sc-z-file{font-size:12px}}";export{r as z_file}
@@ -1 +0,0 @@
1
- import{r as i,h as t,H as e}from"./p-1acbd992.js";import{T as n,a}from"./p-0e7fe7c1.js";import{m as s}from"./p-d69e14fb.js";const o=class{constructor(t){i(this,t),this.theme=n.dark,this.topbarLinks=[]}handleResize(){this.isMobile=window.innerWidth<=s}componentWillLoad(){this.isMobile=window.screen.width<=s||window.innerWidth<=s}componentWillRender(){this.topbarContent&&(this.topbarLinks="string"==typeof this.topbarContent?JSON.parse(this.topbarContent):this.topbarContent)}renderTopbarLinks(){return this.topbarLinks.map((i=>t("z-link",{htmlid:i.id,textcolor:this.theme===n.light?"black":"white",href:i.link,target:i.target,icon:this.isMobile?i.icon:void 0},!this.isMobile&&i.label)))}render(){return t(e,{class:{[this.theme]:!0,"limited-width":!!this.contentMaxWidth}},t("div",{id:"content-container",style:this.contentMaxWidth?{"--mw":`${this.contentMaxWidth}px`}:{}},t("div",{id:"left-panel",class:"content-panel"},t("z-logo",{mobileLogo:this.isMobile,width:this.isMobile?32:128,height:this.isMobile?40:32,imageAlt:"zanichelli-logo",link:this.logoLink,targetBlank:!0}),this.isMobile&&this.renderTopbarLinks()),t("div",{id:"right-panel",class:"content-panel"},!this.isMobile&&this.renderTopbarLinks(),this.showAppSwitcher&&t("z-app-switcher",{theme:this.theme}),t("div",{id:"divider-container"},t("z-divider",{orientation:a.vertical,color:this.theme===n.light?"gray800":"color-white"})),t("slot",{name:"login"}))))}};o.style=":host{display:block;position:sticky;box-sizing:border-box;top:0;height:calc(var(--space-unit) * 6);padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2);border-radius:var(--border-no-radius);background-color:var(--gray900);z-index:99}:host(.light){background-color:var(--color-white)}:host>div{display:flex;justify-content:space-between;align-items:center}:host(.limited-width) #content-container{margin:auto;max-width:var(--mw)}.content-panel{display:flex;align-items:center}.content-panel>:not(:last-child){margin-right:calc(var(--space-unit) * 2)}#divider-container{display:none}z-link{font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.3px}@media only screen and (min-width: 768px){:host{padding:var(--space-unit) calc(var(--space-unit) * 2) var(--space-unit) var(--space-unit)}:host(.limited-width){padding:var(--space-unit)}#divider-container{display:block;height:calc(var(--space-unit) * 3)}}";export{o as z_app_topbar}
@@ -1 +0,0 @@
1
- import{r as a,h as t,H as s,g as c}from"./p-1acbd992.js";import{c as e}from"./p-3247dee9.js";import"./p-b68038b5.js";const i=class{constructor(t){a(this,t),this.message="Siamo spiacenti, al momento non sono presenti dati da visualizzare.",this.subtitle=""}componentWillLoad(){this.hasCta1Slot=!!this.hostElement.querySelector('[slot="cta1"]'),this.hasCta2Slot=!!this.hostElement.querySelector('[slot="cta2"]')}render(){return t(s,null,t("z-body",{level:3,variant:"semibold"},this.message),t("br",null),!!this.subtitle&&t("z-body",{level:4,variant:"regular"},this.subtitle),(!!this.hasCta1Slot||!!this.hasCta2Slot)&&t("div",{class:e("cta",{has2Cta:!!this.hasCta1Slot&&!!this.hasCta2Slot})},t("slot",{name:"cta1"}),t("slot",{name:"cta2"})))}get hostElement(){return c(this)}};i.style=".sc-z-table-empty-box-h{display:block;padding:calc(var(--space-unit)) calc(var(--space-unit) * 3)\n calc(var(--space-unit) * 3) calc(var(--space-unit) * 3);background-color:var(--bg-white)}.sc-z-table-empty-box-s>*{margin-top:var(--space-unit)}.cta.sc-z-table-empty-box{display:flex;flex-direction:row;margin-top:calc(var(--space-unit) / 2)}.cta.has2Cta.sc-z-table-empty-box{flex-direction:column}@media only screen and (min-width: 768px){.sc-z-table-empty-box-h{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 7)\n calc(var(--space-unit) * 3) calc(var(--space-unit) * 7)}.sc-z-table-empty-box-s>*{margin-right:calc(var(--space-unit) * 2)}.cta.sc-z-table-empty-box{margin-top:var(--space-unit)}.cta.has2Cta.sc-z-table-empty-box{flex-direction:row}}";export{i as z_table_empty_box}
@@ -1 +0,0 @@
1
- import{r as i,c as e,h as r,H as t,g as a}from"./p-1acbd992.js";const l=class{constructor(r){i(this,r),this.zLinkClick=e(this,"zLinkClick",7),this.target="_self",this.htmltabindex=0,this.isdisabled=!1,this.isactive=!1,this.iswhite=!1,this.textcolor="primary",this.big=!1,this.iconposition="left",this.underline=!1,this.iconSize=18,this.emitZLinkClick=this.emitZLinkClick.bind(this),this.emitZLinkInteraction=this.emitZLinkInteraction.bind(this)}componentWillRender(){this.iswhite&&console.warn("z-link iswhite prop is deprecated and will be dropped in a next release, please use textcolor prop instead"),this.big&&console.warn("z-link big prop is deprecated and will be dropped in a next release, please override --font-size-link and --font-weight-link variables instead")}emitZLinkClick(i,e){this.emitZLinkInteraction(i,e)}emitZLinkInteraction(i,e){this.zLinkClick.emit({e:i,linkId:e})}componentDidRender(){if(this.icon){const i=parseFloat(window.getComputedStyle(this.hostElement).getPropertyValue("font-size")),e=this.big?18:Math.round(1.125*i);Number.isNaN(e)||this.iconSize===e||(this.iconSize=e)}}render(){return r(t,{style:this.big?{"--font-size-link":"16px","--font-weight-link":"600"}:{}},r("a",{id:this.htmlid,href:this.href?this.href:null,class:`${this.isdisabled?"disabled":""}\n ${this.isactive?"active":""}\n ${this.textcolor}\n ${this.iswhite?"white":""}\n ${this.underline?"underline":""}`,target:this.target,role:this.href?"link":"button",tabindex:this.isdisabled?-1:this.htmltabindex,onClick:i=>this.emitZLinkClick(i,this.htmlid)},"right"===this.iconposition&&r("slot",null),this.icon&&r("z-icon",{style:{"--z-icon-width":this.iconSize.toString(),"--z-icon-height":this.iconSize.toString()},name:this.icon,height:this.iconSize,width:this.iconSize}),"left"===this.iconposition&&r("slot",null)))}get hostElement(){return a(this)}};l.style=":host{--font-size-link:inherit;--font-weight-link:inherit}:host{font-family:var(--dashboard-font);font-weight:var(--font-weight-link);font-size:var(--font-size-link);line-height:inherit;outline:none}a{cursor:pointer;color:var(--color-link-primary);fill:var(--color-link-primary);display:inline-flex;align-items:center;text-decoration:none;padding:calc(var(--space-unit) * 0.5) 0;border-top:var(--border-size-medium) solid transparent;border-bottom:var(--border-size-medium) solid transparent}a:hover,a:focus,a:active{text-decoration:underline}a.active{color:var(--color-active-link);fill:var(--color-active-link)}a:hover,a:focus{color:var(--color-hover-link);fill:var(--color-hover-link)}a:active{color:var(--color-pressed-link);fill:var(--color-pressed-link)}a:visited{color:var(--color-visited-link);fill:var(--color-visited-link)}a.disabled,a.inverse.disabled{cursor:default;pointer-events:none;color:var(--color-disabled03);fill:var(--color-disabled03)}a.underline,a.underline:active,a.underline:hover,a.underline:visited,a.underline.disabled,a.underline.black,a.underline.white{text-decoration:underline}a.disabled,a.disabled:active,a.disabled:visited,a.disabled:hover{text-decoration:none}a.inverse{color:var(--color-inverse-link);fill:var(--color-inverse-link)}a.inverse.active{color:var(--color-inverse-active-link);fill:var(--color-inverse-active-link)}a.inverse:hover,a.inverse:focus{color:var(--color-inverse-hover-link);fill:var(--color-inverse-hover-link)}a.inverse:active{color:var(--color-inverse-pressed-link);fill:var(--color-inverse-pressed-link)}a.inverse:visited{color:var(--color-inverse-visited-link);fill:var(--color-inverse-visited-link)}a.black{color:var(--gray800);fill:var(--gray800);text-decoration:none}a.black:hover,a.black.active{color:var(--color-black);fill:var(--color-black)}a.black:visited{color:var(--gray800);fill:var(--gray800)}a.black:hover,a.black:focus,a.black:active{text-decoration:underline}a.black:active{color:var(--gray700);fill:var(--gray700)}a.white,a.white:active,a.white:hover,a.white.active{color:var(--bg-white);fill:var(--bg-white);text-decoration:none}a.white:visited{color:var(--bg-white);fill:var(--bg-white)}a.white:hover,a.white:focus,a.white:active{text-decoration:underline}a.white.disabled,a.black.disabled{color:var(--gray500);fill:var(--gray500)}a>z-icon:first-child{margin-right:8px}a>z-icon:last-child{margin-left:8px}";export{l as z_link}
@@ -1 +0,0 @@
1
- import{r as L,h as i,H as t}from"./p-1acbd992.js";const o=class{constructor(i){L(this,i)}render(){const L={};return this.width&&(L.width=L["max-width"]=`${this.width}px`),this.height&&(L.height=L["max-height"]=`${this.height}px`),i(t,{style:L,class:{mobile:!!this.mobileLogo}},this.link?i("a",{href:this.link,target:this.targetBlank?"_blank":"_self"},i("img",{alt:this.imageAlt})):i("img",{alt:this.imageAlt}))}};o.style=":host{display:inline-block;vertical-align:top;width:255px;height:64px}img{display:block;margin:auto;width:100%;height:100%;content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='255px' height='64px' viewBox='0 0 255 64'%3E%3Cg id='Logo/Zanichelli/Centered-(reworked)' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Group'%3E%3Cpolygon id='Background' fill='%23E2001A' points='1.70530257e-13 64 254.39 64 254.39 0 1.70530257e-13 0'%3E%3C/polygon%3E%3Cpath d='M233.36,51.3553859 L242.390252,51.3553859 L242.390252,12.6427292 L233.36,12.6427292 L233.36,51.3553859 Z M211.120346,51.3553859 L230.477617,51.3553859 L230.477617,44.5040053 L220.685891,44.5040053 L220.685891,12.6427292 L211.120346,12.6427292 L211.120346,51.3553859 Z M188.880124,51.3553859 L208.23551,51.3553859 L208.23551,44.5040053 L198.445669,44.5040053 L198.445669,12.6427292 L188.880124,12.6427292 L188.880124,51.3553859 Z M165.354444,12.6427292 L165.354444,51.3553859 L185.999058,51.3553859 L185.999058,44.5021204 L175.027425,44.5021204 L175.027425,35.1778343 L185.377062,35.1778343 L185.377062,28.2699086 L175.027425,28.2699086 L175.027425,19.4978796 L185.999058,19.4978796 L185.999058,12.6427292 L165.354444,12.6427292 Z M136.666196,51.3553859 L146.239281,51.3553859 L146.239281,35.1778343 L152.902178,35.1778343 L152.902178,51.3553859 L162.473377,51.3553859 L162.473377,12.6427292 L152.902178,12.6427292 L152.902178,28.2717934 L146.239281,28.2717934 L146.239281,12.6427292 L136.666196,12.6427292 L136.666196,51.3553859 Z M96.064744,51.3553859 L105.098765,51.3553859 L105.098765,12.6427292 L96.064744,12.6427292 L96.064744,51.3553859 Z M53.2364527,36.5160682 L50.6824993,19.7429083 L48.0757704,36.5160682 L53.2364527,36.5160682 Z M65.4935444,51.3553859 L56.2710395,51.3553859 L54.9441146,42.5286966 L47.7101121,42.5286966 L46.3304118,51.3553859 L37.1060221,51.3553859 L45.0053718,12.6427292 L57.5960795,12.6427292 L65.4935444,51.3553859 Z M85.0468382,37.7581755 L76.7969089,12.6427292 L67.3764961,12.6427292 L67.3764961,51.3553859 L75.4040147,51.3553859 L75.4040147,26.132504 L83.5955141,51.3553859 L93.1855622,51.3553859 L93.1855622,12.6427292 L85.0468382,12.6427292 L85.0468382,37.7581755 Z M107.977948,32 C107.977948,34.5200264 107.977948,36.7893695 108.187165,39.1246819 C108.396382,41.4713034 108.818585,43.6878711 109.678071,45.6009801 C111.423429,49.487513 114.932995,52 121.708982,52 C129.508435,52 133.787014,48.4753558 133.787014,38.0220526 L133.787014,37.5640373 L124.937707,37.5640373 L124.922628,38.0050891 C124.894356,38.7571388 124.884931,39.6185091 124.826501,40.4855339 C124.769956,41.3431345 124.66629,42.1875412 124.460843,42.9301668 C124.048064,44.3965696 123.279051,45.3559514 121.708982,45.3559514 C117.743286,45.3559514 117.057205,42.0574875 117.057205,32 C117.057205,21.9425125 117.743286,18.6440486 121.708982,18.6440486 C123.605127,18.6440486 124.547546,20.0030157 124.547546,25.1806616 L124.547546,25.6424465 L133.344077,25.6424465 L133.361041,25.1995099 C133.689003,16.7855998 130.235982,12 121.708982,12 C114.934879,12 111.427199,14.4823297 109.678071,18.3594383 C108.818585,20.265008 108.396382,22.4778061 108.187165,24.830082 C107.977948,27.1710489 107.977948,29.4554707 107.977948,32 L107.977948,32 Z M34.9007634,12.6446141 L34.9007634,20.3196683 L21.6051268,44.5040053 L35.2268401,44.5040053 L35.2268401,51.3553859 L12,51.3553859 L12,43.7915371 L25.2975214,19.4997644 L13.683159,19.4997644 L13.683159,12.6446141 L34.9007634,12.6446141 Z' id='Logotipo-(reworked)' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}a{display:block;width:100%;height:100%}:host(.mobile){width:31px;height:40px}:host(.mobile) img{content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31px' height='40px' viewBox='0 0 31 40'%3E%3Cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Topbar/Mobile/Logged' transform='translate(-16.000000, -4.000000)'%3E%3Cg id='Group' transform='translate(16.000000, 4.000000)'%3E%3Cpolygon id='Fill-1' fill='%23E2001A' points='0 40 30.625 40 30.625 0 0 0'%3E%3C/polygon%3E%3Cpolygon id='Fill-2' fill='%23FEFEFE' points='8.17111587 6.20689655 23.4311708 6.20689655 23.4311708 11.671267 13.8691261 28.9163861 23.6647727 28.9163861 23.6647727 33.7931034 6.96022727 33.7931034 6.96022727 28.408218 16.522272 11.0831673 8.17111587 11.0831673'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}";export{o as z_logo}
@@ -1,236 +0,0 @@
1
- <!DOCTYPE html>
2
- <html dir="ltr" lang="en">
3
-
4
- <head>
5
- <meta charset="utf-8" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" />
7
- <title>Stencil Component Starter</title>
8
- <link rel="stylesheet" type="text/css" href="/build/web-components-library.css" />
9
- <script type="module" src="/build/web-components-library.esm.js"></script>
10
- <script nomodule src="/build/web-components-library.js"></script>
11
- <style>
12
- .main-container {
13
- height: 500px;
14
- background: white;
15
- }
16
- </style>
17
- </head>
18
-
19
- <body style="width: 100%;margin: 0; background-color: #f9f9f9;">
20
- <z-app-topbar hashtag="via crucis">
21
- <z-logo slot="logo" width="138" height="36" imagealt="zanichelli-logo" link="https://www.zanichelli.it"
22
- targetblank>
23
- </z-logo>
24
- <z-link textcolor="white" big icon="support-filled" slot="actions" href="./pages/notification.html">Notification
25
- </z-link>
26
- <z-link textcolor="white" big icon="shopping-cart-filled" slot="actions" href="#">Carrello</z-link>
27
- <z-user-dropdown userfullname="docente di calabresi per italiani" logged="false" slot="login"></z-user-dropdown>
28
- <z-app-switcher slot="app-switcher"></z-app-switcher>
29
- </z-app-topbar>
30
- <div class="main-container">
31
- <div style="margin: 10px">
32
- <!-- <form action="https://api-catalogo.zanichelli.local/v3/file-upload" enctype="multipart/form-data" method="POST"> -->
33
- <z-file-upload type="dragdrop"
34
- button-variant="primary"
35
- main-title="Allega un file"
36
- description="Vuoi allegare un file per chiarire meglio la tua richiesta?"
37
- accepted-format= ".pdf, .doc, .tiff, .png, .jpg, .jpeg"
38
- file-max-size="50">
39
- </z-file-upload>
40
- <!-- <input type="submit" value="INVIA"> -->
41
- <!-- </form> -->
42
- </div>
43
- </div>
44
- <z-footer copyrightuser='Zanichelli' data='{
45
- "zanichelliLinks": [{
46
- "title": "Zanichelli.it",
47
- "items": [{
48
- "label": "Home zanichelli.it",
49
- "link": "https://www.zanichelli.it"
50
- }, {
51
- "label": "Ricerca in catalogo",
52
- "link": "https://www.zanichelli.it/ricerca"
53
- }, {
54
- "label": "Contatti",
55
- "link": "https://www.zanichelli.it/contatti-e-recapiti"
56
- }]
57
- }, {
58
- "title": "Scuola",
59
- "items": [{
60
- "label": "Home scuola",
61
- "url": "https://www.zanichelli.it/scuola/in-primo-piano"
62
- }, {
63
- "label": "Catalogo scuola",
64
- "url": "https://www.zanichelli.it/scuola/novita-e-proposte"
65
- }, {
66
- "label": "Bisogni Educativi Speciali (BES)",
67
- "url": "https://www.zanichelli.it/scuola/la-nostra-proposta-per-i-bisogni-educativi-speciali"
68
- }, {
69
- "label": "Formazione docenti",
70
- "url": "https://www.zanichelli.it/scuola/formazione-e-aggiornamento"
71
- }]
72
- }, {
73
- "title": "Siti per la scuola",
74
- "items": [{
75
- "label": "Siti dei libri di testo",
76
- "link": "https://www.zanichelli.it/scuola/siti-dei-libri-di-testo"
77
- }, {
78
- "label": "ZTE Zanichelli Test",
79
- "link": "http://zte.zanichelli.it/"
80
- }, {
81
- "label": "Verso l esame di stato",
82
- "link": "http://online.scuola.zanichelli.it/esamedistato"
83
- }, {
84
- "label": "La seconda prova di matematica e fisica",
85
- "link": "http://online.scuola.zanichelli.it/provamatematicafisica/"
86
- }, {
87
- "label": "Collezioni",
88
- "link": "http://collezioni.scuola.zanichelli.it/"
89
- }, {
90
- "label": "Crea Verifiche",
91
- "link": "https://creaverifiche.zanichelli.it"
92
- }, {
93
- "label": "Biblioteca",
94
- "link": "https://biblioteca.scuola.zanichelli.it"
95
- }, {
96
- "label": "Tavola periodica interattiva",
97
- "link": "https://tavolaperiodica.zanichelli.it/it"
98
- }, {
99
- "label": "Tutte le prove",
100
- "link": "http://online.scuola.zanichelli.it/tutteleprove/"
101
- }, {
102
- "label": "Verso l INVALSI",
103
- "link": "http://online.scuola.zanichelli.it/invalsi/"
104
- }, {
105
- "label": "La certificazione delle competenze",
106
- "link": "http://online.scuola.zanichelli.it/competenze/"
107
- }, {
108
- "label": "Tutti i siti Zanichelli per la scuola",
109
- "link": "https://www.zanichelli.it/scuola/siti-per-la-scuola"
110
- }]
111
- },{
112
- "title": "Università",
113
- "items": [{
114
- "label": "Home università",
115
- "link": "https://www.zanichelli.it/universita/in-primo-piano"
116
- }, {
117
- "label": "Catalogo università",
118
- "link": "https://www.zanichelli.it/universita/novita-e-proposte"
119
- }, {
120
- "label": "Area docenti",
121
- "link": "https://www.zanichelli.it/universita/informazioni-e-contatti-docenti"
122
- }, {
123
- "label": "Area studenti",
124
- "link": "https://www.zanichelli.it/universita/risorse-online-studenti"
125
- }, {
126
- "label": "Preparazione test di ammissione",
127
- "link": "http://online.scuola.zanichelli.it/unitutor/"
128
- }, {
129
- "label": "ZTE università",
130
- "link": "http://zte.universita.zanichelli.it/"
131
- }, {
132
- "label": "ZTE UniTutor",
133
- "link": "http://zte.unitutor.zanichelli.it/"
134
- }, {
135
- "label": "Collezioni Università",
136
- "link": "https://collezioni-universita.zanichelli.it/"
137
- }]
138
- },{
139
- "title": "Dizionari",
140
- "items": [{
141
- "label": "Home dizionari",
142
- "link": "https://www.zanichelli.it/dizionari/in-primo-piano"
143
- }, {
144
- "label": "Catalogo dizionari",
145
- "link": "https://www.zanichelli.it/dizionari/novita-e-proposte"
146
- }, {
147
- "label": "Dizionari digitali",
148
- "link": "http://dizionari.zanichelli.it/"
149
- }, {
150
- "label": "Dizionari Pi\u00f9",
151
- "link": "http://dizionaripiu.zanichelli.it/"
152
- }]
153
- },{
154
- "title": "Altri settori",
155
- "items": [{
156
- "label": "Giuridico",
157
- "link": "https://www.zanichelli.it/giuridico/in-primo-piano"
158
- }, {
159
- "label": "Manuali e saggi",
160
- "link": "https://www.zanichelli.it/saggistica/argomenti"
161
- }, {
162
- "label": "Medico professionale",
163
- "link": "https://www.zanichelli.it/medico-professionale"
164
- }]
165
- }],
166
- "myzLink": {
167
- "label": "Home MyZanichelli",
168
- "link": "https://my.zanichelli.it",
169
- "img": "../../assets/images/png/zanichelli-logo-2.png"
170
- },
171
- "zanichelliAddress": "Zanichelli editore S.p.A. via Irnerio 34, 40126 Bologna\nFax 051 - 249.782 / 293.224 | Tel. 051 - 293.111 / 245.024\nPartita IVA 03978000374",
172
- "social": [{
173
- "icon": "../../assets/images/png/facebook.png",
174
- "link": "https://it-it.facebook.com/zanichelliscuola",
175
- "description" : "facebook"
176
- },{
177
- "icon": "../../assets/images/png/youtube.png",
178
- "link": "https://www.youtube.com/user/zanichellieditore",
179
- "description" : "youtube"
180
- },{
181
- "icon": "../../assets/images/png/twitter.png",
182
- "link": "https://twitter.com/zanichelli_ed",
183
- "description" : "twitter"
184
- },{
185
- "icon": "../../assets/images/png/instagram.png",
186
- "link": "https://www.instagram.com/zanichellieditore/",
187
- "description" : "instagram"
188
- }],
189
- "certification": "Zanichelli editore S.p.A. opera con sistema qualità certificato CertiCarGraf n. 477\nsecondo la norma UNI EN ISO 9001:2015",
190
- "bottomLinks": [{
191
- "label": "Chi siamo",
192
- "link": "https://www.zanichelli.it/chi-siamo/via-irnerio-34"
193
- },{
194
- "label": "Contatti e recapiti",
195
- "link": "https://www.zanichelli.it/contatti-e-recapiti"
196
- },{
197
- "label": "Area stampa",
198
- "link": "https://www.zanichelli.it/comunicazione/area-stampa"
199
- },{
200
- "label": "Per acqusti online",
201
- "link": "https://www.zanichelli.it/contatti/acquisti-e-recesso"
202
- },{
203
- "label": "Filiali e agenzie",
204
- "link": "https://www.zanichelli.it/contatti/filiali-e-agenzie"
205
- },{
206
- "label": "Privacy",
207
- "link": "https://my.zanichelli.it/privacy"
208
- }]
209
- }'></z-footer>
210
- <script>
211
-
212
- async function postData(item){
213
- const form = new FormData();
214
- form.append("attachments[]", item, item.name);
215
- await fetch('https://api-catalogo.zanichelli.local/v3/file-upload', {
216
- method: 'POST',
217
- body: form
218
- })
219
- }
220
-
221
- let fileNumber = 0;
222
- const uploader = document.querySelector("z-file-upload");
223
- document.addEventListener("fileInput", (e) => {
224
- /* const items = postData(e.detail); */
225
- fileNumber++;
226
- const item = e.detail
227
- const chip = document.createElement('Z-FILE')
228
- chip.setAttribute('slot', 'files')
229
- chip.setAttribute('file-number', fileNumber)
230
- chip.innerText = item.name
231
- uploader.appendChild(chip);
232
- })
233
- </script>
234
- </body>
235
-
236
- </html>