@zanichelli/albe-web-components 6.0.3 → 6.1.0-a1

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 (590) hide show
  1. package/dist/cjs/index.cjs.js +346 -302
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/{utils-ce225fb3.js → utils-7c92be74.js} +4 -5
  4. package/dist/cjs/{utils-ebe45309.js → utils-f681590c.js} +10 -11
  5. package/dist/cjs/web-components-library.cjs.js +1 -1
  6. package/dist/cjs/z-alert.cjs.entry.js +1 -0
  7. package/dist/cjs/z-app-header.cjs.entry.js +7 -29
  8. package/dist/cjs/z-app-switcher_9.cjs.entry.js +84 -70
  9. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -3
  10. package/dist/cjs/z-avatar.cjs.entry.js +6 -8
  11. package/dist/cjs/z-body_2.cjs.entry.js +4 -2
  12. package/dist/cjs/z-button-deprecated.cjs.entry.js +6 -12
  13. package/dist/cjs/z-button-filter.cjs.entry.js +2 -3
  14. package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
  15. package/dist/cjs/z-button.cjs.entry.js +8 -9
  16. package/dist/cjs/z-card.cjs.entry.js +6 -6
  17. package/dist/cjs/z-carousel.cjs.entry.js +11 -10
  18. package/dist/cjs/z-chip-deprecated.cjs.entry.js +2 -0
  19. package/dist/cjs/z-chip.cjs.entry.js +5 -6
  20. package/dist/cjs/z-combobox.cjs.entry.js +15 -17
  21. package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -8
  22. package/dist/cjs/z-cookiebar.cjs.entry.js +4 -2
  23. package/dist/cjs/z-cover-hero.cjs.entry.js +6 -14
  24. package/dist/cjs/z-date-picker.cjs.entry.js +16 -17
  25. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +2 -1
  26. package/dist/cjs/z-file-upload.cjs.entry.js +14 -11
  27. package/dist/cjs/z-file.cjs.entry.js +3 -2
  28. package/dist/cjs/z-footer-link_3.cjs.entry.js +5 -0
  29. package/dist/cjs/z-footer.cjs.entry.js +7 -2
  30. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  31. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -6
  32. package/dist/cjs/z-input-deprecated.cjs.entry.js +28 -29
  33. package/dist/cjs/z-input-label_2.cjs.entry.js +17 -17
  34. package/dist/cjs/z-list-group.cjs.entry.js +4 -17
  35. package/dist/cjs/z-list_2.cjs.entry.js +19 -55
  36. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +7 -3
  37. package/dist/cjs/z-menu-section.cjs.entry.js +3 -0
  38. package/dist/cjs/z-menu.cjs.entry.js +3 -10
  39. package/dist/cjs/z-messages-pocket.cjs.entry.js +6 -6
  40. package/dist/cjs/z-modal-login.cjs.entry.js +7 -5
  41. package/dist/cjs/z-modal.cjs.entry.js +3 -1
  42. package/dist/cjs/z-myz-card-alert.cjs.entry.js +6 -3
  43. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -6
  44. package/dist/cjs/z-myz-card-footer.cjs.entry.js +8 -6
  45. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -2
  46. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -4
  47. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -0
  48. package/dist/cjs/z-myz-card_4.cjs.entry.js +15 -9
  49. package/dist/cjs/z-myz-list-item.cjs.entry.js +6 -4
  50. package/dist/cjs/z-myz-topbar.cjs.entry.js +14 -4
  51. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +8 -16
  52. package/dist/cjs/z-navigation-tab.cjs.entry.js +7 -17
  53. package/dist/cjs/z-navigation-tabs.cjs.entry.js +10 -14
  54. package/dist/cjs/z-notification.cjs.entry.js +3 -6
  55. package/dist/cjs/z-offcanvas.cjs.entry.js +4 -12
  56. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  57. package/dist/cjs/z-pagination-bar.cjs.entry.js +5 -6
  58. package/dist/cjs/z-pagination-page.cjs.entry.js +2 -4
  59. package/dist/cjs/z-pagination.cjs.entry.js +7 -15
  60. package/dist/cjs/z-panel-elem.cjs.entry.js +7 -2
  61. package/dist/cjs/z-pocket_3.cjs.entry.js +15 -15
  62. package/dist/cjs/z-popover-deprecated.cjs.entry.js +8 -15
  63. package/dist/cjs/z-popover.cjs.entry.js +31 -36
  64. package/dist/cjs/z-section-title.cjs.entry.js +2 -10
  65. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -4
  66. package/dist/cjs/z-slideshow.cjs.entry.js +6 -4
  67. package/dist/cjs/z-status-tag.cjs.entry.js +5 -3
  68. package/dist/cjs/z-stepper-item.cjs.entry.js +4 -0
  69. package/dist/cjs/z-table-cell.cjs.entry.js +3 -4
  70. package/dist/cjs/z-table-empty-box.cjs.entry.js +0 -2
  71. package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -0
  72. package/dist/cjs/z-table-header-row.cjs.entry.js +1 -0
  73. package/dist/cjs/z-table-header.cjs.entry.js +15 -16
  74. package/dist/cjs/z-table-row.cjs.entry.js +4 -6
  75. package/dist/cjs/z-table.cjs.entry.js +9 -12
  76. package/dist/cjs/z-tag.cjs.entry.js +2 -0
  77. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -4
  78. package/dist/cjs/z-toast-notification.cjs.entry.js +17 -14
  79. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  80. package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -7
  81. package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +32 -27
  82. package/dist/cjs/z-tooltip.cjs.entry.js +2 -7
  83. package/dist/cjs/z-user-dropdown.cjs.entry.js +5 -1
  84. package/dist/collection/collection-manifest.json +1 -1
  85. package/dist/collection/components/buttons/z-button/index.js +8 -9
  86. package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
  87. package/dist/collection/components/buttons/z-chip/index.js +4 -5
  88. package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
  89. package/dist/collection/components/buttons/z-toggle-switch/index.js +1 -6
  90. package/dist/collection/components/date-picker/utils.js +10 -11
  91. package/dist/collection/components/date-picker/z-date-picker/index.js +15 -16
  92. package/dist/collection/components/date-picker/z-range-picker/index.js +15 -12
  93. package/dist/collection/components/file-upload/z-file/index.js +3 -2
  94. package/dist/collection/components/file-upload/z-file-upload/index.js +13 -10
  95. package/dist/collection/components/footer/z-footer/index.js +7 -2
  96. package/dist/collection/components/footer/z-footer-link/index.js +3 -0
  97. package/dist/collection/components/footer/z-footer-section/index.js +1 -0
  98. package/dist/collection/components/footer/z-footer-social/index.js +5 -0
  99. package/dist/collection/components/icons/z-icon/index.js +7 -0
  100. package/dist/collection/components/indicators/z-stepper-item/index.js +6 -0
  101. package/dist/collection/components/inputs/z-combobox/index.js +14 -16
  102. package/dist/collection/components/inputs/z-input/index.js +40 -37
  103. package/dist/collection/components/inputs/z-input-message/index.js +2 -0
  104. package/dist/collection/components/inputs/z-select/index.js +14 -15
  105. package/dist/collection/components/list/z-list/index.js +1 -5
  106. package/dist/collection/components/list/z-list-element/index.js +18 -51
  107. package/dist/collection/components/list/z-list-group/index.js +4 -17
  108. package/dist/collection/components/list/z-toast-notification-list/index.js +1 -4
  109. package/dist/collection/components/logo/z-logo/index.js +8 -0
  110. package/dist/collection/components/modal/z-modal/index.js +3 -1
  111. package/dist/collection/components/modal/z-modal-login/index.js +7 -5
  112. package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +7 -17
  113. package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +8 -16
  114. package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +10 -14
  115. package/dist/collection/components/navigation/z-app-header/index.js +7 -29
  116. package/dist/collection/components/navigation/z-app-switcher/index.js +1 -3
  117. package/dist/collection/components/navigation/z-app-topbar/index.js +8 -5
  118. package/dist/collection/components/navigation/z-link/index.js +3 -9
  119. package/dist/collection/components/navigation/z-menu/index.js +3 -10
  120. package/dist/collection/components/navigation/z-menu-dropdown/index.js +4 -2
  121. package/dist/collection/components/navigation/z-menu-section/index.js +5 -0
  122. package/dist/collection/components/navigation/z-user-dropdown/index.js +5 -1
  123. package/dist/collection/components/notification/z-cookiebar/index.js +6 -2
  124. package/dist/collection/components/notification/z-info-box/index.js +1 -1
  125. package/dist/collection/components/notification/z-notification/index.js +3 -6
  126. package/dist/collection/components/notification/z-toast-notification/index.js +17 -14
  127. package/dist/collection/components/notification/z-tooltip/index.js +2 -7
  128. package/dist/collection/components/panel/z-panel-elem/index.js +7 -2
  129. package/dist/collection/components/typography/z-body/index.js +2 -1
  130. package/dist/collection/components/typography/z-heading/index.js +2 -1
  131. package/dist/collection/components/typography/z-typography/index.js +2 -1
  132. package/dist/collection/components/z-aria-alert/index.js +1 -3
  133. package/dist/collection/components/z-avatar/index.js +6 -8
  134. package/dist/collection/components/z-card/index.js +6 -6
  135. package/dist/collection/components/z-carousel/index.js +11 -10
  136. package/dist/collection/components/z-contextual-menu/index.js +2 -8
  137. package/dist/collection/components/z-cover-hero/index.js +6 -14
  138. package/dist/collection/components/z-divider/index.js +2 -6
  139. package/dist/collection/components/z-info-reveal/index.js +2 -6
  140. package/dist/collection/components/z-offcanvas/index.js +4 -12
  141. package/dist/collection/components/z-pagination/index.js +7 -15
  142. package/dist/collection/components/z-popover/index.js +30 -35
  143. package/dist/collection/components/z-section-title/index.js +2 -10
  144. package/dist/collection/components/z-skip-to-content/index.js +2 -3
  145. package/dist/collection/components/z-table/z-table/index.js +9 -12
  146. package/dist/collection/components/z-table/z-table-cell/index.js +3 -4
  147. package/dist/collection/components/z-table/z-table-empty-box/index.js +0 -2
  148. package/dist/collection/components/z-table/z-table-expanded-row/index.js +3 -0
  149. package/dist/collection/components/z-table/z-table-header/index.js +14 -15
  150. package/dist/collection/components/z-table/z-table-header-row/index.js +3 -0
  151. package/dist/collection/components/z-table/z-table-row/index.js +4 -6
  152. package/dist/collection/components/z-tag/index.js +4 -0
  153. package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +4 -4
  154. package/dist/collection/deprecated/pagination/z-pagination-page/index.js +2 -4
  155. package/dist/collection/deprecated/z-button-deprecated/index.js +6 -12
  156. package/dist/collection/deprecated/z-button-filter/index.js +2 -3
  157. package/dist/collection/deprecated/z-chip-deprecated/index.js +4 -0
  158. package/dist/collection/deprecated/z-input-deprecated/index.js +27 -28
  159. package/dist/collection/deprecated/z-input-label/index.js +2 -1
  160. package/dist/collection/deprecated/z-popover-deprecated/index.js +7 -14
  161. package/dist/collection/deprecated/z-status-tag/index.js +5 -3
  162. package/dist/collection/deprecated/z-tooltip-deprecated/index.js +32 -27
  163. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +5 -6
  164. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +8 -3
  165. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +6 -0
  166. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +3 -6
  167. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +8 -6
  168. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +6 -4
  169. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -2
  170. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +2 -3
  171. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -0
  172. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +4 -0
  173. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +5 -2
  174. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +6 -6
  175. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +11 -12
  176. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +2 -3
  177. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -0
  178. package/dist/collection/snowflakes/myz/topbar/index.js +14 -4
  179. package/dist/collection/snowflakes/myz/z-alert/index.js +3 -0
  180. package/dist/collection/snowflakes/myz/z-otp/index.js +3 -3
  181. package/dist/collection/snowflakes/myz/z-slideshow/index.js +5 -3
  182. package/dist/collection/utils/utils.js +4 -5
  183. package/dist/esm/index.js +347 -3
  184. package/dist/esm/loader.js +1 -1
  185. package/dist/esm/{utils-39ca028c.js → utils-420e8552.js} +4 -5
  186. package/dist/esm/{utils-fbe04cd6.js → utils-ff91a03a.js} +10 -11
  187. package/dist/esm/web-components-library.js +1 -1
  188. package/dist/esm/z-alert.entry.js +1 -0
  189. package/dist/esm/z-app-header.entry.js +7 -29
  190. package/dist/esm/z-app-switcher_9.entry.js +84 -70
  191. package/dist/esm/z-aria-alert.entry.js +1 -3
  192. package/dist/esm/z-avatar.entry.js +6 -8
  193. package/dist/esm/z-body_2.entry.js +4 -2
  194. package/dist/esm/z-button-deprecated.entry.js +6 -12
  195. package/dist/esm/z-button-filter.entry.js +2 -3
  196. package/dist/esm/z-button-sort.entry.js +4 -4
  197. package/dist/esm/z-button.entry.js +8 -9
  198. package/dist/esm/z-card.entry.js +6 -6
  199. package/dist/esm/z-carousel.entry.js +11 -10
  200. package/dist/esm/z-chip-deprecated.entry.js +2 -0
  201. package/dist/esm/z-chip.entry.js +5 -6
  202. package/dist/esm/z-combobox.entry.js +15 -17
  203. package/dist/esm/z-contextual-menu.entry.js +2 -8
  204. package/dist/esm/z-cookiebar.entry.js +4 -2
  205. package/dist/esm/z-cover-hero.entry.js +6 -14
  206. package/dist/esm/z-date-picker.entry.js +16 -17
  207. package/dist/esm/z-dragdrop-area_2.entry.js +2 -1
  208. package/dist/esm/z-file-upload.entry.js +14 -11
  209. package/dist/esm/z-file.entry.js +3 -2
  210. package/dist/esm/z-footer-link_3.entry.js +5 -0
  211. package/dist/esm/z-footer.entry.js +7 -2
  212. package/dist/esm/z-info-box.entry.js +1 -1
  213. package/dist/esm/z-info-reveal.entry.js +2 -6
  214. package/dist/esm/z-input-deprecated.entry.js +28 -29
  215. package/dist/esm/z-input-label_2.entry.js +17 -17
  216. package/dist/esm/z-list-group.entry.js +4 -17
  217. package/dist/esm/z-list_2.entry.js +19 -55
  218. package/dist/esm/z-menu-dropdown_2.entry.js +7 -3
  219. package/dist/esm/z-menu-section.entry.js +3 -0
  220. package/dist/esm/z-menu.entry.js +3 -10
  221. package/dist/esm/z-messages-pocket.entry.js +6 -6
  222. package/dist/esm/z-modal-login.entry.js +7 -5
  223. package/dist/esm/z-modal.entry.js +3 -1
  224. package/dist/esm/z-myz-card-alert.entry.js +6 -3
  225. package/dist/esm/z-myz-card-dictionary.entry.js +3 -6
  226. package/dist/esm/z-myz-card-footer.entry.js +8 -6
  227. package/dist/esm/z-myz-card-icon.entry.js +1 -2
  228. package/dist/esm/z-myz-card-info.entry.js +3 -4
  229. package/dist/esm/z-myz-card-list.entry.js +1 -0
  230. package/dist/esm/z-myz-card_4.entry.js +15 -9
  231. package/dist/esm/z-myz-list-item.entry.js +6 -4
  232. package/dist/esm/z-myz-topbar.entry.js +14 -4
  233. package/dist/esm/z-navigation-tab-link.entry.js +8 -16
  234. package/dist/esm/z-navigation-tab.entry.js +7 -17
  235. package/dist/esm/z-navigation-tabs.entry.js +10 -14
  236. package/dist/esm/z-notification.entry.js +3 -6
  237. package/dist/esm/z-offcanvas.entry.js +4 -12
  238. package/dist/esm/z-otp.entry.js +3 -3
  239. package/dist/esm/z-pagination-bar.entry.js +5 -6
  240. package/dist/esm/z-pagination-page.entry.js +2 -4
  241. package/dist/esm/z-pagination.entry.js +7 -15
  242. package/dist/esm/z-panel-elem.entry.js +7 -2
  243. package/dist/esm/z-pocket_3.entry.js +15 -15
  244. package/dist/esm/z-popover-deprecated.entry.js +8 -15
  245. package/dist/esm/z-popover.entry.js +31 -36
  246. package/dist/esm/z-section-title.entry.js +2 -10
  247. package/dist/esm/z-skip-to-content.entry.js +3 -4
  248. package/dist/esm/z-slideshow.entry.js +6 -4
  249. package/dist/esm/z-status-tag.entry.js +5 -3
  250. package/dist/esm/z-stepper-item.entry.js +4 -0
  251. package/dist/esm/z-table-cell.entry.js +3 -4
  252. package/dist/esm/z-table-empty-box.entry.js +0 -2
  253. package/dist/esm/z-table-expanded-row.entry.js +1 -0
  254. package/dist/esm/z-table-header-row.entry.js +1 -0
  255. package/dist/esm/z-table-header.entry.js +15 -16
  256. package/dist/esm/z-table-row.entry.js +4 -6
  257. package/dist/esm/z-table.entry.js +9 -12
  258. package/dist/esm/z-tag.entry.js +2 -0
  259. package/dist/esm/z-toast-notification-list.entry.js +1 -4
  260. package/dist/esm/z-toast-notification.entry.js +17 -14
  261. package/dist/esm/z-toggle-button.entry.js +2 -2
  262. package/dist/esm/z-toggle-switch.entry.js +2 -7
  263. package/dist/esm/z-tooltip-deprecated.entry.js +32 -27
  264. package/dist/esm/z-tooltip.entry.js +2 -7
  265. package/dist/esm/z-user-dropdown.entry.js +5 -1
  266. package/dist/types/beans/index.d.ts +50 -50
  267. package/dist/types/stencil-public-runtime.d.ts +5 -0
  268. package/dist/web-components-library/index.esm.js +1 -1
  269. package/dist/web-components-library/p-016b2800.entry.js +1 -0
  270. package/dist/web-components-library/p-04908405.entry.js +1 -0
  271. package/dist/web-components-library/p-06430481.entry.js +1 -0
  272. package/dist/web-components-library/p-067bd5da.entry.js +1 -0
  273. package/dist/web-components-library/p-082d65b1.entry.js +1 -0
  274. package/dist/web-components-library/p-0cff6cce.entry.js +1 -0
  275. package/dist/web-components-library/p-0e743002.entry.js +1 -0
  276. package/dist/web-components-library/p-10b84e8c.entry.js +1 -0
  277. package/dist/web-components-library/p-12211a48.entry.js +1 -0
  278. package/dist/web-components-library/p-14233b99.entry.js +1 -0
  279. package/dist/web-components-library/p-176256ee.js +1 -0
  280. package/dist/web-components-library/p-1ab0de76.entry.js +1 -0
  281. package/dist/web-components-library/p-1d2d5232.entry.js +1 -0
  282. package/dist/web-components-library/p-20109d3a.entry.js +1 -0
  283. package/dist/web-components-library/{p-f158d205.entry.js → p-2c18a622.entry.js} +1 -1
  284. package/dist/web-components-library/p-2cf26585.entry.js +1 -0
  285. package/dist/web-components-library/p-2d506c48.entry.js +1 -0
  286. package/dist/web-components-library/p-2d5d8e6f.entry.js +1 -0
  287. package/dist/web-components-library/p-2e7a31ac.entry.js +1 -0
  288. package/dist/web-components-library/p-2f6f3729.entry.js +1 -0
  289. package/dist/web-components-library/p-30cbafaf.entry.js +1 -0
  290. package/dist/web-components-library/p-341ddb5d.entry.js +1 -0
  291. package/dist/web-components-library/p-34a96008.entry.js +1 -0
  292. package/dist/web-components-library/p-35b30271.entry.js +1 -0
  293. package/dist/web-components-library/p-36f4ce3f.entry.js +1 -0
  294. package/dist/web-components-library/p-3c28f72e.entry.js +1 -0
  295. package/dist/web-components-library/p-3c7cf41f.entry.js +1 -0
  296. package/dist/web-components-library/p-3e414cf1.entry.js +1 -0
  297. package/dist/web-components-library/p-3ecfb7c1.entry.js +1 -0
  298. package/dist/web-components-library/p-40f96085.entry.js +1 -0
  299. package/{www/build/p-4d42f224.entry.js → dist/web-components-library/p-48624926.entry.js} +1 -1
  300. package/dist/web-components-library/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
  301. package/dist/web-components-library/p-53d22727.entry.js +1 -0
  302. package/dist/web-components-library/p-563529f8.entry.js +1 -0
  303. package/dist/web-components-library/p-57faab40.entry.js +1 -0
  304. package/dist/web-components-library/p-5b2d8a91.entry.js +1 -0
  305. package/dist/web-components-library/p-6037dce0.entry.js +1 -0
  306. package/dist/web-components-library/p-670232c4.entry.js +1 -0
  307. package/dist/web-components-library/p-67f346d9.entry.js +1 -0
  308. package/dist/web-components-library/p-691678c8.entry.js +1 -0
  309. package/dist/web-components-library/p-69b27fe9.entry.js +16 -0
  310. package/dist/web-components-library/p-6fe1bffb.entry.js +1 -0
  311. package/dist/web-components-library/p-728e7dcd.entry.js +1 -0
  312. package/dist/web-components-library/p-74e31a32.entry.js +1 -0
  313. package/dist/web-components-library/p-759fb7c4.entry.js +1 -0
  314. package/dist/web-components-library/p-79223014.entry.js +1 -0
  315. package/dist/web-components-library/p-7b22a446.entry.js +1 -0
  316. package/dist/web-components-library/p-7c40fb15.entry.js +1 -0
  317. package/dist/web-components-library/p-7cbc1836.entry.js +1 -0
  318. package/dist/web-components-library/p-830b21a4.entry.js +1 -0
  319. package/dist/web-components-library/p-87099b68.entry.js +1 -0
  320. package/dist/web-components-library/p-8cabed58.entry.js +1 -0
  321. package/dist/web-components-library/p-8cf14a47.entry.js +1 -0
  322. package/dist/web-components-library/p-8eaa46ac.entry.js +1 -0
  323. package/dist/web-components-library/p-985c5ed8.entry.js +1 -0
  324. package/dist/web-components-library/p-9f6b43a0.entry.js +1 -0
  325. package/dist/web-components-library/p-9f8d0f79.entry.js +1 -0
  326. package/dist/web-components-library/p-a3b8dd69.entry.js +1 -0
  327. package/dist/web-components-library/p-aa271ed7.entry.js +1 -0
  328. package/dist/web-components-library/p-ac1a9d63.entry.js +1 -0
  329. package/dist/web-components-library/p-af4a9bb7.entry.js +1 -0
  330. package/dist/web-components-library/p-ba495cad.entry.js +1 -0
  331. package/dist/web-components-library/p-ba9210e9.entry.js +1 -0
  332. package/dist/web-components-library/p-bf9348e6.entry.js +1 -0
  333. package/dist/web-components-library/p-c0df6e96.entry.js +1 -0
  334. package/dist/web-components-library/p-c2b368ff.entry.js +1 -0
  335. package/dist/web-components-library/p-c39c68b9.entry.js +1 -0
  336. package/dist/web-components-library/p-cadba1e5.entry.js +1 -0
  337. package/dist/web-components-library/p-ccb3764b.entry.js +1 -0
  338. package/dist/web-components-library/p-d668461a.js +1 -0
  339. package/dist/web-components-library/p-d767f784.entry.js +1 -0
  340. package/dist/web-components-library/p-d7e72cec.entry.js +1 -0
  341. package/dist/web-components-library/p-dbc23998.entry.js +1 -0
  342. package/dist/web-components-library/p-def721df.entry.js +1 -0
  343. package/dist/web-components-library/p-e12cd68a.entry.js +1 -0
  344. package/dist/web-components-library/p-e84d2839.entry.js +1 -0
  345. package/dist/web-components-library/p-eadb185e.entry.js +1 -0
  346. package/dist/web-components-library/p-f9f9518a.entry.js +1 -0
  347. package/dist/web-components-library/p-fd305e08.entry.js +1 -0
  348. package/dist/web-components-library/web-components-library.esm.js +1 -1
  349. package/package.json +4 -4
  350. package/www/build/index.esm.js +1 -1
  351. package/www/build/p-016b2800.entry.js +1 -0
  352. package/www/build/p-04908405.entry.js +1 -0
  353. package/www/build/p-06430481.entry.js +1 -0
  354. package/www/build/p-067bd5da.entry.js +1 -0
  355. package/www/build/p-082d65b1.entry.js +1 -0
  356. package/www/build/p-0cff6cce.entry.js +1 -0
  357. package/www/build/p-0e743002.entry.js +1 -0
  358. package/www/build/p-10b84e8c.entry.js +1 -0
  359. package/www/build/p-12211a48.entry.js +1 -0
  360. package/www/build/p-14233b99.entry.js +1 -0
  361. package/www/build/p-176256ee.js +1 -0
  362. package/www/build/p-1ab0de76.entry.js +1 -0
  363. package/www/build/p-1d2d5232.entry.js +1 -0
  364. package/www/build/p-20109d3a.entry.js +1 -0
  365. package/www/build/{p-f158d205.entry.js → p-2c18a622.entry.js} +1 -1
  366. package/www/build/p-2cf26585.entry.js +1 -0
  367. package/www/build/p-2d506c48.entry.js +1 -0
  368. package/www/build/p-2d5d8e6f.entry.js +1 -0
  369. package/www/build/p-2e7a31ac.entry.js +1 -0
  370. package/www/build/p-2f6f3729.entry.js +1 -0
  371. package/www/build/p-30cbafaf.entry.js +1 -0
  372. package/www/build/p-341ddb5d.entry.js +1 -0
  373. package/www/build/p-34a96008.entry.js +1 -0
  374. package/www/build/p-35b30271.entry.js +1 -0
  375. package/www/build/p-36f4ce3f.entry.js +1 -0
  376. package/www/build/p-3c28f72e.entry.js +1 -0
  377. package/www/build/p-3c7cf41f.entry.js +1 -0
  378. package/www/build/p-3e414cf1.entry.js +1 -0
  379. package/www/build/p-3ecfb7c1.entry.js +1 -0
  380. package/www/build/p-40f96085.entry.js +1 -0
  381. package/{dist/web-components-library/p-4d42f224.entry.js → www/build/p-48624926.entry.js} +1 -1
  382. package/www/build/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
  383. package/www/build/p-53d22727.entry.js +1 -0
  384. package/www/build/p-563529f8.entry.js +1 -0
  385. package/www/build/p-57faab40.entry.js +1 -0
  386. package/www/build/p-5b2d8a91.entry.js +1 -0
  387. package/www/build/p-6037dce0.entry.js +1 -0
  388. package/www/build/{p-0134d685.js → p-60ec44c6.js} +1 -1
  389. package/www/build/p-670232c4.entry.js +1 -0
  390. package/www/build/p-67f346d9.entry.js +1 -0
  391. package/www/build/p-691678c8.entry.js +1 -0
  392. package/www/build/p-69b27fe9.entry.js +16 -0
  393. package/www/build/p-6fe1bffb.entry.js +1 -0
  394. package/www/build/p-728e7dcd.entry.js +1 -0
  395. package/www/build/p-74e31a32.entry.js +1 -0
  396. package/www/build/p-759fb7c4.entry.js +1 -0
  397. package/www/build/p-79223014.entry.js +1 -0
  398. package/www/build/p-7b22a446.entry.js +1 -0
  399. package/www/build/p-7c40fb15.entry.js +1 -0
  400. package/www/build/p-7cbc1836.entry.js +1 -0
  401. package/www/build/p-830b21a4.entry.js +1 -0
  402. package/www/build/p-87099b68.entry.js +1 -0
  403. package/www/build/p-8cabed58.entry.js +1 -0
  404. package/www/build/p-8cf14a47.entry.js +1 -0
  405. package/www/build/p-8eaa46ac.entry.js +1 -0
  406. package/www/build/p-985c5ed8.entry.js +1 -0
  407. package/www/build/p-9f6b43a0.entry.js +1 -0
  408. package/www/build/p-9f8d0f79.entry.js +1 -0
  409. package/www/build/p-a3b8dd69.entry.js +1 -0
  410. package/www/build/p-aa271ed7.entry.js +1 -0
  411. package/www/build/p-ac1a9d63.entry.js +1 -0
  412. package/www/build/p-af4a9bb7.entry.js +1 -0
  413. package/www/build/p-ba495cad.entry.js +1 -0
  414. package/www/build/p-ba9210e9.entry.js +1 -0
  415. package/www/build/p-bf9348e6.entry.js +1 -0
  416. package/www/build/p-c0df6e96.entry.js +1 -0
  417. package/www/build/p-c2b368ff.entry.js +1 -0
  418. package/www/build/p-c39c68b9.entry.js +1 -0
  419. package/www/build/p-cadba1e5.entry.js +1 -0
  420. package/www/build/p-ccb3764b.entry.js +1 -0
  421. package/www/build/p-d668461a.js +1 -0
  422. package/www/build/p-d767f784.entry.js +1 -0
  423. package/www/build/p-d7e72cec.entry.js +1 -0
  424. package/www/build/p-dbc23998.entry.js +1 -0
  425. package/www/build/p-def721df.entry.js +1 -0
  426. package/www/build/p-e12cd68a.entry.js +1 -0
  427. package/www/build/p-e84d2839.entry.js +1 -0
  428. package/www/build/p-eadb185e.entry.js +1 -0
  429. package/www/build/p-f9f9518a.entry.js +1 -0
  430. package/www/build/p-fd305e08.entry.js +1 -0
  431. package/www/build/web-components-library.esm.js +1 -1
  432. package/www/index.html +1 -1
  433. package/dist/cjs/index-199cd650.js +0 -346
  434. package/dist/collection/components/index.js +0 -8
  435. package/dist/esm/index-9d028352.js +0 -346
  436. package/dist/types/components/index.d.ts +0 -0
  437. package/dist/web-components-library/p-05ced71c.entry.js +0 -1
  438. package/dist/web-components-library/p-074ea569.entry.js +0 -1
  439. package/dist/web-components-library/p-10b46635.entry.js +0 -1
  440. package/dist/web-components-library/p-1106ead2.entry.js +0 -1
  441. package/dist/web-components-library/p-15b8a920.entry.js +0 -1
  442. package/dist/web-components-library/p-15fe7b71.entry.js +0 -1
  443. package/dist/web-components-library/p-1bd6592f.entry.js +0 -1
  444. package/dist/web-components-library/p-1e6a2a56.entry.js +0 -1
  445. package/dist/web-components-library/p-23781e2b.entry.js +0 -1
  446. package/dist/web-components-library/p-28ff9383.entry.js +0 -1
  447. package/dist/web-components-library/p-2d0cb337.entry.js +0 -1
  448. package/dist/web-components-library/p-2efedcf4.entry.js +0 -1
  449. package/dist/web-components-library/p-344e7ae7.entry.js +0 -1
  450. package/dist/web-components-library/p-35ceae27.entry.js +0 -1
  451. package/dist/web-components-library/p-3913bff2.entry.js +0 -1
  452. package/dist/web-components-library/p-3a431f04.entry.js +0 -1
  453. package/dist/web-components-library/p-3c2d438b.entry.js +0 -1
  454. package/dist/web-components-library/p-3f55dce6.entry.js +0 -1
  455. package/dist/web-components-library/p-442b8b35.entry.js +0 -1
  456. package/dist/web-components-library/p-4cd6c6f4.entry.js +0 -1
  457. package/dist/web-components-library/p-4d093e07.entry.js +0 -1
  458. package/dist/web-components-library/p-4e733fbd.entry.js +0 -1
  459. package/dist/web-components-library/p-4ec9ab53.entry.js +0 -1
  460. package/dist/web-components-library/p-53a03f2a.entry.js +0 -1
  461. package/dist/web-components-library/p-562ad563.entry.js +0 -1
  462. package/dist/web-components-library/p-58650e22.entry.js +0 -1
  463. package/dist/web-components-library/p-5bec950e.entry.js +0 -1
  464. package/dist/web-components-library/p-5c9556e3.entry.js +0 -1
  465. package/dist/web-components-library/p-5cf4a412.entry.js +0 -1
  466. package/dist/web-components-library/p-5d4a6659.entry.js +0 -1
  467. package/dist/web-components-library/p-5f3baf14.entry.js +0 -1
  468. package/dist/web-components-library/p-61424b8a.entry.js +0 -1
  469. package/dist/web-components-library/p-681e1f5a.entry.js +0 -1
  470. package/dist/web-components-library/p-686545fa.entry.js +0 -1
  471. package/dist/web-components-library/p-6f64e8a8.entry.js +0 -1
  472. package/dist/web-components-library/p-70d16b2c.entry.js +0 -1
  473. package/dist/web-components-library/p-7688f8ca.entry.js +0 -1
  474. package/dist/web-components-library/p-77e4774d.entry.js +0 -1
  475. package/dist/web-components-library/p-79b8d87e.entry.js +0 -1
  476. package/dist/web-components-library/p-7d696941.entry.js +0 -1
  477. package/dist/web-components-library/p-7d792297.entry.js +0 -1
  478. package/dist/web-components-library/p-810bd730.entry.js +0 -1
  479. package/dist/web-components-library/p-87fdd14f.js +0 -1
  480. package/dist/web-components-library/p-982254e5.entry.js +0 -1
  481. package/dist/web-components-library/p-9d03a7d6.entry.js +0 -1
  482. package/dist/web-components-library/p-9ecc5eba.entry.js +0 -1
  483. package/dist/web-components-library/p-9f80c0b8.js +0 -1
  484. package/dist/web-components-library/p-9fe267fc.entry.js +0 -1
  485. package/dist/web-components-library/p-a6d6178a.entry.js +0 -1
  486. package/dist/web-components-library/p-a79cc147.entry.js +0 -1
  487. package/dist/web-components-library/p-a79d1412.entry.js +0 -1
  488. package/dist/web-components-library/p-aded8a43.entry.js +0 -1
  489. package/dist/web-components-library/p-b4fbb6e4.entry.js +0 -1
  490. package/dist/web-components-library/p-b5086d6d.entry.js +0 -1
  491. package/dist/web-components-library/p-bb0fe7bc.entry.js +0 -1
  492. package/dist/web-components-library/p-bb15a265.js +0 -1
  493. package/dist/web-components-library/p-bb95b82f.entry.js +0 -1
  494. package/dist/web-components-library/p-c2d1785b.entry.js +0 -1
  495. package/dist/web-components-library/p-c6a662e6.entry.js +0 -1
  496. package/dist/web-components-library/p-c6aad085.entry.js +0 -1
  497. package/dist/web-components-library/p-cb5d8a84.entry.js +0 -1
  498. package/dist/web-components-library/p-cbb3ea13.entry.js +0 -1
  499. package/dist/web-components-library/p-ccf67abf.entry.js +0 -1
  500. package/dist/web-components-library/p-ce83ce18.entry.js +0 -1
  501. package/dist/web-components-library/p-d199b781.entry.js +0 -1
  502. package/dist/web-components-library/p-d3645ced.entry.js +0 -1
  503. package/dist/web-components-library/p-d3733579.entry.js +0 -1
  504. package/dist/web-components-library/p-d531d1d2.entry.js +0 -1
  505. package/dist/web-components-library/p-e68c18e5.entry.js +0 -1
  506. package/dist/web-components-library/p-ecc4afa1.entry.js +0 -1
  507. package/dist/web-components-library/p-ede9fbf5.entry.js +0 -1
  508. package/dist/web-components-library/p-edf0195b.entry.js +0 -1
  509. package/dist/web-components-library/p-f2f9a1bc.entry.js +0 -1
  510. package/dist/web-components-library/p-f2fd1e20.entry.js +0 -1
  511. package/dist/web-components-library/p-f7c1eb3f.entry.js +0 -16
  512. package/dist/web-components-library/p-f95cc914.entry.js +0 -1
  513. package/dist/web-components-library/p-fb7d33f2.entry.js +0 -1
  514. package/www/build/p-05ced71c.entry.js +0 -1
  515. package/www/build/p-074ea569.entry.js +0 -1
  516. package/www/build/p-10b46635.entry.js +0 -1
  517. package/www/build/p-1106ead2.entry.js +0 -1
  518. package/www/build/p-15b8a920.entry.js +0 -1
  519. package/www/build/p-15fe7b71.entry.js +0 -1
  520. package/www/build/p-1bd6592f.entry.js +0 -1
  521. package/www/build/p-1e6a2a56.entry.js +0 -1
  522. package/www/build/p-23781e2b.entry.js +0 -1
  523. package/www/build/p-28ff9383.entry.js +0 -1
  524. package/www/build/p-2d0cb337.entry.js +0 -1
  525. package/www/build/p-2efedcf4.entry.js +0 -1
  526. package/www/build/p-344e7ae7.entry.js +0 -1
  527. package/www/build/p-35ceae27.entry.js +0 -1
  528. package/www/build/p-3913bff2.entry.js +0 -1
  529. package/www/build/p-3a431f04.entry.js +0 -1
  530. package/www/build/p-3c2d438b.entry.js +0 -1
  531. package/www/build/p-3f55dce6.entry.js +0 -1
  532. package/www/build/p-442b8b35.entry.js +0 -1
  533. package/www/build/p-4cd6c6f4.entry.js +0 -1
  534. package/www/build/p-4d093e07.entry.js +0 -1
  535. package/www/build/p-4e733fbd.entry.js +0 -1
  536. package/www/build/p-4ec9ab53.entry.js +0 -1
  537. package/www/build/p-53a03f2a.entry.js +0 -1
  538. package/www/build/p-562ad563.entry.js +0 -1
  539. package/www/build/p-58650e22.entry.js +0 -1
  540. package/www/build/p-5bec950e.entry.js +0 -1
  541. package/www/build/p-5c9556e3.entry.js +0 -1
  542. package/www/build/p-5cf4a412.entry.js +0 -1
  543. package/www/build/p-5d4a6659.entry.js +0 -1
  544. package/www/build/p-5f3baf14.entry.js +0 -1
  545. package/www/build/p-61424b8a.entry.js +0 -1
  546. package/www/build/p-681e1f5a.entry.js +0 -1
  547. package/www/build/p-686545fa.entry.js +0 -1
  548. package/www/build/p-6f64e8a8.entry.js +0 -1
  549. package/www/build/p-70d16b2c.entry.js +0 -1
  550. package/www/build/p-7688f8ca.entry.js +0 -1
  551. package/www/build/p-77e4774d.entry.js +0 -1
  552. package/www/build/p-79b8d87e.entry.js +0 -1
  553. package/www/build/p-7d696941.entry.js +0 -1
  554. package/www/build/p-7d792297.entry.js +0 -1
  555. package/www/build/p-810bd730.entry.js +0 -1
  556. package/www/build/p-87fdd14f.js +0 -1
  557. package/www/build/p-982254e5.entry.js +0 -1
  558. package/www/build/p-9d03a7d6.entry.js +0 -1
  559. package/www/build/p-9ecc5eba.entry.js +0 -1
  560. package/www/build/p-9f80c0b8.js +0 -1
  561. package/www/build/p-9fe267fc.entry.js +0 -1
  562. package/www/build/p-a6d6178a.entry.js +0 -1
  563. package/www/build/p-a79cc147.entry.js +0 -1
  564. package/www/build/p-a79d1412.entry.js +0 -1
  565. package/www/build/p-aded8a43.entry.js +0 -1
  566. package/www/build/p-b4fbb6e4.entry.js +0 -1
  567. package/www/build/p-b5086d6d.entry.js +0 -1
  568. package/www/build/p-bb0fe7bc.entry.js +0 -1
  569. package/www/build/p-bb15a265.js +0 -1
  570. package/www/build/p-bb95b82f.entry.js +0 -1
  571. package/www/build/p-c2d1785b.entry.js +0 -1
  572. package/www/build/p-c6a662e6.entry.js +0 -1
  573. package/www/build/p-c6aad085.entry.js +0 -1
  574. package/www/build/p-cb5d8a84.entry.js +0 -1
  575. package/www/build/p-cbb3ea13.entry.js +0 -1
  576. package/www/build/p-ccf67abf.entry.js +0 -1
  577. package/www/build/p-ce83ce18.entry.js +0 -1
  578. package/www/build/p-d199b781.entry.js +0 -1
  579. package/www/build/p-d3645ced.entry.js +0 -1
  580. package/www/build/p-d3733579.entry.js +0 -1
  581. package/www/build/p-d531d1d2.entry.js +0 -1
  582. package/www/build/p-e68c18e5.entry.js +0 -1
  583. package/www/build/p-ecc4afa1.entry.js +0 -1
  584. package/www/build/p-ede9fbf5.entry.js +0 -1
  585. package/www/build/p-edf0195b.entry.js +0 -1
  586. package/www/build/p-f2f9a1bc.entry.js +0 -1
  587. package/www/build/p-f2fd1e20.entry.js +0 -1
  588. package/www/build/p-f7c1eb3f.entry.js +0 -16
  589. package/www/build/p-f95cc914.entry.js +0 -1
  590. package/www/build/p-fb7d33f2.entry.js +0 -1
