@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,7 +1,7 @@
1
- import { r as registerInstance, h, a as getElement } from './index-b3a91e19.js';
2
- import { r as ZSectionTitleDividerPositions, k as DividerSize } from './index-654849a7.js';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-b3a91e19.js';
2
+ import { w as ZSectionTitleDividerPosition, n as DividerSize } from './index-4f1e2705.js';
3
3
 
4
- const stylesCss = ":host{--z-section-title--divider-color:var(--red500);display:flex;flex-direction:column;align-items:flex-start;width:fit-content;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,:host ::slotted(*){box-sizing:border-box}::slotted(*){margin:0}::slotted([slot=\"secondary-title\"]){padding-bottom:calc(var(--space-unit) / 2);border-bottom:var(--border-size-large) solid var(--z-section-title--divider-color);text-transform:uppercase;font-size:var(--font-size-3);line-height:1.5rem}::slotted([slot=\"primary-title\"]){font-size:var(--font-size-6);line-height:2rem}:host([uppercase]) ::slotted([slot=\"primary-title\"]){text-transform:uppercase}@media (min-width: 1152px){::slotted([slot=\"primary-title\"]){font-size:var(--font-size-7);line-height:2.25rem}}";
4
+ const stylesCss = ":host{--z-section-title--divider-color:var(--red500);display:flex;width:fit-content;flex-direction:column;align-items:flex-start;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,:host ::slotted(*){box-sizing:border-box}::slotted(*){margin:0}::slotted([slot=\"secondary-title\"]){padding-bottom:calc(var(--space-unit) / 2);border-bottom:var(--border-size-large) solid var(--z-section-title--divider-color);font-size:var(--font-size-3);line-height:1.5rem;text-transform:uppercase}::slotted([slot=\"primary-title\"]){font-size:var(--font-size-6);line-height:2rem}:host([uppercase]:not([uppercase=\"false\"])) ::slotted([slot=\"primary-title\"]){text-transform:uppercase}@media (min-width: 1152px){::slotted([slot=\"primary-title\"]){font-size:var(--font-size-7);line-height:2.25rem}}";
5
5
 
