@zanichelli/albe-web-components 5.5.5 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (522) hide show
  1. package/dist/cjs/{index-3dd0f9bd.js → index-745c0423.js} +10 -0
  2. package/dist/cjs/{index-84b7063a.js → index-e3299e0a.js} +848 -278
  3. package/dist/cjs/index.cjs.js +14 -2
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/{utils-29f9ccf5.js → utils-4647eb06.js} +1 -1
  6. package/dist/cjs/{utils-4a419726.js → utils-dfe717c7.js} +1 -1
  7. package/dist/cjs/web-components-library.cjs.js +3 -3
  8. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/z-app-header.cjs.entry.js +1 -1
  10. package/dist/cjs/z-app-switcher_9.cjs.entry.js +4 -4
  11. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  12. package/dist/cjs/z-avatar.cjs.entry.js +2 -2
  13. package/dist/cjs/z-body_2.cjs.entry.js +1 -1
  14. package/dist/cjs/z-button-deprecated.cjs.entry.js +2 -2
  15. package/dist/cjs/z-button-filter.cjs.entry.js +1 -1
  16. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  17. package/dist/cjs/z-button.cjs.entry.js +2 -2
  18. package/dist/cjs/z-candybar.cjs.entry.js +1 -1
  19. package/dist/cjs/z-card.cjs.entry.js +2 -2
  20. package/dist/cjs/z-carousel.cjs.entry.js +117 -5
  21. package/dist/cjs/z-chip-deprecated.cjs.entry.js +1 -1
  22. package/dist/cjs/z-chip.cjs.entry.js +3 -3
  23. package/dist/cjs/z-combobox.cjs.entry.js +3 -3
  24. package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -2
  25. package/dist/cjs/z-cookiebar.cjs.entry.js +2 -2
  26. package/dist/cjs/z-cover-hero.cjs.entry.js +2 -2
  27. package/dist/cjs/z-date-picker.cjs.entry.js +3 -3
  28. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
  29. package/dist/cjs/z-file-upload.cjs.entry.js +3 -3
  30. package/dist/cjs/z-file.cjs.entry.js +2 -2
  31. package/dist/cjs/z-footer-link_3.cjs.entry.js +1 -1
  32. package/dist/cjs/z-footer.cjs.entry.js +2 -2
  33. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  34. package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
  35. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  36. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  37. package/dist/cjs/z-input-deprecated.cjs.entry.js +3 -3
  38. package/dist/cjs/z-input-label_2.cjs.entry.js +3 -3
  39. package/dist/cjs/z-list-group.cjs.entry.js +2 -2
  40. package/dist/cjs/z-list_2.cjs.entry.js +2 -2
  41. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +3 -3
  42. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  43. package/dist/cjs/z-menu.cjs.entry.js +1 -1
  44. package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
  45. package/dist/cjs/z-modal-login.cjs.entry.js +2 -2
  46. package/dist/cjs/z-modal.cjs.entry.js +1 -1
  47. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  48. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  49. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  50. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  51. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  52. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  53. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  54. package/dist/cjs/z-myz-card_4.cjs.entry.js +2 -2
  55. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  56. package/dist/cjs/z-myz-topbar.cjs.entry.js +2 -2
  57. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +2 -2
  58. package/dist/cjs/z-navigation-tab.cjs.entry.js +2 -2
  59. package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
  60. package/dist/cjs/z-notification.cjs.entry.js +1 -1
  61. package/dist/cjs/z-offcanvas.cjs.entry.js +2 -2
  62. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  63. package/dist/cjs/z-pagination-bar.cjs.entry.js +3 -3
  64. package/dist/cjs/z-pagination-page.cjs.entry.js +1 -1
  65. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  66. package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
  67. package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
  68. package/dist/cjs/z-pocket_3.cjs.entry.js +3 -3
  69. package/dist/cjs/z-popover-deprecated.cjs.entry.js +3 -3
  70. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  71. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  72. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  73. package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
  74. package/dist/cjs/z-status-tag.cjs.entry.js +2 -2
  75. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  76. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  77. package/dist/cjs/z-table-body.cjs.entry.js +1 -1
  78. package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
  79. package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
  80. package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
  81. package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
  82. package/dist/cjs/z-table-head.cjs.entry.js +1 -1
  83. package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
  84. package/dist/cjs/z-table-header.cjs.entry.js +3 -3
  85. package/dist/cjs/z-table-row.cjs.entry.js +2 -2
  86. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
  87. package/dist/cjs/z-table.cjs.entry.js +2 -2
  88. package/dist/cjs/z-tag.cjs.entry.js +1 -1
  89. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  90. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  91. package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
  92. package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
  93. package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +2 -2
  94. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  95. package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -1
  96. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  97. package/dist/collection/beans/index.js +10 -0
  98. package/dist/collection/collection-manifest.json +2 -2
  99. package/dist/collection/components/buttons/z-button/index.js +202 -200
  100. package/dist/collection/components/buttons/z-button-sort/index.js +178 -173
  101. package/dist/collection/components/buttons/z-chip/index.js +105 -102
  102. package/dist/collection/components/buttons/z-toggle-button/index.js +100 -94
  103. package/dist/collection/components/buttons/z-toggle-switch/index.js +110 -106
  104. package/dist/collection/components/date-picker/z-date-picker/index.js +129 -118
  105. package/dist/collection/components/date-picker/z-range-picker/index.js +168 -160
  106. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +31 -29
  107. package/dist/collection/components/file-upload/z-file/index.js +93 -85
  108. package/dist/collection/components/file-upload/z-file-upload/index.js +193 -196
  109. package/dist/collection/components/footer/z-footer/index.js +165 -197
  110. package/dist/collection/components/footer/z-footer-link/index.js +33 -28
  111. package/dist/collection/components/footer/z-footer-section/index.js +39 -37
  112. package/dist/collection/components/footer/z-footer-social/index.js +65 -60
  113. package/dist/collection/components/icons/z-icon/index.js +96 -90
  114. package/dist/collection/components/icons/z-icon-package/index.js +12 -10
  115. package/dist/collection/components/indicators/z-stepper/index.js +11 -7
  116. package/dist/collection/components/indicators/z-stepper-item/index.js +82 -82
  117. package/dist/collection/components/inputs/z-combobox/index.js +319 -320
  118. package/dist/collection/components/inputs/z-input/index.js +522 -530
  119. package/dist/collection/components/inputs/z-input-message/index.js +53 -49
  120. package/dist/collection/components/inputs/z-select/index.js +333 -327
  121. package/dist/collection/components/list/z-list/index.js +38 -33
  122. package/dist/collection/components/list/z-list-element/index.js +287 -282
  123. package/dist/collection/components/list/z-list-group/index.js +100 -98
  124. package/dist/collection/components/list/z-toast-notification-list/index.js +60 -53
  125. package/dist/collection/components/logo/z-logo/index.js +113 -108
  126. package/dist/collection/components/modal/z-modal/index.js +129 -130
  127. package/dist/collection/components/modal/z-modal-login/index.js +170 -194
  128. package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +173 -163
  129. package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +205 -195
  130. package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +93 -87
  131. package/dist/collection/components/navigation/z-app-header/index.js +136 -146
  132. package/dist/collection/components/navigation/z-app-switcher/index.js +60 -51
  133. package/dist/collection/components/navigation/z-app-topbar/index.js +120 -120
  134. package/dist/collection/components/navigation/z-link/index.js +243 -237
  135. package/dist/collection/components/navigation/z-menu/index.js +128 -123
  136. package/dist/collection/components/navigation/z-menu-dropdown/index.js +76 -76
  137. package/dist/collection/components/navigation/z-menu-section/index.js +80 -73
  138. package/dist/collection/components/navigation/z-user-dropdown/index.js +164 -167
  139. package/dist/collection/components/notification/z-candybar/index.js +12 -9
  140. package/dist/collection/components/notification/z-cookiebar/index.js +80 -80
  141. package/dist/collection/components/notification/z-info-box/index.js +67 -61
  142. package/dist/collection/components/notification/z-notification/index.js +157 -153
  143. package/dist/collection/components/notification/z-toast-notification/index.js +216 -215
  144. package/dist/collection/components/notification/z-tooltip/index.js +100 -93
  145. package/dist/collection/components/panel/z-panel-elem/index.js +172 -172
  146. package/dist/collection/components/typography/z-body/index.js +56 -55
  147. package/dist/collection/components/typography/z-heading/index.js +56 -55
  148. package/dist/collection/components/typography/z-typography/index.js +68 -62
  149. package/dist/collection/components/z-aria-alert/index.js +24 -23
  150. package/dist/collection/components/z-avatar/index.js +104 -100
  151. package/dist/collection/components/z-card/index.js +124 -126
  152. package/dist/collection/components/z-carousel/index.js +268 -47
  153. package/dist/collection/components/z-carousel/styles.css +107 -2
  154. package/dist/collection/components/z-contextual-menu/index.js +91 -92
  155. package/dist/collection/components/z-cover-hero/index.js +63 -65
  156. package/dist/collection/components/z-divider/index.js +75 -69
  157. package/dist/collection/components/z-ghost-loading/index.js +11 -7
  158. package/dist/collection/components/z-info-reveal/index.js +83 -80
  159. package/dist/collection/components/z-offcanvas/index.js +99 -91
  160. package/dist/collection/components/z-pagination/index.js +225 -237
  161. package/dist/collection/components/z-popover/index.js +185 -171
  162. package/dist/collection/components/z-section-title/index.js +54 -48
  163. package/dist/collection/components/z-skip-to-content/index.js +78 -68
  164. package/dist/collection/components/z-table/z-table/index.js +273 -284
  165. package/dist/collection/components/z-table/z-table-body/index.js +11 -7
  166. package/dist/collection/components/z-table/z-table-cell/index.js +63 -61
  167. package/dist/collection/components/z-table/z-table-empty-box/index.js +53 -53
  168. package/dist/collection/components/z-table/z-table-expanded-row/index.js +33 -29
  169. package/dist/collection/components/z-table/z-table-footer/index.js +11 -7
  170. package/dist/collection/components/z-table/z-table-head/index.js +11 -7
  171. package/dist/collection/components/z-table/z-table-header/index.js +162 -160
  172. package/dist/collection/components/z-table/z-table-header-row/index.js +33 -29
  173. package/dist/collection/components/z-table/z-table-row/index.js +63 -57
  174. package/dist/collection/components/z-table/z-table-sticky-footer/index.js +11 -7
  175. package/dist/collection/components/z-tag/index.js +49 -46
  176. package/dist/collection/components/z-visually-hidden/index.js +11 -7
  177. package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +166 -159
  178. package/dist/collection/deprecated/pagination/z-pagination-page/index.js +115 -109
  179. package/dist/collection/deprecated/z-button-deprecated/index.js +189 -186
  180. package/dist/collection/deprecated/z-button-filter/index.js +118 -114
  181. package/dist/collection/deprecated/z-chip-deprecated/index.js +50 -48
  182. package/dist/collection/deprecated/z-input-deprecated/index.js +579 -584
  183. package/dist/collection/deprecated/z-input-label/index.js +65 -59
  184. package/dist/collection/deprecated/z-popover-deprecated/index.js +182 -174
  185. package/dist/collection/deprecated/z-status-tag/index.js +106 -102
  186. package/dist/collection/deprecated/z-tooltip-deprecated/index.js +127 -116
  187. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +87 -82
  188. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +102 -99
  189. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +12 -10
  190. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +80 -74
  191. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +143 -143
  192. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +150 -157
  193. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +12 -13
  194. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +74 -68
  195. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +66 -62
  196. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +82 -106
  197. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +32 -26
  198. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +54 -46
  199. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +169 -165
  200. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +82 -83
  201. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +124 -114
  202. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +63 -56
  203. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +65 -58
  204. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +12 -13
  205. package/dist/collection/snowflakes/myz/topbar/index.js +230 -256
  206. package/dist/collection/snowflakes/myz/z-alert/index.js +37 -32
  207. package/dist/collection/snowflakes/myz/z-otp/index.js +99 -93
  208. package/dist/collection/snowflakes/myz/z-slideshow/index.js +64 -66
  209. package/dist/esm/{index-3c2d757b.js → index-8390ddaf.js} +11 -1
  210. package/dist/esm/{index-90e18641.js → index-a2ca4b97.js} +848 -278
  211. package/dist/esm/index.js +2 -2
  212. package/dist/esm/loader.js +3 -3
  213. package/dist/esm/polyfills/css-shim.js +1 -1
  214. package/dist/esm/{utils-57be09c8.js → utils-2c5dfb88.js} +1 -1
  215. package/dist/esm/{utils-729724da.js → utils-3ba1cfd4.js} +1 -1
  216. package/dist/esm/web-components-library.js +3 -3
  217. package/dist/esm/z-alert.entry.js +1 -1
  218. package/dist/esm/z-app-header.entry.js +1 -1
  219. package/dist/esm/z-app-switcher_9.entry.js +4 -4
  220. package/dist/esm/z-aria-alert.entry.js +2 -2
  221. package/dist/esm/z-avatar.entry.js +2 -2
  222. package/dist/esm/z-body_2.entry.js +1 -1
  223. package/dist/esm/z-button-deprecated.entry.js +2 -2
  224. package/dist/esm/z-button-filter.entry.js +1 -1
  225. package/dist/esm/z-button-sort.entry.js +1 -1
  226. package/dist/esm/z-button.entry.js +2 -2
  227. package/dist/esm/z-candybar.entry.js +1 -1
  228. package/dist/esm/z-card.entry.js +2 -2
  229. package/dist/esm/z-carousel.entry.js +117 -5
  230. package/dist/esm/z-chip-deprecated.entry.js +1 -1
  231. package/dist/esm/z-chip.entry.js +3 -3
  232. package/dist/esm/z-combobox.entry.js +3 -3
  233. package/dist/esm/z-contextual-menu.entry.js +2 -2
  234. package/dist/esm/z-cookiebar.entry.js +2 -2
  235. package/dist/esm/z-cover-hero.entry.js +2 -2
  236. package/dist/esm/z-date-picker.entry.js +3 -3
  237. package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
  238. package/dist/esm/z-file-upload.entry.js +3 -3
  239. package/dist/esm/z-file.entry.js +2 -2
  240. package/dist/esm/z-footer-link_3.entry.js +1 -1
  241. package/dist/esm/z-footer.entry.js +2 -2
  242. package/dist/esm/z-ghost-loading.entry.js +1 -1
  243. package/dist/esm/z-icon-package.entry.js +1 -1
  244. package/dist/esm/z-info-box.entry.js +1 -1
  245. package/dist/esm/z-info-reveal.entry.js +2 -2
  246. package/dist/esm/z-input-deprecated.entry.js +3 -3
  247. package/dist/esm/z-input-label_2.entry.js +3 -3
  248. package/dist/esm/z-list-group.entry.js +2 -2
  249. package/dist/esm/z-list_2.entry.js +2 -2
  250. package/dist/esm/z-menu-dropdown_2.entry.js +3 -3
  251. package/dist/esm/z-menu-section.entry.js +1 -1
  252. package/dist/esm/z-menu.entry.js +1 -1
  253. package/dist/esm/z-messages-pocket.entry.js +2 -2
  254. package/dist/esm/z-modal-login.entry.js +2 -2
  255. package/dist/esm/z-modal.entry.js +1 -1
  256. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  257. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  258. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  259. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  260. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  261. package/dist/esm/z-myz-card-info.entry.js +3 -3
  262. package/dist/esm/z-myz-card-list.entry.js +1 -1
  263. package/dist/esm/z-myz-card_4.entry.js +2 -2
  264. package/dist/esm/z-myz-list-item.entry.js +3 -3
  265. package/dist/esm/z-myz-topbar.entry.js +2 -2
  266. package/dist/esm/z-navigation-tab-link.entry.js +2 -2
  267. package/dist/esm/z-navigation-tab.entry.js +2 -2
  268. package/dist/esm/z-navigation-tabs.entry.js +2 -2
  269. package/dist/esm/z-notification.entry.js +1 -1
  270. package/dist/esm/z-offcanvas.entry.js +2 -2
  271. package/dist/esm/z-otp.entry.js +2 -2
  272. package/dist/esm/z-pagination-bar.entry.js +3 -3
  273. package/dist/esm/z-pagination-page.entry.js +1 -1
  274. package/dist/esm/z-pagination.entry.js +1 -1
  275. package/dist/esm/z-panel-elem.entry.js +1 -1
  276. package/dist/esm/z-pocket-message.entry.js +1 -1
  277. package/dist/esm/z-pocket_3.entry.js +3 -3
  278. package/dist/esm/z-popover-deprecated.entry.js +3 -3
  279. package/dist/esm/z-popover.entry.js +2 -2
  280. package/dist/esm/z-section-title.entry.js +2 -2
  281. package/dist/esm/z-skip-to-content.entry.js +3 -3
  282. package/dist/esm/z-slideshow.entry.js +3 -3
  283. package/dist/esm/z-status-tag.entry.js +2 -2
  284. package/dist/esm/z-stepper-item.entry.js +1 -1
  285. package/dist/esm/z-stepper.entry.js +1 -1
  286. package/dist/esm/z-table-body.entry.js +1 -1
  287. package/dist/esm/z-table-cell.entry.js +2 -2
  288. package/dist/esm/z-table-empty-box.entry.js +1 -1
  289. package/dist/esm/z-table-expanded-row.entry.js +1 -1
  290. package/dist/esm/z-table-footer.entry.js +1 -1
  291. package/dist/esm/z-table-head.entry.js +1 -1
  292. package/dist/esm/z-table-header-row.entry.js +1 -1
  293. package/dist/esm/z-table-header.entry.js +3 -3
  294. package/dist/esm/z-table-row.entry.js +2 -2
  295. package/dist/esm/z-table-sticky-footer.entry.js +1 -1
  296. package/dist/esm/z-table.entry.js +2 -2
  297. package/dist/esm/z-tag.entry.js +1 -1
  298. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  299. package/dist/esm/z-toast-notification.entry.js +2 -2
  300. package/dist/esm/z-toggle-button.entry.js +1 -1
  301. package/dist/esm/z-toggle-switch.entry.js +3 -3
  302. package/dist/esm/z-tooltip-deprecated.entry.js +2 -2
  303. package/dist/esm/z-tooltip.entry.js +2 -2
  304. package/dist/esm/z-user-dropdown.entry.js +1 -1
  305. package/dist/esm/z-visually-hidden.entry.js +1 -1
  306. package/dist/types/beans/index.d.ts +8 -0
  307. package/dist/types/components/z-carousel/index.d.ts +47 -3
  308. package/dist/types/components.d.ts +309 -77
  309. package/dist/types/stencil-public-runtime.d.ts +15 -4
  310. package/dist/web-components-library/index.esm.js +1 -1
  311. package/dist/web-components-library/{p-79408b00.entry.js → p-01a95ddd.entry.js} +1 -1
  312. package/dist/web-components-library/{p-f0d90cc2.entry.js → p-023e657c.entry.js} +1 -1
  313. package/dist/web-components-library/{p-5ae44c56.entry.js → p-03aa4a29.entry.js} +1 -1
  314. package/dist/web-components-library/{p-02681c05.entry.js → p-07af77be.entry.js} +1 -1
  315. package/dist/web-components-library/{p-9c7cf598.entry.js → p-0f0d8a17.entry.js} +1 -1
  316. package/dist/web-components-library/{p-104b70e5.entry.js → p-137c1289.entry.js} +1 -1
  317. package/dist/web-components-library/{p-1906915c.entry.js → p-145ef56b.entry.js} +1 -1
  318. package/{www/build/p-f31b8e83.js → dist/web-components-library/p-16c0ffce.js} +1 -1
  319. package/dist/web-components-library/{p-0aa9746a.entry.js → p-1c5cb6b6.entry.js} +1 -1
  320. package/dist/web-components-library/{p-d0d75b41.entry.js → p-1cb8f39f.entry.js} +1 -1
  321. package/{www/build/p-c730a93d.entry.js → dist/web-components-library/p-1efa8cfe.entry.js} +1 -1
  322. package/dist/web-components-library/{p-46a6341a.entry.js → p-204c6ec6.entry.js} +1 -1
  323. package/{www/build/p-aed2a8cf.entry.js → dist/web-components-library/p-213d7163.entry.js} +1 -1
  324. package/dist/web-components-library/{p-8e4d7f5d.entry.js → p-21a1b6a9.entry.js} +1 -1
  325. package/dist/web-components-library/{p-d34eccf8.entry.js → p-242e410f.entry.js} +1 -1
  326. package/dist/web-components-library/{p-2c836d42.entry.js → p-2b374cb0.entry.js} +1 -1
  327. package/dist/web-components-library/{p-2de00f19.entry.js → p-2ec1cc4b.entry.js} +1 -1
  328. package/dist/web-components-library/{p-6375f662.entry.js → p-33438244.entry.js} +1 -1
  329. package/dist/web-components-library/{p-6baa8e33.entry.js → p-37e050bd.entry.js} +1 -1
  330. package/dist/web-components-library/{p-a94f78b4.entry.js → p-3bdf4f63.entry.js} +1 -1
  331. package/dist/web-components-library/{p-0ab1b40f.entry.js → p-3c63af71.entry.js} +1 -1
  332. package/dist/web-components-library/{p-b574d5f6.entry.js → p-3c715e7d.entry.js} +1 -1
  333. package/dist/web-components-library/{p-bd772b8a.entry.js → p-3e60fa3d.entry.js} +1 -1
  334. package/dist/web-components-library/{p-953a07d5.entry.js → p-426c55e1.entry.js} +1 -1
  335. package/dist/web-components-library/{p-5789bbe7.entry.js → p-42d1707b.entry.js} +1 -1
  336. package/dist/web-components-library/p-46f66301.entry.js +1 -0
  337. package/dist/web-components-library/{p-fea2c39a.entry.js → p-470e984a.entry.js} +1 -1
  338. package/dist/web-components-library/{p-f6da32c4.entry.js → p-4725eda5.entry.js} +1 -1
  339. package/dist/web-components-library/{p-1e6aff0f.entry.js → p-478dd7a6.entry.js} +1 -1
  340. package/dist/web-components-library/{p-d4927410.entry.js → p-4f4930b5.entry.js} +1 -1
  341. package/dist/web-components-library/{p-71034a6f.entry.js → p-52ca86db.entry.js} +1 -1
  342. package/dist/web-components-library/{p-e2560604.entry.js → p-5a5dde20.entry.js} +1 -1
  343. package/dist/web-components-library/{p-1196b959.entry.js → p-5c30dfc5.entry.js} +1 -1
  344. package/dist/web-components-library/{p-a93d5b8c.entry.js → p-69fead44.entry.js} +1 -1
  345. package/dist/web-components-library/{p-cb13d050.entry.js → p-6ab40b8f.entry.js} +1 -1
  346. package/dist/web-components-library/{p-78e26102.entry.js → p-6aba4f0a.entry.js} +1 -1
  347. package/dist/web-components-library/p-6c7251f5.entry.js +1 -0
  348. package/dist/web-components-library/{p-41c5beec.entry.js → p-6d9d8a68.entry.js} +1 -1
  349. package/{www/build/p-7171717f.entry.js → dist/web-components-library/p-726b4fbd.entry.js} +1 -1
  350. package/dist/web-components-library/p-728a61a6.js +1 -0
  351. package/dist/web-components-library/{p-b543005a.entry.js → p-769ccc9f.entry.js} +1 -1
  352. package/dist/web-components-library/{p-02474663.entry.js → p-79d4e03b.entry.js} +1 -1
  353. package/dist/web-components-library/{p-4d9667dc.entry.js → p-872c8d25.entry.js} +1 -1
  354. package/dist/web-components-library/{p-fd2338b2.entry.js → p-8779fc5f.entry.js} +1 -1
  355. package/dist/web-components-library/{p-8f030e78.entry.js → p-8c703e92.entry.js} +1 -1
  356. package/dist/web-components-library/{p-3fc438b7.entry.js → p-8e480d71.entry.js} +1 -1
  357. package/dist/web-components-library/{p-a759ab46.entry.js → p-9124fe26.entry.js} +1 -1
  358. package/{www/build/p-7d37e4a8.entry.js → dist/web-components-library/p-951c50ad.entry.js} +1 -1
  359. package/{www/build/p-596da333.entry.js → dist/web-components-library/p-9b70eba4.entry.js} +1 -1
  360. package/dist/web-components-library/p-9bbb27f7.entry.js +1 -0
  361. package/dist/web-components-library/{p-c284139b.entry.js → p-9c83bf57.entry.js} +1 -1
  362. package/dist/web-components-library/{p-7b054eb2.entry.js → p-a30bbd0a.entry.js} +1 -1
  363. package/dist/web-components-library/{p-ab5f212d.entry.js → p-a3eeed2e.entry.js} +1 -1
  364. package/dist/web-components-library/{p-ae784c71.entry.js → p-a88046a0.entry.js} +1 -1
  365. package/dist/web-components-library/{p-71e8c2af.entry.js → p-a9d0b418.entry.js} +1 -1
  366. package/dist/web-components-library/{p-cf35d3cd.entry.js → p-aaa0752b.entry.js} +1 -1
  367. package/dist/web-components-library/{p-c9348925.entry.js → p-ad17a4a0.entry.js} +1 -1
  368. package/dist/web-components-library/{p-ae79ab08.entry.js → p-aee1f514.entry.js} +1 -1
  369. package/dist/web-components-library/{p-578a5ad1.entry.js → p-b02aa57c.entry.js} +1 -1
  370. package/dist/web-components-library/p-b54faa73.entry.js +1 -0
  371. package/dist/web-components-library/{p-51130281.entry.js → p-b622a7fd.entry.js} +1 -1
  372. package/dist/web-components-library/{p-1c413074.entry.js → p-b9bf1a8d.entry.js} +1 -1
  373. package/dist/web-components-library/{p-8468d87e.entry.js → p-baa877db.entry.js} +1 -1
  374. package/dist/web-components-library/{p-e6ddee24.entry.js → p-beec82d9.entry.js} +1 -1
  375. package/dist/web-components-library/{p-a5232d04.entry.js → p-bf7adc29.entry.js} +1 -1
  376. package/{www/build/p-b5916b42.entry.js → dist/web-components-library/p-c1da93ee.entry.js} +1 -1
  377. package/dist/web-components-library/{p-92cc171f.entry.js → p-c2a3f15d.entry.js} +1 -1
  378. package/dist/web-components-library/{p-105b82a6.entry.js → p-c4417a91.entry.js} +1 -1
  379. package/{www/build/p-bbeb6b3c.entry.js → dist/web-components-library/p-c4f778d7.entry.js} +1 -1
  380. package/dist/web-components-library/{p-1ff7bde5.entry.js → p-c633d2bb.entry.js} +1 -1
  381. package/dist/web-components-library/{p-9fb79d74.entry.js → p-c6b5ee23.entry.js} +1 -1
  382. package/dist/web-components-library/{p-6bb8de3e.entry.js → p-c89cbfcc.entry.js} +1 -1
  383. package/{www/build/p-cf73af9a.entry.js → dist/web-components-library/p-caa2c86c.entry.js} +1 -1
  384. package/dist/web-components-library/{p-bd886dd5.entry.js → p-cea7a294.entry.js} +1 -1
  385. package/dist/web-components-library/p-d17ebc2f.js +2 -0
  386. package/dist/web-components-library/{p-29e8a12c.entry.js → p-d1f8d75e.entry.js} +1 -1
  387. package/dist/web-components-library/{p-bfa3593e.js → p-d4681325.js} +1 -1
  388. package/dist/web-components-library/{p-9352da73.entry.js → p-d665ca6b.entry.js} +1 -1
  389. package/{www/build/p-c066ddf1.entry.js → dist/web-components-library/p-d8aac365.entry.js} +1 -1
  390. package/dist/web-components-library/{p-e17ca1a1.entry.js → p-e177dbef.entry.js} +1 -1
  391. package/dist/web-components-library/{p-7ebb03d8.entry.js → p-e527ef6d.entry.js} +1 -1
  392. package/dist/web-components-library/{p-9260abad.entry.js → p-e88ad497.entry.js} +1 -1
  393. package/dist/web-components-library/{p-4aaf3433.entry.js → p-eaa4eba8.entry.js} +1 -1
  394. package/dist/web-components-library/{p-7f2fa336.entry.js → p-eb2634d3.entry.js} +1 -1
  395. package/dist/web-components-library/p-eba1cdd9.entry.js +1 -0
  396. package/dist/web-components-library/{p-c6124ee4.entry.js → p-ed9dc5b7.entry.js} +1 -1
  397. package/{www/build/p-e293f91e.entry.js → dist/web-components-library/p-f0e73ccb.entry.js} +1 -1
  398. package/dist/web-components-library/{p-223566d6.entry.js → p-f4b9f544.entry.js} +1 -1
  399. package/dist/web-components-library/{p-710cec6d.entry.js → p-f5c3d332.entry.js} +1 -1
  400. package/dist/web-components-library/{p-33f74396.entry.js → p-f724f7a1.entry.js} +1 -1
  401. package/dist/web-components-library/{p-cc6a5872.entry.js → p-f77d7a3f.entry.js} +1 -1
  402. package/{www/build/p-e6ac4dc4.entry.js → dist/web-components-library/p-fd13128d.entry.js} +1 -1
  403. package/dist/web-components-library/{p-a9eea65b.entry.js → p-fdb6e67b.entry.js} +1 -1
  404. package/dist/web-components-library/web-components-library.esm.js +1 -1
  405. package/loader/package.json +1 -0
  406. package/package.json +2 -2
  407. package/www/build/index.esm.js +1 -1
  408. package/www/build/{p-79408b00.entry.js → p-01a95ddd.entry.js} +1 -1
  409. package/www/build/{p-f0d90cc2.entry.js → p-023e657c.entry.js} +1 -1
  410. package/www/build/{p-5ae44c56.entry.js → p-03aa4a29.entry.js} +1 -1
  411. package/www/build/{p-02681c05.entry.js → p-07af77be.entry.js} +1 -1
  412. package/www/build/{p-9c7cf598.entry.js → p-0f0d8a17.entry.js} +1 -1
  413. package/www/build/{p-104b70e5.entry.js → p-137c1289.entry.js} +1 -1
  414. package/www/build/{p-1906915c.entry.js → p-145ef56b.entry.js} +1 -1
  415. package/{dist/web-components-library/p-f31b8e83.js → www/build/p-16c0ffce.js} +1 -1
  416. package/www/build/{p-0aa9746a.entry.js → p-1c5cb6b6.entry.js} +1 -1
  417. package/www/build/{p-d0d75b41.entry.js → p-1cb8f39f.entry.js} +1 -1
  418. package/{dist/web-components-library/p-c730a93d.entry.js → www/build/p-1efa8cfe.entry.js} +1 -1
  419. package/www/build/{p-46a6341a.entry.js → p-204c6ec6.entry.js} +1 -1
  420. package/{dist/web-components-library/p-aed2a8cf.entry.js → www/build/p-213d7163.entry.js} +1 -1
  421. package/www/build/{p-8e4d7f5d.entry.js → p-21a1b6a9.entry.js} +1 -1
  422. package/www/build/{p-d34eccf8.entry.js → p-242e410f.entry.js} +1 -1
  423. package/www/build/{p-2c836d42.entry.js → p-2b374cb0.entry.js} +1 -1
  424. package/www/build/{p-2de00f19.entry.js → p-2ec1cc4b.entry.js} +1 -1
  425. package/www/build/{p-6375f662.entry.js → p-33438244.entry.js} +1 -1
  426. package/www/build/{p-6baa8e33.entry.js → p-37e050bd.entry.js} +1 -1
  427. package/www/build/{p-a94f78b4.entry.js → p-3bdf4f63.entry.js} +1 -1
  428. package/www/build/{p-0ab1b40f.entry.js → p-3c63af71.entry.js} +1 -1
  429. package/www/build/{p-b574d5f6.entry.js → p-3c715e7d.entry.js} +1 -1
  430. package/www/build/{p-bd772b8a.entry.js → p-3e60fa3d.entry.js} +1 -1
  431. package/www/build/{p-953a07d5.entry.js → p-426c55e1.entry.js} +1 -1
  432. package/www/build/{p-5789bbe7.entry.js → p-42d1707b.entry.js} +1 -1
  433. package/www/build/p-448b6156.js +1 -0
  434. package/www/build/p-46f66301.entry.js +1 -0
  435. package/www/build/{p-fea2c39a.entry.js → p-470e984a.entry.js} +1 -1
  436. package/www/build/{p-f6da32c4.entry.js → p-4725eda5.entry.js} +1 -1
  437. package/www/build/{p-1e6aff0f.entry.js → p-478dd7a6.entry.js} +1 -1
  438. package/www/build/p-4c9c83c0.css +1 -0
  439. package/www/build/{p-d4927410.entry.js → p-4f4930b5.entry.js} +1 -1
  440. package/www/build/{p-71034a6f.entry.js → p-52ca86db.entry.js} +1 -1
  441. package/www/build/{p-e2560604.entry.js → p-5a5dde20.entry.js} +1 -1
  442. package/www/build/{p-1196b959.entry.js → p-5c30dfc5.entry.js} +1 -1
  443. package/www/build/{p-a93d5b8c.entry.js → p-69fead44.entry.js} +1 -1
  444. package/www/build/{p-cb13d050.entry.js → p-6ab40b8f.entry.js} +1 -1
  445. package/www/build/{p-78e26102.entry.js → p-6aba4f0a.entry.js} +1 -1
  446. package/www/build/p-6c7251f5.entry.js +1 -0
  447. package/www/build/{p-41c5beec.entry.js → p-6d9d8a68.entry.js} +1 -1
  448. package/{dist/web-components-library/p-7171717f.entry.js → www/build/p-726b4fbd.entry.js} +1 -1
  449. package/www/build/p-728a61a6.js +1 -0
  450. package/www/build/{p-b543005a.entry.js → p-769ccc9f.entry.js} +1 -1
  451. package/www/build/{p-02474663.entry.js → p-79d4e03b.entry.js} +1 -1
  452. package/www/build/{p-4d9667dc.entry.js → p-872c8d25.entry.js} +1 -1
  453. package/www/build/{p-fd2338b2.entry.js → p-8779fc5f.entry.js} +1 -1
  454. package/www/build/{p-8f030e78.entry.js → p-8c703e92.entry.js} +1 -1
  455. package/www/build/{p-3fc438b7.entry.js → p-8e480d71.entry.js} +1 -1
  456. package/www/build/{p-a759ab46.entry.js → p-9124fe26.entry.js} +1 -1
  457. package/{dist/web-components-library/p-7d37e4a8.entry.js → www/build/p-951c50ad.entry.js} +1 -1
  458. package/{dist/web-components-library/p-596da333.entry.js → www/build/p-9b70eba4.entry.js} +1 -1
  459. package/www/build/p-9bbb27f7.entry.js +1 -0
  460. package/www/build/{p-c284139b.entry.js → p-9c83bf57.entry.js} +1 -1
  461. package/www/build/{p-7b054eb2.entry.js → p-a30bbd0a.entry.js} +1 -1
  462. package/www/build/{p-ab5f212d.entry.js → p-a3eeed2e.entry.js} +1 -1
  463. package/www/build/{p-ae784c71.entry.js → p-a88046a0.entry.js} +1 -1
  464. package/www/build/{p-71e8c2af.entry.js → p-a9d0b418.entry.js} +1 -1
  465. package/www/build/{p-cf35d3cd.entry.js → p-aaa0752b.entry.js} +1 -1
  466. package/www/build/{p-c9348925.entry.js → p-ad17a4a0.entry.js} +1 -1
  467. package/www/build/{p-ae79ab08.entry.js → p-aee1f514.entry.js} +1 -1
  468. package/www/build/{p-578a5ad1.entry.js → p-b02aa57c.entry.js} +1 -1
  469. package/www/build/p-b54faa73.entry.js +1 -0
  470. package/www/build/{p-51130281.entry.js → p-b622a7fd.entry.js} +1 -1
  471. package/www/build/{p-1c413074.entry.js → p-b9bf1a8d.entry.js} +1 -1
  472. package/www/build/{p-8468d87e.entry.js → p-baa877db.entry.js} +1 -1
  473. package/www/build/{p-e6ddee24.entry.js → p-beec82d9.entry.js} +1 -1
  474. package/www/build/{p-a5232d04.entry.js → p-bf7adc29.entry.js} +1 -1
  475. package/{dist/web-components-library/p-b5916b42.entry.js → www/build/p-c1da93ee.entry.js} +1 -1
  476. package/www/build/{p-92cc171f.entry.js → p-c2a3f15d.entry.js} +1 -1
  477. package/www/build/{p-105b82a6.entry.js → p-c4417a91.entry.js} +1 -1
  478. package/{dist/web-components-library/p-bbeb6b3c.entry.js → www/build/p-c4f778d7.entry.js} +1 -1
  479. package/www/build/{p-1ff7bde5.entry.js → p-c633d2bb.entry.js} +1 -1
  480. package/www/build/{p-9fb79d74.entry.js → p-c6b5ee23.entry.js} +1 -1
  481. package/www/build/{p-6bb8de3e.entry.js → p-c89cbfcc.entry.js} +1 -1
  482. package/{dist/web-components-library/p-cf73af9a.entry.js → www/build/p-caa2c86c.entry.js} +1 -1
  483. package/www/build/{p-bd886dd5.entry.js → p-cea7a294.entry.js} +1 -1
  484. package/www/build/p-d17ebc2f.js +2 -0
  485. package/www/build/{p-29e8a12c.entry.js → p-d1f8d75e.entry.js} +1 -1
  486. package/www/build/{p-bfa3593e.js → p-d4681325.js} +1 -1
  487. package/www/build/{p-9352da73.entry.js → p-d665ca6b.entry.js} +1 -1
  488. package/{dist/web-components-library/p-c066ddf1.entry.js → www/build/p-d8aac365.entry.js} +1 -1
  489. package/www/build/{p-e17ca1a1.entry.js → p-e177dbef.entry.js} +1 -1
  490. package/www/build/{p-7ebb03d8.entry.js → p-e527ef6d.entry.js} +1 -1
  491. package/www/build/{p-9260abad.entry.js → p-e88ad497.entry.js} +1 -1
  492. package/www/build/{p-4aaf3433.entry.js → p-eaa4eba8.entry.js} +1 -1
  493. package/www/build/{p-7f2fa336.entry.js → p-eb2634d3.entry.js} +1 -1
  494. package/www/build/p-eba1cdd9.entry.js +1 -0
  495. package/www/build/{p-c6124ee4.entry.js → p-ed9dc5b7.entry.js} +1 -1
  496. package/{dist/web-components-library/p-e293f91e.entry.js → www/build/p-f0e73ccb.entry.js} +1 -1
  497. package/www/build/{p-223566d6.entry.js → p-f4b9f544.entry.js} +1 -1
  498. package/www/build/{p-710cec6d.entry.js → p-f5c3d332.entry.js} +1 -1
  499. package/www/build/{p-33f74396.entry.js → p-f724f7a1.entry.js} +1 -1
  500. package/www/build/{p-cc6a5872.entry.js → p-f77d7a3f.entry.js} +1 -1
  501. package/{dist/web-components-library/p-e6ac4dc4.entry.js → www/build/p-fd13128d.entry.js} +1 -1
  502. package/www/build/{p-a9eea65b.entry.js → p-fdb6e67b.entry.js} +1 -1
  503. package/www/build/web-components-library.esm.js +1 -1
  504. package/www/index.html +1 -1
  505. package/CHANGELOG.md +0 -1911
  506. package/dist/web-components-library/p-8cf3798f.entry.js +0 -1
  507. package/dist/web-components-library/p-98268a57.js +0 -1
  508. package/dist/web-components-library/p-a54ef821.entry.js +0 -1
  509. package/dist/web-components-library/p-bb20020b.entry.js +0 -1
  510. package/dist/web-components-library/p-d0fea19f.entry.js +0 -1
  511. package/dist/web-components-library/p-d79f69f2.js +0 -1
  512. package/dist/web-components-library/p-f6a11970.entry.js +0 -1
  513. package/src-react/index.ts +0 -1
  514. package/www/build/p-8cf3798f.entry.js +0 -1
  515. package/www/build/p-98268a57.js +0 -1
  516. package/www/build/p-9ec1421c.css +0 -816
  517. package/www/build/p-a54ef821.entry.js +0 -1
  518. package/www/build/p-bb20020b.entry.js +0 -1
  519. package/www/build/p-d0fea19f.entry.js +0 -1
  520. package/www/build/p-d1358393.js +0 -129
  521. package/www/build/p-d79f69f2.js +0 -1
  522. package/www/build/p-f6a11970.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Component, Prop, h, Element, Event, Watch, State, Listen, } from "@stencil/core";
