@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,108 @@
1
+ import { r as registerInstance, h, a as getElement } from './index-b3a91e19.js';
2
+ import { D as DeviceEnum } from './index-654849a7.js';
3
+ import { c as convertJson, g as getDevice, h as handleKeyboardSubmit } from './utils-417652d9.js';
4
+ import './breakpoints-e07f80e7.js';
5
+
6
+ const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:inherit}:host>div{display:flex;flex-direction:column;width:inherit}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;top:50%;width:auto;cursor:pointer;transition:0.6s ease;margin:0 var(--space-unit);fill:var(--color-primary01);z-index:10}main .scroll.disabled{opacity:50%;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;transition:all 300ms;line-height:0px;overflow-y:hidden}footer{height:56px;width:100%;align-items:center;display:grid;grid-template-columns:2;grid-template-rows:2;grid-template-areas:\"center center\" \"left right\";border-top:var(--border-base) solid var(--color-surface02)}footer>div{align-items:center;width:100%}footer .footerCenter{grid-area:center}footer .footerLeft{grid-area:left}footer .footerRight{grid-area:right}footer .bulletContainer{display:flex;margin:0 auto;justify-content:center;align-items:center;min-height:60px}footer .bulletContainer .bullet{width:8px;height:8px;border-radius:50%;background-color:var(--bg-neutral-150);margin:var(--space-unit) 2px;pointer-events:none}footer .bulletContainer .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{grid-template-columns:1fr 2fr 1fr;grid-template-rows:1;grid-template-areas:\"left center right\";height:76px;border-top:var(--border-base) solid var(--color-surface02)}footer .bulletContainer .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bulletContainer .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);pointer-events:auto;cursor:pointer}}";
7
+
8
+ const ZSlideshow = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ this.currentSlide = 0;
12
+ }
13
+ watchData() {
14
+ this.parseLinks();
15
+ }
16
+ componentWillLoad() {
17
+ this.parseLinks();
18
+ this.setDevice();
19
+ window.addEventListener("resize", this.handleResize.bind(this));
20
+ }
21
+ componentDidRender() {
22
+ this.setStyle();
23
+ }
24
+ handleResize() {
25
+ this.setDevice();
26
+ this.setStyle();
27
+ }
28
+ parseLinks() {
29
+ var _a;
30
+ switch (typeof this.data) {
31
+ case "string":
32
+ return (this.links = (_a = convertJson(this.data)) !== null && _a !== void 0 ? _a : []);
33
+ default:
34
+ return (this.links = this.data);
35
+ }
36
+ }
37
+ setStyle() {
38
+ const refSlides = this.el.shadowRoot.querySelector("#slides");
39
+ if (!refSlides)
40
+ return;
41
+ const allImages = this.el.shadowRoot.querySelectorAll(".slide");
42
+ const width = this.el.offsetWidth;
43
+ const fullwidth = width * this.links.length;
44
+ refSlides.style.width = `${fullwidth}px`;
45
+ refSlides.style.transform = `translate(-${width * this.currentSlide}px)`;
46
+ allImages.forEach((item) => {
47
+ const img = item.querySelector("img");
48
+ img.style.width = `${width}px`;
49
+ });
50
+ }
51
+ setDevice() {
52
+ this.device = getDevice();
53
+ }
54
+ setCurrentSlide(index) {
55
+ this.currentSlide = index;
56
+ }
57
+ getBulletDimension() {
58
+ switch (this.device) {
59
+ case DeviceEnum.mobile:
60
+ return 24;
61
+ case DeviceEnum.tablet:
62
+ return 32;
63
+ default:
64
+ return 40;
65
+ }
66
+ }
67
+ renderSlides(items) {
68
+ return (h("div", { id: "slides" }, items.map((item, i) => (h("div", { id: "slide" + i, class: `slide ${this.currentSlide !== i && "hide"}` }, h("img", { src: item }))))));
69
+ }
70
+ renderScroll(direction) {
71
+ let disabled = false, nextSlide = this.currentSlide;
72
+ if (direction === "left") {
73
+ disabled = this.currentSlide === 0;
74
+ nextSlide--;
75
+ }
76
+ else if (direction === "right") {
77
+ disabled = this.currentSlide === this.links.length - 1;
78
+ nextSlide++;
79
+ }
80
+ return (h("z-icon", { class: `scroll ${direction} ${disabled && "disabled"}`, width: this.getBulletDimension(), height: this.getBulletDimension(), name: `chevron-${direction}-circle`, onClick: () => {
81
+ !disabled && this.setCurrentSlide(nextSlide);
82
+ }, onKeyUp: (e) => !disabled &&
83
+ handleKeyboardSubmit(e, () => {
84
+ this.setCurrentSlide(nextSlide);
85
+ }), tabindex: 0, role: "button" }));
86
+ }
87
+ renderSlideshowMain() {
88
+ return (h("main", null, this.renderScroll("left"), this.renderSlides(this.links), this.renderScroll("right")));
89
+ }
90
+ renderBullet(i) {
91
+ return (h("a", { class: `bullet ${this.currentSlide === i && "selected"}`, onClick: () => this.setCurrentSlide(i), onKeyUp: (e) => handleKeyboardSubmit(e, () => this.setCurrentSlide(i)), tabindex: 0, role: "button" }));
92
+ }
93
+ renderSlideshowFooter() {
94
+ return (h("footer", null, h("div", { class: "footerLeft" }, h("slot", { name: "footer-left" })), h("div", { class: "footerCenter" }, h("div", { class: "bulletContainer" }, Object.keys(this.links).map(i => this.renderBullet(parseInt(i))))), h("div", { class: "footerRight" }, h("slot", { name: "footer-right" }))));
95
+ }
96
+ render() {
97
+ if (!this.links || !this.links.length)
98
+ return h("div", null);
99
+ return (h("div", { id: this.slideshowid }, this.renderSlideshowMain(), this.renderSlideshowFooter()));
100
+ }
101
+ get el() { return getElement(this); }
102
+ static get watchers() { return {
103
+ "data": ["watchData"]
104
+ }; }
105
+ };
106
+ ZSlideshow.style = stylesCss;
107
+
108
+ export { ZSlideshow as z_slideshow };
@@ -0,0 +1,25 @@
1
+ import { r as registerInstance, h, H as Host } from './index-b3a91e19.js';
2
+ import { S as StatusTagStatus } from './index-654849a7.js';
3
+ import { c as classnames } from './index-abb47b30.js';
4
+ import './_commonjsHelpers-9943807e.js';
5
+
6
+ const stylesCss = ":host{--z-icon-width:14px;--z-icon-height:14px;font-family:var(--font-family-sans);height:22px;border-radius:var(--border-radius);padding-right:4px;padding-left:4px;text-transform:uppercase;display:inline-flex;align-items:center}:host(.expandable)>z-icon{margin-right:0;transition:margin-right 0.3s ease-out 0.2s}:host(:not(.expandable))>z-icon:not(:last-child),:host(.expandable:hover)>z-icon:not(:last-child){margin-right:var(--space-unit);transition:margin-right 0.3s ease-out 0s}:host(.expandable)>span{max-width:0;transition:max-width 0.3s ease-out 0.2s;white-space:nowrap;overflow:hidden}:host(.expandable:hover)>span{max-width:20rem;transition:max-width 0.3s ease-out 0s}:host([status=\"warning\"]){background-color:var(--status-warning-yellow-lighter);color:var(--status-warning-yellow-dark);fill:var(--status-warning-yellow-dark)}:host([status=\"warning\"].light){background-color:transparent;color:var(--status-warning-yellow-dark);fill:var(--status-warning-yellow-dark)}:host([status=\"warning\"].dark){background-color:var(--status-warning-yellow-dark);color:var(--status-warning-yellow-lighter);fill:var(--status-warning-yellow-lighter)}:host([status=\"error\"]){background-color:var(--status-error-red-lighter);color:var(--status-error-red-dark);fill:var(--status-error-red-dark)}:host([status=\"error\"].light){background-color:transparent;color:var(--status-error-red-dark);fill:var(--status-error-red-dark)}:host([status=\"error\"].dark){background-color:var(--status-error-red-dark);color:var(--status-error-red-lighter);fill:var(--status-error-red-lighter)}:host([status=\"success\"]){background-color:var(--status-success-green-lighter);color:var(--status-success-green-dark);fill:var(--status-success-green-dark)}:host([status=\"success\"].light){background-color:transparent;color:var(--status-success-green-dark);fill:var(--status-success-green-dark)}:host([status=\"success\"].dark){background-color:var(--status-success-green-dark);color:var(--status-success-green-lighter);fill:var(--status-success-green-lighter)}:host([status=\"default\"]){background-color:var(--myz-blue-lighter);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host([status=\"default\"].light){background-color:transparent;color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host([status=\"default\"].dark){background-color:var(--myz-blue-dark);color:var(--myz-blue-lighter);fill:var(--myz-blue-lighter)}:host([status=\"neutral\"]){background-color:var(--bg-grey-050);color:var(--text-grey-800);fill:var(--text-grey-800)}:host([status=\"neutral\"].light){background-color:transparent;color:var(--text-grey-800);fill:var(--text-grey-800)}:host([status=\"neutral\"].dark){background-color:var(--bg-grey-800);color:var(--text-white);fill:var(--text-white)}";
7
+
8
+ const ZStatusTag = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ /** [optional] Status tag color */
12
+ this.status = StatusTagStatus.default;
13
+ if (!this.icon && !this.text) {
14
+ console.warn("z-status-tag must contain at least one prop between icon and text");
15
+ }
16
+ }
17
+ render() {
18
+ return (h(Host, { class: classnames(this.variant, "body-5-sb", {
19
+ expandable: this.expandable && this.icon && this.text,
20
+ }) }, this.icon && h("z-icon", { name: this.icon }), this.text && h("span", null, this.text)));
21
+ }
22
+ };
23
+ ZStatusTag.style = stylesCss;
24
+
25
+ export { ZStatusTag as z_status_tag };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-2fc5398d.js';
1
+ import { r as registerInstance, h } from './index-b3a91e19.js';
2
2
 