6
6
  const ZSectionTitle = class {
7
7
  constructor(hostRef) {
@@ -10,7 +10,7 @@ const ZSectionTitle = class {
10
10
  * Divider position for the primary title.
11
11
  * This prop only works if the secondary title is not set.
12
12
  */
13
- this.dividerPosition = ZSectionTitleDividerPositions.before;
13
+ this.dividerPosition = ZSectionTitleDividerPosition.BEFORE;
14
14
  /**
15
15
  * Whether the primary title text is uppercase.
16
16
  */
@@ -20,16 +20,7 @@ const ZSectionTitle = class {
20
20
  this.hasSecondaryTitle = !!this.host.querySelector("[slot=secondary-title]");
21
21
  }
22
22
  render() {
23
- return [
24
- h("slot", { name: "secondary-title" }),
25
- !this.hasSecondaryTitle &&
26
- this.dividerPosition == ZSectionTitleDividerPositions.before &&
27
- h("z-divider", { size: DividerSize.large, color: "z-section-title--divider-color" }),
28
- h("slot", { name: "primary-title" }),
29
- !this.hasSecondaryTitle &&
30
- this.dividerPosition == ZSectionTitleDividerPositions.after &&
31
- h("z-divider", { size: DividerSize.large, color: "z-section-title--divider-color" }),
32
- ];
23
+ return (h(Host, null, h("slot", { name: "secondary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.BEFORE && (h("z-divider", { size: DividerSize.LARGE, color: "z-section-title--divider-color" })), h("slot", { name: "primary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.AFTER && (h("z-divider", { size: DividerSize.LARGE, color: "z-section-title--divider-color" }))));
33
24
  }
34
25
  get host() { return getElement(this); }
35
26
  };
@@ -0,0 +1,321 @@
1
+ import { r as registerInstance, c as createEvent, h, a as getElement } from './index-b3a91e19.js';
2
+ import { K as KeyboardCode, f as ListDividerType } from './index-4f1e2705.js';
3
+ import { r as randomId, b as boolean, a as getElementTree, h as handleKeyboardSubmit, c as getClickedElement } from './utils-5a24a17b.js';
4
+ import './breakpoints-e07f80e7.js';
5
+
6
+ const stylesCss = ".sc-z-select-h{display:inline-block;width:inherit;color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg)}.select-wrapper.sc-z-select>z-input.sc-z-select{width:100%}.select-wrapper.sc-z-select>div.sc-z-select{position:relative}.select-wrapper.sc-z-select>div.closed.sc-z-select{overflow:hidden;height:0}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select{position:absolute;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 0.5) var(--space-unit);border:var(--border-size-small) solid var(--gray200);border-top:none;background:var(--color-surface01);outline:none}.select-wrapper.sc-z-select .closed.sc-z-select .ul-scroll-wrapper.sc-z-select{z-index:10}.select-wrapper.sc-z-select .open.sc-z-select .ul-scroll-wrapper.sc-z-select{z-index:20}.select-wrapper.sc-z-select .ul-scroll-wrapper.fixed.sc-z-select{position:static}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select{position:relative;overflow:auto;max-height:240px;padding:calc(var(--space-unit) * 0.5);outline:none;scrollbar-color:var(--color-primary01) transparent}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-track{background-color:transparent}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-content.sc-z-select{display:block;padding:0 calc(var(--space-unit) * 1.5)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-content.selected.sc-z-select{font-weight:bold}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select .no-results.sc-z-select z-icon.sc-z-select{margin-right:var(--space-unit)}.z-list-group-title.sc-z-select{color:var(--gray800)}.reset-item.sc-z-select{color:var(--color-primary01);fill:var(--color-primary01)}.reset-item-content.sc-z-select{display:flex;align-items:center}.reset-item.reset-item-margin.sc-z-select .reset-item-content.sc-z-select{margin-left:calc(var(--space-unit))}.reset-item.sc-z-select .reset-item-content.sc-z-select>z-icon.sc-z-select{margin-right:var(--space-unit)}.reset-item.hide.sc-z-select{display:none}";
7
+
8
+ const ZSelect = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ this.optionSelect = createEvent(this, "optionSelect", 7);
12
+ this.resetSelect = createEvent(this, "resetSelect", 7);
13
+ /** the id of the input element */
14
+ this.htmlid = `id-${randomId()}`;
15
+ /** the input aria-label */
16
+ this.ariaLabel = "";
17
+ /** the input is disabled */
18
+ this.disabled = false;
19
+ /** the input is readonly */
20
+ this.readonly = false;
21
+ /** input helper message (optional) - if set to `false` message won't be displayed */
22
+ this.message = true;
23
+ /** the input has autocomplete option */
24
+ this.autocomplete = false;
25
+ /** no result text message */
26
+ this.noresultslabel = "Nessun risultato";
27
+ /** When fixed, it occupies space and pushes down next elements. */
28
+ this.isfixed = false;
29
+ this.isOpen = false;
30
+ this.selectedItem = null;
31
+ this.itemsList = [];
32
+ this.toggleSelectUl = this.toggleSelectUl.bind(this);
33
+ this.selectItem = this.selectItem.bind(this);
34
+ this.handleSelectFocus = this.handleSelectFocus.bind(this);
35
+ }
36
+ watchItems() {
37
+ this.itemsList = this.getInitialItemsArray();
38
+ this.selectedItem = this.itemsList.find((item) => item.selected);
39
+ }
40
+ /** get the input selected options */
41
+ async getSelectedItem() {
42
+ return this.selectedItem;
43
+ }
44
+ /** get the input value */
45
+ async getValue() {
46
+ return this.getSelectedValue();
47
+ }
48
+ /** set the input value */
49
+ async setValue(value) {
50
+ let values = [];
51
+ if (typeof value === "string") {
52
+ values.push(value);
53
+ }
54
+ else {
55
+ values = value;
56
+ }
57
+ this.selectedItem = this.itemsList.find((item) => values.includes(item.id));
58
+ }
59
+ emitOptionSelect() {
60
+ this.optionSelect.emit({
61
+ id: this.htmlid,
62
+ selected: this.getSelectedValue(),
63
+ });
64
+ }
65
+ emitResetSelect() {
66
+ this.resetSelect.emit({
67
+ id: this.htmlid,
68
+ });
69
+ }
70
+ componentWillLoad() {
71
+ this.watchItems();
72
+ }
73
+ componentWillRender() {
74
+ this.filterItems(this.searchString);
75
+ }
76
+ getInitialItemsArray() {
77
+ return typeof this.items === "string" ? JSON.parse(this.items) : this.items;
78
+ }
79
+ mapSelectedItemToItemsArray() {
80
+ const initialItemsList = this.getInitialItemsArray();
81
+ return initialItemsList.map((item) => {
82
+ var _a;
83
+ item.selected = item.id === ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.id);
84
+ return item;
85
+ });
86
+ }
87
+ getSelectedValue() {
88
+ var _a;
89
+ return (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.id;
90
+ }
91
+ filterItems(searchString) {
92
+ const prevList = this.mapSelectedItemToItemsArray();
93
+ if (!(searchString === null || searchString === void 0 ? void 0 : searchString.length)) {
94
+ this.itemsList = prevList;
95
+ }
96
+ else {
97
+ this.itemsList = prevList
98
+ .filter((item) => {
99
+ return item.name.toUpperCase().includes(searchString.toUpperCase());
100
+ })
101
+ .map((item) => {
102
+ const start = item.name.toUpperCase().indexOf(searchString.toUpperCase());
103
+ const end = start + searchString.length;
104
+ const newName = item.name.substring(0, start) +
105
+ `<strong>${item.name.substring(start, end)}</strong>` +
106
+ item.name.substring(end, item.name.length);
107
+ item.name = newName;
108
+ return item;
109
+ });
110
+ }
111
+ }
112
+ hasAutocomplete() {
113
+ return boolean(this.autocomplete) === true;
114
+ }
115
+ handleInputChange(e) {
116
+ this.searchString = e.detail.value;
117
+ if (!this.isOpen) {
118
+ this.toggleSelectUl();
119
+ }
120
+ }
121
+ selectItem(item, selected) {
122
+ if (item && item.disabled) {
123
+ return;
124
+ }
125
+ this.itemsList = this.mapSelectedItemToItemsArray();
126
+ this.itemsList = this.itemsList.map((i) => {
127
+ i.selected = false;
128
+ if (i.id === (item === null || item === void 0 ? void 0 : item.id)) {
129
+ i.selected = selected;
130
+ }
131
+ return i;
132
+ });
133
+ this.selectedItem = this.itemsList.find((item) => item.selected);
134
+ this.emitOptionSelect();
135
+ if (this.searchString) {
136
+ this.searchString = null;
137
+ }
138
+ }
139
+ arrowsSelectNav(e, key) {
140
+ const showResetIcon = this.resetItem && !!this.selectedItem;
141
+ const arrows = [KeyboardCode.ARROW_DOWN, KeyboardCode.ARROW_UP];
142
+ if (!arrows.includes(e.key)) {
143
+ return;
144
+ }
145
+ e.preventDefault();
146
+ e.stopPropagation();
147
+ if (!this.isOpen) {
148
+ this.toggleSelectUl();
149
+ }
150
+ let index;
151
+ if (this.resetItem) {
152
+ if (e.key === KeyboardCode.ARROW_DOWN) {
153
+ index = key + 1 === this.itemsList.length + 1 ? +!showResetIcon : key + 1;
154
+ }
155
+ else if (e.key === KeyboardCode.ARROW_UP) {
156
+ index = key <= +!showResetIcon ? this.itemsList.length : key - 1;
157
+ }
158
+ }
159
+ if (!this.resetItem) {
160
+ if (e.key === KeyboardCode.ARROW_DOWN) {
161
+ index = key + 1 === this.itemsList.length ? 0 : key + 1;
162
+ }
163
+ else if (e.key === KeyboardCode.ARROW_UP) {
164
+ index = key <= 0 ? this.itemsList.length - 1 : key - 1;
165
+ }
166
+ }
167
+ this.focusSelectItem(index);
168
+ }
169
+ focusSelectItem(index) {
170
+ const focusElem = this.element.querySelector(`#${this.htmlid}_${index}`);
171
+ if (focusElem) {
172
+ focusElem.focus();
173
+ }
174
+ }
175
+ toggleSelectUl(selfFocusOnClose = false) {
176
+ if (this.disabled || this.readonly) {
177
+ return;
178
+ }
179
+ if (!this.isOpen) {
180
+ document.addEventListener("click", this.handleSelectFocus);
181
+ document.addEventListener("keyup", this.handleSelectFocus);
182
+ }
183
+ else {
184
+ document.removeEventListener("click", this.handleSelectFocus);
185
+ document.removeEventListener("keyup", this.handleSelectFocus);
186
+ if (selfFocusOnClose) {
187
+ this.element.querySelector(`#${this.htmlid}_input`).focus();
188
+ }
189
+ }
190
+ this.isOpen = !this.isOpen;
191
+ }
192
+ handleInputClick(e) {
193
+ const cp = e.composedPath();
194
+ const clearIcon = cp.find((item) => item.classList && item.classList.contains("reset-icon"));
195
+ if (clearIcon) {
196
+ e.stopPropagation();
197
+ return;
198
+ }
199
+ this.toggleSelectUl();
200
+ }
201
+ handleSelectFocus(e) {
202
+ if (e instanceof KeyboardEvent && e.key === KeyboardCode.ESC) {
203
+ e.stopPropagation();
204
+ return this.toggleSelectUl(true);
205
+ }
206
+ if (e instanceof KeyboardEvent && e.key !== KeyboardCode.TAB && e.key !== KeyboardCode.ENTER) {
207
+ return;
208
+ }
209
+ const tree = getElementTree(getClickedElement());
210
+ const parent = tree.find((elem) => {
211
+ return elem.nodeName.toLowerCase() === "z-input" && elem.id === `${this.htmlid}_input`;
212
+ });
213
+ if (!parent) {
214
+ this.toggleSelectUl(e instanceof MouseEvent ? true : false);
215
+ }
216
+ }
217
+ scrollToLetter(letter) {
218
+ const foundItem = this.itemsList.find((item) => item.name.charAt(0) === letter);
219
+ if (foundItem) {
220
+ this.focusSelectItem(this.itemsList.indexOf(foundItem));
221
+ }
222
+ }
223
+ renderInput() {
224
+ return (h("z-input", { class: {
225
+ "active-select": this.isOpen,
226
+ "cursor-select": !this.autocomplete,
227
+ }, id: `${this.htmlid}_input`, htmlid: `${this.htmlid}_input`, placeholder: this.placeholder, value: !this.isOpen && this.selectedItem ? this.selectedItem.name.replace(/<[^>]+>/g, "") : null, label: this.label, "aria-label": this.ariaLabel, icon: this.isOpen ? "caret-up" : "caret-down", hasclearicon: this.hasAutocomplete(), message: false, disabled: this.disabled, readonly: this.readonly || (!this.hasAutocomplete() && this.isOpen), status: this.isOpen ? undefined : this.status, autocomplete: "off", onClick: (e) => {
228
+ this.handleInputClick(e);
229
+ }, onKeyUp: (e) => {
230
+ if (e.keyCode !== 13) {
231
+ e.preventDefault();
232
+ }
233
+ handleKeyboardSubmit(e, this.toggleSelectUl);
234
+ }, onKeyDown: (e) => {
235
+ return this.arrowsSelectNav(e, this.selectedItem ? this.itemsList.indexOf(this.selectedItem) : this.resetItem ? 0 : -1);
236
+ }, onInputChange: (e) => {
237
+ this.handleInputChange(e);
238
+ }, onKeyPress: (e) => {
239
+ if (!this.hasAutocomplete()) {
240
+ e.preventDefault();
241
+ this.scrollToLetter(String.fromCharCode(e.keyCode));
242
+ }
243
+ } }));
244
+ }
245
+ renderSelectUl() {
246
+ var _a;
247
+ return (h("div", { class: this.isOpen ? "open" : "closed", tabindex: "-1" }, h("div", { class: {
248
+ "ul-scroll-wrapper": true,
249
+ "fixed": this.isfixed,
250
+ }, tabindex: "-1" }, h("z-list", { role: "listbox", tabindex: this.disabled || this.readonly || !this.isOpen ? -1 : 0, id: this.htmlid, "aria-activedescendant": (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.id, "aria-multiselectable": false, class: {
251
+ disabled: this.disabled,
252
+ readonly: this.readonly,
253
+ filled: !!this.selectedItem,
254
+ [`input-${this.status}`]: !this.isOpen && !!this.status,
255
+ } }, this.resetItem && this.renderResetItem(), this.renderSelectUlItems()))));
256
+ }
257
+ renderResetItem() {
258
+ return (h("z-list-element", { class: {
259
+ "hide": !this.selectedItem || !this.resetItem,
260
+ "reset-item": true,
261
+ "reset-item-margin": !this.hasGroupItems,
262
+ }, clickable: true, disabled: false, dividerType: ListDividerType.ELEMENT, role: "option", tabindex: "0", "aria-selected": "false", id: `${this.htmlid}_${this.resetItem ? "0" : "none"}`, onClickItem: () => {
263
+ this.selectedItem = null;
264
+ this.searchString = null;
265
+ this.emitResetSelect();
266
+ }, onKeyDown: (e) => this.arrowsSelectNav(e, 0) }, h("div", { class: "reset-item-content" }, h("z-icon", { name: "multiply-circled" }), h("span", null, this.resetItem))));
267
+ }
268
+ renderItem(item, key, lastItem) {
269
+ return (h("z-list-element", { clickable: !item.disabled, disabled: item.disabled, dividerType: lastItem ? ListDividerType.HEADER : ListDividerType.ELEMENT, role: "option", tabindex: item.disabled || !this.isOpen ? -1 : 0, "aria-selected": !!item.selected, id: `${this.htmlid}_${key}`, onClickItem: () => this.selectItem(item, true), onKeyDown: (e) => this.arrowsSelectNav(e, key) }, h("span", { class: {
270
+ "selected": !!item.selected,
271
+ "list-element-content": true,
272
+ }, innerHTML: item.name })));
273
+ }
274
+ renderSelectUlItems() {
275
+ if (!this.itemsList.length) {
276
+ return this.renderNoSearchResults();
277
+ }
278
+ if (this.hasGroupItems) {
279
+ return this.renderSelectGroupItems();
280
+ }
281
+ return this.itemsList.map((item, key, array) => {
282
+ const lastItem = array.length === key + 1;
283
+ const itemKey = this.resetItem ? key + 1 : key;
284
+ return this.renderItem(item, itemKey, lastItem);
285
+ });
286
+ }
287
+ renderSelectGroupItems() {
288
+ const newData = this.itemsList.reduce((group, item, index, array) => {
289
+ var _a;
290
+ const { category } = item;
291
+ const lastItem = array.length === index + 1;
292
+ const itemKey = this.resetItem ? index + 1 : index;
293
+ const zListItem = this.renderItem(item, itemKey, lastItem);
294
+ group[category] = (_a = group[category]) !== null && _a !== void 0 ? _a : [];
295
+ group[category].push(zListItem);
296
+ return group;
297
+ }, {});
298
+ return Object.entries(newData).map(([key, value]) => {
299
+ 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)));
300
+ });
301
+ }
302
+ renderNoSearchResults() {
303
+ return (h("z-list-element", { color: "blue500", class: "no-results" }, h("z-icon", { name: "multiply-circle", fill: "blue500" }), this.noresultslabel));
304
+ }
305
+ renderMessage() {
306
+ if (boolean(this.message) === false) {
307
+ return;
308
+ }
309
+ return (h("z-input-message", { message: boolean(this.message) === true ? undefined : this.message, status: this.status }));
310
+ }
311
+ render() {
312
+ return (h("div", { class: "select-wrapper" }, this.renderInput(), this.renderSelectUl(), this.renderMessage()));
313
+ }
314
+ get element() { return getElement(this); }
315
+ static get watchers() { return {
316
+ "items": ["watchItems"]
317
+ }; }
318
+ };
319
+ ZSelect.style = stylesCss;
320
+
321
+ export { ZSelect as z_select };
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, H as Host, a as getElement } from './index-b3a91e19.js';
2
- import { a as getElementTree, h as handleKeyboardSubmit } from './utils-417652d9.js';
3
- import { T as ThemeVariant } from './index-654849a7.js';
2
+ import { a as getElementTree, h as handleKeyboardSubmit } from './utils-5a24a17b.js';
3
+ import { T as ThemeVariant } from './index-4f1e2705.js';
4
4
  import './breakpoints-e07f80e7.js';