1
+ import { h, } from "@stencil/core";
2
2
  /**
3
3
  * Pagination bar component.
4
4
  */
@@ -174,30 +174,22 @@ export class ZPagination {
174
174
  ];
175
175
  }
176
176
  renderBackButton() {
177
- return (h("button", { class: "navigation-button", type: "button", title: "Vai alla pagina precedente", disabled: this.currentPage === 1, onClick: () => this.selectPage(this.currentPage - 1) },
178
- h("z-icon", { name: "chevron-left" })));
177
+ return (h("button", { class: "navigation-button", type: "button", title: "Vai alla pagina precedente", disabled: this.currentPage === 1, onClick: () => this.selectPage(this.currentPage - 1) }, h("z-icon", { name: "chevron-left" })));
179
178
  }
180
179
  renderForwardButton() {
181
- return (h("button", { class: "navigation-button", type: "button", title: "Vai alla prossima pagina", disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.currentPage + 1) },
182
- h("z-icon", { name: "chevron-right" })));
180
+ return (h("button", { class: "navigation-button", type: "button", title: "Vai alla prossima pagina", disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.currentPage + 1) }, h("z-icon", { name: "chevron-right" })));
183
181
  }
184
182
  renderMobile() {
185
183
  const pagesChunks = this.getPagesChunks();
186
184
  return [
187
185
  this.label && h("span", { class: "page-label body-1-sb" }, this.label),
188
- h("div", { class: "pagination-bar" },
189
- this.renderBackButton(),
190
- !this.goToPage && (h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, pagesChunks.length > 0 &&
191
- pagesChunks.map((chunk) => (h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page))))))),
192
- this.goToPage && (h("form", { class: "mobile-go-to-page", onSubmit: (ev) => {
193
- ev.preventDefault();
194
- this.selectPage(this.goToPageValue);
195
- } },
196
- h("z-input", { class: "go-to-page-input", type: "number", min: 1, max: this.totalPages, message: false, onInput: (ev) => {
197
- this.goToPageValue = ev.target.value;
198
- }, placeholder: this.currentPage.toString(), hasclearicon: false }),
199
- h("span", null, `/${this.totalPages}`))),
200
- this.renderForwardButton()),
186
+ h("div", { class: "pagination-bar" }, this.renderBackButton(), !this.goToPage && (h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, pagesChunks.length > 0 &&
187
+ pagesChunks.map((chunk) => (h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page))))))), this.goToPage && (h("form", { class: "mobile-go-to-page", onSubmit: (ev) => {
188
+ ev.preventDefault();
189
+ this.selectPage(this.goToPageValue);
190
+ } }, h("z-input", { class: "go-to-page-input", type: "number", min: 1, max: this.totalPages, message: false, onInput: (ev) => {
191
+ this.goToPageValue = ev.target.value;
192
+ }, placeholder: this.currentPage.toString(), hasclearicon: false }), h("span", null, `/${this.totalPages}`))), this.renderForwardButton()),
201
193
  ];
