@zanichelli/albe-web-components 6.10.0 → 6.10.2

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 (341) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/{index-fa110f37.js → index-132f3901.js} +3 -0
  3. package/dist/cjs/index.cjs.js +2 -2
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{utils-8bc9056f.js → utils-768bb535.js} +1 -1
  6. package/dist/cjs/{utils-600bad93.js → utils-c80a4ef9.js} +9 -1
  7. package/dist/cjs/web-components-library.cjs.js +1 -1
  8. package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
  9. package/dist/cjs/z-app-switcher.cjs.entry.js +1 -1
  10. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  11. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  12. package/dist/cjs/z-button.cjs.entry.js +1 -1
  13. package/dist/cjs/z-card.cjs.entry.js +1 -1
  14. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  15. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  16. package/dist/cjs/z-combobox.cjs.entry.js +2 -2
  17. package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
  18. package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
  19. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  20. package/dist/cjs/z-divider.cjs.entry.js +1 -1
  21. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +2 -2
  22. package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
  23. package/dist/cjs/z-file.cjs.entry.js +1 -1
  24. package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
  25. package/dist/cjs/z-input_2.cjs.entry.js +3 -3
  26. package/dist/cjs/z-list_3.cjs.entry.js +1 -1
  27. package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
  28. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  29. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  30. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  31. package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
  32. package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
  33. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  34. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
  35. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  36. package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
  37. package/dist/cjs/z-offcanvas.cjs.entry.js +1 -1
  38. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  39. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  40. package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
  41. package/dist/cjs/z-popover.cjs.entry.js +1 -1
  42. package/dist/cjs/z-range-picker.cjs.entry.js +2 -2
  43. package/dist/cjs/z-searchbar.cjs.entry.js +12 -8
  44. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  45. package/dist/cjs/z-select.cjs.entry.js +2 -2
  46. package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
  47. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  48. package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
  49. package/dist/cjs/z-table-header.cjs.entry.js +2 -2
  50. package/dist/cjs/z-table-row.cjs.entry.js +1 -1
  51. package/dist/cjs/z-table.cjs.entry.js +1 -1
  52. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  53. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  54. package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
  55. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  56. package/dist/collection/beans/index.js +3 -0
  57. package/dist/collection/components/inputs/z-input/styles.css +0 -1
  58. package/dist/collection/components/inputs/z-searchbar/index.js +30 -8
  59. package/dist/collection/components/modal/z-modal/styles.css +18 -10
  60. package/dist/collection/utils/utils.js +7 -0
  61. package/dist/esm/{index-968a240f.js → index-525f32e2.js} +3 -0
  62. package/dist/esm/index.js +2 -2
  63. package/dist/esm/loader.js +1 -1
  64. package/dist/esm/polyfills/css-shim.js +0 -0
  65. package/dist/esm/{utils-151f0ab4.js → utils-c5c63730.js} +1 -1
  66. package/dist/esm/{utils-6cf7efe2.js → utils-e7e713f8.js} +9 -2
  67. package/dist/esm/web-components-library.js +1 -1
  68. package/dist/esm/z-anchor-navigation.entry.js +1 -1
  69. package/dist/esm/z-app-switcher.entry.js +1 -1
  70. package/dist/esm/z-aria-alert.entry.js +1 -1
  71. package/dist/esm/z-avatar.entry.js +1 -1
  72. package/dist/esm/z-button.entry.js +1 -1
  73. package/dist/esm/z-card.entry.js +1 -1
  74. package/dist/esm/z-carousel.entry.js +1 -1
  75. package/dist/esm/z-chip.entry.js +2 -2
  76. package/dist/esm/z-combobox.entry.js +2 -2
  77. package/dist/esm/z-contextual-menu.entry.js +1 -1
  78. package/dist/esm/z-cover-hero.entry.js +1 -1
  79. package/dist/esm/z-date-picker.entry.js +2 -2
  80. package/dist/esm/z-divider.entry.js +1 -1
  81. package/dist/esm/z-dragdrop-area_2.entry.js +2 -2
  82. package/dist/esm/z-file-upload.entry.js +2 -2
  83. package/dist/esm/z-file.entry.js +1 -1
  84. package/dist/esm/z-info-reveal.entry.js +1 -1
  85. package/dist/esm/z-input_2.entry.js +3 -3
  86. package/dist/esm/z-list_3.entry.js +1 -1
  87. package/dist/esm/z-messages-pocket.entry.js +1 -1
  88. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  89. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  90. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  91. package/dist/esm/z-myz-card-info.entry.js +2 -2
  92. package/dist/esm/z-myz-card_4.entry.js +1 -1
  93. package/dist/esm/z-myz-list-item.entry.js +2 -2
  94. package/dist/esm/z-navigation-tab-link.entry.js +1 -1
  95. package/dist/esm/z-navigation-tab.entry.js +1 -1
  96. package/dist/esm/z-navigation-tabs.entry.js +1 -1
  97. package/dist/esm/z-offcanvas.entry.js +1 -1
  98. package/dist/esm/z-otp.entry.js +1 -1
  99. package/dist/esm/z-pagination.entry.js +1 -1
  100. package/dist/esm/z-pocket_3.entry.js +2 -2
  101. package/dist/esm/z-popover.entry.js +1 -1
  102. package/dist/esm/z-range-picker.entry.js +2 -2
  103. package/dist/esm/z-searchbar.entry.js +12 -8
  104. package/dist/esm/z-section-title.entry.js +1 -1
  105. package/dist/esm/z-select.entry.js +2 -2
  106. package/dist/esm/z-skip-to-content.entry.js +2 -2
  107. package/dist/esm/z-slideshow.entry.js +2 -2
  108. package/dist/esm/z-table-cell.entry.js +1 -1
  109. package/dist/esm/z-table-header.entry.js +2 -2
  110. package/dist/esm/z-table-row.entry.js +1 -1
  111. package/dist/esm/z-table.entry.js +1 -1
  112. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  113. package/dist/esm/z-toast-notification.entry.js +1 -1
  114. package/dist/esm/z-toggle-switch.entry.js +2 -2
  115. package/dist/esm/z-tooltip.entry.js +1 -1
  116. package/dist/types/beans/index.d.ts +3 -0
  117. package/dist/types/components/buttons/z-button/index.d.ts +0 -0
  118. package/dist/types/components/buttons/z-button-sort/index.d.ts +0 -0
  119. package/dist/types/components/buttons/z-chip/index.d.ts +0 -0
  120. package/dist/types/components/buttons/z-toggle-button/index.d.ts +0 -0
  121. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +0 -0
  122. package/dist/types/components/date-picker/utils.d.ts +0 -0
  123. package/dist/types/components/date-picker/z-date-picker/index.d.ts +0 -0
  124. package/dist/types/components/date-picker/z-range-picker/index.d.ts +0 -0
  125. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +0 -0
  126. package/dist/types/components/file-upload/z-file/index.d.ts +0 -0
  127. package/dist/types/components/file-upload/z-file-upload/index.d.ts +0 -0
  128. package/dist/types/components/icons/icons.d.ts +0 -0
  129. package/dist/types/components/icons/z-icon/index.d.ts +0 -0
  130. package/dist/types/components/index.d.ts +0 -0
  131. package/dist/types/components/indicators/z-stepper/index.d.ts +0 -0
  132. package/dist/types/components/indicators/z-stepper-item/index.d.ts +0 -0
  133. package/dist/types/components/inputs/z-combobox/index.d.ts +0 -0
  134. package/dist/types/components/inputs/z-input/index.d.ts +0 -0
  135. package/dist/types/components/inputs/z-input-message/index.d.ts +0 -0
  136. package/dist/types/components/inputs/z-searchbar/index.d.ts +4 -1
  137. package/dist/types/components/inputs/z-select/index.d.ts +0 -0
  138. package/dist/types/components/list/z-list/index.d.ts +0 -0
  139. package/dist/types/components/list/z-list-element/index.d.ts +0 -0
  140. package/dist/types/components/list/z-list-group/index.d.ts +0 -0
  141. package/dist/types/components/list/z-toast-notification-list/index.d.ts +0 -0
  142. package/dist/types/components/logo/z-logo/index.d.ts +0 -0
  143. package/dist/types/components/modal/z-modal/index.d.ts +0 -0
  144. package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +0 -0
  145. package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +0 -0
  146. package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +0 -0
  147. package/dist/types/components/navigation/z-app-header/index.d.ts +0 -0
  148. package/dist/types/components/navigation/z-app-switcher/index.d.ts +0 -0
  149. package/dist/types/components/navigation/z-link/index.d.ts +0 -0
  150. package/dist/types/components/navigation/z-menu/index.d.ts +0 -0
  151. package/dist/types/components/navigation/z-menu-section/index.d.ts +0 -0
  152. package/dist/types/components/notification/z-info-box/index.d.ts +0 -0
  153. package/dist/types/components/notification/z-notification/index.d.ts +0 -0
  154. package/dist/types/components/notification/z-toast-notification/index.d.ts +0 -0
  155. package/dist/types/components/notification/z-tooltip/index.d.ts +0 -0
  156. package/dist/types/components/panel/z-panel-elem/index.d.ts +0 -0
  157. package/dist/types/components/z-anchor-navigation/index.d.ts +0 -0
  158. package/dist/types/components/z-aria-alert/index.d.ts +0 -0
  159. package/dist/types/components/z-avatar/index.d.ts +0 -0
  160. package/dist/types/components/z-card/index.d.ts +0 -0
  161. package/dist/types/components/z-carousel/index.d.ts +0 -0
  162. package/dist/types/components/z-contextual-menu/index.d.ts +0 -0
  163. package/dist/types/components/z-cover-hero/index.d.ts +0 -0
  164. package/dist/types/components/z-divider/index.d.ts +0 -0
  165. package/dist/types/components/z-ghost-loading/index.d.ts +0 -0
  166. package/dist/types/components/z-info-reveal/index.d.ts +0 -0
  167. package/dist/types/components/z-offcanvas/index.d.ts +0 -0
  168. package/dist/types/components/z-pagination/index.d.ts +0 -0
  169. package/dist/types/components/z-popover/index.d.ts +0 -0
  170. package/dist/types/components/z-section-title/index.d.ts +0 -0
  171. package/dist/types/components/z-skip-to-content/index.d.ts +0 -0
  172. package/dist/types/components/z-table/z-table/index.d.ts +0 -0
  173. package/dist/types/components/z-table/z-table-body/index.d.ts +0 -0
  174. package/dist/types/components/z-table/z-table-cell/index.d.ts +0 -0
  175. package/dist/types/components/z-table/z-table-empty-box/index.d.ts +0 -0
  176. package/dist/types/components/z-table/z-table-expanded-row/index.d.ts +0 -0
  177. package/dist/types/components/z-table/z-table-footer/index.d.ts +0 -0
  178. package/dist/types/components/z-table/z-table-head/index.d.ts +0 -0
  179. package/dist/types/components/z-table/z-table-header/index.d.ts +0 -0
  180. package/dist/types/components/z-table/z-table-header-row/index.d.ts +0 -0
  181. package/dist/types/components/z-table/z-table-row/index.d.ts +0 -0
  182. package/dist/types/components/z-table/z-table-sticky-footer/index.d.ts +0 -0
  183. package/dist/types/components/z-tag/index.d.ts +0 -0
  184. package/dist/types/components/z-visually-hidden/index.d.ts +0 -0
  185. package/dist/types/components.d.ts +10 -2
  186. package/dist/types/constants/breakpoints.d.ts +0 -0
  187. package/dist/types/constants/icons.d.ts +0 -0
  188. package/dist/types/index.d.ts +0 -0
  189. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +0 -0
  190. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +0 -0
  191. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +0 -0
  192. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +0 -0
  193. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +0 -0
  194. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +0 -0
  195. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +0 -0
  196. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +0 -0
  197. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +0 -0
  198. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +0 -0
  199. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +0 -0
  200. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +0 -0
  201. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +0 -0
  202. package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +0 -0
  203. package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +0 -0
  204. package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +0 -0
  205. package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +0 -0
  206. package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +0 -0
  207. package/dist/types/snowflakes/myz/z-alert/index.d.ts +0 -0
  208. package/dist/types/snowflakes/myz/z-otp/index.d.ts +0 -0
  209. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +0 -0
  210. package/dist/types/stencil-public-runtime.d.ts +0 -0
  211. package/dist/types/utils/utils.d.ts +1 -0
  212. package/dist/web-components-library/index.esm.js +1 -1
  213. package/dist/web-components-library/{p-46fd0ec3.entry.js → p-0338d6b5.entry.js} +1 -1
  214. package/dist/web-components-library/{p-8b15b30c.entry.js → p-03b9ff6b.entry.js} +1 -1
  215. package/dist/web-components-library/{p-07e18572.entry.js → p-043b1220.entry.js} +1 -1
  216. package/dist/web-components-library/{p-6ea7428a.entry.js → p-04c85f61.entry.js} +1 -1
  217. package/dist/web-components-library/{p-009c9f67.entry.js → p-0cbd1885.entry.js} +1 -1
  218. package/dist/web-components-library/{p-9c28b8fc.entry.js → p-12305e5c.entry.js} +1 -1
  219. package/dist/web-components-library/{p-b3c29822.js → p-197abdb5.js} +1 -1
  220. package/{www/build/p-2d1b6c3c.entry.js → dist/web-components-library/p-1bf0b39a.entry.js} +1 -1
  221. package/dist/web-components-library/{p-d2127d84.entry.js → p-21a223f0.entry.js} +1 -1
  222. package/{www/build/p-a7670317.entry.js → dist/web-components-library/p-25278038.entry.js} +1 -1
  223. package/dist/web-components-library/{p-6c163539.entry.js → p-270bd9a3.entry.js} +1 -1
  224. package/dist/web-components-library/{p-5dd9a2c6.entry.js → p-2a117a9f.entry.js} +1 -1
  225. package/dist/web-components-library/{p-3a468aa9.entry.js → p-2a212f49.entry.js} +1 -1
  226. package/{www/build/p-9f543b6a.entry.js → dist/web-components-library/p-2e533ebf.entry.js} +1 -1
  227. package/dist/web-components-library/{p-0843b0e7.entry.js → p-36106d3b.entry.js} +1 -1
  228. package/dist/web-components-library/{p-214b6cee.entry.js → p-3dbf9e46.entry.js} +1 -1
  229. package/dist/web-components-library/{p-51e308ca.entry.js → p-3dd1c620.entry.js} +1 -1
  230. package/dist/web-components-library/{p-26f834e5.entry.js → p-465f7a98.entry.js} +1 -1
  231. package/dist/web-components-library/{p-beba3e67.entry.js → p-46e270b6.entry.js} +1 -1
  232. package/dist/web-components-library/{p-8c105bd1.entry.js → p-472e0c3e.entry.js} +1 -1
  233. package/dist/web-components-library/{p-475ca461.entry.js → p-48c7cfbb.entry.js} +1 -1
  234. package/dist/web-components-library/{p-59cfee8d.entry.js → p-4a9bdb7d.entry.js} +1 -1
  235. package/dist/web-components-library/{p-edd53386.entry.js → p-53c39bf3.entry.js} +1 -1
  236. package/dist/web-components-library/{p-93142fac.entry.js → p-5461fd24.entry.js} +1 -1
  237. package/dist/web-components-library/p-549161d3.entry.js +1 -0
  238. package/dist/web-components-library/{p-33352f9e.entry.js → p-581ca17d.entry.js} +1 -1
  239. package/dist/web-components-library/{p-6289c4bd.entry.js → p-6cfed2ba.entry.js} +1 -1
  240. package/dist/web-components-library/{p-bdefe224.entry.js → p-79b88959.entry.js} +1 -1
  241. package/dist/web-components-library/{p-53065788.entry.js → p-7ad60d35.entry.js} +1 -1
  242. package/dist/web-components-library/{p-01f001fd.entry.js → p-8cec5d57.entry.js} +1 -1
  243. package/dist/web-components-library/p-90365c3d.entry.js +1 -0
  244. package/dist/web-components-library/{p-a0e2715e.entry.js → p-933255a0.entry.js} +1 -1
  245. package/dist/web-components-library/{p-a05ce0a6.entry.js → p-978ad580.entry.js} +1 -1
  246. package/dist/web-components-library/{p-9c338aeb.entry.js → p-991c4551.entry.js} +1 -1
  247. package/{www/build/p-b6f36170.entry.js → dist/web-components-library/p-a9322e2b.entry.js} +1 -1
  248. package/dist/web-components-library/{p-a6c0f149.entry.js → p-b174e5fc.entry.js} +1 -1
  249. package/dist/web-components-library/{p-34c26207.entry.js → p-b51faad9.entry.js} +1 -1
  250. package/dist/web-components-library/{p-0fa4b50b.entry.js → p-bd97ae23.entry.js} +1 -1
  251. package/dist/web-components-library/{p-38a3cf3b.entry.js → p-c0e5a389.entry.js} +1 -1
  252. package/dist/web-components-library/{p-6b1a5309.entry.js → p-c6703562.entry.js} +1 -1
  253. package/dist/web-components-library/p-ca0d4cf2.js +1 -0
  254. package/dist/web-components-library/p-ca37c454.entry.js +1 -0
  255. package/{www/build/p-a82ea410.entry.js → dist/web-components-library/p-cea705df.entry.js} +1 -1
  256. package/dist/web-components-library/{p-26033729.entry.js → p-d0a524d9.entry.js} +1 -1
  257. package/dist/web-components-library/{p-6bf7c966.entry.js → p-d17a887f.entry.js} +1 -1
  258. package/dist/web-components-library/{p-2acd6a51.entry.js → p-ddfa9ec9.entry.js} +1 -1
  259. package/dist/web-components-library/{p-1d66b265.entry.js → p-e4805200.entry.js} +1 -1
  260. package/dist/web-components-library/{p-3860061a.entry.js → p-ebc7f1bc.entry.js} +1 -1
  261. package/dist/web-components-library/{p-32509af7.entry.js → p-ef34b76d.entry.js} +1 -1
  262. package/dist/web-components-library/{p-ae6197f4.entry.js → p-f402d8c3.entry.js} +1 -1
  263. package/dist/web-components-library/web-components-library.css +0 -0
  264. package/dist/web-components-library/web-components-library.esm.js +1 -1
  265. package/loader/cdn.js +0 -0
  266. package/loader/index.cjs.js +0 -0
  267. package/loader/index.d.ts +0 -0
  268. package/loader/index.es2017.js +0 -0
  269. package/loader/index.js +0 -0
  270. package/loader/package.json +0 -0
  271. package/package.json +1 -1
  272. package/www/build/index.esm.js +1 -1
  273. package/www/build/{p-46fd0ec3.entry.js → p-0338d6b5.entry.js} +1 -1
  274. package/www/build/{p-8b15b30c.entry.js → p-03b9ff6b.entry.js} +1 -1
  275. package/www/build/{p-07e18572.entry.js → p-043b1220.entry.js} +1 -1
  276. package/www/build/{p-6ea7428a.entry.js → p-04c85f61.entry.js} +1 -1
  277. package/www/build/p-0a2d551d.js +1 -0
  278. package/www/build/{p-009c9f67.entry.js → p-0cbd1885.entry.js} +1 -1
  279. package/www/build/{p-9c28b8fc.entry.js → p-12305e5c.entry.js} +1 -1
  280. package/www/build/{p-b3c29822.js → p-197abdb5.js} +1 -1
  281. package/{dist/web-components-library/p-2d1b6c3c.entry.js → www/build/p-1bf0b39a.entry.js} +1 -1
  282. package/www/build/{p-d2127d84.entry.js → p-21a223f0.entry.js} +1 -1
  283. package/{dist/web-components-library/p-a7670317.entry.js → www/build/p-25278038.entry.js} +1 -1
  284. package/www/build/{p-6c163539.entry.js → p-270bd9a3.entry.js} +1 -1
  285. package/www/build/p-275801c6.css +1 -0
  286. package/www/build/{p-5dd9a2c6.entry.js → p-2a117a9f.entry.js} +1 -1
  287. package/www/build/{p-3a468aa9.entry.js → p-2a212f49.entry.js} +1 -1
  288. package/{dist/web-components-library/p-9f543b6a.entry.js → www/build/p-2e533ebf.entry.js} +1 -1
  289. package/www/build/{p-0843b0e7.entry.js → p-36106d3b.entry.js} +1 -1
  290. package/www/build/{p-214b6cee.entry.js → p-3dbf9e46.entry.js} +1 -1
  291. package/www/build/{p-51e308ca.entry.js → p-3dd1c620.entry.js} +1 -1
  292. package/www/build/{p-26f834e5.entry.js → p-465f7a98.entry.js} +1 -1
  293. package/www/build/{p-beba3e67.entry.js → p-46e270b6.entry.js} +1 -1
  294. package/www/build/{p-8c105bd1.entry.js → p-472e0c3e.entry.js} +1 -1
  295. package/www/build/{p-475ca461.entry.js → p-48c7cfbb.entry.js} +1 -1
  296. package/www/build/{p-59cfee8d.entry.js → p-4a9bdb7d.entry.js} +1 -1
  297. package/www/build/{p-edd53386.entry.js → p-53c39bf3.entry.js} +1 -1
  298. package/www/build/{p-93142fac.entry.js → p-5461fd24.entry.js} +1 -1
  299. package/www/build/p-549161d3.entry.js +1 -0
  300. package/www/build/{p-33352f9e.entry.js → p-581ca17d.entry.js} +1 -1
  301. package/www/build/{p-6289c4bd.entry.js → p-6cfed2ba.entry.js} +1 -1
  302. package/www/build/{p-bdefe224.entry.js → p-79b88959.entry.js} +1 -1
  303. package/www/build/{p-53065788.entry.js → p-7ad60d35.entry.js} +1 -1
  304. package/www/build/{p-01f001fd.entry.js → p-8cec5d57.entry.js} +1 -1
  305. package/www/build/p-90365c3d.entry.js +1 -0
  306. package/www/build/{p-a0e2715e.entry.js → p-933255a0.entry.js} +1 -1
  307. package/www/build/{p-a05ce0a6.entry.js → p-978ad580.entry.js} +1 -1
  308. package/www/build/{p-9c338aeb.entry.js → p-991c4551.entry.js} +1 -1
  309. package/{dist/web-components-library/p-b6f36170.entry.js → www/build/p-a9322e2b.entry.js} +1 -1
  310. package/www/build/{p-a6c0f149.entry.js → p-b174e5fc.entry.js} +1 -1
  311. package/www/build/{p-34c26207.entry.js → p-b51faad9.entry.js} +1 -1
  312. package/www/build/{p-0fa4b50b.entry.js → p-bd97ae23.entry.js} +1 -1
  313. package/www/build/{p-38a3cf3b.entry.js → p-c0e5a389.entry.js} +1 -1
  314. package/www/build/{p-6b1a5309.entry.js → p-c6703562.entry.js} +1 -1
  315. package/www/build/p-ca0d4cf2.js +1 -0
  316. package/www/build/p-ca37c454.entry.js +1 -0
  317. package/{dist/web-components-library/p-a82ea410.entry.js → www/build/p-cea705df.entry.js} +1 -1
  318. package/www/build/{p-26033729.entry.js → p-d0a524d9.entry.js} +1 -1
  319. package/www/build/{p-6bf7c966.entry.js → p-d17a887f.entry.js} +1 -1
  320. package/www/build/{p-2acd6a51.entry.js → p-ddfa9ec9.entry.js} +1 -1
  321. package/www/build/{p-1d66b265.entry.js → p-e4805200.entry.js} +1 -1
  322. package/www/build/{p-3860061a.entry.js → p-ebc7f1bc.entry.js} +1 -1
  323. package/www/build/{p-32509af7.entry.js → p-ef34b76d.entry.js} +1 -1
  324. package/www/build/{p-ae6197f4.entry.js → p-f402d8c3.entry.js} +1 -1
  325. package/www/build/web-components-library.css +0 -0
  326. package/www/build/web-components-library.esm.js +1 -1
  327. package/www/build/web-components-library.js +0 -0
  328. package/www/host.config.json +0 -0
  329. package/www/index.html +1 -1
  330. package/dist/web-components-library/p-488d2818.entry.js +0 -1
  331. package/dist/web-components-library/p-54b18f6e.entry.js +0 -1
  332. package/dist/web-components-library/p-8ebe4adf.js +0 -1
  333. package/dist/web-components-library/p-b3c4c5f7.entry.js +0 -1
  334. package/www/build/p-32511690.css +0 -1636
  335. package/www/build/p-488d2818.entry.js +0 -1
  336. package/www/build/p-50050d26.js +0 -129
  337. package/www/build/p-54b18f6e.entry.js +0 -1
  338. package/www/build/p-8ebe4adf.js +0 -1
  339. package/www/build/p-b3c4c5f7.entry.js +0 -1
  340. /package/dist/web-components-library/{p-a23e9115.js → p-6ef01915.js} +0 -0
  341. /package/www/build/{p-a23e9115.js → p-6ef01915.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-a2ca4b97.js';
2
- import { h as Size, B as ButtonVariant, c as ButtonSize } from './index-968a240f.js';
2
+ import { h as Size, B as ButtonVariant, c as ButtonSize } from './index-525f32e2.js';
3
3
 
4
4
  const stylesCss = ":host{display:table-cell;border-bottom:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--color-white);font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>.button-container{display:none}:host:hover>.button-container{display:initial}.button-container{position:absolute;z-index:5;top:8px;right:8px}.button-content{position:relative}.contextual-menu-container{position:absolute;top:calc(100% - var(--space-unit));right:0;display:none}.button-container.visible,.contextual-menu-container.visible{display:initial}:host([padding=\"x-small\"]){padding:calc(var(--space-unit) * 0.5)}:host([padding=\"small\"]){padding:calc(var(--space-unit))}:host([padding=\"medium\"]){padding:calc(var(--space-unit) * 2)}:host([padding=\"large\"]){padding:calc(var(--space-unit) * 2.5)}:host([padding=\"special\"]){padding:0}";
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
2
- import { h as Size, S as SortDirection, B as ButtonVariant, c as ButtonSize, P as PopoverPosition } from './index-968a240f.js';
3
- import { a as getElementTree } from './utils-6cf7efe2.js';
2
+ import { h as Size, S as SortDirection, B as ButtonVariant, c as ButtonSize, P as PopoverPosition } from './index-525f32e2.js';
3
+ import { d as getElementTree } from './utils-e7e713f8.js';
4
4
  import './breakpoints-c386984e.js';
5
5
 
6
6
  const stylesCss = ":host{position:relative;display:table-cell;border-bottom:var(--border-size-medium) solid var(--gray200);background-color:var(--gray50);font-family:var(--dashboard-font);font-weight:var(--font-sb);text-align:start}.container{display:flex;align-items:flex-end}:host(.sortable){cursor:pointer}:host([padding=\"x-small\"]){padding:calc(var(--space-unit) * 0.5)}:host([padding=\"small\"]){padding:calc(var(--space-unit))}:host([padding=\"medium\"]){padding:calc(var(--space-unit) * 2)}:host([padding=\"large\"]){padding:calc(var(--space-unit) * 2.5)}:host([padding=\"special\"]){padding:0}.arrow{padding-left:var(--space-unit);opacity:1}.popover-container{position:absolute;top:var(--space-unit);right:var(--space-unit);display:none}.popover-container z-popover{--z-popover-theme--surface:var(--gray200);position:relative;z-index:1}.popover-container.visible{display:block}:host(:hover) .popover-container{display:block}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-a2ca4b97.js';
2
- import { Z as ZTableRowExpandedType } from './index-968a240f.js';
2
+ import { Z as ZTableRowExpandedType } from './index-525f32e2.js';
3
3
 
4
4
  const stylesCss = "z-table-row{display:table-row;font-family:var(--font-family-sans)}z-table-row[expanded-type=\"expandable\"]:hover{cursor:pointer}z-table-row[expanded-type=\"expandable\"]>z-table-cell:first-child,z-table-row[expanded-type=\"padding\"]>z-table-cell:first-child{--z-icon-width:16px;--z-icon-height:16px;width:24px;box-sizing:border-box;padding-right:0;padding-left:16px;fill:var(--gray800);text-align:center;user-select:none}.z-icon-placeholder{width:24px;padding-right:0}z-table-row[expanded-type=\"expandable\"]>z-table-cell:nth-child(2),z-table-row[expanded-type=\"padding\"]>z-table-cell:nth-child(2){padding-left:8px}z-table-row[expanded-type]:hover>z-table-cell:first-child{fill:var(--myz-blue-dark)}z-table-row[expanded]>z-table-cell{border-bottom:none;background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
2
- import { B as ButtonVariant, c as ButtonSize } from './index-968a240f.js';
2
+ import { B as ButtonVariant, c as ButtonSize } from './index-525f32e2.js';
3
3
  import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
4
4
 
5
5
  const stylesCss = "z-table{display:block;width:100%;background-color:var(--color-white);font-family:var(--dashboard-font);font-weight:var(--font-rg);overflow-x:auto}z-table>div.table{display:table;width:100%;border-collapse:separate}z-table>div.table-bordered>z-table-body>z-table-row>z-table-cell:not(:last-child),z-table>div.table-bordered>z-table-head>z-table-header-row>z-table-header:not(:last-child){border-right:var(--border-size-small) solid var(--bg-grey-200)}z-table>div>z-table-body>z-table-row[expandable]>z-table-cell:first-child,z-table>div>z-table-head>z-table-header-row[expandable]>z-table-header:first-child{border-right:none}z-table>div>z-table-body>z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table>div>z-table-body>z-table-row[expanded]+z-table-expanded-row{border-bottom:1px solid var(--gray200)}z-table>div.table-column-sticky>z-table-body>z-table-row>z-table-cell:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{position:sticky;z-index:1;left:0;box-shadow:1px 0 4px -1px rgb(66 69 72 / 40%)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;z-index:2;top:0;box-shadow:0 2px 3px -3px rgb(66 69 72 / 40%)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{z-index:5}z-table-body{width:auto;background-color:var(--color-white)}z-table-empty-box{display:flex;flex-direction:column;flex-grow:1;border-bottom:var(--border-size-small) solid var(--bg-grey-200)}z-table-empty-box.bordered{border-left:var(--border-size-small) solid var(--bg-grey-200)}.error-message{margin-top:calc(var(--space-unit) * 2)}.table-content{display:flex;width:100%;flex-direction:row}.error-content{display:flex;padding:calc(var(--space-unit) * 3);font-family:var(--dashboard-font)}.error-content>img{width:244px;height:188px;margin-right:calc(var(--space-unit) * 3)}@media only screen and (max-width: 768px){z-table>div.table-empty{display:none}.error-content{display:flex;flex-direction:column}.error-content>img{width:auto;height:auto}.text{padding:calc(var(--space-unit) * 3) 0}}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, g as getElement } from './index-a2ca4b97.js';
2
- import { s as ToastNotificationPosition } from './index-968a240f.js';
2
+ import { s as ToastNotificationPosition } from './index-525f32e2.js';
3
3
 
4
4
  const stylesCss = ":host{position:fixed;z-index:10000;display:flex;flex-flow:column nowrap;margin-top:calc(var(--space-unit) * 2);margin-bottom:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host([position=\"bottom-centre\"]),:host([position=\"bottom-right\"]),:host([position=\"bottom-left\"]){bottom:0;align-items:flex-end;justify-content:flex-end}:host([position=\"top-left\"]),:host([position=\"top-right\"]),:host([position=\"top-centre\"]){top:0;align-items:flex-start;justify-content:flex-start}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host([position=\"top-centre\"]){top:0;left:50%;align-items:center;justify-content:flex-start;transform:translateX(-50%)}:host([position=\"top-left\"]){top:0;left:0;align-items:flex-start;justify-content:flex-start}:host([position=\"top-right\"]){top:0;right:0;align-items:flex-end;justify-content:flex-start}:host([position=\"bottom-centre\"]){bottom:0;left:50%;align-items:center;justify-content:flex-end;transform:translateX(-50%)}:host([position=\"bottom-right\"]){right:0;bottom:0;align-items:flex-end;justify-content:flex-end}:host([position=\"bottom-left\"]){bottom:0;left:0;align-items:flex-start;justify-content:flex-end}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
2
- import { r as ToastNotificationTransition } from './index-968a240f.js';
2
+ import { r as ToastNotificationTransition } from './index-525f32e2.js';
3
3
  import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
4
4
  import { h as hammer } from './hammer-c3266b17.js';
5
5
  import './_commonjsHelpers-9943807e.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-a2ca4b97.js';
2
- import { r as randomId } from './utils-6cf7efe2.js';
3
- import { j as LabelPosition } from './index-968a240f.js';
2
+ import { r as randomId } from './utils-e7e713f8.js';
3
+ import { j as LabelPosition } from './index-525f32e2.js';
4
4
  import './breakpoints-c386984e.js';
5
5
 
6
6
  const stylesCss = ".sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-text01);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h } from './index-a2ca4b97.js';
2
- import { P as PopoverPosition } from './index-968a240f.js';
2
+ import { P as PopoverPosition } from './index-525f32e2.js';
3
3
 
4
4
  const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base))}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05)}z-popover{--z-popover-padding:var(--space-unit);--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}";