3
3
  const stylesCss = ":host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;top:calc(var(--space-unit) * 4);left:calc(var(--space-unit) * 3);right:calc(var(--space-unit) * 2);z-index:1;content:'';display:block;width:auto;margin:0 calc(-1 * calc(var(--space-unit) * 2)) 0 calc(var(--space-unit) * 2);border-bottom:solid 2px var(--bg-grey-700)}.stepper-item{display:flex;flex-direction:column;align-items:center;width:calc(var(--space-unit) * 5);padding:0;color:inherit;font-family:inherit;font-size:18px;text-decoration:none;line-height:28px;background:transparent;border:0;outline:0;appearance:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));text-align:center}:host(:not([disabled])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}.indicator{content:counter(stepper);box-sizing:border-box;display:flex;justify-content:center;align-items:center;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);margin:calc(var(--space-unit) * 2);font-size:14px;font-weight:var(--font-sb);line-height:1;color:var(--myz-blue);background:var(--bg-white);border:2px solid var(--myz-blue);border-radius:50%}:host([pressed]:not([disabled])) .indicator{color:var(--text-white);background:var(--myz-blue-dark);border-color:var(--myz-blue-dark)}:host(:not([disabled]):focus-within) .indicator{box-shadow:0px 0px 2px 2px var(--accent-dark)}:host([disabled]) .indicator{color:var(--text-grey-700);background:var(--bg-grey-200);border-color:currentColor}@media only screen and (min-width: 768px){:host{width:calc(var(--space-unit) * 10)}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10)}.stepper-item span{display:block}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-2fc5398d.js';
