@zanichelli/delta_share 2.0.7 → 2.0.8

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 (359) hide show
  1. package/dist/wc/cjs/{breakpoints-da666109.js → breakpoints-a55736d0.js} +2 -0
  2. package/dist/wc/cjs/delta_share.cjs.js +2 -2
  3. package/dist/wc/cjs/hammer-4f20813e.js +2650 -0
  4. package/dist/wc/cjs/{icons-f65fa82e.js → icons-2aca6c75.js} +132 -58
  5. package/dist/wc/cjs/index-9c6fd1db.js +315 -0
  6. package/dist/wc/cjs/{index-458dc8f4.js → index-9ca7d5e5.js} +12 -0
  7. package/dist/wc/cjs/{license-activation_16.cjs.entry.js → license-activation_13.cjs.entry.js} +127 -484
  8. package/dist/wc/cjs/loader.cjs.js +2 -2
  9. package/dist/wc/cjs/utils-8a10bba9.js +88 -0
  10. package/dist/wc/cjs/z-alert.cjs.entry.js +19 -0
  11. package/dist/wc/cjs/z-app-header.cjs.entry.js +115 -6
  12. package/dist/wc/cjs/z-app-switcher.cjs.entry.js +2 -2
  13. package/dist/wc/cjs/z-app-topbar.cjs.entry.js +15 -28
  14. package/dist/wc/cjs/z-aria-alert.cjs.entry.js +18 -0
  15. package/dist/wc/cjs/z-avatar.cjs.entry.js +43 -0
  16. package/dist/wc/cjs/z-button-deprecated.cjs.entry.js +38 -0
  17. package/dist/wc/cjs/z-button-filter.cjs.entry.js +49 -0
  18. package/dist/wc/cjs/z-button-sort.cjs.entry.js +17 -3
  19. package/dist/wc/cjs/z-candybar.cjs.entry.js +1 -1
  20. package/dist/wc/cjs/z-card.cjs.entry.js +53 -25
  21. package/dist/wc/cjs/z-carousel.cjs.entry.js +24 -0
  22. package/dist/wc/cjs/z-chip-deprecated.cjs.entry.js +24 -0
  23. package/dist/wc/cjs/z-chip.cjs.entry.js +20 -7
  24. package/dist/wc/cjs/z-combobox.cjs.entry.js +18 -17
  25. package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +40 -0
  26. package/dist/wc/cjs/z-cookiebar.cjs.entry.js +4 -4
  27. package/dist/wc/cjs/z-date-picker.cjs.entry.js +3104 -0
  28. package/dist/wc/cjs/z-divider.cjs.entry.js +2 -2
  29. package/dist/wc/cjs/z-dragdrop-area_2.cjs.entry.js +48 -0
  30. package/dist/wc/cjs/z-file-upload.cjs.entry.js +172 -0
  31. package/dist/wc/cjs/z-file.cjs.entry.js +47 -0
  32. package/dist/wc/cjs/z-footer-link_3.cjs.entry.js +4 -4
  33. package/dist/wc/cjs/z-footer.cjs.entry.js +35 -8
  34. package/dist/wc/cjs/z-ghost-loading.cjs.entry.js +19 -0
  35. package/dist/wc/cjs/z-icon-package.cjs.entry.js +2 -2
  36. package/dist/wc/cjs/z-input-deprecated.cjs.entry.js +271 -0
  37. package/dist/wc/cjs/z-input-label_2.cjs.entry.js +272 -0
  38. package/dist/wc/cjs/z-list-group.cjs.entry.js +54 -0
  39. package/dist/wc/cjs/z-list_2.cjs.entry.js +144 -53
  40. package/dist/wc/cjs/z-logo.cjs.entry.js +12 -10
  41. package/dist/wc/cjs/z-menu-dropdown_2.cjs.entry.js +89 -0
  42. package/dist/wc/cjs/z-menu-section.cjs.entry.js +2 -2
  43. package/dist/wc/cjs/z-menu.cjs.entry.js +58 -4
  44. package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +46 -0
  45. package/dist/wc/cjs/z-modal-login.cjs.entry.js +13 -4
  46. package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +63 -0
  47. package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +36 -0
  48. package/dist/wc/cjs/z-myz-card-footer-sections.cjs.entry.js +19 -0
  49. package/dist/wc/cjs/z-myz-card-footer.cjs.entry.js +56 -0
  50. package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +21 -0
  51. package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +119 -0
  52. package/dist/wc/cjs/{z-card-list.cjs.entry.js → z-myz-card-list.cjs.entry.js} +5 -5
  53. package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +104 -0
  54. package/dist/wc/cjs/{z-list-item.cjs.entry.js → z-myz-list-item.cjs.entry.js} +7 -6
  55. package/dist/wc/cjs/z-myz-topbar.cjs.entry.js +194 -0
  56. package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +71 -0
  57. package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +73 -0
  58. package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +126 -0
  59. package/dist/wc/cjs/z-notification.cjs.entry.js +46 -0
  60. package/dist/wc/cjs/z-offcanvas.cjs.entry.js +63 -0
  61. package/dist/wc/cjs/z-otp.cjs.entry.js +41 -0
  62. package/dist/wc/cjs/z-pagination-bar.cjs.entry.js +8 -2651
  63. package/dist/wc/cjs/z-pagination-page.cjs.entry.js +3 -4
  64. package/dist/wc/cjs/z-pagination.cjs.entry.js +229 -0
  65. package/dist/wc/cjs/z-panel-elem.cjs.entry.js +1 -1
  66. package/dist/wc/cjs/z-pocket-message.cjs.entry.js +19 -0
  67. package/dist/wc/cjs/z-pocket_3.cjs.entry.js +125 -0
  68. package/dist/wc/cjs/z-popover.cjs.entry.js +132 -0
  69. package/dist/wc/cjs/z-section-title.cjs.entry.js +42 -0
  70. package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +68 -0
  71. package/dist/wc/cjs/z-slideshow.cjs.entry.js +112 -0
  72. package/dist/wc/cjs/z-status-tag.cjs.entry.js +29 -0
  73. package/dist/wc/cjs/z-stepper-item.cjs.entry.js +1 -1
  74. package/dist/wc/cjs/z-stepper.cjs.entry.js +1 -1
  75. package/dist/wc/cjs/{z-registro-table-body.cjs.entry.js → z-table-body.cjs.entry.js} +5 -5
  76. package/dist/wc/cjs/z-table-cell.cjs.entry.js +36 -0
  77. package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +32 -0
  78. package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +19 -0
  79. package/dist/wc/cjs/{z-registro-table-head.cjs.entry.js → z-table-footer.cjs.entry.js} +5 -5
  80. package/dist/wc/cjs/{z-registro-table-footer.cjs.entry.js → z-table-head.cjs.entry.js} +5 -5
  81. package/dist/wc/cjs/z-table-header-row.cjs.entry.js +22 -0
  82. package/dist/wc/cjs/z-table-header.cjs.entry.js +88 -0
  83. package/dist/wc/cjs/z-table-row.cjs.entry.js +43 -0
  84. package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +19 -0
  85. package/dist/wc/cjs/z-table.cjs.entry.js +82 -0
  86. package/dist/wc/cjs/z-tag.cjs.entry.js +22 -0
  87. package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +56 -0
  88. package/dist/wc/cjs/z-toast-notification.cjs.entry.js +203 -0
  89. package/dist/wc/cjs/z-toggle-button.cjs.entry.js +7 -6
  90. package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +49 -0
  91. package/dist/wc/cjs/z-tooltip.cjs.entry.js +254 -24
  92. package/dist/wc/cjs/z-user-dropdown.cjs.entry.js +46 -51
  93. package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +19 -0
  94. package/dist/wc/collection/collection-manifest.json +63 -18
  95. package/dist/wc/collection/components/license-activation-form/license-activation-form.css +1 -1
  96. package/dist/wc/collection/components/license-activation-form/license-activation-form.js +7 -13
  97. package/dist/wc/custom-elements/index.js +8648 -1967
  98. package/dist/wc/delta_share/delta_share.esm.js +1 -1
  99. package/dist/wc/delta_share/p-06543221.entry.js +1 -0
  100. package/dist/wc/delta_share/{p-ef4da7dc.entry.js → p-06b89fb4.entry.js} +1 -1
  101. package/dist/wc/delta_share/p-0b0179c7.js +1 -0
  102. package/dist/wc/delta_share/p-0f55558e.js +1 -0
  103. package/dist/wc/delta_share/p-103f926c.entry.js +1 -0
  104. package/dist/wc/delta_share/p-11b446d7.entry.js +1 -0
  105. package/dist/wc/delta_share/p-13093633.entry.js +1 -0
  106. package/dist/wc/delta_share/p-20c14e4e.entry.js +1 -0
  107. package/dist/wc/delta_share/p-243df9e5.entry.js +1 -0
  108. package/dist/wc/delta_share/p-244accd2.entry.js +1 -0
  109. package/dist/wc/delta_share/p-261611b1.js +1 -0
  110. package/dist/wc/delta_share/p-29729c73.entry.js +1 -0
  111. package/dist/wc/delta_share/p-29cb5018.entry.js +1 -0
  112. package/dist/wc/delta_share/{p-6215ddbd.entry.js → p-29d111de.entry.js} +1 -1
  113. package/dist/wc/delta_share/p-2b05751b.entry.js +1 -0
  114. package/dist/wc/delta_share/p-32975e01.entry.js +1 -0
  115. package/dist/wc/delta_share/p-32d34db1.entry.js +1 -0
  116. package/dist/wc/delta_share/{p-10d9e4f5.entry.js → p-3341f25e.entry.js} +1 -1
  117. package/dist/wc/delta_share/p-33fb12fc.entry.js +1 -0
  118. package/dist/wc/delta_share/p-36955fc5.entry.js +1 -0
  119. package/dist/wc/delta_share/p-39440988.entry.js +1 -0
  120. package/dist/wc/delta_share/p-3bb7f110.entry.js +1 -0
  121. package/dist/wc/delta_share/p-3f61bc0d.entry.js +1 -0
  122. package/dist/wc/delta_share/p-422f29e8.entry.js +1 -0
  123. package/dist/wc/delta_share/p-43ae8e0a.entry.js +1 -0
  124. package/dist/wc/delta_share/p-44eba966.entry.js +1 -0
  125. package/dist/wc/delta_share/p-464dc49d.entry.js +1 -0
  126. package/dist/wc/delta_share/p-51431ace.js +1 -0
  127. package/dist/wc/delta_share/p-5374191c.entry.js +16 -0
  128. package/dist/wc/delta_share/p-5559856c.entry.js +1 -0
  129. package/dist/wc/delta_share/p-55ecb7aa.entry.js +1 -0
  130. package/dist/wc/delta_share/p-5af0e3cd.entry.js +1 -0
  131. package/dist/wc/delta_share/{p-ca57e6ec.entry.js → p-5b320481.entry.js} +1 -1
  132. package/dist/wc/delta_share/p-5d085d01.entry.js +1 -0
  133. package/dist/wc/delta_share/p-5d88112c.entry.js +1 -0
  134. package/dist/wc/delta_share/p-5e9898dd.entry.js +1 -0
  135. package/dist/wc/delta_share/p-6422731e.entry.js +1 -0
  136. package/dist/wc/delta_share/p-64ffaf7b.entry.js +1 -0
  137. package/dist/wc/delta_share/p-6613eeee.entry.js +1 -0
  138. package/dist/wc/delta_share/p-6a39042b.entry.js +1 -0
  139. package/dist/wc/delta_share/{p-a03963a8.entry.js → p-6a9fb59c.entry.js} +1 -1
  140. package/dist/wc/delta_share/p-6f7064dc.entry.js +1 -0
  141. package/dist/wc/delta_share/p-767a8d6e.entry.js +1 -0
  142. package/dist/wc/delta_share/p-76cfb0be.entry.js +1 -0
  143. package/dist/wc/delta_share/p-7f71c41e.entry.js +1 -0
  144. package/dist/wc/delta_share/p-8b6617d8.entry.js +1 -0
  145. package/dist/wc/delta_share/p-8b88f257.entry.js +3 -0
  146. package/dist/wc/delta_share/p-8fb4a4ea.entry.js +1 -0
  147. package/dist/wc/delta_share/p-91a4ef35.js +1 -0
  148. package/dist/wc/delta_share/p-91af6142.entry.js +1 -0
  149. package/dist/wc/delta_share/p-94b8f342.entry.js +1 -0
  150. package/dist/wc/delta_share/{p-65c48026.entry.js → p-94df01a9.entry.js} +1 -1
  151. package/dist/wc/delta_share/p-9656b290.entry.js +1 -0
  152. package/dist/wc/delta_share/p-97e4d621.entry.js +1 -0
  153. package/dist/wc/delta_share/p-98853ba5.entry.js +1 -0
  154. package/dist/wc/delta_share/p-9c147330.entry.js +1 -0
  155. package/dist/wc/delta_share/p-9d35fb61.entry.js +1 -0
  156. package/dist/wc/delta_share/{p-6684b880.entry.js → p-a0663266.entry.js} +1 -1
  157. package/dist/wc/delta_share/p-a150a778.entry.js +1 -0
  158. package/dist/wc/delta_share/p-a823768b.entry.js +1 -0
  159. package/dist/wc/delta_share/p-b1b05625.entry.js +1 -0
  160. package/dist/wc/delta_share/p-b1c1f030.entry.js +1 -0
  161. package/dist/wc/delta_share/p-badf3f24.entry.js +1 -0
  162. package/dist/wc/delta_share/p-bb38e604.entry.js +1 -0
  163. package/dist/wc/delta_share/p-bcb49d1a.entry.js +1 -0
  164. package/dist/wc/delta_share/p-c2dde3b3.entry.js +1 -0
  165. package/dist/wc/delta_share/p-cccef23b.entry.js +1 -0
  166. package/dist/wc/delta_share/p-cd42e0b5.entry.js +1 -0
  167. package/dist/wc/delta_share/{p-800cd436.entry.js → p-cfc122de.entry.js} +1 -1
  168. package/dist/wc/delta_share/p-d282ce22.entry.js +1 -0
  169. package/dist/wc/delta_share/p-d610565d.entry.js +1 -0
  170. package/dist/wc/delta_share/p-da0b941f.entry.js +1 -0
  171. package/dist/wc/delta_share/p-da8144e5.entry.js +1 -0
  172. package/dist/wc/delta_share/p-dafefe1f.entry.js +1 -0
  173. package/dist/wc/delta_share/p-dc148f92.entry.js +1 -0
  174. package/dist/wc/delta_share/p-dd50dd54.entry.js +1 -0
  175. package/dist/wc/delta_share/p-de117646.entry.js +1 -0
  176. package/dist/wc/delta_share/p-dec6ab35.entry.js +1 -0
  177. package/dist/wc/delta_share/p-e37c7b62.entry.js +1 -0
  178. package/dist/wc/delta_share/p-e43e61ac.js +7 -0
  179. package/dist/wc/delta_share/p-e7932e20.entry.js +1 -0
  180. package/dist/wc/delta_share/p-e9412ef0.entry.js +1 -0
  181. package/dist/wc/delta_share/p-ea6c7be0.entry.js +1 -0
  182. package/dist/wc/delta_share/p-ebb9a3f9.entry.js +1 -0
  183. package/dist/wc/delta_share/p-ee76ecea.entry.js +1 -0
  184. package/dist/wc/delta_share/p-f2323f2a.entry.js +1 -0
  185. package/dist/wc/delta_share/p-f441efc3.entry.js +1 -0
  186. package/dist/wc/delta_share/{p-873e098b.entry.js → p-f531a563.entry.js} +1 -1
  187. package/dist/wc/delta_share/p-fa3d96ab.entry.js +1 -0
  188. package/dist/wc/delta_share/p-fd83d815.entry.js +1 -0
  189. package/dist/wc/delta_share/p-ff2508eb.entry.js +1 -0
  190. package/dist/wc/esm/breakpoints-e07f80e7.js +4 -0
  191. package/dist/wc/esm/delta_share.js +2 -2
  192. package/dist/wc/esm/hammer-c3266b17.js +2648 -0
  193. package/dist/wc/esm/{icons-973d360b.js → icons-74713b55.js} +132 -58
  194. package/dist/wc/esm/index-654849a7.js +315 -0
  195. package/dist/wc/esm/{index-5ecd661f.js → index-b3a91e19.js} +12 -0
  196. package/dist/wc/esm/{license-activation_16.entry.js → license-activation_13.entry.js} +128 -482
  197. package/dist/wc/esm/loader.js +2 -2
  198. package/dist/wc/esm/utils-417652d9.js +80 -0
  199. package/dist/wc/esm/z-alert.entry.js +15 -0
  200. package/dist/wc/esm/z-app-header.entry.js +115 -6
  201. package/dist/wc/esm/z-app-switcher.entry.js +2 -2
  202. package/dist/wc/esm/z-app-topbar.entry.js +15 -28
  203. package/dist/wc/esm/z-aria-alert.entry.js +14 -0
  204. package/dist/wc/esm/z-avatar.entry.js +39 -0
  205. package/dist/wc/esm/z-button-deprecated.entry.js +34 -0
  206. package/dist/wc/esm/z-button-filter.entry.js +45 -0
  207. package/dist/wc/esm/z-button-sort.entry.js +17 -3
  208. package/dist/wc/esm/z-candybar.entry.js +1 -1
  209. package/dist/wc/esm/z-card.entry.js +53 -25
  210. package/dist/wc/esm/z-carousel.entry.js +20 -0
  211. package/dist/wc/esm/z-chip-deprecated.entry.js +20 -0
  212. package/dist/wc/esm/z-chip.entry.js +20 -7
  213. package/dist/wc/esm/z-combobox.entry.js +18 -17
  214. package/dist/wc/esm/z-contextual-menu.entry.js +36 -0
  215. package/dist/wc/esm/z-cookiebar.entry.js +4 -4
  216. package/dist/wc/esm/z-date-picker.entry.js +3100 -0
  217. package/dist/wc/esm/z-divider.entry.js +2 -2
  218. package/dist/wc/esm/z-dragdrop-area_2.entry.js +43 -0
  219. package/dist/wc/esm/z-file-upload.entry.js +168 -0
  220. package/dist/wc/esm/z-file.entry.js +43 -0
  221. package/dist/wc/esm/z-footer-link_3.entry.js +4 -4
  222. package/dist/wc/esm/z-footer.entry.js +35 -8
  223. package/dist/wc/esm/z-ghost-loading.entry.js +15 -0
  224. package/dist/wc/esm/z-icon-package.entry.js +2 -2
  225. package/dist/wc/esm/z-input-deprecated.entry.js +267 -0
  226. package/dist/wc/esm/z-input-label_2.entry.js +267 -0
  227. package/dist/wc/esm/z-list-group.entry.js +50 -0
  228. package/dist/wc/esm/z-list_2.entry.js +144 -53
  229. package/dist/wc/esm/z-logo.entry.js +12 -10
  230. package/dist/wc/esm/z-menu-dropdown_2.entry.js +84 -0
  231. package/dist/wc/esm/z-menu-section.entry.js +2 -2
  232. package/dist/wc/esm/z-menu.entry.js +58 -4
  233. package/dist/wc/esm/z-messages-pocket.entry.js +42 -0
  234. package/dist/wc/esm/z-modal-login.entry.js +13 -4
  235. package/dist/wc/esm/z-myz-card-alert.entry.js +59 -0
  236. package/dist/wc/esm/z-myz-card-dictionary.entry.js +32 -0
  237. package/dist/wc/esm/z-myz-card-footer-sections.entry.js +15 -0
  238. package/dist/wc/esm/z-myz-card-footer.entry.js +52 -0
  239. package/dist/wc/esm/z-myz-card-icon.entry.js +17 -0
  240. package/dist/wc/esm/z-myz-card-info.entry.js +115 -0
  241. package/dist/wc/esm/z-myz-card-list.entry.js +33 -0
  242. package/dist/wc/esm/z-myz-card_4.entry.js +97 -0
  243. package/dist/wc/esm/{z-list-item.entry.js → z-myz-list-item.entry.js} +7 -6
  244. package/dist/wc/esm/z-myz-topbar.entry.js +190 -0
  245. package/dist/wc/esm/z-navigation-tab-link.entry.js +67 -0
  246. package/dist/wc/esm/z-navigation-tab.entry.js +69 -0
  247. package/dist/wc/esm/z-navigation-tabs.entry.js +122 -0
  248. package/dist/wc/esm/z-notification.entry.js +42 -0
  249. package/dist/wc/esm/z-offcanvas.entry.js +59 -0
  250. package/dist/wc/esm/z-otp.entry.js +37 -0
  251. package/dist/wc/esm/z-pagination-bar.entry.js +8 -2651
  252. package/dist/wc/esm/z-pagination-page.entry.js +3 -4
  253. package/dist/wc/esm/z-pagination.entry.js +225 -0
  254. package/dist/wc/esm/z-panel-elem.entry.js +1 -1
  255. package/dist/wc/esm/z-pocket-message.entry.js +15 -0
  256. package/dist/wc/esm/z-pocket_3.entry.js +119 -0
  257. package/dist/wc/esm/z-popover.entry.js +128 -0
  258. package/dist/wc/esm/z-section-title.entry.js +38 -0
  259. package/dist/wc/esm/z-skip-to-content.entry.js +64 -0
  260. package/dist/wc/esm/z-slideshow.entry.js +108 -0
  261. package/dist/wc/esm/z-status-tag.entry.js +25 -0
  262. package/dist/wc/esm/z-stepper-item.entry.js +1 -1
  263. package/dist/wc/esm/z-stepper.entry.js +1 -1
  264. package/dist/wc/esm/{z-registro-table-body.entry.js → z-table-body.entry.js} +5 -5
  265. package/dist/wc/esm/z-table-cell.entry.js +32 -0
  266. package/dist/wc/esm/z-table-empty-box.entry.js +28 -0
  267. package/dist/wc/esm/z-table-expanded-row.entry.js +15 -0
  268. package/dist/wc/esm/{z-registro-table-head.entry.js → z-table-footer.entry.js} +5 -5
  269. package/dist/wc/esm/{z-registro-table-footer.entry.js → z-table-head.entry.js} +5 -5
  270. package/dist/wc/esm/z-table-header-row.entry.js +18 -0
  271. package/dist/wc/esm/z-table-header.entry.js +84 -0
  272. package/dist/wc/esm/z-table-row.entry.js +39 -0
  273. package/dist/wc/esm/z-table-sticky-footer.entry.js +15 -0
  274. package/dist/wc/esm/z-table.entry.js +78 -0
  275. package/dist/wc/esm/z-tag.entry.js +18 -0
  276. package/dist/wc/esm/z-toast-notification-list.entry.js +52 -0
  277. package/dist/wc/esm/z-toast-notification.entry.js +199 -0
  278. package/dist/wc/esm/z-toggle-button.entry.js +7 -6
  279. package/dist/wc/esm/z-toggle-switch.entry.js +45 -0
  280. package/dist/wc/esm/z-tooltip.entry.js +254 -24
  281. package/dist/wc/esm/z-user-dropdown.entry.js +46 -51
  282. package/dist/wc/esm/z-visually-hidden.entry.js +15 -0
  283. package/dist/wc/types/beans/index.d.ts +1 -1
  284. package/dist/wc/types/components/license-activation/license-activation.d.ts +1 -1
  285. package/dist/wc/types/components/license-activation-form/license-activation-form.d.ts +0 -1
  286. package/package.json +1 -1
  287. package/dist/wc/cjs/index-b9bd2767.js +0 -81
  288. package/dist/wc/cjs/utils-1f907efa.js +0 -42
  289. package/dist/wc/cjs/z-card-alert.cjs.entry.js +0 -52
  290. package/dist/wc/cjs/z-card-body.cjs.entry.js +0 -19
  291. package/dist/wc/cjs/z-card-cover.cjs.entry.js +0 -22
  292. package/dist/wc/cjs/z-card-footer.cjs.entry.js +0 -46
  293. package/dist/wc/cjs/z-card-header.cjs.entry.js +0 -38
  294. package/dist/wc/cjs/z-card-icon.cjs.entry.js +0 -21
  295. package/dist/wc/cjs/z-header.cjs.entry.js +0 -180
  296. package/dist/wc/cjs/z-heading.cjs.entry.js +0 -17
  297. package/dist/wc/cjs/z-registro-table-cell.cjs.entry.js +0 -34
  298. package/dist/wc/cjs/z-registro-table-header.cjs.entry.js +0 -23
  299. package/dist/wc/cjs/z-registro-table-row.cjs.entry.js +0 -23
  300. package/dist/wc/cjs/z-registro-table-sticky-footer.cjs.entry.js +0 -19
  301. package/dist/wc/cjs/z-registro-table.cjs.entry.js +0 -31
  302. package/dist/wc/delta_share/p-04b614bf.entry.js +0 -1
  303. package/dist/wc/delta_share/p-0a05abe2.entry.js +0 -1
  304. package/dist/wc/delta_share/p-21e76fc5.entry.js +0 -1
  305. package/dist/wc/delta_share/p-26d039ff.entry.js +0 -1
  306. package/dist/wc/delta_share/p-3995e58c.entry.js +0 -1
  307. package/dist/wc/delta_share/p-3c0ba1d7.entry.js +0 -1
  308. package/dist/wc/delta_share/p-3dae174e.entry.js +0 -1
  309. package/dist/wc/delta_share/p-466d0fc0.entry.js +0 -1
  310. package/dist/wc/delta_share/p-57e825ae.entry.js +0 -1
  311. package/dist/wc/delta_share/p-5a2d329b.entry.js +0 -1
  312. package/dist/wc/delta_share/p-5e35124a.entry.js +0 -1
  313. package/dist/wc/delta_share/p-7145c713.entry.js +0 -1
  314. package/dist/wc/delta_share/p-79e22647.entry.js +0 -3
  315. package/dist/wc/delta_share/p-7a08a26d.entry.js +0 -1
  316. package/dist/wc/delta_share/p-7adbb1ec.entry.js +0 -1
  317. package/dist/wc/delta_share/p-804eb658.entry.js +0 -1
  318. package/dist/wc/delta_share/p-81d7702b.entry.js +0 -1
  319. package/dist/wc/delta_share/p-85623203.entry.js +0 -1
  320. package/dist/wc/delta_share/p-9dd299b2.js +0 -1
  321. package/dist/wc/delta_share/p-a259b62e.entry.js +0 -1
  322. package/dist/wc/delta_share/p-ab7c95da.entry.js +0 -1
  323. package/dist/wc/delta_share/p-abd1d378.entry.js +0 -1
  324. package/dist/wc/delta_share/p-acfe9eb3.entry.js +0 -1
  325. package/dist/wc/delta_share/p-b5e27e10.js +0 -1
  326. package/dist/wc/delta_share/p-b5eb340c.entry.js +0 -1
  327. package/dist/wc/delta_share/p-b60651f2.entry.js +0 -1
  328. package/dist/wc/delta_share/p-c56e8a41.entry.js +0 -1
  329. package/dist/wc/delta_share/p-c69e24bf.entry.js +0 -1
  330. package/dist/wc/delta_share/p-cac71697.js +0 -1
  331. package/dist/wc/delta_share/p-cad0320b.entry.js +0 -1
  332. package/dist/wc/delta_share/p-d1270e75.entry.js +0 -1
  333. package/dist/wc/delta_share/p-d2b8f445.entry.js +0 -1
  334. package/dist/wc/delta_share/p-d489328b.js +0 -1
  335. package/dist/wc/delta_share/p-de921fbb.entry.js +0 -1
  336. package/dist/wc/delta_share/p-ec64cd8e.entry.js +0 -1
  337. package/dist/wc/delta_share/p-f1ba2542.entry.js +0 -1
  338. package/dist/wc/delta_share/p-f500eb2e.entry.js +0 -1
  339. package/dist/wc/delta_share/p-f5d6ffbf.entry.js +0 -1
  340. package/dist/wc/delta_share/p-f6cf7f9f.entry.js +0 -1
  341. package/dist/wc/delta_share/p-f9175533.entry.js +0 -7
  342. package/dist/wc/delta_share/p-fb1885ec.js +0 -1
  343. package/dist/wc/esm/breakpoints-75d56fd9.js +0 -3
  344. package/dist/wc/esm/index-e68ea3a2.js +0 -81
  345. package/dist/wc/esm/utils-1c638931.js +0 -37
  346. package/dist/wc/esm/z-card-alert.entry.js +0 -48
  347. package/dist/wc/esm/z-card-body.entry.js +0 -15
  348. package/dist/wc/esm/z-card-cover.entry.js +0 -18
  349. package/dist/wc/esm/z-card-footer.entry.js +0 -42
  350. package/dist/wc/esm/z-card-header.entry.js +0 -34
  351. package/dist/wc/esm/z-card-icon.entry.js +0 -17
  352. package/dist/wc/esm/z-card-list.entry.js +0 -33
  353. package/dist/wc/esm/z-header.entry.js +0 -176
  354. package/dist/wc/esm/z-heading.entry.js +0 -13
  355. package/dist/wc/esm/z-registro-table-cell.entry.js +0 -30
  356. package/dist/wc/esm/z-registro-table-header.entry.js +0 -19
  357. package/dist/wc/esm/z-registro-table-row.entry.js +0 -19
  358. package/dist/wc/esm/z-registro-table-sticky-footer.entry.js +0 -15
  359. package/dist/wc/esm/z-registro-table.entry.js +0 -27
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-458dc8f4.js');
6
- const index$1 = require('./index-b9bd2767.js');
5
+ const index = require('./index-9ca7d5e5.js');
6
+ const index$1 = require('./index-9c6fd1db.js');
7
7
 
