@zanichelli/albe-web-components 6.6.10-test → 6.8.0

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 (600) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/cjs/_commonjsHelpers-537d719a.js +20 -0
  3. package/dist/cjs/breakpoints-88c4fd6c.js +7 -0
  4. package/{www/build/hammer-782a2043.js → dist/cjs/hammer-4f20813e.js} +6 -5
  5. package/{www/build/icons-85e529a3.js → dist/cjs/icons-9e555ff7.js} +3 -1
  6. package/{www/build/index-291c96fb.js → dist/cjs/index-e3299e0a.js} +521 -1473
  7. package/dist/cjs/index-fa110f37.js +311 -0
  8. package/dist/cjs/index.cjs.js +295 -0
  9. package/dist/cjs/loader.cjs.js +21 -0
  10. package/dist/cjs/utils-600bad93.js +100 -0
  11. package/{www/build/utils-d783f6be.js → dist/cjs/utils-8bc9056f.js} +22 -38
  12. package/dist/cjs/web-components-library.cjs.js +19 -0
  13. package/dist/{web-components-library/z-alert.entry.js → cjs/z-alert.cjs.entry.js} +8 -4
  14. package/{www/build/z-anchor-navigation.entry.js → dist/cjs/z-anchor-navigation.cjs.entry.js} +9 -5
  15. package/dist/cjs/z-app-header_2.cjs.entry.js +153 -0
  16. package/dist/{web-components-library/z-app-switcher.entry.js → cjs/z-app-switcher.cjs.entry.js} +11 -7
  17. package/dist/cjs/z-aria-alert.cjs.entry.js +19 -0
  18. package/dist/{web-components-library/z-avatar.entry.js → cjs/z-avatar.cjs.entry.js} +14 -10
  19. package/dist/{web-components-library/z-typography.entry.js → cjs/z-body_2.cjs.entry.js} +21 -5
  20. package/dist/{web-components-library/z-button-sort.entry.js → cjs/z-button-sort.cjs.entry.js} +11 -7
  21. package/{www/build/z-button.entry.js → dist/cjs/z-button.cjs.entry.js} +14 -10
  22. package/dist/{web-components-library/z-card.entry.js → cjs/z-card.cjs.entry.js} +21 -17
  23. package/dist/{web-components-library/z-carousel.entry.js → cjs/z-carousel.cjs.entry.js} +15 -11
  24. package/{www/build/z-chip.entry.js → dist/cjs/z-chip.cjs.entry.js} +16 -12
  25. package/dist/{web-components-library/z-combobox.entry.js → cjs/z-combobox.cjs.entry.js} +27 -23
  26. package/{www/build/z-contextual-menu.entry.js → dist/cjs/z-contextual-menu.cjs.entry.js} +11 -7
  27. package/dist/{web-components-library/z-cover-hero.entry.js → cjs/z-cover-hero.cjs.entry.js} +16 -12
  28. package/dist/{web-components-library/z-date-picker.entry.js → cjs/z-date-picker.cjs.entry.js} +39 -41
  29. package/{www/build/z-divider.entry.js → dist/cjs/z-divider.cjs.entry.js} +11 -7
  30. package/dist/cjs/z-dragdrop-area_3.cjs.entry.js +76 -0
  31. package/{www/build/z-file-upload.entry.js → dist/cjs/z-file-upload.cjs.entry.js} +27 -23
  32. package/{www/build/z-file.entry.js → dist/cjs/z-file.cjs.entry.js} +13 -9
  33. package/{www/build/z-ghost-loading.entry.js → dist/cjs/z-ghost-loading.cjs.entry.js} +8 -4
  34. package/{www/build/z-info-box.entry.js → dist/cjs/z-info-box.cjs.entry.js} +9 -5
  35. package/dist/{web-components-library/z-info-reveal.entry.js → cjs/z-info-reveal.cjs.entry.js} +11 -7
  36. package/dist/cjs/z-input_2.cjs.entry.js +266 -0
  37. package/{www/build/z-link.entry.js → dist/cjs/z-link.cjs.entry.js} +12 -8
  38. package/dist/cjs/z-list_3.cjs.entry.js +261 -0
  39. package/dist/{web-components-library/z-logo.entry.js → cjs/z-logo.cjs.entry.js} +8 -4
  40. package/dist/{web-components-library/z-menu-section.entry.js → cjs/z-menu-section.cjs.entry.js} +11 -7
  41. package/dist/{web-components-library/z-menu.entry.js → cjs/z-menu.cjs.entry.js} +14 -10
  42. package/{www/build/z-messages-pocket.entry.js → dist/cjs/z-messages-pocket.cjs.entry.js} +17 -13
  43. package/dist/{web-components-library/z-myz-card-alert.entry.js → cjs/z-myz-card-alert.cjs.entry.js} +12 -8
  44. package/dist/{web-components-library/z-myz-card-dictionary.entry.js → cjs/z-myz-card-dictionary.cjs.entry.js} +10 -6
  45. package/{www/build/z-myz-card-footer-sections.entry.js → dist/cjs/z-myz-card-footer-sections.cjs.entry.js} +8 -4
  46. package/{www/build/z-myz-card-footer.entry.js → dist/cjs/z-myz-card-footer.cjs.entry.js} +12 -8
  47. package/{www/build/z-myz-card-icon.entry.js → dist/cjs/z-myz-card-icon.cjs.entry.js} +8 -4
  48. package/{www/build/z-myz-card-info.entry.js → dist/cjs/z-myz-card-info.cjs.entry.js} +23 -19
  49. package/{www/build/z-myz-card-list.entry.js → dist/cjs/z-myz-card-list.cjs.entry.js} +11 -7
  50. package/dist/cjs/z-myz-card_4.cjs.entry.js +108 -0
  51. package/{www/build/z-myz-list-item.entry.js → dist/cjs/z-myz-list-item.cjs.entry.js} +13 -9
  52. package/{www/build/z-myz-list.entry.js → dist/cjs/z-myz-list.cjs.entry.js} +9 -5
  53. package/{www/build/z-navigation-tab-link.entry.js → dist/cjs/z-navigation-tab-link.cjs.entry.js} +16 -12
  54. package/dist/{web-components-library/z-navigation-tab.entry.js → cjs/z-navigation-tab.cjs.entry.js} +16 -12
  55. package/dist/{web-components-library/z-navigation-tabs.entry.js → cjs/z-navigation-tabs.cjs.entry.js} +17 -13
  56. package/{www/build/z-notification.entry.js → dist/cjs/z-notification.cjs.entry.js} +10 -6
  57. package/{www/build/z-offcanvas.entry.js → dist/cjs/z-offcanvas.cjs.entry.js} +16 -12
  58. package/{www/build/z-otp.entry.js → dist/cjs/z-otp.cjs.entry.js} +11 -7
  59. package/{www/build/z-pagination.entry.js → dist/cjs/z-pagination.cjs.entry.js} +23 -19
  60. package/dist/cjs/z-panel-elem.cjs.entry.js +30 -0
  61. package/dist/{web-components-library/z-pocket-message.entry.js → cjs/z-pocket-message.cjs.entry.js} +8 -4
  62. package/dist/cjs/z-pocket_3.cjs.entry.js +125 -0
  63. package/dist/{web-components-library/z-popover.entry.js → cjs/z-popover.cjs.entry.js} +33 -29
  64. package/{www/build/z-range-picker.entry.js → dist/cjs/z-range-picker.cjs.entry.js} +32 -28
  65. package/dist/{web-components-library/z-searchbar.entry.js → cjs/z-searchbar.cjs.entry.js} +27 -23
  66. package/{www/build/z-section-title.entry.js → dist/cjs/z-section-title.cjs.entry.js} +11 -7
  67. package/{www/build/z-select.entry.js → dist/cjs/z-select.cjs.entry.js} +29 -25
  68. package/dist/{web-components-library/z-skip-to-content.entry.js → cjs/z-skip-to-content.cjs.entry.js} +14 -10
  69. package/{www/build/z-slideshow.entry.js → dist/cjs/z-slideshow.cjs.entry.js} +23 -19
  70. package/{www/build/z-stepper-item.entry.js → dist/cjs/z-stepper-item.cjs.entry.js} +9 -5
  71. package/dist/{web-components-library/z-stepper.entry.js → cjs/z-stepper.cjs.entry.js} +8 -4
  72. package/{www/build/z-table-body.entry.js → dist/cjs/z-table-body.cjs.entry.js} +9 -5
  73. package/{www/build/z-table-cell.entry.js → dist/cjs/z-table-cell.cjs.entry.js} +13 -9
  74. package/{www/build/z-table-empty-box.entry.js → dist/cjs/z-table-empty-box.cjs.entry.js} +10 -6
  75. package/dist/cjs/z-table-expanded-row.cjs.entry.js +19 -0
  76. package/{www/build/z-table-footer.entry.js → dist/cjs/z-table-footer.cjs.entry.js} +9 -5
  77. package/{www/build/z-table-head.entry.js → dist/cjs/z-table-head.cjs.entry.js} +9 -5
  78. package/dist/{web-components-library/z-table-header-row.entry.js → cjs/z-table-header-row.cjs.entry.js} +9 -5
  79. package/dist/{web-components-library/z-table-header.entry.js → cjs/z-table-header.cjs.entry.js} +26 -22
  80. package/dist/{web-components-library/z-table-row.entry.js → cjs/z-table-row.cjs.entry.js} +16 -12
  81. package/dist/{web-components-library/z-table-sticky-footer.entry.js → cjs/z-table-sticky-footer.cjs.entry.js} +8 -4
  82. package/dist/{web-components-library/z-table.entry.js → cjs/z-table.cjs.entry.js} +20 -16
  83. package/{www/build/z-tag.entry.js → dist/cjs/z-tag.cjs.entry.js} +9 -5
  84. package/dist/{web-components-library/z-toast-notification-list.entry.js → cjs/z-toast-notification-list.cjs.entry.js} +11 -7
  85. package/{www/build/z-toast-notification.entry.js → dist/cjs/z-toast-notification.cjs.entry.js} +34 -30
  86. package/dist/{web-components-library/z-toggle-button.entry.js → cjs/z-toggle-button.cjs.entry.js} +10 -6
  87. package/{www/build/z-toggle-switch.entry.js → dist/cjs/z-toggle-switch.cjs.entry.js} +16 -12
  88. package/{www/build/z-tooltip.entry.js → dist/cjs/z-tooltip.cjs.entry.js} +10 -6
  89. package/dist/{web-components-library/z-visually-hidden.entry.js → cjs/z-visually-hidden.cjs.entry.js} +8 -4
  90. package/{www/build/index-968a240f.js → dist/collection/beans/index.js} +47 -49
  91. package/dist/collection/collection-manifest.json +100 -0
  92. package/dist/collection/components/buttons/z-button/index.js +241 -0
  93. package/dist/collection/components/buttons/z-button/styles.css +149 -0
  94. package/dist/collection/components/buttons/z-button-sort/index.js +220 -0
  95. package/dist/collection/components/buttons/z-button-sort/styles.css +101 -0
  96. package/dist/collection/components/buttons/z-chip/index.js +133 -0
  97. package/dist/collection/components/buttons/z-chip/styles.css +131 -0
  98. package/dist/collection/components/buttons/z-toggle-button/index.js +126 -0
  99. package/dist/collection/components/buttons/z-toggle-button/styles.css +62 -0
  100. package/dist/collection/components/buttons/z-toggle-switch/index.js +144 -0
  101. package/dist/collection/components/buttons/z-toggle-switch/styles.css +104 -0
  102. package/dist/collection/components/date-picker/styles.css +565 -0
  103. package/dist/collection/components/date-picker/utils.js +76 -0
  104. package/dist/collection/components/date-picker/z-date-picker/index.js +295 -0
  105. package/dist/collection/components/date-picker/z-range-picker/index.js +499 -0
  106. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +53 -0
  107. package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +51 -0
  108. package/dist/collection/components/file-upload/z-file/index.js +131 -0
  109. package/dist/collection/components/file-upload/z-file/styles.css +23 -0
  110. package/dist/collection/components/file-upload/z-file-upload/index.js +363 -0
  111. package/dist/collection/components/file-upload/z-file-upload/styles.css +84 -0
  112. package/dist/collection/components/icons/icons.js +747 -0
  113. package/dist/collection/components/icons/z-icon/index.js +114 -0
  114. package/dist/collection/components/icons/z-icon/styles.css +14 -0
  115. package/dist/collection/components/index.js +8 -0
  116. package/dist/collection/components/indicators/z-stepper/index.js +21 -0
  117. package/dist/collection/components/indicators/z-stepper/styles.css +19 -0
  118. package/dist/collection/components/indicators/z-stepper-item/index.js +93 -0
  119. package/dist/collection/components/indicators/z-stepper-item/styles.css +114 -0
  120. package/dist/collection/components/inputs/z-combobox/index.js +545 -0
  121. package/dist/collection/components/inputs/z-combobox/styles.css +159 -0
  122. package/dist/collection/components/inputs/z-input/index.js +733 -0
  123. package/dist/collection/components/inputs/z-input/styles.css +327 -0
  124. package/dist/collection/components/inputs/z-input-message/index.js +89 -0
  125. package/dist/collection/components/inputs/z-input-message/styles.css +33 -0
  126. package/dist/collection/components/inputs/z-searchbar/index.js +516 -0
  127. package/dist/collection/components/inputs/z-searchbar/styles.css +211 -0
  128. package/dist/collection/components/inputs/z-select/index.js +633 -0
  129. package/dist/collection/components/inputs/z-select/styles.css +88 -0
  130. package/dist/collection/components/list/z-list/index.js +91 -0
  131. package/dist/collection/components/list/z-list/styles.css +6 -0
  132. package/dist/collection/components/list/z-list-element/index.js +508 -0
  133. package/dist/collection/components/list/z-list-element/styles.css +121 -0
  134. package/dist/collection/components/list/z-list-group/index.js +175 -0
  135. package/dist/collection/components/list/z-list-group/styles.css +21 -0
  136. package/dist/collection/components/list/z-toast-notification-list/index.js +105 -0
  137. package/dist/collection/components/list/z-toast-notification-list/styles.css +100 -0
  138. package/dist/collection/components/logo/z-logo/index.js +131 -0
  139. package/dist/collection/components/logo/z-logo/styles.css +29 -0
  140. package/dist/collection/components/modal/z-modal/index.js +156 -0
  141. package/dist/collection/components/modal/z-modal/styles.css +179 -0
  142. package/dist/collection/components/navigation/tabs/navigation-tab.css +136 -0
  143. package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +242 -0
  144. package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +264 -0
  145. package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +200 -0
  146. package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +104 -0
  147. package/dist/collection/components/navigation/z-app-header/index.js +306 -0
  148. package/dist/collection/components/navigation/z-app-header/styles.css +420 -0
  149. package/dist/collection/components/navigation/z-app-switcher/index.js +79 -0
  150. package/dist/collection/components/navigation/z-app-switcher/styles.css +23 -0
  151. package/dist/collection/components/navigation/z-link/index.js +317 -0
  152. package/dist/collection/components/navigation/z-link/styles.css +167 -0
  153. package/dist/collection/components/navigation/z-menu/index.js +225 -0
  154. package/dist/collection/components/navigation/z-menu/styles.css +146 -0
  155. package/dist/collection/components/navigation/z-menu-section/index.js +116 -0
  156. package/dist/collection/components/navigation/z-menu-section/styles.css +91 -0
  157. package/dist/collection/components/notification/z-info-box/index.js +85 -0
  158. package/dist/collection/components/notification/z-info-box/styles.css +23 -0
  159. package/dist/collection/components/notification/z-notification/index.js +195 -0
  160. package/dist/collection/components/notification/z-notification/styles.css +114 -0
  161. package/dist/collection/components/notification/z-toast-notification/index.js +399 -0
  162. package/dist/collection/components/notification/z-toast-notification/styles.css +254 -0
  163. package/dist/collection/components/notification/z-tooltip/index.js +133 -0
  164. package/dist/collection/components/notification/z-tooltip/styles.css +16 -0
  165. package/dist/collection/components/panel/z-panel-elem/index.js +193 -0
  166. package/dist/collection/components/panel/z-panel-elem/styles.css +39 -0
  167. package/dist/collection/components/typography/z-body/index.js +68 -0
  168. package/dist/collection/components/typography/z-heading/index.js +68 -0
  169. package/dist/collection/components/typography/z-typography/index.js +91 -0
  170. package/dist/collection/components/typography/z-typography/styles.css +65 -0
  171. package/dist/collection/components/z-anchor-navigation/index.js +95 -0
  172. package/dist/collection/components/z-anchor-navigation/styles.css +129 -0
  173. package/dist/collection/components/z-aria-alert/index.js +39 -0
  174. package/dist/collection/components/z-avatar/index.js +142 -0
  175. package/dist/collection/components/z-avatar/styles.css +32 -0
  176. package/dist/collection/components/z-card/index.js +177 -0
  177. package/dist/collection/components/z-card/styles.css +206 -0
  178. package/dist/collection/components/z-carousel/index.js +300 -0
  179. package/dist/collection/components/z-carousel/styles.css +129 -0
  180. package/dist/collection/components/z-contextual-menu/index.js +126 -0
  181. package/dist/collection/components/z-contextual-menu/styles.css +60 -0
  182. package/dist/collection/components/z-cover-hero/index.js +103 -0
  183. package/dist/collection/components/z-cover-hero/styles.css +78 -0
  184. package/dist/collection/components/z-divider/index.js +95 -0
  185. package/dist/collection/components/z-divider/styles.css +37 -0
  186. package/dist/collection/components/z-ghost-loading/index.js +18 -0
  187. package/dist/collection/components/z-ghost-loading/styles.css +34 -0
  188. package/dist/collection/components/z-info-reveal/index.js +147 -0
  189. package/dist/collection/components/z-info-reveal/styles.css +103 -0
  190. package/dist/collection/components/z-offcanvas/index.js +162 -0
  191. package/dist/collection/components/z-offcanvas/styles.css +191 -0
  192. package/dist/collection/components/z-pagination/index.js +435 -0
  193. package/dist/collection/components/z-pagination/styles.css +199 -0
  194. package/dist/collection/components/z-popover/index.js +512 -0
  195. package/dist/collection/components/z-popover/styles.css +147 -0
  196. package/dist/collection/components/z-section-title/index.js +88 -0
  197. package/dist/collection/components/z-section-title/styles.css +44 -0
  198. package/dist/collection/components/z-skip-to-content/index.js +139 -0
  199. package/dist/collection/components/z-skip-to-content/styles.css +80 -0
  200. package/dist/collection/components/z-table/z-table/index.js +352 -0
  201. package/dist/collection/components/z-table/z-table/styles.css +115 -0
  202. package/dist/collection/components/z-table/z-table-body/index.js +23 -0
  203. package/dist/collection/components/z-table/z-table-body/styles.css +9 -0
  204. package/dist/collection/components/z-table/z-table-cell/index.js +86 -0
  205. package/dist/collection/components/z-table/z-table-cell/styles.css +58 -0
  206. package/dist/collection/components/z-table/z-table-empty-box/index.js +72 -0
  207. package/dist/collection/components/z-table/z-table-empty-box/styles.css +38 -0
  208. package/dist/collection/components/z-table/z-table-expanded-row/index.js +39 -0
  209. package/dist/collection/components/z-table/z-table-expanded-row/styles.css +9 -0
  210. package/dist/collection/components/z-table/z-table-footer/index.js +22 -0
  211. package/dist/collection/components/z-table/z-table-footer/styles.css +5 -0
  212. package/dist/collection/components/z-table/z-table-head/index.js +22 -0
  213. package/dist/collection/components/z-table/z-table-head/styles.css +5 -0
  214. package/dist/collection/components/z-table/z-table-header/index.js +238 -0
  215. package/dist/collection/components/z-table/z-table-header/styles.css +71 -0
  216. package/dist/collection/components/z-table/z-table-header-row/index.js +41 -0
  217. package/dist/collection/components/z-table/z-table-header-row/styles.css +13 -0
  218. package/dist/collection/components/z-table/z-table-row/index.js +92 -0
  219. package/dist/collection/components/z-table/z-table-row/styles.css +45 -0
  220. package/dist/collection/components/z-table/z-table-sticky-footer/index.js +21 -0
  221. package/dist/collection/components/z-table/z-table-sticky-footer/styles.css +11 -0
  222. package/dist/collection/components/z-tag/index.js +65 -0
  223. package/dist/collection/components/z-tag/styles.css +46 -0
  224. package/dist/collection/components/z-visually-hidden/index.js +18 -0
  225. package/dist/collection/components/z-visually-hidden/styles.css +12 -0
  226. package/{www/build/breakpoints-c386984e.js → dist/collection/constants/breakpoints.js} +1 -2
  227. package/dist/collection/constants/icons.js +6 -0
  228. package/dist/collection/index.js +7 -0
  229. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +129 -0
  230. package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +44 -0
  231. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +151 -0
  232. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +62 -0
  233. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +22 -0
  234. package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +13 -0
  235. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +93 -0
  236. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +11 -0
  237. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +177 -0
  238. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +72 -0
  239. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +207 -0
  240. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +182 -0
  241. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +22 -0
  242. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +20 -0
  243. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +109 -0
  244. package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +47 -0
  245. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +81 -0
  246. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +69 -0
  247. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +199 -0
  248. package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +93 -0
  249. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +60 -0
  250. package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +41 -0
  251. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +78 -0
  252. package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +4 -0
  253. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +192 -0
  254. package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +47 -0
  255. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +120 -0
  256. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +102 -0
  257. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +191 -0
  258. package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +44 -0
  259. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +84 -0
  260. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +41 -0
  261. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +93 -0
  262. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +27 -0
  263. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +22 -0
  264. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +44 -0
  265. package/dist/collection/snowflakes/myz/z-alert/index.js +47 -0
  266. package/dist/collection/snowflakes/myz/z-alert/styles.css +28 -0
  267. package/dist/collection/snowflakes/myz/z-otp/index.js +120 -0
  268. package/dist/collection/snowflakes/myz/z-otp/styles.css +47 -0
  269. package/dist/collection/snowflakes/myz/z-slideshow/index.js +180 -0
  270. package/dist/collection/snowflakes/myz/z-slideshow/styles.css +127 -0
  271. package/dist/collection/utils/storybook-utils.js +51 -0
  272. package/{www/build/utils-b96780be.js → dist/collection/utils/utils.js} +13 -16
  273. package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
  274. package/dist/{web-components-library → esm}/breakpoints-c386984e.js +0 -0
  275. package/dist/{web-components-library/hammer-782a2043.js → esm/hammer-c3266b17.js} +2 -3
  276. package/dist/{web-components-library → esm}/icons-85e529a3.js +0 -0
  277. package/dist/{web-components-library → esm}/index-968a240f.js +0 -0
  278. package/dist/{web-components-library/index-291c96fb.js → esm/index-a2ca4b97.js} +492 -1472
  279. package/dist/esm/index.js +9 -0
  280. package/dist/esm/loader.js +17 -0
  281. package/dist/esm/polyfills/core-js.js +11 -0
  282. package/dist/esm/polyfills/css-shim.js +1 -0
  283. package/dist/esm/polyfills/dom.js +79 -0
  284. package/dist/esm/polyfills/es5-html-element.js +1 -0
  285. package/dist/esm/polyfills/index.js +34 -0
  286. package/dist/esm/polyfills/system.js +6 -0
  287. package/dist/{web-components-library/utils-d783f6be.js → esm/utils-151f0ab4.js} +4 -26
  288. package/dist/{web-components-library/utils-b96780be.js → esm/utils-6cf7efe2.js} +0 -18
  289. package/dist/esm/web-components-library.js +17 -0
  290. package/{www/build → dist/esm}/z-alert.entry.js +1 -1
  291. package/dist/{web-components-library → esm}/z-anchor-navigation.entry.js +1 -1
  292. package/dist/esm/z-app-header_2.entry.js +148 -0
  293. package/{www/build → dist/esm}/z-app-switcher.entry.js +1 -1
  294. package/{www/build → dist/esm}/z-aria-alert.entry.js +1 -1
  295. package/{www/build → dist/esm}/z-avatar.entry.js +1 -1
  296. package/{www/build/z-typography.entry.js → dist/esm/z-body_2.entry.js} +13 -2
  297. package/{www/build → dist/esm}/z-button-sort.entry.js +1 -1
  298. package/dist/{web-components-library → esm}/z-button.entry.js +1 -1
  299. package/{www/build → dist/esm}/z-card.entry.js +1 -1
  300. package/{www/build → dist/esm}/z-carousel.entry.js +1 -1
  301. package/dist/{web-components-library → esm}/z-chip.entry.js +2 -2
  302. package/{www/build → dist/esm}/z-combobox.entry.js +2 -2
  303. package/dist/{web-components-library → esm}/z-contextual-menu.entry.js +1 -1
  304. package/{www/build → dist/esm}/z-cover-hero.entry.js +1 -1
  305. package/{www/build → dist/esm}/z-date-picker.entry.js +6 -12
  306. package/dist/{web-components-library → esm}/z-divider.entry.js +1 -1
  307. package/{www/build/z-modal.entry.js → dist/esm/z-dragdrop-area_3.entry.js} +43 -2
  308. package/dist/{web-components-library → esm}/z-file-upload.entry.js +2 -2
  309. package/dist/{web-components-library → esm}/z-file.entry.js +2 -2
  310. package/dist/{web-components-library → esm}/z-ghost-loading.entry.js +1 -1
  311. package/dist/{web-components-library → esm}/z-info-box.entry.js +1 -1
  312. package/{www/build → dist/esm}/z-info-reveal.entry.js +1 -1
  313. package/dist/esm/z-input_2.entry.js +261 -0
  314. package/dist/{web-components-library → esm}/z-link.entry.js +1 -1
  315. package/dist/esm/z-list_3.entry.js +255 -0
  316. package/{www/build → dist/esm}/z-logo.entry.js +1 -1
  317. package/{www/build → dist/esm}/z-menu-section.entry.js +1 -1
  318. package/{www/build → dist/esm}/z-menu.entry.js +1 -1
  319. package/dist/{web-components-library → esm}/z-messages-pocket.entry.js +1 -1
  320. package/{www/build → dist/esm}/z-myz-card-alert.entry.js +1 -1
  321. package/{www/build → dist/esm}/z-myz-card-dictionary.entry.js +1 -1
  322. package/dist/{web-components-library → esm}/z-myz-card-footer-sections.entry.js +1 -1
  323. package/dist/{web-components-library → esm}/z-myz-card-footer.entry.js +1 -1
  324. package/dist/{web-components-library → esm}/z-myz-card-icon.entry.js +1 -1
  325. package/dist/{web-components-library → esm}/z-myz-card-info.entry.js +2 -2
  326. package/dist/{web-components-library → esm}/z-myz-card-list.entry.js +1 -1
  327. package/dist/esm/z-myz-card_4.entry.js +101 -0
  328. package/dist/{web-components-library → esm}/z-myz-list-item.entry.js +2 -2
  329. package/dist/{web-components-library → esm}/z-myz-list.entry.js +1 -1
  330. package/dist/{web-components-library → esm}/z-navigation-tab-link.entry.js +1 -1
  331. package/{www/build → dist/esm}/z-navigation-tab.entry.js +1 -1
  332. package/{www/build → dist/esm}/z-navigation-tabs.entry.js +1 -1
  333. package/dist/{web-components-library → esm}/z-notification.entry.js +1 -1
  334. package/dist/{web-components-library → esm}/z-offcanvas.entry.js +1 -1
  335. package/dist/{web-components-library → esm}/z-otp.entry.js +1 -1
  336. package/dist/{web-components-library → esm}/z-pagination.entry.js +1 -1
  337. package/dist/{web-components-library → esm}/z-panel-elem.entry.js +1 -1
  338. package/{www/build → dist/esm}/z-pocket-message.entry.js +1 -1
  339. package/dist/esm/z-pocket_3.entry.js +119 -0
  340. package/{www/build → dist/esm}/z-popover.entry.js +1 -1
  341. package/dist/{web-components-library → esm}/z-range-picker.entry.js +3 -3
  342. package/{www/build → dist/esm}/z-searchbar.entry.js +3 -3
  343. package/dist/{web-components-library → esm}/z-section-title.entry.js +1 -1
  344. package/dist/{web-components-library → esm}/z-select.entry.js +2 -2
  345. package/{www/build → dist/esm}/z-skip-to-content.entry.js +2 -2
  346. package/dist/{web-components-library → esm}/z-slideshow.entry.js +2 -2
  347. package/dist/{web-components-library → esm}/z-stepper-item.entry.js +1 -1
  348. package/{www/build → dist/esm}/z-stepper.entry.js +1 -1
  349. package/dist/{web-components-library → esm}/z-table-body.entry.js +1 -1
  350. package/dist/{web-components-library → esm}/z-table-cell.entry.js +1 -1
  351. package/dist/{web-components-library → esm}/z-table-empty-box.entry.js +1 -1
  352. package/{www/build → dist/esm}/z-table-expanded-row.entry.js +1 -1
  353. package/dist/{web-components-library → esm}/z-table-footer.entry.js +1 -1
  354. package/dist/{web-components-library → esm}/z-table-head.entry.js +1 -1
  355. package/{www/build → dist/esm}/z-table-header-row.entry.js +1 -1
  356. package/{www/build → dist/esm}/z-table-header.entry.js +2 -2
  357. package/{www/build → dist/esm}/z-table-row.entry.js +1 -1
  358. package/{www/build → dist/esm}/z-table-sticky-footer.entry.js +1 -1
  359. package/{www/build → dist/esm}/z-table.entry.js +2 -2
  360. package/dist/{web-components-library → esm}/z-tag.entry.js +1 -1
  361. package/{www/build → dist/esm}/z-toast-notification-list.entry.js +1 -1
  362. package/dist/{web-components-library → esm}/z-toast-notification.entry.js +3 -3
  363. package/{www/build → dist/esm}/z-toggle-button.entry.js +1 -1
  364. package/dist/{web-components-library → esm}/z-toggle-switch.entry.js +2 -2
  365. package/dist/{web-components-library → esm}/z-tooltip.entry.js +1 -1
  366. package/{www/build → dist/esm}/z-visually-hidden.entry.js +1 -1
  367. package/dist/index.cjs.js +1 -0
  368. package/dist/index.js +1 -0
  369. package/dist/types/components/inputs/z-input-message/index.d.ts +3 -0
  370. package/dist/web-components-library/index.esm.js +1 -9
  371. package/dist/web-components-library/p-009c9f67.entry.js +1 -0
  372. package/dist/web-components-library/p-01f001fd.entry.js +1 -0
  373. package/dist/web-components-library/p-05ced71c.entry.js +1 -0
  374. package/dist/web-components-library/p-074ea569.entry.js +1 -0
  375. package/dist/web-components-library/p-07e18572.entry.js +1 -0
  376. package/dist/web-components-library/p-0843b0e7.entry.js +1 -0
  377. package/dist/web-components-library/p-0fa4b50b.entry.js +1 -0
  378. package/dist/web-components-library/p-112455b1.js +1 -0
  379. package/dist/web-components-library/p-1d66b265.entry.js +1 -0
  380. package/dist/web-components-library/p-214b6cee.entry.js +1 -0
  381. package/dist/web-components-library/p-26033729.entry.js +1 -0
  382. package/dist/web-components-library/p-26f834e5.entry.js +1 -0
  383. package/dist/web-components-library/p-2acd6a51.entry.js +1 -0
  384. package/dist/web-components-library/p-2d1b6c3c.entry.js +1 -0
  385. package/dist/web-components-library/p-2efedcf4.entry.js +1 -0
  386. package/dist/web-components-library/p-32509af7.entry.js +1 -0
  387. package/dist/web-components-library/p-33352f9e.entry.js +1 -0
  388. package/dist/web-components-library/p-344e7ae7.entry.js +1 -0
  389. package/dist/web-components-library/p-34c26207.entry.js +1 -0
  390. package/dist/web-components-library/p-37e050bd.entry.js +1 -0
  391. package/dist/web-components-library/p-38a3cf3b.entry.js +1 -0
  392. package/dist/web-components-library/p-3a468aa9.entry.js +1 -0
  393. package/dist/web-components-library/p-3be171d0.entry.js +1 -0
  394. package/dist/web-components-library/p-3eb60c95.entry.js +1 -0
  395. package/dist/web-components-library/p-3f55dce6.entry.js +1 -0
  396. package/dist/web-components-library/p-4423b00c.entry.js +1 -0
  397. package/dist/web-components-library/p-475ca461.entry.js +1 -0
  398. package/dist/web-components-library/p-51e308ca.entry.js +1 -0
  399. package/dist/web-components-library/p-53065788.entry.js +1 -0
  400. package/dist/web-components-library/p-540c7d73.entry.js +1 -0
  401. package/dist/web-components-library/p-59cfee8d.entry.js +1 -0
  402. package/dist/web-components-library/p-5c62387a.entry.js +1 -0
  403. package/dist/web-components-library/p-5dd9a2c6.entry.js +1 -0
  404. package/dist/web-components-library/p-61424b8a.entry.js +1 -0
  405. package/dist/web-components-library/p-6289c4bd.entry.js +1 -0
  406. package/dist/web-components-library/p-6b1a5309.entry.js +1 -0
  407. package/dist/web-components-library/p-6bf7c966.entry.js +1 -0
  408. package/dist/web-components-library/p-6c163539.entry.js +1 -0
  409. package/dist/web-components-library/p-735bdfa3.entry.js +1 -0
  410. package/dist/web-components-library/p-73c91de3.entry.js +1 -0
  411. package/dist/web-components-library/p-7b3b99ee.entry.js +1 -0
  412. package/dist/web-components-library/p-7ea553e9.entry.js +1 -0
  413. package/dist/web-components-library/p-810bd730.entry.js +1 -0
  414. package/dist/web-components-library/p-8b15b30c.entry.js +1 -0
  415. package/dist/web-components-library/p-8c105bd1.entry.js +1 -0
  416. package/dist/web-components-library/p-8ebe4adf.js +1 -0
  417. package/dist/web-components-library/p-93142fac.entry.js +1 -0
  418. package/dist/web-components-library/p-95b8f109.entry.js +1 -0
  419. package/dist/web-components-library/p-9c28b8fc.entry.js +1 -0
  420. package/dist/web-components-library/p-9c338aeb.entry.js +1 -0
  421. package/dist/web-components-library/p-9d03a7d6.entry.js +1 -0
  422. package/dist/web-components-library/p-9d57a84c.entry.js +1 -0
  423. package/dist/web-components-library/p-9f543b6a.entry.js +1 -0
  424. package/dist/web-components-library/p-a05ce0a6.entry.js +1 -0
  425. package/dist/web-components-library/p-a0e2715e.entry.js +1 -0
  426. package/dist/web-components-library/p-a23e9115.js +1 -0
  427. package/dist/web-components-library/p-a6c0f149.entry.js +1 -0
  428. package/dist/web-components-library/p-a79d1412.entry.js +1 -0
  429. package/dist/web-components-library/p-a82ea410.entry.js +1 -0
  430. package/dist/web-components-library/p-ae6197f4.entry.js +1 -0
  431. package/dist/web-components-library/p-ae79573a.entry.js +1 -0
  432. package/dist/web-components-library/p-af4d1987.entry.js +1 -0
  433. package/dist/web-components-library/p-b3c29822.js +1 -0
  434. package/dist/web-components-library/p-b6f36170.entry.js +16 -0
  435. package/dist/web-components-library/p-bb0fe7bc.entry.js +1 -0
  436. package/dist/web-components-library/p-bdefe224.entry.js +1 -0
  437. package/dist/web-components-library/p-beba3e67.entry.js +1 -0
  438. package/dist/web-components-library/p-c4417a91.entry.js +1 -0
  439. package/dist/web-components-library/p-ce83ce18.entry.js +1 -0
  440. package/dist/web-components-library/p-d17ebc2f.js +2 -0
  441. package/dist/web-components-library/p-d2127d84.entry.js +1 -0
  442. package/dist/web-components-library/p-d69e14fb.js +1 -0
  443. package/dist/web-components-library/p-d9a6a204.entry.js +1 -0
  444. package/dist/web-components-library/p-de0b8df8.entry.js +1 -0
  445. package/dist/web-components-library/p-de55c171.entry.js +1 -0
  446. package/dist/web-components-library/p-e40b16fa.entry.js +1 -0
  447. package/dist/web-components-library/p-e43e61ac.js +7 -0
  448. package/dist/web-components-library/p-e45cf758.entry.js +1 -0
  449. package/dist/web-components-library/p-eaa4eba8.entry.js +1 -0
  450. package/dist/web-components-library/p-ede9fbf5.entry.js +1 -0
  451. package/dist/web-components-library/p-f0653e72.entry.js +1 -0
  452. package/dist/web-components-library/p-f158d205.entry.js +1 -0
  453. package/dist/web-components-library/p-f425f188.js +1 -0
  454. package/dist/web-components-library/p-f54f63e1.entry.js +1 -0
  455. package/dist/web-components-library/p-f95cc914.entry.js +1 -0
  456. package/dist/web-components-library/web-components-library.css +1 -1636
  457. package/dist/web-components-library/web-components-library.esm.js +1 -129
  458. package/package.json +1 -1
  459. package/react/components.d.ts +1 -22
  460. package/react/components.js +3 -25
  461. package/react/components.js.map +1 -1
  462. package/www/build/index.esm.js +1 -9
  463. package/www/build/p-009c9f67.entry.js +1 -0
  464. package/www/build/p-01f001fd.entry.js +1 -0
  465. package/www/build/p-05ced71c.entry.js +1 -0
  466. package/www/build/p-074ea569.entry.js +1 -0
  467. package/www/build/p-07e18572.entry.js +1 -0
  468. package/www/build/p-0843b0e7.entry.js +1 -0
  469. package/www/build/p-0fa4b50b.entry.js +1 -0
  470. package/www/build/p-112455b1.js +1 -0
  471. package/www/build/p-1d66b265.entry.js +1 -0
  472. package/www/build/p-214b6cee.entry.js +1 -0
  473. package/www/build/p-26033729.entry.js +1 -0
  474. package/www/build/p-26f834e5.entry.js +1 -0
  475. package/www/build/p-2acd6a51.entry.js +1 -0
  476. package/www/build/p-2d1b6c3c.entry.js +1 -0
  477. package/www/build/p-2efedcf4.entry.js +1 -0
  478. package/www/build/p-32509af7.entry.js +1 -0
  479. package/www/build/p-32511690.css +1636 -0
  480. package/www/build/p-33352f9e.entry.js +1 -0
  481. package/www/build/p-344e7ae7.entry.js +1 -0
  482. package/www/build/p-34c26207.entry.js +1 -0
  483. package/www/build/p-37e050bd.entry.js +1 -0
  484. package/www/build/p-38a3cf3b.entry.js +1 -0
  485. package/www/build/p-3a468aa9.entry.js +1 -0
  486. package/www/build/p-3be171d0.entry.js +1 -0
  487. package/www/build/p-3eb60c95.entry.js +1 -0
  488. package/www/build/p-3f55dce6.entry.js +1 -0
  489. package/www/build/p-4423b00c.entry.js +1 -0
  490. package/www/build/p-475ca461.entry.js +1 -0
  491. package/www/build/p-51e308ca.entry.js +1 -0
  492. package/www/build/p-53065788.entry.js +1 -0
  493. package/www/build/p-540c7d73.entry.js +1 -0
  494. package/www/build/p-59cfee8d.entry.js +1 -0
  495. package/www/build/p-5c62387a.entry.js +1 -0
  496. package/www/build/p-5dd9a2c6.entry.js +1 -0
  497. package/www/build/p-61424b8a.entry.js +1 -0
  498. package/www/build/p-6289c4bd.entry.js +1 -0
  499. package/www/build/p-6b1a5309.entry.js +1 -0
  500. package/www/build/p-6bf7c966.entry.js +1 -0
  501. package/www/build/p-6c163539.entry.js +1 -0
  502. package/www/build/p-735bdfa3.entry.js +1 -0
  503. package/www/build/p-73c91de3.entry.js +1 -0
  504. package/www/build/p-7b3b99ee.entry.js +1 -0
  505. package/www/build/p-7ea553e9.entry.js +1 -0
  506. package/www/build/p-810bd730.entry.js +1 -0
  507. package/www/build/p-8b15b30c.entry.js +1 -0
  508. package/www/build/p-8c105bd1.entry.js +1 -0
  509. package/www/build/p-8ebe4adf.js +1 -0
  510. package/www/build/p-93142fac.entry.js +1 -0
  511. package/www/build/p-95b8f109.entry.js +1 -0
  512. package/www/build/p-9c28b8fc.entry.js +1 -0
  513. package/www/build/p-9c338aeb.entry.js +1 -0
  514. package/www/build/p-9d03a7d6.entry.js +1 -0
  515. package/www/build/p-9d57a84c.entry.js +1 -0
  516. package/www/build/p-9f543b6a.entry.js +1 -0
  517. package/www/build/p-a05ce0a6.entry.js +1 -0
  518. package/www/build/p-a0e2715e.entry.js +1 -0
  519. package/www/build/p-a23e9115.js +1 -0
  520. package/www/build/p-a5066bae.js +129 -0
  521. package/www/build/p-a6c0f149.entry.js +1 -0
  522. package/www/build/p-a79d1412.entry.js +1 -0
  523. package/www/build/p-a82ea410.entry.js +1 -0
  524. package/www/build/p-ae6197f4.entry.js +1 -0
  525. package/www/build/p-ae79573a.entry.js +1 -0
  526. package/www/build/p-af4d1987.entry.js +1 -0
  527. package/www/build/p-b3c29822.js +1 -0
  528. package/www/build/p-b6f36170.entry.js +16 -0
  529. package/www/build/p-bb0fe7bc.entry.js +1 -0
  530. package/www/build/p-bdefe224.entry.js +1 -0
  531. package/www/build/p-beba3e67.entry.js +1 -0
  532. package/www/build/p-c4417a91.entry.js +1 -0
  533. package/www/build/p-ce83ce18.entry.js +1 -0
  534. package/www/build/p-d17ebc2f.js +2 -0
  535. package/www/build/p-d2127d84.entry.js +1 -0
  536. package/www/build/p-d69e14fb.js +1 -0
  537. package/www/build/p-d9a6a204.entry.js +1 -0
  538. package/www/build/p-de0b8df8.entry.js +1 -0
  539. package/www/build/p-de55c171.entry.js +1 -0
  540. package/www/build/p-e40b16fa.entry.js +1 -0
  541. package/www/build/p-e43e61ac.js +7 -0
  542. package/www/build/p-e45cf758.entry.js +1 -0
  543. package/www/build/p-eaa4eba8.entry.js +1 -0
  544. package/www/build/p-ede9fbf5.entry.js +1 -0
  545. package/www/build/p-f0653e72.entry.js +1 -0
  546. package/www/build/p-f158d205.entry.js +1 -0
  547. package/www/build/p-f425f188.js +1 -0
  548. package/www/build/p-f54f63e1.entry.js +1 -0
  549. package/www/build/p-f95cc914.entry.js +1 -0
  550. package/www/build/web-components-library.css +1 -1636
  551. package/www/build/web-components-library.esm.js +1 -129
  552. package/www/index.html +1 -10
  553. package/dist/web-components-library/_commonjsHelpers-8fe71198.js +0 -44
  554. package/dist/web-components-library/app-globals-0f993ce5.js +0 -3
  555. package/dist/web-components-library/css-shim-b3f2ee8d.js +0 -4
  556. package/dist/web-components-library/dom-665d6011.js +0 -73
  557. package/dist/web-components-library/shadow-css-b18e99d7.js +0 -387
  558. package/dist/web-components-library/z-app-header.entry.js +0 -129
  559. package/dist/web-components-library/z-aria-alert.entry.js +0 -15
  560. package/dist/web-components-library/z-body.entry.js +0 -14
  561. package/dist/web-components-library/z-dragdrop-area.entry.js +0 -33
  562. package/dist/web-components-library/z-heading.entry.js +0 -14
  563. package/dist/web-components-library/z-icon.entry.js +0 -22
  564. package/dist/web-components-library/z-input-message.entry.js +0 -20
  565. package/dist/web-components-library/z-input.entry.js +0 -231
  566. package/dist/web-components-library/z-list-element.entry.js +0 -173
  567. package/dist/web-components-library/z-list-group.entry.js +0 -56
  568. package/dist/web-components-library/z-list.entry.js +0 -36
  569. package/dist/web-components-library/z-modal.entry.js +0 -29
  570. package/dist/web-components-library/z-myz-card-body.entry.js +0 -15
  571. package/dist/web-components-library/z-myz-card-cover.entry.js +0 -18
  572. package/dist/web-components-library/z-myz-card-header.entry.js +0 -36
  573. package/dist/web-components-library/z-myz-card.entry.js +0 -42
  574. package/dist/web-components-library/z-pocket-body.entry.js +0 -23
  575. package/dist/web-components-library/z-pocket-header.entry.js +0 -36
  576. package/dist/web-components-library/z-pocket.entry.js +0 -68
  577. package/dist/web-components-library/z-table-expanded-row.entry.js +0 -15
  578. package/www/build/_commonjsHelpers-8fe71198.js +0 -44
  579. package/www/build/app-globals-0f993ce5.js +0 -3
  580. package/www/build/css-shim-b3f2ee8d.js +0 -4
  581. package/www/build/dom-665d6011.js +0 -73
  582. package/www/build/shadow-css-b18e99d7.js +0 -387
  583. package/www/build/z-app-header.entry.js +0 -129
  584. package/www/build/z-body.entry.js +0 -14
  585. package/www/build/z-dragdrop-area.entry.js +0 -33
  586. package/www/build/z-heading.entry.js +0 -14
  587. package/www/build/z-icon.entry.js +0 -22
  588. package/www/build/z-input-message.entry.js +0 -20
  589. package/www/build/z-input.entry.js +0 -231
  590. package/www/build/z-list-element.entry.js +0 -173
  591. package/www/build/z-list-group.entry.js +0 -56
  592. package/www/build/z-list.entry.js +0 -36
  593. package/www/build/z-myz-card-body.entry.js +0 -15
  594. package/www/build/z-myz-card-cover.entry.js +0 -18
  595. package/www/build/z-myz-card-header.entry.js +0 -36
  596. package/www/build/z-myz-card.entry.js +0 -42
  597. package/www/build/z-panel-elem.entry.js +0 -26
  598. package/www/build/z-pocket-body.entry.js +0 -23
  599. package/www/build/z-pocket-header.entry.js +0 -36
  600. package/www/build/z-pocket.entry.js +0 -68
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as a,H as r,g as i}from"./p-d17ebc2f.js";import{I as n}from"./p-f425f188.js";const o="undefined"!=typeof IntersectionObserver,s=class{constructor(a){e(this,a),this.sticking=t(this,"sticking",7),this.stuck=!1,this.overlay=!1,this.flow="auto",this.drawerOpen=!1,this._stuck=!1,this.observer=o&&new IntersectionObserver((([e])=>{this._stuck=!e.isIntersecting}),{threshold:.5}),this.openDrawer=this.openDrawer.bind(this),this.closeDrawer=this.closeDrawer.bind(this),this.collectMenuElements.bind(this)}emitStickingEvent(){this.sticking.emit(this._stuck)}componentDidLoad(){this.collectMenuElements(),this.onStuckMode()}get title(){const e=this.hostElement.querySelector('[slot="title"]');return null===e?"":e.textContent.trim()}get scrollParent(){const e=this.hostElement.offsetParent;return e===document.body||e===document.documentElement?window:e}collectMenuElements(){const e=this.menuElements=this.hostElement.querySelectorAll('[slot="menu"]');this.menuLength=e.length,this.setMenuFloatingMode()}onStuckMode(){this.stuck?this.enableStuckObserver():this.disableStuckMode()}enableStuckObserver(){this.observer&&this.observer.observe(this.container)}disableStuckMode(){this._stuck=!1,this.observer&&this.observer.unobserve(this.container)}onStuck(){this.scrollParent&&this.emitStickingEvent()}setMenuFloatingMode(){if(0===this.menuElements.length)return;const e=this.menuElements;for(let t=0,a=e.length;t<a;t++)e[t].open=!1,e[t].floating=!this.drawerOpen}render(){return a(r,{"menu-length":this.menuLength},a("div",{class:"heading-panel",ref:e=>this.container=e},a("div",{class:"hero-container"},a("slot",{name:"hero"},this.hero&&a("img",{alt:"",src:this.hero}))),a("div",{class:"heading-container"},a("div",{class:"heading-title"},this.menuLength>0&&a("button",{class:"drawer-trigger","aria-label":"Apri menu",onClick:this.openDrawer},a("z-icon",{name:"burger-menu"})),a("slot",{name:"title"})),a("div",{class:"heading-subtitle"},a("slot",{name:"subtitle"}))),a("div",{class:"menu-container"},!this.drawerOpen&&"offcanvas"!==this.flow&&a("slot",{name:"menu",onSlotchange:()=>this.collectMenuElements()}))),a("div",{class:"drawer-container"},a("div",{class:"drawer-overlay",onClick:this.closeDrawer}),a("div",{class:"drawer-panel"},a("button",{class:"drawer-close","aria-label":"Chiudi menu",onClick:this.closeDrawer},a("z-icon",{name:"close"})),a("div",{class:"drawer-content"},this.drawerOpen&&a("slot",{name:"menu",onSlotchange:()=>this.collectMenuElements()})))),this._stuck&&a("div",{class:"heading-stuck"},a("div",{class:"heading-stuck-content"},this.menuLength>0&&a("button",{class:"drawer-trigger","aria-label":"Apri menu",onClick:this.openDrawer},a("z-icon",{name:"burger-menu"})),a("div",{class:"heading-title"},a("slot",{name:"stucked-title"},this.title)))))}openDrawer(){this.drawerOpen=!0}closeDrawer(){this.drawerOpen=!1}get hostElement(){return i(this)}static get watchers(){return{stuck:["onStuckMode"],_stuck:["onStuck"],drawerOpen:["setMenuFloatingMode"]}}};s.style=':host{--app-header-content-max-width:100%;--app-header-height:auto;--app-header-typography-1-size:24px;--app-header-typography-2-size:28px;--app-header-typography-3-size:32px;--app-header-typography-4-size:36px;--app-header-typography-5-size:42px;--app-header-typography-6-size:48px;--app-header-typography-7-size:54px;--app-header-typography-8-size:60px;--app-header-typography-9-size:68px;--app-header-typography-10-size:76px;--app-header-typography-11-size:84px;--app-header-typography-12-size:92px;--app-header-typography-1-lineheight:1.33;--app-header-typography-2-lineheight:1.29;--app-header-typography-3-lineheight:1.25;--app-header-typography-4-lineheight:1.24;--app-header-typography-5-lineheight:1.24;--app-header-typography-6-lineheight:1.25;--app-header-typography-7-lineheight:1.2;--app-header-typography-8-lineheight:1.26;--app-header-typography-9-lineheight:1.24;--app-header-typography-10-lineheight:1.26;--app-header-typography-11-lineheight:1.2;--app-header-typography-12-lineheight:1.2;--app-header-typography-1-tracking:calc(-0.2 / 1em);--app-header-typography-2-tracking:calc(-0.4 / 1em);--app-header-typography-3-tracking:calc(-0.6 / 1em);--app-header-typography-4-tracking:calc(-0.8 / 1em);--app-header-typography-5-tracking:calc(-1 / 1em);--app-header-typography-6-tracking:calc(-1.2 / 1em);--app-header-typography-7-tracking:calc(-1.4 / 1em);--app-header-typography-8-tracking:calc(-1.6 / 1em);--app-header-typography-9-tracking:calc(-1.8 / 1em);--app-header-typography-10-tracking:calc(-2 / 1em);--app-header-typography-11-tracking:calc(-2.2 / 1em);--app-header-typography-12-tracking:calc(-2.4 / 1em);--app-header-top-offset:48px;--app-header-drawer-trigger-size:calc(var(--space-unit) * 4);--app-header-bg:var(--color-white);--app-header-stucked-bg:var(--color-white);--app-header-text-color:var(--gray800);--app-header-stucked-text-color:var(--gray800);display:block;color:var(--app-header-text-color)}:host,*{box-sizing:border-box}.heading-panel{position:relative;display:flex;width:100%;max-width:var(--app-header-content-max-width);height:var(--app-header-height);flex-direction:column;flex-grow:0;flex-shrink:0;align-items:baseline;justify-content:flex-start;padding:var(--grid-margin);margin:0 auto;background:var(--app-header-bg)}:host(:empty) .heading-panel{padding:0}.heading-title{display:flex;max-width:100%;flex-direction:row;align-items:center}:host(:not([menu-length="0"])) .heading-subtitle{padding-left:calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 1.5))}.heading-stuck{position:fixed;z-index:20;top:var(--app-header-top-offset);left:0;width:100%;max-width:100%;animation:slide-stuck-heading-in 250ms ease-out;background:var(--app-header-stucked-bg);box-shadow:var(--shadow-2);color:var(--app-header-stucked-text-color)}.heading-stuck-content{display:flex;max-width:var(--app-header-content-max-width);padding:var(--space-unit) var(--grid-margin);margin:0 auto}.heading-stuck .heading-title,.heading-stuck .heading-title>*,.heading-stuck .heading-title ::slotted([slot="stucked-title"]){display:block;overflow:hidden;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.heading-stuck .heading-title>*,::slotted([slot="title"]),::slotted([slot="stucked-title"]){margin:0;font-family:"IBM Plex Serif", serif;font-size:var(--app-header-typography-3-size);font-weight:700;letter-spacing:var(--app-header-typography-3-tracking)}::slotted([slot="title"]){line-height:1}::slotted([slot="subtitle"]){margin:var(--space-unit) 0 0;font-family:var(--font-family-sans);font-size:20px;font-style:italic;font-weight:500;line-height:1.2}.heading-container{position:relative;z-index:1;display:flex;max-width:100%;flex-direction:column;align-items:flex-start;justify-content:flex-start;margin-right:auto}.menu-container{display:none;flex-flow:row wrap;align-items:baseline}.menu-container ::slotted([open]){position:relative;z-index:3}.menu-container ::slotted(*:not(:last-of-type)){margin-right:calc(var(--space-unit) * 4.5)}.drawer-trigger{padding:0;border:0;margin:0 calc(var(--space-unit) * 1.5) 0 0;appearance:none;background:none;border-radius:0;color:inherit;cursor:pointer}.drawer-trigger z-icon{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);fill:currentcolor}.drawer-container{position:fixed;z-index:100;top:var(--app-header-top-offset);left:0;width:100%;height:100%;pointer-events:none}.drawer-container .drawer-overlay{position:absolute;z-index:1;top:0;left:0;display:block;width:100%;height:100%;background:var(--gray900);opacity:0;pointer-events:none;transition:opacity 400ms ease-out}.drawer-panel{position:absolute;z-index:2;top:0;left:0;display:flex;width:375px;max-width:100%;height:100%;flex-direction:column;align-items:flex-start;padding:calc(var(--space-unit) * 2) var(--space-unit);background:var(--color-white);color:var(--gray800);pointer-events:none;transform:translate3d(-100%, 0, 0);transition:transform 400ms ease-out}.drawer-content{display:flex;overflow:auto;width:100%;flex:1 auto;flex-direction:column;padding:calc(var(--space-unit) * 0.5) var(--space-unit)}.drawer-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)}.drawer-content::-webkit-scrollbar-track{background-color:transparent}.drawer-content::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.drawer-content::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.drawer-content ::slotted(z-menu){width:100%}.drawer-content ::slotted(z-menu:not(:last-of-type)){margin-bottom:calc(var(--space-unit) * 2.5)}.drawer-close{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);padding:0;border:0;margin:0 0 calc(var(--space-unit) * 2.5) var(--space-unit);appearance:none;background:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-size:inherit;outline:none}.drawer-close:focus-visible{box-shadow:var(--shadow-focus-primary)}:host([drawer-open]) .drawer-container .drawer-overlay{opacity:0.7;pointer-events:all}:host([drawer-open]) .drawer-container .drawer-panel{pointer-events:all;transform:none}.hero-container{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%}:host([overlay]) .heading-panel .drawer-trigger z-icon,:host([overlay]) .heading-panel .heading-container,:host([overlay]) .heading-panel .menu-container{color:var(--color-white);fill:var(--color-white)}:host([overlay]) .heading-panel .menu-container ::slotted(z-menu:not([open])){--color-surface05:var(--color-white)}:host([overlay]) .hero-container::after{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%;background:var(--color-black);content:"";opacity:0.5}.hero-container img,.hero-container ::slotted(*){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center;-webkit-user-drag:none}@media (min-width: 768px){:host(:not([flow="offcanvas"])) .heading-subtitle{padding-left:0}:host(:not([flow="offcanvas"])) .menu-container{display:flex}:host(:not([flow="offcanvas"])) .heading-container .drawer-trigger{display:none}:host(:not([flow="offcanvas"],[menu-length="0"])) .heading-container:not(:last-child){margin-bottom:calc(var(--space-unit) * 3)}::slotted([slot="title"]){font-size:var(--app-header-typography-6-size);letter-spacing:var(--app-header-typography-6-tracking)}::slotted([slot="subtitle"]){margin-top:calc(var(--space-unit) * 1.5)}}@media (min-width: 1152px){:host(:not([flow="stack"])) .heading-panel{flex-flow:row wrap}::slotted([slot="title"]){margin-right:var(--grid-gutter);font-size:var(--app-header-typography-7-size);letter-spacing:var(--app-header-typography-7-tracking)}:host(:not([flow="offcanvas"],[menu-length="0"])) .heading-container:not(:last-child){margin-bottom:calc(var(--space-unit) * 2)}.menu-container{margin-top:var(--space-unit)}}@media (min-width: 1366px){::slotted([slot="title"]){font-size:var(--app-header-typography-9-size);letter-spacing:var(--app-header-typography-9-tracking)}:host(:not([flow="offcanvas"],[menu-length="0"])) .heading-container:not(:last-child){margin-bottom:0}}@keyframes slide-stuck-heading-in{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}';const h=class{constructor(t){e(this,t)}selectPathOrPolygon(e){return(null==e?void 0:e.startsWith("M"))?a("path",{d:n[this.name]}):a("polygon",{points:n[this.name]})}render(){return a(r,{"aria-hidden":"true"},a("svg",{viewBox:"0 0 1000 1000",width:this.width,height:this.height,id:this.iconid,fill:this.fill?`var(--${this.fill})`:""},this.selectPathOrPolygon(n[this.name])))}};h.style=":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)}";export{s as z_app_header,h as z_icon}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as e,g as r,H as s}from"./p-d17ebc2f.js";import{j as n,I as a}from"./p-a23e9115.js";import{r as o,b as c}from"./p-8ebe4adf.js";import"./p-d69e14fb.js";const p=class{constructor(e){t(this,e),this.inputChange=i(this,"inputChange",7),this.startTyping=i(this,"startTyping",7),this.stopTyping=i(this,"stopTyping",7),this.inputCheck=i(this,"inputCheck",7),this.htmlid=`id-${o()}`,this.ariaLabel="",this.disabled=!1,this.readonly=!1,this.required=!1,this.checked=!1,this.message=!0,this.labelPosition=n.RIGHT,this.hasclearicon=!0,this.isTyping=!1,this.passwordHidden=!0,this.typingtimeout=300}inputCheckListener(t){const i=t.detail;switch(this.type){case a.RADIO:i.type===a.RADIO&&i.name===this.name&&i.id!==this.htmlid&&(this.checked=!1)}}async isChecked(){switch(this.type){case a.CHECKBOX:case a.RADIO:return this.checked;default:return console.warn("`isChecked` method is only available for type `checkbox` and `radio`"),!1}}emitInputChange(t){let i;this.isTyping||this.emitStartTyping(),i=this.getValidity(this.type===a.TEXTAREA?"textarea":"input"),this.value=t,this.inputChange.emit({value:t,validity:i}),clearTimeout(this.timer),this.timer=setTimeout((()=>{this.emitStopTyping(this.value,i)}),this.typingtimeout)}emitStartTyping(){this.isTyping=!0,this.startTyping.emit()}emitStopTyping(t,i){this.isTyping=!1,this.stopTyping.emit({value:t,validity:i})}emitInputCheck(t){this.inputCheck.emit({id:this.htmlid,checked:t,type:this.type,name:this.name,value:this.value,validity:this.getValidity("input")})}getValidity(t){return this.hostElement.querySelector(t).validity}getTextAttributes(){return{id:this.htmlid,name:this.name,placeholder:this.placeholder,value:this.value,disabled:this.disabled,readonly:this.readonly,required:this.required,title:this.htmltitle,class:{[`input-${this.status}`]:!!this.status,filled:!!this.value},autocomplete:this.autocomplete,onInput:t=>this.emitInputChange(t.target.value)}}getNumberAttributes(t){if(t==a.NUMBER)return{min:this.min,max:this.max,step:this.step}}getPatternAttribute(t){if(t==a.PASSWORD||t==a.TEXT||t==a.TEL||t==a.SEARCH||t==a.URL||t==a.EMAIL)return{pattern:this.pattern}}renderInputText(t=a.TEXT){const i=this.ariaLabel?{"aria-label":this.ariaLabel}:{},r=Object.assign(Object.assign(Object.assign(Object.assign({},this.getTextAttributes()),this.getNumberAttributes(t)),this.getPatternAttribute(t)),i);return(this.icon||t===a.PASSWORD)&&Object.assign(r.class,{"has-icon":!0}),this.hasclearicon&&t!=a.NUMBER&&Object.assign(r.class,{"has-clear-icon":!0}),e("div",{class:"text-wrapper"},this.renderLabel(),e("div",null,e("input",Object.assign({type:t!==a.PASSWORD||this.passwordHidden?t:a.TEXT},r)),this.renderIcons()),this.renderMessage())}renderLabel(){if(this.label)return e("label",{class:"input-label body-5-sb",id:`${this.htmlid}_label`,htmlFor:this.htmlid},this.label)}renderIcons(){return e("span",{class:"icons-wrapper"},this.renderResetIcon(),this.renderIcon())}renderIcon(){return this.type===a.PASSWORD?this.renderShowHidePassword():this.icon?e("button",{type:"button",class:"icon-button input-icon",tabIndex:-1},e("z-icon",{name:this.icon})):void 0}renderResetIcon(){if(this.hasclearicon&&this.value&&!this.disabled&&!this.readonly&&this.type!=a.NUMBER)return e("button",{type:"button",class:"icon-button reset-icon","aria-label":"cancella il contenuto dell'input",onClick:()=>this.emitInputChange("")},e("z-icon",{name:"multiply"}))}renderShowHidePassword(){return e("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},e("z-icon",{name:this.passwordHidden?"view-filled":"view-off-filled"}))}renderMessage(){if(!1!==c(this.message))return e("z-input-message",{message:!0===c(this.message)?void 0:this.message,status:this.status})}renderTextarea(){const t=this.getTextAttributes(),i=this.ariaLabel?{"aria-label":this.ariaLabel}:{};return e("div",{class:"text-wrapper"},this.renderLabel(),e("div",{class:Object.assign(Object.assign({},t.class),{"textarea-wrapper":!0,readonly:t.readonly})},e("textarea",Object.assign({},t,i))),this.renderMessage())}handleCheck(t){this.checked=t.target.checked,this.emitInputCheck(this.checked)}renderCheckbox(){return e("div",{class:"checkbox-wrapper"},e("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}),e("label",{htmlFor:this.htmlid,class:{"checkbox-label":!0,after:this.labelPosition===n.RIGHT,before:this.labelPosition===n.LEFT}},e("z-icon",{name:this.checked?"checkbox-checked":"checkbox","aria-hidden":"true"}),this.label&&e("span",{innerHTML:this.label})))}renderRadio(){return e("div",{class:"radio-wrapper"},e("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}),e("label",{htmlFor:this.htmlid,class:{"radio-label":!0,after:this.labelPosition===n.RIGHT,before:this.labelPosition===n.LEFT}},e("z-icon",{name:this.checked?"radio-button-checked":"radio-button","aria-hidden":"true"}),this.label&&e("span",{innerHTML:this.label})))}render(){switch(this.type){case a.TEXTAREA:return this.renderTextarea();case a.CHECKBOX:return this.renderCheckbox();case a.RADIO:return this.renderRadio();default:return this.renderInputText(this.type)}}get hostElement(){return r(this)}};p.style='.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}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)}.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}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)}.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)}';const l=class{constructor(i){t(this,i),this.statusIcons={success:"checkmark-circle",error:"multiply-circled",warning:"exclamation-circle"},this.statusRole={}}onMessageChange(){this.statusRole=this.message&&this.status?{role:"alert"}:{}}componentWillLoad(){this.onMessageChange()}render(){return e(s,Object.assign({},this.statusRole,{"aria-label":this.message}),this.statusIcons[this.status]&&this.message&&e("z-icon",{name:this.statusIcons[this.status]}),e("span",{innerHTML:this.message}))}static get watchers(){return{message:["onMessageChange"],status:["onMessageChange"]}}};l.style=':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)}';export{p as z_input,l as z_input_message}
@@ -0,0 +1 @@
1
+ import{r as a,c as r,h as o,H as e}from"./p-d17ebc2f.js";const t=class{constructor(o){a(this,o),this.fileDropped=r(this,"fileDropped",7)}fileDroppedHandler(a){this.fileDropped.emit(a)}renderOnDragOverMessage(){return o("div",{class:"dragover-container"},o("div",{class:"dragover-message"},o("z-body",{variant:"semibold",level:2},"Rilascia i file in questa area per allegarli.")))}render(){return o("div",{tabIndex:0,ref:a=>this.dragDropContainer=a,class:"dragdrop",onDragOver:a=>{a.preventDefault(),this.dragDropContainer.classList.add("dragover")},onDragLeave:()=>{this.dragDropContainer.classList.remove("dragover")},onDrop:a=>{a.preventDefault(),a.dataTransfer.files.length&&(this.dragDropContainer.classList.remove("dragover"),this.fileDroppedHandler(a.dataTransfer.files))}},this.renderOnDragOverMessage(),o("slot",null))}};t.style=":host{margin-top:calc(var(--space-unit) * 3);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.dragdrop{position:relative;display:flex;height:228px;flex-direction:column;border-color:var(--color-surface04);background-color:var(--color-surface02);background-image:url(\"data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='2' ry='2' stroke='%23CACCCEFF' stroke-width='2' stroke-dasharray='15%2c 10%2c 14%2c 11' stroke-dashoffset='3' stroke-linecap='square'/%3e%3c/svg%3e\");border-radius:2px;color:var(--color-text01)}:host>.dragdrop.dragover *{pointer-events:none}:host>.dragdrop .dragover-container{position:absolute;z-index:10;top:0;left:0;display:none;width:100%;height:100%;background-color:var(--color-primary03);box-shadow:var(--shadow-focus-primary)}:host>.dragdrop .dragover-container .dragover-message{padding:10px 28px;background-color:var(--color-link-primary);color:var(--color-text04)}:host>.dragdrop.dragover .dragover-container{display:flex;align-items:center;justify-content:center}";const i=class{constructor(r){a(this,r),this.variant="regular"}render(){return o("z-typography",{tabIndex:0,component:this.component||`h${this.level}`,level:`h${this.level}`,variant:this.variant},o("slot",null))}},n=class{constructor(o){a(this,o),this.modalClose=r(this,"modalClose",7),this.modalHeaderActive=r(this,"modalHeaderActive",7),this.modalBackgroundClick=r(this,"modalBackgroundClick",7),this.closeButtonLabel="close modal"}emitModalClose(){this.modalClose.emit({modalid:this.modalid})}emitModalHeaderActive(){this.modalHeaderActive.emit({modalid:this.modalid})}emitBackgroundClick(){this.modalBackgroundClick.emit({modalid:this.modalid})}render(){return o(e,null,o("div",{class:"modal-container",id:this.modalid,role:"dialog"},o("header",{onClick:this.emitModalHeaderActive.bind(this)},o("div",null,this.modaltitle&&o("h1",null,this.modaltitle),this.modalsubtitle&&o("h2",null,this.modalsubtitle)),o("slot",{name:"modalCloseButton"},o("button",{"aria-label":this.closeButtonLabel,onClick:this.emitModalClose.bind(this)},o("z-icon",{name:"multiply-circle-filled"})))),o("div",{class:"modal-content"},o("slot",{name:"modalContent"}))),o("div",{class:"modal-background","data-action":"modalBackground","data-modal":this.modalid,onClick:this.emitBackgroundClick.bind(this)}))}};n.style=":host{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;display:flex;width:100%;height:100%;flex-direction:row;justify-content:center;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{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}}";export{t as z_dragdrop_area,i as z_heading,n as z_modal}
@@ -0,0 +1 @@
1
+ import{r as t,h as i}from"./p-d17ebc2f.js";const a=class{constructor(i){t(this,i)}componentWillLoad(){this.inputrawdata&&this.parseinputrawdata(this.inputrawdata)}parseinputrawdata(t){this.list=[...JSON.parse(t)]}oninputrawdataChange(t){this.parseinputrawdata(t)}render(){const t=this.list?this.list.length-1:-1;return i("ul",null,this.list&&this.list.map(((a,n)=>i("z-myz-list-item",{listitemid:a.listitemid,text:a.text,link:a.link,linktarget:a.linktarget,icon:a.icon,underlined:t!=n}))))}static get watchers(){return{inputrawdata:["oninputrawdataChange"]}}};a.style="ul{padding:0;margin:0}";export{a as z_myz_list}
@@ -0,0 +1,7 @@
1
+ import{c as t}from"./p-112455b1.js";var i=t((function(t){
2
+ /*! Hammer.JS - v2.0.7 - 2016-04-22
3
+ * http://hammerjs.github.io/
4
+ *
5
+ * Copyright (c) 2016 Jorik Tangelder;
6
+ * Licensed under the MIT license */
7
+ !function(i,n,r,s){var e,h=["","webkit","Moz","MS","ms","o"],o=n.createElement("div"),u=Math.round,c=Math.abs,f=Date.now;function a(t,i,n){return setTimeout(E(t,n),i)}function v(t,i,n){return!!Array.isArray(t)&&(l(t,n[i],n),!0)}function l(t,i,n){var r;if(t)if(t.forEach)t.forEach(i,n);else if(t.length!==s)for(r=0;r<t.length;)i.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&i.call(n,t[r],r,t)}function p(t,n,r){var s="DEPRECATED METHOD: "+n+"\n"+r+" AT \n";return function(){var n=new Error("get-stack-trace"),r=n&&n.stack?n.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",e=i.console&&(i.console.warn||i.console.log);return e&&e.call(i.console,s,r),t.apply(this,arguments)}}e="function"!=typeof Object.assign?function(t){if(t===s||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(r!==s&&null!==r)for(var e in r)r.hasOwnProperty(e)&&(i[e]=r[e])}return i}:Object.assign;var d=p((function(t,i,n){for(var r=Object.keys(i),e=0;e<r.length;)(!n||n&&t[r[e]]===s)&&(t[r[e]]=i[r[e]]),e++;return t}),"extend","Use `assign`."),T=p((function(t,i){return d(t,i,!0)}),"merge","Use `assign`.");function m(t,i,n){var r,s=i.prototype;(r=t.prototype=Object.create(s)).constructor=t,r._super=s,n&&e(r,n)}function E(t,i){return function(){return t.apply(i,arguments)}}function g(t,i){return"function"==typeof t?t.apply(i&&i[0]||s,i):t}function I(t,i){return t===s?i:t}function A(t,i,n){l(N(i),(function(i){t.addEventListener(i,n,!1)}))}function y(t,i,n){l(N(i),(function(i){t.removeEventListener(i,n,!1)}))}function D(t,i){for(;t;){if(t==i)return!0;t=t.parentNode}return!1}function M(t,i){return t.indexOf(i)>-1}function N(t){return t.trim().split(/\s+/g)}function R(t,i,n){if(t.indexOf&&!n)return t.indexOf(i);for(var r=0;r<t.length;){if(n&&t[r][n]==i||!n&&t[r]===i)return r;r++}return-1}function w(t){return Array.prototype.slice.call(t,0)}function O(t,i,n){for(var r=[],s=[],e=0;e<t.length;){var h=i?t[e][i]:t[e];R(s,h)<0&&r.push(t[e]),s[e]=h,e++}return n&&(r=i?r.sort((function(t,n){return t[i]>n[i]})):r.sort()),r}function S(t,i){for(var n,r,e=i[0].toUpperCase()+i.slice(1),o=0;o<h.length;){if((r=(n=h[o])?n+e:i)in t)return r;o++}return s}var C=1;function P(t){var n=t.ownerDocument||t;return n.defaultView||n.parentWindow||i}var _="ontouchstart"in i,b=S(i,"PointerEvent")!==s,x=_&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),z="touch",L="mouse",U=["x","y"],j=["clientX","clientY"];function F(t,i){var n=this;this.manager=t,this.callback=i,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(i){g(t.options.enable,[t])&&n.handler(i)},this.init()}function W(t,i,n){var r=n.pointers.length,e=n.changedPointers.length,h=1&i&&r-e==0,o=12&i&&r-e==0;n.isFirst=!!h,n.isFinal=!!o,h&&(t.session={}),n.eventType=i,function(t,i){var n=t.session,r=i.pointers,e=r.length;n.firstInput||(n.firstInput=k(i)),e>1&&!n.firstMultiple?n.firstMultiple=k(i):1===e&&(n.firstMultiple=!1);var h=n.firstInput,o=n.firstMultiple,u=o?o.center:h.center,a=i.center=q(r);i.timeStamp=f(),i.deltaTime=i.timeStamp-h.timeStamp,i.angle=Y(u,a),i.distance=X(u,a),function(t,i){var n=i.center,r=t.offsetDelta||{},s=t.prevDelta||{},e=t.prevInput||{};1!==i.eventType&&4!==e.eventType||(s=t.prevDelta={x:e.deltaX||0,y:e.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y}),i.deltaX=s.x+(n.x-r.x),i.deltaY=s.y+(n.y-r.y)}(n,i),i.offsetDirection=G(i.deltaX,i.deltaY);var v,l,p=H(i.deltaTime,i.deltaX,i.deltaY);i.overallVelocityX=p.x,i.overallVelocityY=p.y,i.overallVelocity=c(p.x)>c(p.y)?p.x:p.y,i.scale=o?(v=o.pointers,X((l=r)[0],l[1],j)/X(v[0],v[1],j)):1,i.rotation=o?function(t,i){return Y(i[1],i[0],j)+Y(t[1],t[0],j)}(o.pointers,r):0,i.maxPointers=n.prevInput?i.pointers.length>n.prevInput.maxPointers?i.pointers.length:n.prevInput.maxPointers:i.pointers.length,function(t,i){var n,r,e,h,o=t.lastInterval||i,u=i.timeStamp-o.timeStamp;if(8!=i.eventType&&(u>25||o.velocity===s)){var f=i.deltaX-o.deltaX,a=i.deltaY-o.deltaY,v=H(u,f,a);r=v.x,e=v.y,n=c(v.x)>c(v.y)?v.x:v.y,h=G(f,a),t.lastInterval=i}else n=o.velocity,r=o.velocityX,e=o.velocityY,h=o.direction;i.velocity=n,i.velocityX=r,i.velocityY=e,i.direction=h}(n,i);var d=t.element;D(i.srcEvent.target,d)&&(d=i.srcEvent.target),i.target=d}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function k(t){for(var i=[],n=0;n<t.pointers.length;)i[n]={clientX:u(t.pointers[n].clientX),clientY:u(t.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:i,center:q(i),deltaX:t.deltaX,deltaY:t.deltaY}}function q(t){var i=t.length;if(1===i)return{x:u(t[0].clientX),y:u(t[0].clientY)};for(var n=0,r=0,s=0;s<i;)n+=t[s].clientX,r+=t[s].clientY,s++;return{x:u(n/i),y:u(r/i)}}function H(t,i,n){return{x:i/t||0,y:n/t||0}}function G(t,i){return t===i?1:c(t)>=c(i)?t<0?2:4:i<0?8:16}function X(t,i,n){n||(n=U);var r=i[n[0]]-t[n[0]],s=i[n[1]]-t[n[1]];return Math.sqrt(r*r+s*s)}function Y(t,i,n){return n||(n=U),180*Math.atan2(i[n[1]]-t[n[1]],i[n[0]]-t[n[0]])/Math.PI}F.prototype={handler:function(){},init:function(){this.evEl&&A(this.element,this.evEl,this.domHandler),this.evTarget&&A(this.target,this.evTarget,this.domHandler),this.evWin&&A(P(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&y(this.element,this.evEl,this.domHandler),this.evTarget&&y(this.target,this.evTarget,this.domHandler),this.evWin&&y(P(this.element),this.evWin,this.domHandler)}};var Z={mousedown:1,mousemove:2,mouseup:4},B="mousedown",V="mousemove mouseup";function $(){this.evEl=B,this.evWin=V,this.pressed=!1,F.apply(this,arguments)}m($,F,{handler:function(t){var i=Z[t.type];1&i&&0===t.button&&(this.pressed=!0),2&i&&1!==t.which&&(i=4),this.pressed&&(4&i&&(this.pressed=!1),this.callback(this.manager,i,{pointers:[t],changedPointers:[t],pointerType:L,srcEvent:t}))}});var J={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},K={2:z,3:"pen",4:L,5:"kinect"},Q="pointerdown",tt="pointermove pointerup pointercancel";function it(){this.evEl=Q,this.evWin=tt,F.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}i.MSPointerEvent&&!i.PointerEvent&&(Q="MSPointerDown",tt="MSPointerMove MSPointerUp MSPointerCancel"),m(it,F,{handler:function(t){var i=this.store,n=!1,r=t.type.toLowerCase().replace("ms",""),s=J[r],e=K[t.pointerType]||t.pointerType,h=e==z,o=R(i,t.pointerId,"pointerId");1&s&&(0===t.button||h)?o<0&&(i.push(t),o=i.length-1):12&s&&(n=!0),o<0||(i[o]=t,this.callback(this.manager,s,{pointers:i,changedPointers:[t],pointerType:e,srcEvent:t}),n&&i.splice(o,1))}});var nt={touchstart:1,touchmove:2,touchend:4,touchcancel:8},rt="touchstart",st="touchstart touchmove touchend touchcancel";function et(){this.evTarget=rt,this.evWin=st,this.started=!1,F.apply(this,arguments)}function ht(t,i){var n=w(t.touches),r=w(t.changedTouches);return 12&i&&(n=O(n.concat(r),"identifier",!0)),[n,r]}m(et,F,{handler:function(t){var i=nt[t.type];if(1===i&&(this.started=!0),this.started){var n=ht.call(this,t,i);12&i&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,i,{pointers:n[0],changedPointers:n[1],pointerType:z,srcEvent:t})}}});var ot={touchstart:1,touchmove:2,touchend:4,touchcancel:8},ut="touchstart touchmove touchend touchcancel";function ct(){this.evTarget=ut,this.targetIds={},F.apply(this,arguments)}function ft(t,i){var n=w(t.touches),r=this.targetIds;if(3&i&&1===n.length)return r[n[0].identifier]=!0,[n,n];var s,e,h=w(t.changedTouches),o=[],u=this.target;if(e=n.filter((function(t){return D(t.target,u)})),1===i)for(s=0;s<e.length;)r[e[s].identifier]=!0,s++;for(s=0;s<h.length;)r[h[s].identifier]&&o.push(h[s]),12&i&&delete r[h[s].identifier],s++;return o.length?[O(e.concat(o),"identifier",!0),o]:void 0}function at(){F.apply(this,arguments);var t=E(this.handler,this);this.touch=new ct(this.manager,t),this.mouse=new $(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function vt(t,i){1&t?(this.primaryTouch=i.changedPointers[0].identifier,lt.call(this,i)):12&t&&lt.call(this,i)}function lt(t){var i=t.changedPointers[0];if(i.identifier===this.primaryTouch){var n={x:i.clientX,y:i.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout((function(){var t=r.indexOf(n);t>-1&&r.splice(t,1)}),2500)}}function pt(t){for(var i=t.srcEvent.clientX,n=t.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var s=this.lastTouches[r],e=Math.abs(i-s.x),h=Math.abs(n-s.y);if(e<=25&&h<=25)return!0}return!1}m(ct,F,{handler:function(t){var i=ot[t.type],n=ft.call(this,t,i);n&&this.callback(this.manager,i,{pointers:n[0],changedPointers:n[1],pointerType:z,srcEvent:t})}}),m(at,F,{handler:function(t,i,n){var r=n.pointerType==L;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(n.pointerType==z)vt.call(this,i,n);else if(r&&pt.call(this,n))return;this.callback(t,i,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var dt=S(o.style,"touchAction"),Tt=dt!==s,mt="compute",Et="auto",gt="manipulation",It="none",At="pan-x",yt="pan-y",Dt=function(){if(!Tt)return!1;var t={},n=i.CSS&&i.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(r){t[r]=!n||i.CSS.supports("touch-action",r)})),t}();function Mt(t,i){this.manager=t,this.set(i)}Mt.prototype={set:function(t){t==mt&&(t=this.compute()),Tt&&this.manager.element.style&&Dt[t]&&(this.manager.element.style[dt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return l(this.manager.recognizers,(function(i){g(i.options.enable,[i])&&(t=t.concat(i.getTouchAction()))})),function(t){if(M(t,It))return It;var i=M(t,At),n=M(t,yt);return i&&n?It:i||n?i?At:yt:M(t,gt)?gt:Et}(t.join(" "))},preventDefaults:function(t){var i=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)i.preventDefault();else{var r=this.actions,s=M(r,It)&&!Dt.none,e=M(r,yt)&&!Dt["pan-y"],h=M(r,At)&&!Dt["pan-x"];if(s&&1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return;if(!h||!e)return s||e&&6&n||h&&24&n?this.preventSrc(i):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Nt=32;function Rt(t){this.options=e({},this.defaults,t||{}),this.id=C++,this.manager=null,this.options.enable=I(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function wt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function Ot(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function St(t,i){var n=i.manager;return n?n.get(t):t}function Ct(){Rt.apply(this,arguments)}function Pt(){Ct.apply(this,arguments),this.pX=null,this.pY=null}function _t(){Ct.apply(this,arguments)}function bt(){Rt.apply(this,arguments),this._timer=null,this._input=null}function xt(){Ct.apply(this,arguments)}function zt(){Ct.apply(this,arguments)}function Lt(){Rt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Ut(t,i){return(i=i||{}).recognizers=I(i.recognizers,Ut.defaults.preset),new jt(t,i)}function jt(t,i){this.options=e({},Ut.defaults,i||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new(this.options.inputClass||(b?it:x?ct:_?at:$))(this,W),this.touchAction=new Mt(this,this.options.touchAction),Ft(this,!0),l(this.options.recognizers,(function(t){var i=this.add(new t[0](t[1]));t[2]&&i.recognizeWith(t[2]),t[3]&&i.requireFailure(t[3])}),this)}function Ft(t,i){var n,r=t.element;r.style&&(l(t.options.cssProps,(function(s,e){n=S(r.style,e),i?(t.oldCssProps[n]=r.style[n],r.style[n]=s):r.style[n]=t.oldCssProps[n]||""})),i||(t.oldCssProps={}))}Rt.prototype={defaults:{},set:function(t){return e(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(v(t,"recognizeWith",this))return this;var i=this.simultaneous;return i[(t=St(t,this)).id]||(i[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return v(t,"dropRecognizeWith",this)||(t=St(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(v(t,"requireFailure",this))return this;var i=this.requireFail;return-1===R(i,t=St(t,this))&&(i.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(v(t,"dropRequireFailure",this))return this;t=St(t,this);var i=R(this.requireFail,t);return i>-1&&this.requireFail.splice(i,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var i=this,n=this.state;function r(n){i.manager.emit(n,t)}n<8&&r(i.options.event+wt(n)),r(i.options.event),t.additionalEvent&&r(t.additionalEvent),n>=8&&r(i.options.event+wt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=Nt},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var i=e({},t);if(!g(this.options.enable,[this,i]))return this.reset(),void(this.state=Nt);56&this.state&&(this.state=1),this.state=this.process(i),30&this.state&&this.tryEmit(i)},process:function(){},getTouchAction:function(){},reset:function(){}},m(Ct,Rt,{defaults:{pointers:1},attrTest:function(t){var i=this.options.pointers;return 0===i||t.pointers.length===i},process:function(t){var i=this.state,n=t.eventType,r=6&i,s=this.attrTest(t);return r&&(8&n||!s)?16|i:r||s?4&n?8|i:2&i?4|i:2:Nt}}),m(Pt,Ct,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,i=[];return 6&t&&i.push(yt),24&t&&i.push(At),i},directionTest:function(t){var i=this.options,n=!0,r=t.distance,s=t.direction,e=t.deltaX,h=t.deltaY;return s&i.direction||(6&i.direction?(s=0===e?1:e<0?2:4,n=e!=this.pX,r=Math.abs(t.deltaX)):(s=0===h?1:h<0?8:16,n=h!=this.pY,r=Math.abs(t.deltaY))),t.direction=s,n&&r>i.threshold&&s&i.direction},attrTest:function(t){return Ct.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var i=Ot(t.direction);i&&(t.additionalEvent=this.options.event+i),this._super.emit.call(this,t)}}),m(_t,Ct,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[It]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),m(bt,Rt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Et]},process:function(t){var i=this.options,n=t.pointers.length===i.pointers,r=t.distance<i.threshold,s=t.deltaTime>i.time;if(this._input=t,!r||!n||12&t.eventType&&!s)this.reset();else if(1&t.eventType)this.reset(),this._timer=a((function(){this.state=8,this.tryEmit()}),i.time,this);else if(4&t.eventType)return 8;return Nt},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),m(xt,Ct,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[It]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),m(zt,Ct,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Pt.prototype.getTouchAction.call(this)},attrTest:function(t){var i,n=this.options.direction;return 30&n?i=t.overallVelocity:6&n?i=t.overallVelocityX:24&n&&(i=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&c(i)>this.options.velocity&&4&t.eventType},emit:function(t){var i=Ot(t.offsetDirection);i&&this.manager.emit(this.options.event+i,t),this.manager.emit(this.options.event,t)}}),m(Lt,Rt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[gt]},process:function(t){var i=this.options,n=t.pointers.length===i.pointers,r=t.distance<i.threshold,s=t.deltaTime<i.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(r&&s&&n){if(4!=t.eventType)return this.failTimeout();var e=!this.pTime||t.timeStamp-this.pTime<i.interval,h=!this.pCenter||X(this.pCenter,t.center)<i.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,h&&e?this.count+=1:this.count=1,this._input=t,0==this.count%i.taps)return this.hasRequireFailures()?(this._timer=a((function(){this.state=8,this.tryEmit()}),i.interval,this),2):8}return Nt},failTimeout:function(){return this._timer=a((function(){this.state=Nt}),this.options.interval,this),Nt},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Ut.VERSION="2.0.7",Ut.defaults={domEvents:!1,touchAction:mt,enable:!0,inputTarget:null,inputClass:null,preset:[[xt,{enable:!1}],[_t,{enable:!1},["rotate"]],[zt,{direction:6}],[Pt,{direction:6},["swipe"]],[Lt],[Lt,{event:"doubletap",taps:2},["tap"]],[bt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},jt.prototype={set:function(t){return e(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var i=this.session;if(!i.stopped){var n;this.touchAction.preventDefaults(t);var r=this.recognizers,s=i.curRecognizer;(!s||s&&8&s.state)&&(s=i.curRecognizer=null);for(var e=0;e<r.length;)n=r[e],2===i.stopped||s&&n!=s&&!n.canRecognizeWith(s)?n.reset():n.recognize(t),!s&&14&n.state&&(s=i.curRecognizer=n),e++}},get:function(t){if(t instanceof Rt)return t;for(var i=this.recognizers,n=0;n<i.length;n++)if(i[n].options.event==t)return i[n];return null},add:function(t){if(v(t,"add",this))return this;var i=this.get(t.options.event);return i&&this.remove(i),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(v(t,"remove",this))return this;if(t=this.get(t)){var i=this.recognizers,n=R(i,t);-1!==n&&(i.splice(n,1),this.touchAction.update())}return this},on:function(t,i){if(t!==s&&i!==s){var n=this.handlers;return l(N(t),(function(t){n[t]=n[t]||[],n[t].push(i)})),this}},off:function(t,i){if(t!==s){var n=this.handlers;return l(N(t),(function(t){i?n[t]&&n[t].splice(R(n[t],i),1):delete n[t]})),this}},emit:function(t,i){this.options.domEvents&&function(t,i){var r=n.createEvent("Event");r.initEvent(t,!0,!0),r.gesture=i,i.target.dispatchEvent(r)}(t,i);var r=this.handlers[t]&&this.handlers[t].slice();if(r&&r.length){i.type=t,i.preventDefault=function(){i.srcEvent.preventDefault()};for(var s=0;s<r.length;)r[s](i),s++}},destroy:function(){this.element&&Ft(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},e(Ut,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:Nt,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:jt,Input:F,TouchAction:Mt,TouchInput:ct,MouseInput:$,PointerEventInput:it,TouchMouseInput:at,SingleTouchInput:et,Recognizer:Rt,AttrRecognizer:Ct,Tap:Lt,Pan:Pt,Swipe:zt,Pinch:_t,Rotate:xt,Press:bt,on:A,off:y,each:l,merge:T,extend:d,assign:e,inherit:m,bindFn:E,prefixed:S}),(void 0!==i?i:"undefined"!=typeof self?self:{}).Hammer=Ut,t.exports?t.exports=Ut:i.Hammer=Ut}(window,document)}));export{i as h}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as e}from"./p-d17ebc2f.js";import{I as s,K as r,k as o}from"./p-a23e9115.js";import{h as a}from"./p-8ebe4adf.js";import"./p-d69e14fb.js";const h=class{constructor(e){t(this,e),this.comboboxChange=i(this,"comboboxChange",7),this.disabled=!1,this.hassearch=!1,this.noresultslabel="Nessun risultato",this.isopen=!1,this.isfixed=!1,this.closesearchtext="Chiudi",this.hascheckall=!1,this.checkalltext="Seleziona tutti",this.uncheckalltext="Deseleziona tutti",this.maxcheckableitems=0,this.renderItemsList=[],this.itemsList=[],this.inputType=s.TEXT,this.toggleComboBox=this.toggleComboBox.bind(this),this.closeFilterItems=this.closeFilterItems.bind(this)}watchItems(){this.itemsList="string"==typeof this.items?JSON.parse(this.items):this.items,this.selectedCounter=this.itemsList.filter((t=>t.checked)).length,this.updateRenderItemsList()}watchSearchValue(){this.filterItems(this.searchValue)}inputCheckListener(t){const i=t.detail.id.replace(`combo-checkbox-${this.inputid}-`,"");if("check-all"===i&&(!this.maxcheckableitems||this.maxcheckableitems>=this.itemsList.length))return this.checkAll(t.detail.checked);this.itemsList=this.itemsList.map((e=>(e.id===i&&(e.checked=t.detail.checked),e))),this.updateRenderItemsList(),this.emitComboboxChange()}emitComboboxChange(){this.comboboxChange.emit({id:this.inputid,items:this.itemsList})}componentWillLoad(){this.watchItems()}componentWillRender(){this.selectedCounter=this.itemsList.filter((t=>t.checked)).length}updateRenderItemsList(){this.searchValue?this.filterItems(this.searchValue):this.resetRenderItemsList()}resetRenderItemsList(){const t=[];this.itemsList.forEach((i=>{t.push(Object.assign({},i))})),this.renderItemsList=t}filterItems(t){if(!t)return this.closeFilterItems();this.resetRenderItemsList(),this.renderItemsList=this.renderItemsList.filter((i=>{const e=i.name.toUpperCase().indexOf(t.toUpperCase()),s=e+t.length,r=i.name.substring(0,e)+i.name.substring(e,s).bold()+i.name.substring(s,i.name.length);return i.name=r,e>=0}))}checkAll(t=!0){this.itemsList=this.itemsList.map((i=>Object.assign(Object.assign({},i),{checked:t}))),this.resetRenderItemsList(),this.emitComboboxChange()}closeFilterItems(){this.searchValue="",this.resetRenderItemsList()}toggleComboBox(){this.isopen=!this.isopen}renderHeader(){return e("div",{class:"header",onClick:()=>this.toggleComboBox(),onKeyDown:t=>{t.keyCode===r.SPACE&&t.preventDefault()},onKeyUp:t=>a(t,this.toggleComboBox),role:"button",tabindex:0},e("z-body",{level:3,component:"p"},this.label,e("span",null,this.selectedCounter>0&&` (${this.selectedCounter})`)),e("z-icon",{name:"caret-down",width:18,height:18}))}renderContent(){if(this.isopen)return e("div",{class:"open-combo-data"},this.hassearch&&this.renderSearchInput(),this.hascheckall&&this.renderCheckAll(),this.renderItems())}renderItems(){if(this.isopen)return e("div",{class:this.searchValue&&"search",tabindex:-1},this.renderList(this.renderItemsList),this.searchValue&&this.renderCloseButton())}renderItem(t,i,r){return e("z-myz-list-item",{id:t.id,listitemid:t.id,action:`combo-li-${this.inputid}`,underlined:i!==r-1},e("z-input",{type:s.CHECKBOX,checked:t.checked,htmlid:`combo-checkbox-${this.inputid}-${t.id}`,label:t.name,disabled:!t.checked&&this.maxcheckableitems&&this.maxcheckableitems===this.selectedCounter}))}renderList(t){if(t)return!t.length&&this.searchValue?this.renderNoSearchResults():this.hasgroupitems?this.renderGroups(this.itemsList):e("ul",null,t.map(((i,e)=>this.renderItem(i,e,t.length))))}renderGroups(t){const i=t.reduce(((i,e,s)=>{var r;const{category:o}=e,a=this.renderItem(e,s,t.length);return i[o]=null!==(r=i[o])&&void 0!==r?r:[],i[o].push(a),i}),{}),s=Object.entries(i).map((([t,i])=>e("z-list-group",{"divider-type":o.ELEMENT},e("z-body",{class:"z-list-group-title",level:3,slot:"header-title",variant:"semibold"},t),i.map((t=>t)))));return e("ul",null,s)}renderNoSearchResults(){return e("ul",null,e("z-myz-list-item",{id:"no-results",text:this.noresultslabel,listitemid:"no-results",icon:"multiply-circle"}))}renderCloseButton(){return e("div",null,e("a",{onClick:()=>this.closeFilterItems(),onKeyUp:t=>a(t,this.closeFilterItems),role:"button",tabindex:0},this.closesearchtext))}renderSearchInput(){if(this.isopen)return e("z-input",{htmlid:`${this.inputid}_search`,label:this.searchlabel,placeholder:this.searchplaceholder,htmltitle:this.searchtitle,type:this.inputType,value:this.searchValue,message:!1,onInputChange:t=>{if(27===t.detail.keycode)return this.closeFilterItems();this.searchValue=t.detail.value}})}renderCheckAll(){if(this.searchValue)return;const t=this.selectedCounter===this.itemsList.length;return e("div",{class:"check-all-wrapper"},e("z-input",{type:s.CHECKBOX,checked:t,htmlid:`combo-checkbox-${this.inputid}-check-all`,label:t?this.uncheckalltext:this.checkalltext,disabled:this.maxcheckableitems&&this.maxcheckableitems<this.itemsList.length}))}render(){return e("div",{"data-action":`combo-${this.inputid}`,class:{open:this.isopen,fixed:this.isfixed,disabled:this.disabled},id:this.inputid},this.renderHeader(),!this.disabled&&this.renderContent())}static get watchers(){return{items:["watchItems"],searchValue:["watchSearchValue"]}}};h.style=":host{display:block}:host>div.fixed{position:relative}:host>div>.header{position:relative;z-index:10;display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--bg-grey-700);margin:0;background-color:var(--bg-white);border-radius:var(--border-radius-small);cursor:pointer}:host>div>.header:focus:focus-visible{border:var(--border-size-small) solid var(--blue500);box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>z-body{padding:var(--space-unit) 0;margin:0;color:var(--text-grey-800)}:host>div>.header>z-body>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div.open>.header{border:var(--border-size-small) solid var(--blue500);border-radius:var(border-radius-small) var(border-radius-small) 0 0}:host>div.disabled{pointer-events:none}:host>div.disabled .header{border-color:var(--color-disabled01);fill:var(--color-disabled01)}:host>div.disabled .header>z-body{color:var(--text-grey-700)}:host>div.disabled .header>z-icon:last-child{fill:var(--color-disabled01)}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.open-combo-data{position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--gray200);border-top:0;background-color:var(--bg-white);border-radius:0}:host>div.open>div.open-combo-data>div{overflow:auto;max-height:235px;padding:0;scrollbar-color:var(--myz-blue) var(--gray200);scrollbar-width:thin}:host>div.open>div.open-combo-data>z-input{width:100%;margin-bottom:calc(var(--space-unit) * 2)}:host>div.open>div.open-combo-data>div>ul{max-height:235px;padding:0 3px;margin:0}::-webkit-scrollbar{width:10px;background:linear-gradient(90deg, var(--bg-white) 2px, var(--bg-grey-200) 4px, var(--bg-white) 8px);border-radius:var(--border-radius)}::-webkit-scrollbar-thumb{width:10px;background-color:var(--myz-blue);border-radius:var(--border-radius)}:host>div.open>z-input{position:relative;z-index:1;width:238px;margin:0 calc(var(--space-unit) * 2);color:var(--myz-blue)}:host>div.open>div.open-combo-data>div.search{overflow:hidden;max-height:auto;margin-top:0;box-shadow:1px 1px 4px 2px rgb(217 222 227 / 50%)}:host>div.open>div.open-combo-data>div.search>ul{overflow:auto;max-height:180px;padding:var(--space-unit) calc(var(--space-unit) * 2);scrollbar-color:var(--myz-blue) var(--bg-grey-200);scrollbar-width:thin}:host>div.open>div.open-combo-data>div.search>div{display:flex;justify-content:center}:host>div.open>div.open-combo-data>div.search>div>a{display:inline-block;height:44px;color:var(--myz-blue);cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.open-combo-data>div.check-all-wrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);text-align:left}";export{h as z_combobox}
@@ -0,0 +1 @@
1
+ import{r as o,h as t,g as r}from"./p-d17ebc2f.js";const e=class{constructor(t){o(this,t)}componentWillRender(){this.host.setAttribute("role","rowgroup")}render(){return t("slot",null)}get host(){return r(this)}};e.style=".sc-z-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";export{e as z_table_footer}
@@ -0,0 +1 @@
1
+ import{r as t,c as r,h as i}from"./p-d17ebc2f.js";import{t as o}from"./p-d69e14fb.js";const s=class{constructor(i){t(this,i),this.buttonSortClick=r(this,"buttonSortClick",7),this.sortlabelasc="A-Z",this.sortlabeldesc="Z-A",this.isselected=!1,this.sortasc=!0,this.allowTooltip=!1}emitButtonSortClick(){this.isselected?this.sortasc=!this.sortasc:this.isselected=!0,this.buttonSortClick.emit({buttonid:this.buttonid,sortAsc:this.sortasc})}componentDidLoad(){this.elementHasEllipsis()&&window.innerWidth>o&&(this.allowTooltip=!0)}setButtonTitle(){return this.allowTooltip?`${this.sortasc?this.label:this.desclabel}`:""}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return i("button",{title:this.setButtonTitle(),id:this.buttonid,class:this.isselected&&"selected",onClick:()=>this.emitButtonSortClick()},i("label",null,i("span",{ref:t=>this.ellipsis=t,class:"ellipsis"},!this.sortasc&&this.desclabel?this.desclabel:this.label),i("span",{class:"counter"},this.counter&&` (${this.counter})`),i("span",{class:"sort"},this.sortasc?this.sortlabelasc:this.sortlabeldesc),i("z-icon",{name:"caret-up-down",width:16,height:16})))}};s.style=":host,button{max-width:100%}button{height:36px;padding:0 var(--space-unit);border:var(--border-size-medium) solid var(--myz-blue);background-color:var(--bg-white);border-radius:var(--border-radius);color:var(--myz-blue);cursor:pointer;fill:var(--myz-blue);outline:none}button::-moz-focus-inner{border:0}button:hover{border-color:var(--myz-blue-dark);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);box-shadow:0 0 2px 2px var(--accent-dark);color:var(--myz-blue);fill:var(--myz-blue)}button:active{border-color:var(--myz-blue-light);box-shadow:0 2px 4px 0 rgb(0 0 0 / 40%);color:var(--myz-blue-light);fill:var(--myz-blue-light)}button.selected{border-color:var(--myz-blue-dark);background-color:var(--myz-blue-dark);color:var(--bg-white);fill:var(--bg-white)}button>label{display:flex;align-items:center;cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}button>label>span.ellipsis{overflow:hidden;padding:0;margin:0;text-overflow:ellipsis;white-space:nowrap}button>label>span.counter{margin-right:calc(var(--space-unit) * 2);margin-left:calc(var(--space-unit) / 2)}button>label>span.sort{margin-right:var(--half-x1);white-space:nowrap}button>span{margin-right:calc(var(--space-unit) * 0.5);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-rg)}button>z-icon{padding-top:calc(var(--space-unit) * 0.5)}@media only screen and (min-width: 768px){:host,button{max-width:325px}}@media only screen and (min-width: 1025px){:host,button{max-width:490px}}";export{s as z_button_sort}
@@ -0,0 +1 @@
1
+ import{r as i,c as e,h as r,g as a}from"./p-d17ebc2f.js";const t=class{constructor(r){i(this,r),this.zLinkClick=e(this,"zLinkClick",7),this.target="_self",this.htmltabindex=0,this.isdisabled=!1,this.isactive=!1,this.iswhite=!1,this.textcolor="primary",this.big=!1,this.iconposition="left",this.underline=!1,this.iconSize=18,this.emitZLinkClick=this.emitZLinkClick.bind(this),this.emitZLinkInteraction=this.emitZLinkInteraction.bind(this)}componentWillLoad(){this.iswhite&&console.warn("z-link iswhite prop is deprecated and will be dropped in a next release, please use textcolor prop instead"),this.big&&console.warn("z-link big prop is deprecated and will be dropped in a next release, please override --font-size-link and --font-weight-link variables instead")}emitZLinkClick(i,e){this.emitZLinkInteraction(i,e)}emitZLinkInteraction(i,e){this.zLinkClick.emit({e:i,linkId:e})}componentDidLoad(){if(this.icon){const i=parseFloat(window.getComputedStyle(this.hostElement).getPropertyValue("font-size")),e=this.big?18:Math.round(1.125*i);Number.isNaN(e)||this.iconSize===e||(this.iconSize=e)}}render(){return r("a",{id:this.htmlid,href:this.href?this.href:null,class:{disabled:this.isdisabled,active:this.isactive,white:this.iswhite,[this.textcolor||""]:!0,underline:this.underline},target:this.target,role:this.href?"link":"button",tabindex:this.isdisabled?-1:this.htmltabindex,onClick:i=>this.emitZLinkClick(i,this.htmlid)},"right"===this.iconposition&&r("slot",null),this.icon&&r("z-icon",{style:{"--z-icon-width":`${this.iconSize}px`,"--z-icon-height":`${this.iconSize}px`},name:this.icon}),"left"===this.iconposition&&r("slot",null))}get hostElement(){return a(this)}};t.style=":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)}";export{t as z_link}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,H as n,g as s}from"./p-d17ebc2f.js";const a=class{constructor(i){t(this,i),this.opened=e(this,"opened",7),this.closed=e(this,"closed",7),this.floating=!1,this.open=!1,this.toggle=this.toggle.bind(this),this.checkContent=this.checkContent.bind(this),this.onItemsChange=this.onItemsChange.bind(this)}toggle(){this.hasContent&&(this.open=!this.open,this.open?this.opened.emit():this.closed.emit())}handleClick(t){this.floating&&this.open&&!this.hostElement.contains(t.target)&&(this.reflow(),this.open=!1,this.closed.emit())}onOpenChanged(){this.open?this.reflow(!0):cancelAnimationFrame(this.raf)}componentWillLoad(){this.checkContent()}reflow(t=!1){if(this.content){const{style:t}=this.content,{left:e}=this.hostElement.getBoundingClientRect(),i=getComputedStyle(this.content).width,n=i?parseFloat(i.replace("px","")):375;t.left=`${Math.min(window.innerWidth-e-n-30,0)}px`}t&&(this.raf=requestAnimationFrame(this.reflow.bind(this,t)))}checkContent(){this.hasHeader=!!this.hostElement.querySelectorAll('[slot="header"]').length,this.hasContent=!!this.hostElement.querySelectorAll('[slot="item"]').length||this.hasHeader}onItemsChange(){this.checkContent();const t=this.hostElement.querySelectorAll('[slot="item"]');null==t||t.forEach((t=>t.setAttribute("role","menuitem")))}renderMenuLabel(){return this.hasContent?i("button",{class:"menu-label","aria-expanded":this.open?"true":"false","aria-label":this.open?"Chiudi menù":"Apri menù",onClick:this.toggle},i("div",{class:"menu-label-content"},i("slot",null),i("z-icon",{name:this.open?"chevron-up":"chevron-down"}))):i("div",{class:"menu-label"},i("div",{class:"menu-label-content"},i("slot",null)))}render(){return i(n,null,this.renderMenuLabel(),i("div",{class:"content",ref:t=>{this.content=t},hidden:!this.open},this.hasHeader&&i("header",{class:"header"},i("slot",{name:"header",onSlotchange:this.checkContent})),i("div",{class:"items",role:"menu"},i("slot",{name:"item",onSlotchange:this.onItemsChange}))))}get hostElement(){return s(this)}static get watchers(){return{open:["onOpenChanged"]}}};a.style=':host,::slotted(*),*{box-sizing:border-box}:host{position:relative;display:inline-flex;flex-direction:column}::slotted(a){color:var(--color-text01);text-decoration:none}::slotted(*){font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{padding:0;border:0;margin:0;background:transparent;border-radius:0;color:inherit;outline:none;text-align:left}button.menu-label{cursor:pointer}.menu-label:focus-within{z-index:1;padding-right:calc(var(--space-unit) * 0.5);padding-left:calc(var(--space-unit) * 0.5);margin-right:calc(var(--space-unit) * -0.5);margin-left:calc(var(--space-unit) * -0.5);box-shadow:var(--shadow-focus-primary)}.menu-label .menu-label-content{display:flex;align-items:center;padding:var(--space-unit) 0;border-bottom:var(--border-size-large) solid var(--color-surface05)}:host([active]) .menu-label-content,:host([open]) .menu-label-content,.menu-label:hover .menu-label-content,.menu-label:focus-within .menu-label-content{border-color:var(--color-secondary01)}.menu-label ::slotted(*){width:100%;margin:0;appearance:none;font-size:var(--font-size-5);line-height:1.2;outline:none}.menu-label z-icon{margin-left:calc(var(--space-unit) * 4);fill:currentcolor}.content{background:var(--color-surface01)}.content[hidden]{display:none}:host([floating]) .content{position:absolute;top:100%;left:0;width:375px;min-width:100%;max-width:100vw;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);box-shadow:var(--shadow-2)}:host(:not([floating])) .content{width:100%}.header{display:flex;align-items:center;padding:var(--space-unit) 0 calc(var(--space-unit) * 2)}.header ::slotted(img[slot="header"]){width:calc(var(--space-unit) * 11.25);height:auto;object-fit:contain}.header ::slotted([slot="header"]:not(:first-child)){margin:auto 0;margin-left:calc(var(--space-unit) * 2.5);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5}.items{display:flex;flex-direction:column;align-items:flex-start;background:inherit}.items>::slotted([slot="item"]){display:inline-flex;width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25;outline:none}.items>::slotted([slot="item"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot="item"]:not(z-menu-section)){padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--color-surface05)}.items>::slotted([slot="item"]:hover),.items>::slotted([slot="item"]:active){border-color:var(--color-secondary01)}';export{a as z_menu}