@zanichelli/albe-web-components 5.6.2 → 6.0.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/CHANGELOG.md +48 -0
- package/dist/cjs/{icons-9fc3ff30.js → icons-460f0f1e.js} +104 -104
- package/dist/cjs/{index-e3299e0a.js → index-0b49c192.js} +207 -225
- package/dist/cjs/index-199cd650.js +346 -0
- package/dist/cjs/index.cjs.js +53 -59
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-dfe717c7.js → utils-ce225fb3.js} +13 -13
- package/dist/cjs/{utils-4647eb06.js → utils-ebe45309.js} +21 -35
- package/dist/cjs/web-components-library.cjs.js +3 -3
- package/dist/cjs/z-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-app-header.cjs.entry.js +16 -14
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +159 -177
- package/dist/cjs/z-aria-alert.cjs.entry.js +4 -3
- package/dist/cjs/z-avatar.cjs.entry.js +9 -8
- package/dist/cjs/z-body_2.cjs.entry.js +5 -3
- package/dist/cjs/z-button-deprecated.cjs.entry.js +12 -9
- package/dist/cjs/z-button-filter.cjs.entry.js +4 -3
- package/dist/cjs/z-button-sort.cjs.entry.js +5 -6
- package/dist/cjs/z-button.cjs.entry.js +10 -11
- package/dist/cjs/z-candybar.cjs.entry.js +2 -2
- package/dist/cjs/z-card.cjs.entry.js +16 -19
- package/dist/cjs/z-carousel.cjs.entry.js +8 -13
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +4 -6
- package/dist/cjs/z-chip.cjs.entry.js +7 -7
- package/dist/cjs/z-combobox.cjs.entry.js +30 -26
- package/dist/cjs/z-contextual-menu.cjs.entry.js +5 -10
- package/dist/cjs/z-cookiebar.cjs.entry.js +6 -7
- package/dist/cjs/z-cover-hero.cjs.entry.js +6 -5
- package/dist/cjs/z-date-picker.cjs.entry.js +39 -46
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +4 -3
- package/dist/cjs/z-file-upload.cjs.entry.js +18 -20
- package/dist/cjs/z-file.cjs.entry.js +4 -4
- package/dist/cjs/z-footer-link_3.cjs.entry.js +4 -4
- package/dist/cjs/z-footer.cjs.entry.js +13 -16
- package/dist/cjs/z-ghost-loading.cjs.entry.js +3 -3
- package/dist/cjs/z-icon-package.cjs.entry.js +3 -4
- package/dist/cjs/z-info-box.cjs.entry.js +3 -3
- package/dist/cjs/z-info-reveal.cjs.entry.js +9 -8
- package/dist/cjs/z-input-deprecated.cjs.entry.js +55 -67
- package/dist/cjs/z-input-label_2.cjs.entry.js +44 -40
- package/dist/cjs/z-list-group.cjs.entry.js +7 -7
- package/dist/cjs/z-list_2.cjs.entry.js +16 -16
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +10 -11
- package/dist/cjs/z-menu-section.cjs.entry.js +3 -3
- package/dist/cjs/z-menu.cjs.entry.js +10 -13
- package/dist/cjs/z-messages-pocket.cjs.entry.js +7 -7
- package/dist/cjs/z-modal-login.cjs.entry.js +17 -15
- package/dist/cjs/z-modal.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +8 -8
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +11 -10
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +27 -17
- package/dist/cjs/z-myz-card-list.cjs.entry.js +4 -3
- package/dist/cjs/z-myz-card_4.cjs.entry.js +17 -13
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-topbar.cjs.entry.js +35 -39
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +11 -11
- package/dist/cjs/z-navigation-tab.cjs.entry.js +12 -12
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +21 -21
- package/dist/cjs/z-notification.cjs.entry.js +3 -8
- package/dist/cjs/z-offcanvas.cjs.entry.js +12 -15
- package/dist/cjs/z-otp.cjs.entry.js +18 -18
- package/dist/cjs/z-pagination-bar.cjs.entry.js +13 -25
- package/dist/cjs/z-pagination-page.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination.cjs.entry.js +14 -17
- package/dist/cjs/z-panel-elem.cjs.entry.js +4 -4
- package/dist/cjs/z-pocket-message.cjs.entry.js +3 -3
- package/dist/cjs/z-pocket_3.cjs.entry.js +19 -19
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +20 -17
- package/dist/cjs/z-popover.cjs.entry.js +38 -56
- package/dist/cjs/z-section-title.cjs.entry.js +5 -14
- package/dist/cjs/z-skip-to-content.cjs.entry.js +19 -21
- package/dist/cjs/z-slideshow.cjs.entry.js +29 -12
- package/dist/cjs/z-status-tag.cjs.entry.js +9 -9
- package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper.cjs.entry.js +3 -3
- package/dist/cjs/z-table-body.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +11 -11
- package/dist/cjs/z-table-empty-box.cjs.entry.js +6 -7
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +2 -2
- package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table-head.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +4 -4
- package/dist/cjs/z-table-header.cjs.entry.js +18 -21
- package/dist/cjs/z-table-row.cjs.entry.js +9 -9
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +3 -3
- package/dist/cjs/z-table.cjs.entry.js +7 -9
- package/dist/cjs/z-tag.cjs.entry.js +3 -3
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +17 -17
- package/dist/cjs/z-toast-notification.cjs.entry.js +38 -41
- package/dist/cjs/z-toggle-button.cjs.entry.js +8 -10
- package/dist/cjs/z-toggle-switch.cjs.entry.js +19 -17
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +36 -47
- package/dist/cjs/z-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/z-user-dropdown.cjs.entry.js +6 -8
- package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
- package/dist/collection/beans/index.js +258 -266
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/buttons/z-button/index.js +22 -22
- package/dist/collection/components/buttons/z-button/styles.css +31 -30
- package/dist/collection/components/buttons/z-button-sort/index.js +3 -4
- package/dist/collection/components/buttons/z-button-sort/styles.css +14 -14
- package/dist/collection/components/buttons/z-chip/index.js +7 -7
- package/dist/collection/components/buttons/z-chip/styles.css +12 -15
- package/dist/collection/components/buttons/z-toggle-button/index.js +6 -8
- package/dist/collection/components/buttons/z-toggle-button/styles.css +10 -10
- package/dist/collection/components/buttons/z-toggle-switch/index.js +25 -28
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +15 -18
- package/dist/collection/components/date-picker/styles.css +65 -83
- package/dist/collection/components/date-picker/utils.js +21 -35
- package/dist/collection/components/date-picker/z-date-picker/index.js +40 -47
- package/dist/collection/components/date-picker/z-range-picker/index.js +71 -86
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +1 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +14 -25
- package/dist/collection/components/file-upload/z-file/index.js +6 -6
- package/dist/collection/components/file-upload/z-file/styles.css +5 -18
- package/dist/collection/components/file-upload/z-file-upload/index.js +23 -25
- package/dist/collection/components/file-upload/z-file-upload/styles.css +8 -15
- package/dist/collection/components/footer/z-footer/index.js +11 -14
- package/dist/collection/components/footer/z-footer/styles.css +27 -32
- package/dist/collection/components/footer/z-footer-link/styles.css +6 -14
- package/dist/collection/components/footer/z-footer-section/index.js +1 -1
- package/dist/collection/components/footer/z-footer-section/styles.css +35 -48
- package/dist/collection/components/footer/z-footer-social/styles.css +0 -8
- package/dist/collection/components/icons/icons.js +103 -103
- package/dist/collection/components/icons/z-icon/index.js +7 -9
- package/dist/collection/components/icons/z-icon/styles.css +2 -2
- package/dist/collection/components/icons/z-icon-package/index.js +3 -4
- package/dist/collection/components/icons/z-icon-package/styles.css +3 -3
- package/dist/collection/components/indicators/z-stepper/index.js +2 -2
- package/dist/collection/components/indicators/z-stepper/styles.css +3 -3
- package/dist/collection/components/indicators/z-stepper-item/index.js +1 -1
- package/dist/collection/components/indicators/z-stepper-item/styles.css +22 -23
- package/dist/collection/components/inputs/z-combobox/index.js +31 -27
- package/dist/collection/components/inputs/z-combobox/styles.css +43 -48
- package/dist/collection/components/inputs/z-input/index.js +63 -70
- package/dist/collection/components/inputs/z-input/styles.css +83 -93
- package/dist/collection/components/inputs/z-input-message/index.js +4 -4
- package/dist/collection/components/inputs/z-input-message/styles.css +5 -5
- package/dist/collection/components/inputs/z-select/index.js +51 -47
- package/dist/collection/components/inputs/z-select/styles.css +23 -28
- package/dist/collection/components/list/z-list/index.js +3 -3
- package/dist/collection/components/list/z-list/styles.css +2 -3
- package/dist/collection/components/list/z-list-element/index.js +24 -24
- package/dist/collection/components/list/z-list-element/styles.css +18 -40
- package/dist/collection/components/list/z-list-group/index.js +10 -10
- package/dist/collection/components/list/z-list-group/styles.css +1 -2
- package/dist/collection/components/list/z-toast-notification-list/index.js +21 -20
- package/dist/collection/components/list/z-toast-notification-list/styles.css +37 -44
- package/dist/collection/components/logo/z-logo/index.js +1 -3
- package/dist/collection/components/logo/z-logo/styles.css +3 -3
- package/dist/collection/components/modal/z-modal/index.js +2 -5
- package/dist/collection/components/modal/z-modal/styles.css +23 -29
- package/dist/collection/components/modal/z-modal-login/index.js +19 -17
- package/dist/collection/components/modal/z-modal-login/styles.css +28 -37
- package/dist/collection/components/navigation/tabs/navigation-tab.css +19 -19
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +17 -27
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +17 -27
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +26 -36
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +23 -23
- package/dist/collection/components/navigation/z-app-header/index.js +17 -15
- package/dist/collection/components/navigation/z-app-header/styles.css +68 -78
- package/dist/collection/components/navigation/z-app-switcher/index.js +5 -5
- package/dist/collection/components/navigation/z-app-switcher/styles.css +5 -17
- package/dist/collection/components/navigation/z-app-topbar/index.js +6 -6
- package/dist/collection/components/navigation/z-app-topbar/styles.css +11 -17
- package/dist/collection/components/navigation/z-link/index.js +15 -13
- package/dist/collection/components/navigation/z-link/styles.css +15 -12
- package/dist/collection/components/navigation/z-menu/index.js +9 -12
- package/dist/collection/components/navigation/z-menu/styles.css +22 -25
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +7 -8
- package/dist/collection/components/navigation/z-menu-dropdown/styles.css +21 -21
- package/dist/collection/components/navigation/z-menu-section/index.js +3 -3
- package/dist/collection/components/navigation/z-menu-section/styles.css +14 -14
- package/dist/collection/components/navigation/z-user-dropdown/index.js +4 -6
- package/dist/collection/components/navigation/z-user-dropdown/styles.css +63 -72
- package/dist/collection/components/notification/z-candybar/styles.css +21 -27
- package/dist/collection/components/notification/z-cookiebar/index.js +6 -7
- package/dist/collection/components/notification/z-cookiebar/styles.css +18 -19
- package/dist/collection/components/notification/z-info-box/index.js +2 -2
- package/dist/collection/components/notification/z-info-box/styles.css +8 -8
- package/dist/collection/components/notification/z-notification/index.js +3 -8
- package/dist/collection/components/notification/z-notification/styles.css +11 -11
- package/dist/collection/components/notification/z-toast-notification/index.js +44 -48
- package/dist/collection/components/notification/z-toast-notification/styles.css +38 -30
- package/dist/collection/components/notification/z-tooltip/index.js +6 -6
- package/dist/collection/components/panel/z-panel-elem/index.js +5 -5
- package/dist/collection/components/panel/z-panel-elem/styles.css +6 -6
- package/dist/collection/components/typography/z-body/index.js +4 -3
- package/dist/collection/components/typography/z-heading/index.js +4 -3
- package/dist/collection/components/typography/z-typography/index.js +19 -18
- package/dist/collection/components/typography/z-typography/styles.css +13 -13
- package/dist/collection/components/z-aria-alert/index.js +12 -6
- package/dist/collection/components/z-avatar/index.js +8 -7
- package/dist/collection/components/z-avatar/styles.css +7 -10
- package/dist/collection/components/z-card/index.js +18 -21
- package/dist/collection/components/z-card/styles.css +38 -42
- package/dist/collection/components/z-carousel/index.js +7 -12
- package/dist/collection/components/z-carousel/styles.css +12 -12
- package/dist/collection/components/z-contextual-menu/index.js +5 -10
- package/dist/collection/components/z-contextual-menu/styles.css +8 -8
- package/dist/collection/components/z-cover-hero/index.js +3 -2
- package/dist/collection/components/z-cover-hero/styles.css +4 -4
- package/dist/collection/components/z-divider/index.js +6 -6
- package/dist/collection/components/z-ghost-loading/index.js +2 -2
- package/dist/collection/components/z-ghost-loading/styles.css +14 -14
- package/dist/collection/components/z-info-reveal/index.js +13 -12
- package/dist/collection/components/z-info-reveal/styles.css +9 -8
- package/dist/collection/components/z-offcanvas/index.js +19 -22
- package/dist/collection/components/z-offcanvas/styles.css +65 -45
- package/dist/collection/components/z-pagination/index.js +13 -16
- package/dist/collection/components/z-pagination/styles.css +16 -21
- package/dist/collection/components/z-popover/index.js +41 -59
- package/dist/collection/components/z-popover/styles.css +9 -9
- package/dist/collection/components/z-section-title/index.js +6 -15
- package/dist/collection/components/z-section-title/styles.css +2 -2
- package/dist/collection/components/z-skip-to-content/index.js +17 -19
- package/dist/collection/components/z-skip-to-content/styles.css +11 -15
- package/dist/collection/components/z-table/z-table/index.js +6 -8
- package/dist/collection/components/z-table/z-table/styles.css +23 -74
- package/dist/collection/components/z-table/z-table-cell/index.js +11 -10
- package/dist/collection/components/z-table/z-table-cell/styles.css +5 -4
- package/dist/collection/components/z-table/z-table-empty-box/index.js +4 -4
- package/dist/collection/components/z-table/z-table-empty-box/styles.css +5 -6
- package/dist/collection/components/z-table/z-table-expanded-row/styles.css +2 -2
- package/dist/collection/components/z-table/z-table-footer/styles.css +3 -3
- package/dist/collection/components/z-table/z-table-header/index.js +23 -25
- package/dist/collection/components/z-table/z-table-header/styles.css +4 -2
- package/dist/collection/components/z-table/z-table-header-row/index.js +3 -3
- package/dist/collection/components/z-table/z-table-header-row/styles.css +1 -1
- package/dist/collection/components/z-table/z-table-row/index.js +11 -11
- package/dist/collection/components/z-table/z-table-row/styles.css +9 -18
- package/dist/collection/components/z-table/z-table-sticky-footer/index.js +2 -2
- package/dist/collection/components/z-table/z-table-sticky-footer/styles.css +4 -4
- package/dist/collection/components/z-tag/index.js +1 -1
- package/dist/collection/components/z-tag/styles.css +7 -12
- package/dist/collection/components/z-visually-hidden/styles.css +6 -6
- package/dist/collection/constants/icons.js +1 -1
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +9 -23
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +8 -9
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +13 -13
- package/dist/collection/deprecated/z-button-deprecated/index.js +24 -19
- package/dist/collection/deprecated/z-button-deprecated/styles.css +39 -39
- package/dist/collection/deprecated/z-button-filter/index.js +2 -1
- package/dist/collection/deprecated/z-button-filter/styles.css +7 -17
- package/dist/collection/deprecated/z-chip-deprecated/index.js +5 -7
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +2 -2
- package/dist/collection/deprecated/z-input-deprecated/index.js +62 -74
- package/dist/collection/deprecated/z-input-deprecated/styles.css +77 -91
- package/dist/collection/deprecated/z-input-label/index.js +1 -1
- package/dist/collection/deprecated/z-input-label/styles.css +2 -2
- package/dist/collection/deprecated/z-popover-deprecated/index.js +24 -20
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +36 -37
- package/dist/collection/deprecated/z-status-tag/index.js +9 -8
- package/dist/collection/deprecated/z-status-tag/styles.css +10 -12
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +36 -47
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +37 -37
- package/dist/collection/index.js +4 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +10 -7
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +4 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +6 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +16 -16
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +4 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +10 -27
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +12 -11
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +52 -50
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +3 -15
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +9 -8
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +13 -14
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +14 -15
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +23 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +23 -54
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +2 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +13 -13
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +4 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +18 -19
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +7 -7
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +13 -17
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +15 -15
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +10 -22
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +4 -4
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +6 -14
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +9 -22
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +13 -22
- package/dist/collection/snowflakes/myz/topbar/index.js +35 -39
- package/dist/collection/snowflakes/myz/topbar/styles.css +157 -177
- package/dist/collection/snowflakes/myz/z-alert/index.js +3 -3
- package/dist/collection/snowflakes/myz/z-alert/styles.css +6 -6
- package/dist/collection/snowflakes/myz/z-otp/index.js +23 -23
- package/dist/collection/snowflakes/myz/z-otp/styles.css +7 -7
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +26 -9
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +30 -31
- package/dist/collection/utils/storybook-utils.js +6 -5
- package/dist/collection/utils/utils.js +15 -15
- package/dist/esm/{icons-92a7dcde.js → icons-56ca282c.js} +104 -104
- package/dist/esm/{index-a2ca4b97.js → index-3517583d.js} +207 -225
- package/dist/esm/index-9d028352.js +346 -0
- package/dist/esm/index.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{utils-2c5dfb88.js → utils-39ca028c.js} +13 -13
- package/dist/esm/{utils-3ba1cfd4.js → utils-fbe04cd6.js} +21 -35
- package/dist/esm/web-components-library.js +3 -3
- package/dist/esm/z-alert.entry.js +2 -2
- package/dist/esm/z-app-header.entry.js +16 -14
- package/dist/esm/z-app-switcher_9.entry.js +159 -177
- package/dist/esm/z-aria-alert.entry.js +4 -3
- package/dist/esm/z-avatar.entry.js +9 -8
- package/dist/esm/z-body_2.entry.js +5 -3
- package/dist/esm/z-button-deprecated.entry.js +12 -9
- package/dist/esm/z-button-filter.entry.js +4 -3
- package/dist/esm/z-button-sort.entry.js +5 -6
- package/dist/esm/z-button.entry.js +10 -11
- package/dist/esm/z-candybar.entry.js +2 -2
- package/dist/esm/z-card.entry.js +16 -19
- package/dist/esm/z-carousel.entry.js +8 -13
- package/dist/esm/z-chip-deprecated.entry.js +4 -6
- package/dist/esm/z-chip.entry.js +7 -7
- package/dist/esm/z-combobox.entry.js +30 -26
- package/dist/esm/z-contextual-menu.entry.js +5 -10
- package/dist/esm/z-cookiebar.entry.js +6 -7
- package/dist/esm/z-cover-hero.entry.js +6 -5
- package/dist/esm/z-date-picker.entry.js +39 -46
- package/dist/esm/z-dragdrop-area_2.entry.js +4 -3
- package/dist/esm/z-file-upload.entry.js +18 -20
- package/dist/esm/z-file.entry.js +4 -4
- package/dist/esm/z-footer-link_3.entry.js +4 -4
- package/dist/esm/z-footer.entry.js +13 -16
- package/dist/esm/z-ghost-loading.entry.js +3 -3
- package/dist/esm/z-icon-package.entry.js +3 -4
- package/dist/esm/z-info-box.entry.js +3 -3
- package/dist/esm/z-info-reveal.entry.js +9 -8
- package/dist/esm/z-input-deprecated.entry.js +55 -67
- package/dist/esm/z-input-label_2.entry.js +44 -40
- package/dist/esm/z-list-group.entry.js +7 -7
- package/dist/esm/z-list_2.entry.js +16 -16
- package/dist/esm/z-menu-dropdown_2.entry.js +10 -11
- package/dist/esm/z-menu-section.entry.js +3 -3
- package/dist/esm/z-menu.entry.js +10 -13
- package/dist/esm/z-messages-pocket.entry.js +7 -7
- package/dist/esm/z-modal-login.entry.js +17 -15
- package/dist/esm/z-modal.entry.js +3 -6
- package/dist/esm/z-myz-card-alert.entry.js +8 -8
- package/dist/esm/z-myz-card-dictionary.entry.js +4 -4
- package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
- package/dist/esm/z-myz-card-footer.entry.js +11 -10
- package/dist/esm/z-myz-card-icon.entry.js +2 -2
- package/dist/esm/z-myz-card-info.entry.js +27 -17
- package/dist/esm/z-myz-card-list.entry.js +4 -3
- package/dist/esm/z-myz-card_4.entry.js +17 -13
- package/dist/esm/z-myz-list-item.entry.js +4 -4
- package/dist/esm/z-myz-topbar.entry.js +35 -39
- package/dist/esm/z-navigation-tab-link.entry.js +11 -11
- package/dist/esm/z-navigation-tab.entry.js +12 -12
- package/dist/esm/z-navigation-tabs.entry.js +21 -21
- package/dist/esm/z-notification.entry.js +3 -8
- package/dist/esm/z-offcanvas.entry.js +12 -15
- package/dist/esm/z-otp.entry.js +18 -18
- package/dist/esm/z-pagination-bar.entry.js +13 -25
- package/dist/esm/z-pagination-page.entry.js +2 -2
- package/dist/esm/z-pagination.entry.js +14 -17
- package/dist/esm/z-panel-elem.entry.js +4 -4
- package/dist/esm/z-pocket-message.entry.js +3 -3
- package/dist/esm/z-pocket_3.entry.js +19 -19
- package/dist/esm/z-popover-deprecated.entry.js +20 -17
- package/dist/esm/z-popover.entry.js +38 -56
- package/dist/esm/z-section-title.entry.js +5 -14
- package/dist/esm/z-skip-to-content.entry.js +19 -21
- package/dist/esm/z-slideshow.entry.js +29 -12
- package/dist/esm/z-status-tag.entry.js +9 -9
- package/dist/esm/z-stepper-item.entry.js +2 -2
- package/dist/esm/z-stepper.entry.js +3 -3
- package/dist/esm/z-table-body.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +11 -11
- package/dist/esm/z-table-empty-box.entry.js +6 -7
- package/dist/esm/z-table-expanded-row.entry.js +2 -2
- package/dist/esm/z-table-footer.entry.js +1 -1
- package/dist/esm/z-table-head.entry.js +1 -1
- package/dist/esm/z-table-header-row.entry.js +4 -4
- package/dist/esm/z-table-header.entry.js +18 -21
- package/dist/esm/z-table-row.entry.js +9 -9
- package/dist/esm/z-table-sticky-footer.entry.js +3 -3
- package/dist/esm/z-table.entry.js +7 -9
- package/dist/esm/z-tag.entry.js +3 -3
- package/dist/esm/z-toast-notification-list.entry.js +17 -17
- package/dist/esm/z-toast-notification.entry.js +38 -41
- package/dist/esm/z-toggle-button.entry.js +8 -10
- package/dist/esm/z-toggle-switch.entry.js +19 -17
- package/dist/esm/z-tooltip-deprecated.entry.js +36 -47
- package/dist/esm/z-tooltip.entry.js +4 -4
- package/dist/esm/z-user-dropdown.entry.js +6 -8
- package/dist/esm/z-visually-hidden.entry.js +2 -2
- package/dist/types/beans/index.d.ts +225 -250
- package/dist/types/components/buttons/z-button/index.d.ts +7 -14
- package/dist/types/components/buttons/z-button-sort/index.d.ts +4 -4
- package/dist/types/components/buttons/z-chip/index.d.ts +4 -4
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +2 -3
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +9 -3
- package/dist/types/components/date-picker/utils.d.ts +4 -4
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +7 -8
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +11 -13
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +3 -3
- package/dist/types/components/file-upload/z-file/index.d.ts +7 -5
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +21 -20
- package/dist/types/components/footer/z-footer/index.d.ts +15 -15
- package/dist/types/components/footer/z-footer-section/index.d.ts +1 -1
- package/dist/types/components/footer/z-footer-social/index.d.ts +1 -1
- package/dist/types/components/icons/icons.d.ts +1 -1
- package/dist/types/components/icons/z-icon/index.d.ts +3 -3
- package/dist/types/components/icons/z-icon-package/index.d.ts +1 -1
- package/dist/types/components/indicators/z-stepper/index.d.ts +1 -1
- package/dist/types/components/indicators/z-stepper-item/index.d.ts +1 -1
- package/dist/types/components/inputs/z-combobox/index.d.ts +17 -18
- package/dist/types/components/inputs/z-input/index.d.ts +24 -45
- package/dist/types/components/inputs/z-input-message/index.d.ts +4 -3
- package/dist/types/components/inputs/z-select/index.d.ts +26 -26
- package/dist/types/components/list/z-list/index.d.ts +4 -3
- package/dist/types/components/list/z-list-element/index.d.ts +11 -7
- package/dist/types/components/list/z-list-group/index.d.ts +4 -3
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +6 -6
- package/dist/types/components/logo/z-logo/index.d.ts +2 -1
- package/dist/types/components/modal/z-modal/index.d.ts +5 -4
- package/dist/types/components/modal/z-modal-login/index.d.ts +13 -14
- package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +6 -5
- package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +6 -5
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +8 -7
- package/dist/types/components/navigation/z-app-header/index.d.ts +11 -10
- package/dist/types/components/navigation/z-app-switcher/index.d.ts +4 -4
- package/dist/types/components/navigation/z-app-topbar/index.d.ts +3 -2
- package/dist/types/components/navigation/z-link/index.d.ts +6 -7
- package/dist/types/components/navigation/z-menu/index.d.ts +7 -6
- package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +7 -7
- package/dist/types/components/navigation/z-menu-section/index.d.ts +8 -6
- package/dist/types/components/navigation/z-user-dropdown/index.d.ts +10 -9
- package/dist/types/components/notification/z-candybar/index.d.ts +1 -1
- package/dist/types/components/notification/z-cookiebar/index.d.ts +6 -6
- package/dist/types/components/notification/z-info-box/index.d.ts +3 -3
- package/dist/types/components/notification/z-notification/index.d.ts +6 -5
- package/dist/types/components/notification/z-toast-notification/index.d.ts +22 -21
- package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/panel/z-panel-elem/index.d.ts +4 -4
- package/dist/types/components/typography/z-body/index.d.ts +4 -1
- package/dist/types/components/typography/z-heading/index.d.ts +4 -1
- package/dist/types/components/typography/z-typography/index.d.ts +8 -4
- package/dist/types/components/z-aria-alert/index.d.ts +5 -2
- package/dist/types/components/z-avatar/index.d.ts +3 -2
- package/dist/types/components/z-card/index.d.ts +8 -7
- package/dist/types/components/z-contextual-menu/index.d.ts +4 -3
- package/dist/types/components/z-cover-hero/index.d.ts +3 -2
- package/dist/types/components/z-divider/index.d.ts +2 -1
- package/dist/types/components/z-ghost-loading/index.d.ts +2 -1
- package/dist/types/components/z-info-reveal/index.d.ts +9 -7
- package/dist/types/components/z-offcanvas/index.d.ts +12 -11
- package/dist/types/components/z-pagination/index.d.ts +14 -13
- package/dist/types/components/z-popover/index.d.ts +7 -7
- package/dist/types/components/z-section-title/index.d.ts +3 -2
- package/dist/types/components/z-skip-to-content/index.d.ts +8 -8
- package/dist/types/components/z-table/z-table/index.d.ts +5 -4
- package/dist/types/components/z-table/z-table-body/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-cell/index.d.ts +4 -3
- package/dist/types/components/z-table/z-table-empty-box/index.d.ts +5 -4
- package/dist/types/components/z-table/z-table-expanded-row/index.d.ts +1 -1
- package/dist/types/components/z-table/z-table-footer/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-head/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-header/index.d.ts +9 -7
- package/dist/types/components/z-table/z-table-header-row/index.d.ts +4 -2
- package/dist/types/components/z-table/z-table-row/index.d.ts +7 -4
- package/dist/types/components/z-table/z-table-sticky-footer/index.d.ts +1 -1
- package/dist/types/components/z-tag/index.d.ts +2 -1
- package/dist/types/components/z-visually-hidden/index.d.ts +1 -1
- package/dist/types/components.d.ts +255 -84
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +14 -16
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +1 -1
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +6 -6
- package/dist/types/deprecated/z-button-filter/index.d.ts +6 -6
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +3 -1
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +24 -35
- package/dist/types/deprecated/z-input-label/index.d.ts +1 -1
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +8 -7
- package/dist/types/deprecated/z-status-tag/index.d.ts +2 -1
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +4 -3
- package/dist/types/index.d.ts +4 -3
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +4 -4
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +6 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +8 -14
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +6 -11
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +12 -12
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +4 -5
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +4 -4
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +4 -4
- package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/topbar/index.d.ts +22 -24
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +8 -4
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +14 -14
- package/dist/types/stencil-public-runtime.d.ts +4 -15
- package/dist/types/utils/utils.d.ts +14 -7
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-01b7c613.entry.js +1 -0
- package/dist/web-components-library/p-01cbf6d4.entry.js +1 -0
- package/dist/web-components-library/p-0617465e.entry.js +1 -0
- package/dist/web-components-library/p-099ea215.entry.js +1 -0
- package/dist/web-components-library/p-0f21bfa5.entry.js +1 -0
- package/dist/web-components-library/p-14f11a64.entry.js +1 -0
- package/dist/web-components-library/p-182368ea.entry.js +1 -0
- package/dist/web-components-library/p-1d6cbf2f.entry.js +1 -0
- package/dist/web-components-library/p-1e1bc565.entry.js +1 -0
- package/dist/web-components-library/p-2177384f.entry.js +1 -0
- package/dist/web-components-library/p-25769717.entry.js +1 -0
- package/dist/web-components-library/{p-eaa4eba8.entry.js → p-2acf124c.entry.js} +1 -1
- package/dist/web-components-library/{p-9b70eba4.entry.js → p-2ed61157.entry.js} +1 -1
- package/dist/web-components-library/{p-6d9d8a68.entry.js → p-3124aed0.entry.js} +1 -1
- package/dist/web-components-library/p-31604337.entry.js +1 -0
- package/dist/web-components-library/p-31a4c8d5.entry.js +1 -0
- package/dist/web-components-library/p-348c5ada.entry.js +1 -0
- package/dist/web-components-library/p-3492096c.entry.js +1 -0
- package/dist/web-components-library/{p-c4417a91.entry.js → p-363c7e45.entry.js} +1 -1
- package/dist/web-components-library/{p-37e050bd.entry.js → p-3b974737.entry.js} +1 -1
- package/dist/web-components-library/p-3dbe166d.entry.js +1 -0
- package/dist/web-components-library/{p-b9bf1a8d.entry.js → p-41a412f7.entry.js} +1 -1
- package/dist/web-components-library/p-42e2e594.entry.js +1 -0
- package/dist/web-components-library/p-43a7d01c.entry.js +1 -0
- package/dist/web-components-library/p-48134f75.entry.js +1 -0
- package/dist/web-components-library/{p-69fead44.entry.js → p-4aa83df7.entry.js} +1 -1
- package/dist/web-components-library/p-4dc88c3f.entry.js +1 -0
- package/dist/web-components-library/p-4eeb77dc.entry.js +1 -0
- package/dist/web-components-library/p-4fe96235.entry.js +1 -0
- package/dist/web-components-library/p-594c9326.entry.js +1 -0
- package/dist/web-components-library/p-5b8ac754.entry.js +1 -0
- package/dist/web-components-library/p-5bba90cc.entry.js +1 -0
- package/dist/web-components-library/p-5bce77ba.entry.js +1 -0
- package/dist/web-components-library/p-5f111f4c.entry.js +1 -0
- package/dist/web-components-library/p-60ed0e4e.entry.js +1 -0
- package/dist/web-components-library/p-64102759.entry.js +1 -0
- package/dist/web-components-library/p-64309df9.entry.js +1 -0
- package/dist/web-components-library/p-6a53a0d8.entry.js +1 -0
- package/dist/web-components-library/p-6c08910a.entry.js +1 -0
- package/dist/web-components-library/p-6fa0cef6.entry.js +1 -0
- package/dist/web-components-library/p-71ff9b83.entry.js +1 -0
- package/dist/web-components-library/{p-3e60fa3d.entry.js → p-7403d200.entry.js} +1 -1
- package/dist/web-components-library/{p-3c63af71.entry.js → p-7847cab3.entry.js} +1 -1
- package/dist/web-components-library/p-7960c409.entry.js +1 -0
- package/dist/web-components-library/p-79940e8f.entry.js +1 -0
- package/dist/web-components-library/p-7a9d3944.entry.js +1 -0
- package/dist/web-components-library/p-7b8149ca.entry.js +1 -0
- package/dist/web-components-library/p-7c80da52.entry.js +1 -0
- package/dist/web-components-library/p-7e3bb3e0.entry.js +1 -0
- package/dist/web-components-library/p-87942fb9.entry.js +1 -0
- package/dist/web-components-library/{p-d4681325.js → p-87fdd14f.js} +1 -1
- package/dist/web-components-library/{p-2b374cb0.entry.js → p-88b9d5b4.entry.js} +1 -1
- package/dist/web-components-library/p-9adedc68.entry.js +1 -0
- package/dist/web-components-library/p-9c0df331.entry.js +1 -0
- package/dist/web-components-library/p-9d9c0d4b.entry.js +1 -0
- package/dist/web-components-library/p-9f80c0b8.js +1 -0
- package/dist/web-components-library/p-a55ef7b5.entry.js +1 -0
- package/dist/web-components-library/p-ae2dd723.entry.js +1 -0
- package/dist/web-components-library/p-aed38e5d.entry.js +1 -0
- package/dist/web-components-library/p-af6789f2.entry.js +1 -0
- package/dist/web-components-library/p-afc41eed.entry.js +1 -0
- package/dist/web-components-library/{p-3bdf4f63.entry.js → p-b0400e7d.entry.js} +1 -1
- package/dist/web-components-library/p-b1ea0074.entry.js +1 -0
- package/{www/build/p-42b0972c.js → dist/web-components-library/p-b2d16b41.js} +1 -1
- package/dist/web-components-library/p-b366ef8e.js +2 -0
- package/dist/web-components-library/p-b5861f58.entry.js +1 -0
- package/dist/web-components-library/{p-16c0ffce.js → p-bb15a265.js} +1 -1
- package/dist/web-components-library/p-bb413e2a.entry.js +1 -0
- package/dist/web-components-library/p-bb684454.entry.js +1 -0
- package/dist/web-components-library/{p-8c703e92.entry.js → p-bbc113ce.entry.js} +1 -1
- package/dist/web-components-library/p-bffc00d2.entry.js +1 -0
- package/dist/web-components-library/p-c0d382bc.entry.js +1 -0
- package/dist/web-components-library/p-c1c6988e.entry.js +1 -0
- package/dist/web-components-library/p-c4b70baa.entry.js +1 -0
- package/dist/web-components-library/p-c5ecf36a.entry.js +1 -0
- package/dist/web-components-library/p-c9c51bd9.entry.js +1 -0
- package/dist/web-components-library/p-c9ebec8d.entry.js +1 -0
- package/dist/web-components-library/p-cb453344.entry.js +1 -0
- package/dist/web-components-library/p-cd1593fa.entry.js +1 -0
- package/dist/web-components-library/p-d056538a.entry.js +1 -0
- package/dist/web-components-library/p-daeb784d.entry.js +1 -0
- package/dist/web-components-library/p-e137a17f.entry.js +1 -0
- package/dist/web-components-library/p-e2b1cb25.entry.js +1 -0
- package/dist/web-components-library/p-e420edcc.entry.js +1 -0
- package/dist/web-components-library/p-eb0f18a9.entry.js +1 -0
- package/dist/web-components-library/p-eb612914.entry.js +1 -0
- package/dist/web-components-library/p-efdca379.entry.js +1 -0
- package/dist/web-components-library/{p-e177dbef.entry.js → p-f0a63044.entry.js} +1 -1
- package/dist/web-components-library/p-f2136861.entry.js +1 -0
- package/dist/web-components-library/p-fb2d27b5.entry.js +1 -0
- package/dist/web-components-library/p-fd2a947c.entry.js +16 -0
- package/dist/web-components-library/p-ff000765.entry.js +1 -0
- package/{www/build/p-fd13128d.entry.js → dist/web-components-library/p-ff93eb04.entry.js} +1 -1
- package/dist/web-components-library/p-ffacff3f.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +24 -17
- package/react/index.d.ts +1 -1
- package/readme.md +91 -33
- package/src-react/index.ts +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-01b7c613.entry.js +1 -0
- package/www/build/p-01cbf6d4.entry.js +1 -0
- package/www/build/p-0617465e.entry.js +1 -0
- package/www/build/p-099ea215.entry.js +1 -0
- package/www/build/p-0f21bfa5.entry.js +1 -0
- package/www/build/p-14f11a64.entry.js +1 -0
- package/www/build/p-182368ea.entry.js +1 -0
- package/www/build/p-1d6cbf2f.entry.js +1 -0
- package/www/build/p-1e1bc565.entry.js +1 -0
- package/www/build/p-2177384f.entry.js +1 -0
- package/www/build/p-25769717.entry.js +1 -0
- package/www/build/{p-eaa4eba8.entry.js → p-2acf124c.entry.js} +1 -1
- package/www/build/{p-9b70eba4.entry.js → p-2ed61157.entry.js} +1 -1
- package/www/build/{p-6d9d8a68.entry.js → p-3124aed0.entry.js} +1 -1
- package/www/build/p-31604337.entry.js +1 -0
- package/www/build/p-31a4c8d5.entry.js +1 -0
- package/www/build/p-348c5ada.entry.js +1 -0
- package/www/build/p-3492096c.entry.js +1 -0
- package/www/build/{p-c4417a91.entry.js → p-363c7e45.entry.js} +1 -1
- package/www/build/{p-37e050bd.entry.js → p-3b974737.entry.js} +1 -1
- package/www/build/p-3dbe166d.entry.js +1 -0
- package/www/build/{p-b9bf1a8d.entry.js → p-41a412f7.entry.js} +1 -1
- package/www/build/p-42e2e594.entry.js +1 -0
- package/www/build/p-43a7d01c.entry.js +1 -0
- package/www/build/p-46a0f894.js +1 -0
- package/www/build/p-48134f75.entry.js +1 -0
- package/www/build/{p-69fead44.entry.js → p-4aa83df7.entry.js} +1 -1
- package/www/build/p-4dc88c3f.entry.js +1 -0
- package/www/build/p-4eeb77dc.entry.js +1 -0
- package/www/build/p-4fe96235.entry.js +1 -0
- package/www/build/p-594c9326.entry.js +1 -0
- package/www/build/p-5b8ac754.entry.js +1 -0
- package/www/build/p-5bba90cc.entry.js +1 -0
- package/www/build/p-5bce77ba.entry.js +1 -0
- package/www/build/p-5f111f4c.entry.js +1 -0
- package/www/build/p-60ed0e4e.entry.js +1 -0
- package/www/build/p-64102759.entry.js +1 -0
- package/www/build/p-64309df9.entry.js +1 -0
- package/www/build/p-6a53a0d8.entry.js +1 -0
- package/www/build/p-6c08910a.entry.js +1 -0
- package/www/build/p-6fa0cef6.entry.js +1 -0
- package/www/build/p-71ff9b83.entry.js +1 -0
- package/www/build/{p-3e60fa3d.entry.js → p-7403d200.entry.js} +1 -1
- package/www/build/{p-3c63af71.entry.js → p-7847cab3.entry.js} +1 -1
- package/www/build/p-7960c409.entry.js +1 -0
- package/www/build/p-79940e8f.entry.js +1 -0
- package/www/build/p-7a9d3944.entry.js +1 -0
- package/www/build/p-7b8149ca.entry.js +1 -0
- package/www/build/p-7c80da52.entry.js +1 -0
- package/www/build/p-7e3bb3e0.entry.js +1 -0
- package/www/build/p-87942fb9.entry.js +1 -0
- package/www/build/{p-d4681325.js → p-87fdd14f.js} +1 -1
- package/www/build/{p-2b374cb0.entry.js → p-88b9d5b4.entry.js} +1 -1
- package/www/build/p-9adedc68.entry.js +1 -0
- package/www/build/p-9c0df331.entry.js +1 -0
- package/www/build/p-9d9c0d4b.entry.js +1 -0
- package/www/build/p-9f80c0b8.js +1 -0
- package/www/build/p-a55ef7b5.entry.js +1 -0
- package/www/build/p-ae2dd723.entry.js +1 -0
- package/www/build/p-aed38e5d.entry.js +1 -0
- package/www/build/p-af6789f2.entry.js +1 -0
- package/www/build/p-afc41eed.entry.js +1 -0
- package/www/build/{p-3bdf4f63.entry.js → p-b0400e7d.entry.js} +1 -1
- package/www/build/p-b1ea0074.entry.js +1 -0
- package/{dist/web-components-library/p-42b0972c.js → www/build/p-b2d16b41.js} +1 -1
- package/www/build/p-b366ef8e.js +2 -0
- package/www/build/p-b5861f58.entry.js +1 -0
- package/www/build/{p-16c0ffce.js → p-bb15a265.js} +1 -1
- package/www/build/p-bb413e2a.entry.js +1 -0
- package/www/build/p-bb684454.entry.js +1 -0
- package/www/build/{p-8c703e92.entry.js → p-bbc113ce.entry.js} +1 -1
- package/www/build/p-bffc00d2.entry.js +1 -0
- package/www/build/p-c0d382bc.entry.js +1 -0
- package/www/build/p-c1c6988e.entry.js +1 -0
- package/www/build/p-c4b70baa.entry.js +1 -0
- package/www/build/p-c5ecf36a.entry.js +1 -0
- package/www/build/p-c9c51bd9.entry.js +1 -0
- package/www/build/p-c9ebec8d.entry.js +1 -0
- package/www/build/p-cb453344.entry.js +1 -0
- package/www/build/p-cd1593fa.entry.js +1 -0
- package/www/build/p-d056538a.entry.js +1 -0
- package/www/build/p-daeb784d.entry.js +1 -0
- package/www/build/p-e137a17f.entry.js +1 -0
- package/www/build/p-e2b1cb25.entry.js +1 -0
- package/www/build/p-e420edcc.entry.js +1 -0
- package/www/build/p-eb0f18a9.entry.js +1 -0
- package/www/build/p-eb612914.entry.js +1 -0
- package/www/build/p-efdca379.entry.js +1 -0
- package/www/build/{p-e177dbef.entry.js → p-f0a63044.entry.js} +1 -1
- package/www/build/p-f2136861.entry.js +1 -0
- package/www/build/p-fb2d27b5.entry.js +1 -0
- package/www/build/p-fd2a947c.entry.js +16 -0
- package/www/build/p-ff000765.entry.js +1 -0
- package/{dist/web-components-library/p-fd13128d.entry.js → www/build/p-ff93eb04.entry.js} +1 -1
- package/www/build/p-ffacff3f.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/www/pages/file-upload.html +16 -4
- package/www/pages/notification.html +153 -69
- package/dist/cjs/index-1fda0714.js +0 -60
- package/dist/cjs/index-745c0423.js +0 -354
- package/dist/esm/index-8390ddaf.js +0 -354
- package/dist/esm/index-abb47b30.js +0 -58
- package/dist/web-components-library/p-01a95ddd.entry.js +0 -1
- package/dist/web-components-library/p-023e657c.entry.js +0 -1
- package/dist/web-components-library/p-03aa4a29.entry.js +0 -1
- package/dist/web-components-library/p-07af77be.entry.js +0 -1
- package/dist/web-components-library/p-0f0d8a17.entry.js +0 -1
- package/dist/web-components-library/p-137c1289.entry.js +0 -1
- package/dist/web-components-library/p-145ef56b.entry.js +0 -1
- package/dist/web-components-library/p-1c5cb6b6.entry.js +0 -1
- package/dist/web-components-library/p-1cb8f39f.entry.js +0 -1
- package/dist/web-components-library/p-1efa8cfe.entry.js +0 -1
- package/dist/web-components-library/p-204c6ec6.entry.js +0 -1
- package/dist/web-components-library/p-213d7163.entry.js +0 -1
- package/dist/web-components-library/p-21a1b6a9.entry.js +0 -1
- package/dist/web-components-library/p-242e410f.entry.js +0 -1
- package/dist/web-components-library/p-286363e2.js +0 -7
- package/dist/web-components-library/p-2ec1cc4b.entry.js +0 -1
- package/dist/web-components-library/p-33438244.entry.js +0 -1
- package/dist/web-components-library/p-3c715e7d.entry.js +0 -1
- package/dist/web-components-library/p-426c55e1.entry.js +0 -1
- package/dist/web-components-library/p-42d1707b.entry.js +0 -1
- package/dist/web-components-library/p-46f66301.entry.js +0 -1
- package/dist/web-components-library/p-470e984a.entry.js +0 -1
- package/dist/web-components-library/p-4725eda5.entry.js +0 -1
- package/dist/web-components-library/p-478dd7a6.entry.js +0 -1
- package/dist/web-components-library/p-4f4930b5.entry.js +0 -1
- package/dist/web-components-library/p-52ca86db.entry.js +0 -1
- package/dist/web-components-library/p-5a5dde20.entry.js +0 -1
- package/dist/web-components-library/p-5c30dfc5.entry.js +0 -1
- package/dist/web-components-library/p-6ab40b8f.entry.js +0 -1
- package/dist/web-components-library/p-6aba4f0a.entry.js +0 -1
- package/dist/web-components-library/p-6c7251f5.entry.js +0 -1
- package/dist/web-components-library/p-726b4fbd.entry.js +0 -1
- package/dist/web-components-library/p-728a61a6.js +0 -1
- package/dist/web-components-library/p-769ccc9f.entry.js +0 -1
- package/dist/web-components-library/p-79d4e03b.entry.js +0 -1
- package/dist/web-components-library/p-872c8d25.entry.js +0 -1
- package/dist/web-components-library/p-8779fc5f.entry.js +0 -1
- package/dist/web-components-library/p-8e480d71.entry.js +0 -1
- package/dist/web-components-library/p-9124fe26.entry.js +0 -1
- package/dist/web-components-library/p-951c50ad.entry.js +0 -16
- package/dist/web-components-library/p-9bbb27f7.entry.js +0 -1
- package/dist/web-components-library/p-9c83bf57.entry.js +0 -1
- package/dist/web-components-library/p-a30bbd0a.entry.js +0 -1
- package/dist/web-components-library/p-a3eeed2e.entry.js +0 -1
- package/dist/web-components-library/p-a88046a0.entry.js +0 -1
- package/dist/web-components-library/p-a9d0b418.entry.js +0 -1
- package/dist/web-components-library/p-aaa0752b.entry.js +0 -1
- package/dist/web-components-library/p-ad17a4a0.entry.js +0 -1
- package/dist/web-components-library/p-aee1f514.entry.js +0 -1
- package/dist/web-components-library/p-b02aa57c.entry.js +0 -1
- package/dist/web-components-library/p-b54faa73.entry.js +0 -1
- package/dist/web-components-library/p-b622a7fd.entry.js +0 -1
- package/dist/web-components-library/p-baa877db.entry.js +0 -1
- package/dist/web-components-library/p-beec82d9.entry.js +0 -1
- package/dist/web-components-library/p-bf7adc29.entry.js +0 -1
- package/dist/web-components-library/p-c1da93ee.entry.js +0 -1
- package/dist/web-components-library/p-c2a3f15d.entry.js +0 -1
- package/dist/web-components-library/p-c4f778d7.entry.js +0 -1
- package/dist/web-components-library/p-c633d2bb.entry.js +0 -1
- package/dist/web-components-library/p-c6b5ee23.entry.js +0 -1
- package/dist/web-components-library/p-c89cbfcc.entry.js +0 -1
- package/dist/web-components-library/p-cea7a294.entry.js +0 -1
- package/dist/web-components-library/p-d17ebc2f.js +0 -2
- package/dist/web-components-library/p-d1f8d75e.entry.js +0 -1
- package/dist/web-components-library/p-d29153f0.entry.js +0 -1
- package/dist/web-components-library/p-d665ca6b.entry.js +0 -1
- package/dist/web-components-library/p-d8aac365.entry.js +0 -1
- package/dist/web-components-library/p-e527ef6d.entry.js +0 -1
- package/dist/web-components-library/p-e88ad497.entry.js +0 -1
- package/dist/web-components-library/p-eb2634d3.entry.js +0 -1
- package/dist/web-components-library/p-eba1cdd9.entry.js +0 -1
- package/dist/web-components-library/p-ed9dc5b7.entry.js +0 -1
- package/dist/web-components-library/p-f0e73ccb.entry.js +0 -1
- package/dist/web-components-library/p-f4b9f544.entry.js +0 -1
- package/dist/web-components-library/p-f5c3d332.entry.js +0 -1
- package/dist/web-components-library/p-f724f7a1.entry.js +0 -1
- package/dist/web-components-library/p-f77d7a3f.entry.js +0 -1
- package/dist/web-components-library/p-fdb6e67b.entry.js +0 -1
- package/www/build/p-0109f1e9.js +0 -1
- package/www/build/p-01a95ddd.entry.js +0 -1
- package/www/build/p-023e657c.entry.js +0 -1
- package/www/build/p-03aa4a29.entry.js +0 -1
- package/www/build/p-07af77be.entry.js +0 -1
- package/www/build/p-0f0d8a17.entry.js +0 -1
- package/www/build/p-137c1289.entry.js +0 -1
- package/www/build/p-145ef56b.entry.js +0 -1
- package/www/build/p-1c5cb6b6.entry.js +0 -1
- package/www/build/p-1cb8f39f.entry.js +0 -1
- package/www/build/p-1efa8cfe.entry.js +0 -1
- package/www/build/p-204c6ec6.entry.js +0 -1
- package/www/build/p-213d7163.entry.js +0 -1
- package/www/build/p-21a1b6a9.entry.js +0 -1
- package/www/build/p-242e410f.entry.js +0 -1
- package/www/build/p-286363e2.js +0 -7
- package/www/build/p-2ec1cc4b.entry.js +0 -1
- package/www/build/p-33438244.entry.js +0 -1
- package/www/build/p-3c715e7d.entry.js +0 -1
- package/www/build/p-426c55e1.entry.js +0 -1
- package/www/build/p-42d1707b.entry.js +0 -1
- package/www/build/p-46f66301.entry.js +0 -1
- package/www/build/p-470e984a.entry.js +0 -1
- package/www/build/p-4725eda5.entry.js +0 -1
- package/www/build/p-478dd7a6.entry.js +0 -1
- package/www/build/p-4f4930b5.entry.js +0 -1
- package/www/build/p-52ca86db.entry.js +0 -1
- package/www/build/p-5a5dde20.entry.js +0 -1
- package/www/build/p-5c30dfc5.entry.js +0 -1
- package/www/build/p-6ab40b8f.entry.js +0 -1
- package/www/build/p-6aba4f0a.entry.js +0 -1
- package/www/build/p-6c7251f5.entry.js +0 -1
- package/www/build/p-726b4fbd.entry.js +0 -1
- package/www/build/p-728a61a6.js +0 -1
- package/www/build/p-769ccc9f.entry.js +0 -1
- package/www/build/p-79d4e03b.entry.js +0 -1
- package/www/build/p-872c8d25.entry.js +0 -1
- package/www/build/p-8779fc5f.entry.js +0 -1
- package/www/build/p-8e480d71.entry.js +0 -1
- package/www/build/p-9124fe26.entry.js +0 -1
- package/www/build/p-951c50ad.entry.js +0 -16
- package/www/build/p-9bbb27f7.entry.js +0 -1
- package/www/build/p-9c83bf57.entry.js +0 -1
- package/www/build/p-a30bbd0a.entry.js +0 -1
- package/www/build/p-a3eeed2e.entry.js +0 -1
- package/www/build/p-a88046a0.entry.js +0 -1
- package/www/build/p-a9d0b418.entry.js +0 -1
- package/www/build/p-aaa0752b.entry.js +0 -1
- package/www/build/p-ad17a4a0.entry.js +0 -1
- package/www/build/p-aee1f514.entry.js +0 -1
- package/www/build/p-b02aa57c.entry.js +0 -1
- package/www/build/p-b54faa73.entry.js +0 -1
- package/www/build/p-b622a7fd.entry.js +0 -1
- package/www/build/p-baa877db.entry.js +0 -1
- package/www/build/p-beec82d9.entry.js +0 -1
- package/www/build/p-bf7adc29.entry.js +0 -1
- package/www/build/p-c1da93ee.entry.js +0 -1
- package/www/build/p-c2a3f15d.entry.js +0 -1
- package/www/build/p-c4f778d7.entry.js +0 -1
- package/www/build/p-c633d2bb.entry.js +0 -1
- package/www/build/p-c6b5ee23.entry.js +0 -1
- package/www/build/p-c89cbfcc.entry.js +0 -1
- package/www/build/p-cea7a294.entry.js +0 -1
- package/www/build/p-d17ebc2f.js +0 -2
- package/www/build/p-d1f8d75e.entry.js +0 -1
- package/www/build/p-d29153f0.entry.js +0 -1
- package/www/build/p-d665ca6b.entry.js +0 -1
- package/www/build/p-d8aac365.entry.js +0 -1
- package/www/build/p-e527ef6d.entry.js +0 -1
- package/www/build/p-e88ad497.entry.js +0 -1
- package/www/build/p-eb2634d3.entry.js +0 -1
- package/www/build/p-eba1cdd9.entry.js +0 -1
- package/www/build/p-ed9dc5b7.entry.js +0 -1
- package/www/build/p-f0e73ccb.entry.js +0 -1
- package/www/build/p-f4b9f544.entry.js +0 -1
- package/www/build/p-f5c3d332.entry.js +0 -1
- package/www/build/p-f724f7a1.entry.js +0 -1
- package/www/build/p-f77d7a3f.entry.js +0 -1
- package/www/build/p-fdb6e67b.entry.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { P as PopoverPositions } from './index-
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-3517583d.js';
|
|
2
|
+
import { P as PopoverPositions } from './index-9d028352.js';
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-39ca028c.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)
|
|
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)}";
|
|
7
7
|
|
|
8
8
|
const ZMyzCardInfo = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -28,17 +28,20 @@ const ZMyzCardInfo = class {
|
|
|
28
28
|
this.handleContentHeight();
|
|
29
29
|
}
|
|
30
30
|
handleContentHeight() {
|
|
31
|
-
if (!this.contentWrapper && !this.infoWrapper)
|
|
32
|
-
|
|
31
|
+
if (!this.contentWrapper && !this.infoWrapper) {
|
|
32
|
+
this.hiddenContent = false;
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
33
35
|
if (this.contentWrapper.scrollHeight > this.contentWrapper.offsetHeight ||
|
|
34
36
|
this.infoWrapper.scrollHeight > this.infoWrapper.offsetHeight) {
|
|
35
37
|
const height = this.contentWrapper.offsetHeight -
|
|
36
38
|
this.onlineLicenseWrapper.offsetHeight -
|
|
37
39
|
this.offlineLicenseWrapper.offsetHeight;
|
|
38
40
|
this.infoWrapper.style.height = `${height}px`;
|
|
39
|
-
|
|
41
|
+
this.hiddenContent = true;
|
|
42
|
+
return;
|
|
40
43
|
}
|
|
41
|
-
|
|
44
|
+
this.hiddenContent = false;
|
|
42
45
|
}
|
|
43
46
|
setStringOrArray() {
|
|
44
47
|
if (typeof this.data === "string") {
|
|
@@ -58,31 +61,36 @@ const ZMyzCardInfo = class {
|
|
|
58
61
|
const title = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.title;
|
|
59
62
|
const description = (_b = this === null || this === void 0 ? void 0 : this.cardData) === null || _b === void 0 ? void 0 : _b.description;
|
|
60
63
|
return (h("section", { class: `info-wrapper ${this.hiddenContent ? "hidden" : ""}`, onClick: () => {
|
|
61
|
-
if (this.hiddenContent)
|
|
64
|
+
if (this.hiddenContent) {
|
|
62
65
|
this.tooltip = !this.tooltip;
|
|
66
|
+
}
|
|
63
67
|
}, ref: (el) => (this.infoWrapper = el) }, this.renderAuthor(), this.renderYear(), title, h("br", null), description));
|
|
64
68
|
}
|
|
65
69
|
renderAuthor() {
|
|
66
70
|
var _a;
|
|
67
71
|
const author = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.author;
|
|
68
|
-
if (!author)
|
|
72
|
+
if (!author) {
|
|
69
73
|
return null;
|
|
74
|
+
}
|
|
70
75
|
return (h("span", null, "Autore: ", h("b", null, author), h("br", null)));
|
|
71
76
|
}
|
|
72
77
|
renderYear() {
|
|
73
78
|
var _a;
|
|
74
79
|
const year = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.year;
|
|
75
|
-
if (!year)
|
|
80
|
+
if (!year) {
|
|
76
81
|
return null;
|
|
82
|
+
}
|
|
77
83
|
return (h("span", null, "Anno: ", h("b", null, year), h("br", null)));
|
|
78
84
|
}
|
|
79
85
|
renderTooltip() {
|
|
80
|
-
if (!this.tooltip)
|
|
86
|
+
if (!this.tooltip) {
|
|
81
87
|
return;
|
|
82
|
-
|
|
88
|
+
}
|
|
89
|
+
if (!this.cardData) {
|
|
83
90
|
return;
|
|
91
|
+
}
|
|
84
92
|
const { title, year, author, description } = this.cardData;
|
|
85
|
-
return (h("z-popover", { position: PopoverPositions.
|
|
93
|
+
return (h("z-popover", { position: PopoverPositions.RIGHT, onClick: () => (this.tooltip = false) }, `${title} ${year} ${author} ${description}`));
|
|
86
94
|
}
|
|
87
95
|
setExpirationLicenseMessage(type) {
|
|
88
96
|
if ((type === "online" && this.cardData.onlineLicense.expired) ||
|
|
@@ -96,15 +104,17 @@ const ZMyzCardInfo = class {
|
|
|
96
104
|
}
|
|
97
105
|
renderOnlineLicenseSection() {
|
|
98
106
|
var _a;
|
|
99
|
-
if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.onlineLicense))
|
|
107
|
+
if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.onlineLicense)) {
|
|
100
108
|
return;
|
|
109
|
+
}
|
|
101
110
|
return (h("section", { ref: (el) => (this.onlineLicenseWrapper = el) }, h("span", { class: "license-heading" }, h("span", null, "Licenza online"), this.setExpirationLicenseMessage("online")), "Scadenza il ", h("b", null, this.cardData.onlineLicense.expiration), h("br", null)));
|
|
102
111
|
}
|
|
103
112
|
renderOfflineLicenseSection() {
|
|
104
113
|
var _a;
|
|
105
|
-
if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.offlineLicense))
|
|
114
|
+
if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.offlineLicense)) {
|
|
106
115
|
return;
|
|
107
|
-
|
|
116
|
+
}
|
|
117
|
+
return (h("section", { ref: (el) => (this.offlineLicenseWrapper = el) }, h("span", { class: "license-heading" }, h("span", null, "Licenza offline"), this.setExpirationLicenseMessage("offline")), "Scadenza il ", h("b", null, this.cardData.offlineLicense.expiration), h("br", null), "Installazioni disponibili: ", h("b", null, this.cardData.offlineLicense.installations)));
|
|
108
118
|
}
|
|
109
119
|
render() {
|
|
110
120
|
return (h("div", null, this.renderCloseIcon(), h("div", { class: "content-wrapper", ref: (el) => (this.contentWrapper = el) }, this.renderGeneralSection(), this.renderTooltip(), this.renderOnlineLicenseSection(), this.renderOfflineLicenseSection()), h("div", { class: "cta-wrapper" }, h("slot", null))));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-3517583d.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = "ul{
|
|
3
|
+
const stylesCss = "ul{overflow:hidden;width:auto;height:auto;padding:0;margin:0 calc(var(--space-unit) * 2);color:var(--color-primary02);font-family:var(--font-family-sans);list-style:none}ul>li{padding-left:10px;text-indent:-10px}ul>li>a{display:block;padding-top:calc(var(--space-unit) * 0.5);color:var(--color-primary01);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5);text-decoration:none}ul>li>a::before{padding-right:5px;content:\"•\"}ul>li>span{padding:0 calc(var(--space-unit) * 2);color:var(--color-surface04);font-size:14px;font-weight:var(--font-rg);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5);text-decoration:none}";
|
|
4
4
|
|
|
5
5
|
const ZMyzCardList = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -15,8 +15,9 @@ const ZMyzCardList = class {
|
|
|
15
15
|
}
|
|
16
16
|
formatListContent(data) {
|
|
17
17
|
const { value, isLink, url } = data;
|
|
18
|
-
if (!isLink)
|
|
18
|
+
if (!isLink) {
|
|
19
19
|
return h("span", null, value);
|
|
20
|
+
}
|
|
20
21
|
return (h("a", { role: "button", onKeyPress: (e) => this.handleSpaceKeyPress(e, url), href: url, target: "_blank" }, value));
|
|
21
22
|
}
|
|
22
23
|
renderList(dataArray) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
2
|
-
import { L as
|
|
1
|
+
import { r as registerInstance, h } from './index-3517583d.js';
|
|
2
|
+
import { L as LicenseType } from './index-9d028352.js';
|
|
3
3
|
|
|
4
|
-
const stylesCss$3 = ":host{--card-overflow:hidden}div{
|
|
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) {
|
|
@@ -13,12 +13,15 @@ const ZMyzCardComponent = class {
|
|
|
13
13
|
}
|
|
14
14
|
retrieveClass() {
|
|
15
15
|
let elemClasses = "";
|
|
16
|
-
if (this.cardtype ===
|
|
16
|
+
if (this.cardtype === LicenseType.REAL) {
|
|
17
17
|
elemClasses += "real";
|
|
18
|
-
|
|
18
|
+
}
|
|
19
|
+
else if (this.cardtype === LicenseType.TRIAL) {
|
|
19
20
|
elemClasses += "trial";
|
|
20
|
-
|
|
21
|
+
}
|
|
22
|
+
else if (this.cardtype === LicenseType.TEMP) {
|
|
21
23
|
elemClasses += "temp";
|
|
24
|
+
}
|
|
22
25
|
if (this.faded) {
|
|
23
26
|
elemClasses += " faded";
|
|
24
27
|
}
|
|
@@ -36,7 +39,7 @@ const ZMyzCardComponent = class {
|
|
|
36
39
|
};
|
|
37
40
|
ZMyzCardComponent.style = stylesCss$3;
|
|
38
41
|
|
|
39
|
-
const stylesCss$2 = ":host{height:340px
|
|
42
|
+
const stylesCss$2 = ":host{width:auto;height:340px}:host>div{position:relative;display:flex;width:auto;height:340px;align-items:center;justify-content:center}";
|
|
40
43
|
|
|
41
44
|
const ZMyzCardBody = class {
|
|
42
45
|
constructor(hostRef) {
|
|
@@ -48,7 +51,7 @@ const ZMyzCardBody = class {
|
|
|
48
51
|
};
|
|
49
52
|
ZMyzCardBody.style = stylesCss$2;
|
|
50
53
|
|
|
51
|
-
const stylesCss$1 = "img{display:block;
|
|
54
|
+
const stylesCss$1 = "img{display:block;max-width:100%;height:340px;margin:auto;object-fit:cover}img.faded{opacity:0.3}";
|
|
52
55
|
|
|
53
56
|
const ZMyzCardCover = class {
|
|
54
57
|
constructor(hostRef) {
|
|
@@ -63,7 +66,7 @@ const ZMyzCardCover = class {
|
|
|
63
66
|
};
|
|
64
67
|
ZMyzCardCover.style = stylesCss$1;
|
|
65
68
|
|
|
66
|
-
const stylesCss = "header{
|
|
69
|
+
const stylesCss = "header{position:relative;display:flex;width:auto;height:calc(var(--space-unit) * 6);flex-direction:row;align-items:flex-start;justify-content:space-between;border-bottom:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius) var(--border-radius) var(--border-no-radius) var(--border-no-radius)}header.real,header.trial,header.temp{border-bottom:var(--border-size-medium) solid var(--accent);background-color:var(--accent-lighter)}h2{overflow:hidden;height:calc(var(--space-unit) * 2);padding:calc(var(--space-unit) * 2);margin:0;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:12px;font-weight:var(--font-sb);letter-spacing:0.22px;line-height:calc(var(--space-unit) * 2);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.faded{border-bottom:var(--border-size-medium) solid var(--color-surface02)}.faded.real,.faded.trial,.faded.temp{border-top:var(--border-size-medium) solid var(--accent);border-right:var(--border-size-medium) solid var(--accent);border-left:var(--border-size-medium) solid var(--accent)}";
|
|
67
70
|
|
|
68
71
|
const ZMyzCardHeader = class {
|
|
69
72
|
constructor(hostRef) {
|
|
@@ -74,17 +77,18 @@ const ZMyzCardHeader = class {
|
|
|
74
77
|
return this.allowTooltip ? this.titolo : "";
|
|
75
78
|
}
|
|
76
79
|
componentDidLoad() {
|
|
77
|
-
if (this.elementHasEllipsis())
|
|
80
|
+
if (this.elementHasEllipsis()) {
|
|
78
81
|
this.allowTooltip = true;
|
|
82
|
+
}
|
|
79
83
|
}
|
|
80
84
|
elementHasEllipsis() {
|
|
81
85
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
82
86
|
}
|
|
83
87
|
retrieveClass() {
|
|
84
88
|
return {
|
|
85
|
-
real: this.cardtype ===
|
|
86
|
-
trial: this.cardtype ===
|
|
87
|
-
temp: this.cardtype ===
|
|
89
|
+
real: this.cardtype === LicenseType.REAL,
|
|
90
|
+
trial: this.cardtype === LicenseType.TRIAL,
|
|
91
|
+
temp: this.cardtype === LicenseType.TEMP,
|
|
88
92
|
faded: this.faded,
|
|
89
93
|
};
|
|
90
94
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
3
|
-
import './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-3517583d.js';
|
|
2
|
+
import { h as handleKeyboardSubmit } from './utils-39ca028c.js';
|
|
3
|
+
import './index-9d028352.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
|
-
const stylesCss = ":host li{all:unset;all:reset;width:100
|
|
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)}";
|
|
7
7
|
|
|
8
8
|
const ZMyzListItem = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
2
|
-
import { B as
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-3517583d.js';
|
|
2
|
+
import { B as ButtonVariant, c as ButtonSize } from './index-9d028352.js';
|
|
3
3
|
import { m as mobileBreakpoint, t as tabletBreakpoint } from './breakpoints-c386984e.js';
|
|
4
4
|
|
|
5
|
-
const stylesCss = ":host a{cursor:pointer}header{position:sticky;
|
|
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
6
|
|
|
7
7
|
const ZMyzTopbar = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -27,23 +27,14 @@ const ZMyzTopbar = class {
|
|
|
27
27
|
}
|
|
28
28
|
componentWillLoad() {
|
|
29
29
|
if (this.intlinkdata) {
|
|
30
|
-
this.intMenuData =
|
|
31
|
-
typeof this.intlinkdata === "string"
|
|
32
|
-
? JSON.parse(this.intlinkdata)
|
|
33
|
-
: this.intlinkdata;
|
|
30
|
+
this.intMenuData = typeof this.intlinkdata === "string" ? JSON.parse(this.intlinkdata) : this.intlinkdata;
|
|
34
31
|
}
|
|
35
32
|
this.activeMenuItem = this.currentMenuItem = this.intMenuData.find((item) => item.id === this.activeintlinkid);
|
|
36
33
|
if (this.extlinkdata) {
|
|
37
|
-
this.extMenuData =
|
|
38
|
-
typeof this.extlinkdata === "string"
|
|
39
|
-
? JSON.parse(this.extlinkdata)
|
|
40
|
-
: this.extlinkdata;
|
|
34
|
+
this.extMenuData = typeof this.extlinkdata === "string" ? JSON.parse(this.extlinkdata) : this.extlinkdata;
|
|
41
35
|
}
|
|
42
36
|
if (this.userdata) {
|
|
43
|
-
this.userData =
|
|
44
|
-
typeof this.userdata === "string"
|
|
45
|
-
? JSON.parse(this.userdata)
|
|
46
|
-
: this.userdata;
|
|
37
|
+
this.userData = typeof this.userdata === "string" ? JSON.parse(this.userdata) : this.userdata;
|
|
47
38
|
this.isLogged = this.userData.islogged;
|
|
48
39
|
}
|
|
49
40
|
this.handleResize();
|
|
@@ -52,8 +43,9 @@ const ZMyzTopbar = class {
|
|
|
52
43
|
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 })));
|
|
53
44
|
}
|
|
54
45
|
renderIntMenu(menuItems) {
|
|
55
|
-
if (!this.isLogged || !this.ismyz)
|
|
46
|
+
if (!this.isLogged || !this.ismyz) {
|
|
56
47
|
return;
|
|
48
|
+
}
|
|
57
49
|
return (h("div", { id: "link-int", class: "link-int" }, menuItems.map((item) => this.renderIntMenuItem(item))));
|
|
58
50
|
}
|
|
59
51
|
renderIntMenuItem(menuItem) {
|
|
@@ -61,8 +53,9 @@ const ZMyzTopbar = class {
|
|
|
61
53
|
return (h("span", null, h("a", { href: link ? link : null, id: id, class: "menu-item", onClick: () => {
|
|
62
54
|
this.activeMenuItem = this.currentMenuItem = menuItem;
|
|
63
55
|
this.activeintlinkid = menuItem.id;
|
|
64
|
-
if (menuItem.subMenu)
|
|
56
|
+
if (menuItem.subMenu) {
|
|
65
57
|
this.handleToggleMobileMenuItem(menuItem.id);
|
|
58
|
+
}
|
|
66
59
|
}, onMouseEnter: () => {
|
|
67
60
|
this.activeMenuItem = menuItem;
|
|
68
61
|
}, onMouseLeave: () => {
|
|
@@ -75,18 +68,16 @@ const ZMyzTopbar = class {
|
|
|
75
68
|
return this.intMenuData.indexOf(item) + 1;
|
|
76
69
|
}
|
|
77
70
|
handleToggleMobileMenuItem(elementId) {
|
|
78
|
-
if (!this.isMobile)
|
|
71
|
+
if (!this.isMobile) {
|
|
79
72
|
return;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
this.element.shadowRoot
|
|
84
|
-
.querySelector("#mobile-dropdown-" + elementId)
|
|
85
|
-
.classList.toggle("visible");
|
|
73
|
+
}
|
|
74
|
+
this.element.shadowRoot.querySelector(`#${elementId}`).classList.toggle("isopen");
|
|
75
|
+
this.element.shadowRoot.querySelector("#mobile-dropdown-" + elementId).classList.toggle("visible");
|
|
86
76
|
}
|
|
87
77
|
renderMenuItemsData(menuItem) {
|
|
88
|
-
if (!menuItem.subMenu)
|
|
78
|
+
if (!menuItem.subMenu) {
|
|
89
79
|
return null;
|
|
80
|
+
}
|
|
90
81
|
const listItems = menuItem.subMenu.map((item) => {
|
|
91
82
|
return {
|
|
92
83
|
id: item.id,
|
|
@@ -101,21 +92,25 @@ const ZMyzTopbar = class {
|
|
|
101
92
|
return (h("span", { class: "mobile-dropdown", id: id ? `mobile-dropdown-${id}` : "" }, h("z-myz-list", { list: menuItems })));
|
|
102
93
|
}
|
|
103
94
|
renderSubMenu(menuItem) {
|
|
104
|
-
if (!this.ismyz || !this.isLogged)
|
|
95
|
+
if (!this.ismyz || !this.isLogged) {
|
|
105
96
|
return;
|
|
106
|
-
|
|
107
|
-
|
|
97
|
+
}
|
|
98
|
+
if (!menuItem || !menuItem.subMenu) {
|
|
99
|
+
return (h("div", { id: "dropdown-menu", class: `dropdown-menu hidden` }));
|
|
108
100
|
}
|
|
109
101
|
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)))))));
|
|
110
102
|
}
|
|
111
103
|
renderExtLinksIcons(icon) {
|
|
112
104
|
const width = window.innerWidth > 0 ? window.innerWidth : screen.width;
|
|
113
105
|
const hideIcons = width > mobileBreakpoint && width < tabletBreakpoint;
|
|
114
|
-
|
|
106
|
+
if (!hideIcons) {
|
|
107
|
+
return { icon };
|
|
108
|
+
}
|
|
115
109
|
}
|
|
116
110
|
renderExtMenu(menuItems) {
|
|
117
|
-
if (!this.isLogged)
|
|
111
|
+
if (!this.isLogged) {
|
|
118
112
|
return h("div", null);
|
|
113
|
+
}
|
|
119
114
|
return (h("div", { id: "link-ext", class: "link-ext" }, menuItems.map((menuItem) => {
|
|
120
115
|
const { id, label, link, icon } = menuItem;
|
|
121
116
|
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,14 +123,15 @@ const ZMyzTopbar = class {
|
|
|
128
123
|
if (this.hideloginbutton) {
|
|
129
124
|
return;
|
|
130
125
|
}
|
|
131
|
-
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"));
|
|
132
127
|
}
|
|
133
128
|
renderMobileLoginDiv(userData) {
|
|
134
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))));
|
|
135
130
|
}
|
|
136
131
|
renderUserData(userData) {
|
|
137
|
-
if (this.isMobile && !userData)
|
|
132
|
+
if (this.isMobile && !userData) {
|
|
138
133
|
return null;
|
|
134
|
+
}
|
|
139
135
|
const listItems = userData.userlinks.map((item) => {
|
|
140
136
|
return {
|
|
141
137
|
text: item.label,
|
|
@@ -162,23 +158,23 @@ const ZMyzTopbar = class {
|
|
|
162
158
|
return (h("div", { id: "mobile-header", class: `mobile-header${this.ismyz ? "" : " myz-out"}` }, this.renderLogoDiv(), this.renderMobileMenuToggle()));
|
|
163
159
|
}
|
|
164
160
|
renderMobileMenuToggle() {
|
|
165
|
-
if (!this.isLogged)
|
|
161
|
+
if (!this.isLogged) {
|
|
166
162
|
return this.renderLoginButton();
|
|
163
|
+
}
|
|
167
164
|
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")));
|
|
168
165
|
}
|
|
169
166
|
renderMobileMenuContent() {
|
|
170
|
-
if (!this.isLogged)
|
|
171
|
-
return
|
|
167
|
+
if (!this.isLogged) {
|
|
168
|
+
return;
|
|
169
|
+
}
|
|
172
170
|
return (h("div", { id: "mobile-content", class: {
|
|
173
171
|
"mobile-content": true,
|
|
174
|
-
open: this.isMenuMobileOpen,
|
|
172
|
+
"open": this.isMenuMobileOpen,
|
|
175
173
|
"myz-out": !this.ismyz,
|
|
176
174
|
} }, this.renderMobileLoginDiv(this.userData), this.ismyz && h("hr", null), this.renderIntMenu(this.intMenuData), h("hr", null), this.renderExtMenu(this.extMenuData)));
|
|
177
175
|
}
|
|
178
176
|
render() {
|
|
179
|
-
return this.isMobile
|
|
180
|
-
? this.renderMobileHeader()
|
|
181
|
-
: this.renderDesktopHeader();
|
|
177
|
+
return this.isMobile ? this.renderMobileHeader() : this.renderDesktopHeader();
|
|
182
178
|
}
|
|
183
179
|
get element() { return getElement(this); }
|
|
184
180
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { N as
|
|
3
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-3517583d.js';
|
|
2
|
+
import { N as NavigationTabsOrientation, a as NavigationTabsSize } from './index-9d028352.js';
|
|
3
|
+
import { I as ICONS } from './icons-56ca282c.js';
|
|
4
4
|
|
|
5
|
-
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;align-items:center;justify-content:center;
|
|
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%}";
|
|
6
6
|
|
|
7
7
|
const ZNavigationTabLink = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -19,19 +19,19 @@ const ZNavigationTabLink = class {
|
|
|
19
19
|
/**
|
|
20
20
|
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
21
21
|
*/
|
|
22
|
-
this.orientation =
|
|
22
|
+
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
23
23
|
/**
|
|
24
24
|
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
25
25
|
*/
|
|
26
|
-
this.size =
|
|
26
|
+
this.size = NavigationTabsSize.BIG;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Scroll into view to center the tab.
|
|
30
30
|
*/
|
|
31
31
|
scrollToTab({ target: button }) {
|
|
32
|
-
const scrollOptions = this.orientation ===
|
|
33
|
-
{ block: "nearest", inline: "center" }
|
|
34
|
-
{ block: "center", inline: "nearest" };
|
|
32
|
+
const scrollOptions = this.orientation === NavigationTabsOrientation.HORIZONTAL
|
|
33
|
+
? { block: "nearest", inline: "center" }
|
|
34
|
+
: { block: "center", inline: "nearest" };
|
|
35
35
|
button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
36
36
|
}
|
|
37
37
|
onClick() {
|
|
@@ -49,8 +49,8 @@ const ZNavigationTabLink = class {
|
|
|
49
49
|
*/
|
|
50
50
|
renderIcon() {
|
|
51
51
|
let icon = this.icon;
|
|
52
|
-
const iconFilled = `${icon.replace(/-filled$/,
|
|
53
|
-
if (this.selected && Object.keys(
|
|
52
|
+
const iconFilled = `${icon.replace(/-filled$/, "")}-filled`;
|
|
53
|
+
if (this.selected && Object.keys(ICONS).includes(iconFilled)) {
|
|
54
54
|
icon = iconFilled;
|
|
55
55
|
}
|
|
56
56
|
return h("z-icon", { name: icon });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { N as
|
|
3
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-3517583d.js';
|
|
2
|
+
import { N as NavigationTabsOrientation, a as NavigationTabsSize } from './index-9d028352.js';
|
|
3
|
+
import { I as ICONS } from './icons-56ca282c.js';
|
|
4
4
|
|
|
5
|
-
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;align-items:center;justify-content:center;
|
|
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%}";
|
|
6
6
|
|
|
7
7
|
const ZNavigationTab = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -19,19 +19,19 @@ const ZNavigationTab = class {
|
|
|
19
19
|
/**
|
|
20
20
|
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
21
21
|
*/
|
|
22
|
-
this.orientation =
|
|
22
|
+
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
23
23
|
/**
|
|
24
24
|
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
25
25
|
*/
|
|
26
|
-
this.size =
|
|
26
|
+
this.size = NavigationTabsSize.BIG;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Scroll into view to center the tab.
|
|
30
30
|
*/
|
|
31
31
|
scrollToTab({ target: button }) {
|
|
32
|
-
const scrollOptions = this.orientation ===
|
|
33
|
-
{ block: "nearest", inline: "center" }
|
|
34
|
-
{ block: "center", inline: "nearest" };
|
|
32
|
+
const scrollOptions = this.orientation === NavigationTabsOrientation.HORIZONTAL
|
|
33
|
+
? { block: "nearest", inline: "center" }
|
|
34
|
+
: { block: "center", inline: "nearest" };
|
|
35
35
|
button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
36
36
|
}
|
|
37
37
|
onClick() {
|
|
@@ -51,14 +51,14 @@ const ZNavigationTab = class {
|
|
|
51
51
|
*/
|
|
52
52
|
renderIcon() {
|
|
53
53
|
let icon = this.icon;
|
|
54
|
-
const iconFilled = `${icon.replace(/-filled$/,
|
|
55
|
-
if (this.selected && Object.keys(
|
|
54
|
+
const iconFilled = `${icon.replace(/-filled$/, "")}-filled`;
|
|
55
|
+
if (this.selected && Object.keys(ICONS).includes(iconFilled)) {
|
|
56
56
|
icon = iconFilled;
|
|
57
57
|
}
|
|
58
58
|
return h("z-icon", { name: icon });
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
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));
|
|
62
62
|
}
|
|
63
63
|
static get watchers() { return {
|
|
64
64
|
"selected": ["onSelected"]
|