@zanichelli/albe-web-components 6.3.2-rc1 → 6.3.2
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/CHANGELOG.md +7 -0
- package/dist/cjs/index-e3299e0a.js +74 -18
- package/dist/cjs/{index-fa110f37.js → index-f08f7171.js} +54 -13
- package/dist/cjs/index.cjs.js +26 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-600bad93.js → utils-73ead59e.js} +1 -1
- package/dist/cjs/{utils-8bc9056f.js → utils-7fde0c53.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +1 -0
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -8
- package/dist/cjs/z-app-header_2.cjs.entry.js +12 -29
- package/dist/cjs/z-app-switcher.cjs.entry.js +28 -0
- package/dist/cjs/z-app-topbar.cjs.entry.js +7 -3
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -2
- package/dist/cjs/z-avatar.cjs.entry.js +3 -4
- package/dist/cjs/z-body_2.cjs.entry.js +4 -2
- package/dist/cjs/z-button-deprecated.cjs.entry.js +36 -0
- package/dist/cjs/z-button-filter.cjs.entry.js +49 -0
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/cjs/z-button.cjs.entry.js +6 -6
- package/dist/cjs/z-candybar.cjs.entry.js +19 -0
- package/dist/cjs/z-card.cjs.entry.js +4 -3
- package/dist/cjs/z-carousel.cjs.entry.js +8 -6
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +24 -0
- package/dist/cjs/z-chip.cjs.entry.js +4 -4
- package/dist/cjs/z-combobox.cjs.entry.js +13 -14
- package/dist/cjs/z-contextual-menu.cjs.entry.js +3 -8
- package/dist/cjs/z-cookiebar.cjs.entry.js +44 -0
- package/dist/cjs/z-cover-hero.cjs.entry.js +1 -8
- package/dist/cjs/z-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/z-divider.cjs.entry.js +1 -4
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +2 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +10 -6
- package/dist/cjs/z-file.cjs.entry.js +4 -2
- package/dist/cjs/z-footer-link_3.cjs.entry.js +54 -0
- package/dist/cjs/z-footer.cjs.entry.js +110 -0
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -5
- package/dist/cjs/z-input-deprecated.cjs.entry.js +261 -0
- package/dist/cjs/{z-select.cjs.entry.js → z-input-label_2.cjs.entry.js} +33 -14
- package/dist/cjs/z-input_2.cjs.entry.js +18 -12
- package/dist/cjs/z-link.cjs.entry.js +3 -9
- package/dist/cjs/z-list_3.cjs.entry.js +12 -71
- package/dist/cjs/{z-app-switcher_2.cjs.entry.js → z-logo.cjs.entry.js} +6 -23
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +93 -0
- package/dist/cjs/z-menu-section.cjs.entry.js +3 -0
- package/dist/cjs/z-menu.cjs.entry.js +3 -10
- package/dist/cjs/z-messages-pocket.cjs.entry.js +3 -2
- package/dist/cjs/z-modal-login.cjs.entry.js +5 -2
- package/dist/cjs/z-modal.cjs.entry.js +3 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +5 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -5
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +6 -3
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -0
- package/dist/cjs/z-myz-card_4.cjs.entry.js +10 -3
- package/dist/cjs/z-myz-list-item.cjs.entry.js +7 -4
- package/dist/cjs/z-myz-topbar.cjs.entry.js +201 -0
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +6 -13
- package/dist/cjs/z-navigation-tab.cjs.entry.js +4 -13
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -7
- package/dist/cjs/z-notification.cjs.entry.js +3 -6
- package/dist/cjs/z-offcanvas.cjs.entry.js +1 -8
- package/dist/cjs/z-otp.cjs.entry.js +3 -2
- package/dist/cjs/z-pagination-bar.cjs.entry.js +116 -0
- package/dist/cjs/z-pagination-page.cjs.entry.js +25 -0
- package/dist/cjs/z-pagination.cjs.entry.js +6 -13
- package/dist/cjs/z-panel-elem.cjs.entry.js +7 -2
- package/dist/cjs/z-pocket_3.cjs.entry.js +5 -4
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +129 -0
- package/dist/cjs/z-popover.cjs.entry.js +24 -35
- package/dist/cjs/z-range-picker.cjs.entry.js +7 -3
- package/dist/cjs/z-section-title.cjs.entry.js +1 -8
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +5 -2
- package/dist/cjs/z-status-tag.cjs.entry.js +32 -0
- package/dist/cjs/z-stepper-item.cjs.entry.js +4 -0
- package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/z-table-empty-box.cjs.entry.js +0 -2
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -0
- package/dist/cjs/z-table-header-row.cjs.entry.js +1 -0
- package/dist/cjs/z-table-header.cjs.entry.js +6 -6
- package/dist/cjs/z-table-row.cjs.entry.js +1 -2
- package/dist/cjs/z-table.cjs.entry.js +7 -9
- package/dist/cjs/z-tag.cjs.entry.js +2 -0
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -3
- package/dist/cjs/z-toast-notification.cjs.entry.js +9 -5
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -6
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +262 -0
- package/dist/cjs/z-tooltip.cjs.entry.js +3 -7
- package/dist/cjs/z-user-dropdown.cjs.entry.js +5 -1
- package/dist/collection/beans/index.js +54 -13
- package/dist/collection/collection-manifest.json +18 -1
- package/dist/collection/components/buttons/z-button/index.js +5 -5
- package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
- package/dist/collection/components/buttons/z-chip/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +0 -4
- package/dist/collection/components/date-picker/z-date-picker/index.js +2 -2
- package/dist/collection/components/date-picker/z-range-picker/index.js +5 -1
- package/dist/collection/components/file-upload/z-file/index.js +4 -2
- package/dist/collection/components/file-upload/z-file-upload/index.js +8 -4
- package/dist/collection/components/footer/z-footer/index.js +262 -0
- package/dist/collection/components/footer/z-footer/styles.css +242 -0
- package/dist/collection/components/footer/z-footer-link/index.js +45 -0
- package/dist/collection/components/footer/z-footer-link/styles.css +25 -0
- package/dist/collection/components/footer/z-footer-section/index.js +54 -0
- package/dist/collection/components/footer/z-footer-section/styles.css +150 -0
- package/dist/collection/components/footer/z-footer-social/index.js +78 -0
- package/dist/collection/components/footer/z-footer-social/styles.css +15 -0
- package/dist/collection/components/icons/z-icon/index.js +7 -0
- package/dist/collection/components/indicators/z-stepper-item/index.js +6 -0
- package/dist/collection/components/inputs/z-combobox/index.js +11 -12
- package/dist/collection/components/inputs/z-input/index.js +14 -10
- package/dist/collection/components/inputs/z-input-message/index.js +2 -0
- package/dist/collection/components/inputs/z-select/index.js +15 -12
- package/dist/collection/components/list/z-list/index.js +0 -6
- package/dist/collection/components/list/z-list-element/index.js +11 -49
- package/dist/collection/components/list/z-list-group/index.js +0 -15
- package/dist/collection/components/list/z-toast-notification-list/index.js +0 -2
- package/dist/collection/components/logo/z-logo/index.js +8 -0
- package/dist/collection/components/modal/z-modal/index.js +3 -1
- package/dist/collection/components/modal/z-modal-login/index.js +4 -1
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +3 -12
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +5 -12
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +3 -6
- package/dist/collection/components/navigation/z-app-header/index.js +7 -29
- package/dist/collection/components/navigation/z-app-switcher/index.js +0 -1
- package/dist/collection/components/navigation/z-app-topbar/index.js +6 -2
- package/dist/collection/components/navigation/z-link/index.js +3 -9
- package/dist/collection/components/navigation/z-menu/index.js +3 -10
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +3 -0
- package/dist/collection/components/navigation/z-menu-section/index.js +5 -0
- package/dist/collection/components/navigation/z-user-dropdown/index.js +5 -1
- package/dist/collection/components/notification/z-candybar/index.js +21 -0
- package/dist/collection/components/notification/z-candybar/styles.css +55 -0
- package/dist/collection/components/notification/z-cookiebar/index.js +115 -0
- package/dist/collection/components/notification/z-cookiebar/styles.css +108 -0
- package/dist/collection/components/notification/z-info-box/index.js +1 -1
- package/dist/collection/components/notification/z-notification/index.js +3 -6
- package/dist/collection/components/notification/z-toast-notification/index.js +8 -4
- package/dist/collection/components/notification/z-tooltip/index.js +7 -11
- package/dist/collection/components/panel/z-panel-elem/index.js +7 -2
- package/dist/collection/components/typography/z-body/index.js +2 -1
- package/dist/collection/components/typography/z-heading/index.js +2 -1
- package/dist/collection/components/typography/z-typography/index.js +2 -1
- package/dist/collection/components/z-anchor-navigation/index.js +0 -7
- package/dist/collection/components/z-aria-alert/index.js +0 -1
- package/dist/collection/components/z-avatar/index.js +2 -3
- package/dist/collection/components/z-card/index.js +3 -2
- package/dist/collection/components/z-carousel/index.js +7 -5
- package/dist/collection/components/z-contextual-menu/index.js +7 -12
- package/dist/collection/components/z-cover-hero/index.js +0 -7
- package/dist/collection/components/z-divider/index.js +0 -3
- package/dist/collection/components/z-info-reveal/index.js +1 -4
- package/dist/collection/components/z-offcanvas/index.js +0 -7
- package/dist/collection/components/z-pagination/index.js +5 -12
- package/dist/collection/components/z-popover/index.js +27 -38
- package/dist/collection/components/z-section-title/index.js +0 -7
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-table/z-table/index.js +6 -8
- package/dist/collection/components/z-table/z-table-cell/index.js +1 -1
- package/dist/collection/components/z-table/z-table-empty-box/index.js +0 -2
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +3 -0
- package/dist/collection/components/z-table/z-table-header/index.js +5 -5
- package/dist/collection/components/z-table/z-table-header-row/index.js +3 -0
- package/dist/collection/components/z-table/z-table-row/index.js +0 -1
- package/dist/collection/components/z-tag/index.js +4 -0
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +271 -0
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +22 -0
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +136 -0
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +57 -0
- package/dist/collection/deprecated/z-button-deprecated/index.js +221 -0
- package/dist/collection/deprecated/z-button-deprecated/styles.css +231 -0
- package/dist/collection/deprecated/z-button-filter/index.js +159 -0
- package/dist/collection/deprecated/z-button-filter/styles.css +64 -0
- package/dist/collection/deprecated/z-chip-deprecated/index.js +63 -0
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +17 -0
- package/dist/collection/deprecated/z-input-deprecated/index.js +810 -0
- package/dist/collection/deprecated/z-input-deprecated/styles.css +282 -0
- package/dist/collection/deprecated/z-input-label/index.js +79 -0
- package/dist/collection/deprecated/z-input-label/styles.css +16 -0
- package/dist/collection/deprecated/z-popover-deprecated/index.js +300 -0
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +235 -0
- package/dist/collection/deprecated/z-status-tag/index.js +133 -0
- package/dist/collection/deprecated/z-status-tag/styles.css +131 -0
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +378 -0
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +128 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +6 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +6 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +2 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +5 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +3 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +4 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +5 -2
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +2 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -0
- package/dist/collection/snowflakes/myz/topbar/index.js +409 -0
- package/dist/collection/snowflakes/myz/topbar/styles.css +574 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js +3 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +3 -0
- package/dist/esm/index-a2ca4b97.js +74 -18
- package/dist/esm/{index-968a240f.js → index-aee91593.js} +55 -14
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-ccb4d66f.js → utils-5dc8ce33.js} +2 -2
- package/dist/esm/{utils-151f0ab4.js → utils-77c5c75d.js} +1 -1
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +1 -0
- package/dist/esm/z-anchor-navigation.entry.js +1 -8
- package/dist/esm/z-app-header_2.entry.js +12 -29
- package/dist/esm/z-app-switcher.entry.js +24 -0
- package/dist/esm/z-app-topbar.entry.js +7 -3
- package/dist/esm/z-aria-alert.entry.js +1 -2
- package/dist/esm/z-avatar.entry.js +3 -4
- package/dist/esm/z-body_2.entry.js +4 -2
- package/dist/esm/z-button-deprecated.entry.js +32 -0
- package/dist/esm/z-button-filter.entry.js +45 -0
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button.entry.js +6 -6
- package/dist/esm/z-candybar.entry.js +15 -0
- package/dist/esm/z-card.entry.js +4 -3
- package/dist/esm/z-carousel.entry.js +8 -6
- package/dist/esm/z-chip-deprecated.entry.js +20 -0
- package/dist/esm/z-chip.entry.js +4 -4
- package/dist/esm/z-combobox.entry.js +13 -14
- package/dist/esm/z-contextual-menu.entry.js +3 -8
- package/dist/esm/z-cookiebar.entry.js +40 -0
- package/dist/esm/z-cover-hero.entry.js +1 -8
- package/dist/esm/z-date-picker.entry.js +4 -4
- package/dist/esm/z-divider.entry.js +1 -4
- package/dist/esm/z-dragdrop-area_2.entry.js +2 -1
- package/dist/esm/z-file-upload.entry.js +10 -6
- package/dist/esm/z-file.entry.js +4 -2
- package/dist/esm/z-footer-link_3.entry.js +48 -0
- package/dist/esm/z-footer.entry.js +106 -0
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -5
- package/dist/esm/z-input-deprecated.entry.js +257 -0
- package/dist/esm/{z-select.entry.js → z-input-label_2.entry.js} +34 -16
- package/dist/esm/z-input_2.entry.js +18 -12
- package/dist/esm/z-link.entry.js +3 -9
- package/dist/esm/z-list_3.entry.js +12 -71
- package/dist/esm/{z-app-switcher_2.entry.js → z-logo.entry.js} +8 -24
- package/dist/esm/z-menu-dropdown_2.entry.js +88 -0
- package/dist/esm/z-menu-section.entry.js +3 -0
- package/dist/esm/z-menu.entry.js +3 -10
- package/dist/esm/z-messages-pocket.entry.js +3 -2
- package/dist/esm/z-modal-login.entry.js +5 -2
- package/dist/esm/z-modal.entry.js +3 -1
- package/dist/esm/z-myz-card-alert.entry.js +5 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +3 -5
- package/dist/esm/z-myz-card-footer.entry.js +6 -3
- package/dist/esm/z-myz-card-icon.entry.js +1 -2
- package/dist/esm/z-myz-card-info.entry.js +4 -4
- package/dist/esm/z-myz-card-list.entry.js +1 -0
- package/dist/esm/z-myz-card_4.entry.js +10 -3
- package/dist/esm/z-myz-list-item.entry.js +7 -4
- package/dist/esm/z-myz-topbar.entry.js +197 -0
- package/dist/esm/z-navigation-tab-link.entry.js +6 -13
- package/dist/esm/z-navigation-tab.entry.js +4 -13
- package/dist/esm/z-navigation-tabs.entry.js +4 -7
- package/dist/esm/z-notification.entry.js +3 -6
- package/dist/esm/z-offcanvas.entry.js +1 -8
- package/dist/esm/z-otp.entry.js +3 -2
- package/dist/esm/z-pagination-bar.entry.js +112 -0
- package/dist/esm/z-pagination-page.entry.js +21 -0
- package/dist/esm/z-pagination.entry.js +6 -13
- package/dist/esm/z-panel-elem.entry.js +7 -2
- package/dist/esm/z-pocket_3.entry.js +5 -4
- package/dist/esm/z-popover-deprecated.entry.js +125 -0
- package/dist/esm/z-popover.entry.js +24 -35
- package/dist/esm/z-range-picker.entry.js +7 -3
- package/dist/esm/z-section-title.entry.js +1 -8
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +5 -2
- package/dist/esm/z-status-tag.entry.js +28 -0
- package/dist/esm/z-stepper-item.entry.js +4 -0
- package/dist/esm/z-table-cell.entry.js +2 -2
- package/dist/esm/z-table-empty-box.entry.js +0 -2
- package/dist/esm/z-table-expanded-row.entry.js +1 -0
- package/dist/esm/z-table-header-row.entry.js +1 -0
- package/dist/esm/z-table-header.entry.js +6 -6
- package/dist/esm/z-table-row.entry.js +1 -2
- package/dist/esm/z-table.entry.js +7 -9
- package/dist/esm/z-tag.entry.js +2 -0
- package/dist/esm/z-toast-notification-list.entry.js +1 -3
- package/dist/esm/z-toast-notification.entry.js +9 -5
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +2 -6
- package/dist/esm/z-tooltip-deprecated.entry.js +258 -0
- package/dist/esm/z-tooltip.entry.js +3 -7
- package/dist/esm/z-user-dropdown.entry.js +5 -1
- package/dist/types/beans/index.d.ts +60 -1
- package/dist/types/components/footer/z-footer/index.d.ts +46 -0
- package/dist/types/components/footer/z-footer-link/index.d.ts +8 -0
- package/dist/types/components/footer/z-footer-section/index.d.ts +10 -0
- package/dist/types/components/footer/z-footer-social/index.d.ts +9 -0
- package/dist/types/components/notification/z-candybar/index.d.ts +6 -0
- package/dist/types/components/notification/z-cookiebar/index.d.ts +16 -0
- package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/z-contextual-menu/index.d.ts +2 -2
- package/dist/types/components/z-popover/index.d.ts +4 -4
- package/dist/types/components.d.ts +1057 -8
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +40 -0
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +15 -0
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +28 -0
- package/dist/types/deprecated/z-button-filter/index.d.ts +22 -0
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +8 -0
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +91 -0
- package/dist/types/deprecated/z-input-label/index.d.ts +9 -0
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +33 -0
- package/dist/types/deprecated/z-status-tag/index.d.ts +15 -0
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +41 -0
- package/dist/types/snowflakes/myz/topbar/index.d.ts +59 -0
- package/dist/types/stencil-public-runtime.d.ts +5 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-016b2800.entry.js +1 -0
- package/dist/web-components-library/p-067bd5da.entry.js +1 -0
- package/dist/web-components-library/p-0afc555e.entry.js +1 -0
- package/dist/web-components-library/{p-214b6cee.entry.js → p-0f28f07e.entry.js} +1 -1
- package/dist/web-components-library/p-10b84e8c.entry.js +1 -0
- package/dist/web-components-library/p-12211a48.entry.js +1 -0
- package/dist/web-components-library/p-18448e4d.entry.js +1 -0
- package/dist/web-components-library/p-1ab0de76.entry.js +1 -0
- package/dist/web-components-library/p-1e163a87.entry.js +1 -0
- package/dist/web-components-library/p-1f187c54.entry.js +1 -0
- package/dist/web-components-library/p-1f8c8cd0.entry.js +1 -0
- package/dist/web-components-library/{p-9ed27651.entry.js → p-1f8c947e.entry.js} +1 -1
- package/dist/web-components-library/{p-2acd6a51.entry.js → p-1fdbd448.entry.js} +1 -1
- package/dist/web-components-library/{p-33352f9e.entry.js → p-279b422a.entry.js} +1 -1
- package/{www/build/p-f158d205.entry.js → dist/web-components-library/p-2c18a622.entry.js} +1 -1
- package/dist/web-components-library/p-2d5d8e6f.entry.js +1 -0
- package/dist/web-components-library/p-2e7a31ac.entry.js +1 -0
- package/dist/web-components-library/p-3027c60b.entry.js +1 -0
- package/dist/web-components-library/p-30fcd62b.js +1 -0
- package/dist/web-components-library/{p-9c28b8fc.entry.js → p-323ae109.entry.js} +1 -1
- package/dist/web-components-library/p-35739670.entry.js +1 -0
- package/dist/web-components-library/p-36d2d081.entry.js +1 -0
- package/dist/web-components-library/{p-67d6cfcb.entry.js → p-3b1c4366.entry.js} +1 -1
- package/dist/web-components-library/p-3c7cf41f.entry.js +1 -0
- package/dist/web-components-library/p-3eb0d582.entry.js +1 -0
- package/dist/web-components-library/p-3ecfb7c1.entry.js +1 -0
- package/dist/web-components-library/p-40f96085.entry.js +1 -0
- package/dist/web-components-library/p-42782d06.entry.js +1 -0
- package/dist/web-components-library/p-4465426a.entry.js +1 -0
- package/dist/web-components-library/p-468520f5.entry.js +1 -0
- package/dist/web-components-library/p-46e367c9.entry.js +1 -0
- package/dist/web-components-library/{p-496863be.entry.js → p-4a322ca6.entry.js} +1 -1
- package/dist/web-components-library/p-4ba0b17c.entry.js +1 -0
- package/dist/web-components-library/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
- package/dist/web-components-library/p-552c6686.entry.js +1 -0
- package/dist/web-components-library/p-563529f8.entry.js +1 -0
- package/dist/web-components-library/p-569f6cff.entry.js +1 -0
- package/dist/web-components-library/p-57faab40.entry.js +1 -0
- package/dist/web-components-library/p-5935151c.entry.js +1 -0
- package/dist/web-components-library/p-5b83568e.entry.js +1 -0
- package/dist/web-components-library/p-5c6108bb.entry.js +1 -0
- package/dist/web-components-library/p-63a99ad2.entry.js +16 -0
- package/dist/web-components-library/p-64033ee3.entry.js +1 -0
- package/dist/web-components-library/p-66bbcf76.entry.js +1 -0
- package/dist/web-components-library/p-69db61b5.entry.js +1 -0
- package/dist/web-components-library/p-6e4dd501.entry.js +1 -0
- package/dist/web-components-library/p-6fe1bffb.entry.js +1 -0
- package/dist/web-components-library/p-7171d686.entry.js +1 -0
- package/dist/web-components-library/p-75a4091f.entry.js +1 -0
- package/dist/web-components-library/p-7b22a446.entry.js +1 -0
- package/dist/web-components-library/p-7e13d026.entry.js +1 -0
- package/dist/web-components-library/p-82ff8f0e.entry.js +1 -0
- package/dist/web-components-library/p-84cc611a.entry.js +1 -0
- package/dist/web-components-library/p-8879211b.entry.js +1 -0
- package/dist/web-components-library/p-8949cd1d.entry.js +1 -0
- package/dist/web-components-library/{p-34c26207.entry.js → p-8fee871a.entry.js} +1 -1
- package/dist/web-components-library/p-9099124a.entry.js +1 -0
- package/dist/web-components-library/p-9ecf936d.js +1 -0
- package/dist/web-components-library/p-a1250f99.entry.js +1 -0
- package/dist/web-components-library/p-a3b8dd69.entry.js +1 -0
- package/dist/web-components-library/p-aa271ed7.entry.js +1 -0
- package/dist/web-components-library/p-af4a9bb7.entry.js +1 -0
- package/dist/web-components-library/p-af9b8051.entry.js +1 -0
- package/dist/web-components-library/p-b01314fa.entry.js +1 -0
- package/dist/web-components-library/p-b4a9ba1d.entry.js +1 -0
- package/dist/web-components-library/p-b9a69a90.entry.js +1 -0
- package/dist/web-components-library/p-bbbfd2fa.entry.js +1 -0
- package/dist/web-components-library/p-bea5aa42.entry.js +1 -0
- package/dist/web-components-library/{p-b3c29822.js → p-bee26f96.js} +1 -1
- package/dist/web-components-library/p-c39c68b9.entry.js +1 -0
- package/dist/web-components-library/p-c7d7958c.entry.js +1 -0
- package/dist/web-components-library/p-c849a2a5.entry.js +1 -0
- package/dist/web-components-library/p-d1b45e96.entry.js +1 -0
- package/dist/web-components-library/p-d767f784.entry.js +1 -0
- package/dist/web-components-library/p-d7e72cec.entry.js +1 -0
- package/dist/web-components-library/p-d8e17d3a.entry.js +1 -0
- package/dist/web-components-library/{p-9965827d.entry.js → p-db234892.entry.js} +1 -1
- package/dist/web-components-library/p-dc3c5f36.entry.js +1 -0
- package/dist/web-components-library/p-e0f82390.entry.js +1 -0
- package/dist/web-components-library/p-e1ddeb61.entry.js +1 -0
- package/dist/web-components-library/p-e4d761f4.entry.js +1 -0
- package/dist/web-components-library/p-efca7e17.entry.js +1 -0
- package/dist/web-components-library/p-f08d1cbd.entry.js +1 -0
- package/dist/web-components-library/p-f53d1d26.entry.js +1 -0
- package/dist/web-components-library/p-f8aef252.entry.js +1 -0
- package/dist/web-components-library/p-f94281ee.entry.js +1 -0
- package/dist/web-components-library/p-f9e8ac5d.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +2 -2
- package/react/components.d.ts +17 -0
- package/react/components.js +20 -2
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-016b2800.entry.js +1 -0
- package/www/build/p-067bd5da.entry.js +1 -0
- package/www/build/p-0afc555e.entry.js +1 -0
- package/www/build/{p-214b6cee.entry.js → p-0f28f07e.entry.js} +1 -1
- package/www/build/p-10b84e8c.entry.js +1 -0
- package/www/build/p-12211a48.entry.js +1 -0
- package/www/build/p-18448e4d.entry.js +1 -0
- package/www/build/p-1ab0de76.entry.js +1 -0
- package/www/build/p-1e163a87.entry.js +1 -0
- package/www/build/p-1f187c54.entry.js +1 -0
- package/www/build/p-1f8c8cd0.entry.js +1 -0
- package/www/build/{p-9ed27651.entry.js → p-1f8c947e.entry.js} +1 -1
- package/www/build/{p-2acd6a51.entry.js → p-1fdbd448.entry.js} +1 -1
- package/www/build/{p-33352f9e.entry.js → p-279b422a.entry.js} +1 -1
- package/{dist/web-components-library/p-f158d205.entry.js → www/build/p-2c18a622.entry.js} +1 -1
- package/www/build/p-2d5d8e6f.entry.js +1 -0
- package/www/build/p-2e7a31ac.entry.js +1 -0
- package/www/build/p-3027c60b.entry.js +1 -0
- package/www/build/p-30fcd62b.js +1 -0
- package/www/build/{p-9c28b8fc.entry.js → p-323ae109.entry.js} +1 -1
- package/www/build/p-35739670.entry.js +1 -0
- package/www/build/p-36d2d081.entry.js +1 -0
- package/www/build/{p-67d6cfcb.entry.js → p-3b1c4366.entry.js} +1 -1
- package/www/build/p-3c7cf41f.entry.js +1 -0
- package/www/build/p-3eb0d582.entry.js +1 -0
- package/www/build/p-3ecfb7c1.entry.js +1 -0
- package/www/build/p-40f96085.entry.js +1 -0
- package/www/build/p-42782d06.entry.js +1 -0
- package/www/build/p-4465426a.entry.js +1 -0
- package/www/build/p-468520f5.entry.js +1 -0
- package/www/build/p-46e367c9.entry.js +1 -0
- package/www/build/{p-496863be.entry.js → p-4a322ca6.entry.js} +1 -1
- package/www/build/p-4ba0b17c.entry.js +1 -0
- package/www/build/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
- package/www/build/p-552c6686.entry.js +1 -0
- package/www/build/p-563529f8.entry.js +1 -0
- package/www/build/p-569f6cff.entry.js +1 -0
- package/www/build/p-57faab40.entry.js +1 -0
- package/www/build/p-5935151c.entry.js +1 -0
- package/www/build/p-5b83568e.entry.js +1 -0
- package/www/build/p-5c6108bb.entry.js +1 -0
- package/www/build/p-63a99ad2.entry.js +16 -0
- package/www/build/p-64033ee3.entry.js +1 -0
- package/www/build/p-66bbcf76.entry.js +1 -0
- package/www/build/p-69db61b5.entry.js +1 -0
- package/www/build/p-6e4dd501.entry.js +1 -0
- package/www/build/p-6fe1bffb.entry.js +1 -0
- package/www/build/p-7171d686.entry.js +1 -0
- package/www/build/p-75a4091f.entry.js +1 -0
- package/www/build/p-7b22a446.entry.js +1 -0
- package/www/build/p-7e13d026.entry.js +1 -0
- package/www/build/p-82ff8f0e.entry.js +1 -0
- package/www/build/p-84cc611a.entry.js +1 -0
- package/www/build/p-8879211b.entry.js +1 -0
- package/www/build/p-8949cd1d.entry.js +1 -0
- package/www/build/{p-34c26207.entry.js → p-8fee871a.entry.js} +1 -1
- package/www/build/p-9099124a.entry.js +1 -0
- package/www/build/p-9ecf936d.js +1 -0
- package/www/build/p-a1250f99.entry.js +1 -0
- package/www/build/p-a3b8dd69.entry.js +1 -0
- package/www/build/p-aa271ed7.entry.js +1 -0
- package/www/build/p-af4a9bb7.entry.js +1 -0
- package/www/build/p-af9b8051.entry.js +1 -0
- package/www/build/p-b01314fa.entry.js +1 -0
- package/www/build/p-b4a9ba1d.entry.js +1 -0
- package/www/build/p-b9a69a90.entry.js +1 -0
- package/www/build/p-bbbfd2fa.entry.js +1 -0
- package/www/build/p-bea5aa42.entry.js +1 -0
- package/www/build/{p-b3c29822.js → p-bee26f96.js} +1 -1
- package/www/build/p-c39c68b9.entry.js +1 -0
- package/www/build/p-c7d7958c.entry.js +1 -0
- package/www/build/p-c849a2a5.entry.js +1 -0
- package/www/build/p-d1b45e96.entry.js +1 -0
- package/www/build/p-d70c7670.css +1 -0
- package/www/build/p-d767f784.entry.js +1 -0
- package/www/build/p-d7e72cec.entry.js +1 -0
- package/www/build/p-d8e17d3a.entry.js +1 -0
- package/www/build/{p-9965827d.entry.js → p-db234892.entry.js} +1 -1
- package/www/build/p-dc3c5f36.entry.js +1 -0
- package/www/build/p-e0f82390.entry.js +1 -0
- package/www/build/p-e1ddeb61.entry.js +1 -0
- package/www/build/p-e4d761f4.entry.js +1 -0
- package/www/build/p-ef5f8af2.js +1 -0
- package/www/build/p-efca7e17.entry.js +1 -0
- package/www/build/p-f08d1cbd.entry.js +1 -0
- package/www/build/p-f53d1d26.entry.js +1 -0
- package/www/build/p-f8aef252.entry.js +1 -0
- package/www/build/p-f94281ee.entry.js +1 -0
- package/www/build/p-f9e8ac5d.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +0 -59
- package/dist/cjs/z-myz-list.cjs.entry.js +0 -35
- package/dist/esm/z-menu-dropdown.entry.js +0 -55
- package/dist/esm/z-myz-list.entry.js +0 -31
- package/dist/web-components-library/p-009c9f67.entry.js +0 -1
- package/dist/web-components-library/p-01f001fd.entry.js +0 -1
- package/dist/web-components-library/p-05ced71c.entry.js +0 -1
- package/dist/web-components-library/p-074ea569.entry.js +0 -1
- package/dist/web-components-library/p-07e18572.entry.js +0 -1
- package/dist/web-components-library/p-0843b0e7.entry.js +0 -1
- package/dist/web-components-library/p-0fa4b50b.entry.js +0 -1
- package/dist/web-components-library/p-1b6279a6.entry.js +0 -1
- package/dist/web-components-library/p-1ba8d432.entry.js +0 -1
- package/dist/web-components-library/p-1cb23bbb.entry.js +0 -1
- package/dist/web-components-library/p-20a3247c.entry.js +0 -1
- package/dist/web-components-library/p-26f834e5.entry.js +0 -1
- package/dist/web-components-library/p-279655eb.entry.js +0 -1
- package/dist/web-components-library/p-2d1b6c3c.entry.js +0 -1
- package/dist/web-components-library/p-2efedcf4.entry.js +0 -1
- package/dist/web-components-library/p-344e7ae7.entry.js +0 -1
- package/dist/web-components-library/p-38a3cf3b.entry.js +0 -1
- package/dist/web-components-library/p-3a468aa9.entry.js +0 -1
- package/dist/web-components-library/p-3c2d438b.entry.js +0 -1
- package/dist/web-components-library/p-3f55dce6.entry.js +0 -1
- package/dist/web-components-library/p-411cbcd6.entry.js +0 -1
- package/dist/web-components-library/p-475ca461.entry.js +0 -1
- package/dist/web-components-library/p-4cd6c6f4.entry.js +0 -1
- package/dist/web-components-library/p-51e308ca.entry.js +0 -1
- package/dist/web-components-library/p-5921901c.entry.js +0 -1
- package/dist/web-components-library/p-59cfee8d.entry.js +0 -1
- package/dist/web-components-library/p-5dd9a2c6.entry.js +0 -1
- package/dist/web-components-library/p-61424b8a.entry.js +0 -1
- package/dist/web-components-library/p-682528b2.entry.js +0 -1
- package/dist/web-components-library/p-6b1a5309.entry.js +0 -1
- package/dist/web-components-library/p-7af991f5.entry.js +0 -1
- package/dist/web-components-library/p-810bd730.entry.js +0 -1
- package/dist/web-components-library/p-8980398c.entry.js +0 -1
- package/dist/web-components-library/p-8b960526.entry.js +0 -1
- package/dist/web-components-library/p-8bf0844b.entry.js +0 -1
- package/dist/web-components-library/p-8c105bd1.entry.js +0 -1
- package/dist/web-components-library/p-8f46e548.entry.js +0 -1
- package/dist/web-components-library/p-8ffc17b7.entry.js +0 -1
- package/dist/web-components-library/p-93dc6d51.entry.js +0 -1
- package/dist/web-components-library/p-95b8f109.entry.js +0 -1
- package/dist/web-components-library/p-9c338aeb.entry.js +0 -1
- package/dist/web-components-library/p-9d03a7d6.entry.js +0 -1
- package/dist/web-components-library/p-a23e9115.js +0 -1
- package/dist/web-components-library/p-a2b67e2d.entry.js +0 -1
- package/dist/web-components-library/p-a79d1412.entry.js +0 -1
- package/dist/web-components-library/p-a82ea410.entry.js +0 -1
- package/dist/web-components-library/p-b33f5e6a.entry.js +0 -1
- package/dist/web-components-library/p-b6f36170.entry.js +0 -16
- package/dist/web-components-library/p-bb0fe7bc.entry.js +0 -1
- package/dist/web-components-library/p-bdc6f2e5.entry.js +0 -1
- package/dist/web-components-library/p-beba3e67.entry.js +0 -1
- package/dist/web-components-library/p-c25b0b2a.entry.js +0 -1
- package/dist/web-components-library/p-c6aad085.entry.js +0 -1
- package/dist/web-components-library/p-cd43f80d.js +0 -1
- package/dist/web-components-library/p-ce83ce18.entry.js +0 -1
- package/dist/web-components-library/p-db3c8e3e.entry.js +0 -1
- package/dist/web-components-library/p-e40b16fa.entry.js +0 -1
- package/dist/web-components-library/p-ede9fbf5.entry.js +0 -1
- package/dist/web-components-library/p-f0653e72.entry.js +0 -1
- package/dist/web-components-library/p-f20d1242.entry.js +0 -1
- package/dist/web-components-library/p-f95cc914.entry.js +0 -1
- package/www/build/p-009c9f67.entry.js +0 -1
- package/www/build/p-01f001fd.entry.js +0 -1
- package/www/build/p-05ced71c.entry.js +0 -1
- package/www/build/p-074ea569.entry.js +0 -1
- package/www/build/p-07e18572.entry.js +0 -1
- package/www/build/p-0843b0e7.entry.js +0 -1
- package/www/build/p-0fa4b50b.entry.js +0 -1
- package/www/build/p-1b6279a6.entry.js +0 -1
- package/www/build/p-1ba8d432.entry.js +0 -1
- package/www/build/p-1cb23bbb.entry.js +0 -1
- package/www/build/p-20a3247c.entry.js +0 -1
- package/www/build/p-26f834e5.entry.js +0 -1
- package/www/build/p-279655eb.entry.js +0 -1
- package/www/build/p-2d1b6c3c.entry.js +0 -1
- package/www/build/p-2efedcf4.entry.js +0 -1
- package/www/build/p-32d42cfa.js +0 -129
- package/www/build/p-344e7ae7.entry.js +0 -1
- package/www/build/p-38a3cf3b.entry.js +0 -1
- package/www/build/p-3a468aa9.entry.js +0 -1
- package/www/build/p-3c2d438b.entry.js +0 -1
- package/www/build/p-3f55dce6.entry.js +0 -1
- package/www/build/p-411cbcd6.entry.js +0 -1
- package/www/build/p-43a653ba.css +0 -1802
- package/www/build/p-475ca461.entry.js +0 -1
- package/www/build/p-4cd6c6f4.entry.js +0 -1
- package/www/build/p-51e308ca.entry.js +0 -1
- package/www/build/p-5921901c.entry.js +0 -1
- package/www/build/p-59cfee8d.entry.js +0 -1
- package/www/build/p-5dd9a2c6.entry.js +0 -1
- package/www/build/p-61424b8a.entry.js +0 -1
- package/www/build/p-682528b2.entry.js +0 -1
- package/www/build/p-6b1a5309.entry.js +0 -1
- package/www/build/p-7af991f5.entry.js +0 -1
- package/www/build/p-810bd730.entry.js +0 -1
- package/www/build/p-8980398c.entry.js +0 -1
- package/www/build/p-8b960526.entry.js +0 -1
- package/www/build/p-8bf0844b.entry.js +0 -1
- package/www/build/p-8c105bd1.entry.js +0 -1
- package/www/build/p-8f46e548.entry.js +0 -1
- package/www/build/p-8ffc17b7.entry.js +0 -1
- package/www/build/p-93dc6d51.entry.js +0 -1
- package/www/build/p-95b8f109.entry.js +0 -1
- package/www/build/p-9c338aeb.entry.js +0 -1
- package/www/build/p-9d03a7d6.entry.js +0 -1
- package/www/build/p-a23e9115.js +0 -1
- package/www/build/p-a2b67e2d.entry.js +0 -1
- package/www/build/p-a79d1412.entry.js +0 -1
- package/www/build/p-a82ea410.entry.js +0 -1
- package/www/build/p-b33f5e6a.entry.js +0 -1
- package/www/build/p-b6f36170.entry.js +0 -16
- package/www/build/p-bb0fe7bc.entry.js +0 -1
- package/www/build/p-bdc6f2e5.entry.js +0 -1
- package/www/build/p-beba3e67.entry.js +0 -1
- package/www/build/p-c25b0b2a.entry.js +0 -1
- package/www/build/p-c6aad085.entry.js +0 -1
- package/www/build/p-cd43f80d.js +0 -1
- package/www/build/p-ce83ce18.entry.js +0 -1
- package/www/build/p-db3c8e3e.entry.js +0 -1
- package/www/build/p-e40b16fa.entry.js +0 -1
- package/www/build/p-ede9fbf5.entry.js +0 -1
- package/www/build/p-f0653e72.entry.js +0 -1
- package/www/build/p-f20d1242.entry.js +0 -1
- package/www/build/p-f95cc914.entry.js +0 -1
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import Hammer from "hammerjs";
|
|
3
|
+
import { handleKeyboardSubmit } from "../../../utils/utils";
|
|
4
|
+
export class ZPaginationBar {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.velocityConstantMultiplier = 2;
|
|
7
|
+
this.pages = undefined;
|
|
8
|
+
this.visiblepages = undefined;
|
|
9
|
+
this.currentpage = 1;
|
|
10
|
+
this.startpage = 1;
|
|
11
|
+
this.historyraw = undefined;
|
|
12
|
+
this.listhistoryrow = [];
|
|
13
|
+
this.currentPages = [];
|
|
14
|
+
this.navigateRight = this.navigateRight.bind(this);
|
|
15
|
+
this.navigateLeft = this.navigateLeft.bind(this);
|
|
16
|
+
this.emitGoToPage = this.emitGoToPage.bind(this);
|
|
17
|
+
}
|
|
18
|
+
componentDidLoad() {
|
|
19
|
+
this.scrollPage = this.scrollPage.bind(this);
|
|
20
|
+
const mc = new Hammer(this.bar);
|
|
21
|
+
// listen to events...
|
|
22
|
+
mc.on("swiperight", this.scrollPage);
|
|
23
|
+
mc.on("swipeleft", this.scrollPage);
|
|
24
|
+
}
|
|
25
|
+
componentWillRender() {
|
|
26
|
+
this.initPagination();
|
|
27
|
+
}
|
|
28
|
+
componentWillUpdate() {
|
|
29
|
+
this.initPagination();
|
|
30
|
+
}
|
|
31
|
+
initPagination() {
|
|
32
|
+
this.loadPages();
|
|
33
|
+
if (this.historyraw) {
|
|
34
|
+
this.parsehistoryraw(this.historyraw);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
parsehistoryraw(historyraw) {
|
|
38
|
+
this.listhistoryrow = [...JSON.parse(historyraw)];
|
|
39
|
+
}
|
|
40
|
+
scrollPage(ev) {
|
|
41
|
+
const vel = Math.round(Math.abs(ev.velocity)) * this.velocityConstantMultiplier;
|
|
42
|
+
const deltaPage = Math.max(1, vel);
|
|
43
|
+
switch (ev.type) {
|
|
44
|
+
case "swiperight":
|
|
45
|
+
if (this.canNavigateLeft()) {
|
|
46
|
+
this.emitChangeStartPage(Math.max(1, this.startpage - deltaPage));
|
|
47
|
+
}
|
|
48
|
+
break;
|
|
49
|
+
case "swipeleft":
|
|
50
|
+
if (this.canNavigateRight()) {
|
|
51
|
+
this.emitChangeStartPage(Math.min(this.startpage + deltaPage, this.pages - this.visiblepages + 1));
|
|
52
|
+
}
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
emitGoToPage(page) {
|
|
57
|
+
this.currentpage = page;
|
|
58
|
+
this.goToPage.emit({ page: page });
|
|
59
|
+
this.addPageToHistory.emit({ page: page });
|
|
60
|
+
}
|
|
61
|
+
emitChangeStartPage(startpage) {
|
|
62
|
+
this.startpage = startpage;
|
|
63
|
+
this.changeStartPage.emit({ startpage: startpage });
|
|
64
|
+
}
|
|
65
|
+
loadPages() {
|
|
66
|
+
this.currentPages.splice(0);
|
|
67
|
+
const lastPage = this.pageWindow();
|
|
68
|
+
let i;
|
|
69
|
+
for (i = 0; i < lastPage; i++) {
|
|
70
|
+
this.currentPages.push(i + this.startpage);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
pageWindow() {
|
|
74
|
+
return Math.min(this.pages, this.visiblepages); //How many pages are there to show?
|
|
75
|
+
}
|
|
76
|
+
canNavigateLeft() {
|
|
77
|
+
return this.startpage > 1;
|
|
78
|
+
}
|
|
79
|
+
canNavigateRight() {
|
|
80
|
+
return this.startpage + this.visiblepages - 1 < this.pages;
|
|
81
|
+
}
|
|
82
|
+
navigateLeft() {
|
|
83
|
+
if (this.canNavigateLeft()) {
|
|
84
|
+
this.startpage--;
|
|
85
|
+
this.emitChangeStartPage(this.startpage);
|
|
86
|
+
this.loadPages();
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
navigateRight() {
|
|
90
|
+
if (this.canNavigateRight()) {
|
|
91
|
+
this.startpage++;
|
|
92
|
+
this.emitChangeStartPage(this.startpage);
|
|
93
|
+
this.loadPages();
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
render() {
|
|
97
|
+
return (h("div", { ref: (el) => (this.bar = el) }, h("z-icon", { name: "chevron-left", class: !this.canNavigateLeft() && "disabled", onClick: () => this.navigateLeft(), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.navigateLeft), tabindex: this.canNavigateLeft() ? 0 : -1 }), this.currentPages.map((page) => (h("z-pagination-page", { value: page, isselected: page === this.currentpage, onClick: () => this.emitGoToPage(page), onKeyDown: (ev) => handleKeyboardSubmit(ev, this.emitGoToPage, page), isvisited: this.listhistoryrow.includes(page) }))), h("z-icon", { name: "chevron-right", class: !this.canNavigateRight() && "disabled", onClick: () => this.navigateRight(), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.navigateRight), tabindex: this.canNavigateRight() ? 0 : -1 })));
|
|
98
|
+
}
|
|
99
|
+
static get is() { return "z-pagination-bar"; }
|
|
100
|
+
static get encapsulation() { return "shadow"; }
|
|
101
|
+
static get originalStyleUrls() {
|
|
102
|
+
return {
|
|
103
|
+
"$": ["styles.css"]
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
static get styleUrls() {
|
|
107
|
+
return {
|
|
108
|
+
"$": ["styles.css"]
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
static get properties() {
|
|
112
|
+
return {
|
|
113
|
+
"pages": {
|
|
114
|
+
"type": "number",
|
|
115
|
+
"mutable": false,
|
|
116
|
+
"complexType": {
|
|
117
|
+
"original": "number",
|
|
118
|
+
"resolved": "number",
|
|
119
|
+
"references": {}
|
|
120
|
+
},
|
|
121
|
+
"required": false,
|
|
122
|
+
"optional": false,
|
|
123
|
+
"docs": {
|
|
124
|
+
"tags": [],
|
|
125
|
+
"text": "pages number"
|
|
126
|
+
},
|
|
127
|
+
"attribute": "pages",
|
|
128
|
+
"reflect": false
|
|
129
|
+
},
|
|
130
|
+
"visiblepages": {
|
|
131
|
+
"type": "number",
|
|
132
|
+
"mutable": false,
|
|
133
|
+
"complexType": {
|
|
134
|
+
"original": "number",
|
|
135
|
+
"resolved": "number",
|
|
136
|
+
"references": {}
|
|
137
|
+
},
|
|
138
|
+
"required": false,
|
|
139
|
+
"optional": false,
|
|
140
|
+
"docs": {
|
|
141
|
+
"tags": [],
|
|
142
|
+
"text": "number of visible pages"
|
|
143
|
+
},
|
|
144
|
+
"attribute": "visiblepages",
|
|
145
|
+
"reflect": false
|
|
146
|
+
},
|
|
147
|
+
"currentpage": {
|
|
148
|
+
"type": "number",
|
|
149
|
+
"mutable": true,
|
|
150
|
+
"complexType": {
|
|
151
|
+
"original": "number",
|
|
152
|
+
"resolved": "number",
|
|
153
|
+
"references": {}
|
|
154
|
+
},
|
|
155
|
+
"required": false,
|
|
156
|
+
"optional": false,
|
|
157
|
+
"docs": {
|
|
158
|
+
"tags": [],
|
|
159
|
+
"text": "current displayed page (mutable)"
|
|
160
|
+
},
|
|
161
|
+
"attribute": "currentpage",
|
|
162
|
+
"reflect": false,
|
|
163
|
+
"defaultValue": "1"
|
|
164
|
+
},
|
|
165
|
+
"startpage": {
|
|
166
|
+
"type": "number",
|
|
167
|
+
"mutable": true,
|
|
168
|
+
"complexType": {
|
|
169
|
+
"original": "number",
|
|
170
|
+
"resolved": "number",
|
|
171
|
+
"references": {}
|
|
172
|
+
},
|
|
173
|
+
"required": false,
|
|
174
|
+
"optional": false,
|
|
175
|
+
"docs": {
|
|
176
|
+
"tags": [],
|
|
177
|
+
"text": "initial page (mutable)"
|
|
178
|
+
},
|
|
179
|
+
"attribute": "startpage",
|
|
180
|
+
"reflect": false,
|
|
181
|
+
"defaultValue": "1"
|
|
182
|
+
},
|
|
183
|
+
"historyraw": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"mutable": false,
|
|
186
|
+
"complexType": {
|
|
187
|
+
"original": "string",
|
|
188
|
+
"resolved": "string",
|
|
189
|
+
"references": {}
|
|
190
|
+
},
|
|
191
|
+
"required": false,
|
|
192
|
+
"optional": true,
|
|
193
|
+
"docs": {
|
|
194
|
+
"tags": [],
|
|
195
|
+
"text": "json stringified history of visited pages (optional)"
|
|
196
|
+
},
|
|
197
|
+
"attribute": "historyraw",
|
|
198
|
+
"reflect": false
|
|
199
|
+
},
|
|
200
|
+
"listhistoryrow": {
|
|
201
|
+
"type": "unknown",
|
|
202
|
+
"mutable": true,
|
|
203
|
+
"complexType": {
|
|
204
|
+
"original": "number[]",
|
|
205
|
+
"resolved": "number[]",
|
|
206
|
+
"references": {}
|
|
207
|
+
},
|
|
208
|
+
"required": false,
|
|
209
|
+
"optional": true,
|
|
210
|
+
"docs": {
|
|
211
|
+
"tags": [],
|
|
212
|
+
"text": "array of history of visited pages (mutable, optional)"
|
|
213
|
+
},
|
|
214
|
+
"defaultValue": "[]"
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
static get states() {
|
|
219
|
+
return {
|
|
220
|
+
"currentPages": {}
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
static get events() {
|
|
224
|
+
return [{
|
|
225
|
+
"method": "goToPage",
|
|
226
|
+
"name": "goToPage",
|
|
227
|
+
"bubbles": true,
|
|
228
|
+
"cancelable": true,
|
|
229
|
+
"composed": true,
|
|
230
|
+
"docs": {
|
|
231
|
+
"tags": [],
|
|
232
|
+
"text": "emitted on page number click, returns page"
|
|
233
|
+
},
|
|
234
|
+
"complexType": {
|
|
235
|
+
"original": "any",
|
|
236
|
+
"resolved": "any",
|
|
237
|
+
"references": {}
|
|
238
|
+
}
|
|
239
|
+
}, {
|
|
240
|
+
"method": "changeStartPage",
|
|
241
|
+
"name": "changeStartPage",
|
|
242
|
+
"bubbles": true,
|
|
243
|
+
"cancelable": true,
|
|
244
|
+
"composed": true,
|
|
245
|
+
"docs": {
|
|
246
|
+
"tags": [],
|
|
247
|
+
"text": "emitted on start page change, returns startpage"
|
|
248
|
+
},
|
|
249
|
+
"complexType": {
|
|
250
|
+
"original": "any",
|
|
251
|
+
"resolved": "any",
|
|
252
|
+
"references": {}
|
|
253
|
+
}
|
|
254
|
+
}, {
|
|
255
|
+
"method": "addPageToHistory",
|
|
256
|
+
"name": "addPageToHistory",
|
|
257
|
+
"bubbles": true,
|
|
258
|
+
"cancelable": true,
|
|
259
|
+
"composed": true,
|
|
260
|
+
"docs": {
|
|
261
|
+
"tags": [],
|
|
262
|
+
"text": "emitted on adding page to isvisited array, returns page"
|
|
263
|
+
},
|
|
264
|
+
"complexType": {
|
|
265
|
+
"original": "any",
|
|
266
|
+
"resolved": "any",
|
|
267
|
+
"references": {}
|
|
268
|
+
}
|
|
269
|
+
}];
|
|
270
|
+
}
|
|
271
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
:host > div {
|
|
2
|
+
display: flex;
|
|
3
|
+
height: 48px;
|
|
4
|
+
flex-flow: row nowrap;
|
|
5
|
+
align-content: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: space-around;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:host > div > z-icon {
|
|
11
|
+
margin: calc(var(--space-unit) * 2) 0;
|
|
12
|
+
color: var(--color-primary01);
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
fill: var(--color-primary01);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host > div > z-icon.disabled {
|
|
18
|
+
color: var(--color-disabled01);
|
|
19
|
+
cursor: default;
|
|
20
|
+
fill: var(--color-disabled01);
|
|
21
|
+
pointer-events: none;
|
|
22
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
export class ZPaginationPage {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.pageid = undefined;
|
|
5
|
+
this.value = undefined;
|
|
6
|
+
this.isselected = false;
|
|
7
|
+
this.isdisabled = false;
|
|
8
|
+
this.isvisited = false;
|
|
9
|
+
this.ariaLabel = "";
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h("button", { id: this.pageid, "aria-label": this.ariaLabel ? this.ariaLabel : `Go to page ${this.value}`, class: { selected: this.isselected, visited: this.isvisited }, disabled: this.isdisabled, type: "button" }, this.value));
|
|
13
|
+
}
|
|
14
|
+
static get is() { return "z-pagination-page"; }
|
|
15
|
+
static get encapsulation() { return "shadow"; }
|
|
16
|
+
static get originalStyleUrls() {
|
|
17
|
+
return {
|
|
18
|
+
"$": ["styles.css"]
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
static get styleUrls() {
|
|
22
|
+
return {
|
|
23
|
+
"$": ["styles.css"]
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
static get properties() {
|
|
27
|
+
return {
|
|
28
|
+
"pageid": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"mutable": false,
|
|
31
|
+
"complexType": {
|
|
32
|
+
"original": "string",
|
|
33
|
+
"resolved": "string",
|
|
34
|
+
"references": {}
|
|
35
|
+
},
|
|
36
|
+
"required": false,
|
|
37
|
+
"optional": false,
|
|
38
|
+
"docs": {
|
|
39
|
+
"tags": [],
|
|
40
|
+
"text": "html id"
|
|
41
|
+
},
|
|
42
|
+
"attribute": "pageid",
|
|
43
|
+
"reflect": false
|
|
44
|
+
},
|
|
45
|
+
"value": {
|
|
46
|
+
"type": "number",
|
|
47
|
+
"mutable": false,
|
|
48
|
+
"complexType": {
|
|
49
|
+
"original": "number",
|
|
50
|
+
"resolved": "number",
|
|
51
|
+
"references": {}
|
|
52
|
+
},
|
|
53
|
+
"required": false,
|
|
54
|
+
"optional": true,
|
|
55
|
+
"docs": {
|
|
56
|
+
"tags": [],
|
|
57
|
+
"text": "numeric page value (optional)"
|
|
58
|
+
},
|
|
59
|
+
"attribute": "value",
|
|
60
|
+
"reflect": false
|
|
61
|
+
},
|
|
62
|
+
"isselected": {
|
|
63
|
+
"type": "boolean",
|
|
64
|
+
"mutable": false,
|
|
65
|
+
"complexType": {
|
|
66
|
+
"original": "boolean",
|
|
67
|
+
"resolved": "boolean",
|
|
68
|
+
"references": {}
|
|
69
|
+
},
|
|
70
|
+
"required": false,
|
|
71
|
+
"optional": false,
|
|
72
|
+
"docs": {
|
|
73
|
+
"tags": [],
|
|
74
|
+
"text": "selected status flag"
|
|
75
|
+
},
|
|
76
|
+
"attribute": "isselected",
|
|
77
|
+
"reflect": false,
|
|
78
|
+
"defaultValue": "false"
|
|
79
|
+
},
|
|
80
|
+
"isdisabled": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"mutable": false,
|
|
83
|
+
"complexType": {
|
|
84
|
+
"original": "boolean",
|
|
85
|
+
"resolved": "boolean",
|
|
86
|
+
"references": {}
|
|
87
|
+
},
|
|
88
|
+
"required": false,
|
|
89
|
+
"optional": false,
|
|
90
|
+
"docs": {
|
|
91
|
+
"tags": [],
|
|
92
|
+
"text": "disabled status flag"
|
|
93
|
+
},
|
|
94
|
+
"attribute": "isdisabled",
|
|
95
|
+
"reflect": false,
|
|
96
|
+
"defaultValue": "false"
|
|
97
|
+
},
|
|
98
|
+
"isvisited": {
|
|
99
|
+
"type": "boolean",
|
|
100
|
+
"mutable": false,
|
|
101
|
+
"complexType": {
|
|
102
|
+
"original": "boolean",
|
|
103
|
+
"resolved": "boolean",
|
|
104
|
+
"references": {}
|
|
105
|
+
},
|
|
106
|
+
"required": false,
|
|
107
|
+
"optional": false,
|
|
108
|
+
"docs": {
|
|
109
|
+
"tags": [],
|
|
110
|
+
"text": "visited status flag"
|
|
111
|
+
},
|
|
112
|
+
"attribute": "isvisited",
|
|
113
|
+
"reflect": false,
|
|
114
|
+
"defaultValue": "false"
|
|
115
|
+
},
|
|
116
|
+
"ariaLabel": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"mutable": false,
|
|
119
|
+
"complexType": {
|
|
120
|
+
"original": "string",
|
|
121
|
+
"resolved": "string",
|
|
122
|
+
"references": {}
|
|
123
|
+
},
|
|
124
|
+
"required": false,
|
|
125
|
+
"optional": false,
|
|
126
|
+
"docs": {
|
|
127
|
+
"tags": [],
|
|
128
|
+
"text": "aria-label string"
|
|
129
|
+
},
|
|
130
|
+
"attribute": "aria-label",
|
|
131
|
+
"reflect": false,
|
|
132
|
+
"defaultValue": "\"\""
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
font-family: var(--font-family-sans);
|
|
4
|
+
font-weight: var(--font-sb);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host > button {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
min-width: 56px;
|
|
10
|
+
height: 48px;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
border: none;
|
|
13
|
+
border-bottom: var(--border-size-large) solid transparent;
|
|
14
|
+
margin: 0;
|
|
15
|
+
background: transparent;
|
|
16
|
+
color: var(--color-primary01);
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
font-family: var(--font-family-sans);
|
|
19
|
+
font-size: var(--font-size-2);
|
|
20
|
+
font-weight: inherit;
|
|
21
|
+
line-height: 48px;
|
|
22
|
+
outline: none;
|
|
23
|
+
text-align: center;
|
|
24
|
+
text-decoration: none;
|
|
25
|
+
transition: border-bottom 0.2s ease, font-size 0.2s ease;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host > button[disabled] {
|
|
29
|
+
color: var(--color-disabled02);
|
|
30
|
+
cursor: default;
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:host > button:hover {
|
|
35
|
+
border-bottom: var(--border-size-large) solid var(--color-hover-light);
|
|
36
|
+
background-color: var(--color-background);
|
|
37
|
+
text-decoration: none;
|
|
38
|
+
transition: border-bottom 0.2s ease, background-color 0.2s ease;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:host > button:focus {
|
|
42
|
+
border-bottom: var(--border-size-large) solid var(--color-hover-light);
|
|
43
|
+
background-color: var(--color-background);
|
|
44
|
+
box-shadow: var(--shadow-focus-primary);
|
|
45
|
+
text-decoration: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host > button.visited {
|
|
49
|
+
border-color: var(--color-hover-light);
|
|
50
|
+
text-decoration: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:host > button.selected {
|
|
54
|
+
border-bottom: var(--border-size-large) solid var(--color-primary01);
|
|
55
|
+
font-size: var(--font-size-7);
|
|
56
|
+
transition: border-bottom 0.2s ease, font-size 0.2s ease;
|
|
57
|
+
}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { ButtonVariant, ButtonType, ButtonSize } from "../../beans";
|
|
3
|
+
/**
|
|
4
|
+
* @slot - button label
|
|
5
|
+
*/
|
|
6
|
+
export class ZButtonDeprecated {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.htmlid = undefined;
|
|
9
|
+
this.name = undefined;
|
|
10
|
+
this.disabled = false;
|
|
11
|
+
this.type = ButtonType.BUTTON;
|
|
12
|
+
this.variant = ButtonVariant.PRIMARY;
|
|
13
|
+
this.icon = undefined;
|
|
14
|
+
this.size = ButtonSize.BIG;
|
|
15
|
+
this.issmall = false;
|
|
16
|
+
this.square = false;
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
this.hostElement.style.pointerEvents = this.disabled ? "none" : "auto";
|
|
20
|
+
return (h("slot", { name: "element" }, h("button", { id: this.htmlid, name: this.name, type: this.type, disabled: this.disabled, class: {
|
|
21
|
+
[this.variant]: true,
|
|
22
|
+
[this.size]: true,
|
|
23
|
+
issmall: this.issmall,
|
|
24
|
+
square: this.square,
|
|
25
|
+
} }, this.icon && (h("z-icon", { name: this.icon, width: 16, height: 16 })), h("slot", null))));
|
|
26
|
+
}
|
|
27
|
+
static get is() { return "z-button-deprecated"; }
|
|
28
|
+
static get encapsulation() { return "shadow"; }
|
|
29
|
+
static get originalStyleUrls() {
|
|
30
|
+
return {
|
|
31
|
+
"$": ["styles.css"]
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
static get styleUrls() {
|
|
35
|
+
return {
|
|
36
|
+
"$": ["styles.css"]
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
static get properties() {
|
|
40
|
+
return {
|
|
41
|
+
"htmlid": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"mutable": false,
|
|
44
|
+
"complexType": {
|
|
45
|
+
"original": "string",
|
|
46
|
+
"resolved": "string",
|
|
47
|
+
"references": {}
|
|
48
|
+
},
|
|
49
|
+
"required": false,
|
|
50
|
+
"optional": true,
|
|
51
|
+
"docs": {
|
|
52
|
+
"tags": [],
|
|
53
|
+
"text": "Identifier, should be unique."
|
|
54
|
+
},
|
|
55
|
+
"attribute": "htmlid",
|
|
56
|
+
"reflect": false
|
|
57
|
+
},
|
|
58
|
+
"name": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"mutable": false,
|
|
61
|
+
"complexType": {
|
|
62
|
+
"original": "string",
|
|
63
|
+
"resolved": "string",
|
|
64
|
+
"references": {}
|
|
65
|
+
},
|
|
66
|
+
"required": false,
|
|
67
|
+
"optional": true,
|
|
68
|
+
"docs": {
|
|
69
|
+
"tags": [],
|
|
70
|
+
"text": "HTML button name attribute."
|
|
71
|
+
},
|
|
72
|
+
"attribute": "name",
|
|
73
|
+
"reflect": false
|
|
74
|
+
},
|
|
75
|
+
"disabled": {
|
|
76
|
+
"type": "boolean",
|
|
77
|
+
"mutable": false,
|
|
78
|
+
"complexType": {
|
|
79
|
+
"original": "boolean",
|
|
80
|
+
"resolved": "boolean",
|
|
81
|
+
"references": {}
|
|
82
|
+
},
|
|
83
|
+
"required": false,
|
|
84
|
+
"optional": true,
|
|
85
|
+
"docs": {
|
|
86
|
+
"tags": [],
|
|
87
|
+
"text": "HTML button disabled attribute."
|
|
88
|
+
},
|
|
89
|
+
"attribute": "disabled",
|
|
90
|
+
"reflect": true,
|
|
91
|
+
"defaultValue": "false"
|
|
92
|
+
},
|
|
93
|
+
"type": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"mutable": false,
|
|
96
|
+
"complexType": {
|
|
97
|
+
"original": "ButtonType",
|
|
98
|
+
"resolved": "ButtonType.BUTTON | ButtonType.RESET | ButtonType.SUBMIT",
|
|
99
|
+
"references": {
|
|
100
|
+
"ButtonType": {
|
|
101
|
+
"location": "import",
|
|
102
|
+
"path": "../../beans"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"required": false,
|
|
107
|
+
"optional": true,
|
|
108
|
+
"docs": {
|
|
109
|
+
"tags": [],
|
|
110
|
+
"text": "HTML button type attribute."
|
|
111
|
+
},
|
|
112
|
+
"attribute": "type",
|
|
113
|
+
"reflect": false,
|
|
114
|
+
"defaultValue": "ButtonType.BUTTON"
|
|
115
|
+
},
|
|
116
|
+
"variant": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"mutable": false,
|
|
119
|
+
"complexType": {
|
|
120
|
+
"original": "ButtonVariant",
|
|
121
|
+
"resolved": "ButtonVariant.DARK_BG | ButtonVariant.PRIMARY | ButtonVariant.SECONDARY | ButtonVariant.TERTIARY",
|
|
122
|
+
"references": {
|
|
123
|
+
"ButtonVariant": {
|
|
124
|
+
"location": "import",
|
|
125
|
+
"path": "../../beans"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"required": false,
|
|
130
|
+
"optional": true,
|
|
131
|
+
"docs": {
|
|
132
|
+
"tags": [],
|
|
133
|
+
"text": "Graphical variant: `primary`, `secondary`, `tertiary`, `dark-bg`. Defaults to `primary`."
|
|
134
|
+
},
|
|
135
|
+
"attribute": "variant",
|
|
136
|
+
"reflect": true,
|
|
137
|
+
"defaultValue": "ButtonVariant.PRIMARY"
|
|
138
|
+
},
|
|
139
|
+
"icon": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"mutable": false,
|
|
142
|
+
"complexType": {
|
|
143
|
+
"original": "string",
|
|
144
|
+
"resolved": "string",
|
|
145
|
+
"references": {}
|
|
146
|
+
},
|
|
147
|
+
"required": false,
|
|
148
|
+
"optional": true,
|
|
149
|
+
"docs": {
|
|
150
|
+
"tags": [],
|
|
151
|
+
"text": "`z-icon` name to use (optional)."
|
|
152
|
+
},
|
|
153
|
+
"attribute": "icon",
|
|
154
|
+
"reflect": false
|
|
155
|
+
},
|
|
156
|
+
"size": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"mutable": false,
|
|
159
|
+
"complexType": {
|
|
160
|
+
"original": "ButtonSize",
|
|
161
|
+
"resolved": "ButtonSize.BIG | ButtonSize.SMALL | ButtonSize.X_SMALL",
|
|
162
|
+
"references": {
|
|
163
|
+
"ButtonSize": {
|
|
164
|
+
"location": "import",
|
|
165
|
+
"path": "../../beans"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"required": false,
|
|
170
|
+
"optional": true,
|
|
171
|
+
"docs": {
|
|
172
|
+
"tags": [],
|
|
173
|
+
"text": "Available sizes: `big`, `small` and `x-small`. Defaults to `big`."
|
|
174
|
+
},
|
|
175
|
+
"attribute": "size",
|
|
176
|
+
"reflect": true,
|
|
177
|
+
"defaultValue": "ButtonSize.BIG"
|
|
178
|
+
},
|
|
179
|
+
"issmall": {
|
|
180
|
+
"type": "boolean",
|
|
181
|
+
"mutable": false,
|
|
182
|
+
"complexType": {
|
|
183
|
+
"original": "boolean",
|
|
184
|
+
"resolved": "boolean",
|
|
185
|
+
"references": {}
|
|
186
|
+
},
|
|
187
|
+
"required": false,
|
|
188
|
+
"optional": true,
|
|
189
|
+
"docs": {
|
|
190
|
+
"tags": [{
|
|
191
|
+
"name": "deprecated",
|
|
192
|
+
"text": "Use `size` prop."
|
|
193
|
+
}],
|
|
194
|
+
"text": "Reduce button size (deprecated)."
|
|
195
|
+
},
|
|
196
|
+
"attribute": "issmall",
|
|
197
|
+
"reflect": true,
|
|
198
|
+
"defaultValue": "false"
|
|
199
|
+
},
|
|
200
|
+
"square": {
|
|
201
|
+
"type": "boolean",
|
|
202
|
+
"mutable": false,
|
|
203
|
+
"complexType": {
|
|
204
|
+
"original": "boolean",
|
|
205
|
+
"resolved": "boolean",
|
|
206
|
+
"references": {}
|
|
207
|
+
},
|
|
208
|
+
"required": false,
|
|
209
|
+
"optional": true,
|
|
210
|
+
"docs": {
|
|
211
|
+
"tags": [],
|
|
212
|
+
"text": "Spy to render square button."
|
|
213
|
+
},
|
|
214
|
+
"attribute": "square",
|
|
215
|
+
"reflect": true,
|
|
216
|
+
"defaultValue": "false"
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
static get elementRef() { return "hostElement"; }
|
|
221
|
+
}
|