8
8
  const stylesCss = ".sc-z-modal-login-h{font-family:var(--dashboard-font);font-weight:var(--font-rg)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login{color:var(--text-grey-800);padding:calc(var(--space-unit) * 4) calc(var(--space-unit) * 2)\n calc(var(--space-unit) * 3) calc(var(--space-unit) * 2);box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch}z-button.sc-z-modal-login,z-input.sc-z-modal-login,.sc-z-modal-login-s>z-button,.sc-z-modal-login-s>z-input{display:inline-block;width:100%}z-link.sc-z-modal-login,.sc-z-modal-login-s>z-link{font-size:12px}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch}div.wrapper>form>div.username.sc-z-modal-login-s>z-input,div.wrapper>form>div.password.sc-z-modal-login-s>z-input,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.username.sc-z-modal-login z-input.sc-z-modal-login,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.password.sc-z-modal-login z-input.sc-z-modal-login{margin-bottom:var(--space-unit)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>z-link.forget.sc-z-modal-login{font-size:12px;align-self:flex-end}div.wrapper>form>div.login.sc-z-modal-login-s>z-button,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.login.sc-z-modal-login z-button.sc-z-modal-login{margin:calc(var(--space-unit) * 3) 0;align-self:flex-start}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>hr.sc-z-modal-login{width:100%;margin-bottom:calc(var(--space-unit) * 3);border:none;border-top:var(--border-size-medium) solid var(--bg-grey-200);margin-block-start:unset}div.wrapper>div.signup.sc-z-modal-login-s>z-button,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.signup.sc-z-modal-login z-button.sc-z-modal-login{display:inline-block;margin:calc(var(--space-unit) * 2) 0}.sc-z-modal-login-h div.providers.sc-z-modal-login{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;gap:calc(var(--space-unit) * 2) 0px}slot-fb[name=\"provider\"].sc-z-modal-login{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;gap:calc(var(--space-unit) * 2) 0px}.sc-z-modal-login-h div.providers.sc-z-modal-login>z-body.sc-z-modal-login{padding-top:calc(var(--space-unit) * 2)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.providers.sc-z-modal-login .zd.sc-z-modal-login{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.providers.sc-z-modal-login .zd.sc-z-modal-login>svg.sc-z-modal-login{margin-right:var(--space-unit)}@media only screen and (min-width: 768px){z-button.sc-z-modal-login,.sc-z-modal-login-s>z-button{width:initial}.sc-z-modal-login-h div.wrapper.sc-z-modal-login{width:396px;padding:calc(var(--space-unit) * 3)}.sc-z-modal-login-h div.providers.sc-z-modal-login{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;gap:var(--space-unit);justify-content:center;align-items:center}.sc-z-modal-login-h div.providers.sc-z-modal-login>z-body.sc-z-modal-login{grid-column-start:1;grid-column-end:3;padding-bottom:var(--space-unit)}.sc-z-modal-login-s>[slot=\"provider\"]{width:100%}slot-fb[name=\"provider\"].sc-z-modal-login{grid-column-start:1;grid-column-end:3;display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;gap:var(--space-unit);justify-content:center;align-items:center}slot-fb[name=\"provider\"].sc-z-modal-login>*.sc-z-modal-login{width:100%}}@media only screen and (min-width: 1366px){.sc-z-modal-login-h div.wrapper.sc-z-modal-login{width:477px;padding:calc(var(--space-unit) * 4)}}";
