@zanichelli/delta_share 2.0.5 → 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 (360) 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-771eb01e.js → index-9ca7d5e5.js} +9 -0
  7. package/dist/wc/cjs/{license-activation_16.cjs.entry.js → license-activation_13.cjs.entry.js} +137 -489
  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 +18 -18
  97. package/dist/wc/custom-elements/index.js +8650 -1964
  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-8c8c2605.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-f70f03be.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-ece80039.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-20c65209.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-165af99f.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-eee2d197.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-d68368aa.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-e8390258.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-f531a563.entry.js +1 -0
  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-2fc5398d.js → index-b3a91e19.js} +9 -0
  196. package/dist/wc/esm/{license-activation_16.entry.js → license-activation_13.entry.js} +138 -487
  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 +1 -2
  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-01886650.entry.js +0 -1
  303. package/dist/wc/delta_share/p-04aac627.entry.js +0 -1
  304. package/dist/wc/delta_share/p-0712f9d3.entry.js +0 -1
  305. package/dist/wc/delta_share/p-16484902.entry.js +0 -1
  306. package/dist/wc/delta_share/p-21601525.entry.js +0 -1
  307. package/dist/wc/delta_share/p-235bcd66.entry.js +0 -1
  308. package/dist/wc/delta_share/p-28b46738.entry.js +0 -1
  309. package/dist/wc/delta_share/p-2eba2455.entry.js +0 -1
  310. package/dist/wc/delta_share/p-2ec1c7f6.entry.js +0 -1
  311. package/dist/wc/delta_share/p-34f2c21d.entry.js +0 -1
  312. package/dist/wc/delta_share/p-35f7bacb.entry.js +0 -1
  313. package/dist/wc/delta_share/p-3e244a3d.entry.js +0 -1
  314. package/dist/wc/delta_share/p-49c2342b.entry.js +0 -1
  315. package/dist/wc/delta_share/p-5363ac78.entry.js +0 -1
  316. package/dist/wc/delta_share/p-56331fcd.entry.js +0 -1
  317. package/dist/wc/delta_share/p-56cdbd95.entry.js +0 -1
  318. package/dist/wc/delta_share/p-5dd5dcba.entry.js +0 -1
  319. package/dist/wc/delta_share/p-5f995b84.entry.js +0 -1
  320. package/dist/wc/delta_share/p-63ce3cde.entry.js +0 -1
  321. package/dist/wc/delta_share/p-6523780b.entry.js +0 -1
  322. package/dist/wc/delta_share/p-69565c8e.entry.js +0 -1
  323. package/dist/wc/delta_share/p-69825d47.entry.js +0 -1
  324. package/dist/wc/delta_share/p-69dee729.entry.js +0 -1
  325. package/dist/wc/delta_share/p-7050a138.entry.js +0 -1
  326. package/dist/wc/delta_share/p-8025bbbe.entry.js +0 -1
  327. package/dist/wc/delta_share/p-80bc280b.entry.js +0 -3
  328. package/dist/wc/delta_share/p-80cd9ec1.entry.js +0 -1
  329. package/dist/wc/delta_share/p-83363ed1.entry.js +0 -1
  330. package/dist/wc/delta_share/p-8daed5d0.entry.js +0 -1
  331. package/dist/wc/delta_share/p-95b560f6.entry.js +0 -1
  332. package/dist/wc/delta_share/p-9ba5ddb4.js +0 -1
  333. package/dist/wc/delta_share/p-9dd299b2.js +0 -1
  334. package/dist/wc/delta_share/p-a65a76cb.entry.js +0 -1
  335. package/dist/wc/delta_share/p-b5e27e10.js +0 -1
  336. package/dist/wc/delta_share/p-b76e0aee.entry.js +0 -1
  337. package/dist/wc/delta_share/p-b8c95b08.entry.js +0 -1
  338. package/dist/wc/delta_share/p-cac71697.js +0 -1
  339. package/dist/wc/delta_share/p-e0160074.entry.js +0 -7
  340. package/dist/wc/delta_share/p-e1c8d36a.entry.js +0 -1
  341. package/dist/wc/delta_share/p-f8cddd5b.entry.js +0 -1
  342. package/dist/wc/delta_share/p-fb1885ec.js +0 -1
  343. package/dist/wc/delta_share/p-ffd4a20e.entry.js +0 -1
  344. package/dist/wc/esm/breakpoints-75d56fd9.js +0 -3
  345. package/dist/wc/esm/index-e68ea3a2.js +0 -81
  346. package/dist/wc/esm/utils-1c638931.js +0 -37
  347. package/dist/wc/esm/z-card-alert.entry.js +0 -48
  348. package/dist/wc/esm/z-card-body.entry.js +0 -15
  349. package/dist/wc/esm/z-card-cover.entry.js +0 -18
  350. package/dist/wc/esm/z-card-footer.entry.js +0 -42
  351. package/dist/wc/esm/z-card-header.entry.js +0 -34
  352. package/dist/wc/esm/z-card-icon.entry.js +0 -17
  353. package/dist/wc/esm/z-card-list.entry.js +0 -33
  354. package/dist/wc/esm/z-header.entry.js +0 -176
  355. package/dist/wc/esm/z-heading.entry.js +0 -13
  356. package/dist/wc/esm/z-registro-table-cell.entry.js +0 -30
  357. package/dist/wc/esm/z-registro-table-header.entry.js +0 -19
  358. package/dist/wc/esm/z-registro-table-row.entry.js +0 -19
  359. package/dist/wc/esm/z-registro-table-sticky-footer.entry.js +0 -15
  360. package/dist/wc/esm/z-registro-table.entry.js +0 -27
