@zanichelli/albe-web-components 6.3.2-rc1 → 6.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/cjs/index-e3299e0a.js +74 -18
- package/dist/cjs/{index-fa110f37.js → index-f08f7171.js} +54 -13
- package/dist/cjs/index.cjs.js +26 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-600bad93.js → utils-73ead59e.js} +1 -1
- package/dist/cjs/{utils-8bc9056f.js → utils-7fde0c53.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +1 -0
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -8
- package/dist/cjs/z-app-header_2.cjs.entry.js +12 -29
- package/dist/cjs/z-app-switcher.cjs.entry.js +28 -0
- package/dist/cjs/z-app-topbar.cjs.entry.js +7 -3
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -2
- package/dist/cjs/z-avatar.cjs.entry.js +3 -4
- package/dist/cjs/z-body_2.cjs.entry.js +4 -2
- package/dist/cjs/z-button-deprecated.cjs.entry.js +36 -0
- package/dist/cjs/z-button-filter.cjs.entry.js +49 -0
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/cjs/z-button.cjs.entry.js +6 -6
- package/dist/cjs/z-candybar.cjs.entry.js +19 -0
- package/dist/cjs/z-card.cjs.entry.js +4 -3
- package/dist/cjs/z-carousel.cjs.entry.js +8 -6
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +24 -0
- package/dist/cjs/z-chip.cjs.entry.js +4 -4
- package/dist/cjs/z-combobox.cjs.entry.js +13 -14
- package/dist/cjs/z-contextual-menu.cjs.entry.js +3 -8
- package/dist/cjs/z-cookiebar.cjs.entry.js +44 -0
- package/dist/cjs/z-cover-hero.cjs.entry.js +1 -8
- package/dist/cjs/z-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/z-divider.cjs.entry.js +1 -4
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +2 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +10 -6
- package/dist/cjs/z-file.cjs.entry.js +4 -2
- package/dist/cjs/z-footer-link_3.cjs.entry.js +54 -0
- package/dist/cjs/z-footer.cjs.entry.js +110 -0
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -5
- package/dist/cjs/z-input-deprecated.cjs.entry.js +261 -0
- package/dist/cjs/{z-select.cjs.entry.js → z-input-label_2.cjs.entry.js} +33 -14
- package/dist/cjs/z-input_2.cjs.entry.js +18 -12
- package/dist/cjs/z-link.cjs.entry.js +3 -9
- package/dist/cjs/z-list_3.cjs.entry.js +12 -71
- package/dist/cjs/{z-app-switcher_2.cjs.entry.js → z-logo.cjs.entry.js} +6 -23
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +93 -0
- package/dist/cjs/z-menu-section.cjs.entry.js +3 -0
- package/dist/cjs/z-menu.cjs.entry.js +3 -10
- package/dist/cjs/z-messages-pocket.cjs.entry.js +3 -2
- package/dist/cjs/z-modal-login.cjs.entry.js +5 -2
- package/dist/cjs/z-modal.cjs.entry.js +3 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +5 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -5
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +6 -3
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -0
- package/dist/cjs/z-myz-card_4.cjs.entry.js +10 -3
- package/dist/cjs/z-myz-list-item.cjs.entry.js +7 -4
- package/dist/cjs/z-myz-topbar.cjs.entry.js +201 -0
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +6 -13
- package/dist/cjs/z-navigation-tab.cjs.entry.js +4 -13
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -7
- package/dist/cjs/z-notification.cjs.entry.js +3 -6
- package/dist/cjs/z-offcanvas.cjs.entry.js +1 -8
- package/dist/cjs/z-otp.cjs.entry.js +3 -2
- package/dist/cjs/z-pagination-bar.cjs.entry.js +116 -0
- package/dist/cjs/z-pagination-page.cjs.entry.js +25 -0
- package/dist/cjs/z-pagination.cjs.entry.js +6 -13
- package/dist/cjs/z-panel-elem.cjs.entry.js +7 -2
- package/dist/cjs/z-pocket_3.cjs.entry.js +5 -4
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +129 -0
- package/dist/cjs/z-popover.cjs.entry.js +24 -35
- package/dist/cjs/z-range-picker.cjs.entry.js +7 -3
- package/dist/cjs/z-section-title.cjs.entry.js +1 -8
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +5 -2
- package/dist/cjs/z-status-tag.cjs.entry.js +32 -0
- package/dist/cjs/z-stepper-item.cjs.entry.js +4 -0
- package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/z-table-empty-box.cjs.entry.js +0 -2
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -0
- package/dist/cjs/z-table-header-row.cjs.entry.js +1 -0
- package/dist/cjs/z-table-header.cjs.entry.js +6 -6
- package/dist/cjs/z-table-row.cjs.entry.js +1 -2
- package/dist/cjs/z-table.cjs.entry.js +7 -9
- package/dist/cjs/z-tag.cjs.entry.js +2 -0
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -3
- package/dist/cjs/z-toast-notification.cjs.entry.js +9 -5
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -6
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +262 -0
- package/dist/cjs/z-tooltip.cjs.entry.js +3 -7
- package/dist/cjs/z-user-dropdown.cjs.entry.js +5 -1
- package/dist/collection/beans/index.js +54 -13
- package/dist/collection/collection-manifest.json +18 -1
- package/dist/collection/components/buttons/z-button/index.js +5 -5
- package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
- package/dist/collection/components/buttons/z-chip/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +0 -4
- package/dist/collection/components/date-picker/z-date-picker/index.js +2 -2
- package/dist/collection/components/date-picker/z-range-picker/index.js +5 -1
- package/dist/collection/components/file-upload/z-file/index.js +4 -2
- package/dist/collection/components/file-upload/z-file-upload/index.js +8 -4
- package/dist/collection/components/footer/z-footer/index.js +262 -0
- package/dist/collection/components/footer/z-footer/styles.css +242 -0
- package/dist/collection/components/footer/z-footer-link/index.js +45 -0
- package/dist/collection/components/footer/z-footer-link/styles.css +25 -0
- package/dist/collection/components/footer/z-footer-section/index.js +54 -0
- package/dist/collection/components/footer/z-footer-section/styles.css +150 -0
- package/dist/collection/components/footer/z-footer-social/index.js +78 -0
- package/dist/collection/components/footer/z-footer-social/styles.css +15 -0
- package/dist/collection/components/icons/z-icon/index.js +7 -0
- package/dist/collection/components/indicators/z-stepper-item/index.js +6 -0
- package/dist/collection/components/inputs/z-combobox/index.js +11 -12
- package/dist/collection/components/inputs/z-input/index.js +14 -10
- package/dist/collection/components/inputs/z-input-message/index.js +2 -0
- package/dist/collection/components/inputs/z-select/index.js +15 -12
- package/dist/collection/components/list/z-list/index.js +0 -6
- package/dist/collection/components/list/z-list-element/index.js +11 -49
- package/dist/collection/components/list/z-list-group/index.js +0 -15
- package/dist/collection/components/list/z-toast-notification-list/index.js +0 -2
- package/dist/collection/components/logo/z-logo/index.js +8 -0
- package/dist/collection/components/modal/z-modal/index.js +3 -1
- package/dist/collection/components/modal/z-modal-login/index.js +4 -1
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +3 -12
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +5 -12
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +3 -6
- package/dist/collection/components/navigation/z-app-header/index.js +7 -29
- package/dist/collection/components/navigation/z-app-switcher/index.js +0 -1
- package/dist/collection/components/navigation/z-app-topbar/index.js +6 -2
- package/dist/collection/components/navigation/z-link/index.js +3 -9
- package/dist/collection/components/navigation/z-menu/index.js +3 -10
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +3 -0
- package/dist/collection/components/navigation/z-menu-section/index.js +5 -0
- package/dist/collection/components/navigation/z-user-dropdown/index.js +5 -1
- package/dist/collection/components/notification/z-candybar/index.js +21 -0
- package/dist/collection/components/notification/z-candybar/styles.css +55 -0
- package/dist/collection/components/notification/z-cookiebar/index.js +115 -0
- package/dist/collection/components/notification/z-cookiebar/styles.css +108 -0
- package/dist/collection/components/notification/z-info-box/index.js +1 -1
- package/dist/collection/components/notification/z-notification/index.js +3 -6
- package/dist/collection/components/notification/z-toast-notification/index.js +8 -4
- package/dist/collection/components/notification/z-tooltip/index.js +7 -11
- package/dist/collection/components/panel/z-panel-elem/index.js +7 -2
- package/dist/collection/components/typography/z-body/index.js +2 -1
- package/dist/collection/components/typography/z-heading/index.js +2 -1
- package/dist/collection/components/typography/z-typography/index.js +2 -1
- package/dist/collection/components/z-anchor-navigation/index.js +0 -7
- package/dist/collection/components/z-aria-alert/index.js +0 -1
- package/dist/collection/components/z-avatar/index.js +2 -3
- package/dist/collection/components/z-card/index.js +3 -2
- package/dist/collection/components/z-carousel/index.js +7 -5
- package/dist/collection/components/z-contextual-menu/index.js +7 -12
- package/dist/collection/components/z-cover-hero/index.js +0 -7
- package/dist/collection/components/z-divider/index.js +0 -3
- package/dist/collection/components/z-info-reveal/index.js +1 -4
- package/dist/collection/components/z-offcanvas/index.js +0 -7
- package/dist/collection/components/z-pagination/index.js +5 -12
- package/dist/collection/components/z-popover/index.js +27 -38
- package/dist/collection/components/z-section-title/index.js +0 -7
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-table/z-table/index.js +6 -8
- package/dist/collection/components/z-table/z-table-cell/index.js +1 -1
- package/dist/collection/components/z-table/z-table-empty-box/index.js +0 -2
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +3 -0
- package/dist/collection/components/z-table/z-table-header/index.js +5 -5
- package/dist/collection/components/z-table/z-table-header-row/index.js +3 -0
- package/dist/collection/components/z-table/z-table-row/index.js +0 -1
- package/dist/collection/components/z-tag/index.js +4 -0
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +271 -0
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +22 -0
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +136 -0
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +57 -0
- package/dist/collection/deprecated/z-button-deprecated/index.js +221 -0
- package/dist/collection/deprecated/z-button-deprecated/styles.css +231 -0
- package/dist/collection/deprecated/z-button-filter/index.js +159 -0
- package/dist/collection/deprecated/z-button-filter/styles.css +64 -0
- package/dist/collection/deprecated/z-chip-deprecated/index.js +63 -0
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +17 -0
- package/dist/collection/deprecated/z-input-deprecated/index.js +810 -0
- package/dist/collection/deprecated/z-input-deprecated/styles.css +282 -0
- package/dist/collection/deprecated/z-input-label/index.js +79 -0
- package/dist/collection/deprecated/z-input-label/styles.css +16 -0
- package/dist/collection/deprecated/z-popover-deprecated/index.js +300 -0
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +235 -0
- package/dist/collection/deprecated/z-status-tag/index.js +133 -0
- package/dist/collection/deprecated/z-status-tag/styles.css +131 -0
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +378 -0
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +128 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +6 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +6 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +2 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +5 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +3 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +4 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +5 -2
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +2 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -0
- package/dist/collection/snowflakes/myz/topbar/index.js +409 -0
- package/dist/collection/snowflakes/myz/topbar/styles.css +574 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js +3 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +3 -0
- package/dist/esm/index-a2ca4b97.js +74 -18
- package/dist/esm/{index-968a240f.js → index-aee91593.js} +55 -14
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-ccb4d66f.js → utils-5dc8ce33.js} +2 -2
- package/dist/esm/{utils-151f0ab4.js → utils-77c5c75d.js} +1 -1
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +1 -0
- package/dist/esm/z-anchor-navigation.entry.js +1 -8
- package/dist/esm/z-app-header_2.entry.js +12 -29
- package/dist/esm/z-app-switcher.entry.js +24 -0
- package/dist/esm/z-app-topbar.entry.js +7 -3
- package/dist/esm/z-aria-alert.entry.js +1 -2
- package/dist/esm/z-avatar.entry.js +3 -4
- package/dist/esm/z-body_2.entry.js +4 -2
- package/dist/esm/z-button-deprecated.entry.js +32 -0
- package/dist/esm/z-button-filter.entry.js +45 -0
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button.entry.js +6 -6
- package/dist/esm/z-candybar.entry.js +15 -0
- package/dist/esm/z-card.entry.js +4 -3
- package/dist/esm/z-carousel.entry.js +8 -6
- package/dist/esm/z-chip-deprecated.entry.js +20 -0
- package/dist/esm/z-chip.entry.js +4 -4
- package/dist/esm/z-combobox.entry.js +13 -14
- package/dist/esm/z-contextual-menu.entry.js +3 -8
- package/dist/esm/z-cookiebar.entry.js +40 -0
- package/dist/esm/z-cover-hero.entry.js +1 -8
- package/dist/esm/z-date-picker.entry.js +4 -4
- package/dist/esm/z-divider.entry.js +1 -4
- package/dist/esm/z-dragdrop-area_2.entry.js +2 -1
- package/dist/esm/z-file-upload.entry.js +10 -6
- package/dist/esm/z-file.entry.js +4 -2
- package/dist/esm/z-footer-link_3.entry.js +48 -0
- package/dist/esm/z-footer.entry.js +106 -0
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -5
- package/dist/esm/z-input-deprecated.entry.js +257 -0
- package/dist/esm/{z-select.entry.js → z-input-label_2.entry.js} +34 -16
- package/dist/esm/z-input_2.entry.js +18 -12
- package/dist/esm/z-link.entry.js +3 -9
- package/dist/esm/z-list_3.entry.js +12 -71
- package/dist/esm/{z-app-switcher_2.entry.js → z-logo.entry.js} +8 -24
- package/dist/esm/z-menu-dropdown_2.entry.js +88 -0
- package/dist/esm/z-menu-section.entry.js +3 -0
- package/dist/esm/z-menu.entry.js +3 -10
- package/dist/esm/z-messages-pocket.entry.js +3 -2
- package/dist/esm/z-modal-login.entry.js +5 -2
- package/dist/esm/z-modal.entry.js +3 -1
- package/dist/esm/z-myz-card-alert.entry.js +5 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +3 -5
- package/dist/esm/z-myz-card-footer.entry.js +6 -3
- package/dist/esm/z-myz-card-icon.entry.js +1 -2
- package/dist/esm/z-myz-card-info.entry.js +4 -4
- package/dist/esm/z-myz-card-list.entry.js +1 -0
- package/dist/esm/z-myz-card_4.entry.js +10 -3
- package/dist/esm/z-myz-list-item.entry.js +7 -4
- package/dist/esm/z-myz-topbar.entry.js +197 -0
- package/dist/esm/z-navigation-tab-link.entry.js +6 -13
- package/dist/esm/z-navigation-tab.entry.js +4 -13
- package/dist/esm/z-navigation-tabs.entry.js +4 -7
- package/dist/esm/z-notification.entry.js +3 -6
- package/dist/esm/z-offcanvas.entry.js +1 -8
- package/dist/esm/z-otp.entry.js +3 -2
- package/dist/esm/z-pagination-bar.entry.js +112 -0
- package/dist/esm/z-pagination-page.entry.js +21 -0
- package/dist/esm/z-pagination.entry.js +6 -13
- package/dist/esm/z-panel-elem.entry.js +7 -2
- package/dist/esm/z-pocket_3.entry.js +5 -4
- package/dist/esm/z-popover-deprecated.entry.js +125 -0
- package/dist/esm/z-popover.entry.js +24 -35
- package/dist/esm/z-range-picker.entry.js +7 -3
- package/dist/esm/z-section-title.entry.js +1 -8
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +5 -2
- package/dist/esm/z-status-tag.entry.js +28 -0
- package/dist/esm/z-stepper-item.entry.js +4 -0
- package/dist/esm/z-table-cell.entry.js +2 -2
- package/dist/esm/z-table-empty-box.entry.js +0 -2
- package/dist/esm/z-table-expanded-row.entry.js +1 -0
- package/dist/esm/z-table-header-row.entry.js +1 -0
- package/dist/esm/z-table-header.entry.js +6 -6
- package/dist/esm/z-table-row.entry.js +1 -2
- package/dist/esm/z-table.entry.js +7 -9
- package/dist/esm/z-tag.entry.js +2 -0
- package/dist/esm/z-toast-notification-list.entry.js +1 -3
- package/dist/esm/z-toast-notification.entry.js +9 -5
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +2 -6
- package/dist/esm/z-tooltip-deprecated.entry.js +258 -0
- package/dist/esm/z-tooltip.entry.js +3 -7
- package/dist/esm/z-user-dropdown.entry.js +5 -1
- package/dist/types/beans/index.d.ts +60 -1
- package/dist/types/components/footer/z-footer/index.d.ts +46 -0
- package/dist/types/components/footer/z-footer-link/index.d.ts +8 -0
- package/dist/types/components/footer/z-footer-section/index.d.ts +10 -0
- package/dist/types/components/footer/z-footer-social/index.d.ts +9 -0
- package/dist/types/components/notification/z-candybar/index.d.ts +6 -0
- package/dist/types/components/notification/z-cookiebar/index.d.ts +16 -0
- package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/z-contextual-menu/index.d.ts +2 -2
- package/dist/types/components/z-popover/index.d.ts +4 -4
- package/dist/types/components.d.ts +1057 -8
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +40 -0
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +15 -0
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +28 -0
- package/dist/types/deprecated/z-button-filter/index.d.ts +22 -0
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +8 -0
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +91 -0
- package/dist/types/deprecated/z-input-label/index.d.ts +9 -0
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +33 -0
- package/dist/types/deprecated/z-status-tag/index.d.ts +15 -0
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +41 -0
- package/dist/types/snowflakes/myz/topbar/index.d.ts +59 -0
- package/dist/types/stencil-public-runtime.d.ts +5 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-016b2800.entry.js +1 -0
- package/dist/web-components-library/p-067bd5da.entry.js +1 -0
- package/dist/web-components-library/p-0afc555e.entry.js +1 -0
- package/dist/web-components-library/{p-214b6cee.entry.js → p-0f28f07e.entry.js} +1 -1
- package/dist/web-components-library/p-10b84e8c.entry.js +1 -0
- package/dist/web-components-library/p-12211a48.entry.js +1 -0
- package/dist/web-components-library/p-18448e4d.entry.js +1 -0
- package/dist/web-components-library/p-1ab0de76.entry.js +1 -0
- package/dist/web-components-library/p-1e163a87.entry.js +1 -0
- package/dist/web-components-library/p-1f187c54.entry.js +1 -0
- package/dist/web-components-library/p-1f8c8cd0.entry.js +1 -0
- package/dist/web-components-library/{p-9ed27651.entry.js → p-1f8c947e.entry.js} +1 -1
- package/dist/web-components-library/{p-2acd6a51.entry.js → p-1fdbd448.entry.js} +1 -1
- package/dist/web-components-library/{p-33352f9e.entry.js → p-279b422a.entry.js} +1 -1
- package/{www/build/p-f158d205.entry.js → dist/web-components-library/p-2c18a622.entry.js} +1 -1
- package/dist/web-components-library/p-2d5d8e6f.entry.js +1 -0
- package/dist/web-components-library/p-2e7a31ac.entry.js +1 -0
- package/dist/web-components-library/p-3027c60b.entry.js +1 -0
- package/dist/web-components-library/p-30fcd62b.js +1 -0
- package/dist/web-components-library/{p-9c28b8fc.entry.js → p-323ae109.entry.js} +1 -1
- package/dist/web-components-library/p-35739670.entry.js +1 -0
- package/dist/web-components-library/p-36d2d081.entry.js +1 -0
- package/dist/web-components-library/{p-67d6cfcb.entry.js → p-3b1c4366.entry.js} +1 -1
- package/dist/web-components-library/p-3c7cf41f.entry.js +1 -0
- package/dist/web-components-library/p-3eb0d582.entry.js +1 -0
- package/dist/web-components-library/p-3ecfb7c1.entry.js +1 -0
- package/dist/web-components-library/p-40f96085.entry.js +1 -0
- package/dist/web-components-library/p-42782d06.entry.js +1 -0
- package/dist/web-components-library/p-4465426a.entry.js +1 -0
- package/dist/web-components-library/p-468520f5.entry.js +1 -0
- package/dist/web-components-library/p-46e367c9.entry.js +1 -0
- package/dist/web-components-library/{p-496863be.entry.js → p-4a322ca6.entry.js} +1 -1
- package/dist/web-components-library/p-4ba0b17c.entry.js +1 -0
- package/dist/web-components-library/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
- package/dist/web-components-library/p-552c6686.entry.js +1 -0
- package/dist/web-components-library/p-563529f8.entry.js +1 -0
- package/dist/web-components-library/p-569f6cff.entry.js +1 -0
- package/dist/web-components-library/p-57faab40.entry.js +1 -0
- package/dist/web-components-library/p-5935151c.entry.js +1 -0
- package/dist/web-components-library/p-5b83568e.entry.js +1 -0
- package/dist/web-components-library/p-5c6108bb.entry.js +1 -0
- package/dist/web-components-library/p-63a99ad2.entry.js +16 -0
- package/dist/web-components-library/p-64033ee3.entry.js +1 -0
- package/dist/web-components-library/p-66bbcf76.entry.js +1 -0
- package/dist/web-components-library/p-69db61b5.entry.js +1 -0
- package/dist/web-components-library/p-6e4dd501.entry.js +1 -0
- package/dist/web-components-library/p-6fe1bffb.entry.js +1 -0
- package/dist/web-components-library/p-7171d686.entry.js +1 -0
- package/dist/web-components-library/p-75a4091f.entry.js +1 -0
- package/dist/web-components-library/p-7b22a446.entry.js +1 -0
- package/dist/web-components-library/p-7e13d026.entry.js +1 -0
- package/dist/web-components-library/p-82ff8f0e.entry.js +1 -0
- package/dist/web-components-library/p-84cc611a.entry.js +1 -0
- package/dist/web-components-library/p-8879211b.entry.js +1 -0
- package/dist/web-components-library/p-8949cd1d.entry.js +1 -0
- package/dist/web-components-library/{p-34c26207.entry.js → p-8fee871a.entry.js} +1 -1
- package/dist/web-components-library/p-9099124a.entry.js +1 -0
- package/dist/web-components-library/p-9ecf936d.js +1 -0
- package/dist/web-components-library/p-a1250f99.entry.js +1 -0
- package/dist/web-components-library/p-a3b8dd69.entry.js +1 -0
- package/dist/web-components-library/p-aa271ed7.entry.js +1 -0
- package/dist/web-components-library/p-af4a9bb7.entry.js +1 -0
- package/dist/web-components-library/p-af9b8051.entry.js +1 -0
- package/dist/web-components-library/p-b01314fa.entry.js +1 -0
- package/dist/web-components-library/p-b4a9ba1d.entry.js +1 -0
- package/dist/web-components-library/p-b9a69a90.entry.js +1 -0
- package/dist/web-components-library/p-bbbfd2fa.entry.js +1 -0
- package/dist/web-components-library/p-bea5aa42.entry.js +1 -0
- package/dist/web-components-library/{p-b3c29822.js → p-bee26f96.js} +1 -1
- package/dist/web-components-library/p-c39c68b9.entry.js +1 -0
- package/dist/web-components-library/p-c7d7958c.entry.js +1 -0
- package/dist/web-components-library/p-c849a2a5.entry.js +1 -0
- package/dist/web-components-library/p-d1b45e96.entry.js +1 -0
- package/dist/web-components-library/p-d767f784.entry.js +1 -0
- package/dist/web-components-library/p-d7e72cec.entry.js +1 -0
- package/dist/web-components-library/p-d8e17d3a.entry.js +1 -0
- package/dist/web-components-library/{p-9965827d.entry.js → p-db234892.entry.js} +1 -1
- package/dist/web-components-library/p-dc3c5f36.entry.js +1 -0
- package/dist/web-components-library/p-e0f82390.entry.js +1 -0
- package/dist/web-components-library/p-e1ddeb61.entry.js +1 -0
- package/dist/web-components-library/p-e4d761f4.entry.js +1 -0
- package/dist/web-components-library/p-efca7e17.entry.js +1 -0
- package/dist/web-components-library/p-f08d1cbd.entry.js +1 -0
- package/dist/web-components-library/p-f53d1d26.entry.js +1 -0
- package/dist/web-components-library/p-f8aef252.entry.js +1 -0
- package/dist/web-components-library/p-f94281ee.entry.js +1 -0
- package/dist/web-components-library/p-f9e8ac5d.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +2 -2
- package/react/components.d.ts +17 -0
- package/react/components.js +20 -2
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-016b2800.entry.js +1 -0
- package/www/build/p-067bd5da.entry.js +1 -0
- package/www/build/p-0afc555e.entry.js +1 -0
- package/www/build/{p-214b6cee.entry.js → p-0f28f07e.entry.js} +1 -1
- package/www/build/p-10b84e8c.entry.js +1 -0
- package/www/build/p-12211a48.entry.js +1 -0
- package/www/build/p-18448e4d.entry.js +1 -0
- package/www/build/p-1ab0de76.entry.js +1 -0
- package/www/build/p-1e163a87.entry.js +1 -0
- package/www/build/p-1f187c54.entry.js +1 -0
- package/www/build/p-1f8c8cd0.entry.js +1 -0
- package/www/build/{p-9ed27651.entry.js → p-1f8c947e.entry.js} +1 -1
- package/www/build/{p-2acd6a51.entry.js → p-1fdbd448.entry.js} +1 -1
- package/www/build/{p-33352f9e.entry.js → p-279b422a.entry.js} +1 -1
- package/{dist/web-components-library/p-f158d205.entry.js → www/build/p-2c18a622.entry.js} +1 -1
- package/www/build/p-2d5d8e6f.entry.js +1 -0
- package/www/build/p-2e7a31ac.entry.js +1 -0
- package/www/build/p-3027c60b.entry.js +1 -0
- package/www/build/p-30fcd62b.js +1 -0
- package/www/build/{p-9c28b8fc.entry.js → p-323ae109.entry.js} +1 -1
- package/www/build/p-35739670.entry.js +1 -0
- package/www/build/p-36d2d081.entry.js +1 -0
- package/www/build/{p-67d6cfcb.entry.js → p-3b1c4366.entry.js} +1 -1
- package/www/build/p-3c7cf41f.entry.js +1 -0
- package/www/build/p-3eb0d582.entry.js +1 -0
- package/www/build/p-3ecfb7c1.entry.js +1 -0
- package/www/build/p-40f96085.entry.js +1 -0
- package/www/build/p-42782d06.entry.js +1 -0
- package/www/build/p-4465426a.entry.js +1 -0
- package/www/build/p-468520f5.entry.js +1 -0
- package/www/build/p-46e367c9.entry.js +1 -0
- package/www/build/{p-496863be.entry.js → p-4a322ca6.entry.js} +1 -1
- package/www/build/p-4ba0b17c.entry.js +1 -0
- package/www/build/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
- package/www/build/p-552c6686.entry.js +1 -0
- package/www/build/p-563529f8.entry.js +1 -0
- package/www/build/p-569f6cff.entry.js +1 -0
- package/www/build/p-57faab40.entry.js +1 -0
- package/www/build/p-5935151c.entry.js +1 -0
- package/www/build/p-5b83568e.entry.js +1 -0
- package/www/build/p-5c6108bb.entry.js +1 -0
- package/www/build/p-63a99ad2.entry.js +16 -0
- package/www/build/p-64033ee3.entry.js +1 -0
- package/www/build/p-66bbcf76.entry.js +1 -0
- package/www/build/p-69db61b5.entry.js +1 -0
- package/www/build/p-6e4dd501.entry.js +1 -0
- package/www/build/p-6fe1bffb.entry.js +1 -0
- package/www/build/p-7171d686.entry.js +1 -0
- package/www/build/p-75a4091f.entry.js +1 -0
- package/www/build/p-7b22a446.entry.js +1 -0
- package/www/build/p-7e13d026.entry.js +1 -0
- package/www/build/p-82ff8f0e.entry.js +1 -0
- package/www/build/p-84cc611a.entry.js +1 -0
- package/www/build/p-8879211b.entry.js +1 -0
- package/www/build/p-8949cd1d.entry.js +1 -0
- package/www/build/{p-34c26207.entry.js → p-8fee871a.entry.js} +1 -1
- package/www/build/p-9099124a.entry.js +1 -0
- package/www/build/p-9ecf936d.js +1 -0
- package/www/build/p-a1250f99.entry.js +1 -0
- package/www/build/p-a3b8dd69.entry.js +1 -0
- package/www/build/p-aa271ed7.entry.js +1 -0
- package/www/build/p-af4a9bb7.entry.js +1 -0
- package/www/build/p-af9b8051.entry.js +1 -0
- package/www/build/p-b01314fa.entry.js +1 -0
- package/www/build/p-b4a9ba1d.entry.js +1 -0
- package/www/build/p-b9a69a90.entry.js +1 -0
- package/www/build/p-bbbfd2fa.entry.js +1 -0
- package/www/build/p-bea5aa42.entry.js +1 -0
- package/www/build/{p-b3c29822.js → p-bee26f96.js} +1 -1
- package/www/build/p-c39c68b9.entry.js +1 -0
- package/www/build/p-c7d7958c.entry.js +1 -0
- package/www/build/p-c849a2a5.entry.js +1 -0
- package/www/build/p-d1b45e96.entry.js +1 -0
- package/www/build/p-d70c7670.css +1 -0
- package/www/build/p-d767f784.entry.js +1 -0
- package/www/build/p-d7e72cec.entry.js +1 -0
- package/www/build/p-d8e17d3a.entry.js +1 -0
- package/www/build/{p-9965827d.entry.js → p-db234892.entry.js} +1 -1
- package/www/build/p-dc3c5f36.entry.js +1 -0
- package/www/build/p-e0f82390.entry.js +1 -0
- package/www/build/p-e1ddeb61.entry.js +1 -0
- package/www/build/p-e4d761f4.entry.js +1 -0
- package/www/build/p-ef5f8af2.js +1 -0
- package/www/build/p-efca7e17.entry.js +1 -0
- package/www/build/p-f08d1cbd.entry.js +1 -0
- package/www/build/p-f53d1d26.entry.js +1 -0
- package/www/build/p-f8aef252.entry.js +1 -0
- package/www/build/p-f94281ee.entry.js +1 -0
- package/www/build/p-f9e8ac5d.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +0 -59
- package/dist/cjs/z-myz-list.cjs.entry.js +0 -35
- package/dist/esm/z-menu-dropdown.entry.js +0 -55
- package/dist/esm/z-myz-list.entry.js +0 -31
- package/dist/web-components-library/p-009c9f67.entry.js +0 -1
- package/dist/web-components-library/p-01f001fd.entry.js +0 -1
- package/dist/web-components-library/p-05ced71c.entry.js +0 -1
- package/dist/web-components-library/p-074ea569.entry.js +0 -1
- package/dist/web-components-library/p-07e18572.entry.js +0 -1
- package/dist/web-components-library/p-0843b0e7.entry.js +0 -1
- package/dist/web-components-library/p-0fa4b50b.entry.js +0 -1
- package/dist/web-components-library/p-1b6279a6.entry.js +0 -1
- package/dist/web-components-library/p-1ba8d432.entry.js +0 -1
- package/dist/web-components-library/p-1cb23bbb.entry.js +0 -1
- package/dist/web-components-library/p-20a3247c.entry.js +0 -1
- package/dist/web-components-library/p-26f834e5.entry.js +0 -1
- package/dist/web-components-library/p-279655eb.entry.js +0 -1
- package/dist/web-components-library/p-2d1b6c3c.entry.js +0 -1
- package/dist/web-components-library/p-2efedcf4.entry.js +0 -1
- package/dist/web-components-library/p-344e7ae7.entry.js +0 -1
- package/dist/web-components-library/p-38a3cf3b.entry.js +0 -1
- package/dist/web-components-library/p-3a468aa9.entry.js +0 -1
- package/dist/web-components-library/p-3c2d438b.entry.js +0 -1
- package/dist/web-components-library/p-3f55dce6.entry.js +0 -1
- package/dist/web-components-library/p-411cbcd6.entry.js +0 -1
- package/dist/web-components-library/p-475ca461.entry.js +0 -1
- package/dist/web-components-library/p-4cd6c6f4.entry.js +0 -1
- package/dist/web-components-library/p-51e308ca.entry.js +0 -1
- package/dist/web-components-library/p-5921901c.entry.js +0 -1
- package/dist/web-components-library/p-59cfee8d.entry.js +0 -1
- package/dist/web-components-library/p-5dd9a2c6.entry.js +0 -1
- package/dist/web-components-library/p-61424b8a.entry.js +0 -1
- package/dist/web-components-library/p-682528b2.entry.js +0 -1
- package/dist/web-components-library/p-6b1a5309.entry.js +0 -1
- package/dist/web-components-library/p-7af991f5.entry.js +0 -1
- package/dist/web-components-library/p-810bd730.entry.js +0 -1
- package/dist/web-components-library/p-8980398c.entry.js +0 -1
- package/dist/web-components-library/p-8b960526.entry.js +0 -1
- package/dist/web-components-library/p-8bf0844b.entry.js +0 -1
- package/dist/web-components-library/p-8c105bd1.entry.js +0 -1
- package/dist/web-components-library/p-8f46e548.entry.js +0 -1
- package/dist/web-components-library/p-8ffc17b7.entry.js +0 -1
- package/dist/web-components-library/p-93dc6d51.entry.js +0 -1
- package/dist/web-components-library/p-95b8f109.entry.js +0 -1
- package/dist/web-components-library/p-9c338aeb.entry.js +0 -1
- package/dist/web-components-library/p-9d03a7d6.entry.js +0 -1
- package/dist/web-components-library/p-a23e9115.js +0 -1
- package/dist/web-components-library/p-a2b67e2d.entry.js +0 -1
- package/dist/web-components-library/p-a79d1412.entry.js +0 -1
- package/dist/web-components-library/p-a82ea410.entry.js +0 -1
- package/dist/web-components-library/p-b33f5e6a.entry.js +0 -1
- package/dist/web-components-library/p-b6f36170.entry.js +0 -16
- package/dist/web-components-library/p-bb0fe7bc.entry.js +0 -1
- package/dist/web-components-library/p-bdc6f2e5.entry.js +0 -1
- package/dist/web-components-library/p-beba3e67.entry.js +0 -1
- package/dist/web-components-library/p-c25b0b2a.entry.js +0 -1
- package/dist/web-components-library/p-c6aad085.entry.js +0 -1
- package/dist/web-components-library/p-cd43f80d.js +0 -1
- package/dist/web-components-library/p-ce83ce18.entry.js +0 -1
- package/dist/web-components-library/p-db3c8e3e.entry.js +0 -1
- package/dist/web-components-library/p-e40b16fa.entry.js +0 -1
- package/dist/web-components-library/p-ede9fbf5.entry.js +0 -1
- package/dist/web-components-library/p-f0653e72.entry.js +0 -1
- package/dist/web-components-library/p-f20d1242.entry.js +0 -1
- package/dist/web-components-library/p-f95cc914.entry.js +0 -1
- package/www/build/p-009c9f67.entry.js +0 -1
- package/www/build/p-01f001fd.entry.js +0 -1
- package/www/build/p-05ced71c.entry.js +0 -1
- package/www/build/p-074ea569.entry.js +0 -1
- package/www/build/p-07e18572.entry.js +0 -1
- package/www/build/p-0843b0e7.entry.js +0 -1
- package/www/build/p-0fa4b50b.entry.js +0 -1
- package/www/build/p-1b6279a6.entry.js +0 -1
- package/www/build/p-1ba8d432.entry.js +0 -1
- package/www/build/p-1cb23bbb.entry.js +0 -1
- package/www/build/p-20a3247c.entry.js +0 -1
- package/www/build/p-26f834e5.entry.js +0 -1
- package/www/build/p-279655eb.entry.js +0 -1
- package/www/build/p-2d1b6c3c.entry.js +0 -1
- package/www/build/p-2efedcf4.entry.js +0 -1
- package/www/build/p-32d42cfa.js +0 -129
- package/www/build/p-344e7ae7.entry.js +0 -1
- package/www/build/p-38a3cf3b.entry.js +0 -1
- package/www/build/p-3a468aa9.entry.js +0 -1
- package/www/build/p-3c2d438b.entry.js +0 -1
- package/www/build/p-3f55dce6.entry.js +0 -1
- package/www/build/p-411cbcd6.entry.js +0 -1
- package/www/build/p-43a653ba.css +0 -1802
- package/www/build/p-475ca461.entry.js +0 -1
- package/www/build/p-4cd6c6f4.entry.js +0 -1
- package/www/build/p-51e308ca.entry.js +0 -1
- package/www/build/p-5921901c.entry.js +0 -1
- package/www/build/p-59cfee8d.entry.js +0 -1
- package/www/build/p-5dd9a2c6.entry.js +0 -1
- package/www/build/p-61424b8a.entry.js +0 -1
- package/www/build/p-682528b2.entry.js +0 -1
- package/www/build/p-6b1a5309.entry.js +0 -1
- package/www/build/p-7af991f5.entry.js +0 -1
- package/www/build/p-810bd730.entry.js +0 -1
- package/www/build/p-8980398c.entry.js +0 -1
- package/www/build/p-8b960526.entry.js +0 -1
- package/www/build/p-8bf0844b.entry.js +0 -1
- package/www/build/p-8c105bd1.entry.js +0 -1
- package/www/build/p-8f46e548.entry.js +0 -1
- package/www/build/p-8ffc17b7.entry.js +0 -1
- package/www/build/p-93dc6d51.entry.js +0 -1
- package/www/build/p-95b8f109.entry.js +0 -1
- package/www/build/p-9c338aeb.entry.js +0 -1
- package/www/build/p-9d03a7d6.entry.js +0 -1
- package/www/build/p-a23e9115.js +0 -1
- package/www/build/p-a2b67e2d.entry.js +0 -1
- package/www/build/p-a79d1412.entry.js +0 -1
- package/www/build/p-a82ea410.entry.js +0 -1
- package/www/build/p-b33f5e6a.entry.js +0 -1
- package/www/build/p-b6f36170.entry.js +0 -16
- package/www/build/p-bb0fe7bc.entry.js +0 -1
- package/www/build/p-bdc6f2e5.entry.js +0 -1
- package/www/build/p-beba3e67.entry.js +0 -1
- package/www/build/p-c25b0b2a.entry.js +0 -1
- package/www/build/p-c6aad085.entry.js +0 -1
- package/www/build/p-cd43f80d.js +0 -1
- package/www/build/p-ce83ce18.entry.js +0 -1
- package/www/build/p-db3c8e3e.entry.js +0 -1
- package/www/build/p-e40b16fa.entry.js +0 -1
- package/www/build/p-ede9fbf5.entry.js +0 -1
- package/www/build/p-f0653e72.entry.js +0 -1
- package/www/build/p-f20d1242.entry.js +0 -1
- package/www/build/p-f95cc914.entry.js +0 -1
|
@@ -5,9 +5,8 @@ const stylesCss = "button{display:flex;width:42px;width:calc(var(--space-unit) *
|
|
|
5
5
|
const ZMyzCardIcon = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
-
|
|
8
|
+
this.icon = undefined;
|
|
9
9
|
this.isdisabled = false;
|
|
10
|
-
/** description of the icon*/
|
|
11
10
|
this.ariaLabel = "";
|
|
12
11
|
}
|
|
13
12
|
render() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
|
-
import { P as
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
2
|
+
import { P as PopoverPositions } from './index-aee91593.js';
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-5dc8ce33.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
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)}";
|
|
@@ -9,7 +9,7 @@ const ZMyzCardInfo = class {
|
|
|
9
9
|
constructor(hostRef) {
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
this.flipCard = createEvent(this, "flipCard", 7);
|
|
12
|
-
|
|
12
|
+
this.data = undefined;
|
|
13
13
|
this.htmltabindex = 0;
|
|
14
14
|
this.hiddenContent = false;
|
|
15
15
|
this.tooltip = false;
|
|
@@ -90,7 +90,7 @@ const ZMyzCardInfo = class {
|
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
92
|
const { title, year, author, description } = this.cardData;
|
|
93
|
-
return (h("z-popover", { position:
|
|
93
|
+
return (h("z-popover", { position: PopoverPositions.RIGHT, onClick: () => (this.tooltip = false) }, `${title} ${year} ${author} ${description}`));
|
|
94
94
|
}
|
|
95
95
|
setExpirationLicenseMessage(type) {
|
|
96
96
|
if ((type === "online" && this.cardData.onlineLicense.expired) ||
|
|
@@ -5,6 +5,7 @@ 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;
|
|
8
9
|
this.renderList = this.renderList.bind(this);
|
|
9
10
|
}
|
|
10
11
|
handleSpaceKeyPress(e, url) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-a2ca4b97.js';
|
|
2
|
-
import { L as LicenseType } from './index-
|
|
2
|
+
import { L as LicenseType } from './index-aee91593.js';
|
|
3
3
|
|
|
4
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}";
|
|
5
5
|
|
|
6
6
|
const ZMyzCardComponent = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
|
-
|
|
9
|
+
this.faded = undefined;
|
|
10
|
+
this.cardtype = undefined;
|
|
10
11
|
this.ispressed = false;
|
|
11
|
-
/** highlighted status */
|
|
12
12
|
this.ishighlighted = false;
|
|
13
13
|
}
|
|
14
14
|
retrieveClass() {
|
|
@@ -56,6 +56,10 @@ const stylesCss$1 = "img{display:block;max-width:100%;height:340px;margin:auto;o
|
|
|
56
56
|
const ZMyzCardCover = class {
|
|
57
57
|
constructor(hostRef) {
|
|
58
58
|
registerInstance(this, hostRef);
|
|
59
|
+
this.img = undefined;
|
|
60
|
+
this.titolo = undefined;
|
|
61
|
+
this.faded = undefined;
|
|
62
|
+
this.defaultimg = undefined;
|
|
59
63
|
}
|
|
60
64
|
hadleOnImageError() {
|
|
61
65
|
this.img = this.defaultimg;
|
|
@@ -71,6 +75,9 @@ const stylesCss = "header{position:relative;display:flex;width:auto;height:calc(
|
|
|
71
75
|
const ZMyzCardHeader = class {
|
|
72
76
|
constructor(hostRef) {
|
|
73
77
|
registerInstance(this, hostRef);
|
|
78
|
+
this.titolo = undefined;
|
|
79
|
+
this.faded = undefined;
|
|
80
|
+
this.cardtype = undefined;
|
|
74
81
|
this.allowTooltip = false;
|
|
75
82
|
}
|
|
76
83
|
getTitle() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
3
|
-
import './index-
|
|
2
|
+
import { h as handleKeyboardSubmit } from './utils-5dc8ce33.js';
|
|
3
|
+
import './index-aee91593.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
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)}";
|
|
@@ -10,9 +10,12 @@ const ZMyzListItem = class {
|
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
this.zListItemLinkClick = createEvent(this, "zListItemLinkClick", 7);
|
|
12
12
|
this.zListItemClick = createEvent(this, "zListItemClick", 7);
|
|
13
|
-
|
|
13
|
+
this.text = undefined;
|
|
14
|
+
this.link = undefined;
|
|
14
15
|
this.linktarget = "_self";
|
|
15
|
-
|
|
16
|
+
this.icon = undefined;
|
|
17
|
+
this.listitemid = undefined;
|
|
18
|
+
this.action = undefined;
|
|
16
19
|
this.underlined = true;
|
|
17
20
|
this.emitZListItemLinkClick = this.emitZListItemLinkClick.bind(this);
|
|
18
21
|
this.emitZListItemClick = this.emitZListItemClick.bind(this);
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
+
import { B as ButtonVariant, c as ButtonSize } from './index-aee91593.js';
|
|
3
|
+
import { m as mobileBreakpoint, t as tabletBreakpoint } from './breakpoints-c386984e.js';
|
|
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
|
+
|
|
7
|
+
const ZMyzTopbar = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.intMenuData = [];
|
|
11
|
+
this.extMenuData = [];
|
|
12
|
+
this.isLogged = false;
|
|
13
|
+
this.intlinkdata = undefined;
|
|
14
|
+
this.extlinkdata = undefined;
|
|
15
|
+
this.userdata = undefined;
|
|
16
|
+
this.ismyz = undefined;
|
|
17
|
+
this.logolink = undefined;
|
|
18
|
+
this.imagealt = undefined;
|
|
19
|
+
this.activeintlinkid = undefined;
|
|
20
|
+
this.activesublinkid = undefined;
|
|
21
|
+
this.hideloginbutton = undefined;
|
|
22
|
+
this.activeMenuItem = undefined;
|
|
23
|
+
this.currentMenuItem = undefined;
|
|
24
|
+
this.isMobile = true;
|
|
25
|
+
this.isMenuMobileOpen = false;
|
|
26
|
+
}
|
|
27
|
+
activeIntLinkChange(newValue) {
|
|
28
|
+
this.activeMenuItem = this.currentMenuItem = this.intMenuData.find((item) => item.id === newValue);
|
|
29
|
+
}
|
|
30
|
+
handleResize() {
|
|
31
|
+
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
32
|
+
}
|
|
33
|
+
handleZListItemLinkClick() {
|
|
34
|
+
this.isMenuMobileOpen = false;
|
|
35
|
+
}
|
|
36
|
+
handleZListItemClick() {
|
|
37
|
+
this.isMenuMobileOpen = false;
|
|
38
|
+
}
|
|
39
|
+
componentWillLoad() {
|
|
40
|
+
if (this.intlinkdata) {
|
|
41
|
+
this.intMenuData = typeof this.intlinkdata === "string" ? JSON.parse(this.intlinkdata) : this.intlinkdata;
|
|
42
|
+
}
|
|
43
|
+
this.activeMenuItem = this.currentMenuItem = this.intMenuData.find((item) => item.id === this.activeintlinkid);
|
|
44
|
+
if (this.extlinkdata) {
|
|
45
|
+
this.extMenuData = typeof this.extlinkdata === "string" ? JSON.parse(this.extlinkdata) : this.extlinkdata;
|
|
46
|
+
}
|
|
47
|
+
if (this.userdata) {
|
|
48
|
+
this.userData = typeof this.userdata === "string" ? JSON.parse(this.userdata) : this.userdata;
|
|
49
|
+
this.isLogged = this.userData.islogged;
|
|
50
|
+
}
|
|
51
|
+
this.handleResize();
|
|
52
|
+
}
|
|
53
|
+
renderLogoDiv() {
|
|
54
|
+
return (h("div", { class: "logo" }, h("z-logo", { link: this.logolink ? this.logolink : null, "target-blank": true, width: 144, height: 36, "image-alt": this.imagealt })));
|
|
55
|
+
}
|
|
56
|
+
renderIntMenu(menuItems) {
|
|
57
|
+
if (!this.isLogged || !this.ismyz) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
return (h("div", { id: "link-int", class: "link-int" }, menuItems.map((item) => this.renderIntMenuItem(item))));
|
|
61
|
+
}
|
|
62
|
+
renderIntMenuItem(menuItem) {
|
|
63
|
+
const { id, label, link } = menuItem;
|
|
64
|
+
return (h("span", null, h("a", { href: link ? link : null, id: id, class: "menu-item", onClick: () => {
|
|
65
|
+
this.activeMenuItem = this.currentMenuItem = menuItem;
|
|
66
|
+
this.activeintlinkid = menuItem.id;
|
|
67
|
+
if (menuItem.subMenu) {
|
|
68
|
+
this.handleToggleMobileMenuItem(menuItem.id);
|
|
69
|
+
}
|
|
70
|
+
}, onMouseEnter: () => {
|
|
71
|
+
this.activeMenuItem = menuItem;
|
|
72
|
+
}, onMouseLeave: () => {
|
|
73
|
+
this.activeMenuItem = this.currentMenuItem;
|
|
74
|
+
}, role: link ? "link" : "button", tabindex: this.getIntMenuItemTabindex(menuItem) }, h("span", null, label), menuItem.subMenu ? h("i", null) : null), h("svg", { height: "8", width: "16", class: {
|
|
75
|
+
hidden: !this.activeMenuItem || this.activeMenuItem.id !== id,
|
|
76
|
+
} }, h("polygon", { points: "8,0 16,8 0,8", class: "arrow" })), this.isMobile && this.renderMenuItemsData(menuItem)));
|
|
77
|
+
}
|
|
78
|
+
getIntMenuItemTabindex(item) {
|
|
79
|
+
return this.intMenuData.indexOf(item) + 1;
|
|
80
|
+
}
|
|
81
|
+
handleToggleMobileMenuItem(elementId) {
|
|
82
|
+
if (!this.isMobile) {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
this.element.shadowRoot.querySelector(`#${elementId}`).classList.toggle("isopen");
|
|
86
|
+
this.element.shadowRoot.querySelector("#mobile-dropdown-" + elementId).classList.toggle("visible");
|
|
87
|
+
}
|
|
88
|
+
renderMenuItemsData(menuItem) {
|
|
89
|
+
if (!menuItem.subMenu) {
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
92
|
+
const listItems = menuItem.subMenu.map((item) => {
|
|
93
|
+
return {
|
|
94
|
+
id: item.id,
|
|
95
|
+
text: item.label,
|
|
96
|
+
link: item.link,
|
|
97
|
+
listitemid: item.id,
|
|
98
|
+
};
|
|
99
|
+
});
|
|
100
|
+
return this.renderMobileSubMenu(listItems, menuItem.id);
|
|
101
|
+
}
|
|
102
|
+
renderMobileSubMenu(menuItems, id) {
|
|
103
|
+
return (h("span", { class: "mobile-dropdown", id: id ? `mobile-dropdown-${id}` : "" }, h("z-myz-list", { list: menuItems })));
|
|
104
|
+
}
|
|
105
|
+
renderSubMenu(menuItem) {
|
|
106
|
+
if (!this.ismyz || !this.isLogged) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
if (!menuItem || !menuItem.subMenu) {
|
|
110
|
+
return (h("div", { id: "dropdown-menu", class: `dropdown-menu hidden` }));
|
|
111
|
+
}
|
|
112
|
+
return (h("div", { id: "dropdown-menu", class: `dropdown-menu` }, h("ul", { class: "dropdown-links" }, menuItem.subMenu.map((item) => (h("li", null, h("a", { id: item.id, class: item.id === this.activesublinkid ? "active" : "", href: item.link ? item.link : null, role: item.link ? "link" : "button", tabindex: this.getIntMenuItemTabindex(menuItem) }, item.label)))))));
|
|
113
|
+
}
|
|
114
|
+
renderExtLinksIcons(icon) {
|
|
115
|
+
const width = window.innerWidth > 0 ? window.innerWidth : screen.width;
|
|
116
|
+
const hideIcons = width > mobileBreakpoint && width < tabletBreakpoint;
|
|
117
|
+
if (!hideIcons) {
|
|
118
|
+
return { icon };
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
renderExtMenu(menuItems) {
|
|
122
|
+
if (!this.isLogged) {
|
|
123
|
+
return h("div", null);
|
|
124
|
+
}
|
|
125
|
+
return (h("div", { id: "link-ext", class: "link-ext" }, menuItems.map((menuItem) => {
|
|
126
|
+
const { id, label, link, icon } = menuItem;
|
|
127
|
+
return (h("span", { class: `link-ext-span${this.ismyz ? " myz" : ""}` }, h("z-link", Object.assign({ id: id, htmlid: id, href: link, iswhite: !!this.ismyz, target: "_blank", htmltabindex: 10 }, this.renderExtLinksIcons(icon)), label)));
|
|
128
|
+
})));
|
|
129
|
+
}
|
|
130
|
+
renderLoginDiv(userData) {
|
|
131
|
+
return (h("div", { class: "login" }, this.isLogged ? (h("z-menu-dropdown", { nomeutente: userData.name, menucontent: JSON.stringify(userData.userlinks) })) : (this.renderLoginButton())));
|
|
132
|
+
}
|
|
133
|
+
renderLoginButton() {
|
|
134
|
+
if (this.hideloginbutton) {
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
return (h("z-button", { htmlid: "login-button", variant: this.ismyz ? ButtonVariant.SECONDARY : ButtonVariant.TERTIARY, icon: "login", size: ButtonSize.SMALL }, "entra"));
|
|
138
|
+
}
|
|
139
|
+
renderMobileLoginDiv(userData) {
|
|
140
|
+
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))));
|
|
141
|
+
}
|
|
142
|
+
renderUserData(userData) {
|
|
143
|
+
if (this.isMobile && !userData) {
|
|
144
|
+
return null;
|
|
145
|
+
}
|
|
146
|
+
const listItems = userData.userlinks.map((item) => {
|
|
147
|
+
return {
|
|
148
|
+
text: item.label,
|
|
149
|
+
link: item.link,
|
|
150
|
+
icon: item.icon,
|
|
151
|
+
listitemid: item.id,
|
|
152
|
+
};
|
|
153
|
+
});
|
|
154
|
+
return this.renderMobileSubMenu(listItems, "user-data");
|
|
155
|
+
}
|
|
156
|
+
renderDesktopHeader() {
|
|
157
|
+
return (h("header", { class: !this.ismyz ? "myz-out" : "" }, this.renderMainHeader(), this.renderSubMenu(this.activeMenuItem)));
|
|
158
|
+
}
|
|
159
|
+
renderMainHeader() {
|
|
160
|
+
return (h("div", { id: "main-header", class: {
|
|
161
|
+
"main-header": true,
|
|
162
|
+
"myz-out": !this.ismyz,
|
|
163
|
+
} }, this.renderLogoDiv(), this.renderIntMenu(this.intMenuData), this.renderExtMenu(this.extMenuData), this.renderLoginDiv(this.userData)));
|
|
164
|
+
}
|
|
165
|
+
renderMobileHeader() {
|
|
166
|
+
return (h("header", null, this.renderMobileMenu(), this.renderMobileMenuContent()));
|
|
167
|
+
}
|
|
168
|
+
renderMobileMenu() {
|
|
169
|
+
return (h("div", { id: "mobile-header", class: `mobile-header${this.ismyz ? "" : " myz-out"}` }, this.renderLogoDiv(), this.renderMobileMenuToggle()));
|
|
170
|
+
}
|
|
171
|
+
renderMobileMenuToggle() {
|
|
172
|
+
if (!this.isLogged) {
|
|
173
|
+
return this.renderLoginButton();
|
|
174
|
+
}
|
|
175
|
+
return (h("div", { class: "menu-mobile", id: "mobile-menu-wrapper", onClick: () => (this.isMenuMobileOpen = !this.isMenuMobileOpen) }, h("div", { class: `menu-toggle${this.isMenuMobileOpen ? " is-active" : ""}`, id: "mobile-menu" }, h("span", { class: "bar" }), h("span", { class: "bar" }), h("span", { class: "bar" })), h("span", null, "Menu")));
|
|
176
|
+
}
|
|
177
|
+
renderMobileMenuContent() {
|
|
178
|
+
if (!this.isLogged) {
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
return (h("div", { id: "mobile-content", class: {
|
|
182
|
+
"mobile-content": true,
|
|
183
|
+
"open": this.isMenuMobileOpen,
|
|
184
|
+
"myz-out": !this.ismyz,
|
|
185
|
+
} }, this.renderMobileLoginDiv(this.userData), this.ismyz && h("hr", null), this.renderIntMenu(this.intMenuData), h("hr", null), this.renderExtMenu(this.extMenuData)));
|
|
186
|
+
}
|
|
187
|
+
render() {
|
|
188
|
+
return this.isMobile ? this.renderMobileHeader() : this.renderDesktopHeader();
|
|
189
|
+
}
|
|
190
|
+
get element() { return getElement(this); }
|
|
191
|
+
static get watchers() { return {
|
|
192
|
+
"activeintlinkid": ["activeIntLinkChange"]
|
|
193
|
+
}; }
|
|
194
|
+
};
|
|
195
|
+
ZMyzTopbar.style = stylesCss;
|
|
196
|
+
|
|
197
|
+
export { ZMyzTopbar as z_myz_topbar };
|
|
@@ -1,5 +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-
|
|
2
|
+
import { N as NavigationTabsOrientation, a as NavigationTabsSize } from './index-aee91593.js';
|
|
3
3
|
import { I as ICONS } from './icons-56ca282c.js';
|
|
4
4
|
|
|
5
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%}";
|
|
@@ -8,22 +8,15 @@ const ZNavigationTabLink = class {
|
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
this.selectedEvent = createEvent(this, "selected", 7);
|
|
11
|
-
/**
|
|
12
|
-
* Whether the tab is selected.
|
|
13
|
-
*/
|
|
14
11
|
this.selected = false;
|
|
15
|
-
/**
|
|
16
|
-
* Whether the tab is disabled.
|
|
17
|
-
*/
|
|
18
12
|
this.disabled = false;
|
|
19
|
-
/**
|
|
20
|
-
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
21
|
-
*/
|
|
22
13
|
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
23
|
-
/**
|
|
24
|
-
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
25
|
-
*/
|
|
26
14
|
this.size = NavigationTabsSize.BIG;
|
|
15
|
+
this.htmlTitle = undefined;
|
|
16
|
+
this.target = undefined;
|
|
17
|
+
this.href = undefined;
|
|
18
|
+
this.icon = undefined;
|
|
19
|
+
this.label = undefined;
|
|
27
20
|
}
|
|
28
21
|
/**
|
|
29
22
|
* Scroll into view to center the tab.
|
|
@@ -1,5 +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-
|
|
2
|
+
import { N as NavigationTabsOrientation, a as NavigationTabsSize } from './index-aee91593.js';
|
|
3
3
|
import { I as ICONS } from './icons-56ca282c.js';
|
|
4
4
|
|
|
5
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%}";
|
|
@@ -8,22 +8,13 @@ const ZNavigationTab = class {
|
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
this.selectedEvent = createEvent(this, "selected", 7);
|
|
11
|
-
/**
|
|
12
|
-
* Whether the tab is selected.
|
|
13
|
-
*/
|
|
14
11
|
this.selected = false;
|
|
15
|
-
/**
|
|
16
|
-
* Whether the tab is disabled.
|
|
17
|
-
*/
|
|
18
12
|
this.disabled = false;
|
|
19
|
-
/**
|
|
20
|
-
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
21
|
-
*/
|
|
22
13
|
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
23
|
-
/**
|
|
24
|
-
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
25
|
-
*/
|
|
26
14
|
this.size = NavigationTabsSize.BIG;
|
|
15
|
+
this.icon = undefined;
|
|
16
|
+
this.label = undefined;
|
|
17
|
+
this.htmlTitle = undefined;
|
|
27
18
|
}
|
|
28
19
|
/**
|
|
29
20
|
* Scroll into view to center the tab.
|
|
@@ -1,19 +1,16 @@
|
|
|
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-
|
|
2
|
+
import { N as NavigationTabsOrientation, a as NavigationTabsSize } from './index-aee91593.js';
|
|
3
3
|
|
|
4
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)}";
|
|
5
5
|
|
|
6
6
|
const ZNavigationTabs = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
|
-
/**
|
|
10
|
-
* Navigation tabs orientation.
|
|
11
|
-
*/
|
|
12
9
|
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
13
|
-
/**
|
|
14
|
-
* Navigation tabs size.
|
|
15
|
-
*/
|
|
16
10
|
this.size = NavigationTabsSize.BIG;
|
|
11
|
+
this.canNavigate = undefined;
|
|
12
|
+
this.canNavigatePrev = undefined;
|
|
13
|
+
this.canNavigateNext = undefined;
|
|
17
14
|
}
|
|
18
15
|
/**
|
|
19
16
|
* Getter for the direction to check based on current orientation.
|
|
@@ -7,14 +7,11 @@ 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
|
-
|
|
10
|
+
this.contenticonname = undefined;
|
|
11
|
+
this.actiontext = undefined;
|
|
12
|
+
this.type = undefined;
|
|
11
13
|
this.showclose = false;
|
|
12
|
-
/**
|
|
13
|
-
* Enable shadow.
|
|
14
|
-
* @deprecated shadow is available only for the `sticky` version of the notification.
|
|
15
|
-
*/
|
|
16
14
|
this.showshadow = false;
|
|
17
|
-
/** Enable sticky notification bar. */
|
|
18
15
|
this.sticky = false;
|
|
19
16
|
this.handleActionButtonClick = this.handleActionButtonClick.bind(this);
|
|
20
17
|
this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);
|
|
@@ -1,5 +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,
|
|
2
|
+
import { O as OffCanvasVariant, x as TransitionDirection } from './index-aee91593.js';
|
|
3
3
|
|
|
4
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}}";
|
|
5
5
|
|
|
@@ -7,15 +7,8 @@ const ZOffcanvas = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.canvasOpenStatusChanged = createEvent(this, "canvasOpenStatusChanged", 7);
|
|
10
|
-
/**
|
|
11
|
-
* Offcanvas variant.
|
|
12
|
-
* Can be one of "overlay", "pushcontent"
|
|
13
|
-
* Default variant: pushcontent
|
|
14
|
-
*/
|
|
15
10
|
this.variant = OffCanvasVariant.PUSHCONTENT;
|
|
16
|
-
/** open component. Default: false */
|
|
17
11
|
this.open = false;
|
|
18
|
-
/** open content transitioning in a specified direction left | right. Default: left */
|
|
19
12
|
this.transitiondirection = TransitionDirection.LEFT;
|
|
20
13
|
}
|
|
21
14
|
componentWillLoad() {
|
package/dist/esm/z-otp.entry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
|
-
import { d as InputStatus } from './index-
|
|
2
|
+
import { d as InputStatus } from './index-aee91593.js';
|
|
3
3
|
|
|
4
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)}}";
|
|
5
5
|
|
|
@@ -7,8 +7,9 @@ const ZOtp = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.otpChange = createEvent(this, "otpChange", 7);
|
|
10
|
-
/** Input number */
|
|
11
10
|
this.inputNum = 6;
|
|
11
|
+
this.status = undefined;
|
|
12
|
+
this.message = undefined;
|
|
12
13
|
}
|
|
13
14
|
emitInputChange(value) {
|
|
14
15
|
this.otpChange.emit({ value });
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
|
+
import { h as hammer } from './hammer-c3266b17.js';
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-5dc8ce33.js';
|
|
4
|
+
import './_commonjsHelpers-9943807e.js';
|
|
5
|
+
import './index-aee91593.js';
|
|
6
|
+
import './breakpoints-c386984e.js';
|
|
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}";
|
|
9
|
+
|
|
10
|
+
const ZPaginationBar = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
registerInstance(this, hostRef);
|
|
13
|
+
this.goToPage = createEvent(this, "goToPage", 7);
|
|
14
|
+
this.changeStartPage = createEvent(this, "changeStartPage", 7);
|
|
15
|
+
this.addPageToHistory = createEvent(this, "addPageToHistory", 7);
|
|
16
|
+
this.velocityConstantMultiplier = 2;
|
|
17
|
+
this.pages = undefined;
|
|
18
|
+
this.visiblepages = undefined;
|
|
19
|
+
this.currentpage = 1;
|
|
20
|
+
this.startpage = 1;
|
|
21
|
+
this.historyraw = undefined;
|
|
22
|
+
this.listhistoryrow = [];
|
|
23
|
+
this.currentPages = [];
|
|
24
|
+
this.navigateRight = this.navigateRight.bind(this);
|
|
25
|
+
this.navigateLeft = this.navigateLeft.bind(this);
|
|
26
|
+
this.emitGoToPage = this.emitGoToPage.bind(this);
|
|
27
|
+
}
|
|
28
|
+
componentDidLoad() {
|
|
29
|
+
this.scrollPage = this.scrollPage.bind(this);
|
|
30
|
+
const mc = new hammer(this.bar);
|
|
31
|
+
// listen to events...
|
|
32
|
+
mc.on("swiperight", this.scrollPage);
|
|
33
|
+
mc.on("swipeleft", this.scrollPage);
|
|
34
|
+
}
|
|
35
|
+
componentWillRender() {
|
|
36
|
+
this.initPagination();
|
|
37
|
+
}
|
|
38
|
+
componentWillUpdate() {
|
|
39
|
+
this.initPagination();
|
|
40
|
+
}
|
|
41
|
+
initPagination() {
|
|
42
|
+
this.loadPages();
|
|
43
|
+
if (this.historyraw) {
|
|
44
|
+
this.parsehistoryraw(this.historyraw);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
parsehistoryraw(historyraw) {
|
|
48
|
+
this.listhistoryrow = [...JSON.parse(historyraw)];
|
|
49
|
+
}
|
|
50
|
+
scrollPage(ev) {
|
|
51
|
+
const vel = Math.round(Math.abs(ev.velocity)) * this.velocityConstantMultiplier;
|
|
52
|
+
const deltaPage = Math.max(1, vel);
|
|
53
|
+
switch (ev.type) {
|
|
54
|
+
case "swiperight":
|
|
55
|
+
if (this.canNavigateLeft()) {
|
|
56
|
+
this.emitChangeStartPage(Math.max(1, this.startpage - deltaPage));
|
|
57
|
+
}
|
|
58
|
+
break;
|
|
59
|
+
case "swipeleft":
|
|
60
|
+
if (this.canNavigateRight()) {
|
|
61
|
+
this.emitChangeStartPage(Math.min(this.startpage + deltaPage, this.pages - this.visiblepages + 1));
|
|
62
|
+
}
|
|
63
|
+
break;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
emitGoToPage(page) {
|
|
67
|
+
this.currentpage = page;
|
|
68
|
+
this.goToPage.emit({ page: page });
|
|
69
|
+
this.addPageToHistory.emit({ page: page });
|
|
70
|
+
}
|
|
71
|
+
emitChangeStartPage(startpage) {
|
|
72
|
+
this.startpage = startpage;
|
|
73
|
+
this.changeStartPage.emit({ startpage: startpage });
|
|
74
|
+
}
|
|
75
|
+
loadPages() {
|
|
76
|
+
this.currentPages.splice(0);
|
|
77
|
+
const lastPage = this.pageWindow();
|
|
78
|
+
let i;
|
|
79
|
+
for (i = 0; i < lastPage; i++) {
|
|
80
|
+
this.currentPages.push(i + this.startpage);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
pageWindow() {
|
|
84
|
+
return Math.min(this.pages, this.visiblepages); //How many pages are there to show?
|
|
85
|
+
}
|
|
86
|
+
canNavigateLeft() {
|
|
87
|
+
return this.startpage > 1;
|
|
88
|
+
}
|
|
89
|
+
canNavigateRight() {
|
|
90
|
+
return this.startpage + this.visiblepages - 1 < this.pages;
|
|
91
|
+
}
|
|
92
|
+
navigateLeft() {
|
|
93
|
+
if (this.canNavigateLeft()) {
|
|
94
|
+
this.startpage--;
|
|
95
|
+
this.emitChangeStartPage(this.startpage);
|
|
96
|
+
this.loadPages();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
navigateRight() {
|
|
100
|
+
if (this.canNavigateRight()) {
|
|
101
|
+
this.startpage++;
|
|
102
|
+
this.emitChangeStartPage(this.startpage);
|
|
103
|
+
this.loadPages();
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
render() {
|
|
107
|
+
return (h("div", { ref: (el) => (this.bar = el) }, h("z-icon", { name: "chevron-left", class: !this.canNavigateLeft() && "disabled", onClick: () => this.navigateLeft(), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.navigateLeft), tabindex: this.canNavigateLeft() ? 0 : -1 }), this.currentPages.map((page) => (h("z-pagination-page", { value: page, isselected: page === this.currentpage, onClick: () => this.emitGoToPage(page), onKeyDown: (ev) => handleKeyboardSubmit(ev, this.emitGoToPage, page), isvisited: this.listhistoryrow.includes(page) }))), h("z-icon", { name: "chevron-right", class: !this.canNavigateRight() && "disabled", onClick: () => this.navigateRight(), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.navigateRight), tabindex: this.canNavigateRight() ? 0 : -1 })));
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
ZPaginationBar.style = stylesCss;
|
|
111
|
+
|
|
112
|
+
export { ZPaginationBar as z_pagination_bar };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-a2ca4b97.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{display:inline-block;font-family:var(--font-family-sans);font-weight:var(--font-sb)}:host>button{display:inline-block;min-width:56px;height:48px;box-sizing:border-box;border:none;border-bottom:var(--border-size-large) solid transparent;margin:0;background:transparent;color:var(--color-primary01);cursor:pointer;font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:inherit;line-height:48px;outline:none;text-align:center;text-decoration:none;transition:border-bottom 0.2s ease, font-size 0.2s ease}:host>button[disabled]{color:var(--color-disabled02);cursor:default;pointer-events:none}:host>button:hover{border-bottom:var(--border-size-large) solid var(--color-hover-light);background-color:var(--color-background);text-decoration:none;transition:border-bottom 0.2s ease, background-color 0.2s ease}:host>button:focus{border-bottom:var(--border-size-large) solid var(--color-hover-light);background-color:var(--color-background);box-shadow:var(--shadow-focus-primary);text-decoration:none}:host>button.visited{border-color:var(--color-hover-light);text-decoration:none}:host>button.selected{border-bottom:var(--border-size-large) solid var(--color-primary01);font-size:var(--font-size-7);transition:border-bottom 0.2s ease, font-size 0.2s ease}";
|
|
4
|
+
|
|
5
|
+
const ZPaginationPage = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.pageid = undefined;
|
|
9
|
+
this.value = undefined;
|
|
10
|
+
this.isselected = false;
|
|
11
|
+
this.isdisabled = false;
|
|
12
|
+
this.isvisited = false;
|
|
13
|
+
this.ariaLabel = "";
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
return (h("button", { id: this.pageid, "aria-label": this.ariaLabel ? this.ariaLabel : `Go to page ${this.value}`, class: { selected: this.isselected, visited: this.isvisited }, disabled: this.isdisabled, type: "button" }, this.value));
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
ZPaginationPage.style = stylesCss;
|
|
20
|
+
|
|
21
|
+
export { ZPaginationPage as z_pagination_page };
|