9
9
 
@@ -11,6 +11,7 @@ const zModalLogin = class {
11
11
  constructor(hostRef) {
12
12
  index.registerInstance(this, hostRef);
13
13
  this.loginSubmit = index.createEvent(this, "loginSubmit", 7);
14
+ this.statusUpdate = index.createEvent(this, "statusUpdate", 7);
14
15
  this.signupClick = index.createEvent(this, "signupClick", 7);
15
16
  this.zainoDigitaleClick = index.createEvent(this, "zainoDigitaleClick", 7);
16
17
  /** Login modal title */
@@ -18,7 +19,8 @@ const zModalLogin = class {
18
19
  this.externalProviderCheck = false;
19
20
  }
20
21
  componentDidLoad() {
21
- this.externalProviderCheck = !!this.hostElement.querySelectorAll('[slot="provider"]').length;
22
+ this.externalProviderCheck =
23
+ !!this.hostElement.querySelectorAll('[slot="provider"]').length;
22
24
  }
23
25
  emitLoginSubmit() {
24
26
  const usernameInput = this.hostElement.querySelector("z-input#username");
@@ -39,6 +41,9 @@ const zModalLogin = class {
39
41
  originalUsername: usernameInput.value,
40
42
  });
41
43
  }
44
+ emitStatusUpdate(status) {
45
+ this.statusUpdate.emit(status);
46
+ }
42
47
  emitSignupClick() {
43
48
  this.signupClick.emit();
44
49
  }
@@ -50,6 +55,10 @@ const zModalLogin = class {
50
55
  return;
51
56
  this.emitLoginSubmit();
52
57
  }
58
+ handleInputChange() {
59
+ this.status = null;
60
+ this.emitStatusUpdate(this.status);
61
+ }
53
62
  cleanUsername(username) {
54
63
  username = username.trim().toLowerCase();
55
64
  const mobileRegex = /^[+]?[\s./0-9]*[(]?[0-9]{1,4}[)]?[(]?[0-9]{1,4}[)]?[-\s./0-9]*$/g;
@@ -64,7 +73,7 @@ const zModalLogin = class {
64
73
  return (index.h("z-button", { variant: index$1.ButtonVariantEnum.secondary, onClick: () => this.emitZainoDigitaleClick(), class: "zainoDigitale" }, index.h("div", { class: "zd" }, index.h("svg", { width: "18px", height: "24px", viewBox: "0 0 18 24" }, index.h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, index.h("g", { transform: "translate(-313.000000, -329.000000)", fill: "#E2001A", "fill-rule": "nonzero" }, index.h("g", { transform: "translate(25.000000, 191.000000)" }, index.h("g", null, index.h("g", { transform: "translate(0.000000, 100.000000)" }, index.h("g", null, index.h("g", { transform: "translate(276.000000, 28.000000)" }, index.h("path", { d: "M29.8953704,30.5632326 C29.9143039,30.3327754 29.5356326,30.0447041 29.1380277,29.8142469 C29.2516291,28.7963947 29.4409647,26.9719425 29.2705626,26.3189807 C29.0433598,25.416357 28.3428178,24.8018047 28.380685,23.822362 C28.4185521,22.8429193 28.1913493,16.5437582 27.0364017,15.1802202 C26.1654576,14.162368 25.4649156,12.8372396 23.4390239,12.2418921 C23.4390239,12.0498445 23.4390239,11.8770016 23.4200903,11.7425683 C23.3822232,10.9167637 21.9622056,10.090959 21.6214014,10.0525495 C21.2805972,10.01414 20.371786,9.95652568 20.0309818,10.0525495 C19.6901775,10.1293685 19.0464362,11.128016 18.7434992,11.4352922 C18.5920306,11.5889302 18.5541635,11.9538207 18.5730971,12.3187111 C17.437083,12.6836015 16.1306669,13.4325871 15.4490584,14.9497631 C14.2941108,17.676839 13.4799674,18.9251483 13.6693031,24.1680477 C13.5935688,25.1090809 13.2906318,25.6084046 13.1012961,25.6852237 C12.9119604,25.7620427 12.798359,25.9156808 12.7604919,26.1077284 C12.7226247,26.2805712 12.5522226,28.37389 12.7415583,29.8718612 C12.3818205,30.1023183 12.0788834,30.3519802 12.097817,30.5632326 C12.1546177,31.0625563 11.8516806,31.7731324 12.097817,32.0612038 C12.230352,32.2148419 12.7226247,32.5413228 13.3284989,32.8293942 C13.6125024,33.4631512 14.199443,33.9240655 15.467992,33.9816797 C18.1565586,34.0584988 26.2601254,33.8664512 26.5630625,33.9048607 C26.847066,33.9432702 28.4374857,34.0008845 28.683622,32.8293942 C29.2894962,32.5413228 29.781769,32.2148419 29.9143039,32.0612038 C30.1415067,31.7731324 29.8385697,31.0625563 29.8953704,30.5632326 Z M12.0319858,31.2 C12.1173988,31.1230769 12.3736379,31.0461538 12.743761,31 C12.857645,31.3230769 12.914587,31.6615385 13,32 C12.4021089,31.8153846 11.8611598,31.5692308 12.0319858,31.2 Z M21.1618497,12.8394441 C21.1618497,12.8394441 20.6763006,12.8165075 20,13 L20,12.9770634 C20,12.5642053 20.3121387,11.3256309 20.3988439,11.1192018 C20.4855491,10.9127728 21.265896,11.0274556 21.8554913,11.0733287 C22.6358382,11.0503922 22.4624277,11.2568212 22.8092486,11.9907912 C22.9306358,12.2889666 22.982659,12.6559516 23,13 C22.4797688,12.8623806 21.8728324,12.8165075 21.1618497,12.8394441 Z M28.3324094,30 C28.6648189,30.0833333 28.9085858,30.2222222 28.9750677,30.3888889 C29.1301921,31.1666667 28.5318551,31.6388889 28,32 C28.0221606,31.5 28.0664819,31.1111111 28.0664819,31.1111111 L28.2437669,30.6111111 L28.3324094,30 Z M21.8571429,23 L21.8571429,23.8 L22.7142857,23.8 L22.7142857,24.6 L23.5714286,24.6 L23.5714286,25.4 L24.4285714,25.4 L24.4285714,26.2 L25.2857143,26.2 L25.2857143,27 L26.1428571,27 L26.1428571,27.8 L27,27.8 L27,28.6 L24.4285714,28.6 L24.4285714,29.4 L25.2857143,29.4 L25.2857143,31 L24.4285714,31 L24.4285714,30.2 L23.5714286,30.2 L23.5714286,29.4 L22.7142857,29.4 L22.7142857,30.2 L21.8571429,30.2 L21.8571429,31 L21,31 L21,23 L21.8571429,23 Z" }))))))))), index.h("span", null, "ZAINO DIGITALE"))));
65
74
  }
66
75
  render() {
67
- return (index.h("z-modal", { modaltitle: this.heading }, index.h("div", { class: "wrapper", slot: "modalContent" }, index.h("form", { method: "post" }, index.h("div", { class: "username" }, index.h("slot", { name: "username" }, index.h("z-input", { id: "username", label: "email o numero di cellulare", placeholder: "Inserisci l'email o il cellulare", autocomplete: "username", name: "username", status: this.status, message: this.message, onKeyUp: (e) => this.handleInputKeyUp(e), onInputChange: () => (this.status = null) }))), index.h("div", { class: "password" }, index.h("slot", { name: "password" }, index.h("z-input", { id: "password", label: "password", placeholder: "Inserisci la tua password", type: "password", name: "password", autocomplete: "current-password", status: this.status, onKeyUp: (e) => this.handleInputKeyUp(e), onInputChange: () => (this.status = null) }))), index.h("z-link", { class: "forget", href: "https://my.zanichelli.it" }, "Password dimenticata?"), index.h("div", { class: "login" }, index.h("slot", { name: "login" }, index.h("z-button", { variant: index$1.ButtonVariantEnum.primary, onClick: () => this.emitLoginSubmit() }, "Accedi")))), index.h("hr", null), index.h("z-body", { class: "signup", level: 4, variant: "semibold" }, "Non hai ancora un account?"), index.h("div", { class: "signup" }, index.h("slot", { name: "signup" }, index.h("z-button", { variant: index$1.ButtonVariantEnum.secondary, onClick: () => this.emitSignupClick() }, "Registrati"))), index.h("div", { class: "providers" }, index.h("z-body", { class: "provider", level: 5, variant: "regular" }, "OPPURE ACCEDI CON:"), !this.externalProviderCheck && (index.h("slot", { name: "provider" }, this.renderZainoDigitaleButton(), index.h("z-link", { icon: "informationsource", href: "https://www.zainodigitale.it/#/landing" }, "Cos'\u00E8 Zaino Digitale?")))))));
76
+ return (index.h("z-modal", { modaltitle: this.heading }, index.h("div", { class: "wrapper", slot: "modalContent" }, index.h("form", { method: "post" }, index.h("div", { class: "username" }, index.h("slot", { name: "username" }, index.h("z-input", { id: "username", label: "email o numero di cellulare", placeholder: "Inserisci l'email o il cellulare", autocomplete: "username", name: "username", status: this.status, message: this.message, onKeyUp: (e) => this.handleInputKeyUp(e), onInputChange: () => this.handleInputChange() }))), index.h("div", { class: "password" }, index.h("slot", { name: "password" }, index.h("z-input", { id: "password", label: "password", placeholder: "Inserisci la tua password", type: "password", name: "password", autocomplete: "current-password", status: this.status, message: this.pwdmessage, onKeyUp: (e) => this.handleInputKeyUp(e), onInputChange: () => this.handleInputChange() }))), index.h("z-link", { class: "forget", href: this.forgotPasswordUrl }, "Password dimenticata?"), index.h("div", { class: "login" }, index.h("slot", { name: "login" }, index.h("z-button", { variant: index$1.ButtonVariantEnum.primary, onClick: () => this.emitLoginSubmit() }, "Accedi")))), index.h("hr", null), index.h("z-body", { class: "signup", level: 4, variant: "semibold" }, "Non hai ancora un account?"), index.h("div", { class: "signup" }, index.h("slot", { name: "signup" }, index.h("z-button", { variant: index$1.ButtonVariantEnum.secondary, onClick: () => this.emitSignupClick() }, "Registrati"))), !this.externalProviderCheck && (index.h("div", { class: "providers" }, index.h("z-body", { class: "provider", level: 5, variant: "regular" }, "OPPURE ACCEDI CON:"), index.h("slot", { name: "provider" }, this.renderZainoDigitaleButton(), index.h("z-link", { icon: "informationsource", href: "https://www.zainodigitale.it/#/landing" }, "Cos'\u00E8 Zaino Digitale?")))))));
68
77
  }
69
78
  get hostElement() { return index.getElement(this); }
70
79
  };