1
+ import { r as registerInstance, h } from './index-b3a91e19.js';
2
2
 
3
3
  const stylesCss = ":host{box-sizing:border-box;position:relative;display:flex;flex-direction:row;width:100%;max-width:100%;margin:0;padding:0;font-family:var(--dashboard-font);font-weight:var(--font-rg);list-style:none}@media only screen and (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";
4
4
 
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, h, a as getElement } from './index-2fc5398d.js';
1
+ import { r as registerInstance, h, a as getElement } from './index-b3a91e19.js';
2
2
 
3
- const stylesCss = ".sc-z-registro-table-body-h{display:table-row-group;width:100%;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
3
+ const stylesCss = ".sc-z-table-body-h{display:table-row-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}.sc-z-table-body-h>z-table-row[expanded].sc-z-table-body+z-table-expanded-row.sc-z-table-body{display:table-row}";
4
4
 
5
- const ZRegistroTableBody = class {
5
+ const ZTableBody = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  }
@@ -15,6 +15,6 @@ const ZRegistroTableBody = class {
15
15
  }
16
16
  get host() { return getElement(this); }
17
17
  };
18
- ZRegistroTableBody.style = stylesCss;
18
+ ZTableBody.style = stylesCss;
19
19
 
20
- export { ZRegistroTableBody as z_registro_table_body };
20
+ export { ZTableBody as z_table_body };
@@ -0,0 +1,32 @@
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-b3a91e19.js';
2
+ import { x as Size, B as ButtonVariantEnum, b as ButtonSizeEnum } from './index-654849a7.js';
3
+ import { c as classnames } from './index-abb47b30.js';
4
+ import './_commonjsHelpers-9943807e.js';
5
+
6
+ const stylesCss = ":host{display:table-cell;background-color:var(--color-white);border-bottom:var(--border-size-small) solid var(--bg-grey-200);font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>.button-container{display:none}:host:hover>.button-container{display:initial}.button-container{position:absolute;right:8px;top:8px;z-index:5}.button-content{position:relative}.contextual-menu-container{display:none;position:absolute;top:calc(100% - var(--space-unit));right:0}.button-container.visible,.contextual-menu-container.visible{display:initial}:host([padding=\"x-small\"]){padding:calc(var(--space-unit) * 0.5)}:host([padding=\"small\"]){padding:calc(var(--space-unit))}:host([padding=\"medium\"]){padding:calc(var(--space-unit) * 2)}:host([padding=\"large\"]){padding:calc(var(--space-unit) * 2.5)}:host([padding=\"special\"]){padding:0}";
7
+
8
+ const ZTableCell = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ /** Set padding size of cell, if special 0px padding will be set */
12
+ this.padding = Size.medium;
13
+ this.isMenuOpened = false;
14
+ }
15
+ handleMenu() {
16
+ this.isMenuOpened = !this.isMenuOpened;
17
+ }
18
+ componentWillRender() {
19
+ this.host.setAttribute("role", "cell");
20
+ }
21
+ render() {
22
+ return (h(Host, null, this.showButton && (h("div", { class: classnames("button-container", {
23
+ visible: this.isMenuOpened,
24
+ }) }, h("div", { class: "button-content" }, h("z-button", { icon: "contextual-menu", variant: ButtonVariantEnum.tertiary, size: ButtonSizeEnum["x-small"], onClick: () => this.handleMenu() }), h("div", { class: classnames("contextual-menu-container", {
25
+ visible: this.isMenuOpened,
26
+ }) }, h("slot", { name: "contextual-menu" }))))), h("slot", null)));
27
+ }
28
+ get host() { return getElement(this); }
29
+ };
30
+ ZTableCell.style = stylesCss;
31
+
32
+ export { ZTableCell as z_table_cell };
@@ -0,0 +1,28 @@
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-b3a91e19.js';
2
+ import { c as classnames } from './index-abb47b30.js';
3
+ import './_commonjsHelpers-9943807e.js';
4
+
5
+ const stylesCss = ".sc-z-table-empty-box-h{display:block;padding:calc(var(--space-unit)) calc(var(--space-unit) * 3)\n calc(var(--space-unit) * 3) calc(var(--space-unit) * 3);background-color:var(--bg-white)}.sc-z-table-empty-box-s>*{margin-top:var(--space-unit)}.cta.sc-z-table-empty-box{display:flex;flex-direction:row;margin-top:calc(var(--space-unit) / 2)}.cta.has2Cta.sc-z-table-empty-box{flex-direction:column}@media only screen and (min-width: 768px){.sc-z-table-empty-box-h{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 7)\n calc(var(--space-unit) * 3) calc(var(--space-unit) * 7)}.sc-z-table-empty-box-s>*{margin-right:calc(var(--space-unit) * 2)}.cta.sc-z-table-empty-box{margin-top:var(--space-unit)}.cta.has2Cta.sc-z-table-empty-box{flex-direction:row}}";
6
+
7
+ const ZTableEmptyBox = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ /** Sets main title message*/
11
+ this.message = "Siamo spiacenti, al momento non sono presenti dati da visualizzare.";
12
+ /** Sets message */
13
+ this.subtitle = "";
14
+ }
15
+ componentWillLoad() {
16
+ this.hasCta1Slot = !!this.hostElement.querySelector('[slot="cta1"]');
17
+ this.hasCta2Slot = !!this.hostElement.querySelector('[slot="cta2"]');
18
+ }
19
+ render() {
20
+ return (h(Host, null, h("z-body", { level: 3, variant: "semibold" }, this.message), h("br", null), !!this.subtitle && (h("z-body", { level: 4, variant: "regular" }, this.subtitle)), (!!this.hasCta1Slot || !!this.hasCta2Slot) && (h("div", { class: classnames("cta", {
21
+ has2Cta: !!this.hasCta1Slot && !!this.hasCta2Slot
22
+ }) }, h("slot", { name: "cta1" }), h("slot", { name: "cta2" })))));
23
+ }
24
+ get hostElement() { return getElement(this); }
25
+ };
26
+ ZTableEmptyBox.style = stylesCss;
27
+
28
+ export { ZTableEmptyBox as z_table_empty_box };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h } from './index-b3a91e19.js';
2
+
3
+ const stylesCss = ":host{background-color:var(--gray50);display:none}:host>td>div.content-container{box-shadow:var(--shadow-2);margin-bottom:calc(var(--space-unit) / 2)}";
4
+
5
+ const ZTableExpandedRow = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ render() {
10
+ return (h("td", { colSpan: this.colSpan }, h("div", { class: "content-container" }, h("slot", null))));
11
+ }
12
+ };
13
+ ZTableExpandedRow.style = stylesCss;
14
+
15
+ export { ZTableExpandedRow as z_table_expanded_row };
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, h, a as getElement } from './index-2fc5398d.js';
1
+ import { r as registerInstance, h, a as getElement } from './index-b3a91e19.js';
2
2
 
