@zanichelli/albe-web-components 19.2.3-RC1 → 19.2.3

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 (1550) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/_commonjsHelpers-68cdf74f.js +7 -0
  3. package/dist/cjs/_commonjsHelpers-68cdf74f.js.map +1 -0
  4. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  5. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  6. package/dist/cjs/{breakpoints-B7vFm-3T.js → breakpoints-8a1e87e0.js} +2 -0
  7. package/dist/cjs/breakpoints-8a1e87e0.js.map +1 -0
  8. package/dist/cjs/{iconset-Bcbz2MS1.js → iconset-5d47610c.js} +4 -3
  9. package/dist/cjs/iconset-5d47610c.js.map +1 -0
  10. package/dist/cjs/index-012853a0.js +21 -0
  11. package/dist/cjs/index-012853a0.js.map +1 -0
  12. package/dist/cjs/index-1d7a50cc.js +67 -0
  13. package/dist/cjs/index-1d7a50cc.js.map +1 -0
  14. package/dist/cjs/index-2dff20f5.js +20 -0
  15. package/dist/cjs/index-2dff20f5.js.map +1 -0
  16. package/dist/cjs/index-86a8a3a4.js +23 -0
  17. package/dist/cjs/index-86a8a3a4.js.map +1 -0
  18. package/dist/cjs/index-96af6326.js +2324 -0
  19. package/dist/cjs/index-96af6326.js.map +1 -0
  20. package/dist/cjs/index-c38e5b9e.js +73 -0
  21. package/dist/cjs/index-c38e5b9e.js.map +1 -0
  22. package/dist/cjs/index-cb280932.js +47 -0
  23. package/dist/cjs/index-cb280932.js.map +1 -0
  24. package/dist/cjs/{index-wGaSHN1_.js → index-e30d0503.js} +2 -0
  25. package/dist/cjs/index-e30d0503.js.map +1 -0
  26. package/dist/cjs/index.cjs.js +224 -112
  27. package/dist/cjs/index.cjs.js.map +1 -0
  28. package/dist/cjs/loader.cjs.js +8 -3
  29. package/dist/cjs/loader.cjs.js.map +1 -0
  30. package/dist/cjs/{utils-C5_wGVkJ.js → utils-4f7b4830.js} +73 -81
  31. package/dist/cjs/utils-4f7b4830.js.map +1 -0
  32. package/dist/cjs/{utils-Ctc6JP2n.js → utils-b1859d65.js} +4 -2
  33. package/dist/cjs/utils-b1859d65.js.map +1 -0
  34. package/dist/cjs/web-components-library.cjs.js +10 -7
  35. package/dist/cjs/web-components-library.cjs.js.map +1 -0
  36. package/dist/cjs/z-accordion.cjs.entry.js +13 -26
  37. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -0
  38. package/dist/cjs/z-alert.cjs.entry.js +10 -4
  39. package/dist/cjs/z-alert.cjs.entry.js.map +1 -0
  40. package/dist/cjs/z-anchor-navigation.cjs.entry.js +10 -25
  41. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -0
  42. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +22 -53
  43. package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -0
  44. package/dist/cjs/z-app-header_12.cjs.entry.js +150 -261
  45. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -0
  46. package/dist/cjs/z-aria-alert.cjs.entry.js +7 -4
  47. package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -0
  48. package/dist/cjs/z-avatar.cjs.entry.js +13 -9
  49. package/dist/cjs/z-avatar.cjs.entry.js.map +1 -0
  50. package/dist/cjs/z-book-card-app.cjs.entry.js +18 -10
  51. package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -0
  52. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +24 -10
  53. package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -0
  54. package/dist/cjs/z-book-card.cjs.entry.js +23 -11
  55. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -0
  56. package/dist/cjs/z-book-cover.cjs.entry.js +11 -6
  57. package/dist/cjs/z-book-cover.cjs.entry.js.map +1 -0
  58. package/dist/cjs/z-breadcrumb.cjs.entry.js +19 -24
  59. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -0
  60. package/dist/cjs/z-button-sort.cjs.entry.js +14 -9
  61. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -0
  62. package/dist/cjs/z-card.cjs.entry.js +12 -9
  63. package/dist/cjs/z-card.cjs.entry.js.map +1 -0
  64. package/dist/cjs/z-carousel.cjs.entry.js +29 -49
  65. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -0
  66. package/dist/cjs/z-chip.cjs.entry.js +13 -9
  67. package/dist/cjs/z-chip.cjs.entry.js.map +1 -0
  68. package/dist/cjs/z-color-picker.cjs.entry.js +18 -24
  69. package/dist/cjs/z-color-picker.cjs.entry.js.map +1 -0
  70. package/dist/cjs/z-combobox.cjs.entry.js +26 -27
  71. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -0
  72. package/dist/cjs/z-cover-hero.cjs.entry.js +11 -18
  73. package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -0
  74. package/dist/cjs/z-date-picker.cjs.entry.js +330 -351
  75. package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -0
  76. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +22 -18
  77. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -0
  78. package/dist/cjs/z-file-upload.cjs.entry.js +18 -21
  79. package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -0
  80. package/dist/cjs/z-file.cjs.entry.js +13 -6
  81. package/dist/cjs/z-file.cjs.entry.js.map +1 -0
  82. package/dist/cjs/z-ghost-loading.cjs.entry.js +9 -4
  83. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -0
  84. package/dist/cjs/z-info-box.cjs.entry.js +10 -5
  85. package/dist/cjs/z-info-box.cjs.entry.js.map +1 -0
  86. package/dist/cjs/z-info-reveal.cjs.entry.js +13 -20
  87. package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -0
  88. package/dist/cjs/z-logo.cjs.entry.js +15 -4
  89. package/dist/cjs/z-logo.cjs.entry.js.map +1 -0
  90. package/dist/cjs/z-menu-deprecated.cjs.entry.js +14 -23
  91. package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +1 -0
  92. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +13 -10
  93. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +1 -0
  94. package/dist/cjs/z-menu-section.cjs.entry.js +16 -15
  95. package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -0
  96. package/dist/cjs/z-menu.cjs.entry.js +17 -27
  97. package/dist/cjs/z-menu.cjs.entry.js.map +1 -0
  98. package/dist/cjs/z-myz-card-alert.cjs.entry.js +14 -5
  99. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -0
  100. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +12 -9
  101. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -0
  102. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +9 -4
  103. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +1 -0
  104. package/dist/cjs/z-myz-card-footer.cjs.entry.js +15 -7
  105. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -0
  106. package/dist/cjs/z-myz-card-icon.cjs.entry.js +10 -6
  107. package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +1 -0
  108. package/dist/cjs/z-myz-card-info.cjs.entry.js +13 -8
  109. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -0
  110. package/dist/cjs/z-myz-card-list.cjs.entry.js +10 -4
  111. package/dist/cjs/z-myz-card-list.cjs.entry.js.map +1 -0
  112. package/dist/cjs/z-myz-card_4.cjs.entry.js +31 -16
  113. package/dist/cjs/z-myz-card_4.cjs.entry.js.map +1 -0
  114. package/dist/cjs/z-myz-list-item.cjs.entry.js +17 -9
  115. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -0
  116. package/dist/cjs/z-myz-list.cjs.entry.js +12 -7
  117. package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -0
  118. package/dist/cjs/z-navigation-tabs.cjs.entry.js +18 -28
  119. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -0
  120. package/dist/cjs/z-notification.cjs.entry.js +13 -10
  121. package/dist/cjs/z-notification.cjs.entry.js.map +1 -0
  122. package/dist/cjs/z-otp.cjs.entry.js +14 -10
  123. package/dist/cjs/z-otp.cjs.entry.js.map +1 -0
  124. package/dist/cjs/z-pagination.cjs.entry.js +18 -28
  125. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -0
  126. package/dist/cjs/z-panel-elem.cjs.entry.js +17 -7
  127. package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -0
  128. package/dist/cjs/z-popover.cjs.entry.js +19 -35
  129. package/dist/cjs/z-popover.cjs.entry.js.map +1 -0
  130. package/dist/cjs/z-range-picker.cjs.entry.js +31 -38
  131. package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -0
  132. package/dist/cjs/z-result-card.cjs.entry.js +16 -7
  133. package/dist/cjs/z-result-card.cjs.entry.js.map +1 -0
  134. package/dist/cjs/z-section-title.cjs.entry.js +10 -12
  135. package/dist/cjs/z-section-title.cjs.entry.js.map +1 -0
  136. package/dist/cjs/z-select.cjs.entry.js +25 -21
  137. package/dist/cjs/z-select.cjs.entry.js.map +1 -0
  138. package/dist/cjs/z-skip-to-content.cjs.entry.js +13 -8
  139. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -0
  140. package/dist/cjs/z-slideshow.cjs.entry.js +16 -12
  141. package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -0
  142. package/dist/cjs/z-stepper-item.cjs.entry.js +14 -4
  143. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -0
  144. package/dist/cjs/z-stepper.cjs.entry.js +9 -4
  145. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -0
  146. package/dist/cjs/z-table.cjs.entry.js +18 -19
  147. package/dist/cjs/z-table.cjs.entry.js.map +1 -0
  148. package/dist/cjs/z-tbody.cjs.entry.js +7 -12
  149. package/dist/cjs/z-tbody.cjs.entry.js.map +1 -0
  150. package/dist/cjs/z-td.cjs.entry.js +8 -54
  151. package/dist/cjs/z-td.cjs.entry.js.map +1 -0
  152. package/dist/cjs/z-tfoot.cjs.entry.js +7 -16
  153. package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -0
  154. package/dist/cjs/z-th.cjs.entry.js +8 -81
  155. package/dist/cjs/z-th.cjs.entry.js.map +1 -0
  156. package/dist/cjs/z-thead.cjs.entry.js +7 -21
  157. package/dist/cjs/z-thead.cjs.entry.js.map +1 -0
  158. package/dist/cjs/z-toast-notification-list.cjs.entry.js +12 -11
  159. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -0
  160. package/dist/cjs/z-toast-notification.cjs.entry.js +3957 -3936
  161. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -0
  162. package/dist/cjs/z-toggle-button.cjs.entry.js +12 -8
  163. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -0
  164. package/dist/cjs/z-toggle-switch.cjs.entry.js +14 -13
  165. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -0
  166. package/dist/cjs/z-tool.cjs.entry.js +29 -28
  167. package/dist/cjs/z-tool.cjs.entry.js.map +1 -0
  168. package/dist/cjs/z-toolbar.cjs.entry.js +12 -7
  169. package/dist/cjs/z-toolbar.cjs.entry.js.map +1 -0
  170. package/dist/cjs/z-tooltip.cjs.entry.js +11 -15
  171. package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -0
  172. package/dist/cjs/z-tr.cjs.entry.js +12 -80
  173. package/dist/cjs/z-tr.cjs.entry.js.map +1 -0
  174. package/dist/cjs/z-tree-list.cjs.entry.js +14 -10
  175. package/dist/cjs/z-tree-list.cjs.entry.js.map +1 -0
  176. package/dist/cjs/z-visually-hidden.cjs.entry.js +9 -4
  177. package/dist/cjs/z-visually-hidden.cjs.entry.js.map +1 -0
  178. package/dist/collection/__mocks__/fileMock.js +1 -0
  179. package/dist/collection/__mocks__/fileMock.js.map +1 -0
  180. package/dist/collection/beans/index.js +1 -0
  181. package/dist/collection/beans/index.js.map +1 -0
  182. package/dist/collection/collection-manifest.json +2 -3
  183. package/dist/collection/components/book-card/z-book-card/index.js +34 -55
  184. package/dist/collection/components/book-card/z-book-card/index.js.map +1 -0
  185. package/dist/collection/components/book-card/z-book-card/index.stories.js +1 -0
  186. package/dist/collection/components/book-card/z-book-card/index.stories.js.map +1 -0
  187. package/dist/collection/components/book-card/z-book-card-app/index.js +15 -23
  188. package/dist/collection/components/book-card/z-book-card-app/index.js.map +1 -0
  189. package/dist/collection/components/book-card/z-book-card-app/index.stories.js +1 -0
  190. package/dist/collection/components/book-card/z-book-card-app/index.stories.js.map +1 -0
  191. package/dist/collection/components/css-components/z-fab/index.stories.js +1 -0
  192. package/dist/collection/components/css-components/z-fab/index.stories.js.map +1 -0
  193. package/dist/collection/components/css-components/z-label/index.stories.js +1 -0
  194. package/dist/collection/components/css-components/z-label/index.stories.js.map +1 -0
  195. package/dist/collection/components/css-components/z-link/index.stories.js +1 -0
  196. package/dist/collection/components/css-components/z-link/index.stories.js.map +1 -0
  197. package/dist/collection/components/css-components/z-scrollbar/index.stories.js +1 -0
  198. package/dist/collection/components/css-components/z-scrollbar/index.stories.js.map +1 -0
  199. package/dist/collection/components/date-picker/utils.js +1 -0
  200. package/dist/collection/components/date-picker/utils.js.map +1 -0
  201. package/dist/collection/components/date-picker/z-date-picker/index.js +35 -61
  202. package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -0
  203. package/dist/collection/components/date-picker/z-date-picker/index.stories.js +1 -0
  204. package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +1 -0
  205. package/dist/collection/components/date-picker/z-range-picker/index.js +34 -61
  206. package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -0
  207. package/dist/collection/components/date-picker/z-range-picker/index.stories.js +1 -0
  208. package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +1 -0
  209. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +23 -70
  210. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +1 -0
  211. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +1 -0
  212. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js.map +1 -0
  213. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +40 -57
  214. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +1 -0
  215. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +1 -0
  216. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +1 -0
  217. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +12 -31
  218. package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +1 -0
  219. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +1 -0
  220. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js.map +1 -0
  221. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +10 -11
  222. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +1 -0
  223. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +1 -0
  224. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js.map +1 -0
  225. package/dist/collection/components/deprecated/z-section-title/index.js +5 -16
  226. package/dist/collection/components/deprecated/z-section-title/index.js.map +1 -0
  227. package/dist/collection/components/deprecated/z-section-title/index.stories.js +1 -0
  228. package/dist/collection/components/deprecated/z-section-title/index.stories.js.map +1 -0
  229. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +6 -7
  230. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -0
  231. package/dist/collection/components/file-upload/z-file/index.js +8 -9
  232. package/dist/collection/components/file-upload/z-file/index.js.map +1 -0
  233. package/dist/collection/components/file-upload/z-file/index.stories.js +1 -0
  234. package/dist/collection/components/file-upload/z-file/index.stories.js.map +1 -0
  235. package/dist/collection/components/file-upload/z-file-upload/index.js +37 -80
  236. package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -0
  237. package/dist/collection/components/file-upload/z-file-upload/index.stories.js +1 -0
  238. package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +1 -0
  239. package/dist/collection/components/index.js +1 -0
  240. package/dist/collection/components/index.js.map +1 -0
  241. package/dist/collection/components/list/z-list/index.js +7 -23
  242. package/dist/collection/components/list/z-list/index.js.map +1 -0
  243. package/dist/collection/components/list/z-list/index.stories.js +1 -0
  244. package/dist/collection/components/list/z-list/index.stories.js.map +1 -0
  245. package/dist/collection/components/list/z-list-element/index.js +38 -113
  246. package/dist/collection/components/list/z-list-element/index.js.map +1 -0
  247. package/dist/collection/components/list/z-list-element/index.stories.js +1 -0
  248. package/dist/collection/components/list/z-list-element/index.stories.js.map +1 -0
  249. package/dist/collection/components/list/z-list-group/index.js +16 -50
  250. package/dist/collection/components/list/z-list-group/index.js.map +1 -0
  251. package/dist/collection/components/list/z-list-group/index.stories.js +1 -0
  252. package/dist/collection/components/list/z-list-group/index.stories.js.map +1 -0
  253. package/dist/collection/components/list/z-tree-list/index.js +11 -16
  254. package/dist/collection/components/list/z-tree-list/index.js.map +1 -0
  255. package/dist/collection/components/list/z-tree-list/index.stories.js +1 -0
  256. package/dist/collection/components/list/z-tree-list/index.stories.js.map +1 -0
  257. package/dist/collection/components/table/cells/z-td/index.js +10 -32
  258. package/dist/collection/components/table/cells/z-td/index.js.map +1 -0
  259. package/dist/collection/components/table/cells/z-th/index.js +17 -54
  260. package/dist/collection/components/table/cells/z-th/index.js.map +1 -0
  261. package/dist/collection/components/table/z-table/index.js +3 -10
  262. package/dist/collection/components/table/z-table/index.js.map +1 -0
  263. package/dist/collection/components/table/z-table/index.stories.js +1 -0
  264. package/dist/collection/components/table/z-table/index.stories.js.map +1 -0
  265. package/dist/collection/components/table/z-tbody/index.js +2 -1
  266. package/dist/collection/components/table/z-tbody/index.js.map +1 -0
  267. package/dist/collection/components/table/z-tfoot/index.js +3 -7
  268. package/dist/collection/components/table/z-tfoot/index.js.map +1 -0
  269. package/dist/collection/components/table/z-thead/index.js +4 -13
  270. package/dist/collection/components/table/z-thead/index.js.map +1 -0
  271. package/dist/collection/components/table/z-tr/index.js +5 -17
  272. package/dist/collection/components/table/z-tr/index.js.map +1 -0
  273. package/dist/collection/components/z-accordion/index.js +16 -49
  274. package/dist/collection/components/z-accordion/index.js.map +1 -0
  275. package/dist/collection/components/z-accordion/index.stories.js +1 -0
  276. package/dist/collection/components/z-accordion/index.stories.js.map +1 -0
  277. package/dist/collection/components/z-anchor-navigation/index.js +6 -33
  278. package/dist/collection/components/z-anchor-navigation/index.js.map +1 -0
  279. package/dist/collection/components/z-anchor-navigation/index.stories.js +1 -0
  280. package/dist/collection/components/z-anchor-navigation/index.stories.js.map +1 -0
  281. package/dist/collection/components/z-app-header/index.js +20 -58
  282. package/dist/collection/components/z-app-header/index.js.map +1 -0
  283. package/dist/collection/components/z-app-header/index.stories.js +1 -0
  284. package/dist/collection/components/z-app-header/index.stories.js.map +1 -0
  285. package/dist/collection/components/z-aria-alert/index.js +4 -7
  286. package/dist/collection/components/z-aria-alert/index.js.map +1 -0
  287. package/dist/collection/components/z-aria-alert/index.stories.js +1 -0
  288. package/dist/collection/components/z-aria-alert/index.stories.js.map +1 -0
  289. package/dist/collection/components/z-avatar/index.js +13 -24
  290. package/dist/collection/components/z-avatar/index.js.map +1 -0
  291. package/dist/collection/components/z-avatar/index.stories.js +1 -0
  292. package/dist/collection/components/z-avatar/index.stories.js.map +1 -0
  293. package/dist/collection/components/z-book-cover/index.js +10 -17
  294. package/dist/collection/components/z-book-cover/index.js.map +1 -0
  295. package/dist/collection/components/z-book-cover/index.stories.js +1 -0
  296. package/dist/collection/components/z-book-cover/index.stories.js.map +1 -0
  297. package/dist/collection/components/z-breadcrumb/index.js +17 -37
  298. package/dist/collection/components/z-breadcrumb/index.js.map +1 -0
  299. package/dist/collection/components/z-breadcrumb/index.stories.js +1 -0
  300. package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -0
  301. package/dist/collection/components/z-button/index.js +35 -74
  302. package/dist/collection/components/z-button/index.js.map +1 -0
  303. package/dist/collection/components/z-button/index.stories.js +1 -0
  304. package/dist/collection/components/z-button/index.stories.js.map +1 -0
  305. package/dist/collection/components/z-button-sort/index.js +18 -33
  306. package/dist/collection/components/z-button-sort/index.js.map +1 -0
  307. package/dist/collection/components/z-button-sort/index.stories.js +1 -0
  308. package/dist/collection/components/z-button-sort/index.stories.js.map +1 -0
  309. package/dist/collection/components/z-card/index.js +11 -21
  310. package/dist/collection/components/z-card/index.js.map +1 -0
  311. package/dist/collection/components/z-card/index.stories.js +1 -0
  312. package/dist/collection/components/z-card/index.stories.js.map +1 -0
  313. package/dist/collection/components/z-carousel/index.js +35 -69
  314. package/dist/collection/components/z-carousel/index.js.map +1 -0
  315. package/dist/collection/components/z-carousel/index.stories.js +3 -2
  316. package/dist/collection/components/z-carousel/index.stories.js.map +1 -0
  317. package/dist/collection/components/z-chip/index.js +13 -24
  318. package/dist/collection/components/z-chip/index.js.map +1 -0
  319. package/dist/collection/components/z-chip/index.stories.js +1 -0
  320. package/dist/collection/components/z-chip/index.stories.js.map +1 -0
  321. package/dist/collection/components/z-color-picker/index.js +17 -31
  322. package/dist/collection/components/z-color-picker/index.js.map +1 -0
  323. package/dist/collection/components/z-color-picker/index.stories.js +1 -0
  324. package/dist/collection/components/z-color-picker/index.stories.js.map +1 -0
  325. package/dist/collection/components/z-combobox/index.js +41 -80
  326. package/dist/collection/components/z-combobox/index.js.map +1 -0
  327. package/dist/collection/components/z-combobox/index.stories.js +1 -0
  328. package/dist/collection/components/z-combobox/index.stories.js.map +1 -0
  329. package/dist/collection/components/z-cover-hero/index.js +8 -27
  330. package/dist/collection/components/z-cover-hero/index.js.map +1 -0
  331. package/dist/collection/components/z-cover-hero/index.stories.js +1 -0
  332. package/dist/collection/components/z-cover-hero/index.stories.js.map +1 -0
  333. package/dist/collection/components/z-divider/index.js +7 -17
  334. package/dist/collection/components/z-divider/index.js.map +1 -0
  335. package/dist/collection/components/z-divider/index.stories.js +1 -0
  336. package/dist/collection/components/z-divider/index.stories.js.map +1 -0
  337. package/dist/collection/components/z-ghost-loading/index.js +2 -1
  338. package/dist/collection/components/z-ghost-loading/index.js.map +1 -0
  339. package/dist/collection/components/z-ghost-loading/index.stories.js +1 -0
  340. package/dist/collection/components/z-ghost-loading/index.stories.js.map +1 -0
  341. package/dist/collection/components/z-icon/index.js +22 -25
  342. package/dist/collection/components/z-icon/index.js.map +1 -0
  343. package/dist/collection/components/z-icon/index.stories.js +1 -0
  344. package/dist/collection/components/z-icon/index.stories.js.map +1 -0
  345. package/dist/collection/components/z-info-box/index.js +6 -9
  346. package/dist/collection/components/z-info-box/index.js.map +1 -0
  347. package/dist/collection/components/z-info-box/index.stories.js +1 -0
  348. package/dist/collection/components/z-info-box/index.stories.js.map +1 -0
  349. package/dist/collection/components/z-info-reveal/index.js +11 -30
  350. package/dist/collection/components/z-info-reveal/index.js.map +1 -0
  351. package/dist/collection/components/z-info-reveal/index.stories.js +1 -0
  352. package/dist/collection/components/z-info-reveal/index.stories.js.map +1 -0
  353. package/dist/collection/components/z-input/index.js +74 -131
  354. package/dist/collection/components/z-input/index.js.map +1 -0
  355. package/dist/collection/components/z-input/index.stories.js +1 -0
  356. package/dist/collection/components/z-input/index.stories.js.map +1 -0
  357. package/dist/collection/components/z-input/styles.css +5 -3
  358. package/dist/collection/components/z-input-message/index.js +12 -15
  359. package/dist/collection/components/z-input-message/index.js.map +1 -0
  360. package/dist/collection/components/z-input-message/index.stories.js +1 -0
  361. package/dist/collection/components/z-input-message/index.stories.js.map +1 -0
  362. package/dist/collection/components/z-logo/index.js +22 -25
  363. package/dist/collection/components/z-logo/index.js.map +1 -0
  364. package/dist/collection/components/z-logo/index.stories.js +1 -0
  365. package/dist/collection/components/z-logo/index.stories.js.map +1 -0
  366. package/dist/collection/components/z-menu/index.js +12 -32
  367. package/dist/collection/components/z-menu/index.js.map +1 -0
  368. package/dist/collection/components/z-menu/index.stories.js +1 -0
  369. package/dist/collection/components/z-menu/index.stories.js.map +1 -0
  370. package/dist/collection/components/z-menu-section/index.js +12 -17
  371. package/dist/collection/components/z-menu-section/index.js.map +1 -0
  372. package/dist/collection/components/z-menu-section/index.stories.js +1 -0
  373. package/dist/collection/components/z-menu-section/index.stories.js.map +1 -0
  374. package/dist/collection/components/z-modal/index.js +19 -36
  375. package/dist/collection/components/z-modal/index.js.map +1 -0
  376. package/dist/collection/components/z-modal/index.stories.js +1 -0
  377. package/dist/collection/components/z-modal/index.stories.js.map +1 -0
  378. package/dist/collection/components/z-navigation-tabs/index.js +15 -35
  379. package/dist/collection/components/z-navigation-tabs/index.js.map +1 -0
  380. package/dist/collection/components/z-navigation-tabs/index.stories.js +1 -0
  381. package/dist/collection/components/z-navigation-tabs/index.stories.js.map +1 -0
  382. package/dist/collection/components/z-notification/index.js +35 -30
  383. package/dist/collection/components/z-notification/index.js.map +1 -0
  384. package/dist/collection/components/z-notification/index.stories.js +32 -5
  385. package/dist/collection/components/z-notification/index.stories.js.map +1 -0
  386. package/dist/collection/components/z-notification/styles.css +18 -7
  387. package/dist/collection/components/z-offcanvas/index.js +12 -42
  388. package/dist/collection/components/z-offcanvas/index.js.map +1 -0
  389. package/dist/collection/components/z-offcanvas/index.stories.js +1 -0
  390. package/dist/collection/components/z-offcanvas/index.stories.js.map +1 -0
  391. package/dist/collection/components/z-pagination/index.js +21 -45
  392. package/dist/collection/components/z-pagination/index.js.map +1 -0
  393. package/dist/collection/components/z-pagination/index.stories.js +1 -0
  394. package/dist/collection/components/z-pagination/index.stories.js.map +1 -0
  395. package/dist/collection/components/z-panel-elem/index.js +26 -38
  396. package/dist/collection/components/z-panel-elem/index.js.map +1 -0
  397. package/dist/collection/components/z-panel-elem/index.stories.js +1 -0
  398. package/dist/collection/components/z-panel-elem/index.stories.js.map +1 -0
  399. package/dist/collection/components/z-popover/index.js +16 -44
  400. package/dist/collection/components/z-popover/index.js.map +1 -0
  401. package/dist/collection/components/z-popover/index.stories.js +1 -0
  402. package/dist/collection/components/z-popover/index.stories.js.map +1 -0
  403. package/dist/collection/components/z-result-card/index.js +23 -34
  404. package/dist/collection/components/z-result-card/index.js.map +1 -0
  405. package/dist/collection/components/z-result-card/z-result-card.stories.js +1 -0
  406. package/dist/collection/components/z-result-card/z-result-card.stories.js.map +1 -0
  407. package/dist/collection/components/z-searchbar/index.js +40 -80
  408. package/dist/collection/components/z-searchbar/index.js.map +1 -0
  409. package/dist/collection/components/z-searchbar/index.stories.js +1 -0
  410. package/dist/collection/components/z-searchbar/index.stories.js.map +1 -0
  411. package/dist/collection/components/z-select/index.js +47 -87
  412. package/dist/collection/components/z-select/index.js.map +1 -0
  413. package/dist/collection/components/z-select/index.stories.js +1 -0
  414. package/dist/collection/components/z-select/index.stories.js.map +1 -0
  415. package/dist/collection/components/z-skip-to-content/index.js +8 -13
  416. package/dist/collection/components/z-skip-to-content/index.js.map +1 -0
  417. package/dist/collection/components/z-skip-to-content/index.stories.js +1 -0
  418. package/dist/collection/components/z-skip-to-content/index.stories.js.map +1 -0
  419. package/dist/collection/components/z-stepper/index.js +2 -1
  420. package/dist/collection/components/z-stepper/index.js.map +1 -0
  421. package/dist/collection/components/z-stepper/index.stories.js +1 -0
  422. package/dist/collection/components/z-stepper/index.stories.js.map +1 -0
  423. package/dist/collection/components/z-stepper-item/index.js +19 -21
  424. package/dist/collection/components/z-stepper-item/index.js.map +1 -0
  425. package/dist/collection/components/z-stepper-item/index.stories.js +1 -0
  426. package/dist/collection/components/z-stepper-item/index.stories.js.map +1 -0
  427. package/dist/collection/components/z-tag/index.js +14 -11
  428. package/dist/collection/components/z-tag/index.js.map +1 -0
  429. package/dist/collection/components/z-tag/index.stories.js +1 -0
  430. package/dist/collection/components/z-tag/index.stories.js.map +1 -0
  431. package/dist/collection/components/z-toast-notification/index.js +34 -52
  432. package/dist/collection/components/z-toast-notification/index.js.map +1 -0
  433. package/dist/collection/components/z-toast-notification/index.stories.js +1 -0
  434. package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -0
  435. package/dist/collection/components/z-toast-notification-list/index.js +6 -12
  436. package/dist/collection/components/z-toast-notification-list/index.js.map +1 -0
  437. package/dist/collection/components/z-toast-notification-list/index.stories.js +1 -0
  438. package/dist/collection/components/z-toast-notification-list/index.stories.js.map +1 -0
  439. package/dist/collection/components/z-toggle-button/index.js +12 -22
  440. package/dist/collection/components/z-toggle-button/index.js.map +1 -0
  441. package/dist/collection/components/z-toggle-button/index.stories.js +1 -0
  442. package/dist/collection/components/z-toggle-button/index.stories.js.map +1 -0
  443. package/dist/collection/components/z-toggle-switch/index.js +9 -21
  444. package/dist/collection/components/z-toggle-switch/index.js.map +1 -0
  445. package/dist/collection/components/z-toggle-switch/index.stories.js +1 -0
  446. package/dist/collection/components/z-toggle-switch/index.stories.js.map +1 -0
  447. package/dist/collection/components/z-tool/index.js +31 -49
  448. package/dist/collection/components/z-tool/index.js.map +1 -0
  449. package/dist/collection/components/z-tool/index.stories.js +1 -0
  450. package/dist/collection/components/z-tool/index.stories.js.map +1 -0
  451. package/dist/collection/components/z-toolbar/index.js +6 -7
  452. package/dist/collection/components/z-toolbar/index.js.map +1 -0
  453. package/dist/collection/components/z-toolbar/index.stories.js +1 -0
  454. package/dist/collection/components/z-toolbar/index.stories.js.map +1 -0
  455. package/dist/collection/components/z-tooltip/index.js +10 -29
  456. package/dist/collection/components/z-tooltip/index.js.map +1 -0
  457. package/dist/collection/components/z-tooltip/index.stories.js +1 -0
  458. package/dist/collection/components/z-tooltip/index.stories.js.map +1 -0
  459. package/dist/collection/components/z-visually-hidden/index.js +2 -1
  460. package/dist/collection/components/z-visually-hidden/index.js.map +1 -0
  461. package/dist/collection/components/z-visually-hidden/index.stories.js +1 -0
  462. package/dist/collection/components/z-visually-hidden/index.stories.js.map +1 -0
  463. package/dist/collection/constants/breakpoints.js +1 -0
  464. package/dist/collection/constants/breakpoints.js.map +1 -0
  465. package/dist/collection/constants/icons.js +1 -0
  466. package/dist/collection/constants/icons.js.map +1 -0
  467. package/dist/collection/constants/iconset.js +1 -0
  468. package/dist/collection/constants/iconset.js.map +1 -0
  469. package/dist/collection/index.js +1 -0
  470. package/dist/collection/index.js.map +1 -0
  471. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +11 -19
  472. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -0
  473. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +16 -17
  474. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -0
  475. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +2 -1
  476. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -0
  477. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +16 -17
  478. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -0
  479. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +12 -25
  480. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -0
  481. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +20 -31
  482. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -0
  483. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +2 -1
  484. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -0
  485. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +12 -15
  486. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -0
  487. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +7 -13
  488. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -0
  489. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +7 -11
  490. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -0
  491. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +5 -5
  492. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -0
  493. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +10 -10
  494. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -0
  495. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +19 -29
  496. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -0
  497. package/dist/collection/snowflakes/myz/z-alert/index.js +8 -7
  498. package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -0
  499. package/dist/collection/snowflakes/myz/z-otp/index.js +12 -19
  500. package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -0
  501. package/dist/collection/snowflakes/myz/z-slideshow/index.js +9 -11
  502. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -0
  503. package/dist/collection/utils/storybook-utils.js +1 -0
  504. package/dist/collection/utils/storybook-utils.js.map +1 -0
  505. package/dist/collection/utils/utils.js +1 -0
  506. package/dist/collection/utils/utils.js.map +1 -0
  507. package/dist/components/_commonjsHelpers.js +5 -1
  508. package/dist/components/_commonjsHelpers.js.map +1 -0
  509. package/dist/components/breakpoints.js +11 -1
  510. package/dist/components/breakpoints.js.map +1 -0
  511. package/dist/components/iconset.js +1013 -1
  512. package/dist/components/iconset.js.map +1 -0
  513. package/dist/components/index.d.ts +0 -1
  514. package/dist/components/index.js +98 -1
  515. package/dist/components/index.js.map +1 -0
  516. package/dist/components/index10.js +60 -1
  517. package/dist/components/index10.js.map +1 -0
  518. package/dist/components/index11.js +92 -1
  519. package/dist/components/index11.js.map +1 -0
  520. package/dist/components/index12.js +342 -1
  521. package/dist/components/index12.js.map +1 -0
  522. package/dist/components/index13.js +66 -1
  523. package/dist/components/index13.js.map +1 -0
  524. package/dist/components/index14.js +53 -1
  525. package/dist/components/index14.js.map +1 -0
  526. package/dist/components/index15.js +181 -1
  527. package/dist/components/index15.js.map +1 -0
  528. package/dist/components/index16.js +76 -1
  529. package/dist/components/index16.js.map +1 -0
  530. package/dist/components/index17.js +1040 -1
  531. package/dist/components/index17.js.map +1 -0
  532. package/dist/components/index18.js +65 -1
  533. package/dist/components/index18.js.map +1 -0
  534. package/dist/components/index19.js +33 -1
  535. package/dist/components/index19.js.map +1 -0
  536. package/dist/components/index2.js +407 -1
  537. package/dist/components/index2.js.map +1 -0
  538. package/dist/components/index20.js +45 -1
  539. package/dist/components/index20.js.map +1 -0
  540. package/dist/components/index21.js +62 -1
  541. package/dist/components/index21.js.map +1 -0
  542. package/dist/components/index22.js +66 -1
  543. package/dist/components/index22.js.map +1 -0
  544. package/dist/components/index23.js +179 -1
  545. package/dist/components/index23.js.map +1 -0
  546. package/dist/components/index24.js +549 -1
  547. package/dist/components/index24.js.map +1 -0
  548. package/dist/components/index25.js +409 -1
  549. package/dist/components/index25.js.map +1 -0
  550. package/dist/components/index26.js +49 -1
  551. package/dist/components/index26.js.map +1 -0
  552. package/dist/components/index27.js +55 -1
  553. package/dist/components/index27.js.map +1 -0
  554. package/dist/components/index3.js +36 -1
  555. package/dist/components/index3.js.map +1 -0
  556. package/dist/components/index4.js +45 -1
  557. package/dist/components/index4.js.map +1 -0
  558. package/dist/components/index5.js +82 -1
  559. package/dist/components/index5.js.map +1 -0
  560. package/dist/components/index6.js +56 -1
  561. package/dist/components/index6.js.map +1 -0
  562. package/dist/components/index7.js +40 -1
  563. package/dist/components/index7.js.map +1 -0
  564. package/dist/components/index8.js +63 -1
  565. package/dist/components/index8.js.map +1 -0
  566. package/dist/components/index9.js +33 -1
  567. package/dist/components/index9.js.map +1 -0
  568. package/dist/components/utils.js +246 -1
  569. package/dist/components/utils.js.map +1 -0
  570. package/dist/components/utils2.js +2704 -1
  571. package/dist/components/utils2.js.map +1 -0
  572. package/dist/components/z-accordion.js +95 -1
  573. package/dist/components/z-accordion.js.map +1 -0
  574. package/dist/components/z-alert.js +8 -1
  575. package/dist/components/z-alert.js.map +1 -0
  576. package/dist/components/z-anchor-navigation.js +87 -1
  577. package/dist/components/z-anchor-navigation.js.map +1 -0
  578. package/dist/components/z-app-header-deprecated.js +255 -1
  579. package/dist/components/z-app-header-deprecated.js.map +1 -0
  580. package/dist/components/z-app-header.js +367 -1
  581. package/dist/components/z-app-header.js.map +1 -0
  582. package/dist/components/z-aria-alert.js +35 -1
  583. package/dist/components/z-aria-alert.js.map +1 -0
  584. package/dist/components/z-avatar.js +66 -1
  585. package/dist/components/z-avatar.js.map +1 -0
  586. package/dist/components/z-book-card-app.js +77 -1
  587. package/dist/components/z-book-card-app.js.map +1 -0
  588. package/dist/components/z-book-card-deprecated.js +175 -1
  589. package/dist/components/z-book-card-deprecated.js.map +1 -0
  590. package/dist/components/z-book-card.js +149 -1
  591. package/dist/components/z-book-card.js.map +1 -0
  592. package/dist/components/z-book-cover.js +8 -1
  593. package/dist/components/z-book-cover.js.map +1 -0
  594. package/dist/components/z-breadcrumb.js +290 -1
  595. package/dist/components/z-breadcrumb.js.map +1 -0
  596. package/dist/components/z-button-sort.js +86 -1
  597. package/dist/components/z-button-sort.js.map +1 -0
  598. package/dist/components/z-button.js +8 -1
  599. package/dist/components/z-button.js.map +1 -0
  600. package/dist/components/z-card.js +83 -1
  601. package/dist/components/z-card.js.map +1 -0
  602. package/dist/components/z-carousel.js +234 -1
  603. package/dist/components/z-carousel.js.map +1 -0
  604. package/dist/components/z-chip.js +8 -1
  605. package/dist/components/z-chip.js.map +1 -0
  606. package/dist/components/z-color-picker.js +234 -1
  607. package/dist/components/z-color-picker.js.map +1 -0
  608. package/dist/components/z-combobox.js +393 -1
  609. package/dist/components/z-combobox.js.map +1 -0
  610. package/dist/components/z-cover-hero.js +66 -1
  611. package/dist/components/z-cover-hero.js.map +1 -0
  612. package/dist/components/z-date-picker.js +528 -16
  613. package/dist/components/z-date-picker.js.map +1 -0
  614. package/dist/components/z-divider.js +8 -1
  615. package/dist/components/z-divider.js.map +1 -0
  616. package/dist/components/z-dragdrop-area.js +8 -1
  617. package/dist/components/z-dragdrop-area.js.map +1 -0
  618. package/dist/components/z-file-upload.js +253 -1
  619. package/dist/components/z-file-upload.js.map +1 -0
  620. package/dist/components/z-file.js +89 -1
  621. package/dist/components/z-file.js.map +1 -0
  622. package/dist/components/z-ghost-loading.js +8 -1
  623. package/dist/components/z-ghost-loading.js.map +1 -0
  624. package/dist/components/z-icon.js +8 -1
  625. package/dist/components/z-icon.js.map +1 -0
  626. package/dist/components/z-info-box.js +51 -1
  627. package/dist/components/z-info-box.js.map +1 -0
  628. package/dist/components/z-info-reveal.js +8 -1
  629. package/dist/components/z-info-reveal.js.map +1 -0
  630. package/dist/components/z-input-message.js +8 -1
  631. package/dist/components/z-input-message.js.map +1 -0
  632. package/dist/components/z-input.js +8 -1
  633. package/dist/components/z-input.js.map +1 -0
  634. package/dist/components/z-list-element.js +8 -1
  635. package/dist/components/z-list-element.js.map +1 -0
  636. package/dist/components/z-list-group.js +8 -1
  637. package/dist/components/z-list-group.js.map +1 -0
  638. package/dist/components/z-list.js +8 -1
  639. package/dist/components/z-list.js.map +1 -0
  640. package/dist/components/z-logo.js +56 -1
  641. package/dist/components/z-logo.js.map +1 -0
  642. package/dist/components/z-menu-deprecated.js +144 -1
  643. package/dist/components/z-menu-deprecated.js.map +1 -0
  644. package/dist/components/z-menu-section-deprecated.js +84 -1
  645. package/dist/components/z-menu-section-deprecated.js.map +1 -0
  646. package/dist/components/z-menu-section.js +226 -1
  647. package/dist/components/z-menu-section.js.map +1 -0
  648. package/dist/components/z-menu.js +353 -1
  649. package/dist/components/z-menu.js.map +1 -0
  650. package/dist/components/z-modal.js +8 -1
  651. package/dist/components/z-modal.js.map +1 -0
  652. package/dist/components/z-myz-card-alert.js +101 -1
  653. package/dist/components/z-myz-card-alert.js.map +1 -0
  654. package/dist/components/z-myz-card-body.js +8 -1
  655. package/dist/components/z-myz-card-body.js.map +1 -0
  656. package/dist/components/z-myz-card-cover.js +8 -1
  657. package/dist/components/z-myz-card-cover.js.map +1 -0
  658. package/dist/components/z-myz-card-dictionary.js +94 -1
  659. package/dist/components/z-myz-card-dictionary.js.map +1 -0
  660. package/dist/components/z-myz-card-footer-sections.js +36 -1
  661. package/dist/components/z-myz-card-footer-sections.js.map +1 -0
  662. package/dist/components/z-myz-card-footer.js +99 -1
  663. package/dist/components/z-myz-card-footer.js.map +1 -0
  664. package/dist/components/z-myz-card-header.js +8 -1
  665. package/dist/components/z-myz-card-header.js.map +1 -0
  666. package/dist/components/z-myz-card-icon.js +49 -1
  667. package/dist/components/z-myz-card-icon.js.map +1 -0
  668. package/dist/components/z-myz-card-info.js +162 -1
  669. package/dist/components/z-myz-card-info.js.map +1 -0
  670. package/dist/components/z-myz-card-list.js +58 -1
  671. package/dist/components/z-myz-card-list.js.map +1 -0
  672. package/dist/components/z-myz-card.js +8 -1
  673. package/dist/components/z-myz-card.js.map +1 -0
  674. package/dist/components/z-myz-list-item.js +8 -1
  675. package/dist/components/z-myz-list-item.js.map +1 -0
  676. package/dist/components/z-myz-list.js +71 -1
  677. package/dist/components/z-myz-list.js.map +1 -0
  678. package/dist/components/z-navigation-tabs.js +272 -1
  679. package/dist/components/z-navigation-tabs.js.map +1 -0
  680. package/dist/components/z-notification.js +70 -1
  681. package/dist/components/z-notification.js.map +1 -0
  682. package/dist/components/z-offcanvas.js +8 -1
  683. package/dist/components/z-offcanvas.js.map +1 -0
  684. package/dist/components/z-otp.js +75 -1
  685. package/dist/components/z-otp.js.map +1 -0
  686. package/dist/components/z-pagination.js +283 -1
  687. package/dist/components/z-pagination.js.map +1 -0
  688. package/dist/components/z-panel-elem.js +66 -1
  689. package/dist/components/z-panel-elem.js.map +1 -0
  690. package/dist/components/z-popover.js +8 -1
  691. package/dist/components/z-popover.js.map +1 -0
  692. package/dist/components/z-range-picker.js +413 -1
  693. package/dist/components/z-range-picker.js.map +1 -0
  694. package/dist/components/z-result-card.js +121 -1
  695. package/dist/components/z-result-card.js.map +1 -0
  696. package/dist/components/z-searchbar.js +8 -1
  697. package/dist/components/z-searchbar.js.map +1 -0
  698. package/dist/components/z-section-title.js +52 -1
  699. package/dist/components/z-section-title.js.map +1 -0
  700. package/dist/components/z-select.js +585 -1
  701. package/dist/components/z-select.js.map +1 -0
  702. package/dist/components/z-skip-to-content.js +93 -1
  703. package/dist/components/z-skip-to-content.js.map +1 -0
  704. package/dist/components/z-slideshow.js +161 -1
  705. package/dist/components/z-slideshow.js.map +1 -0
  706. package/dist/components/z-stepper-item.js +60 -1
  707. package/dist/components/z-stepper-item.js.map +1 -0
  708. package/dist/components/z-stepper.js +36 -1
  709. package/dist/components/z-stepper.js.map +1 -0
  710. package/dist/components/z-table.js +68 -1
  711. package/dist/components/z-table.js.map +1 -0
  712. package/dist/components/z-tag.js +8 -1
  713. package/dist/components/z-tag.js.map +1 -0
  714. package/dist/components/z-tbody.js +36 -1
  715. package/dist/components/z-tbody.js.map +1 -0
  716. package/dist/components/z-td.js +89 -1
  717. package/dist/components/z-td.js.map +1 -0
  718. package/dist/components/z-tfoot.js +39 -1
  719. package/dist/components/z-tfoot.js.map +1 -0
  720. package/dist/components/z-th.js +112 -1
  721. package/dist/components/z-th.js.map +1 -0
  722. package/dist/components/z-thead.js +42 -1
  723. package/dist/components/z-thead.js.map +1 -0
  724. package/dist/components/z-toast-notification-list.js +79 -1
  725. package/dist/components/z-toast-notification-list.js.map +1 -0
  726. package/dist/components/z-toast-notification.js +4228 -2
  727. package/dist/components/z-toast-notification.js.map +1 -0
  728. package/dist/components/z-toggle-button.js +64 -1
  729. package/dist/components/z-toggle-button.js.map +1 -0
  730. package/dist/components/z-toggle-switch.js +73 -1
  731. package/dist/components/z-toggle-switch.js.map +1 -0
  732. package/dist/components/z-tool.js +260 -1
  733. package/dist/components/z-tool.js.map +1 -0
  734. package/dist/components/z-toolbar.js +165 -1
  735. package/dist/components/z-toolbar.js.map +1 -0
  736. package/dist/components/z-tooltip.js +8 -1
  737. package/dist/components/z-tooltip.js.map +1 -0
  738. package/dist/components/z-tr.js +101 -1
  739. package/dist/components/z-tr.js.map +1 -0
  740. package/dist/components/z-tree-list.js +162 -1
  741. package/dist/components/z-tree-list.js.map +1 -0
  742. package/dist/components/z-visually-hidden.js +36 -1
  743. package/dist/components/z-visually-hidden.js.map +1 -0
  744. package/dist/docs/grid/index.stories.js +54 -0
  745. package/dist/docs/grid/index.stories.js.map +1 -0
  746. package/dist/docs/iconset/index.stories.js +32 -0
  747. package/dist/docs/iconset/index.stories.js.map +1 -0
  748. package/dist/docs/themes/index.stories.js +108 -0
  749. package/dist/docs/themes/index.stories.js.map +1 -0
  750. package/dist/docs/typography/index.stories.js +186 -0
  751. package/dist/docs/typography/index.stories.js.map +1 -0
  752. package/dist/esm/_commonjsHelpers-1c8beb5f.js +5 -0
  753. package/dist/esm/_commonjsHelpers-1c8beb5f.js.map +1 -0
  754. package/dist/esm/app-globals-0f993ce5.js +5 -0
  755. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  756. package/dist/esm/{breakpoints-Q-tWjk7P.js → breakpoints-d148bfde.js} +2 -0
  757. package/dist/esm/breakpoints-d148bfde.js.map +1 -0
  758. package/dist/esm/{iconset-BanpkIXZ.js → iconset-d7823b13.js} +4 -3
  759. package/dist/esm/iconset-d7823b13.js.map +1 -0
  760. package/dist/esm/index-09bfb4ee.js +18 -0
  761. package/dist/esm/index-09bfb4ee.js.map +1 -0
  762. package/dist/esm/{index-BKCj6NR2.js → index-106473a8.js} +2 -0
  763. package/dist/esm/index-106473a8.js.map +1 -0
  764. package/dist/esm/index-3856a6ca.js +19 -0
  765. package/dist/esm/index-3856a6ca.js.map +1 -0
  766. package/dist/esm/index-455c0a68.js +21 -0
  767. package/dist/esm/index-455c0a68.js.map +1 -0
  768. package/dist/esm/index-6c43bc70.js +65 -0
  769. package/dist/esm/index-6c43bc70.js.map +1 -0
  770. package/dist/esm/index-a0b957e0.js +71 -0
  771. package/dist/esm/index-a0b957e0.js.map +1 -0
  772. package/dist/esm/index-c8ceadeb.js +2293 -0
  773. package/dist/esm/index-c8ceadeb.js.map +1 -0
  774. package/dist/esm/index-f8517155.js +45 -0
  775. package/dist/esm/index-f8517155.js.map +1 -0
  776. package/dist/esm/index.js +6 -4
  777. package/dist/esm/index.js.map +1 -0
  778. package/dist/esm/loader.js +6 -3
  779. package/dist/esm/loader.js.map +1 -0
  780. package/dist/esm/{utils-0PByxJyN.js → utils-8d6ca808.js} +5 -3
  781. package/dist/esm/utils-8d6ca808.js.map +1 -0
  782. package/dist/esm/{utils-DuuLzXZj.js → utils-93ac0e6c.js} +73 -81
  783. package/dist/esm/utils-93ac0e6c.js.map +1 -0
  784. package/dist/esm/web-components-library.js +7 -5
  785. package/dist/esm/web-components-library.js.map +1 -0
  786. package/dist/esm/z-accordion.entry.js +11 -26
  787. package/dist/esm/z-accordion.entry.js.map +1 -0
  788. package/dist/esm/z-alert.entry.js +8 -4
  789. package/dist/esm/z-alert.entry.js.map +1 -0
  790. package/dist/esm/z-anchor-navigation.entry.js +8 -25
  791. package/dist/esm/z-anchor-navigation.entry.js.map +1 -0
  792. package/dist/esm/z-app-header-deprecated.entry.js +20 -53
  793. package/dist/esm/z-app-header-deprecated.entry.js.map +1 -0
  794. package/dist/esm/z-app-header_12.entry.js +148 -261
  795. package/dist/esm/z-app-header_12.entry.js.map +1 -0
  796. package/dist/esm/z-aria-alert.entry.js +5 -4
  797. package/dist/esm/z-aria-alert.entry.js.map +1 -0
  798. package/dist/esm/z-avatar.entry.js +11 -9
  799. package/dist/esm/z-avatar.entry.js.map +1 -0
  800. package/dist/esm/z-book-card-app.entry.js +16 -10
  801. package/dist/esm/z-book-card-app.entry.js.map +1 -0
  802. package/dist/esm/z-book-card-deprecated.entry.js +22 -10
  803. package/dist/esm/z-book-card-deprecated.entry.js.map +1 -0
  804. package/dist/esm/z-book-card.entry.js +21 -11
  805. package/dist/esm/z-book-card.entry.js.map +1 -0
  806. package/dist/esm/z-book-cover.entry.js +9 -6
  807. package/dist/esm/z-book-cover.entry.js.map +1 -0
  808. package/dist/esm/z-breadcrumb.entry.js +17 -24
  809. package/dist/esm/z-breadcrumb.entry.js.map +1 -0
  810. package/dist/esm/z-button-sort.entry.js +12 -9
  811. package/dist/esm/z-button-sort.entry.js.map +1 -0
  812. package/dist/esm/z-card.entry.js +10 -9
  813. package/dist/esm/z-card.entry.js.map +1 -0
  814. package/dist/esm/z-carousel.entry.js +28 -50
  815. package/dist/esm/z-carousel.entry.js.map +1 -0
  816. package/dist/esm/z-chip.entry.js +11 -9
  817. package/dist/esm/z-chip.entry.js.map +1 -0
  818. package/dist/esm/z-color-picker.entry.js +16 -24
  819. package/dist/esm/z-color-picker.entry.js.map +1 -0
  820. package/dist/esm/z-combobox.entry.js +24 -27
  821. package/dist/esm/z-combobox.entry.js.map +1 -0
  822. package/dist/esm/z-cover-hero.entry.js +9 -18
  823. package/dist/esm/z-cover-hero.entry.js.map +1 -0
  824. package/dist/esm/z-date-picker.entry.js +329 -352
  825. package/dist/esm/z-date-picker.entry.js.map +1 -0
  826. package/dist/esm/z-dragdrop-area_2.entry.js +20 -18
  827. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -0
  828. package/dist/esm/z-file-upload.entry.js +16 -21
  829. package/dist/esm/z-file-upload.entry.js.map +1 -0
  830. package/dist/esm/z-file.entry.js +11 -6
  831. package/dist/esm/z-file.entry.js.map +1 -0
  832. package/dist/esm/z-ghost-loading.entry.js +7 -4
  833. package/dist/esm/z-ghost-loading.entry.js.map +1 -0
  834. package/dist/esm/z-info-box.entry.js +8 -5
  835. package/dist/esm/z-info-box.entry.js.map +1 -0
  836. package/dist/esm/z-info-reveal.entry.js +11 -20
  837. package/dist/esm/z-info-reveal.entry.js.map +1 -0
  838. package/dist/esm/z-logo.entry.js +13 -4
  839. package/dist/esm/z-logo.entry.js.map +1 -0
  840. package/dist/esm/z-menu-deprecated.entry.js +12 -23
  841. package/dist/esm/z-menu-deprecated.entry.js.map +1 -0
  842. package/dist/esm/z-menu-section-deprecated.entry.js +11 -10
  843. package/dist/esm/z-menu-section-deprecated.entry.js.map +1 -0
  844. package/dist/esm/z-menu-section.entry.js +14 -15
  845. package/dist/esm/z-menu-section.entry.js.map +1 -0
  846. package/dist/esm/z-menu.entry.js +15 -27
  847. package/dist/esm/z-menu.entry.js.map +1 -0
  848. package/dist/esm/z-myz-card-alert.entry.js +12 -5
  849. package/dist/esm/z-myz-card-alert.entry.js.map +1 -0
  850. package/dist/esm/z-myz-card-dictionary.entry.js +10 -9
  851. package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -0
  852. package/dist/esm/z-myz-card-footer-sections.entry.js +7 -4
  853. package/dist/esm/z-myz-card-footer-sections.entry.js.map +1 -0
  854. package/dist/esm/z-myz-card-footer.entry.js +13 -7
  855. package/dist/esm/z-myz-card-footer.entry.js.map +1 -0
  856. package/dist/esm/z-myz-card-icon.entry.js +8 -6
  857. package/dist/esm/z-myz-card-icon.entry.js.map +1 -0
  858. package/dist/esm/z-myz-card-info.entry.js +11 -8
  859. package/dist/esm/z-myz-card-info.entry.js.map +1 -0
  860. package/dist/esm/z-myz-card-list.entry.js +8 -4
  861. package/dist/esm/z-myz-card-list.entry.js.map +1 -0
  862. package/dist/esm/z-myz-card_4.entry.js +29 -16
  863. package/dist/esm/z-myz-card_4.entry.js.map +1 -0
  864. package/dist/esm/z-myz-list-item.entry.js +15 -9
  865. package/dist/esm/z-myz-list-item.entry.js.map +1 -0
  866. package/dist/esm/z-myz-list.entry.js +10 -7
  867. package/dist/esm/z-myz-list.entry.js.map +1 -0
  868. package/dist/esm/z-navigation-tabs.entry.js +16 -28
  869. package/dist/esm/z-navigation-tabs.entry.js.map +1 -0
  870. package/dist/esm/z-notification.entry.js +11 -10
  871. package/dist/esm/z-notification.entry.js.map +1 -0
  872. package/dist/esm/z-otp.entry.js +12 -10
  873. package/dist/esm/z-otp.entry.js.map +1 -0
  874. package/dist/esm/z-pagination.entry.js +16 -28
  875. package/dist/esm/z-pagination.entry.js.map +1 -0
  876. package/dist/esm/z-panel-elem.entry.js +15 -7
  877. package/dist/esm/z-panel-elem.entry.js.map +1 -0
  878. package/dist/esm/z-popover.entry.js +17 -35
  879. package/dist/esm/z-popover.entry.js.map +1 -0
  880. package/dist/esm/z-range-picker.entry.js +29 -38
  881. package/dist/esm/z-range-picker.entry.js.map +1 -0
  882. package/dist/esm/z-result-card.entry.js +14 -7
  883. package/dist/esm/z-result-card.entry.js.map +1 -0
  884. package/dist/esm/z-section-title.entry.js +8 -12
  885. package/dist/esm/z-section-title.entry.js.map +1 -0
  886. package/dist/esm/z-select.entry.js +23 -21
  887. package/dist/esm/z-select.entry.js.map +1 -0
  888. package/dist/esm/z-skip-to-content.entry.js +11 -8
  889. package/dist/esm/z-skip-to-content.entry.js.map +1 -0
  890. package/dist/esm/z-slideshow.entry.js +14 -12
  891. package/dist/esm/z-slideshow.entry.js.map +1 -0
  892. package/dist/esm/z-stepper-item.entry.js +12 -4
  893. package/dist/esm/z-stepper-item.entry.js.map +1 -0
  894. package/dist/esm/z-stepper.entry.js +7 -4
  895. package/dist/esm/z-stepper.entry.js.map +1 -0
  896. package/dist/esm/z-table.entry.js +16 -19
  897. package/dist/esm/z-table.entry.js.map +1 -0
  898. package/dist/esm/z-tbody.entry.js +3 -14
  899. package/dist/esm/z-tbody.entry.js.map +1 -0
  900. package/dist/esm/z-td.entry.js +4 -56
  901. package/dist/esm/z-td.entry.js.map +1 -0
  902. package/dist/esm/z-tfoot.entry.js +3 -18
  903. package/dist/esm/z-tfoot.entry.js.map +1 -0
  904. package/dist/esm/z-th.entry.js +4 -83
  905. package/dist/esm/z-th.entry.js.map +1 -0
  906. package/dist/esm/z-thead.entry.js +3 -23
  907. package/dist/esm/z-thead.entry.js.map +1 -0
  908. package/dist/esm/z-toast-notification-list.entry.js +10 -11
  909. package/dist/esm/z-toast-notification-list.entry.js.map +1 -0
  910. package/dist/esm/z-toast-notification.entry.js +3955 -3936
  911. package/dist/esm/z-toast-notification.entry.js.map +1 -0
  912. package/dist/esm/z-toggle-button.entry.js +10 -8
  913. package/dist/esm/z-toggle-button.entry.js.map +1 -0
  914. package/dist/esm/z-toggle-switch.entry.js +12 -13
  915. package/dist/esm/z-toggle-switch.entry.js.map +1 -0
  916. package/dist/esm/z-tool.entry.js +27 -28
  917. package/dist/esm/z-tool.entry.js.map +1 -0
  918. package/dist/esm/z-toolbar.entry.js +10 -7
  919. package/dist/esm/z-toolbar.entry.js.map +1 -0
  920. package/dist/esm/z-tooltip.entry.js +9 -15
  921. package/dist/esm/z-tooltip.entry.js.map +1 -0
  922. package/dist/esm/z-tr.entry.js +8 -82
  923. package/dist/esm/z-tr.entry.js.map +1 -0
  924. package/dist/esm/z-tree-list.entry.js +12 -10
  925. package/dist/esm/z-tree-list.entry.js.map +1 -0
  926. package/dist/esm/z-visually-hidden.entry.js +7 -4
  927. package/dist/esm/z-visually-hidden.entry.js.map +1 -0
  928. package/dist/types/components/book-card/z-book-card/index.d.ts +2 -2
  929. package/dist/types/components/book-card/z-book-card-app/index.d.ts +2 -2
  930. package/dist/types/components/date-picker/z-date-picker/index.d.ts +2 -2
  931. package/dist/types/components/date-picker/z-range-picker/index.d.ts +2 -2
  932. package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +2 -2
  933. package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +2 -2
  934. package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +2 -2
  935. package/dist/types/components/deprecated/z-menu-section-deprecated/index.d.ts +2 -2
  936. package/dist/types/components/deprecated/z-section-title/index.d.ts +1 -2
  937. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +2 -2
  938. package/dist/types/components/file-upload/z-file/index.d.ts +2 -2
  939. package/dist/types/components/file-upload/z-file-upload/index.d.ts +2 -2
  940. package/dist/types/components/list/z-list/index.d.ts +1 -2
  941. package/dist/types/components/list/z-list-element/index.d.ts +2 -2
  942. package/dist/types/components/list/z-list-group/index.d.ts +1 -2
  943. package/dist/types/components/list/z-tree-list/index.d.ts +2 -2
  944. package/dist/types/components/table/cells/z-td/index.d.ts +2 -2
  945. package/dist/types/components/table/cells/z-th/index.d.ts +1 -2
  946. package/dist/types/components/table/z-table/index.d.ts +1 -2
  947. package/dist/types/components/table/z-tbody/index.d.ts +1 -2
  948. package/dist/types/components/table/z-tfoot/index.d.ts +1 -2
  949. package/dist/types/components/table/z-thead/index.d.ts +1 -2
  950. package/dist/types/components/table/z-tr/index.d.ts +2 -2
  951. package/dist/types/components/z-accordion/index.d.ts +2 -2
  952. package/dist/types/components/z-anchor-navigation/index.d.ts +1 -2
  953. package/dist/types/components/z-app-header/index.d.ts +2 -2
  954. package/dist/types/components/z-aria-alert/index.d.ts +1 -2
  955. package/dist/types/components/z-avatar/index.d.ts +1 -2
  956. package/dist/types/components/z-book-cover/index.d.ts +1 -2
  957. package/dist/types/components/z-breadcrumb/index.d.ts +2 -2
  958. package/dist/types/components/z-button/index.d.ts +2 -5
  959. package/dist/types/components/z-button-sort/index.d.ts +2 -2
  960. package/dist/types/components/z-card/index.d.ts +1 -2
  961. package/dist/types/components/z-carousel/index.d.ts +2 -5
  962. package/dist/types/components/z-carousel/index.stories.d.ts +2 -2
  963. package/dist/types/components/z-chip/index.d.ts +2 -2
  964. package/dist/types/components/z-color-picker/index.d.ts +2 -2
  965. package/dist/types/components/z-combobox/index.d.ts +2 -2
  966. package/dist/types/components/z-cover-hero/index.d.ts +1 -2
  967. package/dist/types/components/z-divider/index.d.ts +1 -2
  968. package/dist/types/components/z-ghost-loading/index.d.ts +1 -2
  969. package/dist/types/components/z-icon/index.d.ts +1 -2
  970. package/dist/types/components/z-info-box/index.d.ts +2 -2
  971. package/dist/types/components/z-info-reveal/index.d.ts +1 -2
  972. package/dist/types/components/z-input/index.d.ts +2 -2
  973. package/dist/types/components/z-input-message/index.d.ts +1 -2
  974. package/dist/types/components/z-logo/index.d.ts +1 -2
  975. package/dist/types/components/z-menu/index.d.ts +2 -2
  976. package/dist/types/components/z-menu-section/index.d.ts +2 -2
  977. package/dist/types/components/z-modal/index.d.ts +2 -2
  978. package/dist/types/components/z-navigation-tabs/index.d.ts +2 -2
  979. package/dist/types/components/z-notification/index.d.ts +5 -2
  980. package/dist/types/components/z-notification/index.stories.d.ts +12 -1
  981. package/dist/types/components/z-offcanvas/index.d.ts +2 -2
  982. package/dist/types/components/z-pagination/index.d.ts +2 -2
  983. package/dist/types/components/z-panel-elem/index.d.ts +1 -2
  984. package/dist/types/components/z-popover/index.d.ts +2 -2
  985. package/dist/types/components/z-result-card/index.d.ts +1 -2
  986. package/dist/types/components/z-searchbar/index.d.ts +2 -2
  987. package/dist/types/components/z-select/index.d.ts +2 -2
  988. package/dist/types/components/z-skip-to-content/index.d.ts +1 -2
  989. package/dist/types/components/z-stepper/index.d.ts +1 -2
  990. package/dist/types/components/z-stepper-item/index.d.ts +1 -2
  991. package/dist/types/components/z-tag/index.d.ts +1 -2
  992. package/dist/types/components/z-toast-notification/index.d.ts +2 -2
  993. package/dist/types/components/z-toast-notification-list/index.d.ts +1 -2
  994. package/dist/types/components/z-toggle-button/index.d.ts +2 -2
  995. package/dist/types/components/z-toggle-switch/index.d.ts +2 -2
  996. package/dist/types/components/z-tool/index.d.ts +2 -2
  997. package/dist/types/components/z-toolbar/index.d.ts +1 -2
  998. package/dist/types/components/z-tooltip/index.d.ts +2 -2
  999. package/dist/types/components/z-visually-hidden/index.d.ts +1 -2
  1000. package/dist/types/components.d.ts +178 -1299
  1001. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +9 -0
  1002. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +11 -0
  1003. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +16 -0
  1004. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/typography/index.stories.d.ts +96 -0
  1005. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +1 -2
  1006. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +2 -2
  1007. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +1 -2
  1008. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +1 -2
  1009. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
  1010. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +1 -2
  1011. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +1 -2
  1012. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +1 -2
  1013. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +1 -2
  1014. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +2 -2
  1015. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +1 -2
  1016. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +1 -2
  1017. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +2 -2
  1018. package/dist/types/snowflakes/myz/z-alert/index.d.ts +1 -2
  1019. package/dist/types/snowflakes/myz/z-otp/index.d.ts +2 -2
  1020. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +1 -2
  1021. package/dist/types/stencil-public-runtime.d.ts +8 -194
  1022. package/dist/web-components-library/index.esm.js +2 -1
  1023. package/dist/web-components-library/index.esm.js.map +1 -0
  1024. package/dist/web-components-library/p-061e28d6.js +2 -0
  1025. package/dist/web-components-library/p-061e28d6.js.map +1 -0
  1026. package/dist/web-components-library/p-08b16bb4.entry.js +2 -0
  1027. package/dist/web-components-library/p-08b16bb4.entry.js.map +1 -0
  1028. package/dist/web-components-library/p-0b03b0e3.js +2 -0
  1029. package/dist/web-components-library/p-0b03b0e3.js.map +1 -0
  1030. package/dist/web-components-library/p-0b9fc73c.entry.js +2 -0
  1031. package/dist/web-components-library/p-0b9fc73c.entry.js.map +1 -0
  1032. package/dist/web-components-library/p-146a4d4b.entry.js +2 -0
  1033. package/dist/web-components-library/p-146a4d4b.entry.js.map +1 -0
  1034. package/dist/web-components-library/p-252893a8.entry.js +2 -0
  1035. package/dist/web-components-library/p-252893a8.entry.js.map +1 -0
  1036. package/dist/web-components-library/p-2bb84080.entry.js +2 -0
  1037. package/dist/web-components-library/p-2bb84080.entry.js.map +1 -0
  1038. package/dist/web-components-library/p-31bd2a1c.entry.js +2 -0
  1039. package/dist/web-components-library/p-31bd2a1c.entry.js.map +1 -0
  1040. package/dist/web-components-library/p-32bc8a40.entry.js +2 -0
  1041. package/dist/web-components-library/p-32bc8a40.entry.js.map +1 -0
  1042. package/dist/web-components-library/p-36b84a8e.entry.js +2 -0
  1043. package/dist/web-components-library/p-36b84a8e.entry.js.map +1 -0
  1044. package/dist/web-components-library/p-3977b0ae.entry.js +2 -0
  1045. package/dist/web-components-library/p-3977b0ae.entry.js.map +1 -0
  1046. package/dist/web-components-library/p-41891d34.entry.js +2 -0
  1047. package/dist/web-components-library/p-41891d34.entry.js.map +1 -0
  1048. package/dist/web-components-library/p-42abfe3b.entry.js +2 -0
  1049. package/dist/web-components-library/p-42abfe3b.entry.js.map +1 -0
  1050. package/dist/web-components-library/p-447a6391.entry.js +2 -0
  1051. package/dist/web-components-library/p-447a6391.entry.js.map +1 -0
  1052. package/dist/web-components-library/p-4573c419.js +2 -0
  1053. package/dist/web-components-library/p-4573c419.js.map +1 -0
  1054. package/dist/web-components-library/p-463e0ac0.entry.js +2 -0
  1055. package/dist/web-components-library/p-463e0ac0.entry.js.map +1 -0
  1056. package/dist/web-components-library/p-47b59f05.entry.js +2 -0
  1057. package/dist/web-components-library/p-47b59f05.entry.js.map +1 -0
  1058. package/dist/web-components-library/p-5145a606.js +2 -0
  1059. package/dist/web-components-library/p-5145a606.js.map +1 -0
  1060. package/dist/web-components-library/p-5372d49f.entry.js +2 -0
  1061. package/dist/web-components-library/p-5372d49f.entry.js.map +1 -0
  1062. package/dist/web-components-library/p-565c1815.entry.js +2 -0
  1063. package/dist/web-components-library/p-565c1815.entry.js.map +1 -0
  1064. package/dist/web-components-library/p-5b577b6f.entry.js +2 -0
  1065. package/dist/web-components-library/p-5b577b6f.entry.js.map +1 -0
  1066. package/dist/web-components-library/p-5fde1b41.entry.js +2 -0
  1067. package/dist/web-components-library/p-5fde1b41.entry.js.map +1 -0
  1068. package/dist/web-components-library/p-6164feb9.entry.js +2 -0
  1069. package/dist/web-components-library/p-6164feb9.entry.js.map +1 -0
  1070. package/dist/web-components-library/p-623fdee4.js +2 -0
  1071. package/dist/web-components-library/p-623fdee4.js.map +1 -0
  1072. package/dist/web-components-library/p-64d5fdd8.entry.js +2 -0
  1073. package/dist/web-components-library/p-64d5fdd8.entry.js.map +1 -0
  1074. package/dist/web-components-library/p-662119bb.entry.js +2 -0
  1075. package/dist/web-components-library/p-662119bb.entry.js.map +1 -0
  1076. package/dist/web-components-library/p-66c0f993.entry.js +2 -0
  1077. package/dist/web-components-library/p-66c0f993.entry.js.map +1 -0
  1078. package/dist/web-components-library/p-68278c42.entry.js +2 -0
  1079. package/dist/web-components-library/p-68278c42.entry.js.map +1 -0
  1080. package/dist/web-components-library/p-68d91a93.js +2 -0
  1081. package/dist/web-components-library/p-68d91a93.js.map +1 -0
  1082. package/dist/web-components-library/p-6c6a655e.entry.js +2 -0
  1083. package/dist/web-components-library/p-6c6a655e.entry.js.map +1 -0
  1084. package/{www/build/p-5c85b7f4.entry.js → dist/web-components-library/p-6c9cd6be.entry.js} +2 -1
  1085. package/dist/web-components-library/p-6c9cd6be.entry.js.map +1 -0
  1086. package/dist/web-components-library/p-6e13aa8e.entry.js +2 -0
  1087. package/dist/web-components-library/p-6e13aa8e.entry.js.map +1 -0
  1088. package/dist/web-components-library/p-75c4a726.js +3 -0
  1089. package/dist/web-components-library/p-75c4a726.js.map +1 -0
  1090. package/dist/web-components-library/p-767b66ca.entry.js +2 -0
  1091. package/dist/web-components-library/p-767b66ca.entry.js.map +1 -0
  1092. package/dist/web-components-library/p-78af415b.entry.js +2 -0
  1093. package/dist/web-components-library/p-78af415b.entry.js.map +1 -0
  1094. package/dist/web-components-library/p-7a4f6a5b.entry.js +2 -0
  1095. package/dist/web-components-library/p-7a4f6a5b.entry.js.map +1 -0
  1096. package/dist/web-components-library/p-7ade2a71.entry.js +2 -0
  1097. package/dist/web-components-library/p-7ade2a71.entry.js.map +1 -0
  1098. package/dist/web-components-library/p-7b837e11.js +2 -0
  1099. package/dist/web-components-library/p-7b837e11.js.map +1 -0
  1100. package/dist/web-components-library/p-7d655f96.entry.js +2 -0
  1101. package/dist/web-components-library/p-7d655f96.entry.js.map +1 -0
  1102. package/dist/web-components-library/p-80b04954.entry.js +2 -0
  1103. package/dist/web-components-library/p-80b04954.entry.js.map +1 -0
  1104. package/dist/web-components-library/p-82eeea83.entry.js +2 -0
  1105. package/dist/web-components-library/p-82eeea83.entry.js.map +1 -0
  1106. package/dist/web-components-library/p-8503c87a.entry.js +2 -0
  1107. package/dist/web-components-library/p-8503c87a.entry.js.map +1 -0
  1108. package/dist/web-components-library/p-86618221.js +2 -0
  1109. package/dist/web-components-library/p-86618221.js.map +1 -0
  1110. package/dist/web-components-library/p-88a9865c.entry.js +2 -0
  1111. package/dist/web-components-library/p-88a9865c.entry.js.map +1 -0
  1112. package/dist/web-components-library/p-8b367393.js +2 -0
  1113. package/dist/web-components-library/p-8b367393.js.map +1 -0
  1114. package/dist/web-components-library/p-8c52635e.entry.js +2 -0
  1115. package/dist/web-components-library/p-8c52635e.entry.js.map +1 -0
  1116. package/dist/web-components-library/p-8ee2a9d2.entry.js +2 -0
  1117. package/dist/web-components-library/p-8ee2a9d2.entry.js.map +1 -0
  1118. package/dist/web-components-library/p-8fd50cc5.entry.js +2 -0
  1119. package/dist/web-components-library/p-8fd50cc5.entry.js.map +1 -0
  1120. package/dist/web-components-library/p-8ff5b76b.entry.js +2 -0
  1121. package/dist/web-components-library/p-8ff5b76b.entry.js.map +1 -0
  1122. package/dist/web-components-library/p-92f13701.entry.js +2 -0
  1123. package/dist/web-components-library/p-92f13701.entry.js.map +1 -0
  1124. package/dist/web-components-library/p-93bb075f.entry.js +2 -0
  1125. package/dist/web-components-library/p-93bb075f.entry.js.map +1 -0
  1126. package/dist/web-components-library/p-93d349ee.entry.js +2 -0
  1127. package/dist/web-components-library/p-93d349ee.entry.js.map +1 -0
  1128. package/dist/web-components-library/p-943db3a8.entry.js +2 -0
  1129. package/dist/web-components-library/p-943db3a8.entry.js.map +1 -0
  1130. package/dist/web-components-library/p-9814f864.entry.js +2 -0
  1131. package/dist/web-components-library/p-9814f864.entry.js.map +1 -0
  1132. package/dist/web-components-library/p-988a58dd.entry.js +2 -0
  1133. package/dist/web-components-library/p-988a58dd.entry.js.map +1 -0
  1134. package/dist/web-components-library/p-9ae0c0c6.entry.js +2 -0
  1135. package/dist/web-components-library/p-9ae0c0c6.entry.js.map +1 -0
  1136. package/dist/web-components-library/p-9c816a3b.js +2 -0
  1137. package/dist/web-components-library/p-9c816a3b.js.map +1 -0
  1138. package/dist/web-components-library/p-a2ee659d.entry.js +2 -0
  1139. package/dist/web-components-library/p-a2ee659d.entry.js.map +1 -0
  1140. package/dist/web-components-library/p-a3f9a5da.entry.js +2 -0
  1141. package/dist/web-components-library/p-a3f9a5da.entry.js.map +1 -0
  1142. package/dist/web-components-library/p-a4d2cf55.entry.js +2 -0
  1143. package/dist/web-components-library/p-a4d2cf55.entry.js.map +1 -0
  1144. package/dist/web-components-library/p-a6c07588.entry.js +2 -0
  1145. package/dist/web-components-library/p-a6c07588.entry.js.map +1 -0
  1146. package/dist/web-components-library/p-a8790237.entry.js +2 -0
  1147. package/dist/web-components-library/p-a8790237.entry.js.map +1 -0
  1148. package/dist/web-components-library/p-aaa96c12.entry.js +17 -0
  1149. package/dist/web-components-library/p-aaa96c12.entry.js.map +1 -0
  1150. package/dist/web-components-library/p-b0324c7d.entry.js +2 -0
  1151. package/dist/web-components-library/p-b0324c7d.entry.js.map +1 -0
  1152. package/dist/web-components-library/p-b421424f.entry.js +2 -0
  1153. package/dist/web-components-library/p-b421424f.entry.js.map +1 -0
  1154. package/dist/web-components-library/p-bbc20250.entry.js +2 -0
  1155. package/dist/web-components-library/p-bbc20250.entry.js.map +1 -0
  1156. package/dist/web-components-library/p-bd2156cc.entry.js +2 -0
  1157. package/dist/web-components-library/p-bd2156cc.entry.js.map +1 -0
  1158. package/dist/web-components-library/p-bd76ca35.entry.js +2 -0
  1159. package/dist/web-components-library/p-bd76ca35.entry.js.map +1 -0
  1160. package/dist/web-components-library/p-be1c414e.entry.js +2 -0
  1161. package/dist/web-components-library/p-be1c414e.entry.js.map +1 -0
  1162. package/dist/web-components-library/p-c3e03e41.entry.js +2 -0
  1163. package/dist/web-components-library/p-c3e03e41.entry.js.map +1 -0
  1164. package/dist/web-components-library/p-c9b81cab.entry.js +2 -0
  1165. package/dist/web-components-library/p-c9b81cab.entry.js.map +1 -0
  1166. package/dist/web-components-library/p-caced575.entry.js +2 -0
  1167. package/dist/web-components-library/p-caced575.entry.js.map +1 -0
  1168. package/dist/web-components-library/p-cb395500.js +2 -0
  1169. package/dist/web-components-library/p-cb395500.js.map +1 -0
  1170. package/dist/web-components-library/p-cbc09112.entry.js +2 -0
  1171. package/dist/web-components-library/p-cbc09112.entry.js.map +1 -0
  1172. package/dist/web-components-library/p-d080b624.entry.js +2 -0
  1173. package/dist/web-components-library/p-d080b624.entry.js.map +1 -0
  1174. package/dist/web-components-library/p-d6f43903.entry.js +2 -0
  1175. package/dist/web-components-library/p-d6f43903.entry.js.map +1 -0
  1176. package/dist/web-components-library/p-da3abb97.entry.js +2 -0
  1177. package/dist/web-components-library/p-da3abb97.entry.js.map +1 -0
  1178. package/dist/web-components-library/p-e1255160.js +2 -0
  1179. package/dist/web-components-library/p-e1255160.js.map +1 -0
  1180. package/dist/web-components-library/{p-BanpkIXZ.js → p-eb15536d.js} +2 -1
  1181. package/dist/web-components-library/p-eb15536d.js.map +1 -0
  1182. package/dist/web-components-library/p-ec1270db.entry.js +2 -0
  1183. package/dist/web-components-library/p-ec1270db.entry.js.map +1 -0
  1184. package/dist/web-components-library/p-efa6b991.entry.js +2 -0
  1185. package/dist/web-components-library/p-efa6b991.entry.js.map +1 -0
  1186. package/dist/web-components-library/p-f4b987ed.entry.js +2 -0
  1187. package/dist/web-components-library/p-f4b987ed.entry.js.map +1 -0
  1188. package/dist/web-components-library/p-f74973b5.entry.js +8 -0
  1189. package/dist/web-components-library/p-f74973b5.entry.js.map +1 -0
  1190. package/dist/web-components-library/p-f7e65eb0.entry.js +2 -0
  1191. package/dist/web-components-library/p-f7e65eb0.entry.js.map +1 -0
  1192. package/dist/web-components-library/p-ff89d630.entry.js +2 -0
  1193. package/dist/web-components-library/p-ff89d630.entry.js.map +1 -0
  1194. package/dist/web-components-library/web-components-library.esm.js +2 -1
  1195. package/dist/web-components-library/web-components-library.esm.js.map +1 -0
  1196. package/loader/package.json +11 -0
  1197. package/package.json +10 -14
  1198. package/react/components.js +92 -87
  1199. package/react/components.js.map +1 -0
  1200. package/react/index.js +18 -1
  1201. package/react/index.js.map +1 -0
  1202. package/react/react-component-lib/createComponent.js +39 -11
  1203. package/react/react-component-lib/createComponent.js.map +1 -0
  1204. package/react/react-component-lib/createOverlayComponent.js +56 -35
  1205. package/react/react-component-lib/createOverlayComponent.js.map +1 -0
  1206. package/react/react-component-lib/index.js +8 -2
  1207. package/react/react-component-lib/index.js.map +1 -0
  1208. package/react/react-component-lib/interfaces.js +3 -1
  1209. package/react/react-component-lib/interfaces.js.map +1 -0
  1210. package/react/react-component-lib/utils/attachProps.js +20 -11
  1211. package/react/react-component-lib/utils/attachProps.js.map +1 -0
  1212. package/react/react-component-lib/utils/case.js +8 -2
  1213. package/react/react-component-lib/utils/case.js.map +1 -0
  1214. package/react/react-component-lib/utils/dev.js +9 -3
  1215. package/react/react-component-lib/utils/dev.js.map +1 -0
  1216. package/react/react-component-lib/utils/index.js +35 -10
  1217. package/react/react-component-lib/utils/index.js.map +1 -0
  1218. package/www/build/index.esm.js +2 -1
  1219. package/www/build/index.esm.js.map +1 -0
  1220. package/www/build/p-061e28d6.js +2 -0
  1221. package/www/build/p-061e28d6.js.map +1 -0
  1222. package/www/build/p-08b16bb4.entry.js +2 -0
  1223. package/www/build/p-08b16bb4.entry.js.map +1 -0
  1224. package/www/build/p-0b03b0e3.js +2 -0
  1225. package/www/build/p-0b03b0e3.js.map +1 -0
  1226. package/www/build/p-0b9fc73c.entry.js +2 -0
  1227. package/www/build/p-0b9fc73c.entry.js.map +1 -0
  1228. package/www/build/p-146a4d4b.entry.js +2 -0
  1229. package/www/build/p-146a4d4b.entry.js.map +1 -0
  1230. package/www/build/p-252893a8.entry.js +2 -0
  1231. package/www/build/p-252893a8.entry.js.map +1 -0
  1232. package/www/build/p-2bb84080.entry.js +2 -0
  1233. package/www/build/p-2bb84080.entry.js.map +1 -0
  1234. package/www/build/p-31bd2a1c.entry.js +2 -0
  1235. package/www/build/p-31bd2a1c.entry.js.map +1 -0
  1236. package/www/build/p-32bc8a40.entry.js +2 -0
  1237. package/www/build/p-32bc8a40.entry.js.map +1 -0
  1238. package/www/build/p-36b84a8e.entry.js +2 -0
  1239. package/www/build/p-36b84a8e.entry.js.map +1 -0
  1240. package/www/build/p-3977b0ae.entry.js +2 -0
  1241. package/www/build/p-3977b0ae.entry.js.map +1 -0
  1242. package/www/build/p-41891d34.entry.js +2 -0
  1243. package/www/build/p-41891d34.entry.js.map +1 -0
  1244. package/www/build/p-42abfe3b.entry.js +2 -0
  1245. package/www/build/p-42abfe3b.entry.js.map +1 -0
  1246. package/www/build/p-447a6391.entry.js +2 -0
  1247. package/www/build/p-447a6391.entry.js.map +1 -0
  1248. package/www/build/p-4573c419.js +2 -0
  1249. package/www/build/p-4573c419.js.map +1 -0
  1250. package/www/build/p-463e0ac0.entry.js +2 -0
  1251. package/www/build/p-463e0ac0.entry.js.map +1 -0
  1252. package/www/build/p-47b59f05.entry.js +2 -0
  1253. package/www/build/p-47b59f05.entry.js.map +1 -0
  1254. package/www/build/p-5145a606.js +2 -0
  1255. package/www/build/p-5145a606.js.map +1 -0
  1256. package/www/build/p-5372d49f.entry.js +2 -0
  1257. package/www/build/p-5372d49f.entry.js.map +1 -0
  1258. package/www/build/p-565c1815.entry.js +2 -0
  1259. package/www/build/p-565c1815.entry.js.map +1 -0
  1260. package/www/build/p-5b577b6f.entry.js +2 -0
  1261. package/www/build/p-5b577b6f.entry.js.map +1 -0
  1262. package/www/build/p-5fde1b41.entry.js +2 -0
  1263. package/www/build/p-5fde1b41.entry.js.map +1 -0
  1264. package/www/build/p-6164feb9.entry.js +2 -0
  1265. package/www/build/p-6164feb9.entry.js.map +1 -0
  1266. package/www/build/p-623fdee4.js +2 -0
  1267. package/www/build/p-623fdee4.js.map +1 -0
  1268. package/www/build/p-64d5fdd8.entry.js +2 -0
  1269. package/www/build/p-64d5fdd8.entry.js.map +1 -0
  1270. package/www/build/p-662119bb.entry.js +2 -0
  1271. package/www/build/p-662119bb.entry.js.map +1 -0
  1272. package/www/build/p-66c0f993.entry.js +2 -0
  1273. package/www/build/p-66c0f993.entry.js.map +1 -0
  1274. package/www/build/p-68278c42.entry.js +2 -0
  1275. package/www/build/p-68278c42.entry.js.map +1 -0
  1276. package/www/build/p-68d91a93.js +2 -0
  1277. package/www/build/p-68d91a93.js.map +1 -0
  1278. package/www/build/p-6c6a655e.entry.js +2 -0
  1279. package/www/build/p-6c6a655e.entry.js.map +1 -0
  1280. package/{dist/web-components-library/p-5c85b7f4.entry.js → www/build/p-6c9cd6be.entry.js} +2 -1
  1281. package/www/build/p-6c9cd6be.entry.js.map +1 -0
  1282. package/www/build/p-6e13aa8e.entry.js +2 -0
  1283. package/www/build/p-6e13aa8e.entry.js.map +1 -0
  1284. package/www/build/p-75c4a726.js +3 -0
  1285. package/www/build/p-75c4a726.js.map +1 -0
  1286. package/www/build/p-767b66ca.entry.js +2 -0
  1287. package/www/build/p-767b66ca.entry.js.map +1 -0
  1288. package/www/build/p-78af415b.entry.js +2 -0
  1289. package/www/build/p-78af415b.entry.js.map +1 -0
  1290. package/www/build/p-7a4f6a5b.entry.js +2 -0
  1291. package/www/build/p-7a4f6a5b.entry.js.map +1 -0
  1292. package/www/build/p-7ade2a71.entry.js +2 -0
  1293. package/www/build/p-7ade2a71.entry.js.map +1 -0
  1294. package/www/build/p-7b837e11.js +2 -0
  1295. package/www/build/p-7b837e11.js.map +1 -0
  1296. package/www/build/p-7d655f96.entry.js +2 -0
  1297. package/www/build/p-7d655f96.entry.js.map +1 -0
  1298. package/www/build/p-80b04954.entry.js +2 -0
  1299. package/www/build/p-80b04954.entry.js.map +1 -0
  1300. package/www/build/p-82eeea83.entry.js +2 -0
  1301. package/www/build/p-82eeea83.entry.js.map +1 -0
  1302. package/www/build/p-8503c87a.entry.js +2 -0
  1303. package/www/build/p-8503c87a.entry.js.map +1 -0
  1304. package/www/build/p-86618221.js +2 -0
  1305. package/www/build/p-86618221.js.map +1 -0
  1306. package/www/build/p-88a9865c.entry.js +2 -0
  1307. package/www/build/p-88a9865c.entry.js.map +1 -0
  1308. package/www/build/p-8b367393.js +2 -0
  1309. package/www/build/p-8b367393.js.map +1 -0
  1310. package/www/build/p-8c52635e.entry.js +2 -0
  1311. package/www/build/p-8c52635e.entry.js.map +1 -0
  1312. package/www/build/p-8ee2a9d2.entry.js +2 -0
  1313. package/www/build/p-8ee2a9d2.entry.js.map +1 -0
  1314. package/www/build/p-8fd50cc5.entry.js +2 -0
  1315. package/www/build/p-8fd50cc5.entry.js.map +1 -0
  1316. package/www/build/p-8ff5b76b.entry.js +2 -0
  1317. package/www/build/p-8ff5b76b.entry.js.map +1 -0
  1318. package/www/build/p-92f13701.entry.js +2 -0
  1319. package/www/build/p-92f13701.entry.js.map +1 -0
  1320. package/www/build/p-93bb075f.entry.js +2 -0
  1321. package/www/build/p-93bb075f.entry.js.map +1 -0
  1322. package/www/build/p-93d349ee.entry.js +2 -0
  1323. package/www/build/p-93d349ee.entry.js.map +1 -0
  1324. package/www/build/p-943db3a8.entry.js +2 -0
  1325. package/www/build/p-943db3a8.entry.js.map +1 -0
  1326. package/www/build/p-9814f864.entry.js +2 -0
  1327. package/www/build/p-9814f864.entry.js.map +1 -0
  1328. package/www/build/p-988a58dd.entry.js +2 -0
  1329. package/www/build/p-988a58dd.entry.js.map +1 -0
  1330. package/www/build/p-9ae0c0c6.entry.js +2 -0
  1331. package/www/build/p-9ae0c0c6.entry.js.map +1 -0
  1332. package/www/build/p-9c816a3b.js +2 -0
  1333. package/www/build/p-9c816a3b.js.map +1 -0
  1334. package/www/build/p-a2ee659d.entry.js +2 -0
  1335. package/www/build/p-a2ee659d.entry.js.map +1 -0
  1336. package/www/build/p-a3f9a5da.entry.js +2 -0
  1337. package/www/build/p-a3f9a5da.entry.js.map +1 -0
  1338. package/www/build/p-a4d2cf55.entry.js +2 -0
  1339. package/www/build/p-a4d2cf55.entry.js.map +1 -0
  1340. package/www/build/p-a6c07588.entry.js +2 -0
  1341. package/www/build/p-a6c07588.entry.js.map +1 -0
  1342. package/www/build/p-a8790237.entry.js +2 -0
  1343. package/www/build/p-a8790237.entry.js.map +1 -0
  1344. package/www/build/p-aaa96c12.entry.js +17 -0
  1345. package/www/build/p-aaa96c12.entry.js.map +1 -0
  1346. package/www/build/p-b0324c7d.entry.js +2 -0
  1347. package/www/build/p-b0324c7d.entry.js.map +1 -0
  1348. package/www/build/p-b421424f.entry.js +2 -0
  1349. package/www/build/p-b421424f.entry.js.map +1 -0
  1350. package/www/build/p-bbc20250.entry.js +2 -0
  1351. package/www/build/p-bbc20250.entry.js.map +1 -0
  1352. package/www/build/p-bd2156cc.entry.js +2 -0
  1353. package/www/build/p-bd2156cc.entry.js.map +1 -0
  1354. package/www/build/p-bd76ca35.entry.js +2 -0
  1355. package/www/build/p-bd76ca35.entry.js.map +1 -0
  1356. package/www/build/p-be1c414e.entry.js +2 -0
  1357. package/www/build/p-be1c414e.entry.js.map +1 -0
  1358. package/www/build/p-c3e03e41.entry.js +2 -0
  1359. package/www/build/p-c3e03e41.entry.js.map +1 -0
  1360. package/www/build/p-c9b81cab.entry.js +2 -0
  1361. package/www/build/p-c9b81cab.entry.js.map +1 -0
  1362. package/www/build/p-caced575.entry.js +2 -0
  1363. package/www/build/p-caced575.entry.js.map +1 -0
  1364. package/www/build/p-cb395500.js +2 -0
  1365. package/www/build/p-cb395500.js.map +1 -0
  1366. package/www/build/p-cbc09112.entry.js +2 -0
  1367. package/www/build/p-cbc09112.entry.js.map +1 -0
  1368. package/www/build/p-d080b624.entry.js +2 -0
  1369. package/www/build/p-d080b624.entry.js.map +1 -0
  1370. package/www/build/p-d3d3edf1.js +2 -0
  1371. package/www/build/p-d6f43903.entry.js +2 -0
  1372. package/www/build/p-d6f43903.entry.js.map +1 -0
  1373. package/www/build/p-da3abb97.entry.js +2 -0
  1374. package/www/build/p-da3abb97.entry.js.map +1 -0
  1375. package/www/build/p-e1255160.js +2 -0
  1376. package/www/build/p-e1255160.js.map +1 -0
  1377. package/www/build/{p-BanpkIXZ.js → p-eb15536d.js} +2 -1
  1378. package/www/build/p-eb15536d.js.map +1 -0
  1379. package/www/build/p-ec1270db.entry.js +2 -0
  1380. package/www/build/p-ec1270db.entry.js.map +1 -0
  1381. package/www/build/p-efa6b991.entry.js +2 -0
  1382. package/www/build/p-efa6b991.entry.js.map +1 -0
  1383. package/www/build/p-f4b987ed.entry.js +2 -0
  1384. package/www/build/p-f4b987ed.entry.js.map +1 -0
  1385. package/www/build/p-f74973b5.entry.js +8 -0
  1386. package/www/build/p-f74973b5.entry.js.map +1 -0
  1387. package/www/build/p-f7e65eb0.entry.js +2 -0
  1388. package/www/build/p-f7e65eb0.entry.js.map +1 -0
  1389. package/www/build/p-ff89d630.entry.js +2 -0
  1390. package/www/build/p-ff89d630.entry.js.map +1 -0
  1391. package/www/build/web-components-library.esm.js +2 -1
  1392. package/www/build/web-components-library.esm.js.map +1 -0
  1393. package/www/index.html +1 -1
  1394. package/dist/cjs/_commonjsHelpers-CFO10eej.js +0 -7
  1395. package/dist/cjs/index-2H1EJ2Tl.js +0 -2683
  1396. package/dist/esm/_commonjsHelpers-B85MJLTf.js +0 -5
  1397. package/dist/esm/index-ByN2sYu6.js +0 -2653
  1398. package/dist/web-components-library/p-00f09ae2.entry.js +0 -1
  1399. package/dist/web-components-library/p-02e588b4.entry.js +0 -1
  1400. package/dist/web-components-library/p-040fbd28.entry.js +0 -1
  1401. package/dist/web-components-library/p-05fe5555.entry.js +0 -1
  1402. package/dist/web-components-library/p-081b1648.entry.js +0 -1
  1403. package/dist/web-components-library/p-0a819ab4.entry.js +0 -1
  1404. package/dist/web-components-library/p-0dde6773.entry.js +0 -1
  1405. package/dist/web-components-library/p-11a90064.entry.js +0 -1
  1406. package/dist/web-components-library/p-1210c90f.entry.js +0 -1
  1407. package/dist/web-components-library/p-1280ac72.entry.js +0 -1
  1408. package/dist/web-components-library/p-17429bce.entry.js +0 -1
  1409. package/dist/web-components-library/p-18782c2f.entry.js +0 -1
  1410. package/dist/web-components-library/p-19536f5e.entry.js +0 -1
  1411. package/dist/web-components-library/p-1b851174.entry.js +0 -1
  1412. package/dist/web-components-library/p-1c75b67f.entry.js +0 -1
  1413. package/dist/web-components-library/p-1e984688.entry.js +0 -1
  1414. package/dist/web-components-library/p-2294f1b0.entry.js +0 -1
  1415. package/dist/web-components-library/p-26fc8a38.entry.js +0 -1
  1416. package/dist/web-components-library/p-27f93251.entry.js +0 -1
  1417. package/dist/web-components-library/p-294f7b4e.entry.js +0 -1
  1418. package/dist/web-components-library/p-2b122a22.entry.js +0 -1
  1419. package/dist/web-components-library/p-2f99634d.entry.js +0 -1
  1420. package/dist/web-components-library/p-30c86858.entry.js +0 -1
  1421. package/dist/web-components-library/p-314302ce.entry.js +0 -1
  1422. package/dist/web-components-library/p-366d2553.entry.js +0 -1
  1423. package/dist/web-components-library/p-3a9aec16.entry.js +0 -1
  1424. package/dist/web-components-library/p-3c861d49.entry.js +0 -1
  1425. package/dist/web-components-library/p-41b55222.entry.js +0 -1
  1426. package/dist/web-components-library/p-44220d6b.entry.js +0 -1
  1427. package/dist/web-components-library/p-48d72b52.entry.js +0 -1
  1428. package/dist/web-components-library/p-50b59012.entry.js +0 -1
  1429. package/dist/web-components-library/p-5883dbc1.entry.js +0 -1
  1430. package/dist/web-components-library/p-58933ba5.entry.js +0 -1
  1431. package/dist/web-components-library/p-5bb77af2.entry.js +0 -1
  1432. package/dist/web-components-library/p-5e91940f.entry.js +0 -1
  1433. package/dist/web-components-library/p-5fc4048b.entry.js +0 -1
  1434. package/dist/web-components-library/p-61b2ad9b.entry.js +0 -1
  1435. package/dist/web-components-library/p-631f111d.entry.js +0 -1
  1436. package/dist/web-components-library/p-6d0abf8c.entry.js +0 -1
  1437. package/dist/web-components-library/p-6ece59b5.entry.js +0 -1
  1438. package/dist/web-components-library/p-73aaace2.entry.js +0 -1
  1439. package/dist/web-components-library/p-772c3e3e.entry.js +0 -1
  1440. package/dist/web-components-library/p-849d65f5.entry.js +0 -1
  1441. package/dist/web-components-library/p-87306cd0.entry.js +0 -1
  1442. package/dist/web-components-library/p-8745878e.entry.js +0 -1
  1443. package/dist/web-components-library/p-8f5387ef.entry.js +0 -1
  1444. package/dist/web-components-library/p-967549d2.entry.js +0 -1
  1445. package/dist/web-components-library/p-99922496.entry.js +0 -1
  1446. package/dist/web-components-library/p-9b181c2c.entry.js +0 -1
  1447. package/dist/web-components-library/p-9e4db6a2.entry.js +0 -1
  1448. package/dist/web-components-library/p-B85MJLTf.js +0 -1
  1449. package/dist/web-components-library/p-B8WJfd4z.js +0 -1
  1450. package/dist/web-components-library/p-BKCj6NR2.js +0 -1
  1451. package/dist/web-components-library/p-ByN2sYu6.js +0 -2
  1452. package/dist/web-components-library/p-D4yqZKyM.js +0 -1
  1453. package/dist/web-components-library/p-Q-tWjk7P.js +0 -1
  1454. package/dist/web-components-library/p-a336c241.entry.js +0 -1
  1455. package/dist/web-components-library/p-a3a7c406.entry.js +0 -1
  1456. package/dist/web-components-library/p-a9534450.entry.js +0 -1
  1457. package/dist/web-components-library/p-aabb5aea.entry.js +0 -1
  1458. package/dist/web-components-library/p-abfdc045.entry.js +0 -1
  1459. package/dist/web-components-library/p-ad2ed505.entry.js +0 -16
  1460. package/dist/web-components-library/p-aeaf586b.entry.js +0 -1
  1461. package/dist/web-components-library/p-afab22fc.entry.js +0 -1
  1462. package/dist/web-components-library/p-afcabf3b.entry.js +0 -1
  1463. package/dist/web-components-library/p-b38d52e5.entry.js +0 -1
  1464. package/dist/web-components-library/p-b5c180bc.entry.js +0 -1
  1465. package/dist/web-components-library/p-c1677653.entry.js +0 -1
  1466. package/dist/web-components-library/p-c23bfec2.entry.js +0 -1
  1467. package/dist/web-components-library/p-d8f0e022.entry.js +0 -2
  1468. package/dist/web-components-library/p-dc759208.entry.js +0 -1
  1469. package/dist/web-components-library/p-eb722234.entry.js +0 -1
  1470. package/dist/web-components-library/p-ebdbd84c.entry.js +0 -1
  1471. package/dist/web-components-library/p-ecea3d09.entry.js +0 -1
  1472. package/dist/web-components-library/p-fade8c19.entry.js +0 -1
  1473. package/dist/web-components-library/p-fc90579e.entry.js +0 -1
  1474. package/www/build/p-00f09ae2.entry.js +0 -1
  1475. package/www/build/p-02e588b4.entry.js +0 -1
  1476. package/www/build/p-040fbd28.entry.js +0 -1
  1477. package/www/build/p-05fe5555.entry.js +0 -1
  1478. package/www/build/p-081b1648.entry.js +0 -1
  1479. package/www/build/p-0a819ab4.entry.js +0 -1
  1480. package/www/build/p-0dde6773.entry.js +0 -1
  1481. package/www/build/p-11a90064.entry.js +0 -1
  1482. package/www/build/p-1210c90f.entry.js +0 -1
  1483. package/www/build/p-1280ac72.entry.js +0 -1
  1484. package/www/build/p-17429bce.entry.js +0 -1
  1485. package/www/build/p-18782c2f.entry.js +0 -1
  1486. package/www/build/p-19536f5e.entry.js +0 -1
  1487. package/www/build/p-1b851174.entry.js +0 -1
  1488. package/www/build/p-1c75b67f.entry.js +0 -1
  1489. package/www/build/p-1e984688.entry.js +0 -1
  1490. package/www/build/p-2294f1b0.entry.js +0 -1
  1491. package/www/build/p-26fc8a38.entry.js +0 -1
  1492. package/www/build/p-27f93251.entry.js +0 -1
  1493. package/www/build/p-294f7b4e.entry.js +0 -1
  1494. package/www/build/p-2b122a22.entry.js +0 -1
  1495. package/www/build/p-2f99634d.entry.js +0 -1
  1496. package/www/build/p-30c86858.entry.js +0 -1
  1497. package/www/build/p-314302ce.entry.js +0 -1
  1498. package/www/build/p-366d2553.entry.js +0 -1
  1499. package/www/build/p-3a9aec16.entry.js +0 -1
  1500. package/www/build/p-3c861d49.entry.js +0 -1
  1501. package/www/build/p-41b55222.entry.js +0 -1
  1502. package/www/build/p-44220d6b.entry.js +0 -1
  1503. package/www/build/p-48d72b52.entry.js +0 -1
  1504. package/www/build/p-50b59012.entry.js +0 -1
  1505. package/www/build/p-5883dbc1.entry.js +0 -1
  1506. package/www/build/p-58933ba5.entry.js +0 -1
  1507. package/www/build/p-5bb77af2.entry.js +0 -1
  1508. package/www/build/p-5e91940f.entry.js +0 -1
  1509. package/www/build/p-5fc4048b.entry.js +0 -1
  1510. package/www/build/p-61b2ad9b.entry.js +0 -1
  1511. package/www/build/p-631f111d.entry.js +0 -1
  1512. package/www/build/p-654b3801.js +0 -1
  1513. package/www/build/p-6d0abf8c.entry.js +0 -1
  1514. package/www/build/p-6ece59b5.entry.js +0 -1
  1515. package/www/build/p-73aaace2.entry.js +0 -1
  1516. package/www/build/p-772c3e3e.entry.js +0 -1
  1517. package/www/build/p-849d65f5.entry.js +0 -1
  1518. package/www/build/p-87306cd0.entry.js +0 -1
  1519. package/www/build/p-8745878e.entry.js +0 -1
  1520. package/www/build/p-8f5387ef.entry.js +0 -1
  1521. package/www/build/p-967549d2.entry.js +0 -1
  1522. package/www/build/p-99922496.entry.js +0 -1
  1523. package/www/build/p-9b181c2c.entry.js +0 -1
  1524. package/www/build/p-9e4db6a2.entry.js +0 -1
  1525. package/www/build/p-B85MJLTf.js +0 -1
  1526. package/www/build/p-B8WJfd4z.js +0 -1
  1527. package/www/build/p-BKCj6NR2.js +0 -1
  1528. package/www/build/p-ByN2sYu6.js +0 -2
  1529. package/www/build/p-D4yqZKyM.js +0 -1
  1530. package/www/build/p-Q-tWjk7P.js +0 -1
  1531. package/www/build/p-a336c241.entry.js +0 -1
  1532. package/www/build/p-a3a7c406.entry.js +0 -1
  1533. package/www/build/p-a9534450.entry.js +0 -1
  1534. package/www/build/p-aabb5aea.entry.js +0 -1
  1535. package/www/build/p-abfdc045.entry.js +0 -1
  1536. package/www/build/p-ad2ed505.entry.js +0 -16
  1537. package/www/build/p-aeaf586b.entry.js +0 -1
  1538. package/www/build/p-afab22fc.entry.js +0 -1
  1539. package/www/build/p-afcabf3b.entry.js +0 -1
  1540. package/www/build/p-b38d52e5.entry.js +0 -1
  1541. package/www/build/p-b5c180bc.entry.js +0 -1
  1542. package/www/build/p-c1677653.entry.js +0 -1
  1543. package/www/build/p-c23bfec2.entry.js +0 -1
  1544. package/www/build/p-d8f0e022.entry.js +0 -2
  1545. package/www/build/p-dc759208.entry.js +0 -1
  1546. package/www/build/p-eb722234.entry.js +0 -1
  1547. package/www/build/p-ebdbd84c.entry.js +0 -1
  1548. package/www/build/p-ecea3d09.entry.js +0 -1
  1549. package/www/build/p-fade8c19.entry.js +0 -1
  1550. package/www/build/p-fc90579e.entry.js +0 -1
