@zanichelli/delta_share 2.0.13 → 2.0.14

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 (358) hide show
  1. package/dist/wc/cjs/delta_share.cjs.js +1 -1
  2. package/dist/wc/cjs/icons-9d7fe21e.js +751 -0
  3. package/dist/wc/cjs/index-1112cdb1.js +311 -0
  4. package/dist/wc/cjs/{license-activation_13.cjs.entry.js → license-activation_11.cjs.entry.js} +189 -144
  5. package/dist/wc/cjs/loader.cjs.js +1 -1
  6. package/dist/wc/cjs/utils-2bfaab77.js +2706 -0
  7. package/dist/wc/cjs/{utils-8a10bba9.js → utils-3ac19501.js} +9 -10
  8. package/dist/wc/cjs/z-alert.cjs.entry.js +1 -1
  9. package/dist/wc/cjs/z-anchor-navigation.cjs.entry.js +53 -0
  10. package/dist/wc/cjs/z-app-header.cjs.entry.js +21 -19
  11. package/dist/wc/cjs/z-app-switcher.cjs.entry.js +3 -3
  12. package/dist/wc/cjs/z-aria-alert.cjs.entry.js +3 -2
  13. package/dist/wc/cjs/z-avatar.cjs.entry.js +8 -7
  14. package/dist/wc/cjs/z-body_2.cjs.entry.js +42 -0
  15. package/dist/wc/cjs/z-button-sort.cjs.entry.js +4 -5
  16. package/dist/wc/cjs/z-card.cjs.entry.js +15 -18
  17. package/dist/wc/cjs/z-carousel.cjs.entry.js +126 -4
  18. package/dist/wc/cjs/z-chip.cjs.entry.js +6 -6
  19. package/dist/wc/cjs/z-combobox.cjs.entry.js +65 -36
  20. package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +13 -7
  21. package/dist/wc/cjs/z-cover-hero.cjs.entry.js +40 -0
  22. package/dist/wc/cjs/z-date-picker.cjs.entry.js +104 -2731
  23. package/dist/wc/cjs/z-divider.cjs.entry.js +3 -3
  24. package/dist/wc/cjs/z-dragdrop-area_2.cjs.entry.js +3 -2
  25. package/dist/wc/cjs/z-file-upload.cjs.entry.js +42 -29
  26. package/dist/wc/cjs/z-file.cjs.entry.js +11 -10
  27. package/dist/wc/cjs/z-ghost-loading.cjs.entry.js +2 -2
  28. package/dist/wc/cjs/z-info-reveal.cjs.entry.js +65 -0
  29. package/dist/wc/cjs/z-list_3.cjs.entry.js +261 -0
  30. package/dist/wc/cjs/z-logo.cjs.entry.js +2 -4
  31. package/dist/wc/cjs/z-menu-section.cjs.entry.js +2 -2
  32. package/dist/wc/cjs/z-menu.cjs.entry.js +9 -12
  33. package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +6 -6
  34. package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +7 -7
  35. package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +3 -3
  36. package/dist/wc/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  37. package/dist/wc/cjs/z-myz-card-footer.cjs.entry.js +10 -9
  38. package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +3 -1
  39. package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +26 -16
  40. package/dist/wc/cjs/z-myz-card-list.cjs.entry.js +3 -2
  41. package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +17 -13
  42. package/dist/wc/cjs/z-myz-list-item.cjs.entry.js +3 -3
  43. package/dist/wc/cjs/z-myz-list.cjs.entry.js +35 -0
  44. package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +10 -10
  45. package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +11 -11
  46. package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +20 -20
  47. package/dist/wc/cjs/z-notification.cjs.entry.js +2 -7
  48. package/dist/wc/cjs/z-offcanvas.cjs.entry.js +21 -14
  49. package/dist/wc/cjs/z-otp.cjs.entry.js +17 -17
  50. package/dist/wc/cjs/z-pagination.cjs.entry.js +14 -14
  51. package/dist/wc/cjs/z-panel-elem.cjs.entry.js +3 -3
  52. package/dist/wc/cjs/z-pocket-message.cjs.entry.js +2 -2
  53. package/dist/wc/cjs/z-pocket_3.cjs.entry.js +18 -18
  54. package/dist/wc/cjs/z-popover.cjs.entry.js +293 -98
  55. package/dist/wc/cjs/z-range-picker.cjs.entry.js +343 -0
  56. package/dist/wc/cjs/z-searchbar.cjs.entry.js +235 -0
  57. package/dist/wc/cjs/z-section-title.cjs.entry.js +4 -13
  58. package/dist/wc/cjs/z-select.cjs.entry.js +325 -0
  59. package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +18 -20
  60. package/dist/wc/cjs/z-slideshow.cjs.entry.js +28 -11
  61. package/dist/wc/cjs/z-stepper-item.cjs.entry.js +1 -1
  62. package/dist/wc/cjs/z-stepper.cjs.entry.js +2 -2
  63. package/dist/wc/cjs/z-table-cell.cjs.entry.js +10 -10
  64. package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +5 -6
  65. package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +1 -1
  66. package/dist/wc/cjs/z-table-header-row.cjs.entry.js +3 -3
  67. package/dist/wc/cjs/z-table-header.cjs.entry.js +20 -26
  68. package/dist/wc/cjs/z-table-row.cjs.entry.js +9 -9
  69. package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +2 -2
  70. package/dist/wc/cjs/z-table.cjs.entry.js +6 -8
  71. package/dist/wc/cjs/z-tag.cjs.entry.js +2 -2
  72. package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +16 -16
  73. package/dist/wc/cjs/z-toast-notification.cjs.entry.js +37 -40
  74. package/dist/wc/cjs/z-toggle-button.cjs.entry.js +7 -9
  75. package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +18 -16
  76. package/dist/wc/cjs/z-tooltip.cjs.entry.js +8 -251
  77. package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +1 -1
  78. package/dist/wc/collection/collection-manifest.json +5 -20
  79. package/dist/wc/collection/components/license-activation-form/license-activation-form.css +2 -1
  80. package/dist/wc/collection/components/license-activation-form/license-activation-form.js +11 -6
  81. package/dist/wc/collection/components/license-activation-modal/license-activation-modal.js +4 -13
  82. package/dist/wc/custom-elements/index.js +3383 -3319
  83. package/dist/wc/delta_share/delta_share.esm.js +1 -1
  84. package/dist/wc/delta_share/{p-cfc122de.entry.js → p-0434c900.entry.js} +1 -1
  85. package/dist/wc/delta_share/p-063881e2.entry.js +1 -0
  86. package/dist/wc/delta_share/p-0aa553ea.entry.js +1 -0
  87. package/dist/wc/delta_share/p-0bb97b61.js +1 -0
  88. package/dist/wc/delta_share/p-0bff6d57.entry.js +1 -0
  89. package/dist/wc/delta_share/p-0cee6faa.entry.js +1 -0
  90. package/dist/wc/delta_share/p-1009b417.entry.js +1 -0
  91. package/dist/wc/delta_share/p-1d2cb6f9.entry.js +1 -0
  92. package/dist/wc/delta_share/p-23905d08.entry.js +1 -0
  93. package/dist/wc/delta_share/p-29310a24.entry.js +1 -0
  94. package/dist/wc/delta_share/p-2f289949.entry.js +1 -0
  95. package/dist/wc/delta_share/p-302c022a.entry.js +1 -0
  96. package/dist/wc/delta_share/p-3cf0c6a5.entry.js +1 -0
  97. package/dist/wc/delta_share/p-3fa29874.entry.js +1 -0
  98. package/dist/wc/delta_share/p-42dd4f36.entry.js +1 -0
  99. package/dist/wc/delta_share/p-42e9c740.entry.js +1 -0
  100. package/dist/wc/delta_share/p-45dcece4.entry.js +1 -0
  101. package/dist/wc/delta_share/p-48384226.entry.js +1 -0
  102. package/dist/wc/delta_share/p-4eb940ca.entry.js +1 -0
  103. package/dist/wc/delta_share/p-500ff0dd.entry.js +1 -0
  104. package/dist/wc/delta_share/p-5530ca81.entry.js +1 -0
  105. package/dist/wc/delta_share/p-57f2b8d8.entry.js +1 -0
  106. package/dist/wc/delta_share/p-5e503d5f.entry.js +1 -0
  107. package/dist/wc/delta_share/{p-43ae8e0a.entry.js → p-61264c72.entry.js} +1 -1
  108. package/dist/wc/delta_share/p-64decd7d.entry.js +1 -0
  109. package/dist/wc/delta_share/p-65be6de6.entry.js +1 -0
  110. package/dist/wc/delta_share/p-6c54d53f.entry.js +1 -0
  111. package/dist/wc/delta_share/p-6cb8def6.entry.js +1 -0
  112. package/dist/wc/delta_share/p-6d853df0.entry.js +1 -0
  113. package/dist/wc/delta_share/{p-6a39042b.entry.js → p-702dd7b4.entry.js} +1 -1
  114. package/dist/wc/delta_share/p-74b71f61.entry.js +1 -0
  115. package/dist/wc/delta_share/p-7546c464.entry.js +1 -0
  116. package/dist/wc/delta_share/p-78d71789.js +1 -0
  117. package/dist/wc/delta_share/{p-91a4ef35.js → p-7ae0c21f.js} +1 -1
  118. package/dist/wc/delta_share/p-81ddcb87.entry.js +1 -0
  119. package/dist/wc/delta_share/p-829539a5.entry.js +1 -0
  120. package/dist/wc/delta_share/p-8710e686.entry.js +1 -0
  121. package/dist/wc/delta_share/p-8794c0c7.entry.js +1 -0
  122. package/dist/wc/delta_share/p-8825d8e4.entry.js +1 -0
  123. package/dist/wc/delta_share/p-8876b438.entry.js +16 -0
  124. package/dist/wc/delta_share/p-8cc7c2c7.entry.js +1 -0
  125. package/dist/wc/delta_share/{p-06543221.entry.js → p-8d532866.entry.js} +1 -1
  126. package/dist/wc/delta_share/{p-cccef23b.entry.js → p-8d91a5b7.entry.js} +1 -1
  127. package/dist/wc/delta_share/p-925fc6c3.entry.js +1 -0
  128. package/dist/wc/delta_share/p-950aa417.entry.js +1 -0
  129. package/dist/wc/delta_share/p-963999a8.entry.js +1 -0
  130. package/dist/wc/delta_share/p-963f64a8.entry.js +1 -0
  131. package/dist/wc/delta_share/{p-b1b05625.entry.js → p-982608ce.entry.js} +1 -1
  132. package/dist/wc/delta_share/{p-94df01a9.entry.js → p-9ad5616e.entry.js} +1 -1
  133. package/dist/wc/delta_share/p-9e5596cd.entry.js +1 -0
  134. package/dist/wc/delta_share/p-a2b564ef.entry.js +1 -0
  135. package/dist/wc/delta_share/{p-06b89fb4.entry.js → p-a64544de.entry.js} +1 -1
  136. package/dist/wc/delta_share/p-a6b403f9.entry.js +1 -0
  137. package/dist/wc/delta_share/{p-e7932e20.entry.js → p-a815651c.entry.js} +1 -1
  138. package/dist/wc/delta_share/p-afb5bfe5.entry.js +1 -0
  139. package/dist/wc/delta_share/p-b16fd965.entry.js +1 -0
  140. package/dist/wc/delta_share/p-b38b27f2.entry.js +1 -0
  141. package/dist/wc/delta_share/{p-dec6ab35.entry.js → p-bc10cf1a.entry.js} +1 -1
  142. package/dist/wc/delta_share/p-bcb29c7a.entry.js +1 -0
  143. package/dist/wc/delta_share/p-c2aef9f6.entry.js +1 -0
  144. package/dist/wc/delta_share/p-c31b160e.entry.js +1 -0
  145. package/dist/wc/delta_share/p-c41efa42.entry.js +3 -0
  146. package/dist/wc/delta_share/p-c436e1af.entry.js +1 -0
  147. package/dist/wc/delta_share/p-c51ebb01.entry.js +1 -0
  148. package/dist/wc/delta_share/p-c885d25c.entry.js +1 -0
  149. package/dist/wc/delta_share/p-c9df8e5d.entry.js +1 -0
  150. package/dist/wc/delta_share/p-cb16715b.entry.js +1 -0
  151. package/dist/wc/delta_share/p-cf58d833.js +1 -0
  152. package/dist/wc/delta_share/p-d2715819.entry.js +1 -0
  153. package/dist/wc/delta_share/{p-91af6142.entry.js → p-d69c3b08.entry.js} +1 -1
  154. package/dist/wc/delta_share/p-d8e80ee8.entry.js +1 -0
  155. package/dist/wc/delta_share/p-ea6c67f2.entry.js +1 -0
  156. package/dist/wc/delta_share/p-ee0a8f1f.entry.js +1 -0
  157. package/dist/wc/delta_share/p-f0453d1c.entry.js +1 -0
  158. package/dist/wc/delta_share/p-fc49c455.entry.js +1 -0
  159. package/dist/wc/esm/delta_share.js +1 -1
  160. package/dist/wc/esm/icons-7a34b033.js +749 -0
  161. package/dist/wc/esm/index-4f1e2705.js +311 -0
  162. package/dist/wc/esm/{license-activation_13.entry.js → license-activation_11.entry.js} +190 -143
  163. package/dist/wc/esm/loader.js +1 -1
  164. package/dist/wc/esm/{utils-417652d9.js → utils-5a24a17b.js} +10 -11
  165. package/dist/wc/esm/utils-711517a4.js +2700 -0
  166. package/dist/wc/esm/z-alert.entry.js +1 -1
  167. package/dist/wc/esm/z-anchor-navigation.entry.js +49 -0
  168. package/dist/wc/esm/z-app-header.entry.js +21 -19
  169. package/dist/wc/esm/z-app-switcher.entry.js +3 -3
  170. package/dist/wc/esm/z-aria-alert.entry.js +3 -2
  171. package/dist/wc/esm/z-avatar.entry.js +8 -7
  172. package/dist/wc/esm/z-body_2.entry.js +37 -0
  173. package/dist/wc/esm/z-button-sort.entry.js +4 -5
  174. package/dist/wc/esm/z-card.entry.js +16 -19
  175. package/dist/wc/esm/z-carousel.entry.js +127 -5
  176. package/dist/wc/esm/z-chip.entry.js +6 -6
  177. package/dist/wc/esm/z-combobox.entry.js +65 -36
  178. package/dist/wc/esm/z-contextual-menu.entry.js +13 -7
  179. package/dist/wc/esm/z-cover-hero.entry.js +36 -0
  180. package/dist/wc/esm/z-date-picker.entry.js +103 -2730
  181. package/dist/wc/esm/z-divider.entry.js +3 -3
  182. package/dist/wc/esm/z-dragdrop-area_2.entry.js +3 -2
  183. package/dist/wc/esm/z-file-upload.entry.js +43 -30
  184. package/dist/wc/esm/z-file.entry.js +11 -10
  185. package/dist/wc/esm/z-ghost-loading.entry.js +2 -2
  186. package/dist/wc/esm/z-info-reveal.entry.js +61 -0
  187. package/dist/wc/esm/z-list_3.entry.js +255 -0
  188. package/dist/wc/esm/z-logo.entry.js +2 -4
  189. package/dist/wc/esm/z-menu-section.entry.js +2 -2
  190. package/dist/wc/esm/z-menu.entry.js +10 -13
  191. package/dist/wc/esm/z-messages-pocket.entry.js +6 -6
  192. package/dist/wc/esm/z-myz-card-alert.entry.js +7 -7
  193. package/dist/wc/esm/z-myz-card-dictionary.entry.js +3 -3
  194. package/dist/wc/esm/z-myz-card-footer-sections.entry.js +1 -1
  195. package/dist/wc/esm/z-myz-card-footer.entry.js +10 -9
  196. package/dist/wc/esm/z-myz-card-icon.entry.js +3 -1
  197. package/dist/wc/esm/z-myz-card-info.entry.js +26 -16
  198. package/dist/wc/esm/z-myz-card-list.entry.js +3 -2
  199. package/dist/wc/esm/z-myz-card_4.entry.js +17 -13
  200. package/dist/wc/esm/z-myz-list-item.entry.js +3 -3
  201. package/dist/wc/esm/z-myz-list.entry.js +31 -0
  202. package/dist/wc/esm/z-navigation-tab-link.entry.js +10 -10
  203. package/dist/wc/esm/z-navigation-tab.entry.js +11 -11
  204. package/dist/wc/esm/z-navigation-tabs.entry.js +20 -20
  205. package/dist/wc/esm/z-notification.entry.js +3 -8
  206. package/dist/wc/esm/z-offcanvas.entry.js +22 -15
  207. package/dist/wc/esm/z-otp.entry.js +17 -17
  208. package/dist/wc/esm/z-pagination.entry.js +15 -15
  209. package/dist/wc/esm/z-panel-elem.entry.js +3 -3
  210. package/dist/wc/esm/z-pocket-message.entry.js +2 -2
  211. package/dist/wc/esm/z-pocket_3.entry.js +18 -18
  212. package/dist/wc/esm/z-popover.entry.js +294 -99
  213. package/dist/wc/esm/z-range-picker.entry.js +339 -0
  214. package/dist/wc/esm/z-searchbar.entry.js +231 -0
  215. package/dist/wc/esm/z-section-title.entry.js +5 -14
  216. package/dist/wc/esm/z-select.entry.js +321 -0
  217. package/dist/wc/esm/z-skip-to-content.entry.js +18 -20
  218. package/dist/wc/esm/z-slideshow.entry.js +28 -11
  219. package/dist/wc/esm/z-stepper-item.entry.js +1 -1
  220. package/dist/wc/esm/z-stepper.entry.js +2 -2
  221. package/dist/wc/esm/z-table-cell.entry.js +10 -10
  222. package/dist/wc/esm/z-table-empty-box.entry.js +5 -6
  223. package/dist/wc/esm/z-table-expanded-row.entry.js +1 -1
  224. package/dist/wc/esm/z-table-header-row.entry.js +3 -3
  225. package/dist/wc/esm/z-table-header.entry.js +20 -26
  226. package/dist/wc/esm/z-table-row.entry.js +9 -9
  227. package/dist/wc/esm/z-table-sticky-footer.entry.js +2 -2
  228. package/dist/wc/esm/z-table.entry.js +6 -8
  229. package/dist/wc/esm/z-tag.entry.js +2 -2
  230. package/dist/wc/esm/z-toast-notification-list.entry.js +17 -17
  231. package/dist/wc/esm/z-toast-notification.entry.js +37 -40
  232. package/dist/wc/esm/z-toggle-button.entry.js +7 -9
  233. package/dist/wc/esm/z-toggle-switch.entry.js +19 -17
  234. package/dist/wc/esm/z-tooltip.entry.js +9 -252
  235. package/dist/wc/esm/z-visually-hidden.entry.js +1 -1
  236. package/dist/wc/types/components/license-activation-form/license-activation-form.d.ts +2 -2
  237. package/dist/wc/types/components/license-activation-modal/license-activation-modal.d.ts +2 -3
  238. package/package.json +1 -1
  239. package/dist/wc/cjs/icons-2aca6c75.js +0 -513
  240. package/dist/wc/cjs/index-1fda0714.js +0 -60
  241. package/dist/wc/cjs/index-9c6fd1db.js +0 -315
  242. package/dist/wc/cjs/z-app-topbar.cjs.entry.js +0 -41
  243. package/dist/wc/cjs/z-button-deprecated.cjs.entry.js +0 -38
  244. package/dist/wc/cjs/z-button-filter.cjs.entry.js +0 -49
  245. package/dist/wc/cjs/z-candybar.cjs.entry.js +0 -19
  246. package/dist/wc/cjs/z-chip-deprecated.cjs.entry.js +0 -24
  247. package/dist/wc/cjs/z-cookiebar.cjs.entry.js +0 -42
  248. package/dist/wc/cjs/z-footer-link_3.cjs.entry.js +0 -49
  249. package/dist/wc/cjs/z-footer.cjs.entry.js +0 -107
  250. package/dist/wc/cjs/z-icon-package.cjs.entry.js +0 -23
  251. package/dist/wc/cjs/z-input-deprecated.cjs.entry.js +0 -271
  252. package/dist/wc/cjs/z-input-label_2.cjs.entry.js +0 -272
  253. package/dist/wc/cjs/z-list-group.cjs.entry.js +0 -54
  254. package/dist/wc/cjs/z-list_2.cjs.entry.js +0 -179
  255. package/dist/wc/cjs/z-menu-dropdown_2.cjs.entry.js +0 -89
  256. package/dist/wc/cjs/z-modal-login.cjs.entry.js +0 -82
  257. package/dist/wc/cjs/z-myz-topbar.cjs.entry.js +0 -194
  258. package/dist/wc/cjs/z-pagination-bar.cjs.entry.js +0 -128
  259. package/dist/wc/cjs/z-pagination-page.cjs.entry.js +0 -25
  260. package/dist/wc/cjs/z-status-tag.cjs.entry.js +0 -29
  261. package/dist/wc/cjs/z-user-dropdown.cjs.entry.js +0 -95
  262. package/dist/wc/delta_share/p-0b0179c7.js +0 -1
  263. package/dist/wc/delta_share/p-103f926c.entry.js +0 -1
  264. package/dist/wc/delta_share/p-11b446d7.entry.js +0 -1
  265. package/dist/wc/delta_share/p-13093633.entry.js +0 -1
  266. package/dist/wc/delta_share/p-20c14e4e.entry.js +0 -1
  267. package/dist/wc/delta_share/p-243df9e5.entry.js +0 -1
  268. package/dist/wc/delta_share/p-244accd2.entry.js +0 -1
  269. package/dist/wc/delta_share/p-261611b1.js +0 -1
  270. package/dist/wc/delta_share/p-286363e2.js +0 -7
  271. package/dist/wc/delta_share/p-29729c73.entry.js +0 -1
  272. package/dist/wc/delta_share/p-29cb5018.entry.js +0 -1
  273. package/dist/wc/delta_share/p-29d111de.entry.js +0 -1
  274. package/dist/wc/delta_share/p-2b05751b.entry.js +0 -1
  275. package/dist/wc/delta_share/p-32975e01.entry.js +0 -1
  276. package/dist/wc/delta_share/p-32d34db1.entry.js +0 -1
  277. package/dist/wc/delta_share/p-3341f25e.entry.js +0 -1
  278. package/dist/wc/delta_share/p-33fb12fc.entry.js +0 -1
  279. package/dist/wc/delta_share/p-36955fc5.entry.js +0 -1
  280. package/dist/wc/delta_share/p-39440988.entry.js +0 -1
  281. package/dist/wc/delta_share/p-3bb7f110.entry.js +0 -1
  282. package/dist/wc/delta_share/p-3f61bc0d.entry.js +0 -1
  283. package/dist/wc/delta_share/p-422f29e8.entry.js +0 -1
  284. package/dist/wc/delta_share/p-44eba966.entry.js +0 -1
  285. package/dist/wc/delta_share/p-464dc49d.entry.js +0 -1
  286. package/dist/wc/delta_share/p-5374191c.entry.js +0 -16
  287. package/dist/wc/delta_share/p-5559856c.entry.js +0 -1
  288. package/dist/wc/delta_share/p-55ecb7aa.entry.js +0 -1
  289. package/dist/wc/delta_share/p-5af0e3cd.entry.js +0 -1
  290. package/dist/wc/delta_share/p-5b320481.entry.js +0 -1
  291. package/dist/wc/delta_share/p-5d085d01.entry.js +0 -1
  292. package/dist/wc/delta_share/p-5e9898dd.entry.js +0 -1
  293. package/dist/wc/delta_share/p-6422731e.entry.js +0 -1
  294. package/dist/wc/delta_share/p-64ffaf7b.entry.js +0 -1
  295. package/dist/wc/delta_share/p-6613eeee.entry.js +0 -1
  296. package/dist/wc/delta_share/p-6a9fb59c.entry.js +0 -1
  297. package/dist/wc/delta_share/p-6f7064dc.entry.js +0 -1
  298. package/dist/wc/delta_share/p-767a8d6e.entry.js +0 -1
  299. package/dist/wc/delta_share/p-76cfb0be.entry.js +0 -1
  300. package/dist/wc/delta_share/p-7f71c41e.entry.js +0 -1
  301. package/dist/wc/delta_share/p-8b6617d8.entry.js +0 -1
  302. package/dist/wc/delta_share/p-8fb4a4ea.entry.js +0 -1
  303. package/dist/wc/delta_share/p-94b8f342.entry.js +0 -1
  304. package/dist/wc/delta_share/p-9656b290.entry.js +0 -1
  305. package/dist/wc/delta_share/p-97e4d621.entry.js +0 -1
  306. package/dist/wc/delta_share/p-98853ba5.entry.js +0 -1
  307. package/dist/wc/delta_share/p-9c147330.entry.js +0 -1
  308. package/dist/wc/delta_share/p-9d35fb61.entry.js +0 -1
  309. package/dist/wc/delta_share/p-a0663266.entry.js +0 -1
  310. package/dist/wc/delta_share/p-a823768b.entry.js +0 -1
  311. package/dist/wc/delta_share/p-b1c1f030.entry.js +0 -1
  312. package/dist/wc/delta_share/p-bb38e604.entry.js +0 -1
  313. package/dist/wc/delta_share/p-bcb49d1a.entry.js +0 -1
  314. package/dist/wc/delta_share/p-c2dde3b3.entry.js +0 -1
  315. package/dist/wc/delta_share/p-c750a121.entry.js +0 -3
  316. package/dist/wc/delta_share/p-cd42e0b5.entry.js +0 -1
  317. package/dist/wc/delta_share/p-d282ce22.entry.js +0 -1
  318. package/dist/wc/delta_share/p-d610565d.entry.js +0 -1
  319. package/dist/wc/delta_share/p-da0b941f.entry.js +0 -1
  320. package/dist/wc/delta_share/p-da8144e5.entry.js +0 -1
  321. package/dist/wc/delta_share/p-dafefe1f.entry.js +0 -1
  322. package/dist/wc/delta_share/p-dc148f92.entry.js +0 -1
  323. package/dist/wc/delta_share/p-dd50dd54.entry.js +0 -1
  324. package/dist/wc/delta_share/p-de117646.entry.js +0 -1
  325. package/dist/wc/delta_share/p-e37c7b62.entry.js +0 -1
  326. package/dist/wc/delta_share/p-e9412ef0.entry.js +0 -1
  327. package/dist/wc/delta_share/p-ea6c7be0.entry.js +0 -1
  328. package/dist/wc/delta_share/p-ebb9a3f9.entry.js +0 -1
  329. package/dist/wc/delta_share/p-ee76ecea.entry.js +0 -1
  330. package/dist/wc/delta_share/p-f2323f2a.entry.js +0 -1
  331. package/dist/wc/delta_share/p-f441efc3.entry.js +0 -1
  332. package/dist/wc/delta_share/p-f531a563.entry.js +0 -1
  333. package/dist/wc/delta_share/p-fa3d96ab.entry.js +0 -1
  334. package/dist/wc/delta_share/p-fd83d815.entry.js +0 -1
  335. package/dist/wc/delta_share/p-ff2508eb.entry.js +0 -1
  336. package/dist/wc/esm/icons-74713b55.js +0 -511
  337. package/dist/wc/esm/index-654849a7.js +0 -315
  338. package/dist/wc/esm/index-abb47b30.js +0 -58
  339. package/dist/wc/esm/z-app-topbar.entry.js +0 -37
  340. package/dist/wc/esm/z-button-deprecated.entry.js +0 -34
  341. package/dist/wc/esm/z-button-filter.entry.js +0 -45
  342. package/dist/wc/esm/z-candybar.entry.js +0 -15
  343. package/dist/wc/esm/z-chip-deprecated.entry.js +0 -20
  344. package/dist/wc/esm/z-cookiebar.entry.js +0 -38
  345. package/dist/wc/esm/z-footer-link_3.entry.js +0 -43
  346. package/dist/wc/esm/z-footer.entry.js +0 -103
  347. package/dist/wc/esm/z-icon-package.entry.js +0 -19
  348. package/dist/wc/esm/z-input-deprecated.entry.js +0 -267
  349. package/dist/wc/esm/z-input-label_2.entry.js +0 -267
  350. package/dist/wc/esm/z-list-group.entry.js +0 -50
  351. package/dist/wc/esm/z-list_2.entry.js +0 -174
  352. package/dist/wc/esm/z-menu-dropdown_2.entry.js +0 -84
  353. package/dist/wc/esm/z-modal-login.entry.js +0 -78
  354. package/dist/wc/esm/z-myz-topbar.entry.js +0 -190
  355. package/dist/wc/esm/z-pagination-bar.entry.js +0 -124
  356. package/dist/wc/esm/z-pagination-page.entry.js +0 -21
  357. package/dist/wc/esm/z-status-tag.entry.js +0 -25
  358. package/dist/wc/esm/z-user-dropdown.entry.js +0 -91