@@ -0,0 +1,63 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-9ca7d5e5.js');
6
+ const index$1 = require('./index-9c6fd1db.js');
7
+
8
+ const stylesCss = ":host{position:absolute;font-family:var(--font-family-sans);font-weight:var(--font-rg);width:100%;top:0px;left:0px;z-index:2}:host>z-alert{height:calc(var(--space-unit) * 6)}.relativeContainer{position:relative;display:grid;grid-template-columns:18px auto 46px;grid-template-rows:1fr;grid-column-gap:var(--space-unit);align-items:center;padding:0;outline:none}.relativeContainer::-moz-focus-inner{border:0}.alert-external-wrapper.removeAlert{border:var(--border-size-medium) solid var(--color-surface02);border-top:none}:host div.addAlert{background:var(--color-success-inverse)}:host div.removeAlert{background:var(--color-warning-inverse)}:host div>.contentText{color:var(--color-surface05);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.contentAction{color:var(--color-primary01);font-size:12px;font-weight:var(--font-sb);height:20px;letter-spacing:0.32px;line-height:20px;cursor:pointer}:host div>z-icon{justify-self:center}";
9
+
10
+ const ZMyzCardAlert = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.undoAction = index.createEvent(this, "undoAction", 7);
14
+ }
15
+ emitUndoAction() {
16
+ this.undoAction.emit({ actionType: this.type });
17
+ }
18
+ handleSpaceKeyPress(e) {
19
+ if (e.keyCode == 32 || e.keyCode == 13) {
20
+ e.preventDefault();
21
+ this.emitUndoAction();
22
+ }
23
+ }
24
+ handleActionButtonClick(e) {
25
+ e.preventDefault();
26
+ this.emitUndoAction();
27
+ }
28
+ retrieveClass() {
29
+ let className = "";
30
+ switch (this.type) {
31
+ case "add":
32
+ className = "addAlert";
33
+ break;
34
+ case "remove":
35
+ className = "removeAlert";
36
+ break;
37
+ default:
38
+ className = "";
39
+ break;
40
+ }
41
+ return className;
42
+ }
43
+ getAlertType() {
44
+ switch (this.type) {
45
+ case "add":
46
+ return index$1.AlertTypesEnum.success;
47
+ case "remove":
48
+ return index$1.AlertTypesEnum.warning;
49
+ default:
50
+ return null;
51
+ }
52
+ }
53
+ render() {
54
+ return (index.h("div", { class: "alert-external-wrapper " + this.retrieveClass() }, index.h("z-alert", { type: this.getAlertType() }, index.h("div", { class: "relativeContainer" }, index.h("z-icon", { name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), index.h("span", { class: "contentText" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (index.h("span", { role: "button", tabindex: "0", class: "contentAction", onClick: (e) => {
55
+ this.handleActionButtonClick(e);
56
+ }, onKeyPress: (e) => {
57
+ this.handleSpaceKeyPress(e);
58
+ } }, this.actiontext))))));
59
+ }
60
+ };
61
+ ZMyzCardAlert.style = stylesCss;
62
+
63
+ exports.z_myz_card_alert = ZMyzCardAlert;
@@ -0,0 +1,36 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-9ca7d5e5.js');
6
+ const index$1 = require('./index-9c6fd1db.js');
7
+
8
+ const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host z-myz-card{--card-overflow:visible}:host>div{position:relative;height:522px;width:100%;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out}:host>div .content{position:relative;height:522px;width:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out;z-index:2}:host>div .content.flipped{-webkit-transform:rotateY(180deg);transform:rotateY(180deg);margin-top:-2px}:host>div .front,:host>div .back{position:absolute;height:100%;width:100%;top:0;left:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}:host>div .front{z-index:2;top:0;left:0;-webkit-transform:rotateY(0deg);transform:rotateY(0deg)}:host>div .front z-button{position:absolute;z-index:3;top:calc(var(--space-unit) * 0.5);left:calc(-1 * var(--space-unit))}:host>div .back{padding:0 var(--space-unit);margin-left:calc(-1 * var(--space-unit));z-index:1;top:0;left:0;-webkit-transform:rotateY(180deg);transform:rotateY(180deg);display:flex;justify-content:center}.hideInfo{display:none}";
9
+
10
+ const ZMyzCardDictionary = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.cardFlipped = index.createEvent(this, "cardFlipped", 7);
14
+ /** card is disabled */
15
+ this.disabled = false;
16
+ /** card is flipped */
17
+ this.flipped = false;
18
+ /** flip button label */
19
+ this.flipbuttonlabel = "INFO";
20
+ /** hide info button */
21
+ this.hideinfobtn = false;
22
+ }
23
+ handleFlipCard(e) {
24
+ this.flipCard(e.detail);
25
+ }
26
+ flipCard(showBack = true) {
27
+ this.flipped = showBack;
28
+ this.cardFlipped.emit(showBack);
29
+ }
30
+ render() {
31
+ return (index.h("div", null, index.h("z-myz-card", null, index.h("z-myz-card-header", { titolo: this.name }), index.h("div", { class: `content ${this.flipped ? "flipped" : ""}` }, index.h("div", { class: "front" }, index.h("z-myz-card-body", null, index.h("z-myz-card-cover", { slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), index.h("z-button", { class: this.hideinfobtn ? "hideInfo" : "", variant: index$1.ButtonVariantEnum.secondary, icon: "informationsource", size: index$1.ButtonSizeEnum["x-small"], onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), index.h("div", { class: "back" }, index.h("slot", { name: "info" }))), index.h("slot", null))));
32
+ }
33
+ };
34
+ ZMyzCardDictionary.style = stylesCss;
35
+
36
+ exports.z_myz_card_dictionary = ZMyzCardDictionary;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-9ca7d5e5.js');
6
+
7
+ const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div>footer{box-sizing:border-box;border-radius:0px 0px var(--radius-base) var(--radius-base);border-top:var(--border-base) solid var(--color-surface03);padding:var(--space-unit) calc(var(--space-unit) * 2) 0;height:128px;color:var(--color-surface05);font-size:16px;line-height:24px}:host>div>footer>div.top,:host>div>footer>div.bottom{height:60px}";
8
+
9
+ const ZMyzCardFooterSections = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ }
13
+ render() {
14
+ return (index.h("div", null, index.h("footer", null, index.h("div", { class: "top" }, index.h("slot", { name: "top" })), index.h("div", { class: "bottom" }, index.h("slot", { name: "bottom" })))));
15
+ }
16
+ };
17
+ ZMyzCardFooterSections.style = stylesCss;
18
+
19
+ exports.z_myz_card_footer_sections = ZMyzCardFooterSections;
@@ -0,0 +1,56 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-9ca7d5e5.js');
6
+ const index$1 = require('./index-9c6fd1db.js');
7
+
8
+ const stylesCss = "footer{font-family:var(--font-family-sans);font-weight:var(--font-rg);color:var(--color-surface05);background-color:var(--color-surface01);margin:0px;padding:0px;position:relative;z-index:5;height:calc(var(--space-unit) * 6);width:auto;top:0px;transition:height 500ms ease-in-out, top 500ms ease-in-out;border-radius:0px 0px var(--border-radius) var(--border-radius);border-top:var(--border-size-medium) solid var(--color-surface03)}footer.real,footer.trial,footer.temp{border-top:var(--border-size-medium) solid var(--accent)}footer .bold{font-family:var(--font-family-sans);font-weight:var(--font-sb)}footer>p{font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:16px;line-height:22px;height:40px;margin:0px;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2)\n var(--space-unit) calc(var(--space-unit) * 2);overflow:hidden;background-color:var(--color-surface01);transition:all 200ms linear}footer.isopen>p{font-size:14px;font-weight:var(--font-sb);transition:all 200ms linear;background-color:var(--bg-neutral-200)}footer.isopen.real>p,footer.isopen.trial>p,footer.isopen.temp>p{background-color:var(--accent)}footer .visible{display:block}footer .hidden{display:none}footer>div.content{height:60px;overflow:hidden}footer>div.content>div:not(.slot-handler){padding:var(--space-unit) calc(var(--space-unit) * 2)}footer>div.content>div>p{font-size:14px;height:20px;line-height:20px;margin:0px;padding:0px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}footer>div.content>div>p.year_isbn{padding-top:var(--space-unit);display:flex;flex-direction:row;justify-content:space-between}footer>div.content>div>p.year_isbn>span.isbn{text-overflow:ellipsis;overflow:hidden}footer.isopen>div.content>div:not(.slot-handler){height:68px}footer.isopen>div.content>div>p.authors{height:40px;white-space:initial;text-overflow:initial}footer.isopen>div.content>div>p.year_isbn{flex-direction:column;height:50px;padding-left:0px}footer.isopen>div.content>div>p.year_isbn>span.isbn{display:inline-grid;padding-left:0px}footer.isopen{height:295px;top:-212px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.customContent{top:-292px}footer.isopen>div.content{height:280px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.customContent>div.content{height:230px}.toggle{position:absolute;top:-24px;left:16px;z-index:10}.faded{opacity:0.3;pointer-events:none}footer>p.customContent,footer .content.customContent{display:none}footer.isopen>p.customContent,footer.isopen .content.customContent{display:block}div.wrapper{position:relative;height:100%}div.wrapper ::slotted([slot=\"content\"]){display:block;height:112px;width:100%;padding:0 calc(var(--space-unit) * 2);box-sizing:border-box;border-top:var(--border-size-medium) solid transparent;position:absolute;top:calc(var(--space-unit) * 2);z-index:10;background:var(--color-white)}div.wrapper.isopen ::slotted([slot=\"content\"]){height:128px;padding:calc(var(--space-unit) * 2);border-color:var(--accent);top:0;bottom:0}";
9
+
10
+ const ZMyzCardFooter = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ /** footer opened by default (optional) */
14
+ this.opened = false;
15
+ /** display footer custom slotted content */
16
+ this.customContent = false;
17
+ this.isOpen = false;
18
+ this.allowTooltipAuthors = false;
19
+ }
20
+ handleToggle() {
21
+ this.isOpen = !this.isOpen;
22
+ }
23
+ getTitleAuthors() {
24
+ return this.allowTooltipAuthors ? this.autori : "";
25
+ }
26
+ componentWillLoad() {
27
+ if (this.opened)
28
+ this.isOpen = true;
29
+ }
30
+ elementsEllipsis() {
31
+ this.allowTooltipAuthors = this.elementAuthorsHasEllipsis() ? true : false;
32
+ }
33
+ elementAuthorsHasEllipsis() {
34
+ return this.ellipsisAuthors.offsetWidth < this.ellipsisAuthors.scrollWidth;
35
+ }
36
+ retrieveClass() {
37
+ return {
38
+ isopen: this.isOpen,
39
+ real: this.cardtype === index$1.LicenseTypeEnum.real,
40
+ trial: this.cardtype === index$1.LicenseTypeEnum.trial,
41
+ temp: this.cardtype === index$1.LicenseTypeEnum.temp,
42
+ customContent: this.customContent,
43
+ };
44
+ }
45
+ footerTransitionHandler(e) {
46
+ if (["visibility", "height"].includes(e.propertyName)) {
47
+ this.elementsEllipsis();
48
+ }
49
+ }
50
+ render() {
51
+ return (index.h("div", { class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, index.h("footer", { class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, index.h("span", { class: "toggle" }, index.h("slot", { name: "toggle" })), this.titolo && (index.h("p", { class: { customContent: this.customContent } }, this.titolo)), index.h("div", { class: { content: true, customContent: this.customContent } }, index.h("div", null, index.h("p", { class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, index.h("span", { title: this.getTitleAuthors() }, index.h("span", { class: "bold" }, this.autori))), index.h("p", { class: "year_isbn" }, index.h("span", { class: "isbn" }, index.h("span", null, index.h("span", { class: "bold" }, this.isbn), " (ed. cartacea)")))), index.h("div", { class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, index.h("slot", { name: "list" })))), this.customContent && index.h("slot", { name: "content" })));
52
+ }
53
+ };
54
+ ZMyzCardFooter.style = stylesCss;
55
+
56
+ exports.z_myz_card_footer = ZMyzCardFooter;
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-9ca7d5e5.js');
6
+
7
+ const stylesCss = "button{width:42px;height:calc(var(--space-unit) * 5);display:flex;align-items:center;justify-content:center;color:var(--color-primary01);fill:var(--color-primary01);cursor:pointer;outline:none;background:none;border:none;border-left:var(--border-size-medium) solid var(--color-surface03);border-radius:0px var(--border-radius) 0px 0px;margin:0;padding:0px;width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6)}button:active,button:focus{color:var(--blue700);fill:var(--blue700)}button>span{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--border-radius);border:0px}button:hover>span{background:var(--color-primary03)}button:focus>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2)}button:disabled{cursor:not-allowed}button:disabled>span{background:none;box-shadow:var(--shadow-0);pointer-events:none}button:disabled>span>z-icon{fill:var(--color-surface03)}button::-moz-focus-inner{border:0}";
8
+
9
+ const ZMyzCardIcon = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ /** disabled status flag */
13
+ this.isdisabled = false;
14
+ }
15
+ render() {
16
+ return (index.h("button", { disabled: this.isdisabled, "aria-label": this.ariaLabel }, index.h("span", null, index.h("z-icon", { name: this.icon, width: 16, height: 16 }))));
17
+ }
18
+ };
19
+ ZMyzCardIcon.style = stylesCss;
20
+
21
+ exports.z_myz_card_icon = ZMyzCardIcon;
@@ -0,0 +1,119 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-9ca7d5e5.js');
6
+ const index$1 = require('./index-9c6fd1db.js');
7
+ const utils = require('./utils-8a10bba9.js');
8
+ require('./breakpoints-a55736d0.js');
9
+
10
+ const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);width:100%}:host>div{background:var(--color-surface01);width:calc(100% + calc(var(--space-unit) * 2));margin-left:calc(-1 * var(--space-unit));height:402px;border:var(--border-size-small) solid var(--color-primary01);box-shadow:0px 2px 4px 0px rgba(66, 69, 72, 0.35);border-radius:0px;box-sizing:border-box;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);position:relative}:host>div>z-icon{fill:var(--color-primary01);cursor:pointer;position:absolute;top:var(--space-unit);right:var(--space-unit)}:host>div{display:grid}:host>div>div.cta-wrapper{align-self:end;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between}:host>div>div.content-wrapper{overflow:hidden;position:relative;align-self:stretch}:host>div>div.content-wrapper>section{border-bottom:var(--border-size-small) solid var(--color-surface04);color:var(--color-surface05);padding:var(--space-unit) 0;font-size:14px;line-height:20px;box-sizing:border-box}:host>div>div.content-wrapper>section:last-child{border-bottom:none}:host>div>div.content-wrapper>section.info-wrapper{position:relative;overflow:hidden;box-sizing:border-box}:host>div>div.content-wrapper>section.info-wrapper.hidden:after{background:linear-gradient(\n 180deg,\n rgba(255, 0, 0, 0),\n rgba(255, 0, 0, 0) 60%,\n white\n );content:\"\";position:absolute;pointer-events:none;top:0;left:0;right:0;bottom:0}:host>div>div.content-wrapper>section>span.license-heading{display:flex;justify-content:space-between}:host>div>div.content-wrapper>section>span.license-heading>span.expired{color:var(--color-secondary02);font-size:12px;font-weight:600}:host>div>div.content-wrapper>section>span.license-heading>span.expiring{color:var(--color-warning01);font-size:12px;font-weight:600}:host>div>div.content-wrapper>z-tooltip{position:absolute;top:0px;left:calc(var(--space-unit) * 4)}";
11
+
12
+ const ZMyzCardInfo = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.flipCard = index.createEvent(this, "flipCard", 7);
16
+ /** tabindex link attribute (optional) */
17
+ this.htmltabindex = 0;
18
+ this.hiddenContent = false;
19
+ this.tooltip = false;
20
+ this.emitFlipCard = this.emitFlipCard.bind(this);
21
+ }
22
+ emitFlipCard(showBack = false) {
23
+ this.flipCard.emit(showBack);
24
+ }
25
+ componentWillLoad() {
26
+ this.setStringOrArray();
27
+ }
28
+ componentWillUpdate() {
29
+ this.setStringOrArray();
30
+ }
31
+ componentDidRender() {
32
+ this.handleContentHeight();
33
+ }
34
+ handleContentHeight() {
35
+ if (!this.contentWrapper && !this.infoWrapper)
36
+ return (this.hiddenContent = false);
37
+ if (this.contentWrapper.scrollHeight > this.contentWrapper.offsetHeight ||
38
+ this.infoWrapper.scrollHeight > this.infoWrapper.offsetHeight) {
39
+ const height = this.contentWrapper.offsetHeight -
40
+ this.onlineLicenseWrapper.offsetHeight -
41
+ this.offlineLicenseWrapper.offsetHeight;
42
+ this.infoWrapper.style.height = `${height}px`;
43
+ return (this.hiddenContent = true);
44
+ }
45
+ return (this.hiddenContent = false);
46
+ }
47
+ setStringOrArray() {
48
+ if (typeof this.data === "string") {
49
+ this.cardData = JSON.parse(this.data);
50
+ }
51
+ else {
52
+ this.cardData = this.data;
53
+ }
54
+ }
55
+ renderCloseIcon() {
56
+ return (index.h("z-icon", { name: "multiply-circled-filled", height: 18, width: 18, onClick: () => this.emitFlipCard(false), tabindex: this.htmltabindex, onKeyUp: (e) => {
57
+ utils.handleKeyboardSubmit(e, this.emitFlipCard, false);
58
+ } }));
59
+ }
60
+ renderGeneralSection() {
61
+ var _a, _b;
62
+ const title = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.title;
63
+ const description = (_b = this === null || this === void 0 ? void 0 : this.cardData) === null || _b === void 0 ? void 0 : _b.description;
64
+ return (index.h("section", { class: `info-wrapper ${this.hiddenContent ? "hidden" : ""}`, onClick: () => {
65
+ if (this.hiddenContent)
66
+ this.tooltip = !this.tooltip;
67
+ }, ref: (el) => (this.infoWrapper = el) }, this.renderAuthor(), this.renderYear(), title, index.h("br", null), description));
68
+ }
69
+ renderAuthor() {
70
+ var _a;
71
+ const author = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.author;
72
+ if (!author)
73
+ return null;
74
+ return (index.h("span", null, "Autore: ", index.h("b", null, author), index.h("br", null)));
75
+ }
76
+ renderYear() {
77
+ var _a;
78
+ const year = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.year;
79
+ if (!year)
80
+ return null;
81
+ return (index.h("span", null, "Anno: ", index.h("b", null, year), index.h("br", null)));
82
+ }
83
+ renderTooltip() {
84
+ if (!this.tooltip)
85
+ return;
86
+ if (!this.cardData)
87
+ return;
88
+ const { title, year, author, description } = this.cardData;
89
+ return (index.h("z-tooltip", { content: `${title} ${year} ${author} ${description}`, type: index$1.TooltipPosition.RIGHT, onClick: () => (this.tooltip = false) }));
90
+ }
91
+ setExpirationLicenseMessage(type) {
92
+ if ((type === "online" && this.cardData.onlineLicense.expired) ||
93
+ (type === "offline" && this.cardData.offlineLicense.expired)) {
94
+ return index.h("span", { class: "expired" }, "SCADUTA");
95
+ }
96
+ if ((type === "online" && this.cardData.onlineLicense.expiring) ||
97
+ (type === "offline" && this.cardData.offlineLicense.expiring)) {
98
+ return index.h("span", { class: "expiring" }, "IN SCADENZA");
99
+ }
100
+ }
101
+ renderOnlineLicenseSection() {
102
+ var _a;
103
+ if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.onlineLicense))
104
+ return;
105
+ return (index.h("section", { ref: (el) => (this.onlineLicenseWrapper = el) }, index.h("span", { class: "license-heading" }, index.h("span", null, "Licenza online"), this.setExpirationLicenseMessage("online")), "Scadenza il ", index.h("b", null, this.cardData.onlineLicense.expiration), index.h("br", null)));
106
+ }
107
+ renderOfflineLicenseSection() {
108
+ var _a;
109
+ if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.offlineLicense))
110
+ return;
111
+ return (index.h("section", { ref: (el) => (this.offlineLicenseWrapper = el) }, index.h("span", { class: "license-heading" }, index.h("span", null, "Licenza offline"), this.setExpirationLicenseMessage("offline")), "Scadenza il ", index.h("b", null, this.cardData.offlineLicense.expiration), index.h("br", null), "Installazioni disponibili:", " ", index.h("b", null, this.cardData.offlineLicense.installations)));
112
+ }
113
+ render() {
114
+ return (index.h("div", null, this.renderCloseIcon(), index.h("div", { class: "content-wrapper", ref: (el) => (this.contentWrapper = el) }, this.renderGeneralSection(), this.renderTooltip(), this.renderOnlineLicenseSection(), this.renderOfflineLicenseSection()), index.h("div", { class: "cta-wrapper" }, index.h("slot", null))));
115
+ }
116
+ };
117
+ ZMyzCardInfo.style = stylesCss;
118
+
119
+ exports.z_myz_card_info = ZMyzCardInfo;
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-458dc8f4.js');
5
+ const index = require('./index-9ca7d5e5.js');
6
6
 
