@zanichelli/albe-web-components 5.5.1-rc.2 → 5.5.1
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 +2 -0
- package/dist/cjs/_commonjsHelpers-10109b76.js +48 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/css-shim-f1391d35.js +6 -0
- package/dist/cjs/dom-5345ed9a.js +75 -0
- package/dist/cjs/hammer-0741ba49.js +2651 -0
- package/dist/cjs/index-438f76bc.js +334 -0
- package/dist/cjs/index-545547ad.js +66 -0
- package/dist/cjs/index-6b6a3299.js +315 -0
- package/dist/cjs/index-fcbe2d6e.js +3093 -0
- package/dist/cjs/index.cjs.js +284 -2
- package/dist/cjs/loader.cjs.js +18 -2
- package/dist/cjs/shadow-css-42acdd0e.js +390 -0
- package/dist/cjs/utils-0a978fe0.js +118 -0
- package/dist/cjs/utils-56c20ead.js +118 -0
- package/dist/cjs/utils-69e42a14.js +2742 -0
- package/dist/cjs/{utils-eca6932d.js → utils-8cc414c9.js} +1 -1
- package/dist/cjs/{utils-21d41d92.js → utils-aca0a0b6.js} +25 -3
- package/dist/cjs/web-components-library.cjs.js +116 -4
- 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.cjs.entry.js +29 -0
- package/dist/cjs/z-app-switcher_11.cjs.entry.js +377 -0
- package/dist/cjs/z-app-topbar.cjs.entry.js +41 -0
- 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.cjs.entry.js +17 -0
- package/dist/cjs/z-button-deprecated.cjs.entry.js +4 -4
- 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 +1 -1
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +5 -5
- 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-date-picker.cjs.entry.js +14 -8
- package/dist/cjs/z-divider.cjs.entry.js +26 -0
- package/dist/cjs/z-dragdrop-area.cjs.entry.js +37 -0
- package/dist/cjs/z-file-upload.cjs.entry.js +12 -26
- package/dist/cjs/z-file.cjs.entry.js +4 -4
- package/dist/cjs/z-footer-link.cjs.entry.js +19 -0
- package/dist/cjs/z-footer-section.cjs.entry.js +23 -0
- package/dist/cjs/z-footer-social.cjs.entry.js +19 -0
- 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-heading.cjs.entry.js +17 -0
- package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
- package/dist/cjs/z-icon.cjs.entry.js +28 -0
- 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.cjs.entry.js +21 -0
- package/dist/cjs/z-input-label_2.cjs.entry.js +2 -2
- package/dist/cjs/z-input-message.cjs.entry.js +24 -0
- package/dist/cjs/z-input.cjs.entry.js +235 -0
- package/dist/cjs/z-input_2.cjs.entry.js +228 -0
- package/dist/cjs/z-link.cjs.entry.js +71 -0
- package/dist/cjs/z-list-element.cjs.entry.js +154 -0
- package/dist/cjs/z-list-group.cjs.entry.js +2 -2
- package/dist/cjs/z-list.cjs.entry.js +34 -0
- package/dist/cjs/z-list_2.cjs.entry.js +1 -1
- package/dist/cjs/z-logo.cjs.entry.js +28 -0
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +60 -0
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +2 -2
- 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-body.cjs.entry.js +19 -0
- package/dist/cjs/z-myz-card-cover.cjs.entry.js +22 -0
- 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-header.cjs.entry.js +39 -0
- 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.cjs.entry.js +43 -0
- package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-list.cjs.entry.js +35 -0
- 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 +7 -5
- 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-body.cjs.entry.js +27 -0
- package/dist/cjs/z-pocket-header.cjs.entry.js +40 -0
- package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket.cjs.entry.js +72 -0
- package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +5 -5
- package/dist/cjs/z-popover.cjs.entry.js +2 -2
- package/dist/cjs/{z-app-switcher_9.cjs.entry.js → z-range-picker.cjs.entry.js} +14 -443
- package/dist/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/cjs/z-select.cjs.entry.js +257 -0
- 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 +4 -4
- 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 +4 -4
- package/dist/cjs/z-table-empty-box.cjs.entry.js +3 -3
- 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 +5 -5
- 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 +4 -4
- 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-typography.cjs.entry.js +29 -0
- 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/components/buttons/z-chip/index.js +1 -1
- package/dist/collection/components/buttons/z-chip/styles.css +9 -2
- package/dist/collection/components/file-upload/z-file/index.js +3 -19
- package/dist/collection/components/file-upload/z-file-upload/index.js +11 -46
- package/dist/collection/components/z-date-picker/index.js +284 -0
- package/dist/collection/components/z-date-picker/styles.css +525 -0
- package/dist/collection/index.js +1 -0
- package/dist/esm/_commonjsHelpers-8fe71198.js +44 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/css-shim-10e6e2ae.js +4 -0
- package/dist/esm/dom-7cd9cf71.js +73 -0
- package/dist/esm/hammer-782a2043.js +2649 -0
- package/dist/esm/{index-e5e2b27f.js → index-3b53c63e.js} +1 -1
- package/dist/esm/index-3ee81524.js +334 -0
- package/dist/esm/index-46ca649a.js +315 -0
- package/dist/esm/index-51f075dd.js +64 -0
- package/dist/esm/index-81176684.js +3057 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +18 -2
- package/dist/esm/shadow-css-38a1326b.js +388 -0
- package/dist/esm/{utils-34c0d609.js → utils-1e801ac0.js} +26 -4
- package/dist/esm/utils-43f2cad8.js +2736 -0
- package/dist/esm/{utils-9fa9c37c.js → utils-5d5963ef.js} +2 -2
- package/dist/esm/utils-a3134cfb.js +109 -0
- package/dist/esm/utils-e5940345.js +109 -0
- package/dist/esm/web-components-library.js +116 -4
- 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.entry.js +25 -0
- package/dist/esm/z-app-switcher_11.entry.js +363 -0
- package/dist/esm/z-app-topbar.entry.js +37 -0
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-body.entry.js +13 -0
- package/dist/esm/z-button-deprecated.entry.js +4 -4
- 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 +1 -1
- package/dist/esm/z-chip-deprecated.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +5 -5
- 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-date-picker.entry.js +14 -8
- package/dist/esm/z-divider.entry.js +22 -0
- package/dist/esm/z-dragdrop-area.entry.js +33 -0
- package/dist/esm/z-file-upload.entry.js +12 -26
- package/dist/esm/z-file.entry.js +4 -4
- package/dist/esm/z-footer-link.entry.js +15 -0
- package/dist/esm/z-footer-section.entry.js +19 -0
- package/dist/esm/z-footer-social.entry.js +15 -0
- package/dist/esm/z-footer.entry.js +2 -2
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-heading.entry.js +13 -0
- package/dist/esm/z-icon-package.entry.js +1 -1
- package/dist/esm/z-icon.entry.js +24 -0
- 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.entry.js +17 -0
- package/dist/esm/z-input-label_2.entry.js +2 -2
- package/dist/esm/z-input-message.entry.js +20 -0
- package/dist/esm/z-input.entry.js +231 -0
- package/dist/esm/z-input_2.entry.js +223 -0
- package/dist/esm/z-link.entry.js +67 -0
- package/dist/esm/z-list-element.entry.js +150 -0
- package/dist/esm/z-list-group.entry.js +2 -2
- package/dist/esm/z-list.entry.js +30 -0
- package/dist/esm/z-list_2.entry.js +1 -1
- package/dist/esm/z-logo.entry.js +24 -0
- package/dist/esm/z-menu-dropdown.entry.js +56 -0
- package/dist/esm/z-menu-dropdown_2.entry.js +2 -2
- 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-body.entry.js +15 -0
- package/dist/esm/z-myz-card-cover.entry.js +18 -0
- 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-header.entry.js +35 -0
- 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.entry.js +39 -0
- package/dist/esm/z-myz-card_4.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +3 -3
- package/dist/esm/z-myz-list.entry.js +31 -0
- 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 +7 -5
- 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-body.entry.js +23 -0
- package/dist/esm/z-pocket-header.entry.js +36 -0
- package/dist/esm/z-pocket-message.entry.js +1 -1
- package/dist/esm/z-pocket.entry.js +68 -0
- package/dist/esm/z-pocket_3.entry.js +2 -2
- package/dist/esm/z-popover-deprecated.entry.js +5 -5
- package/dist/esm/z-popover.entry.js +2 -2
- package/dist/esm/{z-app-switcher_9.entry.js → z-range-picker.entry.js} +5 -426
- package/dist/esm/z-section-title.entry.js +2 -2
- package/dist/esm/z-select.entry.js +253 -0
- 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 +4 -4
- 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 +4 -4
- package/dist/esm/z-table-empty-box.entry.js +3 -3
- 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 +5 -5
- 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 +4 -4
- 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-typography.entry.js +25 -0
- package/dist/esm/z-user-dropdown.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/components/file-upload/z-file/index.d.ts +0 -2
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +3 -5
- package/dist/types/components/z-date-picker/index.d.ts +30 -0
- package/dist/types/components.d.ts +0 -12
- package/dist/types/index.d.ts +1 -0
- package/dist/web-components-library/_commonjsHelpers-8fe71198.js +44 -0
- package/dist/web-components-library/app-globals-0f993ce5.js +3 -0
- package/dist/web-components-library/breakpoints-c386984e.js +4 -0
- package/dist/web-components-library/css-shim-10e6e2ae.js +4 -0
- package/dist/web-components-library/dom-7cd9cf71.js +73 -0
- package/dist/web-components-library/hammer-782a2043.js +2649 -0
- package/dist/web-components-library/icons-92a7dcde.js +511 -0
- package/dist/web-components-library/index-3b53c63e.js +334 -0
- package/dist/web-components-library/index-3ee81524.js +334 -0
- package/dist/web-components-library/index-51f075dd.js +64 -0
- package/dist/web-components-library/index-81176684.js +3057 -0
- package/dist/web-components-library/index.esm.js +9 -1
- package/{www/build/p-3ade68ff.entry.js → dist/web-components-library/p-02ea7e49.entry.js} +1 -1
- package/dist/web-components-library/{p-39dbb042.entry.js → p-0a0aee35.entry.js} +1 -1
- package/dist/web-components-library/p-0d29d851.entry.js +1 -0
- package/dist/web-components-library/{p-a73195b6.entry.js → p-0e256fdc.entry.js} +1 -1
- package/dist/web-components-library/p-0e408871.entry.js +1 -0
- package/dist/web-components-library/p-0ef6c549.entry.js +1 -0
- package/dist/web-components-library/{p-afed0692.entry.js → p-0f17db30.entry.js} +1 -1
- package/dist/web-components-library/{p-80f26a20.entry.js → p-1727c1c8.entry.js} +1 -1
- package/dist/web-components-library/p-1f73a6d8.entry.js +1 -0
- package/dist/web-components-library/p-20d62443.entry.js +1 -0
- package/dist/web-components-library/{p-2ed37f62.entry.js → p-292bc0c4.entry.js} +1 -1
- package/dist/web-components-library/{p-1c790896.entry.js → p-3c111c2a.entry.js} +1 -1
- package/{www/build/p-9504d075.entry.js → dist/web-components-library/p-3edbd35c.entry.js} +1 -1
- package/dist/web-components-library/{p-ac52264c.entry.js → p-43329b81.entry.js} +1 -1
- package/{www/build/p-96bf5b15.entry.js → dist/web-components-library/p-4af112a7.entry.js} +1 -1
- package/dist/web-components-library/{p-3d748f0d.entry.js → p-51cdabeb.entry.js} +1 -1
- package/dist/web-components-library/{p-3700ad63.entry.js → p-55ddbfe9.entry.js} +1 -1
- package/dist/web-components-library/p-562e2d52.entry.js +1 -0
- package/dist/web-components-library/{p-07ae4f7d.entry.js → p-57d1acdc.entry.js} +1 -1
- package/dist/web-components-library/{p-eddde828.entry.js → p-5be162d5.entry.js} +1 -1
- package/dist/web-components-library/p-5eacbfc7.entry.js +1 -0
- package/dist/web-components-library/p-6218514a.entry.js +1 -0
- package/dist/web-components-library/{p-27666111.entry.js → p-63ccb013.entry.js} +1 -1
- package/{www/build/p-ba76f52b.entry.js → dist/web-components-library/p-69ef6ddc.entry.js} +1 -1
- package/dist/web-components-library/{p-d4c5085b.entry.js → p-6c6b4e80.entry.js} +1 -1
- package/dist/web-components-library/p-71accd8e.entry.js +1 -0
- package/dist/web-components-library/{p-faeb0c6e.entry.js → p-7c6d4440.entry.js} +1 -1
- package/dist/web-components-library/{p-b621a765.entry.js → p-8fbc2ce9.entry.js} +1 -1
- package/dist/web-components-library/{p-7e691a4e.entry.js → p-9074e1a5.entry.js} +1 -1
- package/dist/web-components-library/p-99d7ab2f.entry.js +1 -0
- package/dist/web-components-library/p-9a5ee6c2.entry.js +1 -0
- package/dist/web-components-library/p-9f5d707a.js +1 -0
- package/dist/web-components-library/{p-977c81d3.entry.js → p-9f9e4266.entry.js} +1 -1
- package/dist/web-components-library/p-a8875b97.entry.js +16 -0
- package/dist/web-components-library/{p-cb4a854e.entry.js → p-b15efba3.entry.js} +1 -1
- package/dist/web-components-library/{p-5aa819f8.js → p-b9da171f.js} +1 -1
- package/dist/web-components-library/{p-91cbf793.entry.js → p-ba29bc12.entry.js} +1 -1
- package/dist/web-components-library/{p-766eb9cf.entry.js → p-bfe5693d.entry.js} +1 -1
- package/dist/web-components-library/{p-215adfd1.entry.js → p-ccdebe3f.entry.js} +1 -1
- package/dist/web-components-library/{p-e6fb8b76.entry.js → p-d33fea26.entry.js} +1 -1
- package/dist/web-components-library/p-d39c0372.entry.js +1 -0
- package/{www/build/p-e5eb1fa4.entry.js → dist/web-components-library/p-d97a2db9.entry.js} +1 -1
- package/dist/web-components-library/p-d995d9dc.entry.js +1 -0
- package/dist/web-components-library/{p-846f16e8.entry.js → p-de25c7f0.entry.js} +1 -1
- package/{www/build/p-818c073b.entry.js → dist/web-components-library/p-df4e963b.entry.js} +1 -1
- package/dist/web-components-library/{p-d5e67db8.entry.js → p-dffdf60a.entry.js} +1 -1
- package/{www/build/p-878e62e2.entry.js → dist/web-components-library/p-e2102da3.entry.js} +1 -1
- package/dist/web-components-library/p-e2431b92.entry.js +1 -0
- package/dist/web-components-library/{p-7f48b622.entry.js → p-edb8d2ab.entry.js} +1 -1
- package/dist/web-components-library/{p-cb3663e6.entry.js → p-fe927bf4.entry.js} +1 -1
- package/dist/web-components-library/shadow-css-38a1326b.js +388 -0
- package/dist/web-components-library/utils-1e801ac0.js +2736 -0
- package/dist/web-components-library/utils-43f2cad8.js +2736 -0
- package/dist/web-components-library/utils-a3134cfb.js +109 -0
- package/dist/web-components-library/utils-e5940345.js +109 -0
- package/dist/web-components-library/web-components-library.css +812 -1
- package/dist/web-components-library/web-components-library.esm.js +129 -1
- package/dist/web-components-library/z-alert.entry.js +15 -0
- package/dist/web-components-library/z-app-header.entry.js +127 -0
- package/dist/web-components-library/z-app-switcher.entry.js +25 -0
- package/dist/web-components-library/z-app-topbar.entry.js +37 -0
- package/dist/web-components-library/z-aria-alert.entry.js +14 -0
- package/dist/web-components-library/z-avatar.entry.js +39 -0
- package/dist/web-components-library/z-body.entry.js +13 -0
- package/dist/web-components-library/z-button-deprecated.entry.js +34 -0
- package/dist/web-components-library/z-button-filter.entry.js +45 -0
- package/dist/web-components-library/z-button-sort.entry.js +50 -0
- package/dist/web-components-library/z-button.entry.js +38 -0
- package/dist/web-components-library/z-candybar.entry.js +15 -0
- package/dist/web-components-library/z-card.entry.js +65 -0
- package/dist/web-components-library/z-carousel.entry.js +20 -0
- package/dist/web-components-library/z-chip-deprecated.entry.js +20 -0
- package/dist/web-components-library/z-chip.entry.js +33 -0
- package/dist/web-components-library/z-combobox.entry.js +166 -0
- package/dist/web-components-library/z-contextual-menu.entry.js +47 -0
- package/dist/web-components-library/z-cookiebar.entry.js +38 -0
- package/dist/web-components-library/z-date-picker.entry.js +484 -0
- package/dist/web-components-library/z-divider.entry.js +22 -0
- package/dist/web-components-library/z-dragdrop-area.entry.js +33 -0
- package/dist/web-components-library/z-file-upload.entry.js +168 -0
- package/dist/web-components-library/z-file.entry.js +44 -0
- package/dist/web-components-library/z-footer-link.entry.js +15 -0
- package/dist/web-components-library/z-footer-section.entry.js +19 -0
- package/dist/web-components-library/z-footer-social.entry.js +15 -0
- package/dist/web-components-library/z-footer.entry.js +103 -0
- package/dist/web-components-library/z-ghost-loading.entry.js +15 -0
- package/dist/web-components-library/z-heading.entry.js +13 -0
- package/dist/web-components-library/z-icon-package.entry.js +19 -0
- package/dist/web-components-library/z-icon.entry.js +24 -0
- package/dist/web-components-library/z-info-box.entry.js +21 -0
- package/dist/web-components-library/z-info-reveal.entry.js +60 -0
- package/dist/web-components-library/z-input-deprecated.entry.js +267 -0
- package/dist/web-components-library/z-input-label.entry.js +17 -0
- package/dist/web-components-library/z-input-message.entry.js +20 -0
- package/dist/web-components-library/z-input.entry.js +231 -0
- package/dist/web-components-library/z-link.entry.js +67 -0
- package/dist/web-components-library/z-list-element.entry.js +150 -0
- package/dist/web-components-library/z-list-group.entry.js +50 -0
- package/dist/web-components-library/z-list.entry.js +30 -0
- package/dist/web-components-library/z-logo.entry.js +24 -0
- package/dist/web-components-library/z-menu-dropdown.entry.js +56 -0
- package/dist/web-components-library/z-menu-section.entry.js +42 -0
- package/dist/web-components-library/z-menu.entry.js +106 -0
- package/dist/web-components-library/z-messages-pocket.entry.js +42 -0
- package/dist/web-components-library/z-modal-login.entry.js +78 -0
- package/dist/web-components-library/z-modal.entry.js +32 -0
- package/dist/web-components-library/z-myz-card-alert.entry.js +59 -0
- package/dist/web-components-library/z-myz-card-body.entry.js +15 -0
- package/dist/web-components-library/z-myz-card-cover.entry.js +18 -0
- package/dist/web-components-library/z-myz-card-dictionary.entry.js +32 -0
- package/dist/web-components-library/z-myz-card-footer-sections.entry.js +15 -0
- package/dist/web-components-library/z-myz-card-footer.entry.js +52 -0
- package/dist/web-components-library/z-myz-card-header.entry.js +35 -0
- package/dist/web-components-library/z-myz-card-icon.entry.js +17 -0
- package/dist/web-components-library/z-myz-card-info.entry.js +115 -0
- package/dist/web-components-library/z-myz-card-list.entry.js +33 -0
- package/dist/web-components-library/z-myz-card.entry.js +39 -0
- package/dist/web-components-library/z-myz-list-item.entry.js +33 -0
- package/dist/web-components-library/z-myz-list.entry.js +31 -0
- package/dist/web-components-library/z-myz-topbar.entry.js +190 -0
- package/dist/web-components-library/z-navigation-tab-link.entry.js +67 -0
- package/dist/web-components-library/z-navigation-tab.entry.js +69 -0
- package/dist/web-components-library/z-navigation-tabs.entry.js +122 -0
- package/dist/web-components-library/z-notification.entry.js +42 -0
- package/dist/web-components-library/z-offcanvas.entry.js +59 -0
- package/dist/web-components-library/z-otp.entry.js +37 -0
- package/dist/web-components-library/z-pagination-bar.entry.js +126 -0
- package/dist/web-components-library/z-pagination-page.entry.js +21 -0
- package/dist/web-components-library/z-pagination.entry.js +228 -0
- package/dist/web-components-library/z-panel-elem.entry.js +26 -0
- package/dist/web-components-library/z-pocket-body.entry.js +23 -0
- package/dist/web-components-library/z-pocket-header.entry.js +36 -0
- package/dist/web-components-library/z-pocket-message.entry.js +15 -0
- package/dist/web-components-library/z-pocket.entry.js +68 -0
- package/dist/web-components-library/z-popover-deprecated.entry.js +128 -0
- package/dist/web-components-library/z-popover.entry.js +332 -0
- package/dist/web-components-library/z-range-picker.entry.js +354 -0
- package/dist/web-components-library/z-section-title.entry.js +38 -0
- package/dist/web-components-library/z-select.entry.js +253 -0
- package/dist/web-components-library/z-skip-to-content.entry.js +64 -0
- package/dist/web-components-library/z-slideshow.entry.js +108 -0
- package/dist/web-components-library/z-status-tag.entry.js +25 -0
- package/dist/web-components-library/z-stepper-item.entry.js +18 -0
- package/dist/web-components-library/z-stepper.entry.js +15 -0
- package/dist/web-components-library/z-table-body.entry.js +20 -0
- package/dist/web-components-library/z-table-cell.entry.js +32 -0
- package/dist/web-components-library/z-table-empty-box.entry.js +28 -0
- package/dist/web-components-library/z-table-expanded-row.entry.js +15 -0
- package/dist/web-components-library/z-table-footer.entry.js +19 -0
- package/dist/web-components-library/z-table-head.entry.js +19 -0
- package/dist/web-components-library/z-table-header-row.entry.js +18 -0
- package/dist/web-components-library/z-table-header.entry.js +81 -0
- package/dist/web-components-library/z-table-row.entry.js +39 -0
- package/dist/web-components-library/z-table-sticky-footer.entry.js +15 -0
- package/dist/web-components-library/z-table.entry.js +78 -0
- package/dist/web-components-library/z-tag.entry.js +18 -0
- package/dist/web-components-library/z-toast-notification-list.entry.js +52 -0
- package/dist/web-components-library/z-toast-notification.entry.js +199 -0
- package/dist/web-components-library/z-toggle-button.entry.js +32 -0
- package/dist/web-components-library/z-toggle-switch.entry.js +45 -0
- package/dist/web-components-library/z-tooltip-deprecated.entry.js +270 -0
- package/dist/web-components-library/z-tooltip.entry.js +27 -0
- package/dist/web-components-library/z-typography.entry.js +25 -0
- package/dist/web-components-library/z-user-dropdown.entry.js +91 -0
- package/dist/web-components-library/z-visually-hidden.entry.js +15 -0
- package/package.json +1 -2
- package/react/components.d.ts +0 -4
- package/react/components.js +3 -7
- package/react/components.js.map +1 -1
- package/readme.md +0 -8
- package/www/build/_commonjsHelpers-8fe71198.js +44 -0
- package/www/build/app-globals-0f993ce5.js +3 -0
- package/www/build/breakpoints-c386984e.js +4 -0
- package/www/build/css-shim-10e6e2ae.js +4 -0
- package/www/build/dom-7cd9cf71.js +73 -0
- package/www/build/hammer-782a2043.js +2649 -0
- package/www/build/icons-92a7dcde.js +511 -0
- package/www/build/index-3b53c63e.js +334 -0
- package/www/build/index-3ee81524.js +334 -0
- package/www/build/index-51f075dd.js +64 -0
- package/www/build/index-81176684.js +3057 -0
- package/www/build/index.esm.js +9 -1
- package/{dist/web-components-library/p-3ade68ff.entry.js → www/build/p-02ea7e49.entry.js} +1 -1
- package/www/build/{p-39dbb042.entry.js → p-0a0aee35.entry.js} +1 -1
- package/www/build/p-0d29d851.entry.js +1 -0
- package/www/build/{p-a73195b6.entry.js → p-0e256fdc.entry.js} +1 -1
- package/www/build/p-0e408871.entry.js +1 -0
- package/www/build/p-0ef6c549.entry.js +1 -0
- package/www/build/{p-afed0692.entry.js → p-0f17db30.entry.js} +1 -1
- package/www/build/{p-80f26a20.entry.js → p-1727c1c8.entry.js} +1 -1
- package/www/build/p-1f73a6d8.entry.js +1 -0
- package/www/build/p-20d62443.entry.js +1 -0
- package/www/build/{p-2ed37f62.entry.js → p-292bc0c4.entry.js} +1 -1
- package/www/build/{p-1c790896.entry.js → p-3c111c2a.entry.js} +1 -1
- package/{dist/web-components-library/p-9504d075.entry.js → www/build/p-3edbd35c.entry.js} +1 -1
- package/www/build/{p-ac52264c.entry.js → p-43329b81.entry.js} +1 -1
- package/{dist/web-components-library/p-96bf5b15.entry.js → www/build/p-4af112a7.entry.js} +1 -1
- package/www/build/{p-3d748f0d.entry.js → p-51cdabeb.entry.js} +1 -1
- package/www/build/{p-3700ad63.entry.js → p-55ddbfe9.entry.js} +1 -1
- package/www/build/p-562e2d52.entry.js +1 -0
- package/www/build/{p-07ae4f7d.entry.js → p-57d1acdc.entry.js} +1 -1
- package/www/build/{p-eddde828.entry.js → p-5be162d5.entry.js} +1 -1
- package/www/build/p-5eacbfc7.entry.js +1 -0
- package/www/build/p-6218514a.entry.js +1 -0
- package/www/build/{p-27666111.entry.js → p-63ccb013.entry.js} +1 -1
- package/{dist/web-components-library/p-ba76f52b.entry.js → www/build/p-69ef6ddc.entry.js} +1 -1
- package/www/build/{p-d4c5085b.entry.js → p-6c6b4e80.entry.js} +1 -1
- package/www/build/p-71accd8e.entry.js +1 -0
- package/www/build/p-7a92487a.js +1 -0
- package/www/build/{p-faeb0c6e.entry.js → p-7c6d4440.entry.js} +1 -1
- package/www/build/p-88b56b6e.css +1 -0
- package/www/build/{p-b621a765.entry.js → p-8fbc2ce9.entry.js} +1 -1
- package/www/build/{p-7e691a4e.entry.js → p-9074e1a5.entry.js} +1 -1
- package/www/build/p-99d7ab2f.entry.js +1 -0
- package/www/build/p-9a5ee6c2.entry.js +1 -0
- package/www/build/p-9f5d707a.js +1 -0
- package/www/build/{p-977c81d3.entry.js → p-9f9e4266.entry.js} +1 -1
- package/www/build/p-a8875b97.entry.js +16 -0
- package/www/build/{p-cb4a854e.entry.js → p-b15efba3.entry.js} +1 -1
- package/www/build/{p-5aa819f8.js → p-b9da171f.js} +1 -1
- package/www/build/{p-91cbf793.entry.js → p-ba29bc12.entry.js} +1 -1
- package/www/build/{p-766eb9cf.entry.js → p-bfe5693d.entry.js} +1 -1
- package/www/build/{p-215adfd1.entry.js → p-ccdebe3f.entry.js} +1 -1
- package/www/build/{p-e6fb8b76.entry.js → p-d33fea26.entry.js} +1 -1
- package/www/build/p-d39c0372.entry.js +1 -0
- package/{dist/web-components-library/p-e5eb1fa4.entry.js → www/build/p-d97a2db9.entry.js} +1 -1
- package/www/build/p-d995d9dc.entry.js +1 -0
- package/www/build/{p-846f16e8.entry.js → p-de25c7f0.entry.js} +1 -1
- package/{dist/web-components-library/p-818c073b.entry.js → www/build/p-df4e963b.entry.js} +1 -1
- package/www/build/{p-d5e67db8.entry.js → p-dffdf60a.entry.js} +1 -1
- package/{dist/web-components-library/p-878e62e2.entry.js → www/build/p-e2102da3.entry.js} +1 -1
- package/www/build/p-e2431b92.entry.js +1 -0
- package/www/build/{p-7f48b622.entry.js → p-edb8d2ab.entry.js} +1 -1
- package/www/build/{p-cb3663e6.entry.js → p-fe927bf4.entry.js} +1 -1
- package/www/build/shadow-css-38a1326b.js +388 -0
- package/www/build/utils-1e801ac0.js +2736 -0
- package/www/build/utils-43f2cad8.js +2736 -0
- package/www/build/utils-a3134cfb.js +109 -0
- package/www/build/utils-e5940345.js +109 -0
- package/www/build/web-components-library.css +812 -1
- package/www/build/web-components-library.esm.js +129 -1
- package/www/build/z-alert.entry.js +15 -0
- package/www/build/z-app-header.entry.js +127 -0
- package/www/build/z-app-switcher.entry.js +25 -0
- package/www/build/z-app-topbar.entry.js +37 -0
- package/www/build/z-aria-alert.entry.js +14 -0
- package/www/build/z-avatar.entry.js +39 -0
- package/www/build/z-body.entry.js +13 -0
- package/www/build/z-button-deprecated.entry.js +34 -0
- package/www/build/z-button-filter.entry.js +45 -0
- package/www/build/z-button-sort.entry.js +50 -0
- package/www/build/z-button.entry.js +38 -0
- package/www/build/z-candybar.entry.js +15 -0
- package/www/build/z-card.entry.js +65 -0
- package/www/build/z-carousel.entry.js +20 -0
- package/www/build/z-chip-deprecated.entry.js +20 -0
- package/www/build/z-chip.entry.js +33 -0
- package/www/build/z-combobox.entry.js +166 -0
- package/www/build/z-contextual-menu.entry.js +47 -0
- package/www/build/z-cookiebar.entry.js +38 -0
- package/www/build/z-date-picker.entry.js +484 -0
- package/www/build/z-divider.entry.js +22 -0
- package/www/build/z-dragdrop-area.entry.js +33 -0
- package/www/build/z-file-upload.entry.js +168 -0
- package/www/build/z-file.entry.js +44 -0
- package/www/build/z-footer-link.entry.js +15 -0
- package/www/build/z-footer-section.entry.js +19 -0
- package/www/build/z-footer-social.entry.js +15 -0
- package/www/build/z-footer.entry.js +103 -0
- package/www/build/z-ghost-loading.entry.js +15 -0
- package/www/build/z-heading.entry.js +13 -0
- package/www/build/z-icon-package.entry.js +19 -0
- package/www/build/z-icon.entry.js +24 -0
- package/www/build/z-info-box.entry.js +21 -0
- package/www/build/z-info-reveal.entry.js +60 -0
- package/www/build/z-input-deprecated.entry.js +267 -0
- package/www/build/z-input-label.entry.js +17 -0
- package/www/build/z-input-message.entry.js +20 -0
- package/www/build/z-input.entry.js +231 -0
- package/www/build/z-link.entry.js +67 -0
- package/www/build/z-list-element.entry.js +150 -0
- package/www/build/z-list-group.entry.js +50 -0
- package/www/build/z-list.entry.js +30 -0
- package/www/build/z-logo.entry.js +24 -0
- package/www/build/z-menu-dropdown.entry.js +56 -0
- package/www/build/z-menu-section.entry.js +42 -0
- package/www/build/z-menu.entry.js +106 -0
- package/www/build/z-messages-pocket.entry.js +42 -0
- package/www/build/z-modal-login.entry.js +78 -0
- package/www/build/z-modal.entry.js +32 -0
- package/www/build/z-myz-card-alert.entry.js +59 -0
- package/www/build/z-myz-card-body.entry.js +15 -0
- package/www/build/z-myz-card-cover.entry.js +18 -0
- package/www/build/z-myz-card-dictionary.entry.js +32 -0
- package/www/build/z-myz-card-footer-sections.entry.js +15 -0
- package/www/build/z-myz-card-footer.entry.js +52 -0
- package/www/build/z-myz-card-header.entry.js +35 -0
- package/www/build/z-myz-card-icon.entry.js +17 -0
- package/www/build/z-myz-card-info.entry.js +115 -0
- package/www/build/z-myz-card-list.entry.js +33 -0
- package/www/build/z-myz-card.entry.js +39 -0
- package/www/build/z-myz-list-item.entry.js +33 -0
- package/www/build/z-myz-list.entry.js +31 -0
- package/www/build/z-myz-topbar.entry.js +190 -0
- package/www/build/z-navigation-tab-link.entry.js +67 -0
- package/www/build/z-navigation-tab.entry.js +69 -0
- package/www/build/z-navigation-tabs.entry.js +122 -0
- package/www/build/z-notification.entry.js +42 -0
- package/www/build/z-offcanvas.entry.js +59 -0
- package/www/build/z-otp.entry.js +37 -0
- package/www/build/z-pagination-bar.entry.js +126 -0
- package/www/build/z-pagination-page.entry.js +21 -0
- package/www/build/z-pagination.entry.js +228 -0
- package/www/build/z-panel-elem.entry.js +26 -0
- package/www/build/z-pocket-body.entry.js +23 -0
- package/www/build/z-pocket-header.entry.js +36 -0
- package/www/build/z-pocket-message.entry.js +15 -0
- package/www/build/z-pocket.entry.js +68 -0
- package/www/build/z-popover-deprecated.entry.js +128 -0
- package/www/build/z-popover.entry.js +332 -0
- package/www/build/z-range-picker.entry.js +354 -0
- package/www/build/z-section-title.entry.js +38 -0
- package/www/build/z-select.entry.js +253 -0
- package/www/build/z-skip-to-content.entry.js +64 -0
- package/www/build/z-slideshow.entry.js +108 -0
- package/www/build/z-status-tag.entry.js +25 -0
- package/www/build/z-stepper-item.entry.js +18 -0
- package/www/build/z-stepper.entry.js +15 -0
- package/www/build/z-table-body.entry.js +20 -0
- package/www/build/z-table-cell.entry.js +32 -0
- package/www/build/z-table-empty-box.entry.js +28 -0
- package/www/build/z-table-expanded-row.entry.js +15 -0
- package/www/build/z-table-footer.entry.js +19 -0
- package/www/build/z-table-head.entry.js +19 -0
- package/www/build/z-table-header-row.entry.js +18 -0
- package/www/build/z-table-header.entry.js +81 -0
- package/www/build/z-table-row.entry.js +39 -0
- package/www/build/z-table-sticky-footer.entry.js +15 -0
- package/www/build/z-table.entry.js +78 -0
- package/www/build/z-tag.entry.js +18 -0
- package/www/build/z-toast-notification-list.entry.js +52 -0
- package/www/build/z-toast-notification.entry.js +199 -0
- package/www/build/z-toggle-button.entry.js +32 -0
- package/www/build/z-toggle-switch.entry.js +45 -0
- package/www/build/z-tooltip-deprecated.entry.js +270 -0
- package/www/build/z-tooltip.entry.js +27 -0
- package/www/build/z-typography.entry.js +25 -0
- package/www/build/z-user-dropdown.entry.js +91 -0
- package/www/build/z-visually-hidden.entry.js +15 -0
- package/www/index.html +11 -2
- package/www/pages/file-upload.html +54 -97
- package/dist/web-components-library/p-0146081c.entry.js +0 -16
- package/dist/web-components-library/p-040ea013.entry.js +0 -1
- package/dist/web-components-library/p-0c3e7bc3.js +0 -1
- package/dist/web-components-library/p-0f6229b2.entry.js +0 -1
- package/dist/web-components-library/p-1356eb90.entry.js +0 -1
- package/dist/web-components-library/p-1d4545e8.entry.js +0 -1
- package/dist/web-components-library/p-223566d6.entry.js +0 -1
- package/dist/web-components-library/p-35573e0e.entry.js +0 -1
- package/dist/web-components-library/p-3a991f9c.entry.js +0 -1
- package/dist/web-components-library/p-47a55354.entry.js +0 -1
- package/dist/web-components-library/p-4965b6db.entry.js +0 -1
- package/dist/web-components-library/p-5789bbe7.entry.js +0 -1
- package/dist/web-components-library/p-5e3b8207.entry.js +0 -1
- package/dist/web-components-library/p-79408b00.entry.js +0 -1
- package/dist/web-components-library/p-7a5ecafb.js +0 -1
- package/dist/web-components-library/p-8712d63f.entry.js +0 -1
- package/dist/web-components-library/p-8cf3798f.entry.js +0 -1
- package/dist/web-components-library/p-96ed1e2f.entry.js +0 -1
- package/dist/web-components-library/p-97d62d2a.entry.js +0 -1
- package/dist/web-components-library/p-aba00527.entry.js +0 -1
- package/dist/web-components-library/p-b369bf2f.entry.js +0 -1
- package/dist/web-components-library/p-e4a2811a.entry.js +0 -1
- package/dist/web-components-library/p-e82cee27.entry.js +0 -1
- package/dist/web-components-library/p-f5f15b8e.entry.js +0 -1
- package/www/build/p-0146081c.entry.js +0 -16
- package/www/build/p-040ea013.entry.js +0 -1
- package/www/build/p-0c3e7bc3.js +0 -1
- package/www/build/p-0f6229b2.entry.js +0 -1
- package/www/build/p-1356eb90.entry.js +0 -1
- package/www/build/p-1d4545e8.entry.js +0 -1
- package/www/build/p-223566d6.entry.js +0 -1
- package/www/build/p-3224e0d3.js +0 -129
- package/www/build/p-35573e0e.entry.js +0 -1
- package/www/build/p-3a991f9c.entry.js +0 -1
- package/www/build/p-47a55354.entry.js +0 -1
- package/www/build/p-4965b6db.entry.js +0 -1
- package/www/build/p-5789bbe7.entry.js +0 -1
- package/www/build/p-5e3b8207.entry.js +0 -1
- package/www/build/p-79408b00.entry.js +0 -1
- package/www/build/p-7a5ecafb.js +0 -1
- package/www/build/p-8712d63f.entry.js +0 -1
- package/www/build/p-8cf3798f.entry.js +0 -1
- package/www/build/p-96ed1e2f.entry.js +0 -1
- package/www/build/p-97d62d2a.entry.js +0 -1
- package/www/build/p-9ec1421c.css +0 -816
- package/www/build/p-aba00527.entry.js +0 -1
- package/www/build/p-b369bf2f.entry.js +0 -1
- package/www/build/p-e4a2811a.entry.js +0 -1
- package/www/build/p-e82cee27.entry.js +0 -1
- package/www/build/p-f5f15b8e.entry.js +0 -1
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { r as registerInstance, e as createEvent, h } from './index-81176684.js';
|
|
2
|
+
import { h as hammer } from './hammer-782a2043.js';
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-a3134cfb.js';
|
|
4
|
+
import './_commonjsHelpers-8fe71198.js';
|
|
5
|
+
import './index-3ee81524.js';
|
|
6
|
+
import './breakpoints-c386984e.js';
|
|
7
|
+
|
|
8
|
+
const stylesCss = ":host>div{height:48px;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-around;align-items:center;align-content:center}:host>div>z-icon{cursor:pointer;margin:calc(var(--space-unit) * 2) 0;color:var(--color-primary01);fill:var(--color-primary01)}:host>div>z-icon.disabled{cursor:default;pointer-events:none;color:var(--color-disabled01);fill:var(--color-disabled01)}";
|
|
9
|
+
|
|
10
|
+
const ZPaginationBar = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
registerInstance(this, hostRef);
|
|
13
|
+
this.goToPage = createEvent(this, "goToPage", 7);
|
|
14
|
+
this.changeStartPage = createEvent(this, "changeStartPage", 7);
|
|
15
|
+
this.addPageToHistory = createEvent(this, "addPageToHistory", 7);
|
|
16
|
+
/** current displayed page (mutable) */
|
|
17
|
+
this.currentpage = 1;
|
|
18
|
+
/** initial page (mutable) */
|
|
19
|
+
this.startpage = 1;
|
|
20
|
+
/** array of history of visited pages (mutable, optional) */
|
|
21
|
+
this.listhistoryrow = [];
|
|
22
|
+
this.currentPages = [];
|
|
23
|
+
this.velocityConstantMultiplier = 2;
|
|
24
|
+
this.navigateRight = this.navigateRight.bind(this);
|
|
25
|
+
this.navigateLeft = this.navigateLeft.bind(this);
|
|
26
|
+
this.emitGoToPage = this.emitGoToPage.bind(this);
|
|
27
|
+
}
|
|
28
|
+
componentDidLoad() {
|
|
29
|
+
this.scrollPage = this.scrollPage.bind(this);
|
|
30
|
+
let mc = new hammer(this.bar);
|
|
31
|
+
// listen to events...
|
|
32
|
+
mc.on("swiperight", this.scrollPage);
|
|
33
|
+
mc.on("swipeleft", this.scrollPage);
|
|
34
|
+
}
|
|
35
|
+
componentWillRender() {
|
|
36
|
+
this.initPagination();
|
|
37
|
+
}
|
|
38
|
+
componentWillUpdate() {
|
|
39
|
+
this.initPagination();
|
|
40
|
+
}
|
|
41
|
+
initPagination() {
|
|
42
|
+
this.loadPages();
|
|
43
|
+
if (this.historyraw) {
|
|
44
|
+
this.parsehistoryraw(this.historyraw);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
parsehistoryraw(historyraw) {
|
|
48
|
+
this.listhistoryrow = [...JSON.parse(historyraw)];
|
|
49
|
+
}
|
|
50
|
+
scrollPage(ev) {
|
|
51
|
+
let vel = Math.round(Math.abs(ev.velocity)) * this.velocityConstantMultiplier;
|
|
52
|
+
const deltaPage = Math.max(1, vel);
|
|
53
|
+
switch (ev.type) {
|
|
54
|
+
case "swiperight":
|
|
55
|
+
if (!this.canNavigateLeft())
|
|
56
|
+
break;
|
|
57
|
+
const newstartPage1 = this.startpage - deltaPage;
|
|
58
|
+
if (newstartPage1 > 1)
|
|
59
|
+
this.emitChangeStartPage(newstartPage1);
|
|
60
|
+
else
|
|
61
|
+
this.emitChangeStartPage(1);
|
|
62
|
+
break;
|
|
63
|
+
case "swipeleft":
|
|
64
|
+
if (!this.canNavigateRight())
|
|
65
|
+
break;
|
|
66
|
+
const newstartPage2 = this.startpage + deltaPage;
|
|
67
|
+
if (newstartPage2 < this.pages - this.visiblepages + 1)
|
|
68
|
+
this.emitChangeStartPage(newstartPage2);
|
|
69
|
+
else
|
|
70
|
+
this.emitChangeStartPage(this.pages - this.visiblepages + 1);
|
|
71
|
+
break;
|
|
72
|
+
default:
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
emitGoToPage(page) {
|
|
77
|
+
this.currentpage = page;
|
|
78
|
+
this.goToPage.emit({ page: page });
|
|
79
|
+
this.addPageToHistory.emit({ page: page });
|
|
80
|
+
}
|
|
81
|
+
emitChangeStartPage(startpage) {
|
|
82
|
+
this.startpage = startpage;
|
|
83
|
+
this.changeStartPage.emit({ startpage: startpage });
|
|
84
|
+
}
|
|
85
|
+
emitAddPageToHistory(page) {
|
|
86
|
+
this.listhistoryrow.push(page);
|
|
87
|
+
this.changeStartPage.emit({ page: page });
|
|
88
|
+
}
|
|
89
|
+
loadPages() {
|
|
90
|
+
this.currentPages.splice(0);
|
|
91
|
+
const lastPage = this.pageWindow();
|
|
92
|
+
let i;
|
|
93
|
+
for (i = 0; i < lastPage; i++) {
|
|
94
|
+
this.currentPages.push(i + this.startpage);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
pageWindow() {
|
|
98
|
+
return Math.min(this.pages, this.visiblepages); //How many pages are there to show?
|
|
99
|
+
}
|
|
100
|
+
canNavigateLeft() {
|
|
101
|
+
return this.startpage > 1;
|
|
102
|
+
}
|
|
103
|
+
canNavigateRight() {
|
|
104
|
+
return this.startpage + this.visiblepages - 1 < this.pages;
|
|
105
|
+
}
|
|
106
|
+
navigateLeft() {
|
|
107
|
+
if (this.canNavigateLeft()) {
|
|
108
|
+
this.startpage--;
|
|
109
|
+
this.emitChangeStartPage(this.startpage);
|
|
110
|
+
this.loadPages();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
navigateRight() {
|
|
114
|
+
if (this.canNavigateRight()) {
|
|
115
|
+
this.startpage++;
|
|
116
|
+
this.emitChangeStartPage(this.startpage);
|
|
117
|
+
this.loadPages();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
render() {
|
|
121
|
+
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 })));
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
ZPaginationBar.style = stylesCss;
|
|
125
|
+
|
|
126
|
+
export { ZPaginationBar as z_pagination_bar };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-sb);display:inline-block}:host>button{cursor:pointer;outline:none;display:inline-block;box-sizing:border-box;margin:0;height:48px;line-height:48px;text-align:center;border:none;border-bottom:var(--border-size-large) solid transparent;color:var(--color-primary01);font-size:var(--font-size-2);font-family:var(--font-family-sans);font-weight:inherit;background:transparent;text-decoration:none;transition:border-bottom 0.2s ease, font-size 0.2s ease;min-width:56px}:host>button[disabled]{pointer-events:none;cursor:default;color:var(--color-disabled02)}:host>button:hover{border-bottom:var(--border-size-large) solid var(--color-hover-light);background-color:var(--color-background);text-decoration:none;transition:border-bottom 0.2s ease, background-color 0.2s ease}:host>button:focus{border-bottom:var(--border-size-large) solid var(--color-hover-light);box-shadow:var(--shadow-focus-primary);background-color:var(--color-background);text-decoration:none}:host>button.visited{border-color:var(--color-hover-light);text-decoration:none}:host>button.selected{border-bottom:var(--border-size-large) solid var(--color-primary01);font-size:var(--font-size-7);transition:border-bottom 0.2s ease, font-size 0.2s ease}";
|
|
4
|
+
|
|
5
|
+
const ZPaginationPage = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
/** selected status flag */
|
|
9
|
+
this.isselected = false;
|
|
10
|
+
/** disabled status flag */
|
|
11
|
+
this.isdisabled = false;
|
|
12
|
+
/** visited status flag */
|
|
13
|
+
this.isvisited = false;
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
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));
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
ZPaginationPage.style = stylesCss;
|
|
20
|
+
|
|
21
|
+
export { ZPaginationPage as z_pagination_page };
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { r as registerInstance, e as createEvent, h, g as getElement } from './index-81176684.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = "z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;display:flex;flex-direction:column;gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4);max-width:100%;flex-wrap:wrap;font-family:var(--font-family-sans);font-weight:var(--font-rg)}z-pagination,z-pagination *{box-sizing:border-box}z-pagination button{height:100%}z-pagination z-icon{fill:var(--color-icon01)}z-pagination *:disabled z-icon{fill:var(--color-disabled02)}z-pagination .page-label{margin-right:calc(var(--space-unit) * 3);color:var(--color-text02)}z-pagination .pagination-bar{display:flex;align-items:center;height:48px;max-width:100%}z-pagination .pagination-bar button{display:flex;align-items:center;justify-content:center;margin:0;background-color:var(--color-surface03);transition:background-color .150s ease-out,\n color .150s ease-out,\n border-bottom-color .150s ease-out,\n font-size .150s ease-in-out,\n font-weight .150s ease-in-out;color:var(--color-primary01);border:none;font-family:inherit;font-weight:inherit;cursor:pointer}z-pagination .pagination-bar button:focus-visible{outline:none;box-shadow:inset var(--shadow-focus-primary);background-color:var(--color-hover-surface)}z-pagination .pagination-bar .pagination-button{padding:calc(var(--space-unit) * 2);text-transform:uppercase;white-space:nowrap;font-weight:var(--font-sb)}z-pagination .pagination-bar .navigation-button{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 1.5)}z-pagination .pagination-bar .pagination-button:disabled,z-pagination .pagination-bar .navigation-button:disabled{background-color:var(--color-disabled01);color:var(--color-disabled02);cursor:default;pointer-events:none}z-pagination .pagination-bar .page-button,z-pagination .pagination-bar .ellipsis-button{width:var(--z-pagination--page-button-width)}z-pagination .pages-container{position:relative;display:inline-flex;max-width:100%;height:100%;overflow-x:auto;scroll-behavior:smooth;scroll-snap-align:center;scrollbar-width:none}z-pagination .pages-container::-webkit-scrollbar{display:none}z-pagination .pages-chunk{display:flex;scroll-snap-align:center}z-pagination .pagination-bar .page-button{padding-top:var(--border-size-large) solid transparent;border-bottom:var(--border-size-large) solid transparent;font-size:var(--font-size-2);font-weight:var(--font-sb)}z-pagination .pagination-bar .page-button:focus-visible{border-bottom-color:var(--color-hover-light)}z-pagination .pagination-bar .page-button[data-current]{font-size:var(--font-size-7);border-bottom-color:var(--color-primary01)}z-pagination .go-to-page{display:flex;flex-direction:column;row-gap:var(--space-unit)}z-pagination .go-to-page .label{color:var(--color-text02);text-transform:uppercase}z-pagination .go-to-page .inputs{display:flex;column-gap:var(--space-unit)}z-pagination .go-to-page .inputs z-input{width:calc(var(--space-unit) * 11)}z-pagination .go-to-page .inputs z-input input,z-pagination .mobile-go-to-page z-input input{padding:0 calc(var(--space-unit) * 1.5) !important;-moz-appearance:none}z-pagination .mobile-go-to-page{display:flex;justify-content:center;align-items:center;flex:1 auto;height:100%;background-color:var(--color-surface03)}z-pagination .mobile-go-to-page z-input{width:var(--z-pagination--page-button-width);margin-right:var(--space-unit)}z-pagination .mobile-go-to-page z-input input{text-align:center}z-pagination .mobile-go-to-page z-input input::-webkit-outer-spin-button,z-pagination .mobile-go-to-page z-input input::-webkit-inner-spin-button{appearance:none;-webkit-appearance:none}z-pagination .mobile-go-to-page>span{font-size:var(--font-size-2)}@media (hover: hover){z-pagination .pagination-bar button:hover{background-color:var(--color-hover-surface)}z-pagination .pagination-bar .page-button:hover{border-bottom-color:var(--color-hover-light)}}@media (min-width: 768px){z-pagination{--z-pagination--page-button-width:88px;flex-direction:row;align-items:flex-end}z-pagination .pages-container{max-width:var(--z-pagination--pages-container-max-width)}}";
|
|
4
|
+
|
|
5
|
+
const ZPagination = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.pageChanged = createEvent(this, "pageChanged", 7);
|
|
9
|
+
/** Enable navigation arrows. */
|
|
10
|
+
this.navArrows = true;
|
|
11
|
+
/** Number of pages to skip. */
|
|
12
|
+
this.skip = 0;
|
|
13
|
+
/** Enable buttons to go to the first and last pages. */
|
|
14
|
+
this.edges = false;
|
|
15
|
+
/** Current page. */
|
|
16
|
+
this.currentPage = 1;
|
|
17
|
+
/**
|
|
18
|
+
* Internal visible pages variable.
|
|
19
|
+
* Needed to better handle conflicting props like `visiblePages` and `split`.
|
|
20
|
+
* This state will change based on props values and validation,
|
|
21
|
+
* keeping original `visiblePages` value intact.
|
|
22
|
+
*/
|
|
23
|
+
this._visiblePages = this.visiblePages;
|
|
24
|
+
/** Used to hides/change some functionalities on smaller screen sizes */
|
|
25
|
+
this.isMobile = false;
|
|
26
|
+
/** Value of the go to page input */
|
|
27
|
+
this.goToPageValue = null;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Set the max width of the pages container.
|
|
31
|
+
*/
|
|
32
|
+
setPagesContainerWidth() {
|
|
33
|
+
if (!this._visiblePages || this.split) {
|
|
34
|
+
this.host.style.setProperty("--z-pagination--pages-container-max-width", "100%");
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
const pagesContainerStyle = window.getComputedStyle(this.host);
|
|
38
|
+
const pageButtonWidth = pagesContainerStyle.getPropertyValue("--z-pagination--page-button-width");
|
|
39
|
+
this.host.style.setProperty("--z-pagination--pages-container-max-width", `calc(${pageButtonWidth} * ${this._visiblePages})`);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Set visible pages.
|
|
43
|
+
* Ensure that the visible pages are always <= the total pages.
|
|
44
|
+
* If `visiblePages` isn't set, fallback to the total pages.
|
|
45
|
+
*/
|
|
46
|
+
setVisiblePages() {
|
|
47
|
+
this._visiblePages = Math.min(this.visiblePages || this.totalPages, this.totalPages);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* On page changed.
|
|
51
|
+
* @emits pageChanged
|
|
52
|
+
*/
|
|
53
|
+
onPageChanged() {
|
|
54
|
+
this.pageChanged.emit(this.currentPage);
|
|
55
|
+
this.scrollToPage();
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* On split changed.
|
|
59
|
+
* Empty `edges` value. The split feature wins over the pages chunks and edges.
|
|
60
|
+
*/
|
|
61
|
+
onSplitChanged() {
|
|
62
|
+
if (this.split) {
|
|
63
|
+
this.edges = false;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Hide stuff on mobile.
|
|
68
|
+
*/
|
|
69
|
+
onResize() {
|
|
70
|
+
this.setMobile();
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Set functionalities according to screen size.
|
|
74
|
+
*/
|
|
75
|
+
setMobile() {
|
|
76
|
+
const mobileMediaQuery = "screen and (max-width: 767px)";
|
|
77
|
+
this.isMobile = window.matchMedia(mobileMediaQuery).matches;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Get a list of pages chunks, each of `visiblePages` length.
|
|
81
|
+
* @returns {number[][]}
|
|
82
|
+
*/
|
|
83
|
+
getPagesChunks() {
|
|
84
|
+
// array of numbers from 1 to `totalPages`
|
|
85
|
+
const pages = Array.from({ length: this.totalPages }, (_, i) => i + 1);
|
|
86
|
+
let chunks = [];
|
|
87
|
+
const chunksCount = Math.ceil(pages.length / this._visiblePages);
|
|
88
|
+
for (let index = 0; index < chunksCount; index++) {
|
|
89
|
+
chunks.push(pages.slice(index * this._visiblePages, (index + 1) * this._visiblePages));
|
|
90
|
+
}
|
|
91
|
+
return chunks;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Scroll to the left the chunk of pages containing the current page.
|
|
95
|
+
*/
|
|
96
|
+
scrollToPage() {
|
|
97
|
+
const pageBtn = this.host.querySelector(`[data-page="${this.currentPage}"]`);
|
|
98
|
+
if (!pageBtn) {
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
pageBtn.scrollIntoView({
|
|
102
|
+
behavior: "smooth",
|
|
103
|
+
block: "nearest",
|
|
104
|
+
inline: "center",
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Select a page.
|
|
109
|
+
* Do validations on the passed value before assigning it to `currentPage`.
|
|
110
|
+
* @param {number} page Page number to set
|
|
111
|
+
*/
|
|
112
|
+
selectPage(page) {
|
|
113
|
+
this.currentPage = Math.min(Math.max(page, 1), this.totalPages);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Render page number button.
|
|
117
|
+
* @param {number} page Page number to render
|
|
118
|
+
* @returns {HTMLButtonElement}
|
|
119
|
+
*/
|
|
120
|
+
renderPage(page) {
|
|
121
|
+
return (h("button", { class: "page-button", type: "button", "aria-current": this.currentPage === page ? "page" : "false", title: `Vai alla pagina ${page}`, "data-page": page, "data-current": this.currentPage === page, onClick: () => this.selectPage(page) }, page));
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Render split button.
|
|
125
|
+
* @param {number} page Page to select on click.
|
|
126
|
+
* @returns {HTMLButtonElement}
|
|
127
|
+
*/
|
|
128
|
+
renderEllipsisButton(page) {
|
|
129
|
+
return (h("button", { class: "ellipsis-button", type: "button", title: `Vai alla pagina ${page}`, onClick: () => this.selectPage(page) }, "\u2026"));
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Render chunked page buttons.
|
|
133
|
+
* @returns {HTMLDivElement}
|
|
134
|
+
*/
|
|
135
|
+
renderPages() {
|
|
136
|
+
const pagesChunks = this.getPagesChunks();
|
|
137
|
+
if (pagesChunks.length <= 0) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
return pagesChunks.map((chunk) => (h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page)))));
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Render page buttons when split feature is enabled.
|
|
144
|
+
* @returns {HTMLButtonElement[]}
|
|
145
|
+
*/
|
|
146
|
+
renderSplitPages() {
|
|
147
|
+
// left and right split pages, current page, first and last page, left and right ellipsis button
|
|
148
|
+
if (this.totalPages <= this.split * 2 + 5) {
|
|
149
|
+
// Too few pages: ellipsis will never be rendered, so let's just render all pages and that's it.
|
|
150
|
+
return Array.from({ length: this.totalPages }, (_, i) => this.renderPage(i + 1));
|
|
151
|
+
}
|
|
152
|
+
if (this.currentPage <= this.split * 2 + 2) {
|
|
153
|
+
// Render first (2 * split + 3) pages, ellipsis, then last page.
|
|
154
|
+
return [
|
|
155
|
+
...Array.from({ length: this.split * 2 + 3 }, (_, i) => this.renderPage(i + 1)),
|
|
156
|
+
this.renderEllipsisButton(this.split * 2 + 4),
|
|
157
|
+
this.renderPage(this.totalPages),
|
|
158
|
+
];
|
|
159
|
+
}
|
|
160
|
+
if (this.currentPage > this.split * 2 + 2 &&
|
|
161
|
+
this.currentPage < this.totalPages - this.split * 2 - 1) {
|
|
162
|
+
// Render first page, ellipsis, current page surrounded by (split) pages both before and after, another ellipsis, then last page.
|
|
163
|
+
return [
|
|
164
|
+
this.renderPage(1),
|
|
165
|
+
this.renderEllipsisButton(this.currentPage - this.split - 1),
|
|
166
|
+
...Array.from({ length: this.split * 2 + 1 }, (_, i) => this.renderPage(this.currentPage - this.split + i)),
|
|
167
|
+
this.renderEllipsisButton(this.currentPage + this.split + 1),
|
|
168
|
+
this.renderPage(this.totalPages),
|
|
169
|
+
];
|
|
170
|
+
}
|
|
171
|
+
// Render first page, ellipsis, then last (2 * split + 3) pages.
|
|
172
|
+
return [
|
|
173
|
+
this.renderPage(1),
|
|
174
|
+
this.renderEllipsisButton(this.totalPages - this.split * 2 - 3),
|
|
175
|
+
...Array.from({ length: this.split * 2 + 3 }, (_, i) => this.renderPage(this.totalPages - this.split * 2 - 2 + i)),
|
|
176
|
+
];
|
|
177
|
+
}
|
|
178
|
+
renderBackButton() {
|
|
179
|
+
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" })));
|
|
180
|
+
}
|
|
181
|
+
renderForwardButton() {
|
|
182
|
+
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
|
+
}
|
|
184
|
+
renderMobile() {
|
|
185
|
+
const pagesChunks = this.getPagesChunks();
|
|
186
|
+
return [
|
|
187
|
+
this.label && h("span", { class: "page-label body-1-sb" }, this.label),
|
|
188
|
+
h("div", { class: "pagination-bar" }, this.renderBackButton(), !this.goToPage && (h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, pagesChunks.length > 0 &&
|
|
189
|
+
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) => {
|
|
190
|
+
ev.preventDefault();
|
|
191
|
+
this.selectPage(this.goToPageValue);
|
|
192
|
+
} }, h("z-input", { class: "go-to-page-input", type: "number", min: 1, max: this.totalPages, message: false, onInput: (ev) => {
|
|
193
|
+
this.goToPageValue = ev.target.value;
|
|
194
|
+
}, placeholder: this.currentPage.toString(), hasclearicon: false }), h("span", null, `/${this.totalPages}`))), this.renderForwardButton()),
|
|
195
|
+
];
|
|
196
|
+
}
|
|
197
|
+
componentDidLoad() {
|
|
198
|
+
this.setVisiblePages();
|
|
199
|
+
}
|
|
200
|
+
componentDidRender() {
|
|
201
|
+
if (this.split) {
|
|
202
|
+
this.edges = false;
|
|
203
|
+
}
|
|
204
|
+
this.setPagesContainerWidth();
|
|
205
|
+
this.setMobile();
|
|
206
|
+
}
|
|
207
|
+
render() {
|
|
208
|
+
if (this.isMobile) {
|
|
209
|
+
return this.renderMobile();
|
|
210
|
+
}
|
|
211
|
+
return [
|
|
212
|
+
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))),
|
|
213
|
+
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) => {
|
|
214
|
+
this.goToPageValue = ev.target.value;
|
|
215
|
+
}, 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")))),
|
|
216
|
+
];
|
|
217
|
+
}
|
|
218
|
+
get host() { return getElement(this); }
|
|
219
|
+
static get watchers() { return {
|
|
220
|
+
"_visiblePages": ["setPagesContainerWidth"],
|
|
221
|
+
"visiblePages": ["setVisiblePages"],
|
|
222
|
+
"currentPage": ["onPageChanged"],
|
|
223
|
+
"split": ["onSplitChanged"]
|
|
224
|
+
}; }
|
|
225
|
+
};
|
|
226
|
+
ZPagination.style = stylesCss;
|
|
227
|
+
|
|
228
|
+
export { ZPagination as z_pagination };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg);width:inherit}.panel-elem-container{width:100%}.panel-elem-icon{margin:auto calc(var(--space-unit) * 3)}.panel-elem-icon img{display:block;object-fit:contain;max-width:96px;height:32px;margin:auto}.panel-elem-link{border-radius:var(--border-no-radius);margin:var(--space-unit) auto 0;text-align:center;font-size:12px}.panel-elem-link>z-link{font-weight:var(--font-sb)}.panel-elem-desc{letter-spacing:0.16px;text-align:center;margin:0;padding-top:var(--space-unit)}";
|
|
4
|
+
|
|
5
|
+
const ZPanelElem = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
/** link target (optional) */
|
|
9
|
+
this.target = "_blank";
|
|
10
|
+
/** disabled status flag (optional) */
|
|
11
|
+
this.isdisabled = false;
|
|
12
|
+
}
|
|
13
|
+
renderIcon() {
|
|
14
|
+
if (this.isdisabled) {
|
|
15
|
+
return h("img", { src: this.imgurl, alt: this.imgalt });
|
|
16
|
+
}
|
|
17
|
+
return (h("a", { class: "elem-icon", href: this.url, target: this.target }, h("img", { src: this.imgurl, alt: this.imgalt })));
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
const elemId = this.elemid ? this.elemid : "";
|
|
21
|
+
return (h("div", { class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { class: "panel-elem-icon" }, this.renderIcon())), h("div", { class: "panel-elem-link" }, h("z-link", { href: this.url, icon: this.linkicon, isdisabled: this.isdisabled, target: this.target, htmlid: elemId + "link_id" }, this.linklabel)), this.descr_slot_name && (h("div", { class: "panel-elem-desc body-long-01" }, h("slot", { name: this.descr_slot_name })))));
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
ZPanelElem.style = stylesCss;
|
|
25
|
+
|
|
26
|
+
export { ZPanelElem as z_panel_elem };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
+
import { s as PocketStatusEnum } from './index-3ee81524.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:100%;box-sizing:border-box}:host>main{background:var(--color-surface01);border-left:var(--border-size-small) solid var(--color-surface03);border-right:var(--border-size-small) solid var(--color-surface03);overflow:auto;scrollbar-width:none}:host>main.preview{max-height:225px;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.open{max-height:calc(100vh - 48px);transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.closed{height:0px;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>main.preview{max-height:157px}}";
|
|
5
|
+
|
|
6
|
+
const ZPocketBody = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
/** pocket status */
|
|
10
|
+
this.status = PocketStatusEnum.preview;
|
|
11
|
+
}
|
|
12
|
+
handlePocketToggle(e) {
|
|
13
|
+
if (e.detail.id && e.detail.id === this.pocketid) {
|
|
14
|
+
this.status = e.detail.status;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
return (h("main", { class: this.status }, h("slot", null)));
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
ZPocketBody.style = stylesCss;
|
|
22
|
+
|
|
23
|
+
export { ZPocketBody as z_pocket_body };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { r as registerInstance, e as createEvent, h } from './index-81176684.js';
|
|
2
|
+
import { h as handleKeyboardSubmit } from './utils-a3134cfb.js';
|
|
3
|
+
import { h as hammer } from './hammer-782a2043.js';
|
|
4
|
+
import './index-3ee81524.js';
|
|
5
|
+
import './breakpoints-c386984e.js';
|
|
6
|
+
import './_commonjsHelpers-8fe71198.js';
|
|
7
|
+
|
|
8
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:100%;box-sizing:border-box}:host>header{background:var(--color-surface01);border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--space-unit) var(--space-unit) 0px 0px;height:36px;cursor:pointer;display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:center;align-items:center}:host>header:focus{outline:none}:host>header::-moz-focus-inner{border:0}";
|
|
9
|
+
|
|
10
|
+
const ZPocketHeader = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
registerInstance(this, hostRef);
|
|
13
|
+
this.pocketHeaderClick = createEvent(this, "pocketHeaderClick", 7);
|
|
14
|
+
this.pocketHeaderPan = createEvent(this, "pocketHeaderPan", 7);
|
|
15
|
+
this.emitPocketHeaderClick = this.emitPocketHeaderClick.bind(this);
|
|
16
|
+
}
|
|
17
|
+
emitPocketHeaderClick() {
|
|
18
|
+
this.pocketHeaderClick.emit({ id: this.pocketid });
|
|
19
|
+
}
|
|
20
|
+
emitPocketHeaderPan(direction) {
|
|
21
|
+
this.pocketHeaderPan.emit({ id: this.pocketid, direction });
|
|
22
|
+
}
|
|
23
|
+
componentDidLoad() {
|
|
24
|
+
// INFO: swipe handling
|
|
25
|
+
const mc = new hammer(this.swipeWrap);
|
|
26
|
+
mc.get("pan").set({ direction: hammer.DIRECTION_VERTICAL });
|
|
27
|
+
mc.on("panup", () => this.emitPocketHeaderPan("up"));
|
|
28
|
+
mc.on("pandown", () => this.emitPocketHeaderPan("down"));
|
|
29
|
+
}
|
|
30
|
+
render() {
|
|
31
|
+
return (h("header", { role: "button", tabindex: 0, onClick: () => this.emitPocketHeaderClick(), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.emitPocketHeaderClick), ref: el => (this.swipeWrap = el) }, h("slot", null)));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
ZPocketHeader.style = stylesCss;
|
|
35
|
+
|
|
36
|
+
export { ZPocketHeader as z_pocket_header };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{color:var(--color-surface05);fill:var(--color-surface05);font-size:14px;border-bottom:var(--border-size-small) solid var(--color-surface03);padding-top:calc(var(--space-unit) * 1.5);display:grid;grid-template-rows:auto auto;grid-template-columns:36px auto}:host>div>z-icon{grid-row:1 / 2;grid-column:1 / 2}:host>div>div.content{grid-row:1 / 2;grid-column:2 / 3;margin-bottom:var(--space-unit)}:host>div>div.ctaWrapper{grid-row:2 / 3;grid-column:1 / 3;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;margin-bottom:var(--space-unit)}@media only screen and (min-width: 768px){:host>div>div.ctaWrapper{flex-direction:row;grid-column:2 / 3}}";
|
|
4
|
+
|
|
5
|
+
const ZPocketMessage = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h("div", null, h("z-icon", { name: "exclamation-circle" }), h("div", { class: "content" }, h("slot", null)), h("div", { class: "ctaWrapper" }, h("slot", { name: "cta" }))));
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
ZPocketMessage.style = stylesCss;
|
|
14
|
+
|
|
15
|
+
export { ZPocketMessage as z_pocket_message };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { r as registerInstance, e as createEvent, h, g as getElement } from './index-81176684.js';
|
|
2
|
+
import { s as PocketStatusEnum } from './index-3ee81524.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);width:inherit;height:100%;margin:inherit}:host>div{width:inherit;height:100%;margin:inherit}:host>div>div.background{position:fixed;left:0;right:0;top:0;bottom:0;z-index:998;width:0;height:0}:host>div>div.background.open{height:100%;width:100%}:host>div>div.contentWrapper{position:fixed;z-index:999;bottom:0;left:0;width:inherit;margin:inherit}:host>div>div.contentWrapper>div{border-radius:var(--space-unit) var(--space-unit) 0px 0px;box-shadow:0px -2px calc(var(--space-unit) * 0.5) 0px rgba(66, 69, 72, 0.4);margin:calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 0.5) 0 calc(var(--space-unit) * 0.5)}";
|
|
5
|
+
|
|
6
|
+
const ZPocket = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.pocketToggle = createEvent(this, "pocketToggle", 7);
|
|
10
|
+
/** pocket status */
|
|
11
|
+
this.status = PocketStatusEnum.preview;
|
|
12
|
+
}
|
|
13
|
+
/** open z-pocket */
|
|
14
|
+
async open() {
|
|
15
|
+
this.status = PocketStatusEnum.open;
|
|
16
|
+
}
|
|
17
|
+
/** close z-pocket */
|
|
18
|
+
async close() {
|
|
19
|
+
this.status = PocketStatusEnum.closed;
|
|
20
|
+
}
|
|
21
|
+
emitPocketToggle(id, status) {
|
|
22
|
+
this.pocketToggle.emit({ id, status });
|
|
23
|
+
}
|
|
24
|
+
handlePocketHeaderClick(e) {
|
|
25
|
+
if (e.detail.id && e.detail.id === this.pocketid) {
|
|
26
|
+
switch (this.status) {
|
|
27
|
+
case PocketStatusEnum.preview:
|
|
28
|
+
case PocketStatusEnum.closed:
|
|
29
|
+
this.status = PocketStatusEnum.open;
|
|
30
|
+
break;
|
|
31
|
+
case PocketStatusEnum.open:
|
|
32
|
+
this.status = PocketStatusEnum.closed;
|
|
33
|
+
break;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
handlePocketHeaderPan(e) {
|
|
38
|
+
if (e.detail.id && e.detail.id === this.pocketid) {
|
|
39
|
+
if (e.detail.direction === "up") {
|
|
40
|
+
this.status = PocketStatusEnum.open;
|
|
41
|
+
}
|
|
42
|
+
else if (e.detail.direction === "down") {
|
|
43
|
+
this.status = PocketStatusEnum.closed;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
watchStatusHandler(newVal) {
|
|
48
|
+
this.emitPocketToggle(this.pocketid, newVal);
|
|
49
|
+
}
|
|
50
|
+
componentWillLoad() {
|
|
51
|
+
this.emitPocketToggle(this.pocketid, this.status);
|
|
52
|
+
}
|
|
53
|
+
handleBackgroundClick(e) {
|
|
54
|
+
if (e.target.dataset.action == "pocketBackground") {
|
|
55
|
+
this.close();
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
render() {
|
|
59
|
+
return (h("div", null, h("div", { "data-action": "pocketBackground", "data-pocket": this.pocketid, class: `background ${this.status}`, onClick: (e) => this.handleBackgroundClick(e) }), h("div", { id: this.pocketid, class: "contentWrapper" }, h("div", null, h("slot", null)))));
|
|
60
|
+
}
|
|
61
|
+
get hostElement() { return getElement(this); }
|
|
62
|
+
static get watchers() { return {
|
|
63
|
+
"status": ["watchStatusHandler"]
|
|
64
|
+
}; }
|
|
65
|
+
};
|
|
66
|
+
ZPocket.style = stylesCss;
|
|
67
|
+
|
|
68
|
+
export { ZPocket as z_pocket };
|