@@ -1,16 +1,16 @@
1
1
  import { r as registerInstance, c as createEvent, h, a as getElement } from './index-b3a91e19.js';
2
- import { h as ZChipType, D as DeviceEnum } from './index-654849a7.js';
3
- import { g as getDevice, h as handleKeyboardSubmit } from './utils-417652d9.js';
2
+ import { l as ZChipType, D as Device } from './index-4f1e2705.js';
3
+ import { g as getDevice, h as handleKeyboardSubmit } from './utils-5a24a17b.js';
4
4
  import './breakpoints-e07f80e7.js';
5
5
 
6
- const stylesCss = ".sc-z-chip-h>button.sc-z-chip{display:inline-flex;align-items:center;padding:0 calc(var(--space-unit) * 1.5);background-color:var(--bg-white);border:var(--border-size-small) solid var(--gray400);border-radius:14px;color:var(--color-primary01);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled),.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled)>z-icon.sc-z-chip:last-child{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled)>z-icon.sc-z-chip:first-child{fill:var(--color-icon02)}.sc-z-chip-h>button.sc-z-chip>z-icon.sc-z-chip:last-child{cursor:pointer}.sc-z-chip-h>button.sc-z-chip>z-icon.iconSx.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.sc-z-chip>z-icon.sc-z-chip:last-child{margin-left:var(--space-unit);fill:var(--color-primary01)}.sc-z-chip-h>button.sc-z-chip:disabled,.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{color:var(--color-disabled03);fill:var(--color-disabled03)}.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{cursor:auto}.sc-z-chip-h>button.sc-z-chip:disabled{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>button.sc-z-chip:focus:focus-visible,.sc-z-chip-h>div.sc-z-chip:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:not(:disabled):active{background-color:var(--gray50);text-decoration:underline}.sc-z-chip-h>button.sc-z-chip:not(:disabled):active:hover,.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled):active:hover>z-icon.sc-z-chip:last-child{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>div.sc-z-chip{display:inline-flex;align-items:center;min-height:28px;line-height:28px;padding:0 calc(var(--space-unit) * 1.5);background-color:var(--bg-white);border:var(--border-size-small) solid var(--bg-grey-200);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px}.sc-z-chip-h>div.sc-z-chip>z-icon.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:44px;line-height:44px;border-radius:22px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:40px;line-height:40px;border-radius:22px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:36px;line-height:36px;border-radius:22px}@media only screen and (min-width: 1152px){.sc-z-chip-h>button.sc-z-chip{font-size:12px}.sc-z-chip-h>div.sc-z-chip{font-size:12px}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:32px;line-height:32px;border-radius:16px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:28px;line-height:28px;border-radius:16px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:24px;line-height:24px;border-radius:16px}}";
6
+ const stylesCss = ".sc-z-chip-h>button.sc-z-chip{display:inline-flex;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--gray400);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}.sc-z-chip-h>button.sc-z-chip:not(:disabled)>z-icon.sc-z-chip:last-child:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled)>z-icon.sc-z-chip:first-child{fill:var(--color-icon02)}.sc-z-chip-h>button.sc-z-chip>z-icon.icon-sx.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.sc-z-chip>z-icon.sc-z-chip:last-child{margin-left:var(--space-unit);cursor:pointer;fill:var(--color-primary01)}.sc-z-chip-h>button.sc-z-chip:disabled,.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{color:var(--color-disabled03);fill:var(--color-disabled03)}.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{cursor:auto}.sc-z-chip-h>button.sc-z-chip:disabled{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>button.sc-z-chip:focus:focus-visible,.sc-z-chip-h>div.sc-z-chip:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled):active:hover>z-icon.sc-z-chip:last-child{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>div.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;line-height:28px}.sc-z-chip-h>div.sc-z-chip>z-icon.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media only screen and (min-width: 1152px){.sc-z-chip-h>button.sc-z-chip{font-size:12px}.sc-z-chip-h>div.sc-z-chip{font-size:12px}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}}";
7
7
 