5
5
 
6
- const stylesCss = ".sc-z-skip-to-content-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:absolute;left:-100%;background-color:#24f4ff;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);height:60px;box-sizing:border-box}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:block;text-align:center}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{height:0;width:0;overflow:hidden}.sc-z-skip-to-content-h>z-link.link-visible.sc-z-skip-to-content{height:initial;width:initial}.dark.sc-z-skip-to-content-h{background-color:var(--bg-grey-800);color:var(--color-white)}.light.sc-z-skip-to-content-h{background-color:var(--bg-white);color:var(--text-grey-800);border:2px solid var(--text-grey-800)}@media (min-width: 768px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{text-align:left}}@media (min-width: 1152px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:inline-block;padding:0 calc(var(--space-unit) * 3);border-right:1px solid var(--bg-grey-800)}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{height:initial;width:initial;overflow:initial}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child{border-right:none;padding-right:0}.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{border-right:1px solid var(--bg-white)}}";
6
+ const stylesCss = ".sc-z-skip-to-content-h{position:absolute;left:-100%;height:60px;box-sizing:border-box;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);background-color:#24f4ff;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:block;text-align:center}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{overflow:hidden;width:0;height:0}.sc-z-skip-to-content-h>z-link.link-visible.sc-z-skip-to-content{width:initial;height:initial}.dark.sc-z-skip-to-content-h{background-color:var(--bg-grey-800);color:var(--color-white)}.light.sc-z-skip-to-content-h{border:2px solid var(--text-grey-800);background-color:var(--bg-white);color:var(--text-grey-800)}@media (min-width: 768px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{text-align:left}}@media (min-width: 1152px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:inline-block;padding:0 calc(var(--space-unit) * 3);border-right:1px solid var(--bg-grey-800)}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{overflow:initial;width:initial;height:initial}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child{padding-right:0;border-right:none}.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{border-right:1px solid var(--bg-white)}}";
7
7
 