@@ -0,0 +1,82 @@
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 breakpoints = require('./breakpoints-a55736d0.js');
8
+
9
+ const stylesCss = "z-table{overflow-x:auto;display:block;width:100%;font-family:var(--dashboard-font);font-weight:var(--font-rg);background-color:var(--color-white)}z-table>div.table{display:table;width:100%;border-collapse:separate}z-table>div.table-bordered>z-table-body>z-table-row>z-table-cell:not(:last-child),z-table>div.table-bordered>z-table-head>z-table-header-row>z-table-header:not(:last-child){border-right:var(--border-size-small) solid var(--bg-grey-200)}z-table>div>z-table-body>z-table-row[expandable]>z-table-cell:first-child,z-table>div>z-table-head>z-table-header-row[expandable]>z-table-header:first-child{border-right:none}z-table>div>z-table-body>z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table>div>z-table-body>z-table-row[expanded]+z-table-expanded-row{border-bottom:1px solid var(--gray200)}z-table>div.table-column-sticky>z-table-body>z-table-row>z-table-cell:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{position:sticky;left:0;box-shadow:1px 0 4px -1px rgba(66, 69, 72, 0.4);z-index:1}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;top:0;box-shadow:0 2px 3px -3px rgba(66, 69, 72, 0.4)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{z-index:2}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{z-index:5}z-table-body{width:auto;background-color:var(--color-white)}z-table-empty-box{display:flex;flex-direction:column;flex-grow:1;border-bottom:var(--border-size-small) solid var(--bg-grey-200)}z-table-empty-box.bordered{border-left:var(--border-size-small) solid var(--bg-grey-200)}.error-message{margin-top:calc(var(--space-unit) * 2)}.table-content{display:flex;flex-direction:row;width:100%}.error-content{font-family:var(--dashboard-font);padding:calc(var(--space-unit) * 3);display:flex}.error-content>img{width:244px;height:188px;margin-right:calc(var(--space-unit) * 3)}@media only screen and (max-width: 768px){z-table>div.table-empty{display:none}.error-content{display:flex;flex-direction:column}.error-content>img{width:auto;height:auto}.text{padding:calc(var(--space-unit) * 3) 0}}";
10
+
11
+ const ZTable = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.callToAction = index.createEvent(this, "callToAction", 7);
15
+ this.callToActionTwo = index.createEvent(this, "callToActionTwo", 7);
16
+ /** Error message */
17
+ this.errorMessage = "Siamo spiacenti, non siamo riusciti a caricare il contenuto richiesto";
18
+ /** Sets table with border */
19
+ this.bordered = false;
20
+ /** Sets first column sticky */
21
+ this.columnSticky = false;
22
+ /** Sets empty table */
23
+ this.empty = false;
24
+ /** Set error status */
25
+ this.error = false;
26
+ /** Sets header sticky */
27
+ this.headerSticky = false;
28
+ /** Set message */
29
+ this.message = "Siamo spiacenti, al momento non sono presenti dati da visualizzare";
30
+ /** Set subtitle */
31
+ this.subtitle = "";
32
+ }
33
+ handleResize() {
34
+ this.isMobile = window.innerWidth <= breakpoints.mobileBreakpoint;
35
+ }
36
+ handleOrientationChange() {
37
+ this.isMobile = screen.width <= breakpoints.mobileBreakpoint;
38
+ }
39
+ componentWillLoad() {
40
+ var _a;
41
+ this.isMobile = window.innerWidth <= breakpoints.mobileBreakpoint;
42
+ const tableBody = this.host.querySelector('[slot="table-body"]');
43
+ this.hasTableBody = !!((_a = tableBody === null || tableBody === void 0 ? void 0 : tableBody.children) === null || _a === void 0 ? void 0 : _a.length);
44
+ if (!!tableBody && !this.hasTableBody) {
45
+ tableBody.remove();
46
+ }
47
+ }
48
+ componentWillRender() {
49
+ this.host.setAttribute("role", "table");
50
+ }
51
+ renderError(tableClass) {
52
+ const minHeight = this.lines ? `calc(40px * ${this.lines})` : "auto";
53
+ return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" })), index.h("z-table-error", null, index.h("div", { class: "error-content", style: { minHeight } }, index.h("slot", { name: "error-image" }), index.h("div", { class: "text" }, index.h("z-body", { class: "error-message", level: 3, variant: "semibold" }, this.errorMessage), index.h("slot", { name: "error-action" }))))));
54
+ }
55
+ renderEmpty(tableClass) {
56
+ const buttonSize = this.isMobile
57
+ ? index$1.ButtonSizeEnum.small
58
+ : index$1.ButtonSizeEnum.big;
59
+ const tableContentClass = `${!!this.hasTableBody ? "table-content" : ""}`;
60
+ if (this.hasTableBody) {
61
+ return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" }), index.h("div", { class: tableContentClass }, index.h("slot", { name: "table-body" }), index.h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (index.h("z-button", { slot: "cta1", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (index.h("z-button", { slot: "cta2", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))))));
62
+ }
63
+ return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" })), index.h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (index.h("z-button", { slot: "cta1", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (index.h("z-button", { slot: "cta2", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))));
64
+ }
65
+ render() {
66
+ const tableClass = `table ${this.empty ? "table-empty" : ""} ${this.bordered ? "table-bordered" : ""}
67
+ ${this.columnSticky ? "table-column-sticky" : ""}
68
+ ${this.headerSticky ? "table-header-sticky" : ""}`;
69
+ if (this.error) {
70
+ return this.renderError(tableClass);
71
+ }
72
+ if (this.empty) {
73
+ return this.renderEmpty(tableClass);
74
+ }
75
+ return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", null)), index.h("slot", { name: "sticky-footer" })));
76
+ }
77
+ static get assetsDirs() { return ["assets"]; }
78
+ get host() { return index.getElement(this); }
79
+ };
80
+ ZTable.style = stylesCss;
81
+
82
+ exports.z_table = ZTable;
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-9ca7d5e5.js');
6
+
7
+ const stylesCss = ".sc-z-tag-h{--z-icon-width:14px;--z-icon-height:14px;--z-tag-text-color:var(--color-primary03);--z-tag-bg:var(--color-hover-primary);font-family:var(--font-family-sans);border-radius:var(--border-radius);padding:calc(var(--space-unit) / 2);text-transform:uppercase;display:flex;width:fit-content;height:fit-content;max-width:inherit;max-height:inherit;color:var(--z-tag-text-color);fill:var(--z-tag-text-color);background-color:var(--z-tag-bg);line-height:14px}.sc-z-tag-h>z-icon.sc-z-tag{margin-right:var(--space-unit)}.expandable.sc-z-tag-h>z-icon.sc-z-tag{margin-right:0;transition:margin-right 0.3s ease-out}.sc-z-tag-h:not(.expandable)>z-icon.sc-z-tag:not(:last-child),.expandable.sc-z-tag-h:hover>z-icon.sc-z-tag:not(:last-child){margin-right:var(--space-unit);transition:margin-right 0.3s ease-out 0s}.expandable.sc-z-tag-h>div.sc-z-tag{max-width:0;max-height:0;overflow:hidden}.expandable.sc-z-tag-h:hover>div.sc-z-tag{max-width:100%;max-height:100%}";
8
+
9
+ const ZTag = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ }
13
+ render() {
14
+ return (index.h(index.Host, { class: {
15
+ "body-5-sb": true,
16
+ expandable: this.expandable && !!this.icon,
17
+ } }, this.icon && index.h("z-icon", { name: this.icon }), index.h("div", null, index.h("slot", null))));
18
+ }
19
+ };
20
+ ZTag.style = stylesCss;
21
+
22
+ exports.z_tag = ZTag;
@@ -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 = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:fixed;display:flex;flex-direction:column;flex-wrap:nowrap;z-index:10000;margin-bottom:calc(var(--space-unit) * 2);margin-top:calc(var(--space-unit) * 2)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host(.bottom-centre),:host(.bottom-right),:host(.bottom-left){justify-content:flex-end;align-items:flex-end;bottom:0}:host(.top-left),:host(.top-right),:host(.top-centre){justify-content:flex-start;align-items:flex-start;top:0}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host(.top-centre){justify-content:flex-start;align-items:center;top:0;left:50%;transform:translateX(-50%)}:host(.top-left){justify-content:flex-start;align-items:flex-start;top:0;left:0}:host(.top-right){justify-content:flex-start;align-items:flex-end;top:0;right:0}:host(.bottom-centre){justify-content:flex-end;align-items:center;bottom:0;left:50%;transform:translateX(-50%)}:host(.bottom-right){justify-content:flex-end;align-items:flex-end;bottom:0;right:0}:host(.bottom-left){justify-content:flex-end;align-items:flex-start;bottom:0;left:0}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
9
+
10
+ const ZToastNotificationList = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ /**Set the entry position of new notification in the list */
14
+ this.newestontop = true;
15
+ this.slotChangeHandler = () => {
16
+ const difference = Array.from(this.hostElement.children).filter((elem) => !this.notificationArray.includes(elem));
17
+ if (difference) {
18
+ difference.forEach((elem) => {
19
+ this.notificationArray.push(elem);
20
+ const newElem = elem;
21
+ elem.remove();
22
+ this.hostElement.prepend(newElem);
23
+ });
24
+ }
25
+ };
26
+ }
27
+ watchPropNewestontop(newValue) {
28
+ this.hostElement.append(...this.notificationArray.reverse());
29
+ if (newValue) {
30
+ this.hostElement.shadowRoot.addEventListener("slotchange", this.slotChangeHandler);
31
+ }
32
+ else {
33
+ this.hostElement.shadowRoot.removeEventListener("slotchange", this.slotChangeHandler);
34
+ }
35
+ }
36
+ componentWillLoad() {
37
+ this.newestontop && this.handleNewestOnTop();
38
+ }
39
+ handleNewestOnTop() {
40
+ this.notificationArray = Array.from(this.hostElement.children);
41
+ this.hostElement.append(...this.notificationArray.reverse());
42
+ this.hostElement.shadowRoot.addEventListener("slotchange", this.slotChangeHandler);
43
+ }
44
+ render() {
45
+ return (index.h(index.Host, { class: this.position
46
+ ? this.position
47
+ : index$1.ToastNotificationPositionsEnum.topRight }, index.h("slot", { name: "toasts" })));
48
+ }
49
+ get hostElement() { return index.getElement(this); }
50
+ static get watchers() { return {
51
+ "newestontop": ["watchPropNewestontop"]
52
+ }; }
53
+ };
54
+ ZToastNotificationList.style = stylesCss;
55
+
56
+ exports.z_toast_notification_list = ZToastNotificationList;
@@ -0,0 +1,203 @@
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 breakpoints = require('./breakpoints-a55736d0.js');
8
+ const hammer = require('./hammer-4f20813e.js');
9
+ require('./_commonjsHelpers-537d719a.js');
10
+
11
+ const stylesCss = ":host{display:inline-block;min-width:200px;width:100vw}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{transform:translateY(100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideindown{0%{transform:translateY(-100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideoutleft{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(-100%);opacity:0%}}@keyframes slideoutright{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(100%);opacity:0%}}@keyframes slideoutup{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(-100%);opacity:0}}@keyframes slideoutdown{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(100%);opacity:0}}:host>#external-container{font-family:var(--font-family-sans);font-weight:var(--font-rg);border-radius:4px;font-size:14px;letter-spacing:0.16px;box-sizing:border-box;min-height:52px;padding:calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow-3)}:host>#external-container.mobile-wrapped>#icon{align-self:flex-start}:host>#external-container.several-lines-padding{padding:calc(var(--space-unit) * 2)}:host>#external-container>#flex-container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%}:host>#external-container #text{color:var(--color-white);line-height:20px;margin-right:calc(var(--space-unit) * 2);letter-spacing:0.16px;text-align:left}:host>#external-container #text>.title{margin-right:4px;font-weight:600}:host>#external-container.mobile-wrapped #button ::slotted(z-button){margin-top:calc(var(--space-unit) * 2)}:host>#external-container #icon{cursor:pointer;fill:var(--color-white);margin-left:calc(var(--space-unit) * 2)}:host>#external-container.dark{background:var(--gray800)}:host>#external-container.light{background:var(--color-background)}:host>#external-container.light #icon,:host>#external-container.warning #text,:host>#external-container.warning #icon{fill:var(--color-icon01)}:host>#external-container.light #text,:host>#external-container.warning #text{color:var(--grey800)}:host>#external-container.accent{background:var(--color-primary01)}:host>#external-container.error{background:var(--color-error-default)}:host>#external-container.success{background:var(--color-success-default)}:host>#external-container.warning{background:var(--color-warning-default)}@media only screen and (min-width: 768px){:host{width:unset;max-width:50vw}:host>#external-container>#flex-container{flex-wrap:nowrap}:host>#external-container #text{width:100%}}@media only screen and (min-width: 1366px){:host{width:unset;max-width:33vw}}";
12
+
13
+ const ZToastNotification = class {
14
+ constructor(hostRef) {
15
+ index.registerInstance(this, hostRef);
16
+ this.toastClose = index.createEvent(this, "toastClose", 7);
17
+ /** toast notification autoclose can be paused */
18
+ this.pauseonfocusloss = true;
19
+ /** toast notification can be draggable*/
20
+ this.isdraggable = true;
21
+ /** toast notification draggable percentage*/
22
+ this.draggablepercentage = 80;
23
+ this.isCloseEventCalled = false;
24
+ this.visibilityChangeEventHandler = () => {
25
+ if (document.visibilityState === "hidden") {
26
+ this.timeoutHandle && this.onBlur();
27
+ }
28
+ else {
29
+ this.elapsedTime && this.onFocus();
30
+ }
31
+ };
32
+ }
33
+ watchPropIsdraggable(newValue) {
34
+ if (newValue) {
35
+ this.sliderManager.get('pan').set({ enable: true });
36
+ }
37
+ else {
38
+ this.sliderManager.get('pan').set({ enable: false });
39
+ }
40
+ }
41
+ watchPropAutoclose(newValue) {
42
+ clearTimeout(this.timeoutHandle);
43
+ this.startClosingTimeout(newValue);
44
+ }
45
+ watchPropPauseonfocusloss(newValue) {
46
+ if (this.autoclose) {
47
+ if (newValue) {
48
+ document.addEventListener("visibilitychange", this.visibilityChangeEventHandler);
49
+ }
50
+ else {
51
+ document.removeEventListener("visibilitychange", this.visibilityChangeEventHandler);
52
+ }
53
+ }
54
+ }
55
+ emitToastClose(cssClass) {
56
+ this.timeoutHandle = null;
57
+ this.elapsedTime = null;
58
+ this.hostElement.classList.add(cssClass);
59
+ this.toastClose.emit();
60
+ }
61
+ componentWillLoad() {
62
+ this.isMobile = window.innerWidth <= breakpoints.mobileBreakpoint;
63
+ this.validateAutoclose();
64
+ }
65
+ componentDidLoad() {
66
+ this.isTextLong = this.detectWrap() || this.toastText.offsetHeight > 20;
67
+ this.startTime = Date.now();
68
+ if (this.autoclose && this.pauseonfocusloss) {
69
+ document.addEventListener("visibilitychange", this.visibilityChangeEventHandler);
70
+ }
71
+ this.isdraggable && this.handleSlideOutDragAnimation();
72
+ this.percentage = 0;
73
+ }
74
+ validateAutoclose() {
75
+ if (!this.autoclose && !this.closebutton)
76
+ console.error("At least one between autoclose and closebutton must be present");
77
+ }
78
+ mapSlideOutClass() {
79
+ switch (this.transition) {
80
+ case index$1.ToastNotificationTransitionsEnum.slideInDown:
81
+ return index$1.ToastNotificationTransitionsEnum.slideOutUp;
82
+ case index$1.ToastNotificationTransitionsEnum.slideInUp:
83
+ return index$1.ToastNotificationTransitionsEnum.slideOutDown;
84
+ case index$1.ToastNotificationTransitionsEnum.slideInLeft:
85
+ return index$1.ToastNotificationTransitionsEnum.slideOutRight;
86
+ case index$1.ToastNotificationTransitionsEnum.slideInRight:
87
+ return index$1.ToastNotificationTransitionsEnum.slideOutLeft;
88
+ }
89
+ }
90
+ calculateDraggedPercentage(e) {
91
+ const bounding = this.hostElement.getBoundingClientRect();
92
+ return Math.round((100 * e.deltaX) / bounding.width);
93
+ }
94
+ handleSlideOutDragAnimation() {
95
+ this.sliderManager = new hammer.hammer(this.hostElement);
96
+ this.sliderManager.get("pan").set({
97
+ direction: hammer.hammer.DIRECTION_HORIZONTAL,
98
+ });
99
+ this.sliderManager.on("pan", (e) => {
100
+ this.percentage = this.calculateDraggedPercentage(e);
101
+ this.hostElement.style.transition = "none";
102
+ this.hostElement.classList.remove(this.transition);
103
+ const translateObj = {
104
+ translate: "translateX( " + this.percentage + "% )",
105
+ translateBack: "translateX(0)",
106
+ };
107
+ this.hostElement.style.opacity = `${100 - Math.abs(this.percentage)}%`;
108
+ if (e.eventType === hammer.hammer.DIRECTION_LEFT ||
109
+ e.eventType === hammer.hammer.DIRECTION_RIGHT) {
110
+ this.hostElement.style.transform = translateObj.translate;
111
+ if (Math.abs(this.percentage) > this.draggablepercentage &&
112
+ !this.isCloseEventCalled) {
113
+ this.isCloseEventCalled = true;
114
+ this.emitToastClose(e.direction === hammer.hammer.DIRECTION_LEFT
115
+ ? "slide-out-left"
116
+ : "slide-out-right");
117
+ }
118
+ }
119
+ if (e.isFinal && Math.abs(this.percentage) < this.draggablepercentage) {
120
+ this.hostElement.style.transform = translateObj.translateBack;
121
+ this.hostElement.style.transition = "all 1s";
122
+ this.hostElement.style.opacity = `100%`;
123
+ this.percentage = 0;
124
+ }
125
+ });
126
+ }
127
+ onFocus() {
128
+ let time;
129
+ time = this.autoclose;
130
+ if (this.elapsedTime) {
131
+ time = this.autoclose - this.elapsedTime;
132
+ }
133
+ if (time > 0) {
134
+ this.startClosingTimeout(time);
135
+ }
136
+ }
137
+ onBlur() {
138
+ this.elapsedTime = Date.now() - this.startTime;
139
+ clearTimeout(this.timeoutHandle);
140
+ }
141
+ startClosingTimeout(time) {
142
+ this.timeoutHandle = setTimeout(() => this.emitToastClose(this.mapSlideOutClass()), time);
143
+ }
144
+ detectWrap() {
145
+ const parentWidth = this.container.offsetWidth;
146
+ const children = this.container.children;
147
+ let totalWidth = 0;
148
+ for (let i = 0; i < children.length; i++) {
149
+ totalWidth += children[i].offsetWidth;
150
+ }
151
+ return totalWidth > parentWidth;
152
+ }
153
+ renderText() {
154
+ return (index.h("div", { id: "text", ref: (el) => (this.toastText = el) }, index.h("span", { class: "title" }, this.heading), index.h("span", { class: "message" }, this.message)));
155
+ }
156
+ renderButton() {
157
+ return (index.h("div", { id: "button" }, index.h("slot", { name: "button" })));
158
+ }
159
+ renderCloseIcon() {
160
+ return (this.closebutton && (index.h("div", { id: "icon" }, index.h("z-icon", { tabIndex: 0, name: "multiply-circled", width: 15, height: 15, onClick: () => this.emitToastClose(this.mapSlideOutClass()), onKeyPress: (e) => {
161
+ if (e.keyCode == 32 || e.keyCode == 13) {
162
+ e.preventDefault();
163
+ this.emitToastClose(this.mapSlideOutClass());
164
+ }
165
+ } }))));
166
+ }
167
+ renderContainer() {
168
+ return (index.h("div", { tabIndex: 0, id: "external-container", class: {
169
+ [this.type]: !!this.type,
170
+ "several-lines-padding": this.isTextLong,
171
+ }, ref: (el) => (this.container = el) }, this.renderText(), this.renderButton(), this.renderCloseIcon()));
172
+ }
173
+ renderMobileContainer() {
174
+ return (index.h("div", { id: "external-container", class: {
175
+ [this.type]: !!this.type,
176
+ "several-lines-padding": this.isTextLong,
177
+ "mobile-wrapped": this.isTextLong,
178
+ } }, index.h("div", { id: "flex-container", ref: (el) => (this.container = el) }, this.renderText(), this.renderButton()), this.renderCloseIcon()));
179
+ }
180
+ render() {
181
+ return (index.h(index.Host, { style: {
182
+ ["--percentuale"]: `${this.percentage}%`,
183
+ }, class: this.transition
184
+ ? this.transition
185
+ : index$1.ToastNotificationTransitionsEnum.slideInDown, onAnimationEnd: (e) => {
186
+ if (this.autoclose && e.animationName.includes("slidein")) {
187
+ this.startClosingTimeout(this.autoclose);
188
+ }
189
+ if (e.animationName.includes("slideout")) {
190
+ this.hostElement.parentNode.removeChild(this.hostElement);
191
+ }
192
+ } }, this.isMobile ? this.renderMobileContainer() : this.renderContainer()));
193
+ }
194
+ get hostElement() { return index.getElement(this); }
195
+ static get watchers() { return {
196
+ "isdraggable": ["watchPropIsdraggable"],
197
+ "autoclose": ["watchPropAutoclose"],
198
+ "pauseonfocusloss": ["watchPropPauseonfocusloss"]
199
+ }; }
200
+ };
201
+ ZToastNotification.style = stylesCss;
202
+
203
+ exports.z_toast_notification = ZToastNotification;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-771eb01e.js');
5
+ const index = require('./index-9ca7d5e5.js');
6
6
 
