@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.
- package/dist/cjs/{index-3dd0f9bd.js → index-745c0423.js} +10 -0
- package/dist/cjs/{index-84b7063a.js → index-e3299e0a.js} +848 -278
- package/dist/cjs/index.cjs.js +14 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-29f9ccf5.js → utils-4647eb06.js} +1 -1
- package/dist/cjs/{utils-4a419726.js → utils-dfe717c7.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +3 -3
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header.cjs.entry.js +1 -1
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +4 -4
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-avatar.cjs.entry.js +2 -2
- package/dist/cjs/z-body_2.cjs.entry.js +1 -1
- package/dist/cjs/z-button-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-button-filter.cjs.entry.js +1 -1
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-button.cjs.entry.js +2 -2
- package/dist/cjs/z-candybar.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js +2 -2
- package/dist/cjs/z-carousel.cjs.entry.js +117 -5
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +3 -3
- package/dist/cjs/z-combobox.cjs.entry.js +3 -3
- package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -2
- package/dist/cjs/z-cookiebar.cjs.entry.js +2 -2
- package/dist/cjs/z-cover-hero.cjs.entry.js +2 -2
- package/dist/cjs/z-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +3 -3
- package/dist/cjs/z-file.cjs.entry.js +2 -2
- package/dist/cjs/z-footer-link_3.cjs.entry.js +1 -1
- package/dist/cjs/z-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
- package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
- package/dist/cjs/z-input-deprecated.cjs.entry.js +3 -3
- package/dist/cjs/z-input-label_2.cjs.entry.js +3 -3
- package/dist/cjs/z-list-group.cjs.entry.js +2 -2
- package/dist/cjs/z-list_2.cjs.entry.js +2 -2
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +3 -3
- package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/cjs/z-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
- package/dist/cjs/z-modal-login.cjs.entry.js +2 -2
- package/dist/cjs/z-modal.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-topbar.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-offcanvas.cjs.entry.js +2 -2
- package/dist/cjs/z-otp.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination-bar.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination-page.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket_3.cjs.entry.js +3 -3
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +3 -3
- package/dist/cjs/z-popover.cjs.entry.js +2 -2
- package/dist/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
- package/dist/cjs/z-status-tag.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/cjs/z-table-body.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table-head.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header.cjs.entry.js +3 -3
- package/dist/cjs/z-table-row.cjs.entry.js +2 -2
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +2 -2
- package/dist/cjs/z-tag.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +10 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/buttons/z-button/index.js +202 -200
- package/dist/collection/components/buttons/z-button-sort/index.js +178 -173
- package/dist/collection/components/buttons/z-chip/index.js +105 -102
- package/dist/collection/components/buttons/z-toggle-button/index.js +100 -94
- package/dist/collection/components/buttons/z-toggle-switch/index.js +110 -106
- package/dist/collection/components/date-picker/z-date-picker/index.js +129 -118
- package/dist/collection/components/date-picker/z-range-picker/index.js +168 -160
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +31 -29
- package/dist/collection/components/file-upload/z-file/index.js +93 -85
- package/dist/collection/components/file-upload/z-file-upload/index.js +193 -196
- package/dist/collection/components/footer/z-footer/index.js +165 -197
- package/dist/collection/components/footer/z-footer-link/index.js +33 -28
- package/dist/collection/components/footer/z-footer-section/index.js +39 -37
- package/dist/collection/components/footer/z-footer-social/index.js +65 -60
- package/dist/collection/components/icons/z-icon/index.js +96 -90
- package/dist/collection/components/icons/z-icon-package/index.js +12 -10
- package/dist/collection/components/indicators/z-stepper/index.js +11 -7
- package/dist/collection/components/indicators/z-stepper-item/index.js +82 -82
- package/dist/collection/components/inputs/z-combobox/index.js +319 -320
- package/dist/collection/components/inputs/z-input/index.js +522 -530
- package/dist/collection/components/inputs/z-input-message/index.js +53 -49
- package/dist/collection/components/inputs/z-select/index.js +333 -327
- package/dist/collection/components/list/z-list/index.js +38 -33
- package/dist/collection/components/list/z-list-element/index.js +287 -282
- package/dist/collection/components/list/z-list-group/index.js +100 -98
- package/dist/collection/components/list/z-toast-notification-list/index.js +60 -53
- package/dist/collection/components/logo/z-logo/index.js +113 -108
- package/dist/collection/components/modal/z-modal/index.js +129 -130
- package/dist/collection/components/modal/z-modal-login/index.js +170 -194
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +173 -163
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +205 -195
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +93 -87
- package/dist/collection/components/navigation/z-app-header/index.js +136 -146
- package/dist/collection/components/navigation/z-app-switcher/index.js +60 -51
- package/dist/collection/components/navigation/z-app-topbar/index.js +120 -120
- package/dist/collection/components/navigation/z-link/index.js +243 -237
- package/dist/collection/components/navigation/z-menu/index.js +128 -123
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +76 -76
- package/dist/collection/components/navigation/z-menu-section/index.js +80 -73
- package/dist/collection/components/navigation/z-user-dropdown/index.js +164 -167
- package/dist/collection/components/notification/z-candybar/index.js +12 -9
- package/dist/collection/components/notification/z-cookiebar/index.js +80 -80
- package/dist/collection/components/notification/z-info-box/index.js +67 -61
- package/dist/collection/components/notification/z-notification/index.js +157 -153
- package/dist/collection/components/notification/z-toast-notification/index.js +216 -215
- package/dist/collection/components/notification/z-tooltip/index.js +100 -93
- package/dist/collection/components/panel/z-panel-elem/index.js +172 -172
- package/dist/collection/components/typography/z-body/index.js +56 -55
- package/dist/collection/components/typography/z-heading/index.js +56 -55
- package/dist/collection/components/typography/z-typography/index.js +68 -62
- package/dist/collection/components/z-aria-alert/index.js +24 -23
- package/dist/collection/components/z-avatar/index.js +104 -100
- package/dist/collection/components/z-card/index.js +124 -126
- package/dist/collection/components/z-carousel/index.js +268 -47
- package/dist/collection/components/z-carousel/styles.css +107 -2
- package/dist/collection/components/z-contextual-menu/index.js +91 -92
- package/dist/collection/components/z-cover-hero/index.js +63 -65
- package/dist/collection/components/z-divider/index.js +75 -69
- package/dist/collection/components/z-ghost-loading/index.js +11 -7
- package/dist/collection/components/z-info-reveal/index.js +83 -80
- package/dist/collection/components/z-offcanvas/index.js +99 -91
- package/dist/collection/components/z-pagination/index.js +225 -237
- package/dist/collection/components/z-popover/index.js +185 -171
- package/dist/collection/components/z-section-title/index.js +54 -48
- package/dist/collection/components/z-skip-to-content/index.js +78 -68
- package/dist/collection/components/z-table/z-table/index.js +273 -284
- package/dist/collection/components/z-table/z-table-body/index.js +11 -7
- package/dist/collection/components/z-table/z-table-cell/index.js +63 -61
- package/dist/collection/components/z-table/z-table-empty-box/index.js +53 -53
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +33 -29
- package/dist/collection/components/z-table/z-table-footer/index.js +11 -7
- package/dist/collection/components/z-table/z-table-head/index.js +11 -7
- package/dist/collection/components/z-table/z-table-header/index.js +162 -160
- package/dist/collection/components/z-table/z-table-header-row/index.js +33 -29
- package/dist/collection/components/z-table/z-table-row/index.js +63 -57
- package/dist/collection/components/z-table/z-table-sticky-footer/index.js +11 -7
- package/dist/collection/components/z-tag/index.js +49 -46
- package/dist/collection/components/z-visually-hidden/index.js +11 -7
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +166 -159
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +115 -109
- package/dist/collection/deprecated/z-button-deprecated/index.js +189 -186
- package/dist/collection/deprecated/z-button-filter/index.js +118 -114
- package/dist/collection/deprecated/z-chip-deprecated/index.js +50 -48
- package/dist/collection/deprecated/z-input-deprecated/index.js +579 -584
- package/dist/collection/deprecated/z-input-label/index.js +65 -59
- package/dist/collection/deprecated/z-popover-deprecated/index.js +182 -174
- package/dist/collection/deprecated/z-status-tag/index.js +106 -102
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +127 -116
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +87 -82
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +102 -99
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +12 -10
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +80 -74
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +143 -143
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +150 -157
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +12 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +74 -68
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +66 -62
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +82 -106
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +32 -26
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +54 -46
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +169 -165
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +82 -83
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +124 -114
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +63 -56
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +65 -58
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +12 -13
- package/dist/collection/snowflakes/myz/topbar/index.js +230 -256
- package/dist/collection/snowflakes/myz/z-alert/index.js +37 -32
- package/dist/collection/snowflakes/myz/z-otp/index.js +99 -93
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +64 -66
- package/dist/esm/{index-3c2d757b.js → index-8390ddaf.js} +11 -1
- package/dist/esm/{index-90e18641.js → index-a2ca4b97.js} +848 -278
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{utils-57be09c8.js → utils-2c5dfb88.js} +1 -1
- package/dist/esm/{utils-729724da.js → utils-3ba1cfd4.js} +1 -1
- package/dist/esm/web-components-library.js +3 -3
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-app-header.entry.js +1 -1
- package/dist/esm/z-app-switcher_9.entry.js +4 -4
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-body_2.entry.js +1 -1
- package/dist/esm/z-button-deprecated.entry.js +2 -2
- package/dist/esm/z-button-filter.entry.js +1 -1
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-button.entry.js +2 -2
- package/dist/esm/z-candybar.entry.js +1 -1
- package/dist/esm/z-card.entry.js +2 -2
- package/dist/esm/z-carousel.entry.js +117 -5
- package/dist/esm/z-chip-deprecated.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +3 -3
- package/dist/esm/z-combobox.entry.js +3 -3
- package/dist/esm/z-contextual-menu.entry.js +2 -2
- package/dist/esm/z-cookiebar.entry.js +2 -2
- package/dist/esm/z-cover-hero.entry.js +2 -2
- package/dist/esm/z-date-picker.entry.js +3 -3
- package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
- package/dist/esm/z-file-upload.entry.js +3 -3
- package/dist/esm/z-file.entry.js +2 -2
- package/dist/esm/z-footer-link_3.entry.js +1 -1
- package/dist/esm/z-footer.entry.js +2 -2
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-icon-package.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -2
- package/dist/esm/z-input-deprecated.entry.js +3 -3
- package/dist/esm/z-input-label_2.entry.js +3 -3
- package/dist/esm/z-list-group.entry.js +2 -2
- package/dist/esm/z-list_2.entry.js +2 -2
- package/dist/esm/z-menu-dropdown_2.entry.js +3 -3
- package/dist/esm/z-menu-section.entry.js +1 -1
- package/dist/esm/z-menu.entry.js +1 -1
- package/dist/esm/z-messages-pocket.entry.js +2 -2
- package/dist/esm/z-modal-login.entry.js +2 -2
- package/dist/esm/z-modal.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +2 -2
- package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +2 -2
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +2 -2
- package/dist/esm/z-myz-list-item.entry.js +3 -3
- package/dist/esm/z-myz-topbar.entry.js +2 -2
- package/dist/esm/z-navigation-tab-link.entry.js +2 -2
- package/dist/esm/z-navigation-tab.entry.js +2 -2
- package/dist/esm/z-navigation-tabs.entry.js +2 -2
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-offcanvas.entry.js +2 -2
- package/dist/esm/z-otp.entry.js +2 -2
- package/dist/esm/z-pagination-bar.entry.js +3 -3
- package/dist/esm/z-pagination-page.entry.js +1 -1
- package/dist/esm/z-pagination.entry.js +1 -1
- package/dist/esm/z-panel-elem.entry.js +1 -1
- package/dist/esm/z-pocket-message.entry.js +1 -1
- package/dist/esm/z-pocket_3.entry.js +3 -3
- package/dist/esm/z-popover-deprecated.entry.js +3 -3
- package/dist/esm/z-popover.entry.js +2 -2
- package/dist/esm/z-section-title.entry.js +2 -2
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +3 -3
- package/dist/esm/z-status-tag.entry.js +2 -2
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table-body.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +2 -2
- package/dist/esm/z-table-empty-box.entry.js +1 -1
- package/dist/esm/z-table-expanded-row.entry.js +1 -1
- package/dist/esm/z-table-footer.entry.js +1 -1
- package/dist/esm/z-table-head.entry.js +1 -1
- package/dist/esm/z-table-header-row.entry.js +1 -1
- package/dist/esm/z-table-header.entry.js +3 -3
- package/dist/esm/z-table-row.entry.js +2 -2
- package/dist/esm/z-table-sticky-footer.entry.js +1 -1
- package/dist/esm/z-table.entry.js +2 -2
- package/dist/esm/z-tag.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js +2 -2
- package/dist/esm/z-toggle-button.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +3 -3
- package/dist/esm/z-tooltip-deprecated.entry.js +2 -2
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/esm/z-user-dropdown.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/beans/index.d.ts +8 -0
- package/dist/types/components/z-carousel/index.d.ts +47 -3
- package/dist/types/components.d.ts +309 -77
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-79408b00.entry.js → p-01a95ddd.entry.js} +1 -1
- package/dist/web-components-library/{p-f0d90cc2.entry.js → p-023e657c.entry.js} +1 -1
- package/dist/web-components-library/{p-5ae44c56.entry.js → p-03aa4a29.entry.js} +1 -1
- package/dist/web-components-library/{p-02681c05.entry.js → p-07af77be.entry.js} +1 -1
- package/dist/web-components-library/{p-9c7cf598.entry.js → p-0f0d8a17.entry.js} +1 -1
- package/dist/web-components-library/{p-104b70e5.entry.js → p-137c1289.entry.js} +1 -1
- package/dist/web-components-library/{p-1906915c.entry.js → p-145ef56b.entry.js} +1 -1
- package/{www/build/p-f31b8e83.js → dist/web-components-library/p-16c0ffce.js} +1 -1
- package/dist/web-components-library/{p-0aa9746a.entry.js → p-1c5cb6b6.entry.js} +1 -1
- package/dist/web-components-library/{p-d0d75b41.entry.js → p-1cb8f39f.entry.js} +1 -1
- package/{www/build/p-c730a93d.entry.js → dist/web-components-library/p-1efa8cfe.entry.js} +1 -1
- package/dist/web-components-library/{p-46a6341a.entry.js → p-204c6ec6.entry.js} +1 -1
- package/{www/build/p-aed2a8cf.entry.js → dist/web-components-library/p-213d7163.entry.js} +1 -1
- package/dist/web-components-library/{p-8e4d7f5d.entry.js → p-21a1b6a9.entry.js} +1 -1
- package/dist/web-components-library/{p-d34eccf8.entry.js → p-242e410f.entry.js} +1 -1
- package/dist/web-components-library/{p-2c836d42.entry.js → p-2b374cb0.entry.js} +1 -1
- package/dist/web-components-library/{p-2de00f19.entry.js → p-2ec1cc4b.entry.js} +1 -1
- package/dist/web-components-library/{p-6375f662.entry.js → p-33438244.entry.js} +1 -1
- package/dist/web-components-library/{p-6baa8e33.entry.js → p-37e050bd.entry.js} +1 -1
- package/dist/web-components-library/{p-a94f78b4.entry.js → p-3bdf4f63.entry.js} +1 -1
- package/dist/web-components-library/{p-0ab1b40f.entry.js → p-3c63af71.entry.js} +1 -1
- package/dist/web-components-library/{p-b574d5f6.entry.js → p-3c715e7d.entry.js} +1 -1
- package/dist/web-components-library/{p-bd772b8a.entry.js → p-3e60fa3d.entry.js} +1 -1
- package/dist/web-components-library/{p-953a07d5.entry.js → p-426c55e1.entry.js} +1 -1
- package/dist/web-components-library/{p-5789bbe7.entry.js → p-42d1707b.entry.js} +1 -1
- package/dist/web-components-library/p-46f66301.entry.js +1 -0
- package/dist/web-components-library/{p-fea2c39a.entry.js → p-470e984a.entry.js} +1 -1
- package/dist/web-components-library/{p-f6da32c4.entry.js → p-4725eda5.entry.js} +1 -1
- package/dist/web-components-library/{p-1e6aff0f.entry.js → p-478dd7a6.entry.js} +1 -1
- package/dist/web-components-library/{p-d4927410.entry.js → p-4f4930b5.entry.js} +1 -1
- package/dist/web-components-library/{p-71034a6f.entry.js → p-52ca86db.entry.js} +1 -1
- package/dist/web-components-library/{p-e2560604.entry.js → p-5a5dde20.entry.js} +1 -1
- package/dist/web-components-library/{p-1196b959.entry.js → p-5c30dfc5.entry.js} +1 -1
- package/dist/web-components-library/{p-a93d5b8c.entry.js → p-69fead44.entry.js} +1 -1
- package/dist/web-components-library/{p-cb13d050.entry.js → p-6ab40b8f.entry.js} +1 -1
- package/dist/web-components-library/{p-78e26102.entry.js → p-6aba4f0a.entry.js} +1 -1
- package/dist/web-components-library/p-6c7251f5.entry.js +1 -0
- package/dist/web-components-library/{p-41c5beec.entry.js → p-6d9d8a68.entry.js} +1 -1
- package/{www/build/p-7171717f.entry.js → dist/web-components-library/p-726b4fbd.entry.js} +1 -1
- package/dist/web-components-library/p-728a61a6.js +1 -0
- package/dist/web-components-library/{p-b543005a.entry.js → p-769ccc9f.entry.js} +1 -1
- package/dist/web-components-library/{p-02474663.entry.js → p-79d4e03b.entry.js} +1 -1
- package/dist/web-components-library/{p-4d9667dc.entry.js → p-872c8d25.entry.js} +1 -1
- package/dist/web-components-library/{p-fd2338b2.entry.js → p-8779fc5f.entry.js} +1 -1
- package/dist/web-components-library/{p-8f030e78.entry.js → p-8c703e92.entry.js} +1 -1
- package/dist/web-components-library/{p-3fc438b7.entry.js → p-8e480d71.entry.js} +1 -1
- package/dist/web-components-library/{p-a759ab46.entry.js → p-9124fe26.entry.js} +1 -1
- package/{www/build/p-7d37e4a8.entry.js → dist/web-components-library/p-951c50ad.entry.js} +1 -1
- package/{www/build/p-596da333.entry.js → dist/web-components-library/p-9b70eba4.entry.js} +1 -1
- package/dist/web-components-library/p-9bbb27f7.entry.js +1 -0
- package/dist/web-components-library/{p-c284139b.entry.js → p-9c83bf57.entry.js} +1 -1
- package/dist/web-components-library/{p-7b054eb2.entry.js → p-a30bbd0a.entry.js} +1 -1
- package/dist/web-components-library/{p-ab5f212d.entry.js → p-a3eeed2e.entry.js} +1 -1
- package/dist/web-components-library/{p-ae784c71.entry.js → p-a88046a0.entry.js} +1 -1
- package/dist/web-components-library/{p-71e8c2af.entry.js → p-a9d0b418.entry.js} +1 -1
- package/dist/web-components-library/{p-cf35d3cd.entry.js → p-aaa0752b.entry.js} +1 -1
- package/dist/web-components-library/{p-c9348925.entry.js → p-ad17a4a0.entry.js} +1 -1
- package/dist/web-components-library/{p-ae79ab08.entry.js → p-aee1f514.entry.js} +1 -1
- package/dist/web-components-library/{p-578a5ad1.entry.js → p-b02aa57c.entry.js} +1 -1
- package/dist/web-components-library/p-b54faa73.entry.js +1 -0
- package/dist/web-components-library/{p-51130281.entry.js → p-b622a7fd.entry.js} +1 -1
- package/dist/web-components-library/{p-1c413074.entry.js → p-b9bf1a8d.entry.js} +1 -1
- package/dist/web-components-library/{p-8468d87e.entry.js → p-baa877db.entry.js} +1 -1
- package/dist/web-components-library/{p-e6ddee24.entry.js → p-beec82d9.entry.js} +1 -1
- package/dist/web-components-library/{p-a5232d04.entry.js → p-bf7adc29.entry.js} +1 -1
- package/{www/build/p-b5916b42.entry.js → dist/web-components-library/p-c1da93ee.entry.js} +1 -1
- package/dist/web-components-library/{p-92cc171f.entry.js → p-c2a3f15d.entry.js} +1 -1
- package/dist/web-components-library/{p-105b82a6.entry.js → p-c4417a91.entry.js} +1 -1
- package/{www/build/p-bbeb6b3c.entry.js → dist/web-components-library/p-c4f778d7.entry.js} +1 -1
- package/dist/web-components-library/{p-1ff7bde5.entry.js → p-c633d2bb.entry.js} +1 -1
- package/dist/web-components-library/{p-9fb79d74.entry.js → p-c6b5ee23.entry.js} +1 -1
- package/dist/web-components-library/{p-6bb8de3e.entry.js → p-c89cbfcc.entry.js} +1 -1
- package/{www/build/p-cf73af9a.entry.js → dist/web-components-library/p-caa2c86c.entry.js} +1 -1
- package/dist/web-components-library/{p-bd886dd5.entry.js → p-cea7a294.entry.js} +1 -1
- package/dist/web-components-library/p-d17ebc2f.js +2 -0
- package/dist/web-components-library/{p-29e8a12c.entry.js → p-d1f8d75e.entry.js} +1 -1
- package/dist/web-components-library/{p-bfa3593e.js → p-d4681325.js} +1 -1
- package/dist/web-components-library/{p-9352da73.entry.js → p-d665ca6b.entry.js} +1 -1
- package/{www/build/p-c066ddf1.entry.js → dist/web-components-library/p-d8aac365.entry.js} +1 -1
- package/dist/web-components-library/{p-e17ca1a1.entry.js → p-e177dbef.entry.js} +1 -1
- package/dist/web-components-library/{p-7ebb03d8.entry.js → p-e527ef6d.entry.js} +1 -1
- package/dist/web-components-library/{p-9260abad.entry.js → p-e88ad497.entry.js} +1 -1
- package/dist/web-components-library/{p-4aaf3433.entry.js → p-eaa4eba8.entry.js} +1 -1
- package/dist/web-components-library/{p-7f2fa336.entry.js → p-eb2634d3.entry.js} +1 -1
- package/dist/web-components-library/p-eba1cdd9.entry.js +1 -0
- package/dist/web-components-library/{p-c6124ee4.entry.js → p-ed9dc5b7.entry.js} +1 -1
- package/{www/build/p-e293f91e.entry.js → dist/web-components-library/p-f0e73ccb.entry.js} +1 -1
- package/dist/web-components-library/{p-223566d6.entry.js → p-f4b9f544.entry.js} +1 -1
- package/dist/web-components-library/{p-710cec6d.entry.js → p-f5c3d332.entry.js} +1 -1
- package/dist/web-components-library/{p-33f74396.entry.js → p-f724f7a1.entry.js} +1 -1
- package/dist/web-components-library/{p-cc6a5872.entry.js → p-f77d7a3f.entry.js} +1 -1
- package/{www/build/p-e6ac4dc4.entry.js → dist/web-components-library/p-fd13128d.entry.js} +1 -1
- package/dist/web-components-library/{p-a9eea65b.entry.js → p-fdb6e67b.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/loader/package.json +1 -0
- package/package.json +2 -2
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-79408b00.entry.js → p-01a95ddd.entry.js} +1 -1
- package/www/build/{p-f0d90cc2.entry.js → p-023e657c.entry.js} +1 -1
- package/www/build/{p-5ae44c56.entry.js → p-03aa4a29.entry.js} +1 -1
- package/www/build/{p-02681c05.entry.js → p-07af77be.entry.js} +1 -1
- package/www/build/{p-9c7cf598.entry.js → p-0f0d8a17.entry.js} +1 -1
- package/www/build/{p-104b70e5.entry.js → p-137c1289.entry.js} +1 -1
- package/www/build/{p-1906915c.entry.js → p-145ef56b.entry.js} +1 -1
- package/{dist/web-components-library/p-f31b8e83.js → www/build/p-16c0ffce.js} +1 -1
- package/www/build/{p-0aa9746a.entry.js → p-1c5cb6b6.entry.js} +1 -1
- package/www/build/{p-d0d75b41.entry.js → p-1cb8f39f.entry.js} +1 -1
- package/{dist/web-components-library/p-c730a93d.entry.js → www/build/p-1efa8cfe.entry.js} +1 -1
- package/www/build/{p-46a6341a.entry.js → p-204c6ec6.entry.js} +1 -1
- package/{dist/web-components-library/p-aed2a8cf.entry.js → www/build/p-213d7163.entry.js} +1 -1
- package/www/build/{p-8e4d7f5d.entry.js → p-21a1b6a9.entry.js} +1 -1
- package/www/build/{p-d34eccf8.entry.js → p-242e410f.entry.js} +1 -1
- package/www/build/{p-2c836d42.entry.js → p-2b374cb0.entry.js} +1 -1
- package/www/build/{p-2de00f19.entry.js → p-2ec1cc4b.entry.js} +1 -1
- package/www/build/{p-6375f662.entry.js → p-33438244.entry.js} +1 -1
- package/www/build/{p-6baa8e33.entry.js → p-37e050bd.entry.js} +1 -1
- package/www/build/{p-a94f78b4.entry.js → p-3bdf4f63.entry.js} +1 -1
- package/www/build/{p-0ab1b40f.entry.js → p-3c63af71.entry.js} +1 -1
- package/www/build/{p-b574d5f6.entry.js → p-3c715e7d.entry.js} +1 -1
- package/www/build/{p-bd772b8a.entry.js → p-3e60fa3d.entry.js} +1 -1
- package/www/build/{p-953a07d5.entry.js → p-426c55e1.entry.js} +1 -1
- package/www/build/{p-5789bbe7.entry.js → p-42d1707b.entry.js} +1 -1
- package/www/build/p-448b6156.js +1 -0
- package/www/build/p-46f66301.entry.js +1 -0
- package/www/build/{p-fea2c39a.entry.js → p-470e984a.entry.js} +1 -1
- package/www/build/{p-f6da32c4.entry.js → p-4725eda5.entry.js} +1 -1
- package/www/build/{p-1e6aff0f.entry.js → p-478dd7a6.entry.js} +1 -1
- package/www/build/p-4c9c83c0.css +1 -0
- package/www/build/{p-d4927410.entry.js → p-4f4930b5.entry.js} +1 -1
- package/www/build/{p-71034a6f.entry.js → p-52ca86db.entry.js} +1 -1
- package/www/build/{p-e2560604.entry.js → p-5a5dde20.entry.js} +1 -1
- package/www/build/{p-1196b959.entry.js → p-5c30dfc5.entry.js} +1 -1
- package/www/build/{p-a93d5b8c.entry.js → p-69fead44.entry.js} +1 -1
- package/www/build/{p-cb13d050.entry.js → p-6ab40b8f.entry.js} +1 -1
- package/www/build/{p-78e26102.entry.js → p-6aba4f0a.entry.js} +1 -1
- package/www/build/p-6c7251f5.entry.js +1 -0
- package/www/build/{p-41c5beec.entry.js → p-6d9d8a68.entry.js} +1 -1
- package/{dist/web-components-library/p-7171717f.entry.js → www/build/p-726b4fbd.entry.js} +1 -1
- package/www/build/p-728a61a6.js +1 -0
- package/www/build/{p-b543005a.entry.js → p-769ccc9f.entry.js} +1 -1
- package/www/build/{p-02474663.entry.js → p-79d4e03b.entry.js} +1 -1
- package/www/build/{p-4d9667dc.entry.js → p-872c8d25.entry.js} +1 -1
- package/www/build/{p-fd2338b2.entry.js → p-8779fc5f.entry.js} +1 -1
- package/www/build/{p-8f030e78.entry.js → p-8c703e92.entry.js} +1 -1
- package/www/build/{p-3fc438b7.entry.js → p-8e480d71.entry.js} +1 -1
- package/www/build/{p-a759ab46.entry.js → p-9124fe26.entry.js} +1 -1
- package/{dist/web-components-library/p-7d37e4a8.entry.js → www/build/p-951c50ad.entry.js} +1 -1
- package/{dist/web-components-library/p-596da333.entry.js → www/build/p-9b70eba4.entry.js} +1 -1
- package/www/build/p-9bbb27f7.entry.js +1 -0
- package/www/build/{p-c284139b.entry.js → p-9c83bf57.entry.js} +1 -1
- package/www/build/{p-7b054eb2.entry.js → p-a30bbd0a.entry.js} +1 -1
- package/www/build/{p-ab5f212d.entry.js → p-a3eeed2e.entry.js} +1 -1
- package/www/build/{p-ae784c71.entry.js → p-a88046a0.entry.js} +1 -1
- package/www/build/{p-71e8c2af.entry.js → p-a9d0b418.entry.js} +1 -1
- package/www/build/{p-cf35d3cd.entry.js → p-aaa0752b.entry.js} +1 -1
- package/www/build/{p-c9348925.entry.js → p-ad17a4a0.entry.js} +1 -1
- package/www/build/{p-ae79ab08.entry.js → p-aee1f514.entry.js} +1 -1
- package/www/build/{p-578a5ad1.entry.js → p-b02aa57c.entry.js} +1 -1
- package/www/build/p-b54faa73.entry.js +1 -0
- package/www/build/{p-51130281.entry.js → p-b622a7fd.entry.js} +1 -1
- package/www/build/{p-1c413074.entry.js → p-b9bf1a8d.entry.js} +1 -1
- package/www/build/{p-8468d87e.entry.js → p-baa877db.entry.js} +1 -1
- package/www/build/{p-e6ddee24.entry.js → p-beec82d9.entry.js} +1 -1
- package/www/build/{p-a5232d04.entry.js → p-bf7adc29.entry.js} +1 -1
- package/{dist/web-components-library/p-b5916b42.entry.js → www/build/p-c1da93ee.entry.js} +1 -1
- package/www/build/{p-92cc171f.entry.js → p-c2a3f15d.entry.js} +1 -1
- package/www/build/{p-105b82a6.entry.js → p-c4417a91.entry.js} +1 -1
- package/{dist/web-components-library/p-bbeb6b3c.entry.js → www/build/p-c4f778d7.entry.js} +1 -1
- package/www/build/{p-1ff7bde5.entry.js → p-c633d2bb.entry.js} +1 -1
- package/www/build/{p-9fb79d74.entry.js → p-c6b5ee23.entry.js} +1 -1
- package/www/build/{p-6bb8de3e.entry.js → p-c89cbfcc.entry.js} +1 -1
- package/{dist/web-components-library/p-cf73af9a.entry.js → www/build/p-caa2c86c.entry.js} +1 -1
- package/www/build/{p-bd886dd5.entry.js → p-cea7a294.entry.js} +1 -1
- package/www/build/p-d17ebc2f.js +2 -0
- package/www/build/{p-29e8a12c.entry.js → p-d1f8d75e.entry.js} +1 -1
- package/www/build/{p-bfa3593e.js → p-d4681325.js} +1 -1
- package/www/build/{p-9352da73.entry.js → p-d665ca6b.entry.js} +1 -1
- package/{dist/web-components-library/p-c066ddf1.entry.js → www/build/p-d8aac365.entry.js} +1 -1
- package/www/build/{p-e17ca1a1.entry.js → p-e177dbef.entry.js} +1 -1
- package/www/build/{p-7ebb03d8.entry.js → p-e527ef6d.entry.js} +1 -1
- package/www/build/{p-9260abad.entry.js → p-e88ad497.entry.js} +1 -1
- package/www/build/{p-4aaf3433.entry.js → p-eaa4eba8.entry.js} +1 -1
- package/www/build/{p-7f2fa336.entry.js → p-eb2634d3.entry.js} +1 -1
- package/www/build/p-eba1cdd9.entry.js +1 -0
- package/www/build/{p-c6124ee4.entry.js → p-ed9dc5b7.entry.js} +1 -1
- package/{dist/web-components-library/p-e293f91e.entry.js → www/build/p-f0e73ccb.entry.js} +1 -1
- package/www/build/{p-223566d6.entry.js → p-f4b9f544.entry.js} +1 -1
- package/www/build/{p-710cec6d.entry.js → p-f5c3d332.entry.js} +1 -1
- package/www/build/{p-33f74396.entry.js → p-f724f7a1.entry.js} +1 -1
- package/www/build/{p-cc6a5872.entry.js → p-f77d7a3f.entry.js} +1 -1
- package/{dist/web-components-library/p-e6ac4dc4.entry.js → www/build/p-fd13128d.entry.js} +1 -1
- package/www/build/{p-a9eea65b.entry.js → p-fdb6e67b.entry.js} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/CHANGELOG.md +0 -1911
- package/dist/web-components-library/p-8cf3798f.entry.js +0 -1
- package/dist/web-components-library/p-98268a57.js +0 -1
- package/dist/web-components-library/p-a54ef821.entry.js +0 -1
- package/dist/web-components-library/p-bb20020b.entry.js +0 -1
- package/dist/web-components-library/p-d0fea19f.entry.js +0 -1
- package/dist/web-components-library/p-d79f69f2.js +0 -1
- package/dist/web-components-library/p-f6a11970.entry.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-8cf3798f.entry.js +0 -1
- package/www/build/p-98268a57.js +0 -1
- package/www/build/p-9ec1421c.css +0 -816
- package/www/build/p-a54ef821.entry.js +0 -1
- package/www/build/p-bb20020b.entry.js +0 -1
- package/www/build/p-d0fea19f.entry.js +0 -1
- package/www/build/p-d1358393.js +0 -129
- package/www/build/p-d79f69f2.js +0 -1
- package/www/build/p-f6a11970.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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.
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
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
|
-
|
|
220
|
-
|
|
221
|
-
|
|
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() {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
"
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
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
|
-
"
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
"
|
|
350
|
-
|
|
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
|
-
"
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
"
|
|
361
|
-
"
|
|
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
|
-
"
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
"
|
|
367
|
-
|
|
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
|
-
"
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
"
|
|
378
|
-
"
|
|
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
|
-
"
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
"
|
|
384
|
-
|
|
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
|
-
"
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
"
|
|
395
|
-
"
|
|
396
|
-
"
|
|
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
|
-
"
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
"
|
|
402
|
-
|
|
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
|
-
"
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
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() {
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
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
|
}
|