202
194
  }
203
195
  componentDidLoad() {
@@ -215,236 +207,232 @@ export class ZPagination {
215
207
  return this.renderMobile();
216
208
  }
217
209
  return [
218
- h("div", { class: "pagination-bar" },
219
- this.label && h("span", { class: "page-label body-1-sb" }, this.label),
220
- this.edges && (h("button", { class: "pagination-button", type: "button", title: "Vai alla pagina 1", disabled: this.currentPage === 1, onClick: () => this.selectPage(1) }, "Pagina 1")),
221
- this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage - this.skip}`, disabled: this.currentPage <= this.skip, onClick: () => this.selectPage(this.currentPage - this.skip) },
222
- "-",
223
- this.skip)),
224
- this.navArrows && this.renderBackButton(),
225
- h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, this.split ? this.renderSplitPages() : this.renderPages()),
226
- this.navArrows && this.renderForwardButton(),
227
- this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage + this.skip}`, disabled: this.currentPage > this.totalPages - this.skip, onClick: () => this.selectPage(this.currentPage + this.skip) },
228
- "+",
229
- this.skip)),
230
- this.edges && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.totalPages}`, disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.totalPages) },
231
- "Pagina ",
232
- this.totalPages))),
233
- this.goToPage && (h("div", { class: "go-to-page" },
234
- h("span", { class: "label body-5-sb" }, "Vai a pagina:"),
235
- h("div", { class: "inputs" },
236
- h("z-input", { class: "go-to-page-input", type: "number", min: 1, max: this.totalPages, message: false, placeholder: "2", hasclearicon: false, onInput: (ev) => {
237
- this.goToPageValue = ev.target.value;
238
- }, onKeyDown: (ev) => ev.key === "Enter" && this.selectPage(this.goToPageValue) }),
239
- h("z-button", { disabled: !this.goToPageValue, title: "Vai alla pagina inserita", onClick: () => this.selectPage(this.goToPageValue) }, "vai")))),
210
+ h("div", { class: "pagination-bar" }, this.label && h("span", { class: "page-label body-1-sb" }, this.label), this.edges && (h("button", { class: "pagination-button", type: "button", title: "Vai alla pagina 1", disabled: this.currentPage === 1, onClick: () => this.selectPage(1) }, "Pagina 1")), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage - this.skip}`, disabled: this.currentPage <= this.skip, onClick: () => this.selectPage(this.currentPage - this.skip) }, "-", this.skip)), this.navArrows && this.renderBackButton(), h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, this.split ? this.renderSplitPages() : this.renderPages()), this.navArrows && this.renderForwardButton(), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage + this.skip}`, disabled: this.currentPage > this.totalPages - this.skip, onClick: () => this.selectPage(this.currentPage + this.skip) }, "+", this.skip)), this.edges && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.totalPages}`, disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.totalPages) }, "Pagina ", this.totalPages))),
211
+ this.goToPage && (h("div", { class: "go-to-page" }, h("span", { class: "label body-5-sb" }, "Vai a pagina:"), h("div", { class: "inputs" }, h("z-input", { class: "go-to-page-input", type: "number", min: 1, max: this.totalPages, message: false, placeholder: "2", hasclearicon: false, onInput: (ev) => {
212
+ this.goToPageValue = ev.target.value;
213
+ }, onKeyDown: (ev) => ev.key === "Enter" && this.selectPage(this.goToPageValue) }), h("z-button", { disabled: !this.goToPageValue, title: "Vai alla pagina inserita", onClick: () => this.selectPage(this.goToPageValue) }, "vai")))),
240
214
  ];