7
7
  const stylesCss = "button{font-family:var(--dashboard-font);font-weight:var(--font-sb);height:36px;border:var(--border-size-medium) solid;border-color:transparent;border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);background-color:var(--bg-white);box-shadow:0px 0px 4px 0px rgba(0, 0, 0, 0.2);text-transform:uppercase;font-size:14px;outline:none;padding-left:0px;padding-right:calc(var(--space-unit) * 2);transition:all 200ms linear;cursor:pointer}button::-moz-focus-inner{border:0}button:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);color:var(--myz-blue);fill:var(--myz-blue);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active{border-color:var(--myz-blue-light);color:var(--myz-blue-light);fill:var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}button:disabled{color:var(--text-grey-700);fill:var(--text-grey-700)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";
8
8
 
@@ -12,22 +12,23 @@ const ZToggleButton = class {
12
12
  this.toggleClick = index.createEvent(this, "toggleClick", 7);
13
13
  /** disabled status flag (optional) */
14
14
  this.isdisabled = false;
15
- this.isOpen = false;
15
+ /** open by default (optional) */
16
+ this.opened = false;
16
17
  }
17
18
  emitToggleClick() {
18
19
  if (this.isdisabled)
19
20
  return;
20
- this.isOpen = !this.isOpen;
21
- this.toggleClick.emit(this.isOpen);
21
+ this.opened = !this.opened;
22
+ this.toggleClick.emit(this.opened);
22
23
  }
