@zanichelli/albe-web-components 6.2.0-a1 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-199cd650.js +346 -0
- package/dist/cjs/index-e3299e0a.js +34 -10
- package/dist/cjs/index.cjs.js +302 -346
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-7c92be74.js → utils-ce225fb3.js} +5 -4
- package/dist/cjs/{utils-f681590c.js → utils-ebe45309.js} +11 -10
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +0 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +53 -0
- package/dist/cjs/z-app-header_2.cjs.entry.js +153 -0
- package/dist/cjs/z-app-switcher.cjs.entry.js +29 -0
- package/dist/cjs/z-app-topbar.cjs.entry.js +41 -0
- package/dist/cjs/z-aria-alert.cjs.entry.js +3 -1
- package/dist/cjs/z-avatar.cjs.entry.js +8 -6
- package/dist/cjs/z-body_2.cjs.entry.js +2 -4
- package/dist/cjs/z-button-deprecated.cjs.entry.js +12 -6
- package/dist/cjs/z-button-filter.cjs.entry.js +3 -2
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/cjs/z-button.cjs.entry.js +9 -8
- package/dist/cjs/z-card.cjs.entry.js +6 -6
- package/dist/cjs/z-carousel.cjs.entry.js +10 -11
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +0 -2
- package/dist/cjs/z-chip.cjs.entry.js +6 -5
- package/dist/cjs/z-combobox.cjs.entry.js +17 -15
- package/dist/cjs/z-contextual-menu.cjs.entry.js +8 -2
- package/dist/cjs/z-cookiebar.cjs.entry.js +2 -4
- package/dist/cjs/z-cover-hero.cjs.entry.js +14 -6
- package/dist/cjs/z-date-picker.cjs.entry.js +17 -16
- package/dist/cjs/z-divider.cjs.entry.js +26 -0
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -2
- package/dist/cjs/z-file-upload.cjs.entry.js +11 -14
- package/dist/cjs/z-file.cjs.entry.js +2 -3
- package/dist/cjs/z-footer-link_3.cjs.entry.js +0 -5
- package/dist/cjs/z-footer.cjs.entry.js +2 -7
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +6 -2
- package/dist/cjs/z-input-deprecated.cjs.entry.js +29 -28
- package/dist/cjs/z-input-label_2.cjs.entry.js +36 -20
- package/dist/cjs/z-input_2.cjs.entry.js +253 -0
- package/dist/cjs/z-link.cjs.entry.js +74 -0
- package/dist/cjs/z-list_3.cjs.entry.js +226 -0
- package/dist/cjs/z-logo.cjs.entry.js +26 -0
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +3 -7
- package/dist/cjs/z-menu-section.cjs.entry.js +0 -3
- package/dist/cjs/z-menu.cjs.entry.js +10 -3
- package/dist/cjs/z-messages-pocket.cjs.entry.js +6 -6
- package/dist/cjs/z-modal-login.cjs.entry.js +5 -7
- package/dist/cjs/z-modal.cjs.entry.js +1 -3
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +6 -3
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +6 -8
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -3
- package/dist/cjs/z-myz-card-list.cjs.entry.js +0 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +9 -15
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -6
- package/dist/cjs/z-myz-topbar.cjs.entry.js +4 -14
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +16 -8
- package/dist/cjs/z-navigation-tab.cjs.entry.js +17 -7
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +14 -10
- package/dist/cjs/z-notification.cjs.entry.js +6 -3
- package/dist/cjs/z-offcanvas.cjs.entry.js +12 -4
- package/dist/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination-bar.cjs.entry.js +6 -5
- package/dist/cjs/z-pagination-page.cjs.entry.js +4 -2
- package/dist/cjs/z-pagination.cjs.entry.js +15 -7
- package/dist/cjs/z-panel-elem.cjs.entry.js +2 -7
- package/dist/cjs/z-pocket_3.cjs.entry.js +15 -15
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +15 -8
- package/dist/cjs/z-popover.cjs.entry.js +36 -38
- package/dist/cjs/{z-app-switcher_9.cjs.entry.js → z-range-picker.cjs.entry.js} +22 -464
- package/dist/cjs/z-section-title.cjs.entry.js +10 -2
- package/dist/cjs/z-skip-to-content.cjs.entry.js +4 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +4 -6
- package/dist/cjs/z-status-tag.cjs.entry.js +3 -5
- package/dist/cjs/z-stepper-item.cjs.entry.js +0 -4
- package/dist/cjs/z-table-cell.cjs.entry.js +4 -3
- package/dist/cjs/z-table-empty-box.cjs.entry.js +2 -0
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +0 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +0 -1
- package/dist/cjs/z-table-header.cjs.entry.js +16 -15
- package/dist/cjs/z-table-row.cjs.entry.js +6 -4
- package/dist/cjs/z-table.cjs.entry.js +12 -9
- package/dist/cjs/z-tag.cjs.entry.js +0 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +4 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +14 -17
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +7 -2
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +27 -39
- package/dist/cjs/z-tooltip.cjs.entry.js +7 -2
- package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -5
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/buttons/z-button/index.js +9 -8
- package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
- package/dist/collection/components/buttons/z-chip/index.js +5 -4
- package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +6 -1
- package/dist/collection/components/date-picker/utils.js +11 -10
- package/dist/collection/components/date-picker/z-date-picker/index.js +16 -15
- package/dist/collection/components/date-picker/z-range-picker/index.js +12 -15
- package/dist/collection/components/file-upload/z-file/index.js +2 -3
- package/dist/collection/components/file-upload/z-file-upload/index.js +10 -13
- package/dist/collection/components/footer/z-footer/index.js +2 -7
- package/dist/collection/components/footer/z-footer-link/index.js +0 -3
- package/dist/collection/components/footer/z-footer-section/index.js +0 -1
- package/dist/collection/components/footer/z-footer-social/index.js +0 -5
- package/dist/collection/components/icons/z-icon/index.js +0 -7
- package/dist/collection/components/index.js +8 -0
- package/dist/collection/components/indicators/z-stepper-item/index.js +0 -6
- package/dist/collection/components/inputs/z-combobox/index.js +16 -14
- package/dist/collection/components/inputs/z-input/index.js +37 -40
- package/dist/collection/components/inputs/z-input-message/index.js +0 -2
- package/dist/collection/components/inputs/z-select/index.js +50 -16
- package/dist/collection/components/inputs/z-select/styles.css +4 -0
- package/dist/collection/components/list/z-list/index.js +5 -1
- package/dist/collection/components/list/z-list-element/index.js +51 -18
- package/dist/collection/components/list/z-list-group/index.js +17 -4
- package/dist/collection/components/list/z-toast-notification-list/index.js +4 -1
- package/dist/collection/components/logo/z-logo/index.js +0 -8
- package/dist/collection/components/modal/z-modal/index.js +1 -3
- package/dist/collection/components/modal/z-modal-login/index.js +5 -7
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +17 -7
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +16 -8
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +14 -10
- package/dist/collection/components/navigation/z-app-header/index.js +29 -7
- package/dist/collection/components/navigation/z-app-switcher/index.js +3 -1
- package/dist/collection/components/navigation/z-app-topbar/index.js +5 -8
- package/dist/collection/components/navigation/z-link/index.js +9 -3
- package/dist/collection/components/navigation/z-menu/index.js +10 -3
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +2 -4
- package/dist/collection/components/navigation/z-menu-section/index.js +0 -5
- package/dist/collection/components/navigation/z-user-dropdown/index.js +1 -5
- package/dist/collection/components/notification/z-cookiebar/index.js +2 -6
- package/dist/collection/components/notification/z-info-box/index.js +1 -1
- package/dist/collection/components/notification/z-notification/index.js +6 -3
- package/dist/collection/components/notification/z-toast-notification/index.js +14 -17
- package/dist/collection/components/notification/z-tooltip/index.js +7 -2
- package/dist/collection/components/panel/z-panel-elem/index.js +2 -7
- package/dist/collection/components/typography/z-body/index.js +1 -2
- package/dist/collection/components/typography/z-heading/index.js +1 -2
- package/dist/collection/components/typography/z-typography/index.js +1 -2
- package/dist/collection/components/z-anchor-navigation/index.js +95 -0
- package/dist/collection/components/z-anchor-navigation/styles.css +118 -0
- package/dist/collection/components/z-aria-alert/index.js +3 -1
- package/dist/collection/components/z-avatar/index.js +8 -6
- package/dist/collection/components/z-card/index.js +6 -6
- package/dist/collection/components/z-carousel/index.js +10 -11
- package/dist/collection/components/z-contextual-menu/index.js +8 -2
- package/dist/collection/components/z-cover-hero/index.js +14 -6
- package/dist/collection/components/z-divider/index.js +6 -2
- package/dist/collection/components/z-info-reveal/index.js +6 -2
- package/dist/collection/components/z-offcanvas/index.js +12 -4
- package/dist/collection/components/z-pagination/index.js +15 -7
- package/dist/collection/components/z-popover/index.js +35 -37
- package/dist/collection/components/z-section-title/index.js +10 -2
- package/dist/collection/components/z-skip-to-content/index.js +3 -2
- package/dist/collection/components/z-table/z-table/index.js +12 -9
- package/dist/collection/components/z-table/z-table-cell/index.js +4 -3
- package/dist/collection/components/z-table/z-table-empty-box/index.js +2 -0
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +0 -3
- package/dist/collection/components/z-table/z-table-header/index.js +15 -14
- package/dist/collection/components/z-table/z-table-header-row/index.js +0 -3
- package/dist/collection/components/z-table/z-table-row/index.js +6 -4
- package/dist/collection/components/z-tag/index.js +0 -4
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +4 -4
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +4 -2
- package/dist/collection/deprecated/z-button-deprecated/index.js +12 -6
- package/dist/collection/deprecated/z-button-filter/index.js +3 -2
- package/dist/collection/deprecated/z-chip-deprecated/index.js +0 -4
- package/dist/collection/deprecated/z-input-deprecated/index.js +28 -27
- package/dist/collection/deprecated/z-input-label/index.js +1 -2
- package/dist/collection/deprecated/z-popover-deprecated/index.js +14 -7
- package/dist/collection/deprecated/z-status-tag/index.js +3 -5
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +27 -39
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +6 -5
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +3 -8
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +0 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +6 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +6 -8
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +4 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +2 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +0 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +2 -5
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +6 -6
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +12 -11
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +3 -2
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +0 -1
- package/dist/collection/snowflakes/myz/topbar/index.js +4 -14
- package/dist/collection/snowflakes/myz/z-alert/index.js +0 -3
- package/dist/collection/snowflakes/myz/z-otp/index.js +3 -3
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +3 -5
- package/dist/collection/utils/utils.js +5 -4
- package/dist/esm/index-9d028352.js +346 -0
- package/dist/esm/index-a2ca4b97.js +34 -10
- package/dist/esm/index.js +3 -347
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-420e8552.js → utils-9e81727a.js} +6 -5
- package/dist/esm/{utils-ff91a03a.js → utils-fbe04cd6.js} +11 -10
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +0 -1
- package/dist/esm/z-anchor-navigation.entry.js +49 -0
- package/dist/esm/z-app-header_2.entry.js +148 -0
- package/dist/esm/z-app-switcher.entry.js +25 -0
- package/dist/esm/z-app-topbar.entry.js +37 -0
- package/dist/esm/z-aria-alert.entry.js +3 -1
- package/dist/esm/z-avatar.entry.js +8 -6
- package/dist/esm/z-body_2.entry.js +2 -4
- package/dist/esm/z-button-deprecated.entry.js +12 -6
- package/dist/esm/z-button-filter.entry.js +3 -2
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button.entry.js +9 -8
- package/dist/esm/z-card.entry.js +6 -6
- package/dist/esm/z-carousel.entry.js +10 -11
- package/dist/esm/z-chip-deprecated.entry.js +0 -2
- package/dist/esm/z-chip.entry.js +6 -5
- package/dist/esm/z-combobox.entry.js +17 -15
- package/dist/esm/z-contextual-menu.entry.js +8 -2
- package/dist/esm/z-cookiebar.entry.js +2 -4
- package/dist/esm/z-cover-hero.entry.js +14 -6
- package/dist/esm/z-date-picker.entry.js +17 -16
- package/dist/esm/z-divider.entry.js +22 -0
- package/dist/esm/z-dragdrop-area_2.entry.js +1 -2
- package/dist/esm/z-file-upload.entry.js +11 -14
- package/dist/esm/z-file.entry.js +2 -3
- package/dist/esm/z-footer-link_3.entry.js +0 -5
- package/dist/esm/z-footer.entry.js +2 -7
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +6 -2
- package/dist/esm/z-input-deprecated.entry.js +29 -28
- package/dist/esm/z-input-label_2.entry.js +36 -20
- package/dist/esm/z-input_2.entry.js +248 -0
- package/dist/esm/z-link.entry.js +70 -0
- package/dist/esm/z-list_3.entry.js +220 -0
- package/dist/esm/z-logo.entry.js +22 -0
- package/dist/esm/z-menu-dropdown_2.entry.js +3 -7
- package/dist/esm/z-menu-section.entry.js +0 -3
- package/dist/esm/z-menu.entry.js +10 -3
- package/dist/esm/z-messages-pocket.entry.js +6 -6
- package/dist/esm/z-modal-login.entry.js +5 -7
- package/dist/esm/z-modal.entry.js +1 -3
- package/dist/esm/z-myz-card-alert.entry.js +3 -6
- package/dist/esm/z-myz-card-dictionary.entry.js +6 -3
- package/dist/esm/z-myz-card-footer.entry.js +6 -8
- package/dist/esm/z-myz-card-icon.entry.js +2 -1
- package/dist/esm/z-myz-card-info.entry.js +4 -3
- package/dist/esm/z-myz-card-list.entry.js +0 -1
- package/dist/esm/z-myz-card_4.entry.js +9 -15
- package/dist/esm/z-myz-list-item.entry.js +4 -6
- package/dist/esm/z-myz-topbar.entry.js +4 -14
- package/dist/esm/z-navigation-tab-link.entry.js +16 -8
- package/dist/esm/z-navigation-tab.entry.js +17 -7
- package/dist/esm/z-navigation-tabs.entry.js +14 -10
- package/dist/esm/z-notification.entry.js +6 -3
- package/dist/esm/z-offcanvas.entry.js +12 -4
- package/dist/esm/z-otp.entry.js +3 -3
- package/dist/esm/z-pagination-bar.entry.js +6 -5
- package/dist/esm/z-pagination-page.entry.js +4 -2
- package/dist/esm/z-pagination.entry.js +15 -7
- package/dist/esm/z-panel-elem.entry.js +2 -7
- package/dist/esm/z-pocket_3.entry.js +15 -15
- package/dist/esm/z-popover-deprecated.entry.js +15 -8
- package/dist/esm/z-popover.entry.js +36 -38
- package/dist/esm/{z-app-switcher_9.entry.js → z-range-picker.entry.js} +15 -449
- package/dist/esm/z-section-title.entry.js +10 -2
- package/dist/esm/z-skip-to-content.entry.js +4 -3
- package/dist/esm/z-slideshow.entry.js +4 -6
- package/dist/esm/z-status-tag.entry.js +3 -5
- package/dist/esm/z-stepper-item.entry.js +0 -4
- package/dist/esm/z-table-cell.entry.js +4 -3
- package/dist/esm/z-table-empty-box.entry.js +2 -0
- package/dist/esm/z-table-expanded-row.entry.js +0 -1
- package/dist/esm/z-table-header-row.entry.js +0 -1
- package/dist/esm/z-table-header.entry.js +16 -15
- package/dist/esm/z-table-row.entry.js +6 -4
- package/dist/esm/z-table.entry.js +12 -9
- package/dist/esm/z-tag.entry.js +0 -2
- package/dist/esm/z-toast-notification-list.entry.js +4 -1
- package/dist/esm/z-toast-notification.entry.js +14 -17
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +7 -2
- package/dist/esm/z-tooltip-deprecated.entry.js +27 -39
- package/dist/esm/z-tooltip.entry.js +7 -2
- package/dist/esm/z-user-dropdown.entry.js +1 -5
- package/dist/types/beans/index.d.ts +51 -50
- package/dist/types/components/index.d.ts +0 -0
- package/dist/types/components/inputs/z-select/index.d.ts +3 -0
- package/dist/types/components/z-anchor-navigation/index.d.ts +39 -0
- package/dist/types/components.d.ts +23 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -5
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-05ced71c.entry.js +1 -0
- package/dist/web-components-library/p-074ea569.entry.js +1 -0
- package/dist/web-components-library/p-1106ead2.entry.js +1 -0
- package/dist/web-components-library/p-15b8a920.entry.js +1 -0
- package/dist/web-components-library/p-15fe7b71.entry.js +1 -0
- package/dist/web-components-library/p-16da5460.js +1 -0
- package/dist/web-components-library/p-1cb23bbb.entry.js +1 -0
- package/dist/web-components-library/p-1e6a2a56.entry.js +1 -0
- package/dist/web-components-library/p-2774ab29.entry.js +1 -0
- package/dist/web-components-library/p-28ff9383.entry.js +1 -0
- package/dist/web-components-library/p-2efedcf4.entry.js +1 -0
- package/dist/web-components-library/p-344e7ae7.entry.js +1 -0
- package/dist/web-components-library/p-3ba1b96e.entry.js +1 -0
- package/dist/web-components-library/p-3c2d438b.entry.js +1 -0
- package/dist/web-components-library/p-3f55dce6.entry.js +1 -0
- package/dist/web-components-library/p-40e0d384.entry.js +1 -0
- package/dist/web-components-library/p-41e2bb0f.entry.js +1 -0
- package/dist/web-components-library/p-442b8b35.entry.js +1 -0
- package/dist/web-components-library/p-4cd6c6f4.entry.js +1 -0
- package/dist/web-components-library/p-4d093e07.entry.js +1 -0
- package/dist/web-components-library/{p-48624926.entry.js → p-4d42f224.entry.js} +1 -1
- package/dist/web-components-library/p-4d93268a.entry.js +1 -0
- package/dist/web-components-library/p-4ec9ab53.entry.js +1 -0
- package/dist/web-components-library/p-53a03f2a.entry.js +1 -0
- package/dist/web-components-library/p-562ad563.entry.js +1 -0
- package/dist/web-components-library/p-58650e22.entry.js +1 -0
- package/dist/web-components-library/p-5bec950e.entry.js +1 -0
- package/dist/web-components-library/p-5c02e500.entry.js +1 -0
- package/dist/web-components-library/p-5cf4a412.entry.js +1 -0
- package/dist/web-components-library/p-61424b8a.entry.js +1 -0
- package/dist/web-components-library/p-681e1f5a.entry.js +1 -0
- package/dist/web-components-library/p-686545fa.entry.js +1 -0
- package/dist/web-components-library/p-6b11cc16.entry.js +1 -0
- package/dist/web-components-library/p-6f64e8a8.entry.js +1 -0
- package/dist/web-components-library/p-70d16b2c.entry.js +1 -0
- package/dist/web-components-library/p-7688f8ca.entry.js +1 -0
- package/dist/web-components-library/p-77e4774d.entry.js +1 -0
- package/dist/web-components-library/p-7d696941.entry.js +1 -0
- package/dist/web-components-library/p-7d792297.entry.js +1 -0
- package/dist/web-components-library/p-7dd5431f.entry.js +1 -0
- package/dist/web-components-library/p-7ebdeefa.entry.js +1 -0
- package/dist/web-components-library/p-810bd730.entry.js +1 -0
- package/dist/web-components-library/p-9434d80c.entry.js +1 -0
- package/dist/web-components-library/p-9d03a7d6.entry.js +1 -0
- package/dist/web-components-library/p-9ecc5eba.entry.js +1 -0
- package/dist/web-components-library/p-9f80c0b8.js +1 -0
- package/dist/web-components-library/p-9fe267fc.entry.js +1 -0
- package/dist/web-components-library/p-a17b363e.entry.js +1 -0
- package/dist/web-components-library/p-a329f5ff.entry.js +1 -0
- package/dist/web-components-library/p-a79d1412.entry.js +1 -0
- package/dist/web-components-library/p-aded8a43.entry.js +1 -0
- package/dist/web-components-library/p-ae79573a.entry.js +1 -0
- package/dist/web-components-library/{p-4c7f4a2c.entry.js → p-b17981a4.entry.js} +1 -1
- package/dist/web-components-library/p-b4fbb6e4.entry.js +1 -0
- package/dist/web-components-library/p-b5086d6d.entry.js +1 -0
- package/dist/web-components-library/p-bb0fe7bc.entry.js +1 -0
- package/dist/web-components-library/p-bb15a265.js +1 -0
- package/dist/web-components-library/p-c2d1785b.entry.js +1 -0
- package/dist/web-components-library/p-c3f29701.entry.js +1 -0
- package/dist/web-components-library/p-c6a662e6.entry.js +1 -0
- package/dist/web-components-library/p-c6aad085.entry.js +1 -0
- package/dist/web-components-library/p-c75e80fb.entry.js +1 -0
- package/dist/web-components-library/p-cb5d8a84.entry.js +1 -0
- package/dist/web-components-library/p-ce83ce18.entry.js +1 -0
- package/dist/web-components-library/p-cea1f402.entry.js +1 -0
- package/dist/web-components-library/p-d199b781.entry.js +1 -0
- package/dist/web-components-library/p-d3645ced.entry.js +1 -0
- package/dist/web-components-library/p-d531d1d2.entry.js +1 -0
- package/dist/web-components-library/p-d572a365.entry.js +1 -0
- package/dist/web-components-library/p-d5f6bf94.entry.js +1 -0
- package/dist/web-components-library/p-db5a98d1.entry.js +1 -0
- package/dist/web-components-library/p-dc2ca41d.entry.js +1 -0
- package/dist/web-components-library/p-e68c18e5.entry.js +1 -0
- package/dist/web-components-library/p-e731914a.entry.js +1 -0
- package/dist/web-components-library/p-e8fbb103.entry.js +1 -0
- package/dist/web-components-library/p-ecc4afa1.entry.js +1 -0
- package/dist/web-components-library/p-ede9fbf5.entry.js +1 -0
- package/dist/web-components-library/p-f0653e72.entry.js +1 -0
- package/dist/web-components-library/{p-2c18a622.entry.js → p-f158d205.entry.js} +1 -1
- package/dist/web-components-library/p-f260c62b.entry.js +1 -0
- package/dist/web-components-library/p-f2f9a1bc.entry.js +1 -0
- package/dist/web-components-library/p-f2fd1e20.entry.js +1 -0
- package/dist/web-components-library/p-f7c1eb3f.entry.js +16 -0
- package/dist/web-components-library/p-f8ef69c4.entry.js +1 -0
- package/dist/web-components-library/p-f95cc914.entry.js +1 -0
- package/dist/web-components-library/p-fb7d33f2.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +4 -4
- package/react/components.d.ts +1 -0
- package/react/components.js +4 -3
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-05ced71c.entry.js +1 -0
- package/www/build/p-074ea569.entry.js +1 -0
- package/www/build/p-1106ead2.entry.js +1 -0
- package/www/build/p-15b8a920.entry.js +1 -0
- package/www/build/p-15fe7b71.entry.js +1 -0
- package/www/build/p-16da5460.js +1 -0
- package/www/build/p-1cb23bbb.entry.js +1 -0
- package/www/build/p-1e6a2a56.entry.js +1 -0
- package/www/build/p-2774ab29.entry.js +1 -0
- package/www/build/p-28ff9383.entry.js +1 -0
- package/www/build/p-2efedcf4.entry.js +1 -0
- package/www/build/p-344e7ae7.entry.js +1 -0
- package/www/build/p-3ba1b96e.entry.js +1 -0
- package/www/build/p-3c2d438b.entry.js +1 -0
- package/www/build/p-3f55dce6.entry.js +1 -0
- package/www/build/p-40e0d384.entry.js +1 -0
- package/www/build/p-41e2bb0f.entry.js +1 -0
- package/www/build/p-442b8b35.entry.js +1 -0
- package/www/build/p-4cd6c6f4.entry.js +1 -0
- package/www/build/p-4d093e07.entry.js +1 -0
- package/www/build/{p-48624926.entry.js → p-4d42f224.entry.js} +1 -1
- package/www/build/p-4d93268a.entry.js +1 -0
- package/www/build/p-4d9ae314.js +1 -0
- package/www/build/p-4ec9ab53.entry.js +1 -0
- package/www/build/p-53a03f2a.entry.js +1 -0
- package/www/build/p-562ad563.entry.js +1 -0
- package/www/build/p-58650e22.entry.js +1 -0
- package/www/build/p-5bec950e.entry.js +1 -0
- package/www/build/p-5c02e500.entry.js +1 -0
- package/www/build/p-5cf4a412.entry.js +1 -0
- package/www/build/p-61424b8a.entry.js +1 -0
- package/www/build/p-681e1f5a.entry.js +1 -0
- package/www/build/p-686545fa.entry.js +1 -0
- package/www/build/p-6b11cc16.entry.js +1 -0
- package/www/build/p-6f64e8a8.entry.js +1 -0
- package/www/build/p-70d16b2c.entry.js +1 -0
- package/www/build/p-7688f8ca.entry.js +1 -0
- package/www/build/p-77e4774d.entry.js +1 -0
- package/www/build/p-7d696941.entry.js +1 -0
- package/www/build/p-7d792297.entry.js +1 -0
- package/www/build/p-7dd5431f.entry.js +1 -0
- package/www/build/p-7ebdeefa.entry.js +1 -0
- package/www/build/p-810bd730.entry.js +1 -0
- package/www/build/p-9434d80c.entry.js +1 -0
- package/www/build/p-9d03a7d6.entry.js +1 -0
- package/www/build/p-9ecc5eba.entry.js +1 -0
- package/www/build/p-9f80c0b8.js +1 -0
- package/www/build/p-9fe267fc.entry.js +1 -0
- package/www/build/p-a17b363e.entry.js +1 -0
- package/www/build/p-a329f5ff.entry.js +1 -0
- package/www/build/p-a79d1412.entry.js +1 -0
- package/www/build/p-aded8a43.entry.js +1 -0
- package/www/build/p-ae79573a.entry.js +1 -0
- package/www/build/{p-4c7f4a2c.entry.js → p-b17981a4.entry.js} +1 -1
- package/www/build/p-b4fbb6e4.entry.js +1 -0
- package/www/build/p-b5086d6d.entry.js +1 -0
- package/www/build/p-bb0fe7bc.entry.js +1 -0
- package/www/build/p-bb15a265.js +1 -0
- package/www/build/p-c2d1785b.entry.js +1 -0
- package/www/build/p-c3f29701.entry.js +1 -0
- package/www/build/p-c6a662e6.entry.js +1 -0
- package/www/build/p-c6aad085.entry.js +1 -0
- package/www/build/p-c75e80fb.entry.js +1 -0
- package/www/build/p-cb5d8a84.entry.js +1 -0
- package/www/build/p-ce83ce18.entry.js +1 -0
- package/www/build/p-cea1f402.entry.js +1 -0
- package/www/build/p-d199b781.entry.js +1 -0
- package/www/build/p-d3645ced.entry.js +1 -0
- package/www/build/p-d531d1d2.entry.js +1 -0
- package/www/build/p-d572a365.entry.js +1 -0
- package/www/build/p-d5f6bf94.entry.js +1 -0
- package/www/build/p-d70c7670.css +1 -0
- package/www/build/p-db5a98d1.entry.js +1 -0
- package/www/build/p-dc2ca41d.entry.js +1 -0
- package/www/build/p-e68c18e5.entry.js +1 -0
- package/www/build/p-e731914a.entry.js +1 -0
- package/www/build/p-e8fbb103.entry.js +1 -0
- package/www/build/p-ecc4afa1.entry.js +1 -0
- package/www/build/p-ede9fbf5.entry.js +1 -0
- package/www/build/p-f0653e72.entry.js +1 -0
- package/www/build/{p-2c18a622.entry.js → p-f158d205.entry.js} +1 -1
- package/www/build/p-f260c62b.entry.js +1 -0
- package/www/build/p-f2f9a1bc.entry.js +1 -0
- package/www/build/p-f2fd1e20.entry.js +1 -0
- package/www/build/p-f7c1eb3f.entry.js +16 -0
- package/www/build/p-f8ef69c4.entry.js +1 -0
- package/www/build/p-f95cc914.entry.js +1 -0
- package/www/build/p-fb7d33f2.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -24
- package/CHANGELOG.md +0 -2036
- package/dist/cjs/z-app-header.cjs.entry.js +0 -111
- package/dist/cjs/z-list-group.cjs.entry.js +0 -41
- package/dist/cjs/z-list_2.cjs.entry.js +0 -143
- package/dist/esm/z-app-header.entry.js +0 -107
- package/dist/esm/z-list-group.entry.js +0 -37
- package/dist/esm/z-list_2.entry.js +0 -138
- package/dist/web-components-library/p-016b2800.entry.js +0 -1
- package/dist/web-components-library/p-04908405.entry.js +0 -1
- package/dist/web-components-library/p-06430481.entry.js +0 -1
- package/dist/web-components-library/p-067bd5da.entry.js +0 -1
- package/dist/web-components-library/p-082d65b1.entry.js +0 -1
- package/dist/web-components-library/p-0cff6cce.entry.js +0 -1
- package/dist/web-components-library/p-0e743002.entry.js +0 -1
- package/dist/web-components-library/p-10b84e8c.entry.js +0 -1
- package/dist/web-components-library/p-12211a48.entry.js +0 -1
- package/dist/web-components-library/p-14233b99.entry.js +0 -1
- package/dist/web-components-library/p-176256ee.js +0 -1
- package/dist/web-components-library/p-1ab0de76.entry.js +0 -1
- package/dist/web-components-library/p-1d2d5232.entry.js +0 -1
- package/dist/web-components-library/p-20109d3a.entry.js +0 -1
- package/dist/web-components-library/p-2cf26585.entry.js +0 -1
- package/dist/web-components-library/p-2d506c48.entry.js +0 -1
- package/dist/web-components-library/p-2d5d8e6f.entry.js +0 -1
- package/dist/web-components-library/p-2e7a31ac.entry.js +0 -1
- package/dist/web-components-library/p-2f6f3729.entry.js +0 -1
- package/dist/web-components-library/p-30cbafaf.entry.js +0 -1
- package/dist/web-components-library/p-341ddb5d.entry.js +0 -1
- package/dist/web-components-library/p-34a96008.entry.js +0 -1
- package/dist/web-components-library/p-35b30271.entry.js +0 -1
- package/dist/web-components-library/p-36f4ce3f.entry.js +0 -1
- package/dist/web-components-library/p-3c28f72e.entry.js +0 -1
- package/dist/web-components-library/p-3c7cf41f.entry.js +0 -1
- package/dist/web-components-library/p-3e414cf1.entry.js +0 -1
- package/dist/web-components-library/p-3ecfb7c1.entry.js +0 -1
- package/dist/web-components-library/p-40f96085.entry.js +0 -1
- package/dist/web-components-library/p-53d22727.entry.js +0 -1
- package/dist/web-components-library/p-563529f8.entry.js +0 -1
- package/dist/web-components-library/p-57faab40.entry.js +0 -1
- package/dist/web-components-library/p-5b2d8a91.entry.js +0 -1
- package/dist/web-components-library/p-670232c4.entry.js +0 -1
- package/dist/web-components-library/p-67f346d9.entry.js +0 -1
- package/dist/web-components-library/p-691678c8.entry.js +0 -1
- package/dist/web-components-library/p-69b27fe9.entry.js +0 -16
- package/dist/web-components-library/p-6fe1bffb.entry.js +0 -1
- package/dist/web-components-library/p-728e7dcd.entry.js +0 -1
- package/dist/web-components-library/p-74e31a32.entry.js +0 -1
- package/dist/web-components-library/p-759fb7c4.entry.js +0 -1
- package/dist/web-components-library/p-79223014.entry.js +0 -1
- package/dist/web-components-library/p-7b22a446.entry.js +0 -1
- package/dist/web-components-library/p-7c40fb15.entry.js +0 -1
- package/dist/web-components-library/p-7cbc1836.entry.js +0 -1
- package/dist/web-components-library/p-830b21a4.entry.js +0 -1
- package/dist/web-components-library/p-87099b68.entry.js +0 -1
- package/dist/web-components-library/p-8cabed58.entry.js +0 -1
- package/dist/web-components-library/p-8cf14a47.entry.js +0 -1
- package/dist/web-components-library/p-8eaa46ac.entry.js +0 -1
- package/dist/web-components-library/p-985c5ed8.entry.js +0 -1
- package/dist/web-components-library/p-9f6b43a0.entry.js +0 -1
- package/dist/web-components-library/p-9f8d0f79.entry.js +0 -1
- package/dist/web-components-library/p-a25a8231.entry.js +0 -1
- package/dist/web-components-library/p-a3b8dd69.entry.js +0 -1
- package/dist/web-components-library/p-aa271ed7.entry.js +0 -1
- package/dist/web-components-library/p-ac1a9d63.entry.js +0 -1
- package/dist/web-components-library/p-af4a9bb7.entry.js +0 -1
- package/dist/web-components-library/p-ba495cad.entry.js +0 -1
- package/dist/web-components-library/p-ba9210e9.entry.js +0 -1
- package/dist/web-components-library/p-bf9348e6.entry.js +0 -1
- package/dist/web-components-library/p-c0df6e96.entry.js +0 -1
- package/dist/web-components-library/p-c2b368ff.entry.js +0 -1
- package/dist/web-components-library/p-c39c68b9.entry.js +0 -1
- package/dist/web-components-library/p-cadba1e5.entry.js +0 -1
- package/dist/web-components-library/p-ccb3764b.entry.js +0 -1
- package/dist/web-components-library/p-d668461a.js +0 -1
- package/dist/web-components-library/p-d767f784.entry.js +0 -1
- package/dist/web-components-library/p-d7e72cec.entry.js +0 -1
- package/dist/web-components-library/p-dbc23998.entry.js +0 -1
- package/dist/web-components-library/p-def721df.entry.js +0 -1
- package/dist/web-components-library/p-e12cd68a.entry.js +0 -1
- package/dist/web-components-library/p-e84d2839.entry.js +0 -1
- package/dist/web-components-library/p-eadb185e.entry.js +0 -1
- package/dist/web-components-library/p-f9f9518a.entry.js +0 -1
- package/dist/web-components-library/p-fd305e08.entry.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-016b2800.entry.js +0 -1
- package/www/build/p-04908405.entry.js +0 -1
- package/www/build/p-06430481.entry.js +0 -1
- package/www/build/p-067bd5da.entry.js +0 -1
- package/www/build/p-082d65b1.entry.js +0 -1
- package/www/build/p-0cff6cce.entry.js +0 -1
- package/www/build/p-0e743002.entry.js +0 -1
- package/www/build/p-10b84e8c.entry.js +0 -1
- package/www/build/p-12211a48.entry.js +0 -1
- package/www/build/p-14233b99.entry.js +0 -1
- package/www/build/p-176256ee.js +0 -1
- package/www/build/p-1ab0de76.entry.js +0 -1
- package/www/build/p-1d2d5232.entry.js +0 -1
- package/www/build/p-20109d3a.entry.js +0 -1
- package/www/build/p-2cf26585.entry.js +0 -1
- package/www/build/p-2d506c48.entry.js +0 -1
- package/www/build/p-2d5d8e6f.entry.js +0 -1
- package/www/build/p-2e7a31ac.entry.js +0 -1
- package/www/build/p-2f6f3729.entry.js +0 -1
- package/www/build/p-30cbafaf.entry.js +0 -1
- package/www/build/p-341ddb5d.entry.js +0 -1
- package/www/build/p-34a96008.entry.js +0 -1
- package/www/build/p-35b30271.entry.js +0 -1
- package/www/build/p-36f4ce3f.entry.js +0 -1
- package/www/build/p-3c28f72e.entry.js +0 -1
- package/www/build/p-3c7cf41f.entry.js +0 -1
- package/www/build/p-3e414cf1.entry.js +0 -1
- package/www/build/p-3ecfb7c1.entry.js +0 -1
- package/www/build/p-40f96085.entry.js +0 -1
- package/www/build/p-4c9c83c0.css +0 -1
- package/www/build/p-53d22727.entry.js +0 -1
- package/www/build/p-563529f8.entry.js +0 -1
- package/www/build/p-57faab40.entry.js +0 -1
- package/www/build/p-5b2d8a91.entry.js +0 -1
- package/www/build/p-60ec44c6.js +0 -1
- package/www/build/p-670232c4.entry.js +0 -1
- package/www/build/p-67f346d9.entry.js +0 -1
- package/www/build/p-691678c8.entry.js +0 -1
- package/www/build/p-69b27fe9.entry.js +0 -16
- package/www/build/p-6fe1bffb.entry.js +0 -1
- package/www/build/p-728e7dcd.entry.js +0 -1
- package/www/build/p-74e31a32.entry.js +0 -1
- package/www/build/p-759fb7c4.entry.js +0 -1
- package/www/build/p-79223014.entry.js +0 -1
- package/www/build/p-7b22a446.entry.js +0 -1
- package/www/build/p-7c40fb15.entry.js +0 -1
- package/www/build/p-7cbc1836.entry.js +0 -1
- package/www/build/p-830b21a4.entry.js +0 -1
- package/www/build/p-87099b68.entry.js +0 -1
- package/www/build/p-8cabed58.entry.js +0 -1
- package/www/build/p-8cf14a47.entry.js +0 -1
- package/www/build/p-8eaa46ac.entry.js +0 -1
- package/www/build/p-985c5ed8.entry.js +0 -1
- package/www/build/p-9f6b43a0.entry.js +0 -1
- package/www/build/p-9f8d0f79.entry.js +0 -1
- package/www/build/p-a25a8231.entry.js +0 -1
- package/www/build/p-a3b8dd69.entry.js +0 -1
- package/www/build/p-aa271ed7.entry.js +0 -1
- package/www/build/p-ac1a9d63.entry.js +0 -1
- package/www/build/p-af4a9bb7.entry.js +0 -1
- package/www/build/p-ba495cad.entry.js +0 -1
- package/www/build/p-ba9210e9.entry.js +0 -1
- package/www/build/p-bf9348e6.entry.js +0 -1
- package/www/build/p-c0df6e96.entry.js +0 -1
- package/www/build/p-c2b368ff.entry.js +0 -1
- package/www/build/p-c39c68b9.entry.js +0 -1
- package/www/build/p-cadba1e5.entry.js +0 -1
- package/www/build/p-ccb3764b.entry.js +0 -1
- package/www/build/p-d668461a.js +0 -1
- package/www/build/p-d767f784.entry.js +0 -1
- package/www/build/p-d7e72cec.entry.js +0 -1
- package/www/build/p-dbc23998.entry.js +0 -1
- package/www/build/p-def721df.entry.js +0 -1
- package/www/build/p-e12cd68a.entry.js +0 -1
- package/www/build/p-e84d2839.entry.js +0 -1
- package/www/build/p-eadb185e.entry.js +0 -1
- package/www/build/p-f9f9518a.entry.js +0 -1
- package/www/build/p-fd305e08.entry.js +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
2
|
+
import { P as PopoverPositions } from './index-9d028352.js';
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-9e81727a.js';
|
|
3
4
|
import './breakpoints-c386984e.js';
|
|
4
5
|
|
|
5
6
|
const stylesCss = ":host{width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{position:relative;display:grid;width:calc(100% + calc(var(--space-unit) * 2));height:402px;box-sizing:border-box;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);border:var(--border-size-small) solid var(--color-primary01);margin-left:calc(-1 * var(--space-unit));background:var(--color-surface01);border-radius:0;box-shadow:0 2px 4px 0 rgb(66 69 72 / 35%)}:host>div>z-icon{position:absolute;top:var(--space-unit);right:var(--space-unit);cursor:pointer;fill:var(--color-primary01)}:host>div>div.cta-wrapper{display:flex;flex-flow:column nowrap;align-self:end;justify-content:space-between}:host>div>div.content-wrapper{position:relative;overflow:hidden;align-self:stretch}:host>div>div.content-wrapper>section{box-sizing:border-box;padding:var(--space-unit) 0;border-bottom:var(--border-size-small) solid var(--color-surface04);color:var(--color-surface05);font-size:14px;line-height:20px}:host>div>div.content-wrapper>section:last-child{border-bottom:none}:host>div>div.content-wrapper>section.info-wrapper{position:relative;overflow:hidden;box-sizing:border-box}:host>div>div.content-wrapper>section.info-wrapper.hidden::after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg, rgb(255 0 0 / 0%), rgb(255 0 0 / 0%) 60%, white);content:\"\";pointer-events:none}:host>div>div.content-wrapper>section>span.license-heading{display:flex;justify-content:space-between}:host>div>div.content-wrapper>section>span.license-heading>span.expired{color:var(--color-secondary02);font-size:12px;font-weight:600}:host>div>div.content-wrapper>section>span.license-heading>span.expiring{color:var(--color-warning01);font-size:12px;font-weight:600}:host>div>div.content-wrapper>z-popover{position:absolute;top:0;left:calc(var(--space-unit) * 4)}";
|
|
@@ -8,7 +9,7 @@ const ZMyzCardInfo = class {
|
|
|
8
9
|
constructor(hostRef) {
|
|
9
10
|
registerInstance(this, hostRef);
|
|
10
11
|
this.flipCard = createEvent(this, "flipCard", 7);
|
|
11
|
-
|
|
12
|
+
/** tabindex link attribute (optional) */
|
|
12
13
|
this.htmltabindex = 0;
|
|
13
14
|
this.hiddenContent = false;
|
|
14
15
|
this.tooltip = false;
|
|
@@ -89,7 +90,7 @@ const ZMyzCardInfo = class {
|
|
|
89
90
|
return;
|
|
90
91
|
}
|
|
91
92
|
const { title, year, author, description } = this.cardData;
|
|
92
|
-
return (h("z-popover", { position:
|
|
93
|
+
return (h("z-popover", { position: PopoverPositions.RIGHT, onClick: () => (this.tooltip = false) }, `${title} ${year} ${author} ${description}`));
|
|
93
94
|
}
|
|
94
95
|
setExpirationLicenseMessage(type) {
|
|
95
96
|
if ((type === "online" && this.cardData.onlineLicense.expired) ||
|
|
@@ -5,7 +5,6 @@ const stylesCss = "ul{overflow:hidden;width:auto;height:auto;padding:0;margin:0
|
|
|
5
5
|
const ZMyzCardList = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
-
this.listdata = undefined;
|
|
9
8
|
this.renderList = this.renderList.bind(this);
|
|
10
9
|
}
|
|
11
10
|
handleSpaceKeyPress(e, url) {
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-a2ca4b97.js';
|
|
2
|
+
import { L as LicenseType } from './index-9d028352.js';
|
|
2
3
|
|
|
3
4
|
const stylesCss$3 = ":host{--card-overflow:hidden}div{display:flex;overflow:var(--card-overflow);width:auto;width:256px;height:522px;box-sizing:border-box;flex-direction:column;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius)}div.real,div.trial,div.temp{border-color:var(--accent)}div.faded{border:var(--border-size-medium) solid var(--color-surface02)}div.highlighted{box-shadow:var(--shadow-4);outline:none}div.pressed{box-shadow:var(--shadow-8);outline:none}div:focus{box-shadow:var(--shadow-focus-primary);outline:none}";
|
|
4
5
|
|
|
5
6
|
const ZMyzCardComponent = class {
|
|
6
7
|
constructor(hostRef) {
|
|
7
8
|
registerInstance(this, hostRef);
|
|
8
|
-
|
|
9
|
-
this.cardtype = undefined;
|
|
9
|
+
/** pressed status */
|
|
10
10
|
this.ispressed = false;
|
|
11
|
+
/** highlighted status */
|
|
11
12
|
this.ishighlighted = false;
|
|
12
13
|
}
|
|
13
14
|
retrieveClass() {
|
|
14
15
|
let elemClasses = "";
|
|
15
|
-
if (this.cardtype ===
|
|
16
|
+
if (this.cardtype === LicenseType.REAL) {
|
|
16
17
|
elemClasses += "real";
|
|
17
18
|
}
|
|
18
|
-
else if (this.cardtype ===
|
|
19
|
+
else if (this.cardtype === LicenseType.TRIAL) {
|
|
19
20
|
elemClasses += "trial";
|
|
20
21
|
}
|
|
21
|
-
else if (this.cardtype ===
|
|
22
|
+
else if (this.cardtype === LicenseType.TEMP) {
|
|
22
23
|
elemClasses += "temp";
|
|
23
24
|
}
|
|
24
25
|
if (this.faded) {
|
|
@@ -55,10 +56,6 @@ const stylesCss$1 = "img{display:block;max-width:100%;height:340px;margin:auto;o
|
|
|
55
56
|
const ZMyzCardCover = class {
|
|
56
57
|
constructor(hostRef) {
|
|
57
58
|
registerInstance(this, hostRef);
|
|
58
|
-
this.img = undefined;
|
|
59
|
-
this.titolo = undefined;
|
|
60
|
-
this.faded = undefined;
|
|
61
|
-
this.defaultimg = undefined;
|
|
62
59
|
}
|
|
63
60
|
hadleOnImageError() {
|
|
64
61
|
this.img = this.defaultimg;
|
|
@@ -74,9 +71,6 @@ const stylesCss = "header{position:relative;display:flex;width:auto;height:calc(
|
|
|
74
71
|
const ZMyzCardHeader = class {
|
|
75
72
|
constructor(hostRef) {
|
|
76
73
|
registerInstance(this, hostRef);
|
|
77
|
-
this.titolo = undefined;
|
|
78
|
-
this.faded = undefined;
|
|
79
|
-
this.cardtype = undefined;
|
|
80
74
|
this.allowTooltip = false;
|
|
81
75
|
}
|
|
82
76
|
getTitle() {
|
|
@@ -92,9 +86,9 @@ const ZMyzCardHeader = class {
|
|
|
92
86
|
}
|
|
93
87
|
retrieveClass() {
|
|
94
88
|
return {
|
|
95
|
-
real: this.cardtype ===
|
|
96
|
-
trial: this.cardtype ===
|
|
97
|
-
temp: this.cardtype ===
|
|
89
|
+
real: this.cardtype === LicenseType.REAL,
|
|
90
|
+
trial: this.cardtype === LicenseType.TRIAL,
|
|
91
|
+
temp: this.cardtype === LicenseType.TEMP,
|
|
98
92
|
faded: this.faded,
|
|
99
93
|
};
|
|
100
94
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
2
|
+
import { h as handleKeyboardSubmit } from './utils-9e81727a.js';
|
|
3
|
+
import './index-9d028352.js';
|
|
3
4
|
import './breakpoints-c386984e.js';
|
|
4
5
|
|
|
5
6
|
const stylesCss = ":host li{all:unset;all:reset;width:100%;line-height:14px;list-style-type:none}:host li>span{display:flex;padding:calc(var(--space-unit) * 2) 0;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:16px;font-weight:var(--font-rg);letter-spacing:0.23px;line-height:14px}:host li>span.border{border-bottom:2px solid var(--bg-grey-200)}:host li span:hover,a:hover{color:var(--myz-blue);fill:var(--myz-blue)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-repeat:no-repeat;background-size:contain;color:var(--myz-blue);fill:var(--myz-blue)}";
|
|
@@ -9,12 +10,9 @@ const ZMyzListItem = class {
|
|
|
9
10
|
registerInstance(this, hostRef);
|
|
10
11
|
this.zListItemLinkClick = createEvent(this, "zListItemLinkClick", 7);
|
|
11
12
|
this.zListItemClick = createEvent(this, "zListItemClick", 7);
|
|
12
|
-
|
|
13
|
-
this.link = undefined;
|
|
13
|
+
/** link target (optional) */
|
|
14
14
|
this.linktarget = "_self";
|
|
15
|
-
|
|
16
|
-
this.listitemid = undefined;
|
|
17
|
-
this.action = undefined;
|
|
15
|
+
/** underlined style flag */
|
|
18
16
|
this.underlined = true;
|
|
19
17
|
this.emitZListItemLinkClick = this.emitZListItemLinkClick.bind(this);
|
|
20
18
|
this.emitZListItemClick = this.emitZListItemClick.bind(this);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
+
import { B as ButtonVariant, c as ButtonSize } from './index-9d028352.js';
|
|
2
3
|
import { m as mobileBreakpoint, t as tabletBreakpoint } from './breakpoints-c386984e.js';
|
|
3
4
|
|
|
4
5
|
const stylesCss = ":host a{cursor:pointer}header{position:sticky;z-index:99;top:0;display:grid;margin-bottom:calc(var(--space-unit) * 6.5);font-family:var(--dashboard-font);font-weight:var(--font-rg);grid-template:1fr / 1fr;grid-template-areas:\"main-header\"}.main-header{z-index:10;display:grid;height:auto;align-items:center;background-color:var(--bg-grey-900);grid-area:main-header;grid-column-gap:calc(var(--space-unit) * 0.5);grid-template:1fr / 2fr 2fr 4fr 100px;grid-template-areas:\"logo link-int link-ext login\"}.main-header.myz-out{background-color:var(--bg-white)}.logo{padding:6px;grid-area:logo}z-logo{transform:scale(0.9)}.dropdown-menu{display:none}.dropdown-menu.hidden{visibility:hidden}.dropdown-links{display:block;max-height:32px;padding:0;margin:0;grid-area:dropdown-links;list-style:none}.arrow{fill:var(--text-grey-200)}.dropdown-links>li{display:inline-block;padding:0;margin:0;list-style:none}.dropdown-links>li>a{width:auto;height:auto;padding-bottom:calc(var(--space-unit) * 0.5);margin:var(--space-unit);color:var(--myz-blue);font-size:14px;letter-spacing:0.18px;line-height:32px;text-decoration:none}.dropdown-links>li>a:hover,.dropdown-links>li>a.active{border-bottom:2px solid var(--myz-blue);color:var(--text-grey-800)}.mobile-header{position:fixed;z-index:inherit;z-index:999;top:0;left:0;display:flex;width:100%;height:52px;flex-flow:row nowrap;align-content:center;align-items:stretch;align-items:center;justify-content:space-between;background-color:var(--bg-grey-900)}.mobile-header.myz-out{background-color:var(--bg-white)}.mobile-header>z-button{margin:0 calc(var(--space-unit) * 2)}.mobile-content{position:fixed;z-index:999;top:52px;left:0;display:flex;overflow:hidden;width:100%;max-height:0;flex-flow:column nowrap;align-content:center;align-items:center;justify-content:center;background-color:var(--bg-grey-900);transition:max-height 1s cubic-bezier(0.46, 0, 1, 0.79)}.mobile-content.open{max-height:100vh;transition:max-height 2s cubic-bezier(0, 0.79, 0.46, 1)}.mobile-content.myz-out{background-color:var(--bg-white)}hr{position:relative;display:block;width:calc(100% - 64px);height:0;max-height:0;padding:0;border:none;border-top:1px solid var(--text-grey-700);margin:0 calc(var(--space-unit) * 4);clear:both;font-size:1px;line-height:0}.menu-mobile{display:flex;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:flex-start;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);color:var(--bg-white);cursor:pointer}.myz-out .menu-mobile{color:var(--text-grey-800)}.menu-toggle{display:flex;flex-direction:column;margin:0 var(--space-unit);grid-area:menu-toggle}.menu-toggle .bar{width:20px;height:2px;margin:2px auto;background-color:var(--bg-white);transition:all 0.3s ease-in-out}.myz-out .menu-toggle .bar{background-color:var(--text-grey-800)}.menu-toggle:hover{cursor:pointer}#mobile-menu.is-active .bar:nth-child(2){opacity:0}#mobile-menu.is-active .bar:nth-child(1){transform:translateY(6px) rotate(45deg)}#mobile-menu.is-active .bar:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.booktab-button,.mobile-login{display:flex;overflow:hidden;width:100%;height:0%;height:100%;max-height:100%;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;padding:0}.hidden{visibility:hidden}.login{display:flex;justify-content:flex-end;padding:0 calc(var(--space-unit) * 2);grid-area:login}.login>z-button{color:var(--bg-white);fill:var(--bg-white)}.booktab-button>z-button{display:flex;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) 0 calc(var(--space-unit) * 4) 0}.link-ext{display:flex;overflow:hidden;width:100%;height:0%;height:100%;max-height:100%;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;padding:0;grid-area:link-ext}.link-ext-span{display:inline-block;width:100%;box-sizing:border-box;padding:0 calc(var(--space-unit) * 4) 0 calc(var(--space-unit) * 4);margin:calc(var(--space-unit) * 0.5) auto;margin:0 auto;line-height:44px}.link-ext-span.myz:hover,.link-ext-span.myz:focus{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-ext z-link{font-size:12px;font-weight:var(--font-sb)}.link-int{display:flex;overflow:hidden;width:100%;height:100%;max-height:100%;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;padding:0}.link-int>span{display:flex;width:100%;flex-flow:column nowrap;align-content:flex-start;align-items:stretch;justify-content:flex-start}.link-int>span>.menu-item{display:flex;width:100%;height:auto;box-sizing:border-box;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;padding:0 calc(var(--space-unit) * 4) 0 calc(var(--space-unit) * 4);margin:0 auto;color:var(--bg-white);font-size:16px;font-weight:var(--font-sb);letter-spacing:0.2px;line-height:44px;outline:none;text-decoration:none}.link-int>span>.menu-item:hover,.link-int>span>.menu-item:focus{border-radius:0}.link-int>span>.menu-item>span{white-space:nowrap}.link-int>span>.menu-item>i{width:24px;height:28px;padding-top:calc(var(--space-unit) * 2);text-align:right}.link-int>span:first-child>.menu-item{margin-top:0}.link-int>span>svg{display:none}.link-int>.mobile-dropdown{padding:0 48px}.mobile-login>span{display:flex;flex-flow:column nowrap;align-content:flex-start;align-items:stretch;justify-content:flex-start;fill:white}.mobile-login>span:focus,.mobile-login>span:hover{background:var(--text-grey-800)}.myz-out .mobile-login>span:focus,.myz-out .mobile-login>span:hover{background:none}.mobile-login>span>.menu-item{display:flex;width:100%;height:auto;box-sizing:border-box;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;padding:0 calc(var(--space-unit) * 4) 0 calc(var(--space-unit) * 4);margin:0 auto;color:var(--bg-white);font-size:16px;font-weight:var(--font-sb);letter-spacing:0.2px;line-height:44px;outline:none;text-decoration:none}.myz-out .mobile-login>span>.menu-item{color:var(--text-grey-800)}.mobile-login>span>.menu-item>i{width:24px;height:28px;padding-top:calc(var(--space-unit) * 2);text-align:right}.mobile-login>span>.menu-item>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-login>span>.menu-item>span>z-icon{padding-right:var(--space-unit);fill:var(--bg-white)}.menu-item>i::before{position:relative;top:-0.12em;left:0.16em;display:inline-block;width:0.45em;height:0.45em;border-width:0.12em 0.12em 0 0;border-style:solid;margin-top:2px;margin-right:6px;margin-left:2px;content:\" \";transform:rotate(135deg) scale(1.2);transition:all 0.5s ease;vertical-align:top}.menu-item.isopen>i::before{top:0.24em;transform:rotate(-45deg) scale(1.2);transition:all 0.5s ease}.mobile-dropdown{display:block;overflow:hidden;width:100%;max-height:0;box-sizing:border-box;padding:0 calc(var(--space-unit) * 4) 0 calc(var(--space-unit) * 4);margin:0 auto;background:white;line-height:44px;transition:max-height 0.3s ease}.mobile-dropdown.visible{max-height:100vh;transition:max-height 0.5s ease}@media only screen and (min-width: 768px){header{margin-bottom:0;grid-template:0.2fr auto / 1fr 0.8fr 1.5fr 1.1fr 0.7fr;grid-template-areas:\"main-header main-header main-header main-header main-header\" \"dropdown-menu dropdown-menu dropdown-menu dropdown-menu dropdown-menu\"}header.myz-out{top:0;grid-template-rows:1fr}.main-header{display:grid;grid-area:main-header;grid-template:1fr / 170px auto auto 120px;grid-template-areas:\"logo link-int link-ext login\"}.dropdown-menu{z-index:9;display:grid;height:32px;padding-left:160px;background:var(--bg-grey-200);grid-area:dropdown-menu;grid-column-gap:var(--space-unit);grid-template:1fr / 1fr;grid-template-areas:\"dropdown-links\";visibility:visible}.booktab-button,.mobile-header,.mobile-login,.mobile-dropdown,.menu-mobile{display:none}.link-int{display:flex;max-height:46px;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:flex-start;margin-top:calc(var(--space-unit) * 0.5);grid-area:link-int}.link-int>span{display:flex;width:auto;flex-flow:column nowrap;align-content:center;align-items:center;justify-content:flex-start}.link-int>span>.menu-item{width:auto;height:auto;padding:calc(var(--space-unit) * 1.5);color:var(--bg-white);font-weight:var(--font-sb);letter-spacing:0.2px;line-height:14px;outline:none;text-decoration:none}.link-int>span>svg{display:block}.menu-item>i{display:none}.link-int>span>.menu-item:focus,.link-int>span>.menu-item:hover{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-int>span>.menu-item::-moz-focus-inner{border:0}.link-int>span>.menu-item:focus+svg{visibility:visible}.link-ext{display:flex;max-height:46px;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:flex-end}.link-ext-span{width:auto;padding:calc(var(--space-unit) * 0.5) var(--space-unit);margin:var(--space-unit);line-height:14px}}@media only screen and (min-width: 1152px){.main-header{grid-template-columns:170px auto auto 180px}}";
|
|
@@ -6,22 +7,11 @@ const stylesCss = ":host a{cursor:pointer}header{position:sticky;z-index:99;top:
|
|
|
6
7
|
const ZMyzTopbar = class {
|
|
7
8
|
constructor(hostRef) {
|
|
8
9
|
registerInstance(this, hostRef);
|
|
10
|
+
this.isMobile = true;
|
|
11
|
+
this.isMenuMobileOpen = false;
|
|
9
12
|
this.intMenuData = [];
|
|
10
13
|
this.extMenuData = [];
|
|
11
14
|
this.isLogged = false;
|
|
12
|
-
this.intlinkdata = undefined;
|
|
13
|
-
this.extlinkdata = undefined;
|
|
14
|
-
this.userdata = undefined;
|
|
15
|
-
this.ismyz = undefined;
|
|
16
|
-
this.logolink = undefined;
|
|
17
|
-
this.imagealt = undefined;
|
|
18
|
-
this.activeintlinkid = undefined;
|
|
19
|
-
this.activesublinkid = undefined;
|
|
20
|
-
this.hideloginbutton = undefined;
|
|
21
|
-
this.activeMenuItem = undefined;
|
|
22
|
-
this.currentMenuItem = undefined;
|
|
23
|
-
this.isMobile = true;
|
|
24
|
-
this.isMenuMobileOpen = false;
|
|
25
15
|
}
|
|
26
16
|
activeIntLinkChange(newValue) {
|
|
27
17
|
this.activeMenuItem = this.currentMenuItem = this.intMenuData.find((item) => item.id === newValue);
|
|
@@ -133,7 +123,7 @@ const ZMyzTopbar = class {
|
|
|
133
123
|
if (this.hideloginbutton) {
|
|
134
124
|
return;
|
|
135
125
|
}
|
|
136
|
-
return (h("z-button", { htmlid: "login-button", variant: this.ismyz ?
|
|
126
|
+
return (h("z-button", { htmlid: "login-button", variant: this.ismyz ? ButtonVariant.SECONDARY : ButtonVariant.TERTIARY, icon: "login", size: ButtonSize.SMALL }, "entra"));
|
|
137
127
|
}
|
|
138
128
|
renderMobileLoginDiv(userData) {
|
|
139
129
|
return (h("div", { id: "mobile-login", class: "mobile-login" }, h("span", null, h("a", { class: "menu-item", id: "user-data", onClick: () => this.handleToggleMobileMenuItem("user-data"), role: "button" }, h("span", null, h("z-icon", { name: "user-avatar", height: 16, width: 16 }), userData.name), h("i", null)), this.renderUserData(userData))));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
|
+
import { N as NavigationTabsOrientation, a as NavigationTabsSize } from './index-9d028352.js';
|
|
2
3
|
import { I as ICONS } from './icons-56ca282c.js';
|
|
3
4
|
|
|
4
5
|
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{box-shadow:inset var(--shadow-focus-primary)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentcolor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{position:absolute;background-color:var(--color-hover-secondary);content:\"\"}z-navigation-tab[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation=\"horizontal\"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation=\"horizontal\"] z-icon,z-navigation-tab-link[orientation=\"horizontal\"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*{color:var(--gray500);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tab[size=\"small\"]>*,z-navigation-tab-link[size=\"small\"]>*{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]>*,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[size=\"small\"][orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]:hover>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size=\"small\"]:not([orientation=\"vertical\"]) z-icon,z-navigation-tab-link[size=\"small\"]:not([orientation=\"vertical\"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation=\"vertical\"]>*,z-navigation-tab-link[orientation=\"vertical\"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation=\"vertical\"]:hover:not([disabled])>*::after,z-navigation-tab[orientation=\"vertical\"][selected]>*::after,z-navigation-tab-link[orientation=\"vertical\"]:hover>*::after,z-navigation-tab-link[orientation=\"vertical\"][selected]>*::after{top:0;right:0;width:var(--border-size-large);height:100%}";
|
|
@@ -7,21 +8,28 @@ const ZNavigationTabLink = class {
|
|
|
7
8
|
constructor(hostRef) {
|
|
8
9
|
registerInstance(this, hostRef);
|
|
9
10
|
this.selectedEvent = createEvent(this, "selected", 7);
|
|
11
|
+
/**
|
|
12
|
+
* Whether the tab is selected.
|
|
13
|
+
*/
|
|
10
14
|
this.selected = false;
|
|
15
|
+
/**
|
|
16
|
+
* Whether the tab is disabled.
|
|
17
|
+
*/
|
|
11
18
|
this.disabled = false;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
this.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
21
|
+
*/
|
|
22
|
+
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
23
|
+
/**
|
|
24
|
+
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
25
|
+
*/
|
|
26
|
+
this.size = NavigationTabsSize.BIG;
|
|
19
27
|
}
|
|
20
28
|
/**
|
|
21
29
|
* Scroll into view to center the tab.
|
|
22
30
|
*/
|
|
23
31
|
scrollToTab({ target: button }) {
|
|
24
|
-
const scrollOptions = this.orientation ===
|
|
32
|
+
const scrollOptions = this.orientation === NavigationTabsOrientation.HORIZONTAL
|
|
25
33
|
? { block: "nearest", inline: "center" }
|
|
26
34
|
: { block: "center", inline: "nearest" };
|
|
27
35
|
button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
|
+
import { N as NavigationTabsOrientation, a as NavigationTabsSize } from './index-9d028352.js';
|
|
2
3
|
import { I as ICONS } from './icons-56ca282c.js';
|
|
3
4
|
|
|
4
5
|
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{box-shadow:inset var(--shadow-focus-primary)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentcolor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{position:absolute;background-color:var(--color-hover-secondary);content:\"\"}z-navigation-tab[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation=\"horizontal\"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation=\"horizontal\"] z-icon,z-navigation-tab-link[orientation=\"horizontal\"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*{color:var(--gray500);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tab[size=\"small\"]>*,z-navigation-tab-link[size=\"small\"]>*{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]>*,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[size=\"small\"][orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]:hover>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size=\"small\"]:not([orientation=\"vertical\"]) z-icon,z-navigation-tab-link[size=\"small\"]:not([orientation=\"vertical\"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation=\"vertical\"]>*,z-navigation-tab-link[orientation=\"vertical\"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation=\"vertical\"]:hover:not([disabled])>*::after,z-navigation-tab[orientation=\"vertical\"][selected]>*::after,z-navigation-tab-link[orientation=\"vertical\"]:hover>*::after,z-navigation-tab-link[orientation=\"vertical\"][selected]>*::after{top:0;right:0;width:var(--border-size-large);height:100%}";
|
|
@@ -7,19 +8,28 @@ const ZNavigationTab = class {
|
|
|
7
8
|
constructor(hostRef) {
|
|
8
9
|
registerInstance(this, hostRef);
|
|
9
10
|
this.selectedEvent = createEvent(this, "selected", 7);
|
|
11
|
+
/**
|
|
12
|
+
* Whether the tab is selected.
|
|
13
|
+
*/
|
|
10
14
|
this.selected = false;
|
|
15
|
+
/**
|
|
16
|
+
* Whether the tab is disabled.
|
|
17
|
+
*/
|
|
11
18
|
this.disabled = false;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
this.
|
|
16
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
21
|
+
*/
|
|
22
|
+
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
23
|
+
/**
|
|
24
|
+
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
25
|
+
*/
|
|
26
|
+
this.size = NavigationTabsSize.BIG;
|
|
17
27
|
}
|
|
18
28
|
/**
|
|
19
29
|
* Scroll into view to center the tab.
|
|
20
30
|
*/
|
|
21
31
|
scrollToTab({ target: button }) {
|
|
22
|
-
const scrollOptions = this.orientation ===
|
|
32
|
+
const scrollOptions = this.orientation === NavigationTabsOrientation.HORIZONTAL
|
|
23
33
|
? { block: "nearest", inline: "center" }
|
|
24
34
|
: { block: "center", inline: "nearest" };
|
|
25
35
|
button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
@@ -48,7 +58,7 @@ const ZNavigationTab = class {
|
|
|
48
58
|
return h("z-icon", { name: icon });
|
|
49
59
|
}
|
|
50
60
|
render() {
|
|
51
|
-
return (h("button", { role: "tab", disabled: this.disabled, title: this.htmlTitle, onFocus: this.scrollToTab.bind(this) }, this.icon && this.renderIcon(), this.orientation ===
|
|
61
|
+
return (h("button", { role: "tab", disabled: this.disabled, title: this.htmlTitle, onFocus: this.scrollToTab.bind(this) }, this.icon && this.renderIcon(), this.orientation === NavigationTabsOrientation.HORIZONTAL && this.label));
|
|
52
62
|
}
|
|
53
63
|
static get watchers() { return {
|
|
54
64
|
"selected": ["onSelected"]
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
+
import { N as NavigationTabsOrientation, a as NavigationTabsSize } from './index-9d028352.js';
|
|
2
3
|
|
|
3
4
|
const stylesCss = ":host{position:relative;z-index:0;display:flex;overflow:hidden;flex-direction:row;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,:host *,::slotted(*){box-sizing:border-box}::-webkit-scrollbar{display:none}.navigation-button{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:0;background:var(--color-white);border-radius:var(--border-no-radius);box-shadow:0 0 4px 1px rgb(66 69 72 / 40%);cursor:pointer;fill:var(--color-primary01);outline:none}.navigation-button:focus:focus-visible{box-shadow:inset var(--shadow-focus-primary);fill:var(--color-primary01)}.navigation-button:disabled{display:none}nav{display:flex;overflow:auto;align-items:center;justify-content:flex-start;scroll-behavior:smooth;scrollbar-width:none}:host([orientation=\"horizontal\"]) nav{width:100%}:host([orientation=\"horizontal\"]) .navigation-button{top:0;width:calc(var(--space-unit) * 4);height:100%}:host([orientation=\"horizontal\"]) .navigation-button:first-child{left:0}:host([orientation=\"horizontal\"]) .navigation-button:last-child{right:0}:host([orientation=\"vertical\"]){width:fit-content;flex-direction:column}:host([orientation=\"vertical\"]) nav{height:100%;flex-direction:column;align-items:stretch}:host([orientation=\"vertical\"]) .navigation-button{left:0;width:100%;height:calc(var(--space-unit) * 4)}:host([orientation=\"vertical\"]) .navigation-button:first-child{top:0}:host([orientation=\"vertical\"]) .navigation-button:last-child{bottom:0}:host([size=\"small\"][orientation=\"vertical\"]) .navigation-button{height:calc(var(--space-unit) * 4)}";
|
|
4
5
|
|
|
5
6
|
const ZNavigationTabs = class {
|
|
6
7
|
constructor(hostRef) {
|
|
7
8
|
registerInstance(this, hostRef);
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
this.
|
|
12
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Navigation tabs orientation.
|
|
11
|
+
*/
|
|
12
|
+
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
13
|
+
/**
|
|
14
|
+
* Navigation tabs size.
|
|
15
|
+
*/
|
|
16
|
+
this.size = NavigationTabsSize.BIG;
|
|
13
17
|
}
|
|
14
18
|
/**
|
|
15
19
|
* Getter for the direction to check based on current orientation.
|
|
16
20
|
*/
|
|
17
21
|
get direction() {
|
|
18
|
-
return this.orientation ==
|
|
22
|
+
return this.orientation == NavigationTabsOrientation.HORIZONTAL ? "Left" : "Top";
|
|
19
23
|
}
|
|
20
24
|
/**
|
|
21
25
|
* Getter for the dimension to check based on current orientation.
|
|
22
26
|
*/
|
|
23
27
|
get dimension() {
|
|
24
|
-
return this.orientation ==
|
|
28
|
+
return this.orientation == NavigationTabsOrientation.HORIZONTAL ? "Width" : "Height";
|
|
25
29
|
}
|
|
26
30
|
/**
|
|
27
31
|
* Set the `size` prop to all `z-navigation-tab` children.
|
|
@@ -102,9 +106,9 @@ const ZNavigationTabs = class {
|
|
|
102
106
|
}
|
|
103
107
|
render() {
|
|
104
108
|
return (h(Host, { class: {
|
|
105
|
-
"interactive-2": this.size ===
|
|
106
|
-
"interactive-1": this.size !==
|
|
107
|
-
}, scrollable: this.canNavigate }, this.canNavigate && (h("button", { class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabindex: "-1", disabled: !this.canNavigatePrev }, h("z-icon", { name: this.orientation ===
|
|
109
|
+
"interactive-2": this.size === NavigationTabsSize.SMALL,
|
|
110
|
+
"interactive-1": this.size !== NavigationTabsSize.SMALL,
|
|
111
|
+
}, scrollable: this.canNavigate }, this.canNavigate && (h("button", { class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabindex: "-1", disabled: !this.canNavigatePrev }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 }))), h("nav", { role: "tablist", ref: (el) => (this.tabsNav = el !== null && el !== void 0 ? el : this.tabsNav), onScroll: this.checkScrollEnabled.bind(this) }, h("slot", null)), this.canNavigate && (h("button", { class: "navigation-button", onClick: this.navigateForward.bind(this), tabindex: "-1", disabled: !this.canNavigateNext }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 })))));
|
|
108
112
|
}
|
|
109
113
|
get host() { return getElement(this); }
|
|
110
114
|
static get watchers() { return {
|
|
@@ -7,11 +7,14 @@ const ZNotification = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
this.notificationAction = createEvent(this, "notificationAction", 7);
|
|
9
9
|
this.notificationClose = createEvent(this, "notificationClose", 7);
|
|
10
|
-
|
|
11
|
-
this.actiontext = undefined;
|
|
12
|
-
this.type = undefined;
|
|
10
|
+
/** Enable close icon */
|
|
13
11
|
this.showclose = false;
|
|
12
|
+
/**
|
|
13
|
+
* Enable shadow.
|
|
14
|
+
* @deprecated shadow is available only for the `sticky` version of the notification.
|
|
15
|
+
*/
|
|
14
16
|
this.showshadow = false;
|
|
17
|
+
/** Enable sticky notification bar. */
|
|
15
18
|
this.sticky = false;
|
|
16
19
|
this.handleActionButtonClick = this.handleActionButtonClick.bind(this);
|
|
17
20
|
this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
+
import { O as OffCanvasVariant, w as TransitionDirection } from './index-9d028352.js';
|
|
2
3
|
|
|
3
4
|
const stylesCss = ".sc-z-offcanvas-h{--z-offcanvas--container-width:375px;--z-offcanvas--top-space:0;z-index:1000;display:none;min-width:100%;height:100%;justify-content:end;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.canvas-container.sc-z-offcanvas{z-index:1010;display:flex;overflow:-moz-scrollbars-none;overflow:hidden;min-width:100%;height:100%;flex-direction:column;background:var(--color-surface01);transform:translateX(100%)}@keyframes enter-right{from{transform:translateX(100%)}to{transform:translateX(0)}}[open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:enter-right;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exit-right{from{transform:translateX(0)}to{transform:translateX(100%)}}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"]>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:exit-right;animation-timing-function:ease-out;transform:translateX(100%)}[variant=\"overlay\"].sc-z-offcanvas-h{position:fixed;top:var(--z-offcanvas--top-space);right:0;bottom:0;left:0;height:calc(100% - var(--z-offcanvas--top-space))}[variant=\"overlay\"].sc-z-offcanvas-h .canvas-background.sc-z-offcanvas{position:absolute;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}[transitiondirection=\"right\"].sc-z-offcanvas-h{justify-content:start}[transitiondirection=\"right\"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(-100%)}@keyframes enter-left{from{transform:translateX(-100%)}to{transform:translateX(0)}}[transitiondirection=\"right\"][open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:enter-left;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exit-left{from{transform:translateX(0)}to{transform:translateX(-100%)}}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"][transitiondirection=\"right\"]>.canvas-container.sc-z-offcanvas{animation-duration:0.4s;animation-name:exit-left;animation-timing-function:ease-out;transform:translateX(-100%)}.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{overflow:auto;flex:1 auto;padding:0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0;overflow-x:hidden}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-track{background-color:transparent}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.sc-z-offcanvas-h{min-width:auto}.canvas-container.sc-z-offcanvas{width:auto;min-width:max(var(--z-offcanvas--container-width), 375px);max-width:max(var(--z-offcanvas--container-width), 375px);height:auto;min-height:calc(var(--space-unit) * 40)}@keyframes grow{from{width:0}to{width:max(var(--z-offcanvas--container-width), 375px)}}.sc-z-offcanvas-h:not([variant=\"overlay\"])[open]{width:auto;animation-duration:0.4s;animation-name:grow;animation-timing-function:ease-out}}";
|
|
4
5
|
|
|
@@ -6,9 +7,16 @@ const ZOffcanvas = class {
|
|
|
6
7
|
constructor(hostRef) {
|
|
7
8
|
registerInstance(this, hostRef);
|
|
8
9
|
this.canvasOpenStatusChanged = createEvent(this, "canvasOpenStatusChanged", 7);
|
|
9
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Offcanvas variant.
|
|
12
|
+
* Can be one of "overlay", "pushcontent"
|
|
13
|
+
* Default variant: pushcontent
|
|
14
|
+
*/
|
|
15
|
+
this.variant = OffCanvasVariant.PUSHCONTENT;
|
|
16
|
+
/** open component. Default: false */
|
|
10
17
|
this.open = false;
|
|
11
|
-
|
|
18
|
+
/** open content transitioning in a specified direction left | right. Default: left */
|
|
19
|
+
this.transitiondirection = TransitionDirection.LEFT;
|
|
12
20
|
}
|
|
13
21
|
componentWillLoad() {
|
|
14
22
|
this.handleOpenStatus();
|
|
@@ -21,7 +29,7 @@ const ZOffcanvas = class {
|
|
|
21
29
|
if (this.open) {
|
|
22
30
|
this.hostElement.style.display = "flex";
|
|
23
31
|
}
|
|
24
|
-
else if (this.variant ===
|
|
32
|
+
else if (this.variant === OffCanvasVariant.PUSHCONTENT) {
|
|
25
33
|
this.hostElement.style.display = "none";
|
|
26
34
|
document.body.style.overflowX = "hidden";
|
|
27
35
|
}
|
|
@@ -30,7 +38,7 @@ const ZOffcanvas = class {
|
|
|
30
38
|
if (this.hostElement.hasAttribute("open")) {
|
|
31
39
|
this.hostElement.querySelector(`.canvas-content`).focus();
|
|
32
40
|
}
|
|
33
|
-
else if (this.variant ===
|
|
41
|
+
else if (this.variant === OffCanvasVariant.OVERLAY) {
|
|
34
42
|
this.hostElement.style.display = "none";
|
|
35
43
|
document.body.style.overflowX = "initial";
|
|
36
44
|
}
|
package/dist/esm/z-otp.entry.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
|
+
import { d as InputStatus } from './index-9d028352.js';
|
|
2
3
|
|
|
3
4
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-error01);background-color:var(--color-error-inverse);border-radius:4px}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";
|
|
4
5
|
|
|
@@ -6,9 +7,8 @@ const ZOtp = class {
|
|
|
6
7
|
constructor(hostRef) {
|
|
7
8
|
registerInstance(this, hostRef);
|
|
8
9
|
this.otpChange = createEvent(this, "otpChange", 7);
|
|
10
|
+
/** Input number */
|
|
9
11
|
this.inputNum = 6;
|
|
10
|
-
this.status = undefined;
|
|
11
|
-
this.message = undefined;
|
|
12
12
|
}
|
|
13
13
|
emitInputChange(value) {
|
|
14
14
|
this.otpChange.emit({ value });
|
|
@@ -18,7 +18,7 @@ const ZOtp = class {
|
|
|
18
18
|
this.otpRef = [...Array(this.inputNum)];
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { class: "otp-container" }, h("div", { class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status ==
|
|
21
|
+
return (h("div", { class: "otp-container" }, h("div", { class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status == InputStatus.ERROR ? "error" : null, onKeyDown: (e) => {
|
|
22
22
|
if (e.keyCode > 47) {
|
|
23
23
|
this.otpRef[i].value = "";
|
|
24
24
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
2
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-9e81727a.js';
|
|
4
4
|
import './_commonjsHelpers-9943807e.js';
|
|
5
|
+
import './index-9d028352.js';
|
|
5
6
|
import './breakpoints-c386984e.js';
|
|
6
7
|
|
|
7
8
|
const stylesCss = ":host>div{display:flex;height:48px;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:space-around}:host>div>z-icon{margin:calc(var(--space-unit) * 2) 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01)}:host>div>z-icon.disabled{color:var(--color-disabled01);cursor:default;fill:var(--color-disabled01);pointer-events:none}";
|
|
@@ -12,14 +13,14 @@ const ZPaginationBar = class {
|
|
|
12
13
|
this.goToPage = createEvent(this, "goToPage", 7);
|
|
13
14
|
this.changeStartPage = createEvent(this, "changeStartPage", 7);
|
|
14
15
|
this.addPageToHistory = createEvent(this, "addPageToHistory", 7);
|
|
15
|
-
|
|
16
|
-
this.pages = undefined;
|
|
17
|
-
this.visiblepages = undefined;
|
|
16
|
+
/** current displayed page (mutable) */
|
|
18
17
|
this.currentpage = 1;
|
|
18
|
+
/** initial page (mutable) */
|
|
19
19
|
this.startpage = 1;
|
|
20
|
-
|
|
20
|
+
/** array of history of visited pages (mutable, optional) */
|
|
21
21
|
this.listhistoryrow = [];
|
|
22
22
|
this.currentPages = [];
|
|
23
|
+
this.velocityConstantMultiplier = 2;
|
|
23
24
|
this.navigateRight = this.navigateRight.bind(this);
|
|
24
25
|
this.navigateLeft = this.navigateLeft.bind(this);
|
|
25
26
|
this.emitGoToPage = this.emitGoToPage.bind(this);
|
|
@@ -5,11 +5,13 @@ const stylesCss = ":host{display:inline-block;font-family:var(--font-family-sans
|
|
|
5
5
|
const ZPaginationPage = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
-
|
|
9
|
-
this.value = undefined;
|
|
8
|
+
/** selected status flag */
|
|
10
9
|
this.isselected = false;
|
|
10
|
+
/** disabled status flag */
|
|
11
11
|
this.isdisabled = false;
|
|
12
|
+
/** visited status flag */
|
|
12
13
|
this.isvisited = false;
|
|
14
|
+
/** aria-label string */
|
|
13
15
|
this.ariaLabel = "";
|
|
14
16
|
}
|
|
15
17
|
render() {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
+
import { I as InputType } from './index-9d028352.js';
|
|
2
3
|
|
|
3
4
|
const stylesCss = "z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;display:flex;max-width:100%;flex-flow:column wrap;font-family:var(--font-family-sans);font-weight:var(--font-rg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}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;max-width:100%;height:48px;align-items:center}z-pagination .pagination-bar button{display:flex;align-items:center;justify-content:center;border:none;margin:0;background-color:var(--color-surface03);color:var(--color-primary01);cursor:pointer;font-family:inherit;font-weight:inherit;transition:background-color 0.15s ease-out, color 0.15s ease-out, border-bottom-color 0.15s ease-out,\n font-size 0.15s ease-in-out, font-weight 0.15s ease-in-out}z-pagination .pagination-bar button:focus-visible{background-color:var(--color-hover-surface);box-shadow:inset var(--shadow-focus-primary);outline:none}z-pagination .pagination-bar .pagination-button{padding:calc(var(--space-unit) * 2);font-weight:var(--font-sb);text-transform:uppercase;white-space:nowrap}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]{border-bottom-color:var(--color-primary01);font-size:var(--font-size-7)}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;appearance:none}z-pagination .mobile-go-to-page{display:flex;height:100%;flex:1 auto;align-items:center;justify-content:center;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}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
|
|
|
@@ -6,17 +7,24 @@ const ZPagination = class {
|
|
|
6
7
|
constructor(hostRef) {
|
|
7
8
|
registerInstance(this, hostRef);
|
|
8
9
|
this.pageChanged = createEvent(this, "pageChanged", 7);
|
|
9
|
-
|
|
10
|
+
/** Enable navigation arrows. */
|
|
10
11
|
this.navArrows = true;
|
|
11
|
-
|
|
12
|
+
/** Number of pages to skip. */
|
|
12
13
|
this.skip = 0;
|
|
14
|
+
/** Enable buttons to go to the first and last pages. */
|
|
13
15
|
this.edges = false;
|
|
14
|
-
|
|
15
|
-
this.visiblePages = undefined;
|
|
16
|
+
/** Current page. */
|
|
16
17
|
this.currentPage = 1;
|
|
17
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Internal visible pages variable.
|
|
20
|
+
* Needed to better handle conflicting props like `visiblePages` and `split`.
|
|
21
|
+
* This state will change based on props values and validation,
|
|
22
|
+
* keeping original `visiblePages` value intact.
|
|
23
|
+
*/
|
|
18
24
|
this._visiblePages = this.visiblePages;
|
|
25
|
+
/** Used to hides/change some functionalities on smaller screen sizes */
|
|
19
26
|
this.isMobile = false;
|
|
27
|
+
/** Value of the go to page input */
|
|
20
28
|
this.goToPageValue = null;
|
|
21
29
|
}
|
|
22
30
|
/**
|
|
@@ -181,7 +189,7 @@ const ZPagination = class {
|
|
|
181
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) => {
|
|
182
190
|
ev.preventDefault();
|
|
183
191
|
this.selectPage(this.goToPageValue);
|
|
184
|
-
} }, h("z-input", { class: "go-to-page-input", type:
|
|
192
|
+
} }, h("z-input", { class: "go-to-page-input", type: InputType.NUMBER, min: 1, max: this.totalPages, message: false, onInput: (ev) => {
|
|
185
193
|
this.goToPageValue = ev.target.value;
|
|
186
194
|
}, placeholder: this.currentPage.toString(), hasclearicon: false }), h("span", null, `/${this.totalPages}`))), this.renderForwardButton()),
|
|
187
195
|
];
|
|
@@ -200,7 +208,7 @@ const ZPagination = class {
|
|
|
200
208
|
if (this.isMobile) {
|
|
201
209
|
return h(Host, null, this.renderMobile());
|
|
202
210
|
}
|
|
203
|
-
return (h(Host, null, 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))), 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:
|
|
211
|
+
return (h(Host, null, 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))), 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: InputType.NUMBER, min: 1, max: this.totalPages, message: false, placeholder: "2", hasclearicon: false, onInput: (ev) => {
|
|
204
212
|
this.goToPageValue = ev.target.value;
|
|
205
213
|
}, onKeyDown: (ev) => ev.key === "Enter" && this.selectPage(this.goToPageValue) }), h("z-button", { disabled: !this.goToPageValue, title: "Vai alla pagina inserita", onClick: () => this.selectPage(this.goToPageValue) }, "vai"))))));
|
|
206
214
|
}
|
|
@@ -5,15 +5,10 @@ const stylesCss = ":host{width:inherit;font-family:var(--dashboard-font);font-we
|
|
|
5
5
|
const ZPanelElem = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
-
|
|
9
|
-
this.imgurl = undefined;
|
|
10
|
-
this.imgalt = undefined;
|
|
11
|
-
this.linkicon = undefined;
|
|
12
|
-
this.linklabel = undefined;
|
|
13
|
-
this.url = undefined;
|
|
8
|
+
/** link target (optional) */
|
|
14
9
|
this.target = "_blank";
|
|
10
|
+
/** disabled status flag (optional) */
|
|
15
11
|
this.isdisabled = false;
|
|
16
|
-
this.descrSlotName = undefined;
|
|
17
12
|
}
|
|
18
13
|
renderIcon() {
|
|
19
14
|
if (this.isdisabled) {
|