8
8
  const ZSkipToContent = class {
9
9
  constructor(hostRef) {
@@ -14,47 +14,45 @@ const ZSkipToContent = class {
14
14
  this.visibleLink = "";
15
15
  }
16
16
  handleFocusOutSkipToContent(e) {
17
- if (this.isInSkipToContent(e.target))
17
+ if (this.isInSkipToContent(e.target)) {
18
18
  this.visible = false;
19
+ }
19
20
  }
20
21
  handleFocusSkipToContent(e) {
21
- if (this.isInSkipToContent(e.target))
22
+ if (this.isInSkipToContent(e.target)) {
22
23
  this.visible = true;
24
+ }
23
25
  }
24
26
  componentDidLoad() {
25
27
  this.showFirstChild();
26
28
  }
27
29
  componentWillRender() {
28
30
  if (this.links) {
29
- this.links =
30
- typeof this.links === "string" ? JSON.parse(this.links) : this.links;
31
+ this.links = typeof this.links === "string" ? JSON.parse(this.links) : this.links;
31
32
  }
32
33
  }
33
34
  isInSkipToContent(elem) {
34
35
  const tree = getElementTree(elem);
35
36
  const menuParent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-skip-to-content");
36
- if (menuParent)
37
- return true;
38
- return false;
39
- }
40
- getFirstChild() {
41
- const children = this.hostElement.children;
42
- if (children.length)
43
- return children[0];
44
- return false;
37
+ return !!menuParent;
45
38
  }
46
39
  showFirstChild() {
47
- const firstChild = this.getFirstChild();
48
- if (firstChild)
40
+ var _a;
41
+ const firstChild = (_a = this.hostElement.children) === null || _a === void 0 ? void 0 : _a[0];
42
+ if (firstChild) {
49
43
  this.visibleLink = firstChild.id;
44
+ }
50
45
  }
51
46
  handleLinkClick() {
52
47
  this.visible = false;
53
48
  }
54
49
  render() {
55
- return (h(Host, { class: `${this.variant} ${this.visible && "skip-to-content-visible"} `, ref: (el) => el }, this.links.map((link, i) => {
50
+ return (h(Host, { class: {
51
+ [this.variant]: true,
52
+ "skip-to-content-visible": this.visible,
53
+ } }, this.links.map((link, i) => {
56
54
  const id = `skip-to-content-${i}`;
57
- return (h("z-link", { id: id, underline: true, "aria-label": link.ariaLabel || link.label, class: `body-1-sb ${id == this.visibleLink ? "link-visible" : "link-invisible"}`, href: link.href, textcolor: this.variant === ThemeVariant.dark ? "white" : "black", onFocus: () => (this.visibleLink = id), onClick: () => this.handleLinkClick(), onKeyUp: (e) => handleKeyboardSubmit(e, this.handleLinkClick.bind(this)) }, link.label));
55
+ return (h("z-link", { id: id, underline: true, "aria-label": link.ariaLabel || link.label, class: `body-1-sb ${id == this.visibleLink ? "link-visible" : "link-invisible"}`, href: link.href, textcolor: this.variant === ThemeVariant.DARK ? "white" : "black", onFocus: () => (this.visibleLink = id), onClick: () => this.handleLinkClick(), onKeyUp: (e) => handleKeyboardSubmit(e, this.handleLinkClick.bind(this)) }, link.label));
58
56
  })));
59
57
  }
60
58
  get hostElement() { return getElement(this); }
@@ -1,10 +1,18 @@
1
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';
2
+ import { D as Device } from './index-4f1e2705.js';
3
+ import { d as convertJson, g as getDevice, h as handleKeyboardSubmit } from './utils-5a24a17b.js';
4
4
  import './breakpoints-e07f80e7.js';
5
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}}";
6
+ const stylesCss = ":host{display:block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;flex-direction:column}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;z-index:10;top:50%;width:auto;margin:0 var(--space-unit);cursor:pointer;fill:var(--color-primary01);transition:0.6s ease}main .scroll.disabled{opacity:0.5;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;line-height:0px;overflow-y:hidden;transition:all 300ms}footer{display:grid;width:100%;height:56px;align-items:center;border-top:var(--border-base) solid var(--color-surface02);grid-template:2 / 2;grid-template-areas:\"center center\" \"left right\"}footer>div{width:100%;align-items:center}footer .footer-center{grid-area:center}footer .footer-left{grid-area:left}footer .footer-right{grid-area:right}footer .bullet-container{display:flex;min-height:60px;align-items:center;justify-content:center;margin:0 auto}footer .bullet-container .bullet{width:8px;height:8px;margin:var(--space-unit) 2px;background-color:var(--bg-neutral-150);border-radius:50%;pointer-events:none}footer .bullet-container .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{height:76px;border-top:var(--border-base) solid var(--color-surface02);grid-template:1 / 1fr 2fr 1fr;grid-template-areas:\"left center right\"}footer .bullet-container .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 .bullet-container .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);cursor:pointer;pointer-events:auto}}";
7
7
 
8
+ /**
9
+ * Check if data is an array of strings.
10
+ * @param {unknown} data Data to check
11
+ * @returns {boolean}
12
+ */
13
+ function isStringArray(data) {
14
+ return Array.isArray(data) && data.every((datum) => typeof datum === "string");
15
+ }
8
16
  const ZSlideshow = class {
9
17
  constructor(hostRef) {
10
18
  registerInstance(this, hostRef);
@@ -28,16 +36,24 @@ const ZSlideshow = class {
28
36
  parseLinks() {
29
37
  var _a;
30
38
  switch (typeof this.data) {
31
- case "string":
32
- return (this.links = (_a = convertJson(this.data)) !== null && _a !== void 0 ? _a : []);
39
+ case "string": {
40
+ const parsed = (_a = convertJson(this.data)) !== null && _a !== void 0 ? _a : [];
41
+ if (!isStringArray(parsed)) {
42
+ throw new Error("Passed data is invalid");
43
+ }
44
+ this.links = parsed;
45
+ break;
46
+ }
33
47
  default:
34
- return (this.links = this.data);
48
+ this.links = this.data;
49
+ break;
35
50
  }
36
51
  }
37
52
  setStyle() {
38
53
  const refSlides = this.el.shadowRoot.querySelector("#slides");
39
- if (!refSlides)
54
+ if (!refSlides) {
40
55
  return;
56
+ }
41
57
  const allImages = this.el.shadowRoot.querySelectorAll(".slide");
42
58
  const width = this.el.offsetWidth;
43
59
  const fullwidth = width * this.links.length;
@@ -56,9 +72,9 @@ const ZSlideshow = class {
56
72
  }
57
73
  getBulletDimension() {
58
74
  switch (this.device) {
59
- case DeviceEnum.mobile:
75
+ case Device.MOBILE:
60
76
  return 24;
61
- case DeviceEnum.tablet:
77
+ case Device.TABLET:
62
78
  return 32;
63
79
  default:
64
80
  return 40;
@@ -91,11 +107,12 @@ const ZSlideshow = class {
91
107
  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
108
  }
93
109
  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" }))));
110
+ return (h("footer", null, h("div", { class: "footer-left" }, h("slot", { name: "footer-left" })), h("div", { class: "footer-center" }, h("div", { class: "bullet-container" }, Object.keys(this.links).map((i) => this.renderBullet(parseInt(i))))), h("div", { class: "footer-right" }, h("slot", { name: "footer-right" }))));
95
111
  }
96
112
  render() {
97
- if (!this.links || !this.links.length)
113
+ if (!this.links || !this.links.length) {
98
114
  return h("div", null);
115
+ }
99
116
  return (h("div", { id: this.slideshowid }, this.renderSlideshowMain(), this.renderSlideshowFooter()));
100
117
  }
101
118
  get el() { return getElement(this); }
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h } from './index-b3a91e19.js';
2
2
 
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}}";
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;z-index:1;top:calc(var(--space-unit) * 4);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:solid 2px var(--bg-grey-700);margin:0 calc(-1 * calc(var(--space-unit) * 2)) 0 calc(var(--space-unit) * 2);content:\"\"}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:18px;line-height:28px;outline:0;text-decoration: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{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:2px solid var(--myz-blue);margin:calc(var(--space-unit) * 2);background:var(--bg-white);border-radius:50%;color:var(--myz-blue);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--myz-blue-dark);background:var(--myz-blue-dark);color:var(--text-white)}:host(:not([disabled]):focus-within) .indicator{box-shadow:0 0 2px 2px var(--accent-dark)}:host([disabled]) .indicator{border-color:currentcolor;background:var(--bg-grey-200);color:var(--text-grey-700)}@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
 
5
5
  const ZStepperItem = class {
6
6
  constructor(hostRef) {
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, h } from './index-b3a91e19.js';
2
2
 
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)}}";
3
+ const stylesCss = ":host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin: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
 
5
5
  const ZStepper = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  }
9
9
  render() {
10
- return (h("slot", null));
10
+ return h("slot", null);
11
11
  }
12
12
  };
13
13
  ZStepper.style = stylesCss;
@@ -1,15 +1,13 @@
1
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';
2
+ import { S as Size, B as ButtonVariant, b as ButtonSize } from './index-4f1e2705.js';
5
3
 
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}";
4
+ const stylesCss = ":host{display:table-cell;border-bottom:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--color-white);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;z-index:5;top:8px;right:8px}.button-content{position:relative}.contextual-menu-container{position:absolute;top:calc(100% - var(--space-unit));right:0;display:none}.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
5
 
8
6
  const ZTableCell = class {
9
7
  constructor(hostRef) {
10
8
  registerInstance(this, hostRef);
11
9
  /** Set padding size of cell, if special 0px padding will be set */
12
- this.padding = Size.medium;
10
+ this.padding = Size.MEDIUM;
13
11
  this.isMenuOpened = false;
14
12
  }
15
13
  handleMenu() {
@@ -19,11 +17,13 @@ const ZTableCell = class {
19
17
  this.host.setAttribute("role", "cell");
20
18
  }
21
19
  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)));