3
- const stylesCss = ".sc-z-registro-table-head-h{display:table-header-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
3
+ const stylesCss = ".sc-z-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
4
4
 
5
- const ZRegistroTableHead = class {
5
+ const ZTableFooter = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  }
@@ -14,6 +14,6 @@ const ZRegistroTableHead = class {
14
14
  }
15
15
  get host() { return getElement(this); }
16
16
  };
17
- ZRegistroTableHead.style = stylesCss;
17
+ ZTableFooter.style = stylesCss;
18
18
 
19
- export { ZRegistroTableHead as z_registro_table_head };
19
+ export { ZTableFooter as z_table_footer };
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, h, a as getElement } from './index-2fc5398d.js';
1
+ import { r as registerInstance, h, a as getElement } from './index-b3a91e19.js';
2
2
 
3
- const stylesCss = ".sc-z-registro-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
3
+ const stylesCss = ".sc-z-table-head-h{display:table-header-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
4
4
 
5
- const ZRegistroTableFooter = class {
5
+ const ZTableHead = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  }
@@ -14,6 +14,6 @@ const ZRegistroTableFooter = class {
14
14
  }
15
15
  get host() { return getElement(this); }
16
16
  };
17
- ZRegistroTableFooter.style = stylesCss;
17
+ ZTableHead.style = stylesCss;
18
18
 