7
- const stylesCss = "ul{font-family:var(--dashboard-font);color:var(--myz-blue);margin:0 calc(var(--space-unit) * 2);padding:0px;overflow:hidden;list-style:none;width:auto;height:auto}ul>li{padding-left:10px;text-indent:-10px}ul>li>a{display:block;font-size:14px;font-weight:var(--font-sb);text-decoration:none;color:var(--myz-blue);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5);padding-top:calc(var(--space-unit) * .5)}ul>li>a:before{content:\"•\";padding-right:5px}ul>li>span{font-size:14px;font-weight:var(--font-rg);text-decoration:none;color:var(--text-grey-700);padding:0 calc(var(--space-unit) * 2);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5)}";
7
+ const stylesCss = "ul{font-family:var(--font-family-sans);color:var(--color-primary02);margin:0 calc(var(--space-unit) * 2);padding:0px;overflow:hidden;list-style:none;width:auto;height:auto}ul>li{padding-left:10px;text-indent:-10px}ul>li>a{display:block;font-size:14px;font-weight:var(--font-sb);text-decoration:none;color:var(--color-primary01);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5);padding-top:calc(var(--space-unit) * .5)}ul>li>a:before{content:\"•\";padding-right:5px}ul>li>span{font-size:14px;font-weight:var(--font-rg);text-decoration:none;color:var(--color-surface04);padding:0 calc(var(--space-unit) * 2);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5)}";
8
8
 