20
+ return (h(Host, null, this.showButton && (h("div", { class: {
21
+ "button-container": true,
22
+ "visible": this.isMenuOpened,
23
+ } }, h("div", { class: "button-content" }, h("z-button", { icon: "contextual-menu", variant: ButtonVariant.TERTIARY, size: ButtonSize.X_SMALL, onClick: () => this.handleMenu() }), h("div", { class: {
24
+ "contextual-menu-container": true,
25
+ "visible": this.isMenuOpened,
26
+ } }, h("slot", { name: "contextual-menu" }))))), h("slot", null)));
27
27
  }
28
28
  get host() { return getElement(this); }
29
29
  };
@@ -1,8 +1,6 @@
1
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
2
 
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}}";
3
+ const stylesCss = ".sc-z-table-empty-box-h{display:block;padding:calc(var(--space-unit)) calc(var(--space-unit) * 3) 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.has-2-cta.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) calc(var(--space-unit) * 3)\n 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.has-2-cta.sc-z-table-empty-box{flex-direction:row}}";
6
4
 
7
5
  const ZTableEmptyBox = class {
8
6
  constructor(hostRef) {
@@ -17,9 +15,10 @@ const ZTableEmptyBox = class {
17
15
  this.hasCta2Slot = !!this.hostElement.querySelector('[slot="cta2"]');
18
16
  }
19
17
  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" })))));
18
+ 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: {
19
+ "cta": true,
20
+ "has-2-cta": !!this.hasCta1Slot && !!this.hasCta2Slot,
21
+ } }, h("slot", { name: "cta1" }), h("slot", { name: "cta2" })))));
23
22
  }
24
23
  get hostElement() { return getElement(this); }
25
24
  };
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h } from './index-b3a91e19.js';
2
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)}";
3
+ const stylesCss = ":host{display:none;background-color:var(--gray50)}:host>td>div.content-container{margin-bottom:calc(var(--space-unit) / 2);box-shadow:var(--shadow-2)}";
4
4
 
5
5
  const ZTableExpandedRow = class {
6
6
  constructor(hostRef) {