19
- export { ZRegistroTableFooter as z_registro_table_footer };
19
+ export { ZTableHead as z_table_head };
@@ -0,0 +1,18 @@
1
+ import { r as registerInstance, h, H as Host } from './index-b3a91e19.js';
2
+
3
+ const stylesCss = "z-table-header-row{display:table-row}z-table-header-row[expandable]>z-table-header:first-child{width:40px;user-select:none;box-sizing:border-box}z-table-header-row[expandable]>z-table-header:nth-child(2){padding-left:8px}";
4
+
5
+ const ZTableHeaderRow = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ _renderExpandHeader() {
10
+ return h("z-table-header", null);
11
+ }
12
+ render() {
13
+ return (h(Host, { role: "row" }, this.expandable && this._renderExpandHeader(), h("slot", null)));
14
+ }
15
+ };
16
+ ZTableHeaderRow.style = stylesCss;
17
+
18
+ export { ZTableHeaderRow as z_table_header_row };
@@ -0,0 +1,84 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-b3a91e19.js';
2
+ import { c as classnames } from './index-abb47b30.js';
3
+ import { x as Size, y as SortDirectionEnum, P as PopoverPosition, B as ButtonVariantEnum, b as ButtonSizeEnum } from './index-654849a7.js';
4
+ import { a as getElementTree } from './utils-417652d9.js';
5
+ import './_commonjsHelpers-9943807e.js';
6
+ import './breakpoints-e07f80e7.js';
7
+
8
+ const stylesCss = ":host{display:table-cell;background-color:var(--gray50);border-bottom:var(--border-size-medium) solid var(--gray200);font-family:var(--dashboard-font);font-weight:var(--font-sb);text-align:start;position:relative}.container{display:flex;align-items:flex-end}:host(.sortable){cursor:pointer}:host([padding=\"x-small\"]){padding:calc(var(--space-unit) * 0.5)}:host([padding=\"small\"]){padding:calc(var(--space-unit))}:host([padding=\"medium\"]){padding:calc(var(--space-unit) * 2)}:host([padding=\"large\"]){padding:calc(var(--space-unit) * 2.5)}:host([padding=\"special\"]){padding:0}.arrow{opacity:1;padding-left:var(--space-unit)}.popover-container{position:absolute;top:var(--space-unit);right:var(--space-unit);display:none}.popover-container.visible{display:block}:host(:hover) .popover-container{display:block}";
9
+
10
+ const ZTableHeader = class {
11
+ constructor(hostRef) {
12
+ registerInstance(this, hostRef);
13
+ this.sort = createEvent(this, "sort", 7);
14
+ /** Set padding size of cell, if special 0px padding will be set */
15
+ this.padding = Size.medium;
16
+ /** [Optional] Default sort order */
17
+ this.defaultSortDirection = SortDirectionEnum.asc;
18
+ this.sortDirection = SortDirectionEnum.none;
19
+ this.isMenuOpened = false;
20
+ this.emitOnSort = this.emitOnSort.bind(this);
21
+ }
22
+ emitOnSort() {
23
+ this.sort.emit({
24
+ columnId: this.columnId,
25
+ sortDirection: this.sortDirection,
26
+ });
27
+ }
28
+ handleSort() {
29
+ if (!this.sortable) {
30
+ return;
31
+ }
32
+ this.sortDirection = (() => {
33
+ switch (this.sortDirection) {
34
+ case SortDirectionEnum.asc:
35
+ return SortDirectionEnum.desc;
36
+ case SortDirectionEnum.desc:
37
+ return SortDirectionEnum.asc;
38
+ case SortDirectionEnum.none:
39
+ return this.defaultSortDirection;
40
+ default:
41
+ return SortDirectionEnum.none;
42
+ }
43
+ })();
44
+ this.emitOnSort();
45
+ }
46
+ handleMenuClick() {
47
+ this.isMenuOpened = !this.isMenuOpened;
48
+ }
49
+ handleOutsideClick(e) {
50
+ const tree = getElementTree(e.target);
51
+ const parent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-popover");
52
+ if (!parent) {
53
+ this.isMenuOpened = false;
54
+ }
55
+ }
56
+ handleClickHeaders(e) {
57
+ const { target } = e;
58
+ const parent = getElementTree(target).find((elem) => elem.nodeName.toLowerCase() === "z-table-header");
59
+ if (!this.sortable || !parent) {
60
+ return;
61
+ }
62
+ const parentColumnId = parent.attributes.getNamedItem("column-id").value;
63
+ const isSortable = target.parentNode.sortable || target.sortable;
64
+ if (parentColumnId !== this.columnId && isSortable) {
65
+ this.sortDirection = SortDirectionEnum.none;
66
+ }
67
+ }
68
+ componentWillRender() {
69
+ this.host.setAttribute("role", "columnheader");
70
+ }
71
+ render() {
72
+ return (h(Host, { class: classnames({
73
+ sortable: this.sortable,
74
+ }), onClick: () => this.handleSort() }, h("div", { class: classnames("container") }, h("slot", null), this.sortable && this.sortDirection !== SortDirectionEnum.none && (h("z-icon", { name: this.sortDirection === SortDirectionEnum.asc
75
+ ? "arrow-up"
76
+ : "arrow-down", class: "arrow" }))), this.showButton && (h("div", { class: classnames("popover-container", {
77
+ visible: this.isMenuOpened,
78
+ }) }, h("z-popover", { position: PopoverPosition["below-center"], "background-color": "gray200" }, h("z-button", { icon: "contextual-menu", variant: ButtonVariantEnum["tertiary"], size: ButtonSizeEnum["x-small"], slot: "trigger", onClick: () => this.handleMenuClick() }), h("div", { slot: "popover" }, h("slot", { name: "contextual-menu" })))))));
79
+ }
80
+ get host() { return getElement(this); }
81
+ };
82
+ ZTableHeader.style = stylesCss;
83
+
84
+ export { ZTableHeader as z_table_header };
@@ -0,0 +1,39 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-b3a91e19.js';
2
+ import { s as ZTableRowExpandedType } from './index-654849a7.js';
3
+
4
+ const stylesCss = "z-table-row{display:table-row;font-family:var(--font-family-sans)}z-table-row[expanded-type=\"expandable\"]:hover{cursor:pointer}z-table-row[expanded-type=\"expandable\"]>z-table-cell:first-child,z-table-row[expanded-type=\"padding\"]>z-table-cell:first-child{--z-icon-width:16px;--z-icon-height:16px;width:24px;padding-left:16px;padding-right:0px;box-sizing:border-box;text-align:center;fill:var(--gray800);user-select:none}.z-icon-placeholder{width:24px;padding-right:0px}z-table-row[expanded-type=\"expandable\"]>z-table-cell:nth-child(2),z-table-row[expanded-type=\"padding\"]>z-table-cell:nth-child(2){padding-left:8px}z-table-row[expanded-type]:hover>z-table-cell:first-child{fill:var(--myz-blue-dark)}z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}z-table-row[expanded]>z-table-cell{border-bottom:none}";
5
+
6
+ const ZTableRow = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.expand = createEvent(this, "expand", 7);
10
+ this.expandedType = ZTableRowExpandedType.none;
11
+ this.expanded = false;
12
+ }
13
+ emitOnExpand() {
14
+ this.expand.emit({ expanded: this.expanded });
15
+ }
16
+ handleExpand() {
17
+ this.expanded = !this.expanded;
18
+ this.emitOnExpand();
19
+ }
20
+ renderExpandButton() {
21
+ if (this.expandedType == ZTableRowExpandedType.expandable) {
22
+ return (h("z-table-cell", { style: { borderRight: "none" } }, h("z-icon", { name: this.expanded ? "minus-circled" : "plus-circled" })));
23
+ }
24
+ return (h("z-table-cell", { style: { borderRight: "none" } }, h("div", { class: "z-icon-placeholder" })));
25
+ }
26
+ render() {
27
+ return (h(Host, { role: "row", expanded: this.expanded, onClick: (event) => {
28
+ const contextualMenuClick = event.target.nodeName === 'Z-CONTEXTUAL-MENU';
29
+ const isExpandable = this.expandedType === ZTableRowExpandedType.expandable;
30
+ if (isExpandable && !contextualMenuClick) {
31
+ this.handleExpand();
32
+ }
33
+ } }, this.expandedType !== ZTableRowExpandedType.none &&
34
+ this.renderExpandButton(), h("slot", null)));
35
+ }
36
+ };
37
+ ZTableRow.style = stylesCss;
38
+
39
+ export { ZTableRow as z_table_row };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h } from './index-b3a91e19.js';
2
+
3
+ const stylesCss = ".sc-z-table-sticky-footer-h{display:block;position:sticky;left:0;padding:var(--basex2);background-color:var(--bg-white);border-style:solid;border-color:var(--gray200);border-width:var(--border-size-small) 0 var(--border-base);font-weight:var(--font-rg)}";
4
+
5
+ const ZTableStickyFooter = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ render() {
10
+ return (h("slot", null));
11
+ }
12
+ };
13
+ ZTableStickyFooter.style = stylesCss;
14
+
15
+ export { ZTableStickyFooter as z_table_sticky_footer };
@@ -0,0 +1,78 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-b3a91e19.js';
2
+ import { B as ButtonVariantEnum, b as ButtonSizeEnum } from './index-654849a7.js';
3
+ import { m as mobileBreakpoint } from './breakpoints-e07f80e7.js';
4
+
5
+ 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}}";
6
+
7
+ const ZTable = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.callToAction = createEvent(this, "callToAction", 7);
11
+ this.callToActionTwo = createEvent(this, "callToActionTwo", 7);
12
+ /** Error message */
13
+ this.errorMessage = "Siamo spiacenti, non siamo riusciti a caricare il contenuto richiesto";
14
+ /** Sets table with border */
15
+ this.bordered = false;
16
+ /** Sets first column sticky */
17
+ this.columnSticky = false;
18
+ /** Sets empty table */
19
+ this.empty = false;
20
+ /** Set error status */
21
+ this.error = false;
22
+ /** Sets header sticky */
23
+ this.headerSticky = false;
24
+ /** Set message */
25
+ this.message = "Siamo spiacenti, al momento non sono presenti dati da visualizzare";
26
+ /** Set subtitle */
27
+ this.subtitle = "";
28
+ }
29
+ handleResize() {
30
+ this.isMobile = window.innerWidth <= mobileBreakpoint;
31
+ }
32
+ handleOrientationChange() {
33
+ this.isMobile = screen.width <= mobileBreakpoint;
34
+ }
35
+ componentWillLoad() {
36
+ var _a;
37
+ this.isMobile = window.innerWidth <= mobileBreakpoint;
38
+ const tableBody = this.host.querySelector('[slot="table-body"]');
39
+ this.hasTableBody = !!((_a = tableBody === null || tableBody === void 0 ? void 0 : tableBody.children) === null || _a === void 0 ? void 0 : _a.length);
40
+ if (!!tableBody && !this.hasTableBody) {
41
+ tableBody.remove();
42
+ }
43
+ }
44
+ componentWillRender() {
45
+ this.host.setAttribute("role", "table");
46
+ }
47
+ renderError(tableClass) {
48
+ const minHeight = this.lines ? `calc(40px * ${this.lines})` : "auto";
49
+ return (h(Host, null, h("div", { class: tableClass }, h("slot", { name: "table-header" })), h("z-table-error", null, h("div", { class: "error-content", style: { minHeight } }, h("slot", { name: "error-image" }), h("div", { class: "text" }, h("z-body", { class: "error-message", level: 3, variant: "semibold" }, this.errorMessage), h("slot", { name: "error-action" }))))));
50
+ }
51
+ renderEmpty(tableClass) {
52
+ const buttonSize = this.isMobile
53
+ ? ButtonSizeEnum.small
54
+ : ButtonSizeEnum.big;
55
+ const tableContentClass = `${!!this.hasTableBody ? "table-content" : ""}`;
56
+ if (this.hasTableBody) {
57
+ return (h(Host, null, h("div", { class: tableClass }, h("slot", { name: "table-header" }), h("div", { class: tableContentClass }, h("slot", { name: "table-body" }), h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (h("z-button", { slot: "cta1", variant: ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (h("z-button", { slot: "cta2", variant: ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))))));
58
+ }
59
+ return (h(Host, null, h("div", { class: tableClass }, h("slot", { name: "table-header" })), h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (h("z-button", { slot: "cta1", variant: ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (h("z-button", { slot: "cta2", variant: ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))));
60
+ }
61
+ render() {
62
+ const tableClass = `table ${this.empty ? "table-empty" : ""} ${this.bordered ? "table-bordered" : ""}
63
+ ${this.columnSticky ? "table-column-sticky" : ""}
64
+ ${this.headerSticky ? "table-header-sticky" : ""}`;
65
+ if (this.error) {
66
+ return this.renderError(tableClass);
67
+ }
68
+ if (this.empty) {
69
+ return this.renderEmpty(tableClass);
70
+ }
71
+ return (h(Host, null, h("div", { class: tableClass }, h("slot", null)), h("slot", { name: "sticky-footer" })));
72
+ }
73
+ static get assetsDirs() { return ["assets"]; }
74
+ get host() { return getElement(this); }
75
+ };
76
+ ZTable.style = stylesCss;
77
+
78
+ export { ZTable as z_table };
@@ -0,0 +1,18 @@
1
+ import { r as registerInstance, h, H as Host } from './index-b3a91e19.js';
2
+
3
+ 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%}";
4
+
5
+ const ZTag = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ render() {
10
+ return (h(Host, { class: {
11
+ "body-5-sb": true,
12
+ expandable: this.expandable && !!this.icon,
13
+ } }, this.icon && h("z-icon", { name: this.icon }), h("div", null, h("slot", null))));
14
+ }
15
+ };
16
+ ZTag.style = stylesCss;
17
+
18
+ export { ZTag as z_tag };
@@ -0,0 +1,52 @@
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-b3a91e19.js';
2
+ import { u as ToastNotificationPositionsEnum } from './index-654849a7.js';
3
+
4
+ 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}}";
5
+
6
+ const ZToastNotificationList = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ /**Set the entry position of new notification in the list */
10
+ this.newestontop = true;
11
+ this.slotChangeHandler = () => {
12
+ const difference = Array.from(this.hostElement.children).filter((elem) => !this.notificationArray.includes(elem));
13
+ if (difference) {
14
+ difference.forEach((elem) => {
15
+ this.notificationArray.push(elem);
16
+ const newElem = elem;
17
+ elem.remove();
18
+ this.hostElement.prepend(newElem);
19
+ });
20
+ }
21
+ };
22
+ }
23
+ watchPropNewestontop(newValue) {
24
+ this.hostElement.append(...this.notificationArray.reverse());
25
+ if (newValue) {
26
+ this.hostElement.shadowRoot.addEventListener("slotchange", this.slotChangeHandler);
27
+ }
28
+ else {
29
+ this.hostElement.shadowRoot.removeEventListener("slotchange", this.slotChangeHandler);
30
+ }
31
+ }
32
+ componentWillLoad() {
33
+ this.newestontop && this.handleNewestOnTop();
34
+ }
35
+ handleNewestOnTop() {
36
+ this.notificationArray = Array.from(this.hostElement.children);
37
+ this.hostElement.append(...this.notificationArray.reverse());
38
+ this.hostElement.shadowRoot.addEventListener("slotchange", this.slotChangeHandler);
39
+ }
40
+ render() {
41
+ return (h(Host, { class: this.position
42
+ ? this.position
43
+ : ToastNotificationPositionsEnum.topRight }, h("slot", { name: "toasts" })));
44
+ }
45
+ get hostElement() { return getElement(this); }
46
+ static get watchers() { return {
47
+ "newestontop": ["watchPropNewestontop"]
48
+ }; }
49
+ };
50
+ ZToastNotificationList.style = stylesCss;
51
+
52
+ export { ZToastNotificationList as z_toast_notification_list };