9
- const ZCardList = class {
9
+ const ZMyzCardList = class {
10
10
  constructor(hostRef) {
11
11
  index.registerInstance(this, hostRef);
12
12
  this.renderList = this.renderList.bind(this);
@@ -32,6 +32,6 @@ const ZCardList = class {
32
32
  return index.h("ul", null, this.renderList(JSON.parse(this.listdata)));
33
33
  }
34
34
  };
35
- ZCardList.style = stylesCss;
35
+ ZMyzCardList.style = stylesCss;
36
36
 
37
- exports.z_card_list = ZCardList;
37
+ exports.z_myz_card_list = ZMyzCardList;
@@ -0,0 +1,104 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-9ca7d5e5.js');
6
+ const index$1 = require('./index-9c6fd1db.js');
7
+
8
+ const stylesCss$3 = ":host{--card-overflow:hidden}div{background-color:var(--color-surface01);display:flex;flex-direction:column;width:auto;box-sizing:border-box;width:256px;height:522px;border:var(--border-size-medium) solid var(--color-surface03);border-radius:var(--border-radius);overflow:var(--card-overflow)}div.real,div.trial,div.temp{border-color:var(--accent)}div.faded{border:var(--border-size-medium) solid var(--color-surface02)}div.highlighted{box-shadow:var(--shadow-4);outline:none}div.pressed{box-shadow:var(--shadow-8);outline:none}div:focus{box-shadow:var(--shadow-focus-primary);outline:none}";
9
+
10
+ const ZMyzCardComponent = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ /** pressed status */
14
+ this.ispressed = false;
15
+ /** highlighted status */
16
+ this.ishighlighted = false;
17
+ }
18
+ retrieveClass() {
19
+ let elemClasses = "";
20
+ if (this.cardtype === index$1.LicenseTypeEnum.real)
21
+ elemClasses += "real";
22
+ else if (this.cardtype === index$1.LicenseTypeEnum.trial)
23
+ elemClasses += "trial";
24
+ else if (this.cardtype === index$1.LicenseTypeEnum.temp)
25
+ elemClasses += "temp";
26
+ if (this.faded) {
27
+ elemClasses += " faded";
28
+ }
29
+ else if (this.ispressed) {
30
+ elemClasses += " pressed";
31
+ }
32
+ else if (this.ishighlighted) {
33
+ elemClasses += " highlighted";
34
+ }
35
+ return elemClasses;
36
+ }
37
+ render() {
38
+ return (index.h("div", { class: this.retrieveClass(), tabindex: "0" }, index.h("slot", null)));
39
+ }
40
+ };
41
+ ZMyzCardComponent.style = stylesCss$3;
42
+
43
+ const stylesCss$2 = ":host{height:340px;width:auto}:host>div{height:340px;width:auto;display:flex;align-items:center;justify-content:center;position:relative}";
44
+
45
+ const ZMyzCardBody = class {
46
+ constructor(hostRef) {
47
+ index.registerInstance(this, hostRef);
48
+ }
49
+ render() {
50
+ return (index.h("div", null, index.h("slot", { name: "alert" }), index.h("slot", { name: "cover" })));
51
+ }
52
+ };
53
+ ZMyzCardBody.style = stylesCss$2;
54
+
55
+ const stylesCss$1 = "img{display:block;margin:auto auto;height:340px;max-width:100%;object-fit:cover}img.faded{opacity:0.3}";
56
+
57
+ const ZMyzCardCover = class {
58
+ constructor(hostRef) {
59
+ index.registerInstance(this, hostRef);
60
+ }
61
+ hadleOnImageError() {
62
+ this.img = this.defaultimg;
63
+ }
64
+ render() {
65
+ return (index.h("img", { class: this.faded && "faded", onError: this.hadleOnImageError.bind(this), alt: this.titolo, src: this.img }));
66
+ }
67
+ };
68
+ ZMyzCardCover.style = stylesCss$1;
69
+
70
+ const stylesCss = "header{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;width:auto;height:calc(var(--space-unit) * 6);position:relative;border-bottom:var(--border-size-medium) solid var(--color-surface03);border-radius:var(--border-radius) var(--border-radius)\n var(--border-no-radius) var(--border-no-radius);background-color:var(--color-surface01)}header.real,header.trial,header.temp{background-color:var(--accent-lighter);border-bottom:var(--border-size-medium) solid var(--accent)}h2{font-family:var(--font-family-sans);font-weight:var(--font-sb);color:var(--color-surface05);height:calc(var(--space-unit) * 2);font-size:12px;text-transform:uppercase;letter-spacing:0.22px;line-height:calc(var(--space-unit) * 2);margin:0px;padding:calc(var(--space-unit) * 2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.faded{border-bottom:var(--border-size-medium) solid var(--color-surface02)}.faded.real,.faded.trial,.faded.temp{border-top:var(--border-size-medium) solid var(--accent);border-right:var(--border-size-medium) solid var(--accent);border-left:var(--border-size-medium) solid var(--accent)}";
71
+
72
+ const ZMyzCardHeader = class {
73
+ constructor(hostRef) {
74
+ index.registerInstance(this, hostRef);
75
+ this.allowTooltip = false;
76
+ }
77
+ getTitle() {
78
+ return this.allowTooltip ? this.titolo : "";
79
+ }
80
+ componentDidLoad() {
81
+ if (this.elementHasEllipsis())
82
+ this.allowTooltip = true;
83
+ }
84
+ elementHasEllipsis() {
85
+ return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
86
+ }
87
+ retrieveClass() {
88
+ return {
89
+ real: this.cardtype === index$1.LicenseTypeEnum.real,
90
+ trial: this.cardtype === index$1.LicenseTypeEnum.trial,
91
+ temp: this.cardtype === index$1.LicenseTypeEnum.temp,
92
+ faded: this.faded,
93
+ };
94
+ }
95
+ render() {
96
+ return (index.h("header", { class: this.retrieveClass() }, index.h("h2", { ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), index.h("slot", { name: "icon" })));
97
+ }
98
+ };
99
+ ZMyzCardHeader.style = stylesCss;
100
+
101
+ exports.z_myz_card = ZMyzCardComponent;
102
+ exports.z_myz_card_body = ZMyzCardBody;
103
+ exports.z_myz_card_cover = ZMyzCardCover;
104
+ exports.z_myz_card_header = ZMyzCardHeader;
@@ -2,13 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-458dc8f4.js');
6
- const utils = require('./utils-1f907efa.js');
7
- require('./index-b9bd2767.js');
5
+ const index = require('./index-9ca7d5e5.js');
6
+ const utils = require('./utils-8a10bba9.js');
7
+ require('./index-9c6fd1db.js');
8
+ require('./breakpoints-a55736d0.js');
8
9
 
9
10
  const stylesCss = ":host li{all:unset;all:reset;width:100%}:host li{list-style-type:none;line-height:14px}:host li>span{line-height:14px;padding:calc(var(--space-unit) * 2) 0;display:flex;font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:16px;letter-spacing:0.23px;color:var(--text-grey-800);fill:var(--text-grey-800)}:host li>span.border{border-bottom:2px solid var(--bg-grey-200)}:host li span:hover,a:hover{color:var(--myz-blue);fill:var(--myz-blue)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{color:var(--myz-blue);fill:var(--myz-blue);height:calc(var(--space-unit) * 2);width:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-size:contain;background-repeat:no-repeat}";
10
11
 
11
- const ZListItem = class {
12
+ const ZMyzListItem = class {
12
13
  constructor(hostRef) {
13
14
  index.registerInstance(this, hostRef);
14
15
  this.zListItemLinkClick = index.createEvent(this, "zListItemLinkClick", 7);
@@ -31,6 +32,6 @@ const ZListItem = class {
31
32
  return (index.h("li", { role: "button", id: this.listitemid, "data-action": this.action, onClick: (e) => this.emitZListItemClick(e, this.listitemid), onKeyPress: (ev) => utils.handleKeyboardSubmit(ev, this.emitZListItemClick, this.listitemid) }, index.h("span", { class: this.underlined && "border" }, this.icon && index.h("z-icon", { name: this.icon }), this.link ? (index.h("a", { href: this.link ? this.link : null, target: this.linktarget, id: linkId, onClick: (e) => this.emitZListItemLinkClick(e, linkId), onKeyPress: (ev) => utils.handleKeyboardSubmit(ev, this.emitZListItemLinkClick, linkId), role: this.link ? "link" : "button", tabindex: "0" }, this.text)) : (index.h("span", { innerHTML: this.text })), index.h("slot", null))));
32
33
  }
33
34
  };
34
- ZListItem.style = stylesCss;
35
+ ZMyzListItem.style = stylesCss;
35
36
 
36
- exports.z_list_item = ZListItem;
37
+ exports.z_myz_list_item = ZMyzListItem;