23
24
  retrieveButtonClass() {
24
- let className = this.isOpen && "isopen";
25
+ let className = this.opened && "isopen";
25
26
  if (this.avoidclick)
26
27
  className = className + " avoid-clicks";
27
28
  return className;
28
29
  }
29
30
  render() {
30
- return (index.h("button", { tabindex: this.avoidclick ? "-1" : "0", class: this.retrieveButtonClass(), disabled: this.isdisabled, onClick: () => this.emitToggleClick() }, index.h("z-icon", { name: this.isOpen ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
31
+ return (index.h("button", { tabindex: this.avoidclick ? "-1" : "0", class: this.retrieveButtonClass(), disabled: this.isdisabled, onClick: () => this.emitToggleClick() }, index.h("z-icon", { name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
31
32
  }
32
33
  };
33
34
  ZToggleButton.style = stylesCss;
@@ -0,0 +1,49 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-9ca7d5e5.js');
6
+ const utils = require('./utils-8a10bba9.js');
7
+ const index$1 = require('./index-9c6fd1db.js');
8
+ require('./breakpoints-a55736d0.js');
9
+
10
+ const stylesCss = ".sc-z-toggle-switch-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:inline-flex;position:relative}label.sc-z-toggle-switch{display:flex;align-items:center;flex-direction:row;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{letter-spacing:0;color:var(--color-text01)}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{display:flex;align-items:center}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{top:1px;left:1px;height:18px;width:calc(var(--space-unit) * 4);border-radius:var(--space-unit);color:var(--gray500);background-color:var(--gray500);position:relative;cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){outline:none;box-shadow:var(--shadow-focus-primary)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{top:1px;left:1px;position:absolute;display:flex;align-items:center;justify-content:center;margin:0;height:calc(var(--space-unit) * 2);width:calc(var(--space-unit) * 2);border-radius:7px;background-color:var(--color-white);box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;opacity:0;z-index:-1;pointer-events:none}";
11
+
12
+ const ZToggleSwitch = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.toggleClick = index.createEvent(this, "toggleClick", 7);
16
+ this.disabled = false;
17
+ this.labelPosition = index$1.LabelPositions.left;
18
+ this.checked = false;
19
+ this.htmlid = `toggle-switch-id-${utils.randomId()}`;
20
+ }
21
+ emitToggleClick() {
22
+ this.toggleClick.emit({
23
+ id: this.htmlid,
24
+ checked: this.checked,
25
+ });
26
+ }
27
+ handleClick(ev) {
28
+ if (this.disabled)
29
+ return;
30
+ this.checked = ev.target.checked;
31
+ this.emitToggleClick();
32
+ }
33
+ render() {
34
+ return [
35
+ index.h("input", { id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }),
36
+ index.h("label", { htmlFor: this.htmlid, class: {
37
+ [this.labelPosition]: true,
38
+ disabled: this.disabled,
39
+ } }, index.h("span", null, index.h("slot", null)), index.h("span", { class: {
40
+ container: true,
41
+ disabled: this.disabled,
42
+ checked: this.checked,
43
+ } }, index.h("span", { class: "circle" }, this.checked && (index.h("z-icon", { width: 12, height: 12, name: "checkmark" }))))),
44
+ ];
45
+ }
46
+ };
47
+ ZToggleSwitch.style = stylesCss;
48
+
49
+ exports.z_toggle_switch = ZToggleSwitch;