5
5
 
@@ -92,6 +92,9 @@ export declare enum ButtonType {
92
92
  RESET = "reset",
93
93
  BUTTON = "button"
94
94
  }
95
+ /**
96
+ * @deprecated Use ControlSize instead
97
+ */
95
98
  export declare enum ButtonSize {
96
99
  BIG = "big",
97
100
  SMALL = "small",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -6,7 +6,7 @@ import { SearchbarItem } from "../../../beans";
6
6
  export declare class ZSearchbar {
7
7
  /** the id of the searchbar element */
8
8
  htmlid: string;
9
- /** Show simple input without submit button */
9
+ /** Prevent submit action */
10
10
  preventSubmit?: boolean;
11
11
  /** Input search string */
12
12
  value?: string;
@@ -26,10 +26,13 @@ export declare class ZSearchbar {
26
26
  resultsItems?: SearchbarItem[] | string;
27
27
  /** Sort autocomplete results items */
28
28
  sortResultsItems?: boolean;
29
+ /** Show submit button */
30
+ showSearchButton?: boolean;
29
31
  searchString: string;
30
32
  currResultsCount: number;
31
33
  showResults: boolean;
32
34
  private resultsItemsList;
35
+ private inputRef;
33
36
  /** Emitted on search submit, return search string */
34
37
  searchSubmit: EventEmitter<string>;
35
38
  private emitSearchSubmit;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1317,7 +1317,7 @@ export namespace Components {
1317
1317
  */
1318
1318
  "placeholder"?: string;
1319
1319
  /**
1320
- * Show simple input without submit button
1320
+ * Prevent submit action
1321
1321
  */
1322
1322
  "preventSubmit"?: boolean;
1323
1323
  /**
@@ -1336,6 +1336,10 @@ export namespace Components {
1336
1336
  * Search helper text
1337
1337
  */
1338
1338
  "searchHelperLabel"?: string;
1339
+ /**
1340
+ * Show submit button
1341
+ */
1342
+ "showSearchButton"?: boolean;
1339
1343
  /**
1340
1344
  * Sort autocomplete results items
1341
1345
  */
@@ -3989,7 +3993,7 @@ declare namespace LocalJSX {
3989
3993
  */
3990
3994
  "placeholder"?: string;
3991
3995
  /**
3992
- * Show simple input without submit button
3996
+ * Prevent submit action
3993
3997
  */
3994
3998
  "preventSubmit"?: boolean;
3995
3999
  /**
@@ -4008,6 +4012,10 @@ declare namespace LocalJSX {
4008
4012
  * Search helper text
4009
4013
  */
4010
4014
  "searchHelperLabel"?: string;
4015
+ /**
4016
+ * Show submit button
4017
+ */
4018
+ "showSearchButton"?: boolean;
4011
4019
  /**
4012
4020
  * Sort autocomplete results items
4013
4021
  */
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -9,6 +9,7 @@ export declare function boolean(value: string | number | boolean): boolean | str
9
9
  export declare function retrieveAsset(assetName: string): string;
10
10
  export declare function randomId(): string;
11
11
  export declare function handleKeyboardSubmit(ev: KeyboardEvent, callback: (...args: any[]) => void, ...args: any[]): void;
12
+ export declare function handleEnterKeydSubmit(ev: KeyboardEvent, callback: (...args: any[]) => void, ...args: any[]): void;
12
13
  export declare function getClickedElement(elem?: null | Element): null | Element;
13
14
  export declare function getElementTree(elem: Element, tree?: Element[]): null | Element[];
14
15
  export declare function getSiblings(elem: HTMLElement): ChildNode[];
@@ -1 +1 @@
1
- import{c as V}from"./p-8ebe4adf.js";export{n as AlertType,A as AvatarSize,c as ButtonSize,b as ButtonType,B as ButtonVariant,C as CardVariant,Q as CarouselArrowsPosition,R as CarouselProgressMode,c as ControlSize,M as CoverHeroContentPosition,J as CoverHeroVariant,o as Device,f as DividerOrientation,D as DividerSize,i as ExpandableListButtonAlign,E as ExpandableListStyle,H as InfoRevealPosition,d as InputStatus,I as InputType,e as KeyboardCode,K as KeyboardKeyCode,j as LabelPosition,L as LicenseType,k as ListDividerType,g as ListSize,l as ListType,N as NavigationTabsOrientation,a as NavigationTabsSize,m as NotificationType,O as OffCanvasVariant,p as PocketStatus,P as PopoverPosition,h as Size,S as SortDirection,T as ThemeVariant,q as ToastNotification,s as ToastNotificationPosition,r as ToastNotificationTransition,u as TransitionDirection,t as ZAriaAlertMode,w as ZChipType,y as ZDatePickerMode,z as ZDatePickerModeValue,F as ZDatePickerPosition,v as ZFileUploadType,G as ZRangePickerMode,x as ZSectionTitleDividerPosition,Z as ZTableRowExpandedType}from"./p-a23e9115.js";import"./p-d69e14fb.js";const U={colorFromId:V};export{U as Utils}
1
+ import{c as V}from"./p-ca0d4cf2.js";export{n as AlertType,A as AvatarSize,c as ButtonSize,b as ButtonType,B as ButtonVariant,C as CardVariant,Q as CarouselArrowsPosition,R as CarouselProgressMode,c as ControlSize,M as CoverHeroContentPosition,J as CoverHeroVariant,o as Device,f as DividerOrientation,D as DividerSize,i as ExpandableListButtonAlign,E as ExpandableListStyle,H as InfoRevealPosition,d as InputStatus,I as InputType,e as KeyboardCode,K as KeyboardKeyCode,j as LabelPosition,L as LicenseType,k as ListDividerType,g as ListSize,l as ListType,N as NavigationTabsOrientation,a as NavigationTabsSize,m as NotificationType,O as OffCanvasVariant,p as PocketStatus,P as PopoverPosition,h as Size,S as SortDirection,T as ThemeVariant,q as ToastNotification,s as ToastNotificationPosition,r as ToastNotificationTransition,u as TransitionDirection,t as ZAriaAlertMode,w as ZChipType,y as ZDatePickerMode,z as ZDatePickerModeValue,F as ZDatePickerPosition,v as ZFileUploadType,G as ZRangePickerMode,x as ZSectionTitleDividerPosition,Z as ZTableRowExpandedType}from"./p-6ef01915.js";import"./p-d69e14fb.js";const U={colorFromId:V};export{U as Utils}
@@ -1 +1 @@
1
- import{r as i,c as t,h as s}from"./p-d17ebc2f.js";import{h as e}from"./p-8ebe4adf.js";import"./p-a23e9115.js";import"./p-d69e14fb.js";const a=class{constructor(s){i(this,s),this.zListItemLinkClick=t(this,"zListItemLinkClick",7),this.zListItemClick=t(this,"zListItemClick",7),this.linktarget="_self",this.underlined=!0,this.emitZListItemLinkClick=this.emitZListItemLinkClick.bind(this),this.emitZListItemClick=this.emitZListItemClick.bind(this)}emitZListItemLinkClick(i,t){this.zListItemLinkClick.emit({e:i,linkId:t})}emitZListItemClick(i,t){this.zListItemClick.emit({e:i,listitemid:t})}render(){const i=this.listitemid?`link_${this.listitemid}`:"";return s("li",{role:"button",id:this.listitemid,"data-action":this.action,onClick:i=>this.emitZListItemClick(i,this.listitemid),onKeyPress:i=>e(i,this.emitZListItemClick,this.listitemid)},s("span",{class:this.underlined&&"border"},this.icon&&s("z-icon",{name:this.icon}),this.link?s("a",{href:this.link?this.link:null,target:this.linktarget,id:i,onClick:t=>this.emitZListItemLinkClick(t,i),onKeyPress:t=>e(t,this.emitZListItemLinkClick,i),role:this.link?"link":"button",tabindex:"0"},this.text):s("span",{innerHTML:this.text}),s("slot",null)))}};a.style=":host li{all:unset;all:reset;width:100%;line-height:14px;list-style-type:none}:host li>span{display:flex;padding:calc(var(--space-unit) * 2) 0;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:16px;font-weight:var(--font-rg);letter-spacing:0.23px;line-height:14px}:host(.small) li>span{padding:calc(var(--space-unit) * 1.5) 0;font-size:var(--font-size-2)}:host(.x-small) li>span{padding:var(--space-unit) 0;font-size:var(--font-size-2)}:host(.small) li>span>z-icon,:host(.x-small) li>span>z-icon{--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:calc(var(--space-unit) * 0.5);padding:0}:host li>span.border{border-bottom:2px solid var(--bg-grey-200)}:host li span:hover,a:hover{color:var(--myz-blue);fill:var(--myz-blue)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-repeat:no-repeat;background-size:contain;color:var(--myz-blue);fill:var(--myz-blue)}";export{a as z_myz_list_item}
1
+ import{r as i,c as t,h as s}from"./p-d17ebc2f.js";import{h as a}from"./p-ca0d4cf2.js";import"./p-6ef01915.js";import"./p-d69e14fb.js";const e=class{constructor(s){i(this,s),this.zListItemLinkClick=t(this,"zListItemLinkClick",7),this.zListItemClick=t(this,"zListItemClick",7),this.linktarget="_self",this.underlined=!0,this.emitZListItemLinkClick=this.emitZListItemLinkClick.bind(this),this.emitZListItemClick=this.emitZListItemClick.bind(this)}emitZListItemLinkClick(i,t){this.zListItemLinkClick.emit({e:i,linkId:t})}emitZListItemClick(i,t){this.zListItemClick.emit({e:i,listitemid:t})}render(){const i=this.listitemid?`link_${this.listitemid}`:"";return s("li",{role:"button",id:this.listitemid,"data-action":this.action,onClick:i=>this.emitZListItemClick(i,this.listitemid),onKeyPress:i=>a(i,this.emitZListItemClick,this.listitemid)},s("span",{class:this.underlined&&"border"},this.icon&&s("z-icon",{name:this.icon}),this.link?s("a",{href:this.link?this.link:null,target:this.linktarget,id:i,onClick:t=>this.emitZListItemLinkClick(t,i),onKeyPress:t=>a(t,this.emitZListItemLinkClick,i),role:this.link?"link":"button",tabindex:"0"},this.text):s("span",{innerHTML:this.text}),s("slot",null)))}};e.style=":host li{all:unset;all:reset;width:100%;line-height:14px;list-style-type:none}:host li>span{display:flex;padding:calc(var(--space-unit) * 2) 0;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:16px;font-weight:var(--font-rg);letter-spacing:0.23px;line-height:14px}:host(.small) li>span{padding:calc(var(--space-unit) * 1.5) 0;font-size:var(--font-size-2)}:host(.x-small) li>span{padding:var(--space-unit) 0;font-size:var(--font-size-2)}:host(.small) li>span>z-icon,:host(.x-small) li>span>z-icon{--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:calc(var(--space-unit) * 0.5);padding:0}:host li>span.border{border-bottom:2px solid var(--bg-grey-200)}:host li span:hover,a:hover{color:var(--myz-blue);fill:var(--myz-blue)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-repeat:no-repeat;background-size:contain;color:var(--myz-blue);fill:var(--myz-blue)}";export{e as z_myz_list_item}
@@ -1 +1 @@
1
- import{r as a,c as n,h as t,H as o,g as s}from"./p-d17ebc2f.js";import{O as i,u as c}from"./p-a23e9115.js";const r=class{constructor(t){a(this,t),this.canvasOpenStatusChanged=n(this,"canvasOpenStatusChanged",7),this.variant=i.PUSHCONTENT,this.open=!1,this.transitiondirection=c.LEFT}componentWillLoad(){this.handleOpenStatus()}onOpenChanged(){this.handleOpenStatus(),this.canvasOpenStatusChanged.emit(this.open)}handleOpenStatus(){this.open?(this.hostElement.style.opacity="0",this.hostElement.style.display="flex",this.variant===i.OVERLAY&&(document.body.style.overflowY="hidden")):this.variant===i.PUSHCONTENT&&(this.hostElement.style.display="none",document.body.style.overflowX="hidden")}handleAnimationEnd(){this.hostElement.hasAttribute("open")?this.hostElement.querySelector(".canvas-content").focus():this.variant===i.OVERLAY&&(this.hostElement.style.display="none",document.body.style.overflowX="initial",document.body.style.overflowY="initial")}handleAnimationStart(){this.hostElement.hasAttribute("open")&&(this.hostElement.style.opacity="1")}render(){return t(o,null,t("div",{class:"canvas-container",onAnimationEnd:()=>this.handleAnimationEnd(),onAnimationStart:()=>this.handleAnimationStart()},t("div",{class:"canvas-content"},t("slot",{name:"canvasContent"}))),t("div",{class:"canvas-background","data-action":"canvasBackground",onClick:()=>this.open=!1}))}get hostElement(){return s(this)}static get watchers(){return{open:["onOpenChanged"]}}};r.style='.sc-z-offcanvas-h{--z-offcanvas--container-width:375px;--z-offcanvas--top-space:0;display:none;min-width:100%;height:100%;justify-content:end;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.canvas-container.sc-z-offcanvas{display:flex;overflow:-moz-scrollbars-none;overflow:hidden;min-width:100%;height:100%;flex-direction:column;background:var(--color-surface01);transform:translateX(100%)}@keyframes enter-right{from{transform:translateX(100%)}to{transform:translateX(0)}}[open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:enter-right;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exit-right{from{transform:translateX(0)}to{transform:translateX(100%)}}.sc-z-offcanvas-h:not([open])[variant="overlay"]>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:exit-right;animation-timing-function:ease-out;transform:translateX(100%)}[variant="overlay"].sc-z-offcanvas-h{position:fixed;z-index:1000;top:var(--z-offcanvas--top-space);right:0;bottom:0;left:0;height:calc(100% - var(--z-offcanvas--top-space))}[variant="overlay"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{z-index:1010}[variant="overlay"].sc-z-offcanvas-h .canvas-background.sc-z-offcanvas{position:absolute;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}[transitiondirection="right"].sc-z-offcanvas-h{justify-content:start}[transitiondirection="right"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(-100%)}@keyframes enter-left{from{transform:translateX(-100%)}to{transform:translateX(0)}}[transitiondirection="right"][open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:enter-left;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exit-left{from{transform:translateX(0)}to{transform:translateX(-100%)}}.sc-z-offcanvas-h:not([open])[variant="overlay"][transitiondirection="right"]>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:exit-left;animation-timing-function:ease-out;transform:translateX(-100%)}.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{overflow:auto;flex:1 auto;padding:0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0;overflow-x:hidden}[variant="overlay"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{padding:0 calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) 0 0}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-track{background-color:transparent}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.sc-z-offcanvas-h{min-width:auto}.canvas-container.sc-z-offcanvas{width:auto;min-width:max(var(--z-offcanvas--container-width), 375px);max-width:max(var(--z-offcanvas--container-width), 375px);height:auto;min-height:calc(var(--space-unit) * 40)}@keyframes grow{from{width:0}to{width:max(var(--z-offcanvas--container-width), 375px)}}.sc-z-offcanvas-h:not([variant="overlay"])[open]{width:auto;animation-duration:0.4s;animation-name:grow;animation-timing-function:ease-out}}';export{r as z_offcanvas}
1
+ import{r as a,c as n,h as t,H as o,g as s}from"./p-d17ebc2f.js";import{O as i,u as c}from"./p-6ef01915.js";const r=class{constructor(t){a(this,t),this.canvasOpenStatusChanged=n(this,"canvasOpenStatusChanged",7),this.variant=i.PUSHCONTENT,this.open=!1,this.transitiondirection=c.LEFT}componentWillLoad(){this.handleOpenStatus()}onOpenChanged(){this.handleOpenStatus(),this.canvasOpenStatusChanged.emit(this.open)}handleOpenStatus(){this.open?(this.hostElement.style.opacity="0",this.hostElement.style.display="flex",this.variant===i.OVERLAY&&(document.body.style.overflowY="hidden")):this.variant===i.PUSHCONTENT&&(this.hostElement.style.display="none",document.body.style.overflowX="hidden")}handleAnimationEnd(){this.hostElement.hasAttribute("open")?this.hostElement.querySelector(".canvas-content").focus():this.variant===i.OVERLAY&&(this.hostElement.style.display="none",document.body.style.overflowX="initial",document.body.style.overflowY="initial")}handleAnimationStart(){this.hostElement.hasAttribute("open")&&(this.hostElement.style.opacity="1")}render(){return t(o,null,t("div",{class:"canvas-container",onAnimationEnd:()=>this.handleAnimationEnd(),onAnimationStart:()=>this.handleAnimationStart()},t("div",{class:"canvas-content"},t("slot",{name:"canvasContent"}))),t("div",{class:"canvas-background","data-action":"canvasBackground",onClick:()=>this.open=!1}))}get hostElement(){return s(this)}static get watchers(){return{open:["onOpenChanged"]}}};r.style='.sc-z-offcanvas-h{--z-offcanvas--container-width:375px;--z-offcanvas--top-space:0;display:none;min-width:100%;height:100%;justify-content:end;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.canvas-container.sc-z-offcanvas{display:flex;overflow:-moz-scrollbars-none;overflow:hidden;min-width:100%;height:100%;flex-direction:column;background:var(--color-surface01);transform:translateX(100%)}@keyframes enter-right{from{transform:translateX(100%)}to{transform:translateX(0)}}[open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:enter-right;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exit-right{from{transform:translateX(0)}to{transform:translateX(100%)}}.sc-z-offcanvas-h:not([open])[variant="overlay"]>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:exit-right;animation-timing-function:ease-out;transform:translateX(100%)}[variant="overlay"].sc-z-offcanvas-h{position:fixed;z-index:1000;top:var(--z-offcanvas--top-space);right:0;bottom:0;left:0;height:calc(100% - var(--z-offcanvas--top-space))}[variant="overlay"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{z-index:1010}[variant="overlay"].sc-z-offcanvas-h .canvas-background.sc-z-offcanvas{position:absolute;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}[transitiondirection="right"].sc-z-offcanvas-h{justify-content:start}[transitiondirection="right"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(-100%)}@keyframes enter-left{from{transform:translateX(-100%)}to{transform:translateX(0)}}[transitiondirection="right"][open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:enter-left;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exit-left{from{transform:translateX(0)}to{transform:translateX(-100%)}}.sc-z-offcanvas-h:not([open])[variant="overlay"][transitiondirection="right"]>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:exit-left;animation-timing-function:ease-out;transform:translateX(-100%)}.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{overflow:auto;flex:1 auto;padding:0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0;overflow-x:hidden}[variant="overlay"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{padding:0 calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) 0 0}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-track{background-color:transparent}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.sc-z-offcanvas-h{min-width:auto}.canvas-container.sc-z-offcanvas{width:auto;min-width:max(var(--z-offcanvas--container-width), 375px);max-width:max(var(--z-offcanvas--container-width), 375px);height:auto;min-height:calc(var(--space-unit) * 40)}@keyframes grow{from{width:0}to{width:max(var(--z-offcanvas--container-width), 375px)}}.sc-z-offcanvas-h:not([variant="overlay"])[open]{width:auto;animation-duration:0.4s;animation-name:grow;animation-timing-function:ease-out}}';export{r as z_offcanvas}
@@ -1 +1 @@
1
- import{r as o,h as e}from"./p-d17ebc2f.js";import{p as r}from"./p-a23e9115.js";const t=class{constructor(e){o(this,e),this.status=r.PREVIEW}handlePocketToggle(o){o.detail.id===this.pocketid&&(this.status=o.detail.status)}renderHeader(){let o,t;switch(this.status){case r.PREVIEW:case r.CLOSED:o=e("span",null,"Messaggi ",e("span",{class:"badge"},this.messages)),t="chevron-up";break;case r.OPEN:o=e("span",null,"Riduci"),t="chevron-down"}return e("z-pocket-header",{pocketid:this.pocketid},o,e("z-icon",{name:t,width:14,height:14}))}renderBody(){return e("z-pocket-body",{pocketid:this.pocketid},e("div",{class:"body"},e("slot",null)),e("div",{class:"gradient"}))}render(){return e("z-pocket",{pocketid:this.pocketid,status:this.status,class:this.status},this.renderHeader(),this.renderBody())}};t.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-pocket{width:100%}:host>z-pocket.closed{width:158px}:host>z-pocket>z-pocket-header{color:var(--color-primary01);fill:var(--color-primary01);font-size:12px;font-weight:var(--font-sb)}:host>z-pocket>z-pocket-header span.badge{display:inline-block;padding:0 calc(var(--space-unit) * 0.5);margin-left:var(--space-unit);background:var(--color-secondary02);border-radius:50%;color:var(--color-surface01)}:host>z-pocket>z-pocket-header>z-icon{margin-left:var(--space-unit)}:host>z-pocket>z-pocket-body>div.body{overflow:hidden;padding:var(--space-unit);margin:0 var(--space-unit)}:host>z-pocket.preview>z-pocket-body{position:relative}:host>z-pocket.preview>z-pocket-body>div.gradient{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgb(255 0 0 / 0%), white)}:host>z-pocket.open>z-pocket-body>div.body{overflow:auto;max-height:calc(100vh - 166px);scrollbar-width:none}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>z-pocket{width:768px;margin:0 calc((100% - 768px) / 2)}:host>z-pocket.closed{margin:0 calc((100% - 158px) / 2)}:host>z-pocket.open>z-pocket-body>div.body{max-height:326px}}@media only screen and (min-width: 1152px){:host>z-pocket.open>z-pocket-body>div.body{scrollbar-color:var(--color-primary01) var(--color-surface03);scrollbar-width:thin}:host ::-webkit-scrollbar{width:10px;background:linear-gradient(\n 90deg,\n var(--color-surface01) 2px,\n var(--color-surface03) 4px,\n var(--color-surface01) 8px\n );border-radius:var(--radius-base)}:host ::-webkit-scrollbar-thumb{width:var(--space-unit);background-color:var(--color-primary01);border-radius:var(--radius-base)}}";export{t as z_messages_pocket}
1
+ import{r as o,h as e}from"./p-d17ebc2f.js";import{p as r}from"./p-6ef01915.js";const t=class{constructor(e){o(this,e),this.status=r.PREVIEW}handlePocketToggle(o){o.detail.id===this.pocketid&&(this.status=o.detail.status)}renderHeader(){let o,t;switch(this.status){case r.PREVIEW:case r.CLOSED:o=e("span",null,"Messaggi ",e("span",{class:"badge"},this.messages)),t="chevron-up";break;case r.OPEN:o=e("span",null,"Riduci"),t="chevron-down"}return e("z-pocket-header",{pocketid:this.pocketid},o,e("z-icon",{name:t,width:14,height:14}))}renderBody(){return e("z-pocket-body",{pocketid:this.pocketid},e("div",{class:"body"},e("slot",null)),e("div",{class:"gradient"}))}render(){return e("z-pocket",{pocketid:this.pocketid,status:this.status,class:this.status},this.renderHeader(),this.renderBody())}};t.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-pocket{width:100%}:host>z-pocket.closed{width:158px}:host>z-pocket>z-pocket-header{color:var(--color-primary01);fill:var(--color-primary01);font-size:12px;font-weight:var(--font-sb)}:host>z-pocket>z-pocket-header span.badge{display:inline-block;padding:0 calc(var(--space-unit) * 0.5);margin-left:var(--space-unit);background:var(--color-secondary02);border-radius:50%;color:var(--color-surface01)}:host>z-pocket>z-pocket-header>z-icon{margin-left:var(--space-unit)}:host>z-pocket>z-pocket-body>div.body{overflow:hidden;padding:var(--space-unit);margin:0 var(--space-unit)}:host>z-pocket.preview>z-pocket-body{position:relative}:host>z-pocket.preview>z-pocket-body>div.gradient{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgb(255 0 0 / 0%), white)}:host>z-pocket.open>z-pocket-body>div.body{overflow:auto;max-height:calc(100vh - 166px);scrollbar-width:none}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>z-pocket{width:768px;margin:0 calc((100% - 768px) / 2)}:host>z-pocket.closed{margin:0 calc((100% - 158px) / 2)}:host>z-pocket.open>z-pocket-body>div.body{max-height:326px}}@media only screen and (min-width: 1152px){:host>z-pocket.open>z-pocket-body>div.body{scrollbar-color:var(--color-primary01) var(--color-surface03);scrollbar-width:thin}:host ::-webkit-scrollbar{width:10px;background:linear-gradient(\n 90deg,\n var(--color-surface01) 2px,\n var(--color-surface03) 4px,\n var(--color-surface01) 8px\n );border-radius:var(--radius-base)}:host ::-webkit-scrollbar-thumb{width:var(--space-unit);background-color:var(--color-primary01);border-radius:var(--radius-base)}}";export{t as z_messages_pocket}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,H as s,g as n}from"./p-d17ebc2f.js";import{v as a,o as r,D as o}from"./p-a23e9115.js";import{g as l}from"./p-8ebe4adf.js";import"./p-d69e14fb.js";const c=class{constructor(e){t(this,e),this.fileInput=i(this,"fileInput",7),this.type=a.DEFAULT,this.files=[],this.inputAttributes={type:"file",id:"file-elem",multiple:!0}}removeFileListener(t){const i=this.files,e=i.find((i=>i.name===t.detail.fileName));if(e){const t=i.indexOf(e);t>=0&&(i.splice(t,1),this.files=[...i])}}fileDroppedListener(t){this.input.files=t.detail,this.fileInputHandler()}componentDidUpdate(){this.handleAccessibility(),this.invalidFiles.size&&this.errorModal.focus()}componentWillLoad(){this.invalidFiles=new Map}fileInputHandler(){this.input.files.length&&(this.invalidFiles=this.checkFiles(Array.from(this.input.files)))}async getFiles(){return this.files}getType(){return l()!==r.DESKTOP?a.DEFAULT:this.type}handleAccessibility(){const t=this.el.querySelector("z-file:last-child z-chip button");this.files.length>0&&t?t.focus():this.getType()===a.DEFAULT?this.button.querySelector("button").focus():this.uploadLink.focus()}checkFiles(t){const i=new Map,e=`supera i ${this.fileMaxSize}MB`;return t.forEach((t=>{const s=t.size/1024/1024,n=this.acceptedFormat.split(",").some((i=>t.name.toLowerCase().endsWith(i.trim()))),a=s<=this.fileMaxSize;a&&n?this.files.find((i=>i.name===t.name))||(this.files.push(t),this.fileInput.emit(t),this.input.value=""):(i.set(t.name,[]),a||i.get(t.name).push(e),n||i.get(t.name).push(" ha un'estensione non prevista"))})),i}renderTitle(){return e("h2",{class:"heading-2-sb",id:"title"},this.mainTitle)}renderDescription(t){return e("span",{class:t},this.description)}renderAllowedFileExtensions(){let t="",i="";return this.acceptedFormat&&(t=` nei formati ${this.acceptedFormat.split(", ").map((t=>t.substring(1).toUpperCase())).join(", ")}`),this.fileMaxSize&&(i=` per un massimo di ${this.fileMaxSize}MB di peso`),e("span",{class:"body-3"},t||i?`Puoi allegare file${t}${i}.`:null)}renderFileSection(){return e("section",{class:"files-container "+(this.files.length?"":"hidden")},e("h4",{class:"heading-4-sb"},"File appena caricati"),e("div",{class:"files-wrapper"},e("slot",{name:"files"})),e("z-divider",{size:o.MEDIUM}))}renderInput(){return e("input",Object.assign({},this.inputAttributes,{onChange:()=>this.fileInputHandler(),accept:this.acceptedFormat,ref:t=>this.input=t}))}renderUploadButton(){return[this.renderInput(),e("z-button",{onClick:()=>this.input.click(),onKeyPress:t=>{"Space"!=t.code&&"Enter"!=t.code||(t.preventDefault(),this.input.click())},id:"fileSelect",variant:this.buttonVariant,icon:"upload",ref:t=>this.button=t},"Allega")]}renderUploadLink(){return[this.renderInput(),e("span",{class:"body-1 upload-link-text"},"Trascinalo qui o"," ",e("span",{tabIndex:0,class:"body-1-sb upload-link",onClick:()=>this.input.click(),onKeyPress:t=>{"Space"!=t.code&&"Enter"!=t.code||(t.preventDefault(),this.input.click())},ref:t=>this.uploadLink=t},"caricalo")," ","dal tuo computer")]}renderDefaultMode(){return[this.renderDescription("body-3-sb"),this.renderAllowedFileExtensions(),this.renderFileSection(),this.renderUploadButton()]}renderDragDropMode(){return[this.renderFileSection(),e("z-dragdrop-area",null,e("div",{class:"text-container"},this.renderDescription("body-1"),this.renderUploadLink(),this.renderAllowedFileExtensions()))]}formatErrorString(t,i){var e,s;return`Il file ${t} ${null!==(e=i[0])&&void 0!==e?e:""}${i[0]&&i[1]?", ":""} ${null!==(s=i[1])&&void 0!==s?s:""} e non può quindi essere caricato.`}handleErrorModalContent(){return e("div",{slot:"modalContent"},e("div",{class:"modal-wrapper"},e("div",{class:"files"},Array.from(this.invalidFiles).map((([t,i])=>e("span",{class:"body-3"},this.formatErrorString(t,i)))))))}render(){return e(s,null,e("div",{tabIndex:0,class:`container ${this.getType()}`},this.renderTitle(),this.getType()==a.DEFAULT?this.renderDefaultMode():this.renderDragDropMode()),!!this.invalidFiles.size&&e("z-modal",{tabIndex:0,ref:t=>this.errorModal=t,modaltitle:"Attenzione",onModalClose:()=>this.invalidFiles=new Map,onModalBackgroundClick:()=>this.invalidFiles=new Map},this.handleErrorModalContent()))}get el(){return n(this)}};c.style=":host{color:var(--color-text01);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.container{display:flex;flex-direction:column}:host .modal-wrapper{display:flex;align-items:center;justify-content:center}:host .modal-wrapper>.files-wrapper{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}:host .text-container{display:flex;flex-direction:column;margin:auto}:host .text-container .body-1{text-align:center}:host .text-container .upload-link{color:var(--color-link-primary);cursor:pointer}:host .text-container .upload-link-text{margin-bottom:var(--space-unit)}input#file-elem{display:none}#title{display:inline-block;margin-bottom:var(--space-unit)}:host>.container>z-button{display:inline-block;margin-top:calc(var(--space-unit) * 3)}:host>.container>.files-container.hidden{display:none}:host>.container>.files-container>.heading-4-sb{display:inline-block;margin:calc(var(--space-unit) * 3) 0}:host>.container>.files-container>.files-wrapper{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}:host>.container>.files-container>z-divider{margin-top:calc(var(--space-unit) * 3);margin-bottom:0}@media only screen and (min-width: 768px){:host>.container>z-button{align-self:flex-start}}";export{c as z_file_upload}
1
+ import{r as t,c as i,h as e,H as s,g as n}from"./p-d17ebc2f.js";import{v as a,o as r,D as o}from"./p-6ef01915.js";import{g as l}from"./p-ca0d4cf2.js";import"./p-d69e14fb.js";const c=class{constructor(e){t(this,e),this.fileInput=i(this,"fileInput",7),this.type=a.DEFAULT,this.files=[],this.inputAttributes={type:"file",id:"file-elem",multiple:!0}}removeFileListener(t){const i=this.files,e=i.find((i=>i.name===t.detail.fileName));if(e){const t=i.indexOf(e);t>=0&&(i.splice(t,1),this.files=[...i])}}fileDroppedListener(t){this.input.files=t.detail,this.fileInputHandler()}componentDidUpdate(){this.handleAccessibility(),this.invalidFiles.size&&this.errorModal.focus()}componentWillLoad(){this.invalidFiles=new Map}fileInputHandler(){this.input.files.length&&(this.invalidFiles=this.checkFiles(Array.from(this.input.files)))}async getFiles(){return this.files}getType(){return l()!==r.DESKTOP?a.DEFAULT:this.type}handleAccessibility(){const t=this.el.querySelector("z-file:last-child z-chip button");this.files.length>0&&t?t.focus():this.getType()===a.DEFAULT?this.button.querySelector("button").focus():this.uploadLink.focus()}checkFiles(t){const i=new Map,e=`supera i ${this.fileMaxSize}MB`;return t.forEach((t=>{const s=t.size/1024/1024,n=this.acceptedFormat.split(",").some((i=>t.name.toLowerCase().endsWith(i.trim()))),a=s<=this.fileMaxSize;a&&n?this.files.find((i=>i.name===t.name))||(this.files.push(t),this.fileInput.emit(t),this.input.value=""):(i.set(t.name,[]),a||i.get(t.name).push(e),n||i.get(t.name).push(" ha un'estensione non prevista"))})),i}renderTitle(){return e("h2",{class:"heading-2-sb",id:"title"},this.mainTitle)}renderDescription(t){return e("span",{class:t},this.description)}renderAllowedFileExtensions(){let t="",i="";return this.acceptedFormat&&(t=` nei formati ${this.acceptedFormat.split(", ").map((t=>t.substring(1).toUpperCase())).join(", ")}`),this.fileMaxSize&&(i=` per un massimo di ${this.fileMaxSize}MB di peso`),e("span",{class:"body-3"},t||i?`Puoi allegare file${t}${i}.`:null)}renderFileSection(){return e("section",{class:"files-container "+(this.files.length?"":"hidden")},e("h4",{class:"heading-4-sb"},"File appena caricati"),e("div",{class:"files-wrapper"},e("slot",{name:"files"})),e("z-divider",{size:o.MEDIUM}))}renderInput(){return e("input",Object.assign({},this.inputAttributes,{onChange:()=>this.fileInputHandler(),accept:this.acceptedFormat,ref:t=>this.input=t}))}renderUploadButton(){return[this.renderInput(),e("z-button",{onClick:()=>this.input.click(),onKeyPress:t=>{"Space"!=t.code&&"Enter"!=t.code||(t.preventDefault(),this.input.click())},id:"fileSelect",variant:this.buttonVariant,icon:"upload",ref:t=>this.button=t},"Allega")]}renderUploadLink(){return[this.renderInput(),e("span",{class:"body-1 upload-link-text"},"Trascinalo qui o"," ",e("span",{tabIndex:0,class:"body-1-sb upload-link",onClick:()=>this.input.click(),onKeyPress:t=>{"Space"!=t.code&&"Enter"!=t.code||(t.preventDefault(),this.input.click())},ref:t=>this.uploadLink=t},"caricalo")," ","dal tuo computer")]}renderDefaultMode(){return[this.renderDescription("body-3-sb"),this.renderAllowedFileExtensions(),this.renderFileSection(),this.renderUploadButton()]}renderDragDropMode(){return[this.renderFileSection(),e("z-dragdrop-area",null,e("div",{class:"text-container"},this.renderDescription("body-1"),this.renderUploadLink(),this.renderAllowedFileExtensions()))]}formatErrorString(t,i){var e,s;return`Il file ${t} ${null!==(e=i[0])&&void 0!==e?e:""}${i[0]&&i[1]?", ":""} ${null!==(s=i[1])&&void 0!==s?s:""} e non può quindi essere caricato.`}handleErrorModalContent(){return e("div",{slot:"modalContent"},e("div",{class:"modal-wrapper"},e("div",{class:"files"},Array.from(this.invalidFiles).map((([t,i])=>e("span",{class:"body-3"},this.formatErrorString(t,i)))))))}render(){return e(s,null,e("div",{tabIndex:0,class:`container ${this.getType()}`},this.renderTitle(),this.getType()==a.DEFAULT?this.renderDefaultMode():this.renderDragDropMode()),!!this.invalidFiles.size&&e("z-modal",{tabIndex:0,ref:t=>this.errorModal=t,modaltitle:"Attenzione",onModalClose:()=>this.invalidFiles=new Map,onModalBackgroundClick:()=>this.invalidFiles=new Map},this.handleErrorModalContent()))}get el(){return n(this)}};c.style=":host{color:var(--color-text01);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.container{display:flex;flex-direction:column}:host .modal-wrapper{display:flex;align-items:center;justify-content:center}:host .modal-wrapper>.files-wrapper{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}:host .text-container{display:flex;flex-direction:column;margin:auto}:host .text-container .body-1{text-align:center}:host .text-container .upload-link{color:var(--color-link-primary);cursor:pointer}:host .text-container .upload-link-text{margin-bottom:var(--space-unit)}input#file-elem{display:none}#title{display:inline-block;margin-bottom:var(--space-unit)}:host>.container>z-button{display:inline-block;margin-top:calc(var(--space-unit) * 3)}:host>.container>.files-container.hidden{display:none}:host>.container>.files-container>.heading-4-sb{display:inline-block;margin:calc(var(--space-unit) * 3) 0}:host>.container>.files-container>.files-wrapper{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}:host>.container>.files-container>z-divider{margin-top:calc(var(--space-unit) * 3);margin-bottom:0}@media only screen and (min-width: 768px){:host>.container>z-button{align-self:flex-start}}";export{c as z_file_upload}
@@ -1 +1 @@
1
- import{r as o,h as t}from"./p-d17ebc2f.js";import{P as e}from"./p-a23e9115.js";const r=class{constructor(t){o(this,t),this.position=e.AUTO,this.dark=!1,this.open=!1}onPopoverOpenChange(){this.open=this.popover.open}render(){return t("z-popover",{ref:o=>this.popover=o,bindTo:this.bindTo,open:this.open,position:this.position,center:!0,showArrow:!0},t("slot",null))}};r.style=":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base))}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05)}z-popover{--z-popover-padding:var(--space-unit);--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}";export{r as z_tooltip}
1
+ import{r as o,h as t}from"./p-d17ebc2f.js";import{P as e}from"./p-6ef01915.js";const r=class{constructor(t){o(this,t),this.position=e.AUTO,this.dark=!1,this.open=!1}onPopoverOpenChange(){this.open=this.popover.open}render(){return t("z-popover",{ref:o=>this.popover=o,bindTo:this.bindTo,open:this.open,position:this.position,center:!0,showArrow:!0},t("slot",null))}};r.style=":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base))}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05)}z-popover{--z-popover-padding:var(--space-unit);--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}";export{r as z_tooltip}
@@ -1 +1 @@
1
- import{r as o,h as n,H as a}from"./p-d17ebc2f.js";import{B as i}from"./p-a23e9115.js";const t=class{constructor(n){o(this,n),this.hideUnselected=!1,this.collapsed=!1}setAriaCurrent(){Array.from(this.nav.children).forEach((o=>{const n=o instanceof HTMLAnchorElement?o:o.querySelector("a"),a=window.location.href===n.href;n.setAttribute("aria-current",a.toString()),o.toggleAttribute("current",a)}))}toggleCollapsed(){this.collapsed=!this.collapsed}componentDidLoad(){window.addEventListener("hashchange",this.setAriaCurrent.bind(this)),this.setAriaCurrent()}disconnectedCallback(){window.removeEventListener("hashchange",this.setAriaCurrent)}render(){return n(a,{collapsed:this.collapsed},n("z-button",{class:"toggle",variant:i.SECONDARY,icon:this.collapsed?"chevron-up":"chevron-down",onClick:this.toggleCollapsed.bind(this)},"salta a"),n("nav",{ref:o=>this.nav=o},n("slot",null)))}};t.style="html{scroll-behavior:smooth}z-anchor-navigation nav{display:none;flex-direction:column;justify-content:flex-start;row-gap:calc(var(--space-unit) / 2)}z-anchor-navigation[collapsed] nav{display:flex;margin-top:var(--space-unit)}z-anchor-navigation nav a{display:-webkit-box;overflow:clip;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);-webkit-box-orient:vertical;color:inherit;font-weight:inherit;-webkit-line-clamp:2;overflow-clip-margin:content-box;text-decoration:none}z-anchor-navigation nav * a:not(:only-child){padding-right:calc(var(--space-unit) * 5)}@supports not (overflow-clip-margin: content-box){z-anchor-navigation nav a{display:inline-block;overflow:hidden;-webkit-line-clamp:none;text-overflow:ellipsis;white-space:nowrap}}z-anchor-navigation nav>*{position:relative;border-left:var(--border-size-large) solid var(--color-surface04);color:var(--color-text01);font-family:var(--font-family-sans);transition:background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out}z-anchor-navigation nav>[current]{border-left-color:var(--color-primary01);color:var(--color-link-primary);font-weight:var(--font-sb)}z-anchor-navigation nav>*>*:is(z-button,button,z-icon){position:absolute;top:50%;right:0;transform:translateY(-50%);transition:opacity 0.3s ease-in-out}z-anchor-navigation nav button{padding:0;border:none;margin:0;background-color:transparent}z-anchor-navigation nav z-icon{--z-icon-width:16px;--z-icon-height:16px;display:flex;padding:calc(var(--space-unit) * 1.5);fill:var(--color-icon02)}@media (min-width: 768px){z-anchor-navigation z-button.toggle{display:none !important}z-anchor-navigation nav{display:flex}z-anchor-navigation nav a{outline:none}@media (hover: hover){z-anchor-navigation nav>*:hover{border-left-color:var(--color-hover-secondary);background-color:var(--color-hover-surface);color:var(--color-hover-link)}}z-anchor-navigation nav>*:is(:focus,:focus-within),z-anchor-navigation nav :is(z-icon,button):focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}z-anchor-navigation[hide-unselected] nav>*:not([current],:hover,:focus,:focus-within){color:transparent}z-anchor-navigation nav>*:not([current],:hover,:focus,:focus-within)>*:is(z-button,button,z-icon):not(:focus:focus-visible){opacity:0;pointer-events:none}@media (hover: none){z-anchor-navigation:not([hide-unselected]) nav>*>*:is(z-button,button,z-icon){opacity:1;pointer-events:all}}}";export{t as z_anchor_navigation}
1
+ import{r as o,h as n,H as a}from"./p-d17ebc2f.js";import{B as i}from"./p-6ef01915.js";const t=class{constructor(n){o(this,n),this.hideUnselected=!1,this.collapsed=!1}setAriaCurrent(){Array.from(this.nav.children).forEach((o=>{const n=o instanceof HTMLAnchorElement?o:o.querySelector("a"),a=window.location.href===n.href;n.setAttribute("aria-current",a.toString()),o.toggleAttribute("current",a)}))}toggleCollapsed(){this.collapsed=!this.collapsed}componentDidLoad(){window.addEventListener("hashchange",this.setAriaCurrent.bind(this)),this.setAriaCurrent()}disconnectedCallback(){window.removeEventListener("hashchange",this.setAriaCurrent)}render(){return n(a,{collapsed:this.collapsed},n("z-button",{class:"toggle",variant:i.SECONDARY,icon:this.collapsed?"chevron-up":"chevron-down",onClick:this.toggleCollapsed.bind(this)},"salta a"),n("nav",{ref:o=>this.nav=o},n("slot",null)))}};t.style="html{scroll-behavior:smooth}z-anchor-navigation nav{display:none;flex-direction:column;justify-content:flex-start;row-gap:calc(var(--space-unit) / 2)}z-anchor-navigation[collapsed] nav{display:flex;margin-top:var(--space-unit)}z-anchor-navigation nav a{display:-webkit-box;overflow:clip;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);-webkit-box-orient:vertical;color:inherit;font-weight:inherit;-webkit-line-clamp:2;overflow-clip-margin:content-box;text-decoration:none}z-anchor-navigation nav * a:not(:only-child){padding-right:calc(var(--space-unit) * 5)}@supports not (overflow-clip-margin: content-box){z-anchor-navigation nav a{display:inline-block;overflow:hidden;-webkit-line-clamp:none;text-overflow:ellipsis;white-space:nowrap}}z-anchor-navigation nav>*{position:relative;border-left:var(--border-size-large) solid var(--color-surface04);color:var(--color-text01);font-family:var(--font-family-sans);transition:background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out}z-anchor-navigation nav>[current]{border-left-color:var(--color-primary01);color:var(--color-link-primary);font-weight:var(--font-sb)}z-anchor-navigation nav>*>*:is(z-button,button,z-icon){position:absolute;top:50%;right:0;transform:translateY(-50%);transition:opacity 0.3s ease-in-out}z-anchor-navigation nav button{padding:0;border:none;margin:0;background-color:transparent}z-anchor-navigation nav z-icon{--z-icon-width:16px;--z-icon-height:16px;display:flex;padding:calc(var(--space-unit) * 1.5);fill:var(--color-icon02)}@media (min-width: 768px){z-anchor-navigation z-button.toggle{display:none !important}z-anchor-navigation nav{display:flex}z-anchor-navigation nav a{outline:none}@media (hover: hover){z-anchor-navigation nav>*:hover{border-left-color:var(--color-hover-secondary);background-color:var(--color-hover-surface);color:var(--color-hover-link)}}z-anchor-navigation nav>*:is(:focus,:focus-within),z-anchor-navigation nav :is(z-icon,button):focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}z-anchor-navigation[hide-unselected] nav>*:not([current],:hover,:focus,:focus-within){color:transparent}z-anchor-navigation nav>*:not([current],:hover,:focus,:focus-within)>*:is(z-button,button,z-icon):not(:focus:focus-visible){opacity:0;pointer-events:none}@media (hover: none){z-anchor-navigation:not([hide-unselected]) nav>*>*:is(z-button,button,z-icon){opacity:1;pointer-events:all}}}";export{t as z_anchor_navigation}