@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,8 +1,8 @@
1
1
  import { g as getRenderingRef, f as forceUpdate, r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-b3a91e19.js';
2
2
  import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-9943807e.js';
3
- import { B as ButtonVariantEnum, a as ButtonTypeEnum, b as ButtonSizeEnum, L as LabelPositions, I as InputTypeEnum } from './index-654849a7.js';
4
- import { i as icons } from './icons-74713b55.js';
5
- import { r as randomId, b as boolean } from './utils-417652d9.js';
3
+ import { B as ButtonVariant, a as ButtonType, b as ButtonSize, L as LabelPosition, I as InputType, K as KeyboardCode } from './index-4f1e2705.js';
4
+ import { I as ICONS } from './icons-7a34b033.js';
5
+ import { r as randomId, b as boolean } from './utils-5a24a17b.js';
6
6
  import './breakpoints-e07f80e7.js';
7
7
 
8
8
  var DeviceEnum;
@@ -1950,7 +1950,7 @@ const LicenseActivationBox = class {
1950
1950
  };
1951
1951
  LicenseActivationBox.style = licenseActivationBoxCss;
1952
1952
 
1953
- const licenseActivationFormCss = ".sc-license-activation-form-h{display:block;padding:calc(var(--space-unit) * 2)}.sc-license-activation-form-h>div.sc-license-activation-form>z-body.sc-license-activation-form{margin-bottom:calc(var(--space-unit) * 2)}.sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding:calc(var(--space-unit) * 2) 0;width:100%}.sc-license-activation-form-h>div.sc-license-activation-form>z-input.sc-license-activation-form{width:100%}.sc-license-activation-form-h>z-link.sc-license-activation-form{font-weight:bold}.sc-license-activation-form-h>div.sc-license-activation-form>z-info-box.sc-license-activation-form>div.sc-license-activation-form{display:flex}[variant=\"modal\"].sc-license-activation-form-h .error-section.sc-license-activation-form{display:flex;flex-direction:column;border-top:var(--border-size-small) solid var(--color-surface03);margin-top:calc(var(--space-unit) * 3);padding-top:calc(var(--space-unit) * 2)}[variant=\"modal\"].sc-license-activation-form-h .error-section.sc-license-activation-form>span.sc-license-activation-form{padding:calc(var(--space-unit) * 2) 0;display:block;color:var(--color-text01);fill:var(--color-text01);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;line-height:20px}[variant=\"preview\"].sc-license-activation-form-h{margin:0;padding:0}[variant=\"preview\"].sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{margin:0;padding:0;width:initial}[variant=\"preview\"].sc-license-activation-form-h .license-input-container.sc-license-activation-form{width:100%;margin-right:calc(var(--space-unit) * 2)}.sc-license-activation-form-h .license-input-container.sc-license-activation-form>z-input.sc-license-activation-form{width:100%}@media only screen and (min-width: 768px){.sc-license-activation-form-h{padding:0}[variant=\"modal\"].sc-license-activation-form-h{padding:32px;width:396px}.sc-license-activation-form-h>div.sc-license-activation-form{display:flex;flex-direction:row}[variant=\"modal\"].sc-license-activation-form-h>div.sc-license-activation-form{flex-direction:column}.sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding-top:calc(var(--space-unit) * 3);padding-left:calc(var(--space-unit) * 2);width:auto}[variant=\"preview\"].sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding-top:0}[variant=\"modal\"].sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding:32px 0 calc(var(--space-unit) * 2);width:max-content}[variant=\"modal\"].sc-license-activation-form-h .error-section.sc-license-activation-form>z-button.sc-license-activation-form{width:max-content}}@media only screen and (min-width: 1152px){[variant=\"modal\"].sc-license-activation-form-h{width:477px}.sc-license-activation-form-h>div.sc-license-activation-form{flex-direction:row}}";
1953
+ const licenseActivationFormCss = ".sc-license-activation-form-h{display:block;padding:calc(var(--space-unit) * 2)}.sc-license-activation-form-h>div.sc-license-activation-form>.body-3.sc-license-activation-form{display:block;margin-bottom:calc(var(--space-unit) * 2)}.sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding:calc(var(--space-unit) * 2) 0;width:100%}.sc-license-activation-form-h>div.sc-license-activation-form>z-input.sc-license-activation-form{width:100%}.sc-license-activation-form-h>z-link.sc-license-activation-form{font-weight:bold}.sc-license-activation-form-h>div.sc-license-activation-form>z-info-box.sc-license-activation-form>div.sc-license-activation-form{display:flex}[variant=\"modal\"].sc-license-activation-form-h .error-section.sc-license-activation-form{display:flex;flex-direction:column;border-top:var(--border-size-small) solid var(--color-surface03);margin-top:calc(var(--space-unit) * 3);padding-top:calc(var(--space-unit) * 2)}[variant=\"modal\"].sc-license-activation-form-h .error-section.sc-license-activation-form>span.sc-license-activation-form{padding:calc(var(--space-unit) * 2) 0;display:block;color:var(--color-text01);fill:var(--color-text01);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;line-height:20px}[variant=\"preview\"].sc-license-activation-form-h{margin:0;padding:0}[variant=\"preview\"].sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{margin:0;padding:0;width:initial}[variant=\"preview\"].sc-license-activation-form-h .license-input-container.sc-license-activation-form{width:100%;margin-right:calc(var(--space-unit) * 2)}.sc-license-activation-form-h .license-input-container.sc-license-activation-form>z-input.sc-license-activation-form{width:100%}@media only screen and (min-width: 768px){.sc-license-activation-form-h{padding:0}[variant=\"modal\"].sc-license-activation-form-h{padding:32px;width:396px}.sc-license-activation-form-h>div.sc-license-activation-form{display:flex;flex-direction:row}[variant=\"modal\"].sc-license-activation-form-h>div.sc-license-activation-form{flex-direction:column}.sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding-top:calc(var(--space-unit) * 3);padding-left:calc(var(--space-unit) * 2);width:auto}[variant=\"preview\"].sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding-top:0}[variant=\"modal\"].sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding:32px 0 calc(var(--space-unit) * 2);width:max-content}[variant=\"modal\"].sc-license-activation-form-h .error-section.sc-license-activation-form>z-button.sc-license-activation-form{width:max-content}}@media only screen and (min-width: 1152px){[variant=\"modal\"].sc-license-activation-form-h{width:477px}.sc-license-activation-form-h>div.sc-license-activation-form{flex-direction:row}}";
1954
1954
 
1955
1955
  const LicenseActivationForm = class {
1956
1956
  constructor(hostRef) {
@@ -2019,25 +2019,30 @@ const LicenseActivationForm = class {
2019
2019
  : this.error
2020
2020
  ? this.error
2021
2021
  : inputMessage;
2022
- return (h("z-input-message", { ref: (el) => (this.inputMessageRef = el), message: message, status: this.variant === LicenseActivationVariantEnum.box ? null : inputStatus }));
2022
+ return (h("z-input-message", { ref: (el) => (this.inputMessageRef = el), message: message, status: this.variant === LicenseActivationVariantEnum.box
2023
+ ? null
2024
+ : inputStatus }));
2023
2025
  }
2024
2026
  renderButton() {
2025
2027
  const disabled = (this.variant === LicenseActivationVariantEnum.modal && !this.inputVal) ||
2026
2028
  !!this.requestLoading ||
2027
2029
  !this.enableButton;
2028
- return (h("z-button", { variant: ButtonVariantEnum.primary, size: this.getButtonSize(this.variant), icon: this.getButtonIcon(this.variant), disabled: disabled, onClick: () => this.handleSubmitButtonClick(this.inputVal) }, this.getButtonLabel(this.variant)));
2030
+ return (h("z-button", { variant: ButtonVariant.primary, size: this.getButtonSize(this.variant), icon: this.getButtonIcon(this.variant), disabled: disabled, onClick: () => this.handleSubmitButtonClick(this.inputVal) }, this.getButtonLabel(this.variant)));
2029
2031
  }
2030
2032
  renderAdditionalDescription() {
2031
2033
  const { additionalDescription } = this.formTexts;
2032
2034
  if (!additionalDescription)
2033
2035
  return;
2034
- return h("z-body", { level: 3 }, additionalDescription);
2036
+ return h("span", { class: "body-3" }, additionalDescription);
2035
2037
  }
2036
2038
  renderInfoLink() {
2037
2039
  const { linkLabel } = this.formTexts;
2038
2040
  if (this.variant === LicenseActivationVariantEnum.preview)
2039
2041
  return;
2040
- return (h("z-link", { icon: "question-mark", onClick: () => this.handleInfoClick() }, linkLabel));
2042
+ return (h("z-link", { icon: "question-mark", onClick: () => this.handleInfoClick(), onKeyUp: (e) => {
2043
+ if (e.code === "Enter")
2044
+ this.handleInfoClick();
2045
+ } }, linkLabel));
2041
2046
  }
2042
2047
  renderInfoBox() {
2043
2048
  if (!this.showInfoBox)
@@ -2061,7 +2066,7 @@ const LicenseActivationForm = class {
2061
2066
  if (this.variant !== LicenseActivationVariantEnum.modal || !this.error)
2062
2067
  return;
2063
2068
  const { errorButtonLabel, errorSectionMessage } = this.formTexts;
2064
- return (h("section", { class: "error-section" }, h("span", { class: "heading-01" }, errorSectionMessage), h("z-button", { variant: ButtonVariantEnum.secondary, onClick: this.redirectToSupport }, errorButtonLabel)));
2069
+ return (h("section", { class: "error-section" }, h("span", { class: "heading-01" }, errorSectionMessage), h("z-button", { variant: ButtonVariant.secondary, onClick: this.redirectToSupport }, errorButtonLabel)));
2065
2070
  }
2066
2071
  getButtonSize(variant) {
2067
2072
  const { previewButtonSize } = this.formTexts;
@@ -2113,88 +2118,66 @@ const LicenseActivationModal = class {
2113
2118
  this.activationModalClose.emit({ value: true });
2114
2119
  this.resetStore();
2115
2120
  }
2116
- handleModalBackgroundClick(e) {
2117
- const cp = e.composedPath();
2118
- const modalBackground = cp.find((item, index) => item.dataset != null &&
2119
- item.dataset.action === "modalBackground" &&
2120
- index === 0);
2121
- if (modalBackground) {
2122
- this.handleModalClose();
2123
- }
2124
- }
2125
2121
  render() {
2126
- return (h(Host, { tabIndex: 0 }, h("z-modal", { tabIndex: 0, onClick: (e) => this.handleModalBackgroundClick(e), modaltitle: this.modalTitle, onModalClose: () => this.handleModalClose() }, h("div", { slot: "modalContent" }, h("slot", null)))));
2122
+ return (h(Host, null, h("z-modal", { modaltitle: this.modalTitle, alertdialog: true, onModalClose: () => this.handleModalClose() }, h("div", { slot: "modalContent" }, h("slot", null)))));
2127
2123
  }
2128
2124
  };
2129
2125
  LicenseActivationModal.style = licenseActivationModalCss;
2130
2126
 
2131
- const ZBody = class {
2132
- constructor(hostRef) {
2133
- registerInstance(this, hostRef);
2134
- this.variant = "regular";
2135
- }
2136
- render() {
2137
- return (h("z-typography", { tabIndex: 0, component: this.component || "span", level: `b${this.level}`, variant: this.variant }, h("slot", null)));
2138
- }
2139
- };
2140
-
2141
- const stylesCss$7 = ".sc-z-button-h{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:0}[disabled].sc-z-button-h:not([disabled=\"false\"]){pointer-events:none}.sc-z-button-h .container.sc-z-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:100%;padding:0;font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:1;letter-spacing:0.3px;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);text-transform:uppercase;text-decoration:none;cursor:pointer;white-space:nowrap;outline:none;fill:currentColor}.sc-z-button-h .container.has-text.sc-z-button{min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}.sc-z-button-h .container.has-text.sc-z-button z-icon.sc-z-button{--z-icon-right-margin:var(--space-unit)}.sc-z-button-h .big.sc-z-button{height:44px;min-width:44px}.sc-z-button-h .small.sc-z-button{height:36px;min-width:36px}.sc-z-button-h .x-small.sc-z-button{height:32px;min-width:32px}.sc-z-button-h .primary.sc-z-button{background-color:var(--color-primary01);border-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){.sc-z-button-h .primary.sc-z-button:hover{background-color:var(--color-hover-primary);border-color:var(--color-hover-primary);color:var(--color-text-inverse)}}.sc-z-button-h .container.sc-z-button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-button-h .primary.sc-z-button:active{background-color:var(--color-pressed-primary);border-color:var(--color-pressed-primary);color:var(--color-text-inverse);box-shadow:var(--shadow-2)}[disabled].sc-z-button-h:not([disabled=\"false\"]) .primary.sc-z-button{background-color:var(--color-disabled01);border-color:var(--color-disabled01);color:var(--color-disabled02)}.sc-z-button-h .secondary.sc-z-button{background-color:var(--color-surface01);border-color:var(--color-primary01);color:var(--color-primary01)}@media (hover: hover){.sc-z-button-h .secondary.sc-z-button:hover{background-color:var(--color-surface01);border-color:var(--color-hover-primary);color:var(--color-hover-primary)}}.sc-z-button-h .secondary.sc-z-button:active{background-color:var(--color-surface01);border-color:var(--color-pressed-primary);color:var(--color-pressed-primary);box-shadow:var(--shadow-2)}[disabled].sc-z-button-h:not([disabled=\"false\"]) .secondary.sc-z-button{background-color:var(--color-surface01);border-color:var(--color-disabled01);color:var(--color-disabled02)}.sc-z-button-h .tertiary.sc-z-button{background-color:transparent;border-color:transparent;color:var(--color-primary01)}@media (hover: hover){.sc-z-button-h .tertiary.sc-z-button:hover{background-color:var(--color-primary03);border-color:var(--color-primary03);color:var(--color-hover-primary)}}.sc-z-button-h .tertiary.sc-z-button:focus:focus-visible{background-color:var(--color-surface01);border-color:var(--color-surface01);color:var(--color-primary01)}.sc-z-button-h .tertiary.sc-z-button:active{background-color:var(--color-surface01);border-color:var(--color-surface01);color:var(--color-primary01);box-shadow:var(--shadow-2)}[disabled].sc-z-button-h:not([disabled=\"false\"]) .tertiary.sc-z-button{background-color:transparent;border-color:transparent;color:var(--color-disabled02)}";
2127
+ const stylesCss$6 = ".sc-z-button-h{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:0}[disabled].sc-z-button-h:not([disabled=\"false\"]){pointer-events:none}.sc-z-button-h .z-button--container.sc-z-button{display:inline-flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center;padding:0;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;white-space:nowrap}.sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button{min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button z-icon.sc-z-button{--z-icon-right-margin:var(--space-unit)}[size=\"big\"].sc-z-button-h .z-button--container.sc-z-button{min-width:44px;height:44px}[size=\"small\"].sc-z-button-h .z-button--container.sc-z-button{min-width:36px;height:36px}[size=\"x-small\"].sc-z-button-h .z-button--container.sc-z-button{min-width:32px;height:32px}[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse)}}[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-text-inverse)}[variant=\"primary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-disabled01);color:var(--color-disabled02)}[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-surface01);color:var(--color-primary01)}@media (hover: hover){[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-surface01);color:var(--color-hover-primary)}}[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-pressed-primary)}[variant=\"secondary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-surface01);color:var(--color-disabled02)}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button{border-color:transparent;background-color:transparent;color:var(--color-primary01)}@media (hover: hover){[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-primary03);background-color:var(--color-primary03);color:var(--color-hover-primary)}}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{border-color:var(--color-surface01);background-color:var(--color-surface01);color:var(--color-primary01)}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-surface01);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-primary01)}[variant=\"tertiary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{border-color:transparent;background-color:transparent;color:var(--color-disabled02)}";
2142
2128
 
2143
2129
  const ZButton = class {
2144
2130
  constructor(hostRef) {
2145
2131
  registerInstance(this, hostRef);
2132
+ /** defines a string value that labels an interactive element, used for accessibility. */
2133
+ this.ariaLabel = "";
2146
2134
  /** HTML button disabled attribute. */
2147
2135
  this.disabled = false;
2148
2136
  /** HTML button type attribute. */
2149
- this.type = ButtonTypeEnum.button;
2137
+ this.type = ButtonType.BUTTON;
2150
2138
  /** Graphical variant: `primary`, `secondary`, `tertiary`. Defaults to `primary`. */
2151
- this.variant = ButtonVariantEnum.primary;
2139
+ this.variant = ButtonVariant.PRIMARY;
2152
2140
  /** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
2153
- this.size = ButtonSizeEnum.big;
2141
+ this.size = ButtonSize.BIG;
2154
2142
  }
2155
2143
  getAttributes() {
2156
2144
  return {
2157
2145
  id: this.htmlid,
2158
- "aria-label": this.ariaLabel,
2159
2146
  class: {
2160
- container: true,
2161
- [this.variant]: true,
2162
- [this.size]: true,
2163
- "has-text": !!this.hostElement.textContent
2164
- }
2147
+ "z-button--container": true,
2148
+ "z-button--has-text": !!this.hostElement.textContent.trim(),
2149
+ },
2165
2150
  };
2166
2151
  }
2167
2152
  render() {
2168
2153
  if (this.href) {
2169
- return (h("a", Object.assign({}, this.getAttributes(), { href: this.href, target: this.target }), this.icon && h("z-icon", { name: this.icon, width: 16, height: 16 }), h("slot", null)));
2154
+ return (h("a", Object.assign({}, this.getAttributes(), { "aria-label": this.ariaLabel, href: this.href, target: this.target }), this.icon && (h("z-icon", { name: this.icon, width: 16, height: 16 })), h("slot", null)));
2170
2155
  }
2171
- return (h("button", Object.assign({}, this.getAttributes(), { name: this.name, type: this.type, disabled: this.disabled }), this.icon && h("z-icon", { name: this.icon, width: 16, height: 16 }), h("slot", null)));
2156
+ return (h("button", Object.assign({}, this.getAttributes(), { "aria-label": this.ariaLabel, name: this.name, type: this.type, disabled: this.disabled }), this.icon && (h("z-icon", { name: this.icon, width: 16, height: 16 })), h("slot", null)));
2172
2157
  }
2173
2158
  get hostElement() { return getElement(this); }
2174
2159
  };
2175
- ZButton.style = stylesCss$7;
2160
+ ZButton.style = stylesCss$6;
2176
2161
 
2177
- const stylesCss$6 = ":host{line-height:0;vertical-align:middle;margin-right:var(--z-icon-right-margin, 0);margin-left:var(--z-icon-left-margin, 0)}:host svg:not([width]){width:var(--z-icon-width, 18px)}:host svg:not([height]){height:var(--z-icon-height, 18px)}";
2162
+ const stylesCss$5 = ":host{margin-right:var(--z-icon-right-margin, 0);margin-left:var(--z-icon-left-margin, 0);line-height:0;vertical-align:middle}:host svg:not([width]){width:var(--z-icon-width, 18px)}:host svg:not([height]){height:var(--z-icon-height, 18px)}";
2178
2163
 
2179
2164
  const ZIcon = class {
2180
2165
  constructor(hostRef) {
2181
2166
  registerInstance(this, hostRef);
2182
2167
  }
2183
- selectPathOrPolygon(iconName) {
2184
- if (iconName && iconName.startsWith("M")) {
2185
- return h("path", { d: icons[this.name] });
2186
- }
2187
- else {
2188
- return h("polygon", { points: icons[this.name] });
2168
+ selectPathOrPolygon(iconValue) {
2169
+ if (iconValue === null || iconValue === void 0 ? void 0 : iconValue.startsWith("M")) {
2170
+ return h("path", { d: ICONS[this.name] });
2189
2171
  }
2172
+ return h("polygon", { points: ICONS[this.name] });
2190
2173
  }
2191
2174
  render() {
2192
- return (h("svg", { viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid, fill: this.fill ? `var(--${this.fill})` : "" }, this.selectPathOrPolygon(icons[this.name])));
2175
+ return (h(Host, { "aria-hidden": "true" }, h("svg", { viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid, fill: this.fill ? `var(--${this.fill})` : "" }, this.selectPathOrPolygon(ICONS[this.name]))));
2193
2176
  }
2194
2177
  };
2195
- ZIcon.style = stylesCss$6;
2178
+ ZIcon.style = stylesCss$5;
2196
2179
 
2197
- const stylesCss$5 = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>div{background:var(--accent-lighter);padding:calc(var(--space-unit) * 2);border-radius:var(--border-radius);display:flex;width:inherit}:host>div>slot{color:var(--text-grey-800);font-size:14px}:host>div>z-icon{fill:var(--myz-blue);cursor:pointer;margin-left:calc(var(--space-unit) * 2)}";
2180
+ const stylesCss$4 = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;padding:calc(var(--space-unit) * 2);background:var(--accent-lighter);border-radius:var(--border-radius)}:host>div>slot{color:var(--text-grey-800);font-size:14px}:host>div>z-icon{margin-left:calc(var(--space-unit) * 2);cursor:pointer;fill:var(--myz-blue)}";
2198
2181
 
2199
2182
  const ZInfoBox = class {
2200
2183
  constructor(hostRef) {
@@ -2207,12 +2190,12 @@ const ZInfoBox = class {
2207
2190
  this.infoBoxClose.emit({ boxid: this.boxid });
2208
2191
  }
2209
2192
  render() {
2210
- return (h("div", { id: this.boxid }, h("slot", { name: "content" }), this.isclosable && h("z-icon", { name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() })));
2193
+ return (h("div", { id: this.boxid }, h("slot", { name: "content" }), this.isclosable && (h("z-icon", { name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
2211
2194
  }
2212
2195
  };
2213
- ZInfoBox.style = stylesCss$5;
2196
+ ZInfoBox.style = stylesCss$4;
2214
2197
 
2215
- const stylesCss$4 = ".sc-z-input-h{display:inline-block;width:inherit}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input,.textareaWrapper.sc-z-input{background:var(--color-input-field01);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--color-surface04);box-sizing:border-box;color:var(--color-text02);fill:var(--color-icon02);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:var(--font-size-3);outline:none}input.sc-z-input:focus:focus-visible,.textareaWrapper.sc-z-input:focus-within{box-shadow:var(--shadow-focus-primary)}input.sc-z-input:focus:focus-visible,textarea.sc-z-input:focus:focus-visible{color:var(--color-primary01)}.filled.sc-z-input{border-color:var(--color-surface05)}.input_success.sc-z-input{background:var(--color-success-inverse);border-color:var(--color-success01);fill:var(--color-success01)}.input_error.sc-z-input{background:var(--color-error-inverse);border-color:var(--color-error01);fill:var(--color-error01)}.input_warning.sc-z-input{background:var(--color-warning-inverse);border-color:var(--color-warning01);fill:var(--color-warning01)}input.sc-z-input:hover,.textareaWrapper.sc-z-input:hover{border-width:var(--border-size-medium)}input[readonly].sc-z-input,.readonly.sc-z-input{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) .textareaWrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) z-icon.sc-z-input{border-color:var(--color-disabled01);color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none;box-shadow:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-text05)}.sc-z-input::-webkit-input-placeholder,.sc-z-input::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input:-ms-input-placeholder,.sc-z-input:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input::-moz-placeholder{color:var(--color-text05)}.sc-z-input:-moz-placeholder{color:var(--color-text05)}label.inputLabel.sc-z-input{display:block;margin-bottom:var(--space-unit);color:var(--color-text02);font-family:var(--font-family-sans);text-transform:uppercase;text-align:left}[disabled].sc-z-input-h:not([disabled=\"false\"]) label.inputLabel.sc-z-input{color:var(--color-disabled02)}.textWrapper.sc-z-input>div.sc-z-input{fill:var(--color-icon02)}.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);margin:0;padding:0 calc(var(--space-unit) * 1.5);box-sizing:border-box}.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.sc-z-input,.textWrapper.sc-z-input>div.sc-z-input>input.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.textWrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1}.textWrapper.sc-z-input .iconsWrapper.sc-z-input{position:absolute;right:calc(var(--space-unit) * 1.5);top:50%;transform:translateY(-50%);display:flex;z-index:2;pointer-events:none}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input{background:none;color:inherit;border:0;padding:0;font:inherit;pointer-events:initial}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input+button.iconButton.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.resetIcon.sc-z-input,.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.showHidePasswordIcon.sc-z-input{cursor:pointer}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input>z-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:hover,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:focus,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:active{-webkit-background-clip:text !important}.textareaWrapper.sc-z-input{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input{min-height:132px;width:100%;margin:0;padding:0;border:none;resize:none}.radioWrapper.sc-z-input,.checkboxWrapper.sc-z-input{display:inline-flex;flex-direction:row;align-items:center;font-family:var(--font-family-sans);position:relative;color:var(--color-text01);fill:var(--color-primary01)}.radioWrapper.sc-z-input:hover,.checkboxWrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:currentColor}.radioWrapper.sc-z-input>input.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input{position:absolute;opacity:0;z-index:-1;pointer-events:none}.radioWrapper.sc-z-input .radioLabel.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.sc-z-input{display:inline-flex;align-items:center;margin:0;line-height:1;color:inherit;font-family:inherit;font-weight:inherit;font-size:inherit;text-transform:inherit}.radioWrapper.sc-z-input input.sc-z-input:not(:disabled)+.radioLabel.sc-z-input,.checkboxWrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkboxLabel.sc-z-input{cursor:pointer}.radioWrapper.sc-z-input .radioLabel.sc-z-input z-icon.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.sc-z-input z-icon.sc-z-input{fill:inherit;cursor:pointer}.radioWrapper.sc-z-input .radioLabel.after.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.after.sc-z-input{flex-direction:row}.radioWrapper.sc-z-input .radioLabel.before.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.before.sc-z-input{flex-direction:row-reverse}.radioWrapper.sc-z-input .radioLabel.after.sc-z-input>span.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radioWrapper.sc-z-input .radioLabel.before.sc-z-input>span.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}.radioWrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radioLabel.sc-z-input>z-icon.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkboxLabel.sc-z-input>z-icon.sc-z-input{box-shadow:var(--shadow-focus-primary);border-radius:var(--border-radius-small)}.radioWrapper.sc-z-input>input.sc-z-input:disabled+.radioLabel.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:disabled+.checkboxLabel.sc-z-input{color:var(--color-disabled02)}.radioWrapper.sc-z-input>input.sc-z-input:disabled+.radioLabel.sc-z-input>z-icon.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:disabled+.checkboxLabel.sc-z-input>z-icon.sc-z-input{fill:var(--color-disabled01);cursor:default}";
2198
+ const stylesCss$3 = ".sc-z-input-h{display:inline-block;width:inherit}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input,.textarea-wrapper.sc-z-input{box-sizing:border-box;border:var(--border-size-small) solid var(--color-surface04);background:var(--color-input-field01);border-radius:var(--border-radius-small);color:var(--color-text01);fill:var(--color-icon02);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg);outline:none}.cursor-select.sc-z-input-h input.sc-z-input{cursor:pointer}.sc-z-input-h:not(.active-select) input.sc-z-input:focus:focus-visible,.textarea-wrapper.sc-z-input:focus-within{box-shadow:var(--shadow-focus-primary)}input.sc-z-input:focus:focus-visible,textarea.sc-z-input:focus:focus-visible{color:var(--color-primary02)}.active-select.sc-z-input-h input.sc-z-input{border:var(--border-size-small) solid var(--blue500)}.cursor-select.sc-z-input-h input.sc-z-input:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-input-h input[readonly].sc-z-input:focus:focus-visible{box-shadow:none;pointer-events:none}.filled.sc-z-input{border-color:var(--color-surface05)}.input-success.sc-z-input{border-color:var(--color-success01);background:var(--color-success-inverse);fill:var(--color-success01)}.input-error.sc-z-input{border-color:var(--color-error01);background:var(--color-error-inverse);fill:var(--color-error01)}.input-warning.sc-z-input{border-color:var(--color-warning01);background:var(--color-warning-inverse);fill:var(--color-warning01)}input.sc-z-input:hover,.textarea-wrapper.sc-z-input:hover{outline:var(--border-size-medium) solid var(--color-surface04);outline-offset:-2px}.sc-z-input-h:not(.active-select) input[readonly].sc-z-input,.readonly.sc-z-input{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) .textarea-wrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) z-icon.sc-z-input{border-color:var(--color-disabled01);box-shadow:none;color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-text05)}.sc-z-input::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input::placeholder{color:var(--color-text05)}label.input-label.sc-z-input{display:block;padding-bottom:var(--space-unit);color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);text-align:left;text-transform:uppercase}[disabled].sc-z-input-h:not([disabled=\"false\"]) label.input-label.sc-z-input{color:var(--color-disabled02)}.text-wrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1;fill:var(--color-icon02)}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);box-sizing:border-box;padding:0 calc(var(--space-unit) * 1.5);margin:0}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.sc-z-input,.text-wrapper.sc-z-input>div.sc-z-input>input.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input{position:absolute;z-index:2;top:50%;right:calc(var(--space-unit) * 1.5);display:flex;pointer-events:none;transform:translateY(-50%)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input{padding:0;border:0;background:none;color:inherit;font:inherit;pointer-events:initial}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input+button.icon-button.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.reset-icon.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.toggle-password-icon.sc-z-input{cursor:pointer}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input>z-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill,.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:hover,.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:focus,.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:active{background:var(--color-white) !important;background-clip:text !important;-webkit-transition-delay:99999s !important}.textarea-wrapper.sc-z-input{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input{width:100%;min-height:132px;padding:0;border:none;margin:0;resize:none}.radio-wrapper.sc-z-input,.checkbox-wrapper.sc-z-input{position:relative;display:inline-flex;flex-direction:row;align-items:center;color:var(--color-text01);fill:var(--color-primary01);font-family:var(--font-family-sans)}.radio-wrapper.sc-z-input:hover,.checkbox-wrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:currentcolor}.radio-wrapper.sc-z-input>input.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input{position:absolute;z-index:-1;opacity:0;pointer-events:none}.radio-wrapper.sc-z-input .radio-label.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{display:inline-flex;align-items:center;margin:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:inherit}.radio-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkbox-label.sc-z-input{cursor:pointer}.radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{cursor:pointer;fill:inherit}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input{flex-direction:row}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input{flex-direction:row-reverse}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{border-radius:var(--border-radius-small);box-shadow:var(--shadow-focus-primary)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input{color:var(--color-disabled02)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input>z-icon.sc-z-input{cursor:default;fill:var(--color-disabled01)}";
2216
2199
 
2217
2200
  const ZInput = class {
2218
2201
  constructor(hostRef) {
@@ -2223,6 +2206,8 @@ const ZInput = class {
2223
2206
  this.inputCheck = createEvent(this, "inputCheck", 7);
2224
2207
  /** the id of the input element */
2225
2208
  this.htmlid = `id-${randomId()}`;
2209
+ /** the input aria-label */
2210
+ this.ariaLabel = "";
2226
2211
  /** the input is disabled */
2227
2212
  this.disabled = false;
2228
2213
  /** the input is readonly */
@@ -2234,7 +2219,7 @@ const ZInput = class {
2234
2219
  /** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */
2235
2220
  this.message = true;
2236
2221
  /** the input label position: available for checkbox, radio */
2237
- this.labelPosition = LabelPositions.right;
2222
+ this.labelPosition = LabelPosition.RIGHT;
2238
2223
  /** render clear icon when typing (optional): available for text */
2239
2224
  this.hasclearicon = true;
2240
2225
  this.isTyping = false;
@@ -2244,21 +2229,18 @@ const ZInput = class {
2244
2229
  inputCheckListener(e) {
2245
2230
  const data = e.detail;
2246
2231
  switch (this.type) {
2247
- case InputTypeEnum.radio:
2248
- if (data.type === InputTypeEnum.radio &&
2249
- data.name === this.name &&
2250
- data.id !== this.htmlid) {
2232
+ case InputType.RADIO:
2233
+ if (data.type === InputType.RADIO && data.name === this.name && data.id !== this.htmlid) {
2251
2234
  this.checked = false;
2252
2235
  }
2253
- default:
2254
- return;
2236
+ break;
2255
2237
  }
2256
2238
  }
2257
2239
  /** get checked status */
2258
2240
  async isChecked() {
2259
2241
  switch (this.type) {
2260
- case InputTypeEnum.checkbox:
2261
- case InputTypeEnum.radio:
2242
+ case InputType.CHECKBOX:
2243
+ case InputType.RADIO:
2262
2244
  return this.checked;
2263
2245
  default:
2264
2246
  console.warn("`isChecked` method is only available for type `checkbox` and `radio`");
@@ -2266,10 +2248,11 @@ const ZInput = class {
2266
2248
  }
2267
2249
  }
2268
2250
  emitInputChange(value) {
2269
- if (!this.isTyping)
2251
+ if (!this.isTyping) {
2270
2252
  this.emitStartTyping();
2271
- let validity = {};
2272
- if (this.type === InputTypeEnum.textarea) {
2253
+ }
2254
+ let validity;
2255
+ if (this.type === InputType.TEXTAREA) {
2273
2256
  validity = this.getValidity("textarea");
2274
2257
  }
2275
2258
  else {
@@ -2319,59 +2302,86 @@ const ZInput = class {
2319
2302
  required: this.required,
2320
2303
  title: this.htmltitle,
2321
2304
  class: {
2322
- [`input_${this.status || "default"}`]: true,
2305
+ [`input-${this.status}`]: !!this.status,
2323
2306
  filled: !!this.value,
2324
2307
  },
2325
2308
  autocomplete: this.autocomplete,
2326
2309
  onInput: (e) => this.emitInputChange(e.target.value),
2327
2310
  };
2328
2311
  }
2329
- renderInputText(type = InputTypeEnum.text) {
2330
- const attr = this.getTextAttributes();
2331
- if (this.icon || type === InputTypeEnum.password) {
2332
- attr.class = Object.assign(Object.assign({}, attr.class), { hasIcon: true });
2312
+ getNumberAttributes(type) {
2313
+ if (type != InputType.NUMBER) {
2314
+ return;
2333
2315
  }
2334
- if (this.hasclearicon) {
2335
- attr.class = Object.assign(Object.assign({}, attr.class), { hasClearIcon: true });
2316
+ return {
2317
+ min: this.min,
2318
+ max: this.max,
2319
+ step: this.step,
2320
+ };
2321
+ }
2322
+ getPatternAttribute(type) {
2323
+ if (type != InputType.PASSWORD &&
2324
+ type != InputType.TEXT &&
2325
+ type != InputType.TEL &&
2326
+ type != InputType.SEARCH &&
2327
+ type != InputType.URL &&
2328
+ type != InputType.EMAIL) {
2329
+ return;
2336
2330
  }
2337
- return (h("div", { class: "textWrapper" }, this.renderLabel(), h("div", null, h("input", Object.assign({ type: type === InputTypeEnum.password && !this.passwordHidden
2338
- ? InputTypeEnum.text
2339
- : type }, attr, { "aria-label": this.ariaLabel || this.label })), this.renderIcons()), this.renderMessage()));
2331
+ return {
2332
+ pattern: this.pattern,
2333
+ };
2334
+ }
2335
+ renderInputText(type = InputType.TEXT) {
2336
+ const ariaLabel = this.ariaLabel ? { "aria-label": this.ariaLabel } : {};
2337
+ const attr = Object.assign(Object.assign(Object.assign(Object.assign({}, this.getTextAttributes()), this.getNumberAttributes(type)), this.getPatternAttribute(type)), ariaLabel);
2338
+ if (this.icon || type === InputType.PASSWORD) {
2339
+ Object.assign(attr.class, { "has-icon": true });
2340
+ }
2341
+ if (this.hasclearicon && type != InputType.NUMBER) {
2342
+ Object.assign(attr.class, { "has-clear-icon": true });
2343
+ }
2344
+ return (h("div", { class: "text-wrapper" }, this.renderLabel(), h("div", null, h("input", Object.assign({ type: type === InputType.PASSWORD && !this.passwordHidden ? InputType.TEXT : type }, attr)), this.renderIcons()), this.renderMessage()));
2340
2345
  }
2341
2346
  renderLabel() {
2342
- if (!this.label)
2347
+ if (!this.label) {
2343
2348
  return;
2344
- return (h("label", { class: "inputLabel body-5-sb", id: `${this.htmlid}_label`, htmlFor: this.htmlid, "aria-label": this.label }, this.label));
2349
+ }
2350
+ return (h("label", { class: "input-label body-5-sb", id: `${this.htmlid}_label`, htmlFor: this.htmlid }, this.label));
2345
2351
  }
2346
2352
  renderIcons() {
2347
- return (h("span", { class: "iconsWrapper" }, this.renderResetIcon(), this.renderIcon()));
2353
+ return (h("span", { class: "icons-wrapper" }, this.renderResetIcon(), this.renderIcon()));
2348
2354
  }
2349
2355
  renderIcon() {
2350
- if (this.type === InputTypeEnum.password) {
2356
+ if (this.type === InputType.PASSWORD) {
2351
2357
  return this.renderShowHidePassword();
2352
2358
  }
2353
- if (!this.icon)
2359
+ if (!this.icon) {
2354
2360
  return;
2355
- return (h("button", { type: "button", class: "iconButton inputIcon", tabIndex: -1 }, h("z-icon", { name: this.icon })));
2361
+ }
2362
+ return (h("button", { type: "button", class: "icon-button input-icon", tabIndex: -1 }, h("z-icon", { name: this.icon })));
2356
2363
  }
2357
2364
  renderResetIcon() {
2358
- if (!this.hasclearicon || !this.value || this.disabled || this.readonly)
2365
+ if (!this.hasclearicon || !this.value || this.disabled || this.readonly || this.type == InputType.NUMBER) {
2359
2366
  return;
2360
- return (h("button", { type: "button", class: "iconButton resetIcon", "aria-label": "cancella il contenuto dell'input", onClick: () => this.emitInputChange("") }, h("z-icon", { name: "multiply" })));
2367
+ }
2368
+ return (h("button", { type: "button", class: "icon-button reset-icon", "aria-label": "cancella il contenuto dell'input", onClick: () => this.emitInputChange("") }, h("z-icon", { name: "multiply" })));
2361
2369
  }
2362
2370
  renderShowHidePassword() {
2363
- return (h("button", { type: "button", class: "iconButton showHidePasswordIcon", disabled: this.disabled, "aria-label": this.passwordHidden ? "mostra password" : "nascondi password", onClick: () => (this.passwordHidden = !this.passwordHidden) }, h("z-icon", { name: this.passwordHidden ? "view-filled" : "view-off-filled" })));
2371
+ return (h("button", { type: "button", class: "icon-button toggle-password-icon", disabled: this.disabled, "aria-label": this.passwordHidden ? "mostra password" : "nascondi password", onClick: () => (this.passwordHidden = !this.passwordHidden) }, h("z-icon", { name: this.passwordHidden ? "view-filled" : "view-off-filled" })));
2364
2372
  }
2365
2373
  renderMessage() {
2366
- if (boolean(this.message) === false)
2374
+ if (boolean(this.message) === false) {
2367
2375
  return;
2376
+ }
2368
2377
  return (h("z-input-message", { message: boolean(this.message) === true ? undefined : this.message, status: this.status }));
2369
2378
  }
2370
2379
  /* END text/password/email/number */
2371
2380
  /* START textarea */
2372
2381
  renderTextarea() {
2373
2382
  const attributes = this.getTextAttributes();
2374
- return (h("div", { class: "textWrapper" }, this.renderLabel(), h("div", { class: Object.assign(Object.assign({}, attributes.class), { textareaWrapper: true, readonly: attributes.readonly }) }, h("textarea", Object.assign({}, attributes, { "aria-label": this.ariaLabel || this.label }))), this.renderMessage()));
2383
+ const ariaLabel = this.ariaLabel ? { "aria-label": this.ariaLabel } : {};
2384
+ return (h("div", { class: "text-wrapper" }, this.renderLabel(), h("div", { class: Object.assign(Object.assign({}, attributes.class), { "textarea-wrapper": true, "readonly": attributes.readonly }) }, h("textarea", Object.assign({}, attributes, ariaLabel))), this.renderMessage()));
2375
2385
  }
2376
2386
  /* END textarea */
2377
2387
  handleCheck(ev) {
@@ -2380,29 +2390,29 @@ const ZInput = class {
2380
2390
  }
2381
2391
  /* START checkbox */
2382
2392
  renderCheckbox() {
2383
- return (h("div", { class: "checkboxWrapper" }, h("input", { id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }), h("label", { htmlFor: this.htmlid, class: {
2384
- checkboxLabel: true,
2385
- after: this.labelPosition === LabelPositions.right,
2386
- before: this.labelPosition === LabelPositions.left,
2393
+ return (h("div", { class: "checkbox-wrapper" }, h("input", { id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }), h("label", { htmlFor: this.htmlid, class: {
2394
+ "checkbox-label": true,
2395
+ "after": this.labelPosition === LabelPosition.RIGHT,
2396
+ "before": this.labelPosition === LabelPosition.LEFT,
2387
2397
  } }, h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": "true" }), this.label && h("span", { innerHTML: this.label }))));
2388
2398
  }
2389
2399
  /* END checkbox */
2390
2400
  /* START radio */
2391
2401
  renderRadio() {
2392
- return (h("div", { class: "radioWrapper" }, h("input", { id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: this.handleCheck.bind(this), value: this.value }), h("label", { htmlFor: this.htmlid, class: {
2393
- radioLabel: true,
2394
- after: this.labelPosition === LabelPositions.right,
2395
- before: this.labelPosition === LabelPositions.left,
2402
+ return (h("div", { class: "radio-wrapper" }, h("input", { id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: this.handleCheck.bind(this), value: this.value }), h("label", { htmlFor: this.htmlid, class: {
2403
+ "radio-label": true,
2404
+ "after": this.labelPosition === LabelPosition.RIGHT,
2405
+ "before": this.labelPosition === LabelPosition.LEFT,
2396
2406
  } }, h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": "true" }), this.label && h("span", { innerHTML: this.label }))));
2397
2407
  }
2398
2408
  /* END radio */
2399
2409
  render() {
2400
2410
  switch (this.type) {
2401
- case InputTypeEnum.textarea:
2411
+ case InputType.TEXTAREA:
2402
2412
  return this.renderTextarea();
2403
- case InputTypeEnum.checkbox:
2413
+ case InputType.CHECKBOX:
2404
2414
  return this.renderCheckbox();
2405
- case InputTypeEnum.radio:
2415
+ case InputType.RADIO:
2406
2416
  return this.renderRadio();
2407
2417
  default:
2408
2418
  return this.renderInputText(this.type);
@@ -2410,9 +2420,9 @@ const ZInput = class {
2410
2420
  }
2411
2421
  get hostElement() { return getElement(this); }
2412
2422
  };
2413
- ZInput.style = stylesCss$4;
2423
+ ZInput.style = stylesCss$3;
2414
2424
 
2415
- const stylesCss$3 = ":host{display:flex;align-items:start;min-height:calc(var(--space-unit) * 2);margin-top:var(--space-unit);color:var(--color-text05);fill:currentColor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host([status='success']){color:var(--color-text-success)}:host([status='error']){color:var(--color-text-error)}:host([status='warning']){color:var(--color-warning02)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);margin:calc(var(--space-unit) / 3) var(--space-unit) 0 0}";
2425
+ const stylesCss$2 = ":host{display:flex;min-height:calc(var(--space-unit) * 2.5);align-items:start;margin-top:var(--space-unit);color:var(--color-text05);fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host([status=\"success\"]){color:var(--color-text-success)}:host([status=\"error\"]){color:var(--color-text-error)}:host([status=\"warning\"]){color:var(--color-warning02)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);--z-icon-right-margin:var(--space-unit)}";
2416
2426
 
2417
2427
  const ZInputMessage = class {
2418
2428
  constructor(hostRef) {
@@ -2422,14 +2432,25 @@ const ZInputMessage = class {
2422
2432
  error: "multiply-circled",
2423
2433
  warning: "exclamation-circle",
2424
2434
  };
2435
+ this.statusRole = {};
2436
+ }
2437
+ onMessageChange() {
2438
+ this.statusRole = this.message && this.status ? { role: "alert" } : {};
2439
+ }
2440
+ componentWillLoad() {
2441
+ this.onMessageChange();
2425
2442
  }
2426
2443
  render() {
2427
- return (h(Host, { role: "alert", "aria-label": this.message, tabindex: this.message ? 0 : -1 }, this.statusIcons[this.status] && this.message && (h("z-icon", { name: this.statusIcons[this.status] })), h("span", { innerHTML: this.message })));
2444
+ return (h(Host, Object.assign({}, this.statusRole, { "aria-label": this.message }), this.statusIcons[this.status] && this.message && h("z-icon", { name: this.statusIcons[this.status] }), h("span", { innerHTML: this.message })));
2428
2445
  }
2446
+ static get watchers() { return {
2447
+ "message": ["onMessageChange"],
2448
+ "status": ["onMessageChange"]
2449
+ }; }
2429
2450
  };
2430
- ZInputMessage.style = stylesCss$3;
2451
+ ZInputMessage.style = stylesCss$2;
2431
2452
 
2432
- const stylesCss$2 = ":host{--font-size-link:inherit;--font-weight-link:inherit}:host{font-family:var(--dashboard-font);font-weight:var(--font-weight-link);font-size:var(--font-size-link);line-height:inherit;outline:none}a{cursor:pointer;color:var(--color-link-primary);fill:var(--color-link-primary);display:inline-flex;align-items:center;text-decoration:none;padding:calc(var(--space-unit) * 0.5) 0;border-top:var(--border-size-medium) solid transparent;border-bottom:var(--border-size-medium) solid transparent}a:hover,a:focus,a:active{text-decoration:underline}a.active{color:var(--color-active-link);fill:var(--color-active-link)}a:hover,a:focus{color:var(--color-hover-link);fill:var(--color-hover-link)}a:active{color:var(--color-pressed-link);fill:var(--color-pressed-link)}a:visited{color:var(--color-visited-link);fill:var(--color-visited-link)}a.disabled,a.inverse.disabled{cursor:default;pointer-events:none;color:var(--color-disabled03);fill:var(--color-disabled03)}a.underline,a.underline:active,a.underline:hover,a.underline:visited,a.underline.disabled,a.underline.black,a.underline.white{text-decoration:underline}a.disabled,a.disabled:active,a.disabled:visited,a.disabled:hover{text-decoration:none}a.inverse{color:var(--color-inverse-link);fill:var(--color-inverse-link)}a.inverse.active{color:var(--color-inverse-active-link);fill:var(--color-inverse-active-link)}a.inverse:hover,a.inverse:focus{color:var(--color-inverse-hover-link);fill:var(--color-inverse-hover-link)}a.inverse:active{color:var(--color-inverse-pressed-link);fill:var(--color-inverse-pressed-link)}a.inverse:visited{color:var(--color-inverse-visited-link);fill:var(--color-inverse-visited-link)}a.black{color:var(--gray800);fill:var(--gray800);text-decoration:none}a.black:hover,a.black.active{color:var(--color-black);fill:var(--color-black)}a.black:visited{color:var(--gray800);fill:var(--gray800)}a.black:hover,a.black:focus,a.black:active{text-decoration:underline}a.black:active{color:var(--gray700);fill:var(--gray700)}a.white,a.white:active,a.white:hover,a.white.active{color:var(--bg-white);fill:var(--bg-white);text-decoration:none}a.white:visited{color:var(--bg-white);fill:var(--bg-white)}a.white:hover,a.white:focus,a.white:active{text-decoration:underline}a.white.disabled,a.black.disabled{color:var(--gray500);fill:var(--gray500)}a>z-icon:first-child{margin-right:8px}a>z-icon:last-child{margin-left:8px}";
2453
+ const stylesCss$1 = ":host{--font-size-link:inherit;--font-weight-link:inherit;font-family:var(--font-family-sans);font-size:var(--font-size-link);font-weight:var(--font-weight-link);line-height:inherit;outline:none}:host([big]){--font-size-link:16px;--font-weight-link:var(--font-sb)}a{display:inline-flex;align-items:center;padding:calc(var(--space-unit) * 0.5) 0;border-top:var(--border-size-medium) solid transparent;border-bottom:var(--border-size-medium) solid transparent;color:var(--color-link-primary);cursor:pointer;fill:var(--color-link-primary);text-decoration:none}a:hover,a:focus,a:active{text-decoration:underline}a.active{color:var(--color-active-link);fill:var(--color-active-link)}a:hover,a:focus{color:var(--color-hover-link);fill:var(--color-hover-link)}a:active{color:var(--color-pressed-link);fill:var(--color-pressed-link)}a:visited{color:var(--color-visited-link);fill:var(--color-visited-link)}a.disabled,a.inverse.disabled{color:var(--color-disabled03);cursor:default;fill:var(--color-disabled03);pointer-events:none}a.underline,a.underline:active,a.underline:hover,a.underline:visited,a.underline.disabled,a.underline.black,a.underline.white{text-decoration:underline}a.disabled,a.disabled:active,a.disabled:visited,a.disabled:hover{text-decoration:none}a.inverse{color:var(--color-inverse-link);fill:var(--color-inverse-link)}a.inverse.active{color:var(--color-inverse-active-link);fill:var(--color-inverse-active-link)}a.inverse:hover,a.inverse:focus{color:var(--color-inverse-hover-link);fill:var(--color-inverse-hover-link)}a.inverse:active{color:var(--color-inverse-pressed-link);fill:var(--color-inverse-pressed-link)}a.inverse:visited{color:var(--color-inverse-visited-link);fill:var(--color-inverse-visited-link)}a.black{color:var(--gray800);fill:var(--gray800);text-decoration:none}a.black:hover,a.black.active{color:var(--color-black);fill:var(--color-black)}a.black:visited{color:var(--gray800);fill:var(--gray800)}a.black:hover,a.black:focus,a.black:active{text-decoration:underline}a.black:active{color:var(--gray700);fill:var(--gray700)}a.white,a.white:active,a.white:hover,a.white.active{color:var(--bg-white);fill:var(--bg-white);text-decoration:none}a.white:visited{color:var(--bg-white);fill:var(--bg-white)}a.white:hover,a.white:focus,a.white:active{text-decoration:underline}a.white.disabled,a.black.disabled{color:var(--gray500);fill:var(--gray500)}a>z-icon:first-child{margin-right:var(--space-unit)}a>z-icon:last-child{margin-left:var(--space-unit)}";
2433
2454
 
2434
2455
  const ZLink = class {
2435
2456
  constructor(hostRef) {
@@ -2457,7 +2478,7 @@ const ZLink = class {
2457
2478
  this.emitZLinkClick = this.emitZLinkClick.bind(this);
2458
2479
  this.emitZLinkInteraction = this.emitZLinkInteraction.bind(this);
2459
2480
  }
2460
- componentWillRender() {
2481
+ componentWillLoad() {
2461
2482
  if (this.iswhite) {
2462
2483
  console.warn("z-link iswhite prop is deprecated and will be dropped in a next release, please use textcolor prop instead");
2463
2484
  }
@@ -2471,9 +2492,9 @@ const ZLink = class {
2471
2492
  emitZLinkInteraction(e, linkId) {
2472
2493
  this.zLinkClick.emit({ e, linkId });
2473
2494
  }
2474
- componentDidRender() {
2495
+ componentDidLoad() {
2475
2496
  if (this.icon) {
2476
- const height = parseFloat(window.getComputedStyle(this.hostElement).getPropertyValue('font-size'));
2497
+ const height = parseFloat(window.getComputedStyle(this.hostElement).getPropertyValue("font-size"));
2477
2498
  const currentSize = this.big ? 18 : Math.round(height * 1.125);
2478
2499
  if (!Number.isNaN(currentSize) && this.iconSize !== currentSize) {
2479
2500
  this.iconSize = currentSize;
@@ -2481,19 +2502,22 @@ const ZLink = class {
2481
2502
  }
2482
2503
  }
2483
2504
  render() {
2484
- const style = this.big ? { "--font-size-link": "16px", "--font-weight-link": "600" } : {};
2485
- return (h(Host, { style: style }, h("a", { id: this.htmlid, href: this.href ? this.href : null, class: `${this.isdisabled ? "disabled" : ""}
2486
- ${this.isactive ? "active" : ""}
2487
- ${this.textcolor}
2488
- ${this.iswhite ? "white" : ""}
2489
- ${this.underline ? "underline" : ""}`, target: this.target, role: this.href ? "link" : "button", tabindex: this.isdisabled ? -1 : this.htmltabindex, onClick: (e) => this.emitZLinkClick(e, this.htmlid) }, this.iconposition === "right" && h("slot", null), this.icon &&
2490
- h("z-icon", { style: { "--z-icon-width": this.iconSize.toString(), "--z-icon-height": this.iconSize.toString() }, name: this.icon, height: this.iconSize, width: this.iconSize }), this.iconposition === "left" && h("slot", null))));
2505
+ return (h("a", { id: this.htmlid, href: this.href ? this.href : null, class: {
2506
+ disabled: this.isdisabled,
2507
+ active: this.isactive,
2508
+ white: this.iswhite,
2509
+ [this.textcolor || ""]: true,
2510
+ underline: this.underline,
2511
+ }, target: this.target, role: this.href ? "link" : "button", tabindex: this.isdisabled ? -1 : this.htmltabindex, onClick: (e) => this.emitZLinkClick(e, this.htmlid) }, this.iconposition === "right" && h("slot", null), this.icon && (h("z-icon", { style: {
2512
+ "--z-icon-width": `${this.iconSize}px`,
2513
+ "--z-icon-height": `${this.iconSize}px`,
2514
+ }, name: this.icon })), this.iconposition === "left" && h("slot", null)));
2491
2515
  }
2492
2516
  get hostElement() { return getElement(this); }
2493
2517
  };
2494
- ZLink.style = stylesCss$2;
2518
+ ZLink.style = stylesCss$1;
2495
2519
 
2496
- const stylesCss$1 = ":host{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;display:flex;flex-direction:row;justify-content:center;width:100%;height:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.modal-background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}.modal-container{display:flex;flex-direction:column;z-index:1010;width:100%;height:100vh;overflow:-moz-scrollbars-none;overflow:hidden}.modal-container>header{display:flex;flex-wrap:nowrap;flex-direction:row;align-items:flex-start;justify-content:flex-start;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);background:var(--color-surface02)}.modal-container>header button{margin:0;padding:0;border:none;background:transparent;cursor:pointer;margin-left:auto}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 2.5);--z-icon-height:calc(var(--space-unit) * 2.5);display:flex;fill:var(--color-icon01)}.modal-container>header>div{display:flex;flex-direction:column;width:100%;margin-right:calc(var(--space-unit) * 2)}.modal-container>header h1,.modal-container>header h2{margin:0;padding:0;font-weight:var(--font-rg);color:var(--color-text01)}.modal-container>header h1{font-size:var(--font-size-5);line-height:1.4;letter-spacing:0}.modal-container>header h2{font-size:var(--font-size-3);line-height:1.5;letter-spacing:0}.modal-container>header>div *:empty{display:none}.modal-container>header h1+h2{margin-top:calc(var(--space-unit) * 0.5)}.modal-container>.modal-content{flex:1 auto;background:var(--color-surface01);overflow:auto;overflow-x:hidden}.modal-container .modal-content::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}.modal-container .modal-content::-webkit-scrollbar-track{background-color:transparent}.modal-container .modal-content::-webkit-scrollbar-thumb{background-color:var(--color-primary01);border-radius:var(--border-radius);width:10px}.modal-container .modal-content::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.modal-container .modal-content{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.modal-container{position:fixed;top:calc(var(--space-unit) * 6);left:50%;transform:translateX(-50%);width:auto;height:auto;min-width:calc(var(--space-unit) * 40);min-height:calc(var(--space-unit) * 40);max-height:calc(100vh - calc(var(--space-unit) * 6 * 2));border-radius:var(--border-radius)}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3)}}@media only screen and (min-width: 768px) and (max-width: 1151px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3)}}@media only screen and (min-width: 1152px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 4)}.modal-container>header h1{font-size:var(--font-size-6);line-height:1.33;letter-spacing:0}.modal-container>header h2{font-size:var(--font-size-4);line-height:1.5;letter-spacing:0}.modal-container>header h1+h2{margin-top:0}}";
2520
+ const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>dialog{padding:0;border:none !important}.modal-background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}.modal-container{z-index:1010;display:flex;overflow:-moz-scrollbars-none;overflow:hidden;width:100%;height:100vh;flex-direction:column}.modal-container>header{display:flex;flex-flow:row nowrap;align-items:flex-start;justify-content:flex-start;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);background:var(--color-surface02)}.modal-container>header button{padding:0;border:none;margin:0;margin-left:auto;background:transparent;cursor:pointer}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 2.5);--z-icon-height:calc(var(--space-unit) * 2.5);display:flex;fill:var(--color-icon01)}.modal-container>header>div{display:flex;width:100%;flex-direction:column;margin-right:calc(var(--space-unit) * 2)}.modal-container>header h1,.modal-container>header h2{padding:0;margin:0;color:var(--color-text01);font-weight:var(--font-rg)}.modal-container>header h1{font-size:var(--font-size-5);letter-spacing:0;line-height:1.4}.modal-container>header h2{font-size:var(--font-size-3);letter-spacing:0;line-height:1.5}.modal-container>header>div *:empty{display:none}.modal-container>header h1+h2{margin-top:calc(var(--space-unit) * 0.5)}.modal-container>.modal-content{overflow:auto;flex:1 auto;background:var(--color-surface01);overflow-x:hidden}.modal-container .modal-content::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.modal-container .modal-content::-webkit-scrollbar-track{background-color:transparent}.modal-container .modal-content::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.modal-container .modal-content::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.modal-container .modal-content{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.modal-container{position:fixed;top:calc(var(--space-unit) * 6);left:50%;width:auto;min-width:calc(var(--space-unit) * 40);height:auto;min-height:calc(var(--space-unit) * 40);max-height:calc(100vh - calc(var(--space-unit) * 6 * 2));border-radius:var(--border-radius);transform:translateX(-50%)}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3)}}@media only screen and (min-width: 768px) and (max-width: 1151px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3)}}@media only screen and (min-width: 1152px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 4)}.modal-container>header h1{font-size:var(--font-size-6);letter-spacing:0;line-height:1.33}.modal-container>header h2{font-size:var(--font-size-4);letter-spacing:0;line-height:1.5}.modal-container>header h1+h2{margin-top:0}}";
2497
2521
 
2498
2522
  const ZModal = class {
2499
2523
  constructor(hostRef) {
@@ -2502,7 +2526,10 @@ const ZModal = class {
2502
2526
  this.modalHeaderActive = createEvent(this, "modalHeaderActive", 7);
2503
2527
  this.modalBackgroundClick = createEvent(this, "modalBackgroundClick", 7);
2504
2528
  /** aria-label for close button (optional) */
2505
- this.closeButtonLabel = "close modal";
2529
+ this.closeButtonLabel = "chiudi modale";
2530
+ /** add role "alertdialog" to dialog (optional, default is false) */
2531
+ this.alertdialog = false;
2532
+ this.shift = false;
2506
2533
  }
2507
2534
  emitModalClose() {
2508
2535
  this.modalClose.emit({ modalid: this.modalid });
@@ -2513,35 +2540,55 @@ const ZModal = class {
2513
2540
  emitBackgroundClick() {
2514
2541
  this.modalBackgroundClick.emit({ modalid: this.modalid });
2515
2542
  }
2516
- render() {
2517
- return [
2518
- h("div", { class: "modal-container", id: this.modalid, role: "dialog" }, h("header", { onClick: this.emitModalHeaderActive.bind(this) }, h("div", null, this.modaltitle && h("h1", null, this.modaltitle), this.modalsubtitle && h("h2", null, this.modalsubtitle)), h("slot", { name: "modalCloseButton" }, h("button", { "aria-label": this.closeButtonLabel, onClick: this.emitModalClose.bind(this) }, h("z-icon", { name: "multiply-circle-filled" })))), h("div", { class: "modal-content" }, h("slot", { name: "modalContent" }))),
2519
- h("div", { class: "modal-background", "data-action": "modalBackground", "data-modal": this.modalid, onClick: this.emitBackgroundClick.bind(this) })
2520
- ];
2543
+ /** open modal */
2544
+ async openModal() {
2545
+ this.open();
2521
2546
  }
2522
- };
2523
- ZModal.style = stylesCss$1;
2524
-
2525
- const stylesCss = ":host>*{font-family:var(--dashboard-font);margin:0}:host(.regular)>*{font-weight:var(--font-rg)}:host(.semibold)>*{font-weight:600}:host(.light)>*{font-weight:300}:host(.h1)>*{font-size:32px;line-height:40px}:host(.h2)>*{font-size:28px;line-height:36px}:host(.h3)>*{font-size:24px;line-height:32px}:host(.h4)>*{font-size:20px;line-height:28px}:host(.b1)>*{font-size:20px;line-height:28px}:host(.b2)>*{font-size:18px;line-height:28px}:host(.b3)>*{font-size:16px;line-height:24px}:host(.b4)>*{font-size:14px;line-height:20px}:host(.b5)>*{font-size:12px;line-height:16px}:host(:focus-visible){outline:none}";
2526
-
2527
- const ZTypography = class {
2528
- constructor(hostRef) {
2529
- registerInstance(this, hostRef);
2530
- this.variant = "regular";
2547
+ /** close modal */
2548
+ async closeModal() {
2549
+ this.close();
2550
+ }
2551
+ componentDidLoad() {
2552
+ this.open();
2553
+ }
2554
+ open() {
2555
+ var _a;
2556
+ (_a = this.dialog) === null || _a === void 0 ? void 0 : _a.showModal();
2557
+ }
2558
+ close() {
2559
+ var _a;
2560
+ (_a = this.dialog) === null || _a === void 0 ? void 0 : _a.close();
2561
+ }
2562
+ handleForwardNav(e) {
2563
+ var _a;
2564
+ if (e.code !== KeyboardCode.TAB || this.shift) {
2565
+ return;
2566
+ }
2567
+ if (e.target === this.modalEnd) {
2568
+ (_a = this.closeButton) === null || _a === void 0 ? void 0 : _a.focus();
2569
+ }
2570
+ }
2571
+ handleBackwardsNav(e) {
2572
+ if (e.code !== KeyboardCode.TAB || !this.shift) {
2573
+ return;
2574
+ }
2575
+ if (e.target === this.closeButton) {
2576
+ this.modalEnd.focus();
2577
+ }
2531
2578
  }
2532
2579
  render() {
2533
- const el = document.createElement(this.component || "span");
2534
- el.innerHTML = `<slot />`;
2535
- this.hostElement.shadowRoot.appendChild(el);
2536
- return (h(Host, { class: {
2537
- [this.level]: Boolean(this.level),
2538
- regular: this.variant === "regular",
2539
- semibold: this.variant === "semibold",
2540
- light: this.variant === "light"
2541
- } }));
2580
+ console.log("render modal - albe pack");
2581
+ return (h(Host, null, h("dialog", { "aria-labelledby": "modal-title", "aria-describedby": "modal-content", role: this.alertdialog ? "alertdialog" : undefined, ref: (el) => (this.dialog = el), onClose: () => this.emitModalClose(), onKeyDown: (e) => {
2582
+ this.shift = !!e.shiftKey;
2583
+ this.handleBackwardsNav(e);
2584
+ }, onKeyUp: (e) => {
2585
+ this.handleForwardNav(e);
2586
+ } }, h("div", { class: "modal-container", id: this.modalid }, h("header", { onClick: this.emitModalHeaderActive.bind(this) }, h("div", null, this.modaltitle && h("h1", { id: "modal-title" }, this.modaltitle), this.modalsubtitle && h("h2", { id: "modal-subtitle" }, this.modalsubtitle)), h("slot", { name: "modalCloseButton" }, h("button", { "aria-label": this.closeButtonLabel, onClick: () => this.close(), ref: (el) => (this.closeButton = el) }, h("z-icon", { name: "multiply-circle-filled" })))), h("div", { class: "modal-content", id: "modal-content" }, h("slot", { name: "modalContent" }), h("span", { tabindex: 0, class: "modal-end", ref: (el) => (this.modalEnd = el) }))), h("div", { class: "modal-background", "data-action": "modalBackground", "data-modal": this.modalid, onClick: () => {
2587
+ this.emitBackgroundClick();
2588
+ this.close();
2589
+ } }))));
2542
2590
  }
2543
- get hostElement() { return getElement(this); }
2544
2591
  };
2545
- ZTypography.style = stylesCss;
2592
+ ZModal.style = stylesCss;
2546
2593
 
2547
- export { LicenseActivation as license_activation, LicenseActivationBox as license_activation_box, LicenseActivationForm as license_activation_form, LicenseActivationModal as license_activation_modal, ZBody as z_body, ZButton as z_button, ZIcon as z_icon, ZInfoBox as z_info_box, ZInput as z_input, ZInputMessage as z_input_message, ZLink as z_link, ZModal as z_modal, ZTypography as z_typography };
2594
+ export { LicenseActivation as license_activation, LicenseActivationBox as license_activation_box, LicenseActivationForm as license_activation_form, LicenseActivationModal as license_activation_modal, ZButton as z_button, ZIcon as z_icon, ZInfoBox as z_info_box, ZInput as z_input, ZInputMessage as z_input_message, ZLink as z_link, ZModal as z_modal };