241
215
  }
242
216
  static get is() { return "z-pagination"; }
243
- static get originalStyleUrls() { return {
244
- "$": ["styles.css"]
245
- }; }
246
- static get styleUrls() { return {
247
- "$": ["styles.css"]
248
- }; }
249
- static get properties() { return {
250
- "label": {
251
- "type": "string",
252
- "mutable": false,
253
- "complexType": {
254
- "original": "string",
255
- "resolved": "string",
256
- "references": {}
257
- },
258
- "required": false,
259
- "optional": true,
260
- "docs": {
261
- "tags": [],
262
- "text": "Pagination label placed before the bar."
263
- },
264
- "attribute": "label",
265
- "reflect": false
266
- },
267
- "navArrows": {
268
- "type": "boolean",
269
- "mutable": false,
270
- "complexType": {
271
- "original": "boolean",
272
- "resolved": "boolean",
273
- "references": {}
274
- },
275
- "required": false,
276
- "optional": false,
277
- "docs": {
278
- "tags": [],
279
- "text": "Enable navigation arrows."
280
- },
281
- "attribute": "nav-arrows",
282
- "reflect": false,
283
- "defaultValue": "true"
284
- },
285
- "totalPages": {
286
- "type": "number",
287
- "mutable": false,
288
- "complexType": {
289
- "original": "number",
290
- "resolved": "number",
291
- "references": {}
292
- },
293
- "required": true,
294
- "optional": false,
295
- "docs": {
296
- "tags": [],
297
- "text": "Total number of pages. Required."
298
- },
299
- "attribute": "total-pages",
300
- "reflect": false
301
- },
302
- "skip": {
303
- "type": "number",
304
- "mutable": false,
305
- "complexType": {
306
- "original": "number",
307
- "resolved": "number",
308
- "references": {}
309
- },
310
- "required": false,
311
- "optional": false,
312
- "docs": {
313
- "tags": [],
314
- "text": "Number of pages to skip."
315
- },
316
- "attribute": "skip",
317
- "reflect": false,
318
- "defaultValue": "0"
319
- },
320
- "edges": {
321
- "type": "boolean",
322
- "mutable": false,
323
- "complexType": {
324
- "original": "boolean",
325
- "resolved": "boolean",
326
- "references": {}
327
- },
328
- "required": false,
329
- "optional": false,
330
- "docs": {
331
- "tags": [],
332
- "text": "Enable buttons to go to the first and last pages."
333
- },
334
- "attribute": "edges",
335
- "reflect": false,
336
- "defaultValue": "false"
337
- },
338
- "split": {
339
- "type": "number",
340
- "mutable": false,
341
- "complexType": {
342
- "original": "number",
343
- "resolved": "number",
344
- "references": {}
217
+ static get originalStyleUrls() {
218
+ return {
219
+ "$": ["styles.css"]
220
+ };
221
+ }
222
+ static get styleUrls() {
223
+ return {
224
+ "$": ["styles.css"]
225
+ };
226
+ }
227
+ static get properties() {
228
+ return {
229
+ "label": {
230
+ "type": "string",
231
+ "mutable": false,
232
+ "complexType": {
233
+ "original": "string",
234
+ "resolved": "string",
235
+ "references": {}
236
+ },
237
+ "required": false,
238
+ "optional": true,
239
+ "docs": {
240
+ "tags": [],
241
+ "text": "Pagination label placed before the bar."
242
+ },
243
+ "attribute": "label",
244
+ "reflect": false
345
245
  },
346
- "required": false,
347
- "optional": true,
348
- "docs": {
349
- "tags": [],
350
- "text": "Number of pages to show left/right of the current, before showing \"load more\" symbol (\u2026)."
246
+ "navArrows": {
247
+ "type": "boolean",
248
+ "mutable": false,
249
+ "complexType": {
250
+ "original": "boolean",
251
+ "resolved": "boolean",
252
+ "references": {}
253
+ },
254
+ "required": false,
255
+ "optional": false,
256
+ "docs": {
257
+ "tags": [],
258
+ "text": "Enable navigation arrows."
259
+ },
260
+ "attribute": "nav-arrows",
261
+ "reflect": false,
262
+ "defaultValue": "true"
351
263
  },
352
- "attribute": "split",
353
- "reflect": false
354
- },
355
- "visiblePages": {
356
- "type": "number",
357
- "mutable": false,
358
- "complexType": {
359
- "original": "number",
360
- "resolved": "number",
361
- "references": {}
264
+ "totalPages": {
265
+ "type": "number",
266
+ "mutable": false,
267
+ "complexType": {
268
+ "original": "number",
269
+ "resolved": "number",
270
+ "references": {}
271
+ },
272
+ "required": true,
273
+ "optional": false,
274
+ "docs": {
275
+ "tags": [],
276
+ "text": "Total number of pages. Required."
277
+ },
278
+ "attribute": "total-pages",
279
+ "reflect": false
362
280
  },
363
- "required": false,
364
- "optional": true,
365
- "docs": {
366
- "tags": [],
367
- "text": "Number of pages to show at a time. If not set, all pages will be shown."
281
+ "skip": {
282
+ "type": "number",
283
+ "mutable": false,
284
+ "complexType": {
285
+ "original": "number",
286
+ "resolved": "number",
287
+ "references": {}
288
+ },
289
+ "required": false,
290
+ "optional": false,
291
+ "docs": {
292
+ "tags": [],
293
+ "text": "Number of pages to skip."
294
+ },
295
+ "attribute": "skip",
296
+ "reflect": false,
297
+ "defaultValue": "0"
368
298
  },
369
- "attribute": "visible-pages",
370
- "reflect": false
371
- },
372
- "currentPage": {
373
- "type": "number",
374
- "mutable": true,
375
- "complexType": {
376
- "original": "number",
377
- "resolved": "number",
378
- "references": {}
299
+ "edges": {
300
+ "type": "boolean",
301
+ "mutable": false,
302
+ "complexType": {
303
+ "original": "boolean",
304
+ "resolved": "boolean",
305
+ "references": {}
306
+ },
307
+ "required": false,
308
+ "optional": false,
309
+ "docs": {
310
+ "tags": [],
311
+ "text": "Enable buttons to go to the first and last pages."
312
+ },
313
+ "attribute": "edges",
314
+ "reflect": false,
315
+ "defaultValue": "false"
379
316
  },
380
- "required": false,
381
- "optional": false,
382
- "docs": {
383
- "tags": [],
384
- "text": "Current page."
317
+ "split": {
318
+ "type": "number",
319
+ "mutable": false,
320
+ "complexType": {
321
+ "original": "number",
322
+ "resolved": "number",
323
+ "references": {}
324
+ },
325
+ "required": false,
326
+ "optional": true,
327
+ "docs": {
328
+ "tags": [],
329
+ "text": "Number of pages to show left/right of the current, before showing \"load more\" symbol (\u2026)."
330
+ },
331
+ "attribute": "split",
332
+ "reflect": false
385
333
  },
386
- "attribute": "current-page",
387
- "reflect": false,
388
- "defaultValue": "1"
389
- },
390
- "goToPage": {
391
- "type": "boolean",
392
- "mutable": false,
393
- "complexType": {
394
- "original": "boolean",
395
- "resolved": "boolean",
396
- "references": {}
334
+ "visiblePages": {
335
+ "type": "number",
336
+ "mutable": false,
337
+ "complexType": {
338
+ "original": "number",
339
+ "resolved": "number",
340
+ "references": {}
341
+ },
342
+ "required": false,
343
+ "optional": true,
344
+ "docs": {
345
+ "tags": [],
346
+ "text": "Number of pages to show at a time. If not set, all pages will be shown."
347
+ },
348
+ "attribute": "visible-pages",
349
+ "reflect": false
397
350
  },
398
- "required": false,
399
- "optional": false,
400
- "docs": {
401
- "tags": [],
402
- "text": "Whether to show \"go to page\" feature."
351
+ "currentPage": {
352
+ "type": "number",
353
+ "mutable": true,
354
+ "complexType": {
355
+ "original": "number",
356
+ "resolved": "number",
357
+ "references": {}
358
+ },
359
+ "required": false,
360
+ "optional": false,
361
+ "docs": {
362
+ "tags": [],
363
+ "text": "Current page."
364
+ },
365
+ "attribute": "current-page",
366
+ "reflect": false,
367
+ "defaultValue": "1"
403
368
  },
404
- "attribute": "go-to-page",
405
- "reflect": false
406
- }
407
- }; }
408
- static get states() { return {
409
- "_visiblePages": {},
410
- "isMobile": {},
411
- "goToPageValue": {}
412
- }; }
413
- static get events() { return [{
414
- "method": "pageChanged",
415
- "name": "pageChanged",
416
- "bubbles": true,
417
- "cancelable": true,
418
- "composed": true,
419
- "docs": {
420
- "tags": [],
421
- "text": "Event emitted when the current page has changed."
422
- },
423
- "complexType": {
424
- "original": "any",
425
- "resolved": "any",
426
- "references": {}
369
+ "goToPage": {
370
+ "type": "boolean",
371
+ "mutable": false,
372
+ "complexType": {
373
+ "original": "boolean",
374
+ "resolved": "boolean",
375
+ "references": {}
376
+ },
377
+ "required": false,
378
+ "optional": false,
379
+ "docs": {
380
+ "tags": [],
381
+ "text": "Whether to show \"go to page\" feature."
382
+ },
383
+ "attribute": "go-to-page",
384
+ "reflect": false
427
385
  }
428
- }]; }
386
+ };
387
+ }
388
+ static get states() {
389
+ return {
390
+ "_visiblePages": {},
391
+ "isMobile": {},
392
+ "goToPageValue": {}
393
+ };
394
+ }
395
+ static get events() {
396
+ return [{
397
+ "method": "pageChanged",
398
+ "name": "pageChanged",
399
+ "bubbles": true,
400
+ "cancelable": true,
401
+ "composed": true,
402
+ "docs": {
403
+ "tags": [],
404
+ "text": "Event emitted when the current page has changed."
405
+ },
406
+ "complexType": {
407
+ "original": "any",
408
+ "resolved": "any",
409
+ "references": {}
410
+ }
411
+ }];
412
+ }
429
413
  static get elementRef() { return "host"; }
430
- static get watchers() { return [{
431
- "propName": "_visiblePages",
432
- "methodName": "setPagesContainerWidth"
433
- }, {
434
- "propName": "visiblePages",
435
- "methodName": "setVisiblePages"
436
- }, {
437
- "propName": "currentPage",
438
- "methodName": "onPageChanged"
439
- }, {
440
- "propName": "split",
441
- "methodName": "onSplitChanged"
442
- }]; }
443
- static get listeners() { return [{
444
- "name": "resize",
445
- "method": "onResize",
446
- "target": "window",
447
- "capture": false,
448
- "passive": true
449
- }]; }
414
+ static get watchers() {
415
+ return [{
416
+ "propName": "_visiblePages",
417
+ "methodName": "setPagesContainerWidth"
418
+ }, {
419
+ "propName": "visiblePages",
420
+ "methodName": "setVisiblePages"
421
+ }, {
422
+ "propName": "currentPage",
423
+ "methodName": "onPageChanged"
424
+ }, {
425
+ "propName": "split",
426
+ "methodName": "onSplitChanged"
427
+ }];
428
+ }
429
+ static get listeners() {
430
+ return [{
431
+ "name": "resize",
432
+ "method": "onResize",
433
+ "target": "window",
434
+ "capture": false,
435
+ "passive": true
436
+ }];
437
+ }
450
438
  }