@@ -0,0 +1 @@
1
+ {"file":"z-date-picker.js","mappings":";;;;;;;;;;;AAAA,CAAC,UAAU,MAAM,EAAE,OAAO,EAAE;AAC5B,IAAmE,iBAAiB,OAAO,EAAE,CAEuB,CAAC;AACrH,CAAC,CAACA,cAAI,GAAG,YAAY,CACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI,QAAQ,GAAG,WAAW;AAC9B,QAAQ,QAAQ,GAAG,MAAM,CAAC,MAAM,IAAI,SAAS,QAAQ,CAAC,CAAC,EAAE;AACzD,YAAY,KAAK,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;AACjE,gBAAgB,CAAC,GAAG,SAAS,CAAC,C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AC,oBAAoB,EAAE,GAAG,IAAI,CAAC,YAAY,EAAE,CACjE,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["this","ZDatePicker","Italian"],"sources":["node_modules/flatpickr/dist/plugins/monthSelect/index.js","src/components/date-picker/styles.css?tag=z-date-picker","src/components/date-picker/z-date-picker/index.tsx"],"sourcesContent":["(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.monthSelectPlugin = factory());\n}(this, (function () { 'use strict';\n\n /*! *****************************************************************************\r\n Copyright (c) Microsoft Corporation.\r\n\r\n Permission to use, copy, modify, and/or distribute this software for any\r\n purpose with or without fee is hereby granted.\r\n\r\n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\n PERFORMANCE OF THIS SOFTWARE.\r\n ***************************************************************************** */\r\n\r\n var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n };\n\n var monthToStr = function (monthNumber, shorthand, locale) { return locale.months[shorthand ? \"shorthand\" : \"longhand\"][monthNumber]; };\n\n function clearNode(node) {\n while (node.firstChild)\n node.removeChild(node.firstChild);\n }\n function getEventTarget(event) {\n try {\n if (typeof event.composedPath === \"function\") {\n var path = event.composedPath();\n return path[0];\n }\n return event.target;\n }\n catch (error) {\n return event.target;\n }\n }\n\n var defaultConfig = {\n shorthand: false,\n dateFormat: \"F Y\",\n altFormat: \"F Y\",\n theme: \"light\",\n };\n function monthSelectPlugin(pluginConfig) {\n var config = __assign(__assign({}, defaultConfig), pluginConfig);\n return function (fp) {\n fp.config.dateFormat = config.dateFormat;\n fp.config.altFormat = config.altFormat;\n var self = { monthsContainer: null };\n function clearUnnecessaryDOMElements() {\n if (!fp.rContainer)\n return;\n clearNode(fp.rContainer);\n for (var index = 0; index < fp.monthElements.length; index++) {\n var element = fp.monthElements[index];\n if (!element.parentNode)\n continue;\n element.parentNode.removeChild(element);\n }\n }\n function build() {\n if (!fp.rContainer)\n return;\n self.monthsContainer = fp._createElement(\"div\", \"flatpickr-monthSelect-months\");\n self.monthsContainer.tabIndex = -1;\n buildMonths();\n fp.rContainer.appendChild(self.monthsContainer);\n fp.calendarContainer.classList.add(\"flatpickr-monthSelect-theme-\" + config.theme);\n }\n function buildMonths() {\n if (!self.monthsContainer)\n return;\n clearNode(self.monthsContainer);\n var frag = document.createDocumentFragment();\n for (var i = 0; i < 12; i++) {\n var month = fp.createDay(\"flatpickr-monthSelect-month\", new Date(fp.currentYear, i), 0, i);\n if (month.dateObj.getMonth() === new Date().getMonth() &&\n month.dateObj.getFullYear() === new Date().getFullYear())\n month.classList.add(\"today\");\n month.textContent = monthToStr(i, config.shorthand, fp.l10n);\n month.addEventListener(\"click\", selectMonth);\n frag.appendChild(month);\n }\n self.monthsContainer.appendChild(frag);\n if (fp.config.minDate &&\n fp.currentYear === fp.config.minDate.getFullYear())\n fp.prevMonthNav.classList.add(\"flatpickr-disabled\");\n else\n fp.prevMonthNav.classList.remove(\"flatpickr-disabled\");\n if (fp.config.maxDate &&\n fp.currentYear === fp.config.maxDate.getFullYear())\n fp.nextMonthNav.classList.add(\"flatpickr-disabled\");\n else\n fp.nextMonthNav.classList.remove(\"flatpickr-disabled\");\n }\n function bindEvents() {\n fp._bind(fp.prevMonthNav, \"click\", function (e) {\n e.preventDefault();\n e.stopPropagation();\n fp.changeYear(fp.currentYear - 1);\n selectYear();\n buildMonths();\n });\n fp._bind(fp.nextMonthNav, \"click\", function (e) {\n e.preventDefault();\n e.stopPropagation();\n fp.changeYear(fp.currentYear + 1);\n selectYear();\n buildMonths();\n });\n fp._bind(self.monthsContainer, \"mouseover\", function (e) {\n if (fp.config.mode === \"range\")\n fp.onMouseOver(getEventTarget(e), \"flatpickr-monthSelect-month\");\n });\n }\n function setCurrentlySelected() {\n if (!fp.rContainer)\n return;\n if (!fp.selectedDates.length)\n return;\n var currentlySelected = fp.rContainer.querySelectorAll(\".flatpickr-monthSelect-month.selected\");\n for (var index = 0; index < currentlySelected.length; index++) {\n currentlySelected[index].classList.remove(\"selected\");\n }\n var targetMonth = fp.selectedDates[0].getMonth();\n var month = fp.rContainer.querySelector(\".flatpickr-monthSelect-month:nth-child(\" + (targetMonth + 1) + \")\");\n if (month) {\n month.classList.add(\"selected\");\n }\n }\n function selectYear() {\n var selectedDate = fp.selectedDates[0];\n if (selectedDate) {\n selectedDate = new Date(selectedDate);\n selectedDate.setFullYear(fp.currentYear);\n if (fp.config.minDate && selectedDate < fp.config.minDate) {\n selectedDate = fp.config.minDate;\n }\n if (fp.config.maxDate && selectedDate > fp.config.maxDate) {\n selectedDate = fp.config.maxDate;\n }\n fp.currentYear = selectedDate.getFullYear();\n }\n fp.currentYearElement.value = String(fp.currentYear);\n if (fp.rContainer) {\n var months = fp.rContainer.querySelectorAll(\".flatpickr-monthSelect-month\");\n months.forEach(function (month) {\n month.dateObj.setFullYear(fp.currentYear);\n if ((fp.config.minDate && month.dateObj < fp.config.minDate) ||\n (fp.config.maxDate && month.dateObj > fp.config.maxDate)) {\n month.classList.add(\"flatpickr-disabled\");\n }\n else {\n month.classList.remove(\"flatpickr-disabled\");\n }\n });\n }\n setCurrentlySelected();\n }\n function selectMonth(e) {\n e.preventDefault();\n e.stopPropagation();\n var eventTarget = getEventTarget(e);\n if (!(eventTarget instanceof Element))\n return;\n if (eventTarget.classList.contains(\"flatpickr-disabled\"))\n return;\n if (eventTarget.classList.contains(\"notAllowed\"))\n return; // necessary??\n setMonth(eventTarget.dateObj);\n if (fp.config.closeOnSelect) {\n var single = fp.config.mode === \"single\";\n var range = fp.config.mode === \"range\" && fp.selectedDates.length === 2;\n if (single || range)\n fp.close();\n }\n }\n function setMonth(date) {\n var selectedDate = new Date(fp.currentYear, date.getMonth(), date.getDate());\n var selectedDates = [];\n switch (fp.config.mode) {\n case \"single\":\n selectedDates = [selectedDate];\n break;\n case \"multiple\":\n selectedDates.push(selectedDate);\n break;\n case \"range\":\n if (fp.selectedDates.length === 2) {\n selectedDates = [selectedDate];\n }\n else {\n selectedDates = fp.selectedDates.concat([selectedDate]);\n selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });\n }\n break;\n }\n fp.setDate(selectedDates, true);\n setCurrentlySelected();\n }\n var shifts = {\n 37: -1,\n 39: 1,\n 40: 3,\n 38: -3,\n };\n function onKeyDown(_, __, ___, e) {\n var shouldMove = shifts[e.keyCode] !== undefined;\n if (!shouldMove && e.keyCode !== 13) {\n return;\n }\n if (!fp.rContainer || !self.monthsContainer)\n return;\n var currentlySelected = fp.rContainer.querySelector(\".flatpickr-monthSelect-month.selected\");\n var index = Array.prototype.indexOf.call(self.monthsContainer.children, document.activeElement);\n if (index === -1) {\n var target = currentlySelected || self.monthsContainer.firstElementChild;\n target.focus();\n index = target.$i;\n }\n if (shouldMove) {\n self.monthsContainer.children[(12 + index + shifts[e.keyCode]) % 12].focus();\n }\n else if (e.keyCode === 13 &&\n self.monthsContainer.contains(document.activeElement)) {\n setMonth(document.activeElement.dateObj);\n }\n }\n function closeHook() {\n var _a;\n if (((_a = fp.config) === null || _a === void 0 ? void 0 : _a.mode) === \"range\" && fp.selectedDates.length === 1)\n fp.clear(false);\n if (!fp.selectedDates.length)\n buildMonths();\n }\n // Help the prev/next year nav honor config.minDate (see 3fa5a69)\n function stubCurrentMonth() {\n config._stubbedCurrentMonth = fp._initialDate.getMonth();\n fp._initialDate.setMonth(config._stubbedCurrentMonth);\n fp.currentMonth = config._stubbedCurrentMonth;\n }\n function unstubCurrentMonth() {\n if (!config._stubbedCurrentMonth)\n return;\n fp._initialDate.setMonth(config._stubbedCurrentMonth);\n fp.currentMonth = config._stubbedCurrentMonth;\n delete config._stubbedCurrentMonth;\n }\n function destroyPluginInstance() {\n if (self.monthsContainer !== null) {\n var months = self.monthsContainer.querySelectorAll(\".flatpickr-monthSelect-month\");\n for (var index = 0; index < months.length; index++) {\n months[index].removeEventListener(\"click\", selectMonth);\n }\n }\n }\n return {\n onParseConfig: function () {\n fp.config.enableTime = false;\n },\n onValueUpdate: setCurrentlySelected,\n onKeyDown: onKeyDown,\n onReady: [\n stubCurrentMonth,\n clearUnnecessaryDOMElements,\n build,\n bindEvents,\n setCurrentlySelected,\n function () {\n fp.config.onClose.push(closeHook);\n fp.loadedPlugins.push(\"monthSelect\");\n },\n ],\n onDestroy: [\n unstubCurrentMonth,\n destroyPluginInstance,\n function () {\n fp.config.onClose = fp.config.onClose.filter(function (hook) { return hook !== closeHook; });\n },\n ],\n };\n };\n }\n\n return monthSelectPlugin;\n\n})));\n","@import \"~flatpickr/dist/flatpickr.min.css\";\n@import \"~flatpickr/dist/plugins/monthSelect/style.css\";\n\n/* stylelint-disable selector-class-pattern -- we have no control over flatpickr css classes naming */\n\n:host {\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n\n --z-range-picker--toggle-height: 0;\n}\n\nz-date-picker {\n position: relative;\n}\n\nz-date-picker > div > * {\n cursor: pointer !important;\n}\n\nz-range-picker {\n position: relative;\n}\n\n.flatpickr-toggle-container {\n width: fit-content;\n}\n\n.range-pickers-container > div {\n position: relative;\n}\n\n.hidden-input {\n position: absolute;\n bottom: 0;\n width: 0;\n height: 0;\n visibility: hidden !important;\n}\n\n/* Calendar container selectors */\n.flatpickr-calendar::before,\n.flatpickr-calendar::after {\n display: none;\n}\n\n.flatpickr-calendar {\n position: absolute !important;\n top: var(--z-range-picker--toggle-height) !important;\n left: 0 !important;\n padding-top: calc(var(--space-unit) * 2);\n border-radius: 2px;\n box-shadow: var(--shadow-2);\n font-family: var(--font-family-sans) !important;\n}\n\n.months.top > .flatpickr-calendar {\n top: -288px !important;\n}\n\n.date.top > .flatpickr-calendar,\n.date.top > div > .flatpickr-calendar {\n top: -401px !important;\n}\n\n.date-time.top > .flatpickr-calendar,\n.date-time.top > div > .flatpickr-calendar {\n top: -523px !important;\n}\n\n.flatpickr-calendar,\n.flatpickr-innerContainer,\n.flatpickr-days,\n.dayContainer,\n.flatpickr-rContainer,\n.flatpickr-monthSelect-months {\n width: calc(var(--space-unit) * 42) !important;\n max-width: calc(var(--space-unit) * 42) !important;\n}\n\n.flatpickr-monthSelect-months {\n box-sizing: border-box;\n padding: 0 !important;\n margin: calc(var(--space-unit) * 2) 0 !important;\n}\n\n/* Months and year row containers selectors */\n.flatpickr-months {\n position: relative;\n height: calc(var(--space-unit) * 6) !important;\n align-items: center;\n margin-bottom: var(--space-unit) 0 !important;\n}\n\n.flatpickr-month {\n overflow: visible !important;\n height: calc(var(--space-unit) * 6) !important;\n}\n\n.flatpickr-current-month {\n left: 0 !important;\n display: flex !important;\n width: fill-available;\n height: calc(var(--space-unit) * 6);\n align-items: baseline;\n justify-content: space-evenly;\n padding-top: 0;\n}\n\n/* Months arrows selectors */\n.flatpickr-next-month,\n.flatpickr-prev-month {\n position: static !important;\n display: flex;\n width: calc(var(--space-unit) * 4) !important;\n height: calc(var(--space-unit) * 4) !important;\n align-items: center;\n justify-content: center;\n padding: 0 !important;\n}\n\n.flatpickr-prev-month {\n margin-left: var(--space-unit);\n}\n\n.flatpickr-next-month {\n margin-right: var(--space-unit);\n}\n\n.flatpickr-next-month > svg,\n.flatpickr-prev-month > svg {\n width: calc(var(--space-unit) * 2) !important;\n height: calc(var(--space-unit) * 2) !important;\n fill: var(--color-primary01);\n}\n\n.flatpickr-next-month:hover,\n.flatpickr-prev-month:hover,\n.flatpickr-next-month:focus,\n.flatpickr-prev-month:focus {\n border: none !important;\n border-color: var(--color-primary03) !important;\n background-color: var(--color-primary03) !important;\n border-radius: var(--border-radius);\n color: var(--color-hover-primary) !important;\n outline: none !important;\n}\n\n.flatpickr-next-month:hover svg,\n.flatpickr-prev-month:hover svg {\n fill: var(--color-hover-primary) !important;\n}\n\n.flatpickr-next-month:active,\n.flatpickr-prev-month:active {\n border-color: var(--color-surface01) !important;\n background-color: var(--color-surface01) !important;\n border-radius: var(--border-radius);\n box-shadow: var(--shadow-2) !important;\n color: var(--color-primary01) !important;\n}\n\n.flatpickr-next-month:focus svg,\n.flatpickr-prev-month:focus svg {\n fill: var(--color-primary01) !important;\n}\n\n/* Months dropdown selectors */\n.flatpickr-monthDropdown-months {\n width: 108px !important;\n height: calc(var(--space-unit) * 5.5) !important;\n padding-left: var(--space-unit) !important;\n background: var(--color-surface01) !important;\n color: var(--color-default-text) !important;\n font-size: var(--font-size-3) !important;\n font-weight: var(--font-rg) !important;\n outline: 1px solid black !important;\n}\n\n.flatpickr-monthDropdown-months:hover,\n.flatpickr-monthDropdown-months:focus {\n outline: 1px solid var(--color-primary01) !important;\n}\n\n/* Year toggle selectors */\n.flatpickr-current-month > .numInputWrapper {\n display: flex;\n width: calc(var(--space-unit) * 10);\n height: calc(var(--space-unit) * 5.5) !important;\n background: var(--color-surface01) !important;\n color: var(--color-default-text);\n outline: 1px solid black !important;\n}\n\n.flatpickr-current-month > .numInputWrapper:hover,\n.flatpickr-current-month > .numInputWrapper:focus-within {\n outline: 1px solid var(--color-primary01) !important;\n}\n\n.flatpickr-current-month > .numInputWrapper > input {\n padding: 0 calc(var(--space-unit) * 3) 0 var(--space-unit);\n font-size: var(--font-size-3) !important;\n font-weight: var(--font-rg) !important;\n text-align: center;\n}\n\n/* Weekdays selectors */\n.flatpickr-weekdays {\n height: calc(var(--space-unit) * 6);\n border-bottom: 1px solid var(--color-surface03);\n}\n\n.flatpickr-weekday {\n font-size: var(--font-size-3) !important;\n font-weight: var(--font-rg) !important;\n}\n\n/* Calendar days and months selectors */\n.flatpickr-day,\n.flatpickr-monthSelect-month {\n width: calc(var(--space-unit) * 6) !important;\n max-width: 100% !important;\n height: calc(var(--space-unit) * 6) !important;\n border: none;\n margin: 0 !important;\n border-radius: 0 !important;\n box-shadow: none !important;\n font-size: var(--font-size-3) !important;\n line-height: calc(var(--space-unit) * 6) !important;\n}\n\n.flatpickr-day {\n width: calc(var(--space-unit) * 6) !important;\n border: none;\n line-height: calc(var(--space-unit) * 6) !important;\n}\n\n.flatpickr-monthSelect-month {\n width: calc(var(--space-unit) * 14) !important;\n padding: 0 !important;\n border: 2px solid var(--color-surface01) !important;\n line-height: calc(var(--space-unit) * 5) !important;\n}\n\n.flatpickr-day:not(.flatpickr-disabled):hover,\n.flatpickr-day:not(.flatpickr-disabled):active,\n.flatpickr-day:not(.flatpickr-disabled):focus,\n.flatpickr-day:not(.flatpickr-disabled).prevMonthDay:hover,\n.flatpickr-day:not(.flatpickr-disabled).prevMonthDay:active,\n.flatpickr-day:not(.flatpickr-disabled).prevMonthDay:focus,\n.flatpickr-day:not(.flatpickr-disabled).selected:hover,\n.flatpickr-day:not(.flatpickr-disabled).selected:active,\n.flatpickr-day:not(.flatpickr-disabled).selected:focus,\n.flatpickr-monthSelect-month:hover,\n.flatpickr-monthSelect-month:active,\n.flatpickr-monthSelect-month:focus {\n border-color: var(--color-hover-primary) !important;\n background-color: var(--color-hover-primary) !important;\n color: var(--color-text-inverse) !important;\n}\n\n.flatpickr-day.today,\n.flatpickr-monthSelect-month.today {\n border: 2px solid var(--color-hover-primary) !important;\n}\n\n.flatpickr-day.selected:not(.flatpickr-disabled),\n.flatpickr-monthSelect-month.selected:not(.flatpickr-disabled) {\n border-color: var(--color-primary01) !important;\n background-color: var(--color-primary01) !important;\n}\n\n.flatpickr-weekday:nth-child(6),\n.flatpickr-weekday:nth-child(7),\n.flatpickr-day:nth-child(7n + 6),\n.flatpickr-day:nth-child(7n + 7) {\n font-weight: var(--font-sb) !important;\n}\n\n/* Date and time selectors */\n.flatpickr-time {\n display: block;\n height: 90px !important;\n max-height: 90px !important;\n text-align: left;\n}\n\n.flatpickr-time::before {\n display: block;\n width: 100%;\n padding-left: var(--space-unit);\n color: var(--color-default-text) !important;\n content: \"Orario\";\n font-size: var(--font-size-1);\n font-weight: var(--font-sb);\n text-transform: uppercase;\n}\n\n.flatpickr-time.time24hr {\n margin: calc(var(--space-unit) * 2) !important;\n}\n\n.flatpickr-time.time24hr > .numInputWrapper > input:hover,\n.flatpickr-time.time24hr > .numInputWrapper > input:focus,\n.flatpickr-time.time24hr > .numInputWrapper:hover {\n background-color: var(--color-surface01) !important;\n}\n\n.flatpickr-time.time24hr > div {\n width: calc(var(--space-unit) * 10) !important;\n height: calc(var(--space-unit) * 5.5) !important;\n margin-right: var(--space-unit) !important;\n margin-left: var(--space-unit) !important;\n}\n\n.flatpickr-time-separator {\n display: flex;\n height: calc(var(--space-unit) * 5.5) !important;\n align-items: center;\n justify-content: center;\n font-weight: unset !important;\n}\n\n.flatpickr-minute,\n.flatpickr-hour {\n font-size: var(--font-size-3) !important;\n font-weight: var(--font-rg) !important;\n outline: 1px solid black !important;\n}\n\n.numInputWrapper:hover .flatpickr-minute,\n.numInputWrapper:hover .flatpickr-hour,\n.flatpickr-minute:focus,\n.flatpickr-hour:focus {\n outline: 1px solid var(--color-primary01) !important;\n}\n\n/* toggle arrows selectors */\n.arrowUp,\n.arrowDown {\n width: calc(var(--space-unit) * 2) !important;\n height: calc(var(--space-unit) * 2) !important;\n padding: 0 !important;\n border: none !important;\n opacity: 1 !important;\n}\n\n.arrowUp {\n margin-top: calc(var(--space-unit) / 2) !important;\n margin-right: calc(var(--space-unit) / 2) !important;\n}\n\n.arrowDown {\n top: auto !important;\n margin-top: calc(var(--space-unit) * 3) !important;\n margin-right: calc(var(--space-unit) / 2) !important;\n}\n\n.arrowUp:hover,\n.arrowDown:hover {\n border-color: var(--color-primary03) !important;\n background-color: var(--color-primary03) !important;\n border-radius: var(--border-radius);\n color: var(--color-hover-primary) !important;\n}\n\n.arrowUp:active,\n.arrowDown:active {\n border-color: var(--color-surface01) !important;\n background-color: var(--color-surface01) !important;\n border-radius: var(--border-radius);\n box-shadow: var(--shadow-2) !important;\n color: var(--color-primary01) !important;\n}\n\n.arrowUp::after,\n.arrowDown::after {\n padding: 2.5px !important;\n border: solid var(--color-primary01) !important;\n border-width: 0 1px 1px 0 !important;\n}\n\n.arrowUp::after {\n top: 0 !important;\n margin-top: 6px !important;\n margin-left: 5.5px !important;\n transform: rotate(-135deg);\n}\n\n.arrowDown::after {\n top: 0 !important;\n left: 5.5px !important;\n margin-top: 4px !important;\n transform: rotate(45deg);\n}\n\n/* range-date-picker selectors */\n\n.flatpickr-day:not(.flatpickr-disabled).inRange:hover,\n.flatpickr-day:not(.flatpickr-disabled).today.inRange:hover,\n.flatpickr-day.prevMonthDay:not(.flatpickr-disabled).inRange:hover,\n.flatpickr-monthSelect-month:not(.flatpickr-disabled).inRange:hover {\n border-color: var(--color-hover-primary) !important;\n background-color: var(--color-hover-primary) !important;\n}\n\n.flatpickr-day:not(.flatpickr-disabled).inRange,\n.flatpickr-day:not(.flatpickr-disabled).today.inRange,\n.flatpickr-day:not(.flatpickr-disabled).prevMonthDay.inRange,\n.flatpickr-monthSelect-month:not(.flatpickr-disabled).inRange {\n border-color: var(--color-primary03);\n background-color: var(--color-primary03);\n}\n\n.flatpickr-day:not(.flatpickr-disabled).startRange,\n.flatpickr-day:not(.flatpickr-disabled).endRange,\n.flatpickr-monthSelect-month:not(.flatpickr-disabled).startRange,\n.flatpickr-monthSelect-month:not(.flatpickr-disabled).endRange {\n border-color: var(--color-primary01) !important;\n background-color: var(--color-primary01) !important;\n}\n\n.flatpickr-day:not(.flatpickr-disabled).prevMonthDay.selected.startRange,\n.flatpickr-day:not(.flatpickr-disabled).prevMonthDay.selected.endRange {\n border-color: var(--color-primary01) !important;\n background-color: var(--color-primary01) !important;\n}\n\n.flatpickr-range.second-input {\n cursor: pointer;\n}\n\n.range-pickers-container {\n display: flex;\n gap: 16px;\n}\n","import {Component, Element, Event, EventEmitter, Listen, Prop, State, Watch, h} from \"@stencil/core\";\n\nimport flatpickr from \"flatpickr\";\nimport {Italian} from \"flatpickr/dist/l10n/it.js\";\nimport monthSelectPlugin from \"flatpickr/dist/plugins/monthSelect\";\nimport {InputType, ZDatePickerMode, ZDatePickerPosition} from \"../../../beans\";\nimport {setAriaOptions, setFlatpickrPosition, validateDate} from \"../utils\";\n\n@Component({\n tag: \"z-date-picker\",\n styleUrl: \"../styles.css\",\n shadow: false,\n})\nexport class ZDatePicker {\n @Element() element: HTMLZDatePickerElement;\n\n /** unique id */\n @Prop()\n datePickerId: string;\n\n /** z-input aria label */\n @Prop()\n ariaLabel = \"\";\n\n /** z-input label */\n @Prop()\n label?: string;\n\n /** [Optional] datepicker mode: date, datetime, only months */\n @Prop()\n mode: ZDatePickerMode = ZDatePickerMode.DATE;\n\n /** [Optional] the datepicker input name */\n @Prop()\n name?: string = undefined;\n\n /** [Optional] the datepicker input value */\n @Prop()\n value?: string = undefined;\n\n @State()\n flatpickrPosition: ZDatePickerPosition = ZDatePickerPosition.BOTTOM;\n\n @State()\n inputError = false;\n\n private picker;\n\n private hasChildren: boolean;\n\n /** emitted when date changes, returns selected date */\n @Event()\n dateSelect: EventEmitter;\n\n private emitDateSelect(date): void {\n this.dateSelect.emit(date);\n }\n\n @Listen(\"keydown\", {capture: true})\n handleKeyDown(ev: KeyboardEvent): void {\n if (ev.key === \"Escape\") {\n this.picker?.close();\n }\n\n if (ev.key === \"Enter\" || ev.key === \" \") {\n !this.hasChildren && this.picker?.open();\n\n const isCrossIconEntered = document.activeElement.classList.contains(\"reset-icon\");\n\n if (isCrossIconEntered) {\n this.inputError = false;\n this.picker?.setDate([]);\n this.dateSelect.emit(null);\n }\n\n const flatpickrDayPressed = document.activeElement.classList.contains(\"flatpickr-day\");\n if (flatpickrDayPressed) {\n //Sistemare il toggle\n }\n const isPrevArrowEntered = document.activeElement.classList.contains(\"flatpickr-prev-month\");\n const isNextArrowEntered = document.activeElement.classList.contains(\"flatpickr-next-month\");\n const arrowPressed = isPrevArrowEntered || isNextArrowEntered;\n\n arrowPressed && ev.key === \" \" && ev.preventDefault();\n\n if (this.mode === ZDatePickerMode.MONTHS) {\n isPrevArrowEntered && this.picker?.changeYear(this.picker.currentYear - 1);\n\n isNextArrowEntered && this.picker?.changeYear(this.picker.currentYear + 1);\n\n if (arrowPressed) {\n const calendar = this.element.getElementsByClassName(\"flatpickr-calendar\")[0];\n const months = calendar?.querySelectorAll(\".flatpickr-monthSelect-month\");\n months?.forEach((element) => {\n element.setAttribute(\"aria-label\", `${element.innerHTML} ${this.picker?.currentYear}`);\n });\n\n //Force check of the current day\n months &&\n Array.from(months).forEach((element, index) => {\n const curMonth = new Date().getMonth();\n const curYear = new Date().getFullYear();\n\n if (index === curMonth) {\n if (this.picker?.currentYear === curYear) {\n element.setAttribute(\"class\", \"flatpickr-monthSelect-month today\");\n } else {\n element.setAttribute(\"class\", \"flatpickr-monthSelect-month\");\n }\n }\n });\n }\n } else {\n isPrevArrowEntered && this.picker?.changeMonth(-1);\n isNextArrowEntered && this.picker?.changeMonth(1);\n }\n }\n }\n\n componentWillLoad(): void {\n const customToggle = this.element.querySelector(\"[slot=toggle]\");\n this.hasChildren = !!customToggle;\n this.hasChildren && customToggle.setAttribute(\"data-toggle\", \"data-toggle\");\n }\n\n componentDidLoad(): void {\n this.setupPickers();\n }\n\n @Watch(\"mode\")\n setupPickers(): void {\n const classToAppend = this.hasChildren ? `${this.datePickerId}-hidden` : `${this.datePickerId}-container`;\n\n this.picker = flatpickr(`.${classToAppend}`, {\n appendTo: this.element.children[0] as HTMLElement,\n enableTime: this.mode === ZDatePickerMode.DATE_TIME,\n locale: Italian,\n allowInput: true,\n dateFormat: this.mode === ZDatePickerMode.DATE_TIME ? \"d-m-Y - H:i\" : \"d-m-Y\",\n ariaDateFormat: this.mode === ZDatePickerMode.MONTHS ? \"F Y\" : \"d F Y\",\n minuteIncrement: 1,\n // eslint-disable-next-line @typescript-eslint/naming-convention\n time_24hr: true,\n onChange: (_selectedDates, dateStr) => {\n this.emitDateSelect(dateStr);\n },\n onOpen: () => {\n setAriaOptions(this.element as HTMLElement, this.mode);\n this.flatpickrPosition = setFlatpickrPosition(this.element as HTMLElement, this.mode);\n },\n onKeyDown: () => {\n setAriaOptions(this.element as HTMLElement, this.mode);\n },\n wrap: true,\n plugins: this.mode === ZDatePickerMode.MONTHS && [\n monthSelectPlugin({\n dateFormat: \"m-Y\",\n altFormat: \"m-Y\",\n }),\n ],\n });\n\n this.element.querySelectorAll(\".flatpickr-weekday\").forEach((element) => {\n element.innerHTML = element.innerHTML.trim().charAt(0);\n });\n }\n\n private formatDate(date): string {\n if (this.mode === ZDatePickerMode.DATE) {\n return `${flatpickr.formatDate(date, \"d-m-Y\")}`;\n } else if (this.mode === ZDatePickerMode.MONTHS) {\n return `${flatpickr.formatDate(date, \"m-Y\")}`;\n }\n\n return `${flatpickr.formatDate(date, \"d-m-Y - H:i\")}`;\n }\n\n private onStopTyping(value): void {\n let text = value.detail.value;\n\n if (this.mode === ZDatePickerMode.MONTHS) {\n text = \"01-\".concat(value.detail.value);\n }\n\n const englishData = text.split(\"-\");\n const time = this.mode === ZDatePickerMode.DATE_TIME ? `T${englishData[3]}:00` : \"\";\n const englishParsedData = `${englishData[2]}-${englishData[1]}-${englishData[0]}${time}`.split(\" \").join(\"\");\n\n const isValidDate = validateDate(englishParsedData, this.mode === ZDatePickerMode.DATE_TIME);\n\n if (text === \"\") {\n this.inputError = false;\n this.picker.setDate([]);\n this.dateSelect.emit(null);\n } else if (!isValidDate) {\n this.inputError = true;\n this.dateSelect.emit(null);\n } else if (isValidDate) {\n this.inputError = false;\n this.picker.setDate([value.detail.value]);\n this.dateSelect.emit(this.formatDate(new Date(englishParsedData)));\n }\n }\n\n private renderSlottedContent(): HTMLDivElement {\n return (\n <div class={`${this.datePickerId}-hidden`}>\n <input\n class=\"hidden-input\"\n data-input\n name={this.name}\n value={this.value}\n ></input>\n <slot name=\"toggle\"></slot>\n </div>\n );\n }\n\n private renderZInput(): HTMLDivElement {\n return (\n <div class={`${this.datePickerId}-container`}>\n <z-input\n data-input=\"data-input\"\n ariaLabel={this.ariaLabel}\n label={this.label}\n class={this.datePickerId}\n type={InputType.TEXT}\n icon=\"event\"\n message={false}\n name={this.name}\n tabindex=\"0\"\n value={this.value}\n onStopTyping={(value) => {\n this.onStopTyping(value);\n }}\n onStartTyping={() => {\n this.inputError = false;\n }}\n ></z-input>\n </div>\n );\n }\n\n render(): HTMLDivElement {\n return (\n <div\n class={{\n \"flatpickr-toggle-container\": true,\n [this.flatpickrPosition]: true,\n [this.mode]: true,\n }}\n >\n {this.hasChildren ? this.renderSlottedContent() : this.renderZInput()}\n </div>\n );\n }\n}\n"],"version":3}
@@ -1 +1,8 @@
1
- import{Z as o,d as s}from"./index6.js";const r=o,t=s;export{r as ZDivider,t as defineCustomElement}
1
+ import { Z as ZDivider$1, d as defineCustomElement$1 } from './index7.js';
2
+
3
+ const ZDivider = ZDivider$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { ZDivider, defineCustomElement };
7
+
8
+ //# sourceMappingURL=z-divider.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-divider.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -1 +1,8 @@
1
- import{Z as o,d as s}from"./index20.js";const r=o,t=s;export{r as ZDragdropArea,t as defineCustomElement}
1
+ import { Z as ZDragdropArea$1, d as defineCustomElement$1 } from './index8.js';
2
+
3
+ const ZDragdropArea = ZDragdropArea$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { ZDragdropArea, defineCustomElement };
7
+
8
+ //# sourceMappingURL=z-dragdrop-area.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-dragdrop-area.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -1 +1,253 @@
1
- import{proxyCustomElement as e,HTMLElement as i,createEvent as a,h as s,Host as l,transformTag as t}from"@stencil/core/internal/client";import{v as o}from"./index2.js";import{d as r}from"./index5.js";import{d as n}from"./index20.js";import{d}from"./index3.js";import{d as c}from"./index21.js";const p=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.fileInput=a(this,"fileInput",7),this.fileError=a(this,"fileError",7),this.type=o.DEFAULT,this.uploadBtnLabel="allega",this.dragAndDropLabel="Rilascia i file in questa area per allegarli.",this.uploadClickableMessage="Carica",this.uploadMessage="o trascina dal tuo computer",this.errorModalTitle="Errore di caricamento",this.uploadedFilesLabel="File appena caricati",this.hasFileSection=!0,this.inputName="z-file-upload",this.showErrors=!0,this._type=this.type,this.files=[],this.invalidFiles=new Map}onFileRemoved(e){this.removeFile(e.detail.fileName)}fileDroppedListener(e){this.input.files=e.detail,this.checkFilesValidity(this.input.files)}async getFiles(){return this.files}async removeFile(e){const i=this.files,a=i.findIndex((i=>i.name===e));a>=0&&(i.splice(a,1),this.files=[...i])}checkFilesValidity(e){e.length&&Array.from(e).forEach((e=>{const i=e.size/1024/1024,a=this.acceptedFormat.split(",").some((i=>e.name.toLowerCase().endsWith(i.trim()))),s=i<=this.fileMaxSize;if(s&&a&&!this.files.find((i=>i.name===e.name)))return this.files=[...this.files,e],this.fileInput.emit(e),void(this.input.value="");const l=[!s&&{cause:"size",message:`Il file ${e.name} supera il limite di ${this.fileMaxSize}MB`},!a&&{cause:"format",message:`Il file ${e.name} ha un formato non supportato`}].filter(Boolean);this.invalidFiles.set(e.name,l),this.invalidFiles=new Map(this.invalidFiles),this.fileError.emit({file:e.name,errors:l})}))}resetErrors(){this.invalidFiles=new Map}onFilesChange(e){this.checkFilesValidity(e.target.files)}componentWillLoad(){const e=window.matchMedia("(max-width: 1151px)");this._type=e.matches?o.DEFAULT:this.type,e.addEventListener("change",(e=>{this._type=e.matches?o.DEFAULT:this.type}))}componentDidUpdate(){this.showErrors&&this.invalidFiles.size&&this.errorModal.open()}renderDescription(e){if(this.description)return s("span",{id:"description",class:e},this.description)}renderAllowedFilesMessage(){let e="",i="";this.acceptedFormat&&(e=" nei formati "+this.acceptedFormat.split(", ").map((e=>e.substring(1).toUpperCase())).join(", ")),this.fileMaxSize&&(i=` per un massimo di ${this.fileMaxSize}MB di peso`);const a=e||i?`Puoi allegare file${e}${i}.`:void 0;if(this.allowedFilesMessage||a)return s("span",{class:"allowed-files-message body-3"},this.allowedFilesMessage||a)}renderFileSection(){if(this.hasFileSection)return s("section",{class:{"files-container":!0,hidden:!this.files.length}},s("div",{class:"uploaded-files-label heading-3-sb"},this.uploadedFilesLabel),s("div",{class:"files-wrapper"},s("slot",{name:"files"})))}renderInput(){return s("input",{type:"file",name:this.inputName,multiple:!0,onChange:e=>this.onFilesChange(e),accept:this.acceptedFormat,ref:e=>this.input=e})}renderUploadButton(){return[s("z-button",{onClick:()=>this.input.click(),onKeyPress:e=>{"Space"!=e.code&&"Enter"!=e.code||(e.preventDefault(),this.input.click())},id:"fileSelect",variant:this.buttonVariant,icon:"upload"},this.uploadBtnLabel),this.renderInput()]}renderUploadLink(){return[this.renderInput(),s("span",{class:"body-1 upload-link-text"},s("span",{tabIndex:0,class:"body-1-sb upload-link",onClick:()=>this.input.click(),onKeyPress:e=>{"Space"!=e.code&&"Enter"!=e.code||(e.preventDefault(),this.input.click())}},this.uploadClickableMessage)," ",this.uploadMessage)]}renderDefaultMode(){return[this.renderDescription("body-3-sb"),this.renderAllowedFilesMessage(),this.renderFileSection(),this.renderUploadButton()]}renderDragDropMode(){return[this.renderFileSection(),s("z-dragdrop-area",{"drag-and-drop-label":this.dragAndDropLabel},s("div",{class:"text-container"},this.renderDescription("body-1"),this.renderUploadLink(),this.renderAllowedFilesMessage()))]}renderFileErrors(){return Array.from(this.invalidFiles).map((([e,i])=>{const a="Il file "+e;return s("span",{class:"error-message"},"Il file ",s("span",{class:"body-3-sb"},e),i.map((({message:e})=>e.replace(a,""))).join(" e "),".")}))}render(){return s(l,{key:"9f2aeeeb12f48f34a732137c809c48c23d6a190e"},this.mainTitle&&s("div",{key:"63924f49200a966ed3e7244c685ae9df6eeefbc1",id:"title",class:"heading-3-sb"},this.mainTitle),this._type==o.DEFAULT?this.renderDefaultMode():this.renderDragDropMode(),!!this.invalidFiles.size&&this.showErrors&&s("z-modal",{key:"e3c015962d22df4c1d769d6177417bbf8d6bcc93",modalid:`file-upload-${this.type}-error-modal`,ref:e=>this.errorModal=e,modaltitle:this.errorModalTitle,onModalClose:()=>this.resetErrors(),onModalBackgroundClick:()=>this.resetErrors()},s("div",{key:"0cc1b6a3a952e1e683a70b952af131b74e7021e0",slot:"modalContent"},s("div",{key:"833875c9ffe28ad248a4cacd7249153c7230df0a",class:"modal-wrapper body-3"},this.errorModalMessage?this.errorModalMessage:this.renderFileErrors()))))}get host(){return this}static get style(){return'.sc-z-file-upload-h{display:flex;flex-direction:column;align-items:flex-start;color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{display:flex;flex-direction:column;justify-content:center;padding:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload>.files-wrapper.sc-z-file-upload{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}.sc-z-file-upload-h .text-container.sc-z-file-upload{display:flex;flex-direction:column;margin:auto;text-align:center}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload{color:var(--color-text-link-blue);cursor:pointer;text-decoration:underline}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none !important}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link-text.sc-z-file-upload{margin-bottom:var(--space-unit)}.sc-z-file-upload-h input[type="file"].sc-z-file-upload{display:none}.sc-z-file-upload-h #title.sc-z-file-upload+#description.sc-z-file-upload{margin-top:var(--space-unit)}.sc-z-file-upload-h>*.sc-z-file-upload+z-button.sc-z-file-upload,.sc-z-file-upload-h>.files-container.sc-z-file-upload+*.sc-z-file-upload,.sc-z-file-upload-h>.files-container.sc-z-file-upload:not(:first-child){margin-top:calc(var(--space-unit) * 3)}.sc-z-file-upload-h>.files-container.hidden.sc-z-file-upload{display:none}.sc-z-file-upload-h>.files-container.sc-z-file-upload>.uploaded-files-label.sc-z-file-upload{margin-bottom:calc(var(--space-unit) * 2)}.sc-z-file-upload-h>.files-container.sc-z-file-upload>.files-wrapper.sc-z-file-upload{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}@media (min-width: 768px){.sc-z-file-upload-h>.container.sc-z-file-upload>z-button.sc-z-file-upload{align-self:flex-start}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{padding:calc(var(--space-unit) * 3)}}@media (min-width: 1152px){.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{padding:calc(var(--space-unit) * 4)}}'}},[262,"z-file-upload",{type:[513],buttonVariant:[1,"button-variant"],acceptedFormat:[1,"accepted-format"],fileMaxSize:[2,"file-max-size"],mainTitle:[1,"main-title"],description:[1],uploadBtnLabel:[1,"upload-btn-label"],dragAndDropLabel:[1,"drag-and-drop-label"],allowedFilesMessage:[1,"allowed-files-message"],uploadClickableMessage:[1,"upload-clickable-message"],uploadMessage:[1,"upload-message"],errorModalTitle:[1,"error-modal-title"],errorModalMessage:[1,"error-modal-message"],uploadedFilesLabel:[1,"uploaded-files-label"],hasFileSection:[4,"has-file-section"],inputName:[1,"input-name"],showErrors:[4,"show-errors"],_type:[32],files:[32],invalidFiles:[32],input:[32],getFiles:[64],removeFile:[64]},[[0,"removeFile","onFileRemoved"],[0,"fileDropped","fileDroppedListener"]]]),u=p,f=function(){"undefined"!=typeof customElements&&["z-file-upload","z-button","z-dragdrop-area","z-icon","z-modal"].forEach((e=>{switch(e){case"z-file-upload":customElements.get(t(e))||customElements.define(t(e),p);break;case"z-button":customElements.get(t(e))||r();break;case"z-dragdrop-area":customElements.get(t(e))||n();break;case"z-icon":customElements.get(t(e))||d();break;case"z-modal":customElements.get(t(e))||c()}}))};export{u as ZFileUpload,f as defineCustomElement}
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { v as ZFileUploadType } from './index2.js';
3
+ import { d as defineCustomElement$5 } from './index5.js';
4
+ import { d as defineCustomElement$4 } from './index8.js';
5
+ import { d as defineCustomElement$3 } from './index10.js';
6
+ import { d as defineCustomElement$2 } from './index17.js';
7
+
8
+ const stylesCss = ".sc-z-file-upload-h{display:flex;flex-direction:column;align-items:flex-start;color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{display:flex;flex-direction:column;justify-content:center;padding:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload>.files-wrapper.sc-z-file-upload{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}.sc-z-file-upload-h .text-container.sc-z-file-upload{display:flex;flex-direction:column;margin:auto;text-align:center}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload{color:var(--color-text-link-blue);cursor:pointer;text-decoration:underline}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none !important}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link-text.sc-z-file-upload{margin-bottom:var(--space-unit)}.sc-z-file-upload-h input[type=\"file\"].sc-z-file-upload{display:none}.sc-z-file-upload-h #title.sc-z-file-upload+#description.sc-z-file-upload{margin-top:var(--space-unit)}.sc-z-file-upload-h>*.sc-z-file-upload+z-button.sc-z-file-upload,.sc-z-file-upload-h>.files-container.sc-z-file-upload+*.sc-z-file-upload,.sc-z-file-upload-h>.files-container.sc-z-file-upload:not(:first-child){margin-top:calc(var(--space-unit) * 3)}.sc-z-file-upload-h>.files-container.hidden.sc-z-file-upload{display:none}.sc-z-file-upload-h>.files-container.sc-z-file-upload>.uploaded-files-label.sc-z-file-upload{margin-bottom:calc(var(--space-unit) * 2)}.sc-z-file-upload-h>.files-container.sc-z-file-upload>.files-wrapper.sc-z-file-upload{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}@media (min-width: 768px){.sc-z-file-upload-h>.container.sc-z-file-upload>z-button.sc-z-file-upload{align-self:flex-start}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{padding:calc(var(--space-unit) * 3)}}@media (min-width: 1152px){.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{padding:calc(var(--space-unit) * 4)}}";
9
+ const ZFileUploadStyle0 = stylesCss;
10
+
11
+ const ZFileUpload$1 = /*@__PURE__*/ proxyCustomElement(class ZFileUpload extends HTMLElement {
12
+ constructor() {
13
+ super();
14
+ this.__registerHost();
15
+ this.fileInput = createEvent(this, "fileInput", 7);
16
+ this.fileError = createEvent(this, "fileError", 7);
17
+ this.type = ZFileUploadType.DEFAULT;
18
+ this.buttonVariant = undefined;
19
+ this.acceptedFormat = undefined;
20
+ this.fileMaxSize = undefined;
21
+ this.mainTitle = undefined;
22
+ this.description = undefined;
23
+ this.uploadBtnLabel = "allega";
24
+ this.dragAndDropLabel = "Rilascia i file in questa area per allegarli.";
25
+ this.allowedFilesMessage = undefined;
26
+ this.uploadClickableMessage = "Carica";
27
+ this.uploadMessage = "o trascina dal tuo computer";
28
+ this.errorModalTitle = "Errore di caricamento";
29
+ this.errorModalMessage = undefined;
30
+ this.uploadedFilesLabel = "File appena caricati";
31
+ this.hasFileSection = true;
32
+ this.inputName = "z-file-upload";
33
+ this.showErrors = true;
34
+ this._type = this.type;
35
+ this.files = [];
36
+ this.invalidFiles = new Map();
37
+ this.input = undefined;
38
+ }
39
+ /** Listen `removeFile` event sent from z-file component */
40
+ onFileRemoved(e) {
41
+ this.removeFile(e.detail.fileName);
42
+ }
43
+ /** Listen fileDropped event sent from z-dragdrop-area component */
44
+ fileDroppedListener(e) {
45
+ this.input.files = e.detail;
46
+ this.checkFilesValidity(this.input.files);
47
+ }
48
+ /** Get the list of uploaded files */
49
+ async getFiles() {
50
+ return this.files;
51
+ }
52
+ /** Remove a previously uploaded file */
53
+ async removeFile(fileName) {
54
+ const files = this.files;
55
+ const index = files.findIndex((file) => file.name === fileName);
56
+ if (index >= 0) {
57
+ files.splice(index, 1);
58
+ this.files = [...files];
59
+ }
60
+ }
61
+ checkFilesValidity(files) {
62
+ if (!files.length) {
63
+ return;
64
+ }
65
+ Array.from(files).forEach((file) => {
66
+ const fileSize = file.size / 1024 / 1024;
67
+ const fileFormatOk = this.acceptedFormat
68
+ .split(",")
69
+ .some((ext) => file.name.toLowerCase().endsWith(ext.trim()));
70
+ const fileSizeOk = fileSize <= this.fileMaxSize;
71
+ if (fileSizeOk && fileFormatOk && !this.files.find((f) => f.name === file.name)) {
72
+ this.files = [...this.files, file];
73
+ this.fileInput.emit(file);
74
+ this.input.value = "";
75
+ return;
76
+ }
77
+ const sizeError = `Il file ${file.name} supera il limite di ${this.fileMaxSize}MB`;
78
+ const formatError = `Il file ${file.name} ha un formato non supportato`;
79
+ const errors = [
80
+ !fileSizeOk && { cause: "size", message: sizeError },
81
+ !fileFormatOk && { cause: "format", message: formatError },
82
+ ].filter(Boolean);
83
+ this.invalidFiles.set(file.name, errors);
84
+ this.invalidFiles = new Map(this.invalidFiles); // trigger state update
85
+ this.fileError.emit({ file: file.name, errors });
86
+ });
87
+ }
88
+ resetErrors() {
89
+ this.invalidFiles = new Map();
90
+ }
91
+ onFilesChange(e) {
92
+ this.checkFilesValidity(e.target.files);
93
+ }
94
+ componentWillLoad() {
95
+ // force default type on mobile and tablet viewport
96
+ const mql = window.matchMedia("(max-width: 1151px)");
97
+ this._type = mql.matches ? ZFileUploadType.DEFAULT : this.type;
98
+ mql.addEventListener("change", (e) => {
99
+ this._type = e.matches ? ZFileUploadType.DEFAULT : this.type;
100
+ });
101
+ }
102
+ componentDidUpdate() {
103
+ if (!this.showErrors || !this.invalidFiles.size) {
104
+ return;
105
+ }
106
+ this.errorModal.open();
107
+ }
108
+ renderDescription(cssClass) {
109
+ if (!this.description) {
110
+ return;
111
+ }
112
+ return (h("span", { id: "description", class: cssClass }, this.description));
113
+ }
114
+ renderAllowedFilesMessage() {
115
+ let fileFormatString = "";
116
+ let fileWeightString = "";
117
+ if (this.acceptedFormat) {
118
+ const fileFormat = this.acceptedFormat
119
+ .split(", ")
120
+ .map((string) => string.substring(1).toUpperCase())
121
+ .join(", ");
122
+ fileFormatString = ` nei formati ${fileFormat}`;
123
+ }
124
+ if (this.fileMaxSize) {
125
+ fileWeightString = ` per un massimo di ${this.fileMaxSize}MB di peso`;
126
+ }
127
+ const defaultMessage = fileFormatString || fileWeightString ? `Puoi allegare file${fileFormatString}${fileWeightString}.` : undefined;
128
+ if (!this.allowedFilesMessage && !defaultMessage) {
129
+ return;
130
+ }
131
+ return h("span", { class: "allowed-files-message body-3" }, this.allowedFilesMessage || defaultMessage);
132
+ }
133
+ renderFileSection() {
134
+ if (!this.hasFileSection) {
135
+ return;
136
+ }
137
+ return (h("section", { class: { "files-container": true, "hidden": !this.files.length } }, h("div", { class: "uploaded-files-label heading-3-sb" }, this.uploadedFilesLabel), h("div", { class: "files-wrapper" }, h("slot", { name: "files" }))));
138
+ }
139
+ renderInput() {
140
+ return (h("input", { type: "file", name: this.inputName, multiple: true, onChange: (e) => this.onFilesChange(e), accept: this.acceptedFormat, ref: (val) => (this.input = val) }));
141
+ }
142
+ renderUploadButton() {
143
+ return [
144
+ h("z-button", { onClick: () => this.input.click(), onKeyPress: (e) => {
145
+ if (e.code == "Space" || e.code == "Enter") {
146
+ e.preventDefault();
147
+ this.input.click();
148
+ }
149
+ }, id: "fileSelect", variant: this.buttonVariant, icon: "upload" }, this.uploadBtnLabel),
150
+ this.renderInput(),
151
+ ];
152
+ }
153
+ renderUploadLink() {
154
+ return [
155
+ this.renderInput(),
156
+ h("span", { class: "body-1 upload-link-text" }, h("span", { tabIndex: 0, class: "body-1-sb upload-link", onClick: () => this.input.click(), onKeyPress: (e) => {
157
+ if (e.code == "Space" || e.code == "Enter") {
158
+ e.preventDefault();
159
+ this.input.click();
160
+ }
161
+ } }, this.uploadClickableMessage), " ", this.uploadMessage),
162
+ ];
163
+ }
164
+ renderDefaultMode() {
165
+ return [
166
+ this.renderDescription("body-3-sb"),
167
+ this.renderAllowedFilesMessage(),
168
+ this.renderFileSection(),
169
+ this.renderUploadButton(),
170
+ ];
171
+ }
172
+ renderDragDropMode() {
173
+ return [
174
+ this.renderFileSection(),
175
+ h("z-dragdrop-area", { "drag-and-drop-label": this.dragAndDropLabel }, h("div", { class: "text-container" }, this.renderDescription("body-1"), this.renderUploadLink(), this.renderAllowedFilesMessage())),
176
+ ];
177
+ }
178
+ renderFileErrors() {
179
+ return Array.from(this.invalidFiles).map(([fileName, errors]) => {
180
+ const prefix = `Il file ${fileName}`;
181
+ return (h("span", { class: "error-message" }, "Il file ", h("span", { class: "body-3-sb" }, fileName), errors.map(({ message }) => message.replace(prefix, "")).join(" e "), "."));
182
+ });
183
+ }
184
+ render() {
185
+ return (h(Host, { key: '13ada780c37ca16c2153f8c1177864932fe299dd' }, this.mainTitle && (h("div", { key: 'dcf55ac93e6959136262d0422272ab4902c3cbed', id: "title", class: "heading-3-sb" }, this.mainTitle)), this._type == ZFileUploadType.DEFAULT ? this.renderDefaultMode() : this.renderDragDropMode(), !!this.invalidFiles.size && this.showErrors && (h("z-modal", { key: 'e7d8c001c513ab498779c752dc195ab03ec81a80', modalid: `file-upload-${this.type}-error-modal`, ref: (val) => (this.errorModal = val), modaltitle: this.errorModalTitle, onModalClose: () => this.resetErrors(), onModalBackgroundClick: () => this.resetErrors() }, h("div", { key: 'e5262f2f8b42dfe38ad4b794b08b4bf6b83b4a7a', slot: "modalContent" }, h("div", { key: '5e50b460de47813678ea1e2d3a2a3e0e76d0a6d0', class: "modal-wrapper body-3" }, this.errorModalMessage ? this.errorModalMessage : this.renderFileErrors()))))));
186
+ }
187
+ get host() { return this; }
188
+ static get style() { return ZFileUploadStyle0; }
189
+ }, [6, "z-file-upload", {
190
+ "type": [513],
191
+ "buttonVariant": [1, "button-variant"],
192
+ "acceptedFormat": [1, "accepted-format"],
193
+ "fileMaxSize": [2, "file-max-size"],
194
+ "mainTitle": [1, "main-title"],
195
+ "description": [1],
196
+ "uploadBtnLabel": [1, "upload-btn-label"],
197
+ "dragAndDropLabel": [1, "drag-and-drop-label"],
198
+ "allowedFilesMessage": [1, "allowed-files-message"],
199
+ "uploadClickableMessage": [1, "upload-clickable-message"],
200
+ "uploadMessage": [1, "upload-message"],
201
+ "errorModalTitle": [1, "error-modal-title"],
202
+ "errorModalMessage": [1, "error-modal-message"],
203
+ "uploadedFilesLabel": [1, "uploaded-files-label"],
204
+ "hasFileSection": [4, "has-file-section"],
205
+ "inputName": [1, "input-name"],
206
+ "showErrors": [4, "show-errors"],
207
+ "_type": [32],
208
+ "files": [32],
209
+ "invalidFiles": [32],
210
+ "input": [32],
211
+ "getFiles": [64],
212
+ "removeFile": [64]
213
+ }, [[0, "removeFile", "onFileRemoved"], [0, "fileDropped", "fileDroppedListener"]]]);
214
+ function defineCustomElement$1() {
215
+ if (typeof customElements === "undefined") {
216
+ return;
217
+ }
218
+ const components = ["z-file-upload", "z-button", "z-dragdrop-area", "z-icon", "z-modal"];
219
+ components.forEach(tagName => { switch (tagName) {
220
+ case "z-file-upload":
221
+ if (!customElements.get(tagName)) {
222
+ customElements.define(tagName, ZFileUpload$1);
223
+ }
224
+ break;
225
+ case "z-button":
226
+ if (!customElements.get(tagName)) {
227
+ defineCustomElement$5();
228
+ }
229
+ break;
230
+ case "z-dragdrop-area":
231
+ if (!customElements.get(tagName)) {
232
+ defineCustomElement$4();
233
+ }
234
+ break;
235
+ case "z-icon":
236
+ if (!customElements.get(tagName)) {
237
+ defineCustomElement$3();
238
+ }
239
+ break;
240
+ case "z-modal":
241
+ if (!customElements.get(tagName)) {
242
+ defineCustomElement$2();
243
+ }
244
+ break;
245
+ } });
246
+ }
247
+
248
+ const ZFileUpload = ZFileUpload$1;
249
+ const defineCustomElement = defineCustomElement$1;
250
+
251
+ export { ZFileUpload, defineCustomElement };
252
+
253
+ //# sourceMappingURL=z-file-upload.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-file-upload.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,6rEAA6rE,CAAC;AAChtE,0BAAe,SAAS;;MCUXA,aAAW;;;;;;oBAGE,eAAe,CAAC,OAAO;;;;;;8BAwBrB,QAAQ;gCAIN,+CAA+C;;sCAQzC,QAAQ;6BAIjB,6BAA6B;+BAI3B,uBAAuB;;kCAQpB,sBAAsB;8BAIzB,IAAI;yBAIlB,eAAe;0BAOf,IAAI;qBAIgB,IAAI,CAAC,IAAI;qBAI1B,EAAE;4BAI8B,IAAI,GAAG,EAA8B;;;;IAuBrF,aAAa,CAAC,CAAc;QAC1B,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;KACpC;;IAID,mBAAmB,CAAC,CAAc;QAChC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QAC5B,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;KAC3C;;IAID,MAAM,QAAQ;QACZ,OAAO,IAAI,CAAC,KAAK,CAAC;KACnB;;IAID,MAAM,UAAU,CAAC,QAAgB;QAC/B,MAAM,KAAK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CAAC,SAAS,CACX,CACP,EACA,IAAI,CAAC,KAAK,IAAI,eAAe,CAAC,OAAO,GAAG,IAAI,CAAC,iBAAiB,EAAE,GAAG,IAAI,CAAC,kBAAkB,EAAE,EAC5F,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAC1C,gEACE,OAAO,EAAE,eAAe,IAAI,CAAC,IAAI,cAAc,EAC/C,GAAG,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC,EACrC,UAAU,EAAE,IAAI,CAAC,eAAe,EAChC,YAAY,EAAE,MAAM,IAAI,CAAC,WAAW,EAAE,EACtC,sBAAsB,EAAE,MAAM,IAAI,CAAC,WAAW,EAAE,IAEhD,4DAAK,IAAI,EAAC,cAAc,IACtB,4DAAK,KAAK,EAAC,sBAAsB,IAC9B,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,EAAE,CACtE,CACF,CACE,CACX,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZFileUpload"],"sources":["src/components/file-upload/z-file-upload/styles.css?tag=z-file-upload&encapsulation=scoped","src/components/file-upload/z-file-upload/index.tsx"],"sourcesContent":[":host {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host .modal-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: calc(var(--space-unit) * 2);\n row-gap: calc(var(--space-unit) * 2);\n}\n\n:host .modal-wrapper > .files-wrapper {\n display: flex;\n flex-direction: column;\n margin: calc(var(--space-unit) * 4);\n gap: var(--space-unit);\n}\n\n:host .text-container {\n display: flex;\n flex-direction: column;\n margin: auto;\n text-align: center;\n}\n\n:host .text-container .upload-link {\n color: var(--color-text-link-blue);\n cursor: pointer;\n text-decoration: underline;\n}\n\n:host .text-container .upload-link:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n:host .text-container .upload-link-text {\n margin-bottom: var(--space-unit);\n}\n\n:host input[type=\"file\"] {\n display: none;\n}\n\n:host #title + #description {\n margin-top: var(--space-unit);\n}\n\n:host > * + z-button,\n:host > .files-container + *,\n:host > .files-container:not(:first-child) {\n margin-top: calc(var(--space-unit) * 3);\n}\n\n:host > .files-container.hidden {\n display: none;\n}\n\n:host > .files-container > .uploaded-files-label {\n margin-bottom: calc(var(--space-unit) * 2);\n}\n\n:host > .files-container > .files-wrapper {\n display: flex;\n flex-wrap: wrap;\n column-gap: calc(var(--space-unit) * 2);\n row-gap: calc(var(--space-unit) * 2);\n}\n\n/* Tablet breakpoint */\n@media (min-width: 768px) {\n :host > .container > z-button {\n align-self: flex-start;\n }\n\n :host .modal-wrapper {\n padding: calc(var(--space-unit) * 3);\n }\n}\n\n@media (min-width: 1152px) {\n :host .modal-wrapper {\n padding: calc(var(--space-unit) * 4);\n }\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, State, h} from \"@stencil/core\";\nimport {ButtonVariant, ZFileUploadType} from \"../../../beans\";\n\nexport type ZFileUploadError = {cause: \"format\" | \"size\"; message: string};\n\n@Component({\n tag: \"z-file-upload\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZFileUpload {\n /** Prop indicating the file upload type - can be default or dragdrop */\n @Prop({reflect: true})\n type: ZFileUploadType = ZFileUploadType.DEFAULT;\n\n /** Prop indicating the button variant*/\n @Prop()\n buttonVariant?: ButtonVariant;\n\n /** Prop indicating the accepted file type: ex \".pdf, .doc, .jpg\" */\n @Prop()\n acceptedFormat?: string;\n\n /** Max file dimension in Megabyte */\n @Prop()\n fileMaxSize?: number;\n\n /** Title */\n @Prop()\n mainTitle?: string;\n\n /** Description */\n @Prop()\n description?: string;\n\n /** upoload button label */\n @Prop()\n uploadBtnLabel?: string = \"allega\";\n\n /** drag & drop button label */\n @Prop()\n dragAndDropLabel?: string = \"Rilascia i file in questa area per allegarli.\";\n\n /** allowed file message */\n @Prop()\n allowedFilesMessage?: string;\n\n /** upload clickable message */\n @Prop()\n uploadClickableMessage?: string = \"Carica\";\n\n /** upload message */\n @Prop()\n uploadMessage?: string = \"o trascina dal tuo computer\";\n\n /** error modal title */\n @Prop()\n errorModalTitle?: string = \"Errore di caricamento\";\n\n /** error modal message */\n @Prop()\n errorModalMessage?: string;\n\n /** loaded files label */\n @Prop()\n uploadedFilesLabel?: string = \"File appena caricati\";\n\n /** uploaded files history rendering */\n @Prop()\n hasFileSection?: boolean = true;\n\n /** Value to set on the file input's `name` attribute (for use with forms) */\n @Prop()\n inputName? = \"z-file-upload\";\n\n /**\n * Whether to show errors in the internal modal or leave the handling to the app.\n * Errors will still be emitted.\n */\n @Prop()\n showErrors = true;\n\n /** Internal store of the component type. It will change when viewport goes from desktop to tablet/mobile and vice versa */\n @State()\n private _type: ZFileUploadType = this.type;\n\n /** Files added by the user */\n @State()\n files: File[] = [];\n\n /** Map of files whose upload caused an error and the relative errors, with the cause and a message */\n @State()\n invalidFiles: Map<string, ZFileUploadError[]> = new Map<string, ZFileUploadError[]>();\n\n /** Input ref */\n @State()\n private input: HTMLInputElement;\n\n /** Emitted when user select one or more files */\n @Event()\n fileInput: EventEmitter<File>;\n\n /**\n * Emits an array of error messages related to one or more files not allowed.\n * Emitted when some file is dropped or selected.\n */\n @Event()\n fileError: EventEmitter<{file: string; errors: ZFileUploadError[]}>;\n\n @Element() host: HTMLZFileUploadElement;\n\n private errorModal: HTMLZModalElement;\n\n /** Listen `removeFile` event sent from z-file component */\n @Listen(\"removeFile\")\n onFileRemoved(e: CustomEvent): void {\n this.removeFile(e.detail.fileName);\n }\n\n /** Listen fileDropped event sent from z-dragdrop-area component */\n @Listen(\"fileDropped\")\n fileDroppedListener(e: CustomEvent): void {\n this.input.files = e.detail;\n this.checkFilesValidity(this.input.files);\n }\n\n /** Get the list of uploaded files */\n @Method()\n async getFiles(): Promise<File[]> {\n return this.files;\n }\n\n /** Remove a previously uploaded file */\n @Method()\n async removeFile(fileName: string): Promise<void> {\n const files = this.files;\n const index = files.findIndex((file) => file.name === fileName);\n if (index >= 0) {\n files.splice(index, 1);\n this.files = [...files];\n }\n }\n\n private checkFilesValidity(files: FileList): Map<string, string[]> {\n if (!files.length) {\n return;\n }\n\n Array.from(files).forEach((file: File) => {\n const fileSize = file.size / 1024 / 1024;\n const fileFormatOk = this.acceptedFormat\n .split(\",\")\n .some((ext: string) => file.name.toLowerCase().endsWith(ext.trim()));\n const fileSizeOk = fileSize <= this.fileMaxSize;\n if (fileSizeOk && fileFormatOk && !this.files.find((f) => f.name === file.name)) {\n this.files = [...this.files, file];\n this.fileInput.emit(file);\n this.input.value = \"\";\n\n return;\n }\n\n const sizeError = `Il file ${file.name} supera il limite di ${this.fileMaxSize}MB`;\n const formatError = `Il file ${file.name} ha un formato non supportato`;\n const errors = [\n !fileSizeOk && {cause: \"size\" as const, message: sizeError},\n !fileFormatOk && {cause: \"format\" as const, message: formatError},\n ].filter(Boolean);\n this.invalidFiles.set(file.name, errors);\n this.invalidFiles = new Map(this.invalidFiles); // trigger state update\n this.fileError.emit({file: file.name, errors});\n });\n }\n\n private resetErrors(): void {\n this.invalidFiles = new Map<string, ZFileUploadError[]>();\n }\n\n private onFilesChange(e: Event): void {\n this.checkFilesValidity((e.target as HTMLInputElement).files);\n }\n\n componentWillLoad(): void {\n // force default type on mobile and tablet viewport\n const mql = window.matchMedia(\"(max-width: 1151px)\");\n this._type = mql.matches ? ZFileUploadType.DEFAULT : this.type;\n mql.addEventListener(\"change\", (e) => {\n this._type = e.matches ? ZFileUploadType.DEFAULT : this.type;\n });\n }\n\n componentDidUpdate(): void {\n if (!this.showErrors || !this.invalidFiles.size) {\n return;\n }\n\n this.errorModal.open();\n }\n\n private renderDescription(cssClass): HTMLElement | undefined {\n if (!this.description) {\n return;\n }\n\n return (\n <span\n id=\"description\"\n class={cssClass}\n >\n {this.description}\n </span>\n );\n }\n\n private renderAllowedFilesMessage(): HTMLElement {\n let fileFormatString = \"\";\n let fileWeightString = \"\";\n\n if (this.acceptedFormat) {\n const fileFormat = this.acceptedFormat\n .split(\", \")\n .map((string) => string.substring(1).toUpperCase())\n .join(\", \");\n fileFormatString = ` nei formati ${fileFormat}`;\n }\n\n if (this.fileMaxSize) {\n fileWeightString = ` per un massimo di ${this.fileMaxSize}MB di peso`;\n }\n\n const defaultMessage =\n fileFormatString || fileWeightString ? `Puoi allegare file${fileFormatString}${fileWeightString}.` : undefined;\n\n if (!this.allowedFilesMessage && !defaultMessage) {\n return;\n }\n\n return <span class=\"allowed-files-message body-3\">{this.allowedFilesMessage || defaultMessage}</span>;\n }\n\n private renderFileSection(): HTMLElement {\n if (!this.hasFileSection) {\n return;\n }\n\n return (\n <section class={{\"files-container\": true, \"hidden\": !this.files.length}}>\n <div class=\"uploaded-files-label heading-3-sb\">{this.uploadedFilesLabel}</div>\n <div class=\"files-wrapper\">\n <slot name=\"files\" />\n </div>\n </section>\n );\n }\n\n private renderInput(): HTMLInputElement {\n return (\n <input\n type=\"file\"\n name={this.inputName}\n multiple\n onChange={(e) => this.onFilesChange(e)}\n accept={this.acceptedFormat}\n ref={(val) => (this.input = val)}\n />\n );\n }\n\n private renderUploadButton(): unknown[] {\n return [\n <z-button\n onClick={() => this.input.click()}\n onKeyPress={(e) => {\n if (e.code == \"Space\" || e.code == \"Enter\") {\n e.preventDefault();\n this.input.click();\n }\n }}\n id=\"fileSelect\"\n variant={this.buttonVariant}\n icon=\"upload\"\n >\n {this.uploadBtnLabel}\n </z-button>,\n this.renderInput(),\n ];\n }\n\n private renderUploadLink(): unknown[] {\n return [\n this.renderInput(),\n <span class=\"body-1 upload-link-text\">\n <span\n tabIndex={0}\n class=\"body-1-sb upload-link\"\n onClick={() => this.input.click()}\n onKeyPress={(e) => {\n if (e.code == \"Space\" || e.code == \"Enter\") {\n e.preventDefault();\n this.input.click();\n }\n }}\n >\n {this.uploadClickableMessage}\n </span>{\" \"}\n {this.uploadMessage}\n </span>,\n ];\n }\n\n private renderDefaultMode(): unknown[] {\n return [\n this.renderDescription(\"body-3-sb\"),\n this.renderAllowedFilesMessage(),\n this.renderFileSection(),\n this.renderUploadButton(),\n ];\n }\n\n private renderDragDropMode(): unknown[] {\n return [\n this.renderFileSection(),\n <z-dragdrop-area drag-and-drop-label={this.dragAndDropLabel}>\n <div class=\"text-container\">\n {this.renderDescription(\"body-1\")}\n {this.renderUploadLink()}\n {this.renderAllowedFilesMessage()}\n </div>\n </z-dragdrop-area>,\n ];\n }\n\n private renderFileErrors(): HTMLElement[] {\n return Array.from(this.invalidFiles).map(([fileName, errors]) => {\n const prefix = `Il file ${fileName}`;\n\n return (\n <span class=\"error-message\">\n Il file <span class=\"body-3-sb\">{fileName}</span>\n {errors.map(({message}) => message.replace(prefix, \"\")).join(\" e \")}.\n </span>\n );\n });\n }\n\n render(): HTMLZFileUploadElement {\n return (\n <Host>\n {this.mainTitle && (\n <div\n id=\"title\"\n class=\"heading-3-sb\"\n >\n {this.mainTitle}\n </div>\n )}\n {this._type == ZFileUploadType.DEFAULT ? this.renderDefaultMode() : this.renderDragDropMode()}\n {!!this.invalidFiles.size && this.showErrors && (\n <z-modal\n modalid={`file-upload-${this.type}-error-modal`}\n ref={(val) => (this.errorModal = val)}\n modaltitle={this.errorModalTitle}\n onModalClose={() => this.resetErrors()}\n onModalBackgroundClick={() => this.resetErrors()}\n >\n <div slot=\"modalContent\">\n <div class=\"modal-wrapper body-3\">\n {this.errorModalMessage ? this.errorModalMessage : this.renderFileErrors()}\n </div>\n </div>\n </z-modal>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +1,89 @@
1
- import{proxyCustomElement as e,HTMLElement as i,createEvent as t,h as s,Host as o,transformTag as n}from"@stencil/core/internal/client";import{P as c,w as a}from"./index2.js";import{B as r}from"./breakpoints.js";import{d as l}from"./index19.js";import{d as p}from"./index3.js";import{d as f}from"./index17.js";const d=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.removeFile=t(this,"removeFile",7),this.allowPopover=!1,this.popoverVisible=!1}removeFileHandler(){this.removeFile.emit({fileName:this.fileName}),this.el.remove()}onMouseOver(){this.popoverVisible=!0}onMouseLeave(){this.popoverVisible=!1}onInteractiveIconClick(){this.removeFileHandler()}componentDidLoad(){var e,i;this.elementHasEllipsis()&&window.innerWidth>r.TABLET&&(this.allowPopover=!0),null===(i=null===(e=this.icon)||void 0===e?void 0:e.focus)||void 0===i||i.call(e)}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return s(o,{key:"b14de221b558a20b6a73755f4a299743fa5a7d23"},this.allowPopover&&s("z-popover",{key:"fc3a7c327d89a7a9ea6b9660d17d78de1922729c",open:this.popoverVisible,position:c.AUTO,bindTo:this.chip},s("span",{key:"7f33d40074ba639bd8da65132dad5b2fa1cf349e",class:"body-5 tooltip-content"},this.ellipsis.innerText)),s("z-chip",{key:"ae8746950f0ee745c77a1b5602c4f6ecb0278afd",ref:e=>this.chip=e,id:"chip-"+this.fileNumber,interactiveIcon:"multiply-circled",type:a.DEFAULT},s("span",{key:"6ef36d2bebe82fbcb9919cce4c2a4c8d657ba255",ref:e=>this.ellipsis=e,tabIndex:-1},this.fileName)))}get el(){return this}static get style(){return".sc-z-file-h{position:relative;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-h>z-popover.sc-z-file{z-index:10}.sc-z-file-h>z-popover.sc-z-file>.tooltip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file span.sc-z-file{display:block;overflow:hidden;max-width:250px;letter-spacing:0.32px;line-height:1.33;text-overflow:ellipsis;white-space:nowrap}"}},[2,"z-file",{fileNumber:[2,"file-number"],fileName:[1,"file-name"],allowPopover:[32],popoverVisible:[32]},[[1,"mouseover","onMouseOver"],[1,"mouseleave","onMouseLeave"],[0,"interactiveIconClick","onInteractiveIconClick"]]]),h=d,m=function(){"undefined"!=typeof customElements&&["z-file","z-chip","z-icon","z-popover"].forEach((e=>{switch(e){case"z-file":customElements.get(n(e))||customElements.define(n(e),d);break;case"z-chip":customElements.get(n(e))||l();break;case"z-icon":customElements.get(n(e))||p();break;case"z-popover":customElements.get(n(e))||f()}}))};export{h as ZFile,m as defineCustomElement}
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { P as PopoverPosition, w as ZChipType } from './index2.js';
3
+ import { B as Breakpoints } from './breakpoints.js';
4
+ import { d as defineCustomElement$4 } from './index6.js';
5
+ import { d as defineCustomElement$3 } from './index10.js';
6
+ import { d as defineCustomElement$2 } from './index24.js';
7
+
8
+ const stylesCss = ".sc-z-file-h{position:relative;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-h>z-popover.sc-z-file{z-index:10}.sc-z-file-h>z-popover.sc-z-file>.tooltip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file span.sc-z-file{display:block;overflow:hidden;max-width:250px;letter-spacing:0.32px;line-height:1.33;text-overflow:ellipsis;white-space:nowrap}";
9
+ const ZFileStyle0 = stylesCss;
10
+
11
+ const ZFile$1 = /*@__PURE__*/ proxyCustomElement(class ZFile extends HTMLElement {
12
+ constructor() {
13
+ super();
14
+ this.__registerHost();
15
+ this.removeFile = createEvent(this, "removeFile", 7);
16
+ this.fileNumber = undefined;
17
+ this.fileName = undefined;
18
+ this.allowPopover = false;
19
+ this.popoverVisible = false;
20
+ }
21
+ removeFileHandler() {
22
+ this.removeFile.emit({ fileName: this.fileName });
23
+ this.el.remove();
24
+ }
25
+ onMouseOver() {
26
+ this.popoverVisible = true;
27
+ }
28
+ onMouseLeave() {
29
+ this.popoverVisible = false;
30
+ }
31
+ onInteractiveIconClick() {
32
+ this.removeFileHandler();
33
+ }
34
+ componentDidLoad() {
35
+ var _a, _b;
36
+ if (this.elementHasEllipsis() && window.innerWidth > Breakpoints.TABLET) {
37
+ this.allowPopover = true;
38
+ }
39
+ (_b = (_a = this.icon) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a);
40
+ }
41
+ elementHasEllipsis() {
42
+ return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
43
+ }
44
+ render() {
45
+ return (h(Host, { key: '7f9738fc5ab5714736fc9ce5f83cb31f41b0e099' }, this.allowPopover && (h("z-popover", { key: 'd5baa113aa7e90938197d6cbd4d90b6a952e4cc7', open: this.popoverVisible, position: PopoverPosition.AUTO, bindTo: this.chip }, h("span", { key: 'f4fc4a0a02c3475713b76ad1ece29dff2d514369', class: "body-5 tooltip-content" }, this.ellipsis.innerText))), h("z-chip", { key: '301e251425be64a0484dc397e3222d3790e14a80', ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: ZChipType.DEFAULT }, h("span", { key: '5d3f8d4bdf1550b72e44aeed32a4cb59da15f5e8', ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
46
+ }
47
+ get el() { return this; }
48
+ static get style() { return ZFileStyle0; }
49
+ }, [2, "z-file", {
50
+ "fileNumber": [2, "file-number"],
51
+ "fileName": [1, "file-name"],
52
+ "allowPopover": [32],
53
+ "popoverVisible": [32]
54
+ }, [[1, "mouseover", "onMouseOver"], [1, "mouseleave", "onMouseLeave"], [0, "interactiveIconClick", "onInteractiveIconClick"]]]);
55
+ function defineCustomElement$1() {
56
+ if (typeof customElements === "undefined") {
57
+ return;
58
+ }
59
+ const components = ["z-file", "z-chip", "z-icon", "z-popover"];
60
+ components.forEach(tagName => { switch (tagName) {
61
+ case "z-file":
62
+ if (!customElements.get(tagName)) {
63
+ customElements.define(tagName, ZFile$1);
64
+ }
65
+ break;
66
+ case "z-chip":
67
+ if (!customElements.get(tagName)) {
68
+ defineCustomElement$4();
69
+ }
70
+ break;
71
+ case "z-icon":
72
+ if (!customElements.get(tagName)) {
73
+ defineCustomElement$3();
74
+ }
75
+ break;
76
+ case "z-popover":
77
+ if (!customElements.get(tagName)) {
78
+ defineCustomElement$2();
79
+ }
80
+ break;
81
+ } });
82
+ }
83
+
84
+ const ZFile = ZFile$1;
85
+ const defineCustomElement = defineCustomElement$1;
86
+
87
+ export { ZFile, defineCustomElement };
88
+
89
+ //# sourceMappingURL=z-file.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-file.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,uYAAuY,CAAC;AAC1Z,oBAAe,SAAS;;MCSXA,OAAK;;;;;;;4BAgBD,KAAK;8BAGH,KAAK;;IAQd,iBAAiB;QACvB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAC,CAAC,CAAC;QAChD,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC;KAClB;IAGD,WAAW;QACT,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;KAC5B;IAGD,YAAY;QACV,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;KAC7B;IAGD,sBAAsB;QACpB,IAAI,CAAC,iBAAiB,EAAE,CAAC;KAC1B;IAED,gBAAgB;;QACd,IAAI,IAAI,CAAC,kBAAkB,EAAE,IAAI,MAAM,CAAC,UAAU,GAAG,WAAW,CAAC,MAAM,EAAE;YACvE,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;SAC1B;QAED,MAAA,MAAA,IAAI,CAAC,IAAI,0CAAE,KAAK,kDAAI,CAAC;KACtB;IAEO,kBAAkB;QACxB,OAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC;KAC9D;IAED,MAAM;QACJ,QACE,EAAC,IAAI,uDACF,IAAI,CAAC,YAAY,KAChB,kEACE,IAAI,EAAE,IAAI,CAAC,cAAc,EACzB,QAAQ,EAAE,eAAe,CAAC,IAAI,EAC9B,MAAM,EAAE,IAAI,CAAC,IAAI,IAEjB,6DAAM,KAAK,EAAC,wBAAwB,IAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAQ,CAC3D,CACb,EACD,+DACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,IAAI,GAAG,EAAsB,CAAC,EACjD,EAAE,EAAE,QAAQ,IAAI,CAAC,UAAU,EAAE,EAC7B,eAAe,EAAC,kBAAkB,EAClC,IAAI,EAAE,SAAS,CAAC,OAAO,IAEvB,6DACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,QAAQ,GAAG,EAAqB,CAAC,EACpD,QAAQ,EAAE,CAAC,CAAC,IAEX,IAAI,CAAC,QAAQ,CACT,CACA,CACJ,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ZFile"],"sources":["src/components/file-upload/z-file/styles.css?tag=z-file&encapsulation=scoped","src/components/file-upload/z-file/index.tsx"],"sourcesContent":[":host {\n position: relative;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host > z-popover {\n z-index: 10;\n}\n\n:host > z-popover > .tooltip-content {\n white-space: nowrap;\n}\n\n:host > z-chip span {\n display: block;\n overflow: hidden;\n max-width: 250px;\n letter-spacing: 0.32px;\n line-height: 1.33;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, h} from \"@stencil/core\";\nimport {PopoverPosition, ZChipType} from \"../../../beans\";\nimport {Breakpoints} from \"../../../constants/breakpoints\";\n\n@Component({\n tag: \"z-file\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZFile {\n private icon: HTMLElement;\n\n private ellipsis?: HTMLSpanElement;\n\n private chip?: HTMLZChipElement;\n\n /** File chip id */\n @Prop()\n fileNumber: number;\n\n /** File name */\n @Prop()\n fileName: string;\n\n @State()\n allowPopover = false;\n\n @State()\n popoverVisible = false;\n\n @Element() el: HTMLZFileElement;\n\n /** Emitted when a z-file component is removed from the DOM */\n @Event()\n removeFile: EventEmitter;\n\n private removeFileHandler(): void {\n this.removeFile.emit({fileName: this.fileName});\n this.el.remove();\n }\n\n @Listen(\"mouseover\")\n onMouseOver(): void {\n this.popoverVisible = true;\n }\n\n @Listen(\"mouseleave\")\n onMouseLeave(): void {\n this.popoverVisible = false;\n }\n\n @Listen(\"interactiveIconClick\")\n onInteractiveIconClick(): void {\n this.removeFileHandler();\n }\n\n componentDidLoad(): void {\n if (this.elementHasEllipsis() && window.innerWidth > Breakpoints.TABLET) {\n this.allowPopover = true;\n }\n\n this.icon?.focus?.();\n }\n\n private elementHasEllipsis(): boolean {\n return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;\n }\n\n render(): HTMLZFileElement {\n return (\n <Host>\n {this.allowPopover && (\n <z-popover\n open={this.popoverVisible}\n position={PopoverPosition.AUTO}\n bindTo={this.chip}\n >\n <span class=\"body-5 tooltip-content\">{this.ellipsis.innerText}</span>\n </z-popover>\n )}\n <z-chip\n ref={(el) => (this.chip = el as HTMLZChipElement)}\n id={`chip-${this.fileNumber}`}\n interactiveIcon=\"multiply-circled\"\n type={ZChipType.DEFAULT}\n >\n <span\n ref={(el) => (this.ellipsis = el as HTMLSpanElement)}\n tabIndex={-1}\n >\n {this.fileName}\n </span>\n </z-chip>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +1,8 @@
1
- import{Z as o,d as s}from"./index18.js";const r=o,t=s;export{r as ZGhostLoading,t as defineCustomElement}
1
+ import { Z as ZGhostLoading$1, d as defineCustomElement$1 } from './index9.js';
2
+
3
+ const ZGhostLoading = ZGhostLoading$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { ZGhostLoading, defineCustomElement };
7
+
8
+ //# sourceMappingURL=z-ghost-loading.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-ghost-loading.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -1 +1,8 @@
1
- import{Z as o,d as s}from"./index3.js";const r=o,t=s;export{r as ZIcon,t as defineCustomElement}
1
+ import { Z as ZIcon$1, d as defineCustomElement$1 } from './index10.js';
2
+
3
+ const ZIcon = ZIcon$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { ZIcon, defineCustomElement };
7
+
8
+ //# sourceMappingURL=z-icon.js.map
@@ -0,0 +1 @@
1
+ {"file":"z-icon.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}