@@ -112,7 +112,7 @@
112
112
  ],
113
113
  "compiler": {
114
114
  "name": "@stencil/core",
115
- "version": "2.18.1",
115
+ "version": "2.19.2",
116
116
  "typescriptVersion": "4.7.4"
117
117
  },
118
118
  "collections": [],
@@ -1,20 +1,19 @@
1
1
  import { h } from "@stencil/core";
2
- import { ButtonVariant, ButtonType, ButtonSize } from "../../../beans";
3
2
  /**
4
3
  * @slot - button label
5
4
  */
6
5
  export class ZButton {
7
6
  constructor() {
8
- /** defines a string value that labels an interactive element, used for accessibility. */
9
7
  this.ariaLabel = "";
10
- /** HTML button disabled attribute. */
8
+ this.href = undefined;
9
+ this.target = undefined;
10
+ this.htmlid = undefined;
11
+ this.name = undefined;
11
12
  this.disabled = false;
12
- /** HTML button type attribute. */
13
- this.type = ButtonType.BUTTON;
14
- /** Graphical variant: `primary`, `secondary`, `tertiary`. Defaults to `primary`. */
15
- this.variant = ButtonVariant.PRIMARY;
16
- /** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
17
- this.size = ButtonSize.BIG;
13
+ this.type = "button" /* ButtonType.BUTTON */;
14
+ this.variant = "primary" /* ButtonVariant.PRIMARY */;
15
+ this.icon = undefined;
16
+ this.size = "big" /* ButtonSize.BIG */;
18
17
  }
19
18
  getAttributes() {
20
19
  return {
@@ -2,13 +2,13 @@ import { h } from "@stencil/core";
2
2
  import { tabletBreakpoint } from "../../../constants/breakpoints";
3
3
  export class ZButtonSort {
4
4
  constructor() {
5
- /** sort label content (ascending) (optional) */
5
+ this.buttonid = undefined;
6
+ this.label = undefined;
7
+ this.desclabel = undefined;
8
+ this.counter = undefined;
6
9
  this.sortlabelasc = "A-Z";
7
- /** sort label content (descending) (optional) */
8
10
  this.sortlabeldesc = "Z-A";
9
- /** selected flag (optional) */
10
11
  this.isselected = false;
11
- /** sortable flag (optional) */
12
12
  this.sortasc = true;
13
13
  this.allowTooltip = false;
14
14
  }
@@ -1,18 +1,17 @@
1
1
  import { h } from "@stencil/core";
2
- import { Device, ZChipType } from "../../../beans";
3
2
  import { getDevice, handleKeyboardSubmit } from "../../../utils/utils";
4
3
  export class ZChip {
5
4
  constructor() {
6
- /** z-chip size type, can be default, medium or small */
7
- this.type = ZChipType.DEFAULT;
8
- /** set z-chip as disabled */
5
+ this.icon = undefined;
6
+ this.type = "default" /* ZChipType.DEFAULT */;
7
+ this.interactiveIcon = undefined;
9
8
  this.disabled = false;
10
9
  }
11
10
  emitinteractiveIconClick() {
12
11
  this.interactiveIconClick.emit();
13
12
  }
14
13
  getIconSize() {
15
- return getDevice() !== Device.DESKTOP ? 22 : 14;
14
+ return getDevice() !== "desktop" /* Device.DESKTOP */ ? 22 : 14;
16
15
  }
17
16
  render() {
18
17
  if (this.interactiveIcon) {
@@ -1,9 +1,9 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class ZToggleButton {
3
3
  constructor() {
4
- /** disabled status flag (optional) */
4
+ this.label = undefined;
5
5
  this.isdisabled = false;
6
- /** open by default (optional) */
6
+ this.avoidclick = undefined;
7
7
  this.opened = false;
8
8
  }
9
9
  emitToggleClick() {
@@ -1,15 +1,10 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  import { randomId } from "../../../utils/utils";
3
- import { LabelPosition } from "../../../beans";
4
3
  export class ZToggleSwitch {
5
4
  constructor() {
6
- /** Disabled flag */
7
5
  this.disabled = false;
8
- /** Label position */
9
- this.labelPosition = LabelPosition.LEFT;
10
- /** Checked state */
6
+ this.labelPosition = "left" /* LabelPosition.LEFT */;
11
7
  this.checked = false;
12
- /** HTML id attribute to set to the internal checkbox */
13
8
  this.htmlid = `toggle-switch-id-${randomId()}`;
14
9
  }
15
10
  emitToggleClick() {
@@ -1,4 +1,3 @@
1
- import { ZDatePickerMode, ZDatePickerModeValue, ZDatePickerPosition } from "../../beans";
2
1
  export function validateDate(dateStr, hasTime = false) {
3
2
  const regex = hasTime ? /^\d{1,2}[/-]\d{1,2}[/-]\d{2,4} - \d{2}:\d{2}$/ : /^\d{1,2}[/-]\d{1,2}[/-]\d{2,4}$/;
4
3
  if (dateStr.match(regex) === null) {
@@ -9,18 +8,18 @@ export function validateDate(dateStr, hasTime = false) {
9
8
  export function setFlatpickrPosition(element, mode) {
10
9
  const toggleHeight = element.children[0].clientHeight;
11
10
  element.style.setProperty("--z-range-picker--toggle-height", `${toggleHeight}px`);
12
- const flatpickrHeight = mode === ZDatePickerMode.DATE_TIME
13
- ? ZDatePickerModeValue.DATE_TIME
14
- : mode === ZDatePickerMode.MONTHS
15
- ? ZDatePickerModeValue.MONTHS
16
- : ZDatePickerModeValue.DATE;
11
+ const flatpickrHeight = mode === "date-time" /* ZDatePickerMode.DATE_TIME */
12
+ ? 523 /* ZDatePickerModeValue.DATE_TIME */
13
+ : mode === "months" /* ZDatePickerMode.MONTHS */
14
+ ? 288 /* ZDatePickerModeValue.MONTHS */
15
+ : 401 /* ZDatePickerModeValue.DATE */;
17
16
  const bottom = element.getBoundingClientRect().bottom;
18
17
  const overflowBottom = bottom + flatpickrHeight > window.innerHeight;
19
18
  const overflowTop = bottom - flatpickrHeight - toggleHeight < 0;
20
19
  if (!overflowTop && overflowBottom) {
21
- return ZDatePickerPosition.TOP;
20
+ return "top" /* ZDatePickerPosition.TOP */;
22
21
  }
23
- return ZDatePickerPosition.BOTTOM;
22
+ return "bottom" /* ZDatePickerPosition.BOTTOM */;
24
23
  }
25
24
  export function setAriaOptions(element, mode) {
26
25
  const calendar = element.getElementsByClassName("flatpickr-calendar");
@@ -40,13 +39,13 @@ export function setAriaOptions(element, mode) {
40
39
  prevMonthArrow.setAttribute("role", "button");
41
40
  nextMonthArrow.setAttribute("role", "button");
42
41
  element.getElementsByClassName("cur-year")[0].setAttribute("aria-label", "Anno");
43
- if (mode === ZDatePickerMode.DATE) {
42
+ if (mode === "date" /* ZDatePickerMode.DATE */) {
44
43
  setDateAriaOptions(element, prevMonthArrow, nextMonthArrow);
45
44
  }
46
- if (mode === ZDatePickerMode.DATE_TIME) {
45
+ if (mode === "date-time" /* ZDatePickerMode.DATE_TIME */) {
47
46
  setDateTimeAriaOptions(element, prevMonthArrow, nextMonthArrow);
48
47
  }
49
- if (mode === ZDatePickerMode.MONTHS) {
48
+ if (mode === "months" /* ZDatePickerMode.MONTHS */) {
50
49
  setMonthsAriaOptions(element, prevMonthArrow, nextMonthArrow);
51
50
  }
52
51
  });
@@ -2,15 +2,14 @@ import { h } from "@stencil/core";
2
2
  import flatpickr from "flatpickr";
3
3
  import { Italian } from "flatpickr/dist/l10n/it.js";
4
4
  import monthSelectPlugin from "flatpickr/dist/plugins/monthSelect";
5
- import { InputType, ZDatePickerMode, ZDatePickerPosition } from "../../../beans";
6
5
  import { setAriaOptions, setFlatpickrPosition, validateDate } from "../utils";
7
6
  export class ZDatePicker {
8
7
  constructor() {
9
- /** z-input aria label */
8
+ this.datePickerId = undefined;
10
9
  this.ariaLabel = "";
11
- /** [Optional] datepicker mode: date, datetime, only months */
12
- this.mode = ZDatePickerMode.DATE;
13
- this.flatpickrPosition = ZDatePickerPosition.BOTTOM;
10
+ this.label = undefined;
11
+ this.mode = "date" /* ZDatePickerMode.DATE */;
12
+ this.flatpickrPosition = "bottom" /* ZDatePickerPosition.BOTTOM */;
14
13
  this.inputError = false;
15
14
  }
16
15
  emitDateSelect(date) {
@@ -37,7 +36,7 @@ export class ZDatePicker {
37
36
  const isNextArrowEntered = document.activeElement.classList.contains("flatpickr-next-month");
38
37
  const arrowPressed = isPrevArrowEntered || isNextArrowEntered;
39
38
  arrowPressed && ev.key === " " && ev.preventDefault();
40
- if (this.mode === ZDatePickerMode.MONTHS) {
39
+ if (this.mode === "months" /* ZDatePickerMode.MONTHS */) {
41
40
  isPrevArrowEntered && ((_d = this.picker) === null || _d === void 0 ? void 0 : _d.changeYear(this.picker.currentYear - 1));
42
41
  isNextArrowEntered && ((_e = this.picker) === null || _e === void 0 ? void 0 : _e.changeYear(this.picker.currentYear + 1));
43
42
  if (arrowPressed) {
@@ -82,11 +81,11 @@ export class ZDatePicker {
82
81
  const classToAppend = this.hasChildren ? `${this.datePickerId}-hidden` : `${this.datePickerId}-container`;
83
82
  this.picker = flatpickr(`.${classToAppend}`, {
84
83
  appendTo: this.element.children[0],
85
- enableTime: this.mode === ZDatePickerMode.DATE_TIME,
84
+ enableTime: this.mode === "date-time" /* ZDatePickerMode.DATE_TIME */,
86
85
  locale: Italian,
87
86
  allowInput: true,
88
- dateFormat: this.mode === ZDatePickerMode.DATE_TIME ? "d-m-Y - H:i" : "d-m-Y",
89
- ariaDateFormat: this.mode === ZDatePickerMode.MONTHS ? "F Y" : "d F Y",
87
+ dateFormat: this.mode === "date-time" /* ZDatePickerMode.DATE_TIME */ ? "d-m-Y - H:i" : "d-m-Y",
88
+ ariaDateFormat: this.mode === "months" /* ZDatePickerMode.MONTHS */ ? "F Y" : "d F Y",
90
89
  minuteIncrement: 1,
91
90
  // eslint-disable-next-line @typescript-eslint/naming-convention
92
91
  time_24hr: true,
@@ -101,7 +100,7 @@ export class ZDatePicker {
101
100
  setAriaOptions(this.element, this.mode);
102
101
  },
103
102
  wrap: true,
104
- plugins: this.mode === ZDatePickerMode.MONTHS && [
103
+ plugins: this.mode === "months" /* ZDatePickerMode.MONTHS */ && [
105
104
  monthSelectPlugin({
106
105
  dateFormat: "m-Y",
107
106
  altFormat: "m-Y",
@@ -113,23 +112,23 @@ export class ZDatePicker {
113
112
  });
114
113
  }
115
114
  formatDate(date) {
116
- if (this.mode === ZDatePickerMode.DATE) {
115
+ if (this.mode === "date" /* ZDatePickerMode.DATE */) {
117
116
  return `${flatpickr.formatDate(date, "d-m-Y")}`;
118
117
  }
119
- else if (this.mode === ZDatePickerMode.MONTHS) {
118
+ else if (this.mode === "months" /* ZDatePickerMode.MONTHS */) {
120
119
  return `${flatpickr.formatDate(date, "m-Y")}`;
121
120
  }
122
121
  return `${flatpickr.formatDate(date, "d-m-Y - H:i")}`;
123
122
  }
124
123
  onStopTyping(value) {
125
124
  let text = value.detail.value;
126
- if (this.mode === ZDatePickerMode.MONTHS) {
125
+ if (this.mode === "months" /* ZDatePickerMode.MONTHS */) {
127
126
  text = "01-".concat(value.detail.value);
128
127
  }
129
128
  const englishData = text.split("-");
130
- const time = this.mode === ZDatePickerMode.DATE_TIME ? `T${englishData[3]}:00` : "";
129
+ const time = this.mode === "date-time" /* ZDatePickerMode.DATE_TIME */ ? `T${englishData[3]}:00` : "";
131
130
  const englishParsedData = `${englishData[2]}-${englishData[1]}-${englishData[0]}${time}`.split(" ").join("");
132
- const isValidDate = validateDate(englishParsedData, this.mode === ZDatePickerMode.DATE_TIME);
131
+ const isValidDate = validateDate(englishParsedData, this.mode === "date-time" /* ZDatePickerMode.DATE_TIME */);
133
132
  if (text === "") {
134
133
  this.inputError = false;
135
134
  this.picker.setDate([]);
@@ -149,7 +148,7 @@ export class ZDatePicker {
149
148
  return (h("div", { class: `${this.datePickerId}-hidden` }, h("input", { class: "hidden-input", "data-input": true }), h("slot", { name: "toggle" })));
150
149
  }
151
150
  renderZInput() {
152
- return (h("div", { class: `${this.datePickerId}-container` }, h("z-input", { "data-input": "data-input", ariaLabel: this.ariaLabel, label: this.label, class: this.datePickerId, type: InputType.TEXT, icon: "event", message: false, tabindex: "0", value: "", onStopTyping: (value) => {
151
+ return (h("div", { class: `${this.datePickerId}-container` }, h("z-input", { "data-input": "data-input", ariaLabel: this.ariaLabel, label: this.label, class: this.datePickerId, type: "text" /* InputType.TEXT */, icon: "event", message: false, tabindex: "0", value: "", onStopTyping: (value) => {
153
152
  this.onStopTyping(value);
154
153
  }, onStartTyping: () => {
155
154
  this.inputError = false;
@@ -1,13 +1,16 @@
1
1
  import { h } from "@stencil/core";
2
2
  import flatpickr from "flatpickr";
3
3
  import { Italian } from "flatpickr/dist/l10n/it.js";
4
- import { ZRangePickerMode, ZDatePickerPosition, InputType, InputStatus } from "../../../beans";
5
4
  import { setAriaOptions, setFlatpickrPosition, validateDate } from "../utils";
6
5
  export class ZRangePicker {
7
6
  constructor() {
8
- /** [Optional] datepicker mode: date or datetime */
9
- this.mode = ZRangePickerMode.DATE;
10
- this.flatpickrPosition = ZDatePickerPosition.BOTTOM;
7
+ this.rangePickerId = undefined;
8
+ this.firstAriaLabel = undefined;
9
+ this.firstLabel = undefined;
10
+ this.secondAriaLabel = undefined;
11
+ this.secondLabel = undefined;
12
+ this.mode = "date" /* ZRangePickerMode.DATE */;
13
+ this.flatpickrPosition = "bottom" /* ZDatePickerPosition.BOTTOM */;
11
14
  this.activeInput = "start-input";
12
15
  this.firstInputError = false;
13
16
  this.lastInputError = false;
@@ -54,11 +57,11 @@ export class ZRangePicker {
54
57
  }
55
58
  setupPickers() {
56
59
  const config = {
57
- enableTime: this.mode === ZRangePickerMode.DATE_TIME,
60
+ enableTime: this.mode === "date-time" /* ZRangePickerMode.DATE_TIME */,
58
61
  locale: Italian,
59
62
  allowInput: true,
60
63
  wrap: true,
61
- dateFormat: this.mode === ZRangePickerMode.DATE_TIME ? "d-m-Y - H:i" : "d-m-Y",
64
+ dateFormat: this.mode === "date-time" /* ZRangePickerMode.DATE_TIME */ ? "d-m-Y - H:i" : "d-m-Y",
62
65
  ariaDateFormat: "d F Y",
63
66
  minuteIncrement: 1,
64
67
  // eslint-disable-next-line @typescript-eslint/naming-convention
@@ -147,7 +150,7 @@ export class ZRangePicker {
147
150
  setAriaOptions(this.element, this.mode);
148
151
  }
149
152
  formatDate(date) {
150
- if (this.mode === ZRangePickerMode.DATE) {
153
+ if (this.mode === "date" /* ZRangePickerMode.DATE */) {
151
154
  return `${flatpickr.formatDate(date, "d-m-Y")}`;
152
155
  }
153
156
  return `${flatpickr.formatDate(date, "d-m-Y - H:i")}`;
@@ -243,9 +246,9 @@ export class ZRangePicker {
243
246
  onStopTyping(value) {
244
247
  const text = value.detail.value.replace("/", "-");
245
248
  const englishData = text.split("-");
246
- const time = this.mode === ZRangePickerMode.DATE_TIME ? `T${englishData[3]}:00` : "";
249
+ const time = this.mode === "date-time" /* ZRangePickerMode.DATE_TIME */ ? `T${englishData[3]}:00` : "";
247
250
  const englishParsedData = `${englishData[2]}-${englishData[1]}-${englishData[0]}${time}`.split(" ").join("");
248
- const isValidDate = validateDate(text, this.mode === ZRangePickerMode.DATE_TIME);
251
+ const isValidDate = validateDate(text, this.mode === "date-time" /* ZRangePickerMode.DATE_TIME */);
249
252
  const date = Date.parse(englishParsedData).toString();
250
253
  if (this.activeInput === "start-input") {
251
254
  if (text === "") {
@@ -307,7 +310,7 @@ export class ZRangePicker {
307
310
  }
308
311
  render() {
309
312
  const zInputProps = {
310
- type: InputType.TEXT,
313
+ type: "text" /* InputType.TEXT */,
311
314
  icon: "event",
312
315
  tabindex: "0",
313
316
  message: false,
@@ -319,9 +322,9 @@ export class ZRangePicker {
319
322
  [this.mode]: true,
320
323
  [this.activeInput]: true,
321
324
  [this.flatpickrPosition]: true,
322
- } }, h("div", { class: `${this.rangePickerId}-1-wrapper` }, h("div", { class: `${this.rangePickerId}-1-container` }, h("z-input", Object.assign({}, zInputProps, { "data-input": "data-input", class: `start-input ${this.rangePickerId}-1`, ariaLabel: this.firstAriaLabel, label: this.firstLabel, status: this.firstInputError && InputStatus.ERROR, onStartTyping: () => {
325
+ } }, h("div", { class: `${this.rangePickerId}-1-wrapper` }, h("div", { class: `${this.rangePickerId}-1-container` }, h("z-input", Object.assign({}, zInputProps, { "data-input": "data-input", class: `start-input ${this.rangePickerId}-1`, ariaLabel: this.firstAriaLabel, label: this.firstLabel, status: this.firstInputError && "error" /* InputStatus.ERROR */, onStartTyping: () => {
323
326
  this.firstInputError = false;
324
- } })))), h("div", { class: `${this.rangePickerId}-2-wrapper` }, h("div", { class: `${this.rangePickerId}-2-container` }, h("z-input", Object.assign({}, zInputProps, { "data-input": "data-input", class: `end-input ${this.rangePickerId}-2`, ariaLabel: this.secondAriaLabel, label: this.secondLabel, status: this.lastInputError && InputStatus.ERROR, onStartTyping: () => {
327
+ } })))), h("div", { class: `${this.rangePickerId}-2-wrapper` }, h("div", { class: `${this.rangePickerId}-2-container` }, h("z-input", Object.assign({}, zInputProps, { "data-input": "data-input", class: `end-input ${this.rangePickerId}-2`, ariaLabel: this.secondAriaLabel, label: this.secondLabel, status: this.lastInputError && "error" /* InputStatus.ERROR */, onStartTyping: () => {
325
328
  this.lastInputError = false;
326
329
  } }))))));
327
330
  }
@@ -1,8 +1,9 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { PopoverPositions, ZChipType } from "../../../beans";
3
2
  import { tabletBreakpoint } from "../../../constants/breakpoints";
4
3
  export class ZFile {
5
4
  constructor() {
5
+ this.fileNumber = undefined;
6
+ this.fileName = undefined;
6
7
  this.allowPopover = false;
7
8
  this.popoverVisible = false;
8
9
  }
@@ -30,7 +31,7 @@ export class ZFile {
30
31
  return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
31
32
  }
32
33
  render() {
33
- return (h(Host, null, this.allowPopover && (h("z-popover", { open: this.popoverVisible, position: PopoverPositions.AUTO, bindTo: this.chip }, h("span", { class: "body-5 tooltip-content" }, this.ellipsis.innerText))), h("z-chip", { ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: ZChipType.DEFAULT }, h("span", { ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
34
+ return (h(Host, null, this.allowPopover && (h("z-popover", { open: this.popoverVisible, position: "auto" /* PopoverPositions.AUTO */, bindTo: this.chip }, h("span", { class: "body-5 tooltip-content" }, this.ellipsis.innerText))), h("z-chip", { ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: "default" /* ZChipType.DEFAULT */ }, h("span", { ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
34
35
  }
35
36
  static get is() { return "z-file"; }
36
37
  static get encapsulation() { return "scoped"; }
@@ -1,17 +1,20 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { Device, DividerSize, ZFileUploadType } from "../../../beans";
3
2
  import { getDevice } from "../../../utils/utils";
4
3
  export class ZFileUpload {
5
4
  constructor() {
6
- /** Prop indicating the file upload type - can be default or dragdrop */
7
- this.type = ZFileUploadType.DEFAULT;
8
- /** Files added by the user */
9
- this.files = [];
10
5
  this.inputAttributes = {
11
6
  type: "file",
12
7
  id: "file-elem",
13
8
  multiple: true,
14
9
  };
10
+ this.type = "default" /* ZFileUploadType.DEFAULT */;
11
+ this.buttonVariant = undefined;
12
+ this.acceptedFormat = undefined;
13
+ this.fileMaxSize = undefined;
14
+ this.mainTitle = undefined;
15
+ this.description = undefined;
16
+ this.files = [];
17
+ this.invalidFiles = undefined;
15
18
  }
16
19
  /** Listen removeFile event sent from z-file component */
17
20
  removeFileListener(e) {
@@ -38,8 +41,8 @@ export class ZFileUpload {
38
41
  this.invalidFiles = new Map();
39
42
  }
40
43
  componentWillRender() {
41
- if (this.type === ZFileUploadType.DRAGDROP && getDevice() !== Device.DESKTOP) {
42
- this.type = ZFileUploadType.DEFAULT;
44
+ if (this.type === "dragdrop" /* ZFileUploadType.DRAGDROP */ && getDevice() !== "desktop" /* Device.DESKTOP */) {
45
+ this.type = "default" /* ZFileUploadType.DEFAULT */;
43
46
  }
44
47
  }
45
48
  fileInputHandler() {
@@ -57,7 +60,7 @@ export class ZFileUpload {
57
60
  lastFile.focus();
58
61
  }
59
62
  else {
60
- this.type === ZFileUploadType.DEFAULT ? this.button.querySelector("button").focus() : this.uploadLink.focus();
63
+ this.type === "default" /* ZFileUploadType.DEFAULT */ ? this.button.querySelector("button").focus() : this.uploadLink.focus();
61
64
  }
62
65
  }
63
66
  checkFiles(files) {
@@ -111,7 +114,7 @@ export class ZFileUpload {
111
114
  return h("z-body", { level: 3 }, fileFormatString || fileWeightString ? finalString : null);
112
115
  }
113
116
  renderFileSection() {
114
- return (h("section", { class: `files-container ${!this.files.length ? "hidden" : ""}` }, h("z-heading", { variant: "semibold", level: 4 }, "File appena caricati"), h("div", { class: "files-wrapper" }, h("slot", { name: "files" })), h("z-divider", { size: DividerSize.MEDIUM })));
117
+ return (h("section", { class: `files-container ${!this.files.length ? "hidden" : ""}` }, h("z-heading", { variant: "semibold", level: 4 }, "File appena caricati"), h("div", { class: "files-wrapper" }, h("slot", { name: "files" })), h("z-divider", { size: "medium" /* DividerSize.MEDIUM */ })));
115
118
  }
116
119
  renderInput() {
117
120
  return (h("input", Object.assign({}, this.inputAttributes, { onChange: () => this.fileInputHandler(), accept: this.acceptedFormat, ref: (val) => (this.input = val) })));
@@ -163,7 +166,7 @@ export class ZFileUpload {
163
166
  })))));
164
167
  }
165
168
  render() {
166
- return (h(Host, null, h("div", { tabIndex: 0, class: `container ${this.type}` }, this.renderTitle(), this.type == ZFileUploadType.DEFAULT ? this.renderDefaultMode() : this.renderDragDropMode()), !!this.invalidFiles.size && (h("z-modal", { tabIndex: 0, ref: (val) => (this.errorModal = val), modaltitle: "Attenzione", onModalClose: () => (this.invalidFiles = new Map()), onModalBackgroundClick: () => (this.invalidFiles = new Map()) }, this.handleErrorModalContent()))));
169
+ return (h(Host, null, h("div", { tabIndex: 0, class: `container ${this.type}` }, this.renderTitle(), this.type == "default" /* ZFileUploadType.DEFAULT */ ? this.renderDefaultMode() : this.renderDragDropMode()), !!this.invalidFiles.size && (h("z-modal", { tabIndex: 0, ref: (val) => (this.errorModal = val), modaltitle: "Attenzione", onModalClose: () => (this.invalidFiles = new Map()), onModalBackgroundClick: () => (this.invalidFiles = new Map()) }, this.handleErrorModalContent()))));
167
170
  }
168
171
  static get is() { return "z-file-upload"; }
169
172
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,4 @@
1
1
  import { h } from "@stencil/core";
2
- import { ButtonSize } from "../../../beans";
3
2
  /**
4
3
  * @slot - main navigation
5
4
  * @slot links - bottom navigation
@@ -8,6 +7,12 @@ import { ButtonSize } from "../../../beans";
8
7
  export class ZFooter {
9
8
  constructor() {
10
9
  this.creditsLinkId = "creditsLinkId";
10
+ this.data = undefined;
11
+ this.productName = undefined;
12
+ this.productVersion = undefined;
13
+ this.productCreditsLink = undefined;
14
+ this.showReportAProblemButton = undefined;
15
+ this.contentMaxWidth = undefined;
11
16
  this.emitReportAProblemButtonClick = this.emitReportAProblemButtonClick.bind(this);
12
17
  }
13
18
  componentWillLoad() {
@@ -56,7 +61,7 @@ export class ZFooter {
56
61
  if (this.productName || this.productVersion || this.productCreditsLink != null || this.showReportAProblemButton) {
57
62
  const versionString = `${this.productName ? " versione" : "Versione"} ${this.productVersion}`;
58
63
  const creditsObject = (h("z-body", { level: 5 }, (this.productName || this.productVersion) && " - ", h("z-link", { htmlid: this.creditsLinkId, href: (_a = this.productCreditsLink) === null || _a === void 0 ? void 0 : _a.trim(), target: "_blank", textcolor: "white" }, "Credits")));
59
- return (h("div", { id: "extension" }, h("div", { class: { "limited-width": !!this.contentMaxWidth }, style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, h("span", null, this.productName && (h("z-body", { level: 5, variant: "semibold" }, this.productName)), this.productVersion && h("z-body", { level: 5 }, versionString), this.productCreditsLink != null && creditsObject), this.showReportAProblemButton && (h("div", null, h("z-body", { level: 5 }, "Hai bisogno di aiuto?"), h("z-button", { size: ButtonSize.SMALL, onClick: this.emitReportAProblemButtonClick }, "SEGNALA UN PROBLEMA"))), h("z-divider", { color: "gray500" }))));
64
+ return (h("div", { id: "extension" }, h("div", { class: { "limited-width": !!this.contentMaxWidth }, style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, h("span", null, this.productName && (h("z-body", { level: 5, variant: "semibold" }, this.productName)), this.productVersion && h("z-body", { level: 5 }, versionString), this.productCreditsLink != null && creditsObject), this.showReportAProblemButton && (h("div", null, h("z-body", { level: 5 }, "Hai bisogno di aiuto?"), h("z-button", { size: "small" /* ButtonSize.SMALL */, onClick: this.emitReportAProblemButtonClick }, "SEGNALA UN PROBLEMA"))), h("z-divider", { color: "gray500" }))));
60
65
  }
61
66
  }
62
67
  // INFO: backward compatibility
@@ -3,6 +3,9 @@ import { h } from "@stencil/core";
3
3
  * @slot - link label
4
4
  */
5
5
  export class ZFooterLink {
6
+ constructor() {
7
+ this.href = undefined;
8
+ }
6
9
  render() {
7
10
  return (h("a", { href: this.href, target: "_blank" }, h("slot", null)));
8
11
  }
@@ -4,6 +4,7 @@ import { h } from "@stencil/core";
4
4
  */
5
5
  export class ZFooterSection {
6
6
  constructor() {
7
+ this.name = undefined;
7
8
  this.isOpen = false;
8
9
  }
9
10
  renderToggleButton() {
@@ -1,5 +1,10 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class ZFooterSocial {
3
+ constructor() {
4
+ this.icon = undefined;
5
+ this.href = undefined;
6
+ this.description = undefined;
7
+ }
3
8
  render() {
4
9
  return (h("a", { href: this.href, target: "_blank" }, h("img", { src: this.icon, alt: this.description })));
5
10
  }
@@ -1,6 +1,13 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { ICONS } from "../icons";
3
3
  export class ZIcon {
4
+ constructor() {
5
+ this.name = undefined;
6
+ this.height = undefined;
7
+ this.width = undefined;
8
+ this.iconid = undefined;
9
+ this.fill = undefined;
10
+ }
4
11
  selectPathOrPolygon(iconValue) {
5
12
  if (iconValue === null || iconValue === void 0 ? void 0 : iconValue.startsWith("M")) {
6
13
  return h("path", { d: ICONS[this.name] });
@@ -1,5 +1,11 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class ZStepperItem {
3
+ constructor() {
4
+ this.index = undefined;
5
+ this.href = undefined;
6
+ this.pressed = undefined;
7
+ this.disabled = undefined;
8
+ }
3
9
  render() {
4
10
  if (this.href) {
5
11
  return (h("a", { href: !this.disabled && this.href, class: "stepper-item" }, h("div", { class: "indicator" }, this.index), h("span", null, h("slot", null))));
@@ -1,29 +1,27 @@
1
1
  import { h } from "@stencil/core";
2
- import { InputType, KeyboardKeyCode } from "../../../beans";
3
2
  import { handleKeyboardSubmit } from "../../../utils/utils";
4
3
  export class ZCombobox {
5
4
  constructor() {
6
- /** show search input flag (optional) */
5
+ this.itemsList = [];
6
+ this.inputType = "text" /* InputType.TEXT */;
7
+ this.inputid = undefined;
8
+ this.items = undefined;
9
+ this.label = undefined;
7
10
  this.hassearch = false;
8
- /** no result text message */
11
+ this.searchlabel = undefined;
12
+ this.searchplaceholder = undefined;
13
+ this.searchtitle = undefined;
9
14
  this.noresultslabel = "Nessun risultato";
10
- /** toggle combo list opening flag */
11
15
  this.isopen = false;
12
- /** fixed style flag */
13
16
  this.isfixed = false;
14
- /** close combobox list text */
15
17
  this.closesearchtext = "Chiudi";
16
- /** show "check all" checkbox (optional) */
17
18
  this.hascheckall = false;
18
- /** check all label (optional) */
19
19
  this.checkalltext = "Seleziona tutti";
20
- /** uncheck all label (optional) */
21
20
  this.uncheckalltext = "Deseleziona tutti";
22
- /** max number of checkable items (0 = unlimited) */
23
21
  this.maxcheckableitems = 0;
24
- this.renderItemsList = []; // used for render only
25
- this.itemsList = [];
26
- this.inputType = InputType.TEXT;
22
+ this.searchValue = undefined;
23
+ this.selectedCounter = undefined;
24
+ this.renderItemsList = [];
27
25
  this.toggleComboBox = this.toggleComboBox.bind(this);
28
26
  this.closeFilterItems = this.closeFilterItems.bind(this);
29
27
  }
@@ -100,7 +98,7 @@ export class ZCombobox {
100
98
  }
101
99
  renderHeader() {
102
100
  return (h("div", { class: "header", onClick: () => this.toggleComboBox(), onKeyDown: (ev) => {
103
- if (ev.keyCode === KeyboardKeyCode.SPACE) {
101
+ if (ev.keyCode === 32 /* KeyboardKeyCode.SPACE */) {
104
102
  ev.preventDefault();
105
103
  }
106
104
  }, onKeyUp: (ev) => handleKeyboardSubmit(ev, this.toggleComboBox), role: "button", tabindex: 0 }, h("z-body", { level: 3, component: "p" }, this.label, h("span", null, this.selectedCounter > 0 && ` (${this.selectedCounter})`)), h("z-icon", { name: "caret-down", width: 18, height: 18 })));
@@ -125,7 +123,7 @@ export class ZCombobox {
125
123
  return this.renderNoSearchResults();
126
124
  }
127
125
  return (h("ul", null, items.map((item, i) => {
128
- return (h("z-myz-list-item", { id: item.id, listitemid: item.id, action: `combo-li-${this.inputid}`, underlined: i !== items.length - 1 }, h("z-input", { type: InputType.CHECKBOX, checked: item.checked, htmlid: `combo-checkbox-${this.inputid}-${item.id}`, label: item.name, disabled: !item.checked && this.maxcheckableitems && this.maxcheckableitems === this.selectedCounter })));
126
+ return (h("z-myz-list-item", { id: item.id, listitemid: item.id, action: `combo-li-${this.inputid}`, underlined: i !== items.length - 1 }, h("z-input", { type: "checkbox" /* InputType.CHECKBOX */, checked: item.checked, htmlid: `combo-checkbox-${this.inputid}-${item.id}`, label: item.name, disabled: !item.checked && this.maxcheckableitems && this.maxcheckableitems === this.selectedCounter })));
129
127
  })));
130
128
  }
131
129
  renderNoSearchResults() {
@@ -150,7 +148,7 @@ export class ZCombobox {
150
148
  return;
151
149
  }
152
150
  const allChecked = this.selectedCounter === this.itemsList.length;
153
- return (h("div", { class: "check-all-wrapper" }, h("z-input", { type: InputType.CHECKBOX, checked: allChecked, htmlid: `combo-checkbox-${this.inputid}-check-all`, label: allChecked ? this.uncheckalltext : this.checkalltext, disabled: this.maxcheckableitems && this.maxcheckableitems < this.itemsList.length })));
151
+ return (h("div", { class: "check-all-wrapper" }, h("z-input", { type: "checkbox" /* InputType.CHECKBOX */, checked: allChecked, htmlid: `combo-checkbox-${this.inputid}-check-all`, label: allChecked ? this.uncheckalltext : this.checkalltext, disabled: this.maxcheckableitems && this.maxcheckableitems < this.itemsList.length })));
154
152
  }
155
153
  render() {
156
154
  return (h("div", { "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed }, id: this.inputid }, this.renderHeader(), this.renderContent()));