8
8
  const ZChip = class {
9
9
  constructor(hostRef) {
10
10
  registerInstance(this, hostRef);
11
11
  this.interactiveIconClick = createEvent(this, "interactiveIconClick", 7);
12
12
  /** z-chip size type, can be default, medium or small */
13
- this.type = ZChipType.default;
13
+ this.type = ZChipType.DEFAULT;
14
14
  /** set z-chip as disabled */
15
15
  this.disabled = false;
16
16
  }
@@ -18,11 +18,11 @@ const ZChip = class {
18
18
  this.interactiveIconClick.emit();
19
19
  }
20
20
  getIconSize() {
21
- return getDevice() !== DeviceEnum.desktop ? 22 : 14;
21
+ return getDevice() !== Device.DESKTOP ? 22 : 14;
22
22
  }
23
23
  render() {
24
24
  if (this.interactiveIcon) {
25
- return (h("button", { class: this.type, disabled: this.disabled, tabindex: "0" }, this.icon && (h("z-icon", { class: "iconSx", name: this.icon, width: this.getIconSize(), height: this.getIconSize() })), h("slot", null), h("z-icon", { tabIndex: this.disabled ? -1 : 0, onClick: () => this.emitinteractiveIconClick(), onKeyUp: (e) => handleKeyboardSubmit(e, this.emitinteractiveIconClick.bind(this)), name: this.interactiveIcon, width: this.getIconSize(), height: this.getIconSize() })));
25
+ return (h("button", { class: this.type, disabled: this.disabled, tabindex: "0", type: "button" }, this.icon && (h("z-icon", { class: "icon-sx", name: this.icon, width: this.getIconSize(), height: this.getIconSize() })), h("slot", null), h("z-icon", { tabIndex: this.disabled ? -1 : 0, onClick: () => this.emitinteractiveIconClick(), onKeyUp: (e) => handleKeyboardSubmit(e, this.emitinteractiveIconClick.bind(this)), name: this.interactiveIcon, width: this.getIconSize(), height: this.getIconSize() })));
26
26
  }
27
27
  return (h("div", { class: `${this.type}`, tabindex: "0" }, this.icon && (h("z-icon", { name: this.icon, width: this.getIconSize(), height: this.getIconSize() })), h("slot", null)));
28
28
  }
@@ -1,14 +1,16 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-b3a91e19.js';
2
- import { I as InputTypeEnum, d as KeyboardKeyCodeEnum } from './index-654849a7.js';
3
- import { h as handleKeyboardSubmit } from './utils-417652d9.js';
2
+ import { I as InputType, e as KeyboardKeyCode, f as ListDividerType } from './index-4f1e2705.js';
3
+ import { h as handleKeyboardSubmit } from './utils-5a24a17b.js';
4
4
  import './breakpoints-e07f80e7.js';
5
5
 
6
- const stylesCss = ":host{display:block}:host>div.fixed{position:relative;height:42px}:host>div>.header{background-color:var(--bg-white);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--bg-grey-700);position:relative;z-index:10;min-height:42px;margin:0;padding:0 calc(var(--space-unit) * 2);display:flex;justify-content:space-between;align-items:center;cursor:pointer}:host>div>.header:focus:focus-visible{border:var(--border-size-small) solid var(--blue500);box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>z-body{margin:0;padding:var(--space-unit) 0;color:var(--text-grey-800)}:host>div>.header>z-body>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div.open>.header{border-radius:var(border-radius-small) var(border-radius-small) 0 0;border:var(--border-size-small) solid var(--blue500)}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.openComboData{background-color:var(--bg-white);border-radius:0;border:var(--border-size-small) solid var(--gray200);border-top:0px;position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2)}:host>div.open>div.openComboData>div{padding:0;max-height:235px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--gray200)}:host>div.open>div.openComboData>z-input{margin-bottom:calc(var(--space-unit) * 2);width:100%}:host>div.open>div.openComboData>div>ul{margin:0;padding:0 3px;max-height:235px}::-webkit-scrollbar{background:linear-gradient(\n 90deg,\n var(--bg-white) 2px,\n var(--bg-grey-200) 4px,\n var(--bg-white) 8px\n );border-radius:var(--border-radius);width:10px}::-webkit-scrollbar-thumb{background-color:var(--myz-blue);border-radius:var(--border-radius);width:10px}:host>div.open>z-input{color:var(--myz-blue);margin:0 calc(var(--space-unit) * 2);width:238px;position:relative;z-index:1}:host>div.open>div.openComboData>div.search{box-shadow:1px 1px 4px 2px rgba(217, 222, 227, 0.5);margin-top:0;max-height:auto;overflow:hidden}:host>div.open>div.openComboData>div.search>ul{padding:var(--space-unit) calc(var(--space-unit) * 2);max-height:180px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--bg-grey-200)}:host>div.open>div.openComboData>div.search>div{display:flex;justify-content:center}:host>div.open>div.openComboData>div.search>div>a{display:inline-block;cursor:pointer;color:var(--myz-blue);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;height:44px;line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.openComboData>div.checkAllWrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * .5);text-align:left}";
6
+ const stylesCss = ":host{display:block}:host>div.fixed{position:relative}:host>div>.header{position:relative;z-index:10;display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--bg-grey-700);margin:0;background-color:var(--bg-white);border-radius:var(--border-radius-small);cursor:pointer}:host>div>.header:hover{outline:var(--border-size-medium) solid var(--gray700);outline-offset:-2px}:host>div.open>div.header:focus:focus-visible{box-shadow:none}:host>div>div.header:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>z-body{padding:var(--space-unit) 0;margin:0;color:var(--text-grey-800)}:host>div>.header>z-body>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div.open>.header{border:var(--border-size-small) solid var(--blue500);border-radius:var(--border-radius-small) var(--border-radius-small) 0 0}:host>div.disabled{pointer-events:none}:host>div.disabled .header{border-color:var(--color-disabled01);fill:var(--color-disabled01)}:host>div.disabled .header>z-body{color:var(--text-grey-700)}:host>div.disabled .header>z-icon:last-child{fill:var(--color-disabled01)}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.open-combo-data{position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--gray200);border-top:0;background-color:var(--bg-white);border-radius:0}:host>div.open>div.open-combo-data>div{overflow:auto;max-height:235px;padding:0;scrollbar-color:var(--myz-blue) var(--gray200);scrollbar-width:thin}:host>div.open>div.open-combo-data>z-input{width:100%;margin-bottom:calc(var(--space-unit) * 2)}:host>div.open>div.open-combo-data>div>ul{max-height:235px;padding:0 3px;margin:0}::-webkit-scrollbar{width:10px;background:linear-gradient(90deg, var(--bg-white) 2px, var(--bg-grey-200) 4px, var(--bg-white) 8px);border-radius:var(--border-radius)}::-webkit-scrollbar-thumb{width:10px;background-color:var(--myz-blue);border-radius:var(--border-radius)}:host>div.open>z-input{position:relative;z-index:1;width:238px;margin:0 calc(var(--space-unit) * 2);color:var(--myz-blue)}:host>div.open>div.open-combo-data>div.search{overflow:hidden;max-height:auto;margin-top:0;box-shadow:1px 1px 4px 2px rgb(217 222 227 / 50%)}:host>div.open>div.open-combo-data>div.search>ul{overflow:auto;max-height:180px;padding:var(--space-unit) calc(var(--space-unit) * 2);scrollbar-color:var(--myz-blue) var(--bg-grey-200);scrollbar-width:thin}:host>div.open>div.open-combo-data>div.search>div{display:flex;justify-content:center}:host>div.open>div.open-combo-data>div.search>div>a{display:inline-block;height:44px;color:var(--myz-blue);cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.open-combo-data>div.check-all-wrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--gray800);margin-bottom:var(--space-unit);text-align:left}";
7
7
 
8
8
  const ZCombobox = class {
9
9
  constructor(hostRef) {
10
10
  registerInstance(this, hostRef);
11
11
  this.comboboxChange = createEvent(this, "comboboxChange", 7);
12
+ /** the combobox is disabled */
13
+ this.disabled = false;
12
14
  /** show search input flag (optional) */
13
15
  this.hassearch = false;
14
16
  /** no result text message */
@@ -29,34 +31,30 @@ const ZCombobox = class {
29
31
  this.maxcheckableitems = 0;
30
32
  this.renderItemsList = []; // used for render only
31
33
  this.itemsList = [];
32
- this.inputType = InputTypeEnum.text;
34
+ this.inputType = InputType.TEXT;
33
35
  this.toggleComboBox = this.toggleComboBox.bind(this);
34
36
  this.closeFilterItems = this.closeFilterItems.bind(this);
35
37
  }
36
38
  watchItems() {
37
- this.itemsList =
38
- typeof this.items === "string" ? JSON.parse(this.items) : this.items;
39
+ this.itemsList = typeof this.items === "string" ? JSON.parse(this.items) : this.items;
39
40
  this.selectedCounter = this.itemsList.filter((item) => item.checked).length;
40
- if (this.searchValue) {
41
- this.filterItems(this.searchValue);
42
- }
43
- else {
44
- this.resetRenderItemsList();
45
- }
41
+ this.updateRenderItemsList();
42
+ }
43
+ watchSearchValue() {
44
+ this.filterItems(this.searchValue);
46
45
  }
47
46
  inputCheckListener(e) {
48
47
  const id = e.detail.id.replace(`combo-checkbox-${this.inputid}-`, "");
49
- if (id === "check-all" &&
50
- (!this.maxcheckableitems ||
51
- this.maxcheckableitems >= this.itemsList.length)) {
48
+ if (id === "check-all" && (!this.maxcheckableitems || this.maxcheckableitems >= this.itemsList.length)) {
52
49
  return this.checkAll(e.detail.checked);
53
50
  }
54
51
  this.itemsList = this.itemsList.map((item) => {
55
- if (item.id === id)
52
+ if (item.id === id) {
56
53
  item.checked = e.detail.checked;
54
+ }
57
55
  return item;
58
56
  });
59
- this.resetRenderItemsList();
57
+ this.updateRenderItemsList();
60
58
  this.emitComboboxChange();
61
59
  }
62
60
  emitComboboxChange() {
@@ -67,9 +65,14 @@ const ZCombobox = class {
67
65
  }
68
66
  componentWillRender() {
69
67
  this.selectedCounter = this.itemsList.filter((item) => item.checked).length;
68
+ }
69
+ updateRenderItemsList() {
70
70
  if (this.searchValue) {
71
71
  this.filterItems(this.searchValue);
72
72
  }
73
+ else {
74
+ this.resetRenderItemsList();
75
+ }
73
76
  }
74
77
  resetRenderItemsList() {
75
78
  const renderItemsList = [];
@@ -79,9 +82,9 @@ const ZCombobox = class {
79
82
  this.renderItemsList = renderItemsList;
80
83
  }
81
84
  filterItems(value) {
82
- if (!value)
85
+ if (!value) {
83
86
  return this.closeFilterItems();
84
- this.searchValue = value;
87
+ }
85
88
  this.resetRenderItemsList();
86
89
  this.renderItemsList = this.renderItemsList.filter((item) => {
87
90
  const start = item.name.toUpperCase().indexOf(value.toUpperCase());
@@ -107,31 +110,54 @@ const ZCombobox = class {
107
110
  }
108
111
  renderHeader() {
109
112
  return (h("div", { class: "header", onClick: () => this.toggleComboBox(), onKeyDown: (ev) => {
110
- if (ev.keyCode === KeyboardKeyCodeEnum.SPACE)
113
+ if (ev.keyCode === KeyboardKeyCode.SPACE) {
111
114
  ev.preventDefault();
115
+ }
112
116
  }, onKeyUp: (ev) => handleKeyboardSubmit(ev, this.toggleComboBox), role: "button", tabindex: 0 }, h("z-body", { level: 3, component: "p" }, this.label, h("span", null, this.selectedCounter > 0 && ` (${this.selectedCounter})`)), h("z-icon", { name: "caret-down", width: 18, height: 18 })));
113
117
  }
114
118
  renderContent() {
115
- if (!this.isopen)
119
+ if (!this.isopen) {
116
120
  return;
117
- return (h("div", { class: "openComboData" }, this.hassearch && this.renderSearchInput(), this.hascheckall && this.renderCheckAll(), this.renderItems()));
121
+ }
122
+ return (h("div", { class: "open-combo-data" }, this.hassearch && this.renderSearchInput(), this.hascheckall && this.renderCheckAll(), this.renderItems()));
118
123
  }
119
124
  renderItems() {
120
- if (!this.isopen)
125
+ if (!this.isopen) {
121
126
  return;
127
+ }
122
128
  return (h("div", { class: this.searchValue && "search", tabindex: -1 }, this.renderList(this.renderItemsList), this.searchValue && this.renderCloseButton()));
123
129
  }
130
+ renderItem(item, index, length) {
131
+ return (h("z-myz-list-item", { id: item.id, listitemid: item.id, action: `combo-li-${this.inputid}`, underlined: index !== length - 1 }, h("z-input", { type: InputType.CHECKBOX, checked: item.checked, htmlid: `combo-checkbox-${this.inputid}-${item.id}`, label: item.name, disabled: !item.checked && this.maxcheckableitems && this.maxcheckableitems === this.selectedCounter })));
132
+ }
124
133
  renderList(items) {
125
- if (!items)
134
+ if (!items) {
126
135
  return;
127
- if (!items.length && this.searchValue)
136
+ }
137
+ if (!items.length && this.searchValue) {
128
138
  return this.renderNoSearchResults();
139
+ }
140
+ if (this.hasgroupitems) {
141
+ return this.renderGroups(this.itemsList);
142
+ }
129
143
  return (h("ul", null, items.map((item, i) => {
130
- return (h("z-myz-list-item", { id: item.id, listitemid: item.id, action: `combo-li-${this.inputid}`, underlined: i !== items.length - 1 }, h("z-input", { type: InputTypeEnum.checkbox, checked: item.checked, htmlid: `combo-checkbox-${this.inputid}-${item.id}`, label: item.name, disabled: !item.checked &&
131
- this.maxcheckableitems &&
132
- this.maxcheckableitems === this.selectedCounter })));
144
+ return this.renderItem(item, i, items.length);
133
145
  })));
134
146
  }
147
+ renderGroups(items) {
148
+ const newData = items.reduce((group, item, index) => {
149
+ var _a;
150
+ const { category } = item;
151
+ const zListItem = this.renderItem(item, index, items.length);
152
+ group[category] = (_a = group[category]) !== null && _a !== void 0 ? _a : [];
153
+ group[category].push(zListItem);
154
+ return group;
155
+ }, {});
156
+ const listGroups = Object.entries(newData).map(([key, value]) => {
157
+ return (h("z-list-group", { "divider-type": ListDividerType.ELEMENT }, h("z-body", { class: "z-list-group-title", level: 3, slot: "header-title", variant: "semibold" }, key), value.map((item) => item)));
158
+ });
159
+ return h("ul", null, listGroups);
160
+ }
135
161
  renderNoSearchResults() {
136
162
  return (h("ul", null, h("z-myz-list-item", { id: "no-results", text: this.noresultslabel, listitemid: "no-results", icon: "multiply-circle" })));
137
163
  }
@@ -139,26 +165,29 @@ const ZCombobox = class {
139
165
  return (h("div", null, h("a", { onClick: () => this.closeFilterItems(), onKeyUp: (e) => handleKeyboardSubmit(e, this.closeFilterItems), role: "button", tabindex: 0 }, this.closesearchtext)));
140
166
  }
141
167
  renderSearchInput() {
142
- if (!this.isopen)
168
+ if (!this.isopen) {
143
169
  return;
170
+ }
144
171
  return (h("z-input", { htmlid: `${this.inputid}_search`, label: this.searchlabel, placeholder: this.searchplaceholder, htmltitle: this.searchtitle, type: this.inputType, value: this.searchValue, message: false, onInputChange: (e) => {
145
- if (e.detail.keycode === 27)
172
+ if (e.detail.keycode === 27) {
146
173
  return this.closeFilterItems();
147
- this.filterItems(e.detail.value);
174
+ }
175
+ this.searchValue = e.detail.value;
148
176
  } }));
149
177
  }
150
178
  renderCheckAll() {
151
- if (this.searchValue)
179
+ if (this.searchValue) {
152
180
  return;
181
+ }
153
182
  const allChecked = this.selectedCounter === this.itemsList.length;
154
- return (h("div", { class: "checkAllWrapper" }, h("z-input", { type: InputTypeEnum.checkbox, checked: allChecked, htmlid: `combo-checkbox-${this.inputid}-check-all`, label: allChecked ? this.uncheckalltext : this.checkalltext, disabled: this.maxcheckableitems &&
155
- this.maxcheckableitems < this.itemsList.length })));
183
+ return (h("div", { class: "check-all-wrapper" }, h("z-input", { type: InputType.CHECKBOX, checked: allChecked, htmlid: `combo-checkbox-${this.inputid}-check-all`, label: allChecked ? this.uncheckalltext : this.checkalltext, disabled: this.maxcheckableitems && this.maxcheckableitems < this.itemsList.length })));
156
184
  }
157
185
  render() {
158
- return (h("div", { "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed }, id: this.inputid }, this.renderHeader(), this.renderContent()));
186
+ return (h("div", { "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed, disabled: this.disabled }, id: this.inputid }, this.renderHeader(), !this.disabled && this.renderContent()));
159
187
  }
160
188
  static get watchers() { return {
161
- "items": ["watchItems"]
189
+ "items": ["watchItems"],
190
+ "searchValue": ["watchSearchValue"]
162
191
  }; }
163
192
  };
164
193
  ZCombobox.style = stylesCss;
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-b3a91e19.js';
2
- import { P as PopoverPosition } from './index-654849a7.js';
2
+ import { P as PopoverPosition } from './index-4f1e2705.js';
3
3
 
4
- const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host(:focus-within)>z-popover{box-shadow:var(--shadow-focus-primary)}.popover-content-container{min-width:112px;max-width:280px;white-space:nowrap;padding:calc(var(--space-unit) / 2) 0}.element-container:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}.element-text{overflow:hidden;text-overflow:ellipsis;font-size:14px}.element-container,.disabled-element-container{display:flex;align-items:center;gap:var(--space-unit);fill:var(--color-disabled03);padding:calc(var(--space-unit) / 2) var(--space-unit);min-height:calc(var(--space-unit) * 4);box-sizing:border-box}.element-container{fill:var(--color-primary01)}.element-icon{display:flex}";
4
+ const stylesCss = ":host{position:relative;display:flex;align-items:center;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg)}button{width:100%;height:100%;padding:0;border:none;background:transparent;cursor:pointer}z-popover{overflow:hidden}.popover-content-container{position:relative;min-width:112px;max-width:280px;background-color:var(--color-surface02);box-shadow:var(--shadow-2);white-space:nowrap}.element-container:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.element-text{overflow:hidden;font-size:14px;text-overflow:ellipsis}.element-container,.disabled-element-container{display:flex;min-height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:calc(var(--space-unit) / 2) var(--space-unit);fill:var(--color-disabled03);gap:var(--space-unit)}.element-container{fill:var(--color-primary01)}.element-icon{display:flex}";
5
5
 
6
6
  const ZContextualMenu = class {
7
7
  constructor(hostRef) {
@@ -14,21 +14,27 @@ const ZContextualMenu = class {
14
14
  /**
15
15
  * [optional] Sets the position of the popover
16
16
  */
17
- this.popoverPosition = PopoverPosition["after-down"];
17
+ this.popoverPosition = PopoverPosition.BOTTOM_RIGHT;
18
18
  }
19
19
  componentWillRender() {
20
20
  if (this.elements) {
21
21
  this.jsonElements = JSON.parse(this.elements.replace(/&quot;/g, '"'));
22
22
  }
23
23
  }
24
+ componentDidLoad() {
25
+ this.popover.bindTo = this.triggerButton;
26
+ }
24
27
  showIcon() {
25
28
  return !this.jsonElements.some((element) => !element.icon);
26
29
  }
30
+ togglePopover() {
31
+ if (!this.popover.open) {
32
+ this.popover.open = true;
33
+ }
34
+ }
27
35
  render() {
28
- var _a;
29
- return (h(Host, null, h("z-popover", { "background-color": "color-background", "box-shadow": "shadow-2", position: this.popoverPosition, padding: "0" }, h("z-icon", { "aria-label": "apri-menu-contestuale", slot: "trigger", name: "contextual-menu", fill: this.color, style: { cursor: "pointer" } }), h("div", { class: "popover-content-container", slot: "popover" }, h("z-list", null, h("z-list-group", { "divider-type": "element" }, (_a = this.jsonElements) === null || _a === void 0 ? void 0 : _a.map((element, index) => (h("z-list-element", { clickable: !element.disabled, class: "my-z-list-element", "align-button": "left", "expandable-style": "accordion", color: element.disabled ? `color-disabled03` : this.color, isContextualMenu: true, listElementId: index, onClickItem: (event) => this.clickContextualMenu.emit(event.detail) }, h("div", { class: element.disabled
30
- ? "disabled-element-container"
31
- : "element-container" }, this.showIcon() && (h("div", { class: "element-icon" }, h("z-icon", { name: element.icon, width: 16, height: 16 }))), h("div", { class: "element-text" }, h("span", null, element.text))))))))))));
36
+ var _a, _b;
37
+ return (h(Host, null, h("button", { ref: (el) => (this.triggerButton = el), "aria-label": ((_a = this.popover) === null || _a === void 0 ? void 0 : _a.open) ? "chiudi menu contestuale" : "apri menu contestuale", onClick: () => this.togglePopover() }, h("z-icon", { name: "contextual-menu", fill: this.color })), h("z-popover", { ref: (el) => (this.popover = el), position: this.popoverPosition }, h("div", { class: "popover-content-container" }, h("z-list", null, h("z-list-group", { "divider-type": "element" }, (_b = this.jsonElements) === null || _b === void 0 ? void 0 : _b.map((element, index) => (h("z-list-element", { clickable: !element.disabled, class: "my-z-list-element", "align-button": "left", "expandable-style": "accordion", color: element.disabled ? `color-disabled03` : this.color, isContextualMenu: true, listElementId: index, onClickItem: (event) => this.clickContextualMenu.emit(event.detail) }, h("div", { class: element.disabled ? "disabled-element-container" : "element-container" }, this.showIcon() && (h("div", { class: "element-icon" }, h("z-icon", { name: element.icon, width: 16, height: 16 }))), h("div", { class: "element-text" }, h("span", null, element.text))))))))))));
32
38
  }
33
39
  };
34
40
  ZContextualMenu.style = stylesCss;
@@ -0,0 +1,36 @@
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-b3a91e19.js';
2
+ import { g as CoverHeroVariant, h as CoverHeroContentPosition } from './index-4f1e2705.js';
3
+
4
+ const stylesCss = ":host{--cover-hero-height:auto;--cover-hero-min-height:calc(var(--space-unit) * 30);--cover-hero-overlay:none;--cover-hero-text-color:var(--color-text-inverse);display:block}:host,*{box-sizing:border-box}:host .content-hero{position:relative;width:100%;height:var(--cover-hero-height);min-height:var(--cover-hero-min-height);align-items:baseline;background-color:var(--gray600)}:host .content-container{color:var(--cover-hero-text-color);fill:var(--cover-hero-text-color)}:host .content-hero .cover{position:absolute;z-index:0;width:100%;height:100%}::slotted([slot=\"cover\"]){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center}::slotted(z-info-reveal){position:absolute;z-index:1;right:var(--grid-margin);bottom:var(--grid-margin)}:host([variant=\"overlay\"]) .content-hero .cover::after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--cover-hero-overlay);content:\"\"}:host([variant=\"overlay\"]) .content-hero .content-container{position:relative;height:100%;padding:var(--grid-margin)}:host([variant=\"stacked\"]){--cover-hero-text-color:var(--color-text01)}:host([variant=\"stacked\"]) .content-container ::slotted(*){padding:var(--grid-margin) 0}";
5
+
6
+ const ZCoverHero = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ /**
10
+ * Cover hero variant.
11
+ * Can be one of "OVERLAY", "STACKED".
12
+ */
13
+ this.variant = CoverHeroVariant.OVERLAY;
14
+ /**
15
+ * Cover hero content position (only for STACKED variant).
16
+ */
17
+ this.contentPosition = CoverHeroContentPosition.TOP;
18
+ }
19
+ /**
20
+ * Template for the content.
21
+ */
22
+ renderContent() {
23
+ return (h("div", { class: "content-container" }, h("slot", { name: "content" })));
24
+ }
25
+ render() {
26
+ return (h(Host, null, this.variant === CoverHeroVariant.STACKED &&
27
+ this.contentPosition === CoverHeroContentPosition.TOP &&
28
+ this.renderContent(), h("div", { class: "content-hero" }, h("div", { class: "cover" }, h("slot", { name: "cover" })), h("slot", { name: "info-reveal" }), this.variant === CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === CoverHeroVariant.STACKED &&
29
+ this.contentPosition === CoverHeroContentPosition.BOTTOM &&
30
+ this.renderContent()));
31
+ }
32
+ get el() { return getElement(this); }
33
+ };
34
+ ZCoverHero.style = stylesCss;
35
+
36
+ export { ZCoverHero as z_cover_hero };