@zanichelli/albe-web-components 2.31.2 → 2.33.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/dist/types/beans/index.d.ts +4 -0
- package/dist/types/components/z-aria-alert/index.d.ts +4 -0
- package/dist/types/components/z-visually-hidden/index.d.ts +3 -0
- package/dist/types/components.d.ts +28 -0
- package/dist/web-components-library/_commonjsHelpers-cb1cd7bb.js +44 -0
- package/dist/web-components-library/app-globals-0f993ce5.js +3 -0
- package/dist/{esm → web-components-library}/breakpoints-c386984e.js +0 -0
- package/dist/web-components-library/css-shim-003e9264.js +4 -0
- package/dist/web-components-library/dom-1b195079.js +73 -0
- package/dist/{esm/hammer-c807d0b5.js → web-components-library/hammer-52e2c4fe.js} +4 -15
- package/dist/{collection/components/icons/icons.js → web-components-library/icons-9a191d79.js} +3 -1
- package/dist/web-components-library/index-44936066.js +2832 -0
- package/dist/web-components-library/index-8067f807.js +64 -0
- package/dist/{esm/index-0258069c.js → web-components-library/index-8f67b3da.js} +6 -1
- package/dist/web-components-library/index.esm.js +9 -1
- package/dist/web-components-library/shadow-css-c1ad5fdc.js +383 -0
- package/dist/{esm/utils-0345e333.js → web-components-library/utils-5e70920f.js} +20 -2
- package/dist/web-components-library/web-components-library.css +789 -1
- package/dist/web-components-library/web-components-library.esm.js +122 -1
- package/dist/web-components-library/z-alert.entry.js +15 -0
- package/dist/{esm → web-components-library}/z-app-header.entry.js +1 -1
- package/dist/web-components-library/z-app-switcher.entry.js +25 -0
- package/dist/web-components-library/z-app-topbar.entry.js +37 -0
- package/dist/web-components-library/z-aria-alert.entry.js +14 -0
- package/dist/web-components-library/z-avatar.entry.js +39 -0
- package/dist/web-components-library/z-body.entry.js +13 -0
- package/dist/web-components-library/z-button-filter.entry.js +45 -0
- package/dist/web-components-library/z-button-sort.entry.js +50 -0
- package/dist/web-components-library/z-button.entry.js +35 -0
- package/dist/{esm → web-components-library}/z-candybar.entry.js +1 -1
- package/dist/web-components-library/z-card.entry.js +54 -0
- package/dist/web-components-library/z-chip.entry.js +20 -0
- package/dist/web-components-library/z-combobox.entry.js +166 -0
- package/dist/web-components-library/z-contextual-menu.entry.js +36 -0
- package/dist/{esm → web-components-library}/z-cookiebar.entry.js +2 -2
- package/dist/web-components-library/z-divider.entry.js +22 -0
- package/dist/web-components-library/z-footer-link.entry.js +15 -0
- package/dist/web-components-library/z-footer-section.entry.js +19 -0
- package/dist/web-components-library/z-footer-social.entry.js +15 -0
- package/dist/web-components-library/z-footer.entry.js +98 -0
- package/dist/web-components-library/z-ghost-loading.entry.js +15 -0
- package/dist/{esm → web-components-library}/z-heading.entry.js +1 -1
- package/dist/web-components-library/z-icon-package.entry.js +19 -0
- package/dist/web-components-library/z-icon.entry.js +24 -0
- package/dist/web-components-library/z-info-box.entry.js +21 -0
- package/dist/web-components-library/z-input-label.entry.js +17 -0
- package/dist/web-components-library/z-input-message.entry.js +20 -0
- package/dist/web-components-library/z-input.entry.js +264 -0
- package/dist/web-components-library/z-link.entry.js +67 -0
- package/dist/web-components-library/z-list-element.entry.js +150 -0
- package/dist/web-components-library/z-list-group.entry.js +50 -0
- package/dist/web-components-library/z-list.entry.js +30 -0
- package/dist/web-components-library/z-logo.entry.js +24 -0
- package/dist/web-components-library/z-menu-dropdown.entry.js +56 -0
- package/dist/web-components-library/z-menu-section.entry.js +42 -0
- package/dist/web-components-library/z-menu.entry.js +106 -0
- package/dist/{esm → web-components-library}/z-messages-pocket.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-modal-login.entry.js +2 -2
- package/dist/web-components-library/z-modal.entry.js +32 -0
- package/dist/web-components-library/z-myz-card-alert.entry.js +59 -0
- package/dist/web-components-library/z-myz-card-body.entry.js +15 -0
- package/dist/web-components-library/z-myz-card-cover.entry.js +18 -0
- package/dist/{esm → web-components-library}/z-myz-card-dictionary.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/web-components-library/z-myz-card-footer.entry.js +48 -0
- package/dist/web-components-library/z-myz-card-header.entry.js +34 -0
- package/dist/web-components-library/z-myz-card-icon.entry.js +17 -0
- package/dist/{esm → web-components-library}/z-myz-card-info.entry.js +3 -3
- package/dist/web-components-library/z-myz-card-list.entry.js +33 -0
- package/dist/web-components-library/z-myz-card.entry.js +37 -0
- package/dist/web-components-library/z-myz-list-item.entry.js +33 -0
- package/dist/web-components-library/z-myz-list.entry.js +31 -0
- package/dist/{esm → web-components-library}/z-myz-topbar.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-navigation-tab.entry.js +1 -1
- package/dist/{esm → web-components-library}/z-navigation-tabs.entry.js +2 -2
- package/dist/web-components-library/z-notification.entry.js +38 -0
- package/dist/{esm → web-components-library}/z-otp.entry.js +2 -2
- package/dist/web-components-library/z-pagination-bar.entry.js +126 -0
- package/dist/web-components-library/z-pagination-page.entry.js +21 -0
- package/dist/web-components-library/z-panel-elem.entry.js +26 -0
- package/dist/web-components-library/z-pocket-body.entry.js +23 -0
- package/dist/web-components-library/z-pocket-header.entry.js +36 -0
- package/dist/{esm → web-components-library}/z-pocket-message.entry.js +1 -1
- package/dist/web-components-library/z-pocket.entry.js +68 -0
- package/dist/web-components-library/z-popover.entry.js +124 -0
- package/dist/web-components-library/z-registro-table-body.entry.js +20 -0
- package/dist/web-components-library/z-registro-table-cell.entry.js +30 -0
- package/dist/web-components-library/z-registro-table-empty-box.entry.js +24 -0
- package/dist/web-components-library/z-registro-table-expanded-row.entry.js +15 -0
- package/dist/{esm → web-components-library}/z-registro-table-footer.entry.js +1 -1
- package/dist/web-components-library/z-registro-table-head.entry.js +19 -0
- package/dist/web-components-library/z-registro-table-header-row.entry.js +18 -0
- package/dist/web-components-library/z-registro-table-header.entry.js +80 -0
- package/dist/web-components-library/z-registro-table-row.entry.js +39 -0
- package/dist/web-components-library/z-registro-table-sticky-footer.entry.js +15 -0
- package/dist/web-components-library/z-registro-table.entry.js +78 -0
- package/dist/web-components-library/z-select.entry.js +281 -0
- package/dist/{esm → web-components-library}/z-slideshow.entry.js +3 -3
- package/dist/web-components-library/z-status-tag.entry.js +25 -0
- package/dist/web-components-library/z-stepper-item.entry.js +18 -0
- package/dist/web-components-library/z-stepper.entry.js +15 -0
- package/dist/{esm → web-components-library}/z-toast-notification-list.entry.js +2 -2
- package/dist/{esm → web-components-library}/z-toast-notification.entry.js +4 -3
- package/dist/web-components-library/z-toggle-button.entry.js +32 -0
- package/dist/{collection/components/notification/z-tooltip/index.js → web-components-library/z-tooltip.entry.js} +19 -128
- package/dist/web-components-library/z-typography.entry.js +25 -0
- package/dist/web-components-library/z-user-dropdown.entry.js +91 -0
- package/dist/web-components-library/z-visually-hidden.entry.js +15 -0
- package/package.json +1 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +4 -2
- package/react/components.js.map +1 -1
- package/www/build/_commonjsHelpers-cb1cd7bb.js +44 -0
- package/www/build/app-globals-0f993ce5.js +3 -0
- package/{dist/collection/constants/breakpoints.js → www/build/breakpoints-c386984e.js} +2 -1
- package/www/build/css-shim-003e9264.js +4 -0
- package/www/build/dom-1b195079.js +73 -0
- package/{dist/cjs/hammer-6e321f0b.js → www/build/hammer-52e2c4fe.js} +4 -18
- package/www/build/icons-9a191d79.js +475 -0
- package/www/build/index-44936066.js +2832 -0
- package/www/build/index-8067f807.js +64 -0
- package/{dist/collection/beans/index.js → www/build/index-8f67b3da.js} +41 -34
- package/www/build/index.esm.js +9 -1
- package/www/build/shadow-css-c1ad5fdc.js +383 -0
- package/{dist/collection/utils/utils.js → www/build/utils-5e70920f.js} +15 -12
- package/www/build/web-components-library.css +789 -1
- package/www/build/web-components-library.esm.js +122 -1
- package/www/build/z-alert.entry.js +15 -0
- package/{dist/cjs/z-app-header.cjs.entry.js → www/build/z-app-header.entry.js} +5 -9
- package/www/build/z-app-switcher.entry.js +25 -0
- package/www/build/z-app-topbar.entry.js +37 -0
- package/www/build/z-aria-alert.entry.js +14 -0
- package/www/build/z-avatar.entry.js +39 -0
- package/www/build/z-body.entry.js +13 -0
- package/www/build/z-button-filter.entry.js +45 -0
- package/www/build/z-button-sort.entry.js +50 -0
- package/www/build/z-button.entry.js +35 -0
- package/{dist/cjs/z-candybar.cjs.entry.js → www/build/z-candybar.entry.js} +4 -8
- package/www/build/z-card.entry.js +54 -0
- package/www/build/z-chip.entry.js +20 -0
- package/www/build/z-combobox.entry.js +166 -0
- package/www/build/z-contextual-menu.entry.js +36 -0
- package/{dist/cjs/z-cookiebar.cjs.entry.js → www/build/z-cookiebar.entry.js} +7 -11
- package/www/build/z-divider.entry.js +22 -0
- package/www/build/z-footer-link.entry.js +15 -0
- package/www/build/z-footer-section.entry.js +19 -0
- package/www/build/z-footer-social.entry.js +15 -0
- package/www/build/z-footer.entry.js +98 -0
- package/www/build/z-ghost-loading.entry.js +15 -0
- package/www/build/z-heading.entry.js +13 -0
- package/www/build/z-icon-package.entry.js +19 -0
- package/www/build/z-icon.entry.js +24 -0
- package/www/build/z-info-box.entry.js +21 -0
- package/www/build/z-input-label.entry.js +17 -0
- package/www/build/z-input-message.entry.js +20 -0
- package/www/build/z-input.entry.js +264 -0
- package/www/build/z-link.entry.js +67 -0
- package/www/build/z-list-element.entry.js +150 -0
- package/www/build/z-list-group.entry.js +50 -0
- package/www/build/z-list.entry.js +30 -0
- package/www/build/z-logo.entry.js +24 -0
- package/www/build/z-menu-dropdown.entry.js +56 -0
- package/www/build/z-menu-section.entry.js +42 -0
- package/www/build/z-menu.entry.js +106 -0
- package/{dist/cjs/z-messages-pocket.cjs.entry.js → www/build/z-messages-pocket.entry.js} +13 -17
- package/www/build/z-modal-login.entry.js +77 -0
- package/www/build/z-modal.entry.js +32 -0
- package/www/build/z-myz-card-alert.entry.js +59 -0
- package/www/build/z-myz-card-body.entry.js +15 -0
- package/www/build/z-myz-card-cover.entry.js +18 -0
- package/{dist/cjs/z-myz-card-dictionary.cjs.entry.js → www/build/z-myz-card-dictionary.entry.js} +6 -10
- package/{dist/cjs/z-myz-card-footer-sections.cjs.entry.js → www/build/z-myz-card-footer-sections.entry.js} +4 -8
- package/www/build/z-myz-card-footer.entry.js +48 -0
- package/www/build/z-myz-card-header.entry.js +34 -0
- package/www/build/z-myz-card-icon.entry.js +17 -0
- package/{dist/cjs/z-myz-card-info.cjs.entry.js → www/build/z-myz-card-info.entry.js} +19 -23
- package/www/build/z-myz-card-list.entry.js +33 -0
- package/www/build/z-myz-card.entry.js +37 -0
- package/www/build/z-myz-list-item.entry.js +33 -0
- package/www/build/z-myz-list.entry.js +31 -0
- package/{dist/cjs/z-myz-topbar.cjs.entry.js → www/build/z-myz-topbar.entry.js} +29 -33
- package/{dist/cjs/z-navigation-tab.cjs.entry.js → www/build/z-navigation-tab.entry.js} +6 -10
- package/{dist/cjs/z-navigation-tabs.cjs.entry.js → www/build/z-navigation-tabs.entry.js} +11 -15
- package/www/build/z-notification.entry.js +38 -0
- package/{dist/cjs/z-otp.cjs.entry.js → www/build/z-otp.entry.js} +8 -12
- package/www/build/z-pagination-bar.entry.js +126 -0
- package/www/build/z-pagination-page.entry.js +21 -0
- package/www/build/z-panel-elem.entry.js +26 -0
- package/www/build/z-pocket-body.entry.js +23 -0
- package/www/build/z-pocket-header.entry.js +36 -0
- package/{dist/cjs/z-pocket-message.cjs.entry.js → www/build/z-pocket-message.entry.js} +4 -8
- package/www/build/z-pocket.entry.js +68 -0
- package/www/build/z-popover.entry.js +124 -0
- package/www/build/z-registro-table-body.entry.js +20 -0
- package/www/build/z-registro-table-cell.entry.js +30 -0
- package/www/build/z-registro-table-empty-box.entry.js +24 -0
- package/www/build/z-registro-table-expanded-row.entry.js +15 -0
- package/{dist/cjs/z-registro-table-footer.cjs.entry.js → www/build/z-registro-table-footer.entry.js} +5 -9
- package/www/build/z-registro-table-head.entry.js +19 -0
- package/www/build/z-registro-table-header-row.entry.js +18 -0
- package/www/build/z-registro-table-header.entry.js +80 -0
- package/www/build/z-registro-table-row.entry.js +39 -0
- package/www/build/z-registro-table-sticky-footer.entry.js +15 -0
- package/www/build/z-registro-table.entry.js +78 -0
- package/www/build/z-select.entry.js +281 -0
- package/{dist/cjs/z-slideshow.cjs.entry.js → www/build/z-slideshow.entry.js} +19 -23
- package/www/build/z-status-tag.entry.js +25 -0
- package/www/build/z-stepper-item.entry.js +18 -0
- package/www/build/z-stepper.entry.js +15 -0
- package/{dist/cjs/z-toast-notification-list.cjs.entry.js → www/build/z-toast-notification-list.entry.js} +7 -11
- package/{dist/cjs/z-toast-notification.cjs.entry.js → www/build/z-toast-notification.entry.js} +31 -34
- package/www/build/z-toggle-button.entry.js +32 -0
- package/www/build/z-tooltip.entry.js +270 -0
- package/www/build/z-typography.entry.js +25 -0
- package/www/build/z-user-dropdown.entry.js +91 -0
- package/www/build/z-visually-hidden.entry.js +15 -0
- package/www/index.html +44 -31
- package/dist/cjs/breakpoints-88c4fd6c.js +0 -7
- package/dist/cjs/index-8f4b351d.js +0 -251
- package/dist/cjs/index-dee3e21d.js +0 -1694
- package/dist/cjs/index.cjs.js +0 -13
- package/dist/cjs/loader.cjs.js +0 -21
- package/dist/cjs/utils-6d6841cc.js +0 -75
- package/dist/cjs/web-components-library.cjs.js +0 -19
- package/dist/cjs/z-alert_66.cjs.entry.js +0 -3736
- package/dist/cjs/z-heading.cjs.entry.js +0 -17
- package/dist/cjs/z-modal-login.cjs.entry.js +0 -81
- package/dist/cjs/z-pocket_3.cjs.entry.js +0 -124
- package/dist/collection/collection-manifest.json +0 -98
- package/dist/collection/components/buttons/z-button/index.js +0 -219
- package/dist/collection/components/buttons/z-button/styles.css +0 -231
- package/dist/collection/components/buttons/z-button-filter/index.js +0 -155
- package/dist/collection/components/buttons/z-button-filter/styles.css +0 -74
- package/dist/collection/components/buttons/z-button-sort/index.js +0 -216
- package/dist/collection/components/buttons/z-button-sort/styles.css +0 -101
- package/dist/collection/components/buttons/z-chip/index.js +0 -59
- package/dist/collection/components/buttons/z-chip/styles.css +0 -17
- package/dist/collection/components/buttons/z-toggle-button/index.js +0 -122
- package/dist/collection/components/buttons/z-toggle-button/styles.css +0 -62
- package/dist/collection/components/footer/z-footer/index.js +0 -286
- package/dist/collection/components/footer/z-footer/styles.css +0 -242
- package/dist/collection/components/footer/z-footer-link/index.js +0 -37
- package/dist/collection/components/footer/z-footer-link/styles.css +0 -33
- package/dist/collection/components/footer/z-footer-section/index.js +0 -51
- package/dist/collection/components/footer/z-footer-section/styles.css +0 -163
- package/dist/collection/components/footer/z-footer-social/index.js +0 -68
- package/dist/collection/components/footer/z-footer-social/styles.css +0 -23
- package/dist/collection/components/icons/z-icon/index.js +0 -110
- package/dist/collection/components/icons/z-icon/styles.css +0 -14
- package/dist/collection/components/icons/z-icon-package/index.js +0 -20
- package/dist/collection/components/icons/z-icon-package/styles.css +0 -16
- package/dist/collection/components/indicators/z-stepper/index.js +0 -17
- package/dist/collection/components/indicators/z-stepper/styles.css +0 -19
- package/dist/collection/components/indicators/z-stepper-item/index.js +0 -93
- package/dist/collection/components/indicators/z-stepper-item/styles.css +0 -115
- package/dist/collection/components/inputs/z-combobox/index.js +0 -480
- package/dist/collection/components/inputs/z-combobox/styles.css +0 -148
- package/dist/collection/components/inputs/z-input/index.js +0 -821
- package/dist/collection/components/inputs/z-input/styles.css +0 -304
- package/dist/collection/components/inputs/z-input-label/index.js +0 -72
- package/dist/collection/components/inputs/z-input-label/styles.css +0 -16
- package/dist/collection/components/inputs/z-input-message/index.js +0 -64
- package/dist/collection/components/inputs/z-input-message/styles.css +0 -33
- package/dist/collection/components/inputs/z-select/index.js +0 -647
- package/dist/collection/components/inputs/z-select/styles.css +0 -131
- package/dist/collection/components/list/z-list/index.js +0 -57
- package/dist/collection/components/list/z-list/styles.css +0 -7
- package/dist/collection/components/list/z-list-element/index.js +0 -439
- package/dist/collection/components/list/z-list-element/styles.css +0 -133
- package/dist/collection/components/list/z-list-group/index.js +0 -144
- package/dist/collection/components/list/z-list-group/styles.css +0 -22
- package/dist/collection/components/list/z-toast-notification-list/index.js +0 -97
- package/dist/collection/components/list/z-toast-notification-list/styles.css +0 -107
- package/dist/collection/components/logo/z-logo/index.js +0 -128
- package/dist/collection/components/logo/z-logo/styles.css +0 -29
- package/dist/collection/components/modal/z-modal/index.js +0 -160
- package/dist/collection/components/modal/z-modal/styles.css +0 -185
- package/dist/collection/components/modal/z-modal-login/index.js +0 -272
- package/dist/collection/components/modal/z-modal-login/styles.css +0 -159
- package/dist/collection/components/navigation/z-app-header/index.js +0 -267
- package/dist/collection/components/navigation/z-app-header/styles.css +0 -445
- package/dist/collection/components/navigation/z-app-switcher/index.js +0 -70
- package/dist/collection/components/navigation/z-app-switcher/styles.css +0 -35
- package/dist/collection/components/navigation/z-app-topbar/index.js +0 -156
- package/dist/collection/components/navigation/z-app-topbar/styles.css +0 -71
- package/dist/collection/components/navigation/z-link/index.js +0 -309
- package/dist/collection/components/navigation/z-link/styles.css +0 -160
- package/dist/collection/components/navigation/z-menu/index.js +0 -223
- package/dist/collection/components/navigation/z-menu/styles.css +0 -149
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +0 -125
- package/dist/collection/components/navigation/z-menu-dropdown/styles.css +0 -146
- package/dist/collection/components/navigation/z-menu-section/index.js +0 -109
- package/dist/collection/components/navigation/z-menu-section/styles.css +0 -91
- package/dist/collection/components/navigation/z-navigation-tab/index.js +0 -151
- package/dist/collection/components/navigation/z-navigation-tab/styles.css +0 -113
- package/dist/collection/components/navigation/z-navigation-tabs/index.js +0 -179
- package/dist/collection/components/navigation/z-navigation-tabs/styles.css +0 -117
- package/dist/collection/components/navigation/z-user-dropdown/index.js +0 -252
- package/dist/collection/components/navigation/z-user-dropdown/styles.css +0 -315
- package/dist/collection/components/notification/z-candybar/index.js +0 -18
- package/dist/collection/components/notification/z-candybar/styles.css +0 -61
- package/dist/collection/components/notification/z-cookiebar/index.js +0 -111
- package/dist/collection/components/notification/z-cookiebar/styles.css +0 -109
- package/dist/collection/components/notification/z-info-box/index.js +0 -79
- package/dist/collection/components/notification/z-info-box/styles.css +0 -23
- package/dist/collection/components/notification/z-notification/index.js +0 -171
- package/dist/collection/components/notification/z-notification/styles.css +0 -93
- package/dist/collection/components/notification/z-toast-notification/index.js +0 -402
- package/dist/collection/components/notification/z-toast-notification/styles.css +0 -247
- package/dist/collection/components/notification/z-tooltip/styles.css +0 -128
- package/dist/collection/components/pagination/z-pagination-bar/index.js +0 -278
- package/dist/collection/components/pagination/z-pagination-bar/styles.css +0 -23
- package/dist/collection/components/pagination/z-pagination-page/index.js +0 -129
- package/dist/collection/components/pagination/z-pagination-page/styles.css +0 -57
- package/dist/collection/components/panel/z-panel-elem/index.js +0 -193
- package/dist/collection/components/panel/z-panel-elem/styles.css +0 -39
- package/dist/collection/components/typography/z-body/index.js +0 -66
- package/dist/collection/components/typography/z-heading/index.js +0 -66
- package/dist/collection/components/typography/z-typography/index.js +0 -84
- package/dist/collection/components/typography/z-typography/styles.css +0 -61
- package/dist/collection/components/z-avatar/index.js +0 -137
- package/dist/collection/components/z-avatar/styles.css +0 -35
- package/dist/collection/components/z-card/index.js +0 -153
- package/dist/collection/components/z-card/styles.css +0 -188
- package/dist/collection/components/z-contextual-menu/index.js +0 -122
- package/dist/collection/components/z-contextual-menu/styles.css +0 -45
- package/dist/collection/components/z-divider/index.js +0 -89
- package/dist/collection/components/z-divider/styles.css +0 -37
- package/dist/collection/components/z-ghost-loading/index.js +0 -14
- package/dist/collection/components/z-ghost-loading/styles.css +0 -34
- package/dist/collection/components/z-popover/index.js +0 -274
- package/dist/collection/components/z-popover/styles.css +0 -236
- package/dist/collection/components/z-status-tag/index.js +0 -125
- package/dist/collection/components/z-status-tag/styles.css +0 -133
- package/dist/collection/constants/icons.js +0 -6
- package/dist/collection/index.js +0 -5
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +0 -119
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +0 -38
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +0 -148
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +0 -62
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +0 -20
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +0 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +0 -87
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +0 -11
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +0 -177
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +0 -85
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +0 -190
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +0 -137
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +0 -23
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +0 -32
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +0 -101
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +0 -46
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +0 -74
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +0 -70
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +0 -213
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +0 -124
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +0 -53
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +0 -41
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +0 -70
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +0 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +0 -188
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +0 -48
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +0 -121
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +0 -106
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +0 -181
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +0 -56
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +0 -77
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +0 -49
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +0 -86
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +0 -40
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +0 -23
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +0 -53
- package/dist/collection/snowflakes/myz/topbar/index.js +0 -428
- package/dist/collection/snowflakes/myz/topbar/styles.css +0 -594
- package/dist/collection/snowflakes/myz/z-alert/index.js +0 -42
- package/dist/collection/snowflakes/myz/z-alert/styles.css +0 -28
- package/dist/collection/snowflakes/myz/z-otp/index.js +0 -114
- package/dist/collection/snowflakes/myz/z-otp/styles.css +0 -47
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +0 -165
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +0 -128
- package/dist/collection/snowflakes/registro-table/z-registro-table/index.js +0 -365
- package/dist/collection/snowflakes/registro-table/z-registro-table/styles.css +0 -166
- package/dist/collection/snowflakes/registro-table/z-registro-table-body/index.js +0 -19
- package/dist/collection/snowflakes/registro-table/z-registro-table-body/styles.css +0 -9
- package/dist/collection/snowflakes/registro-table/z-registro-table-cell/index.js +0 -58
- package/dist/collection/snowflakes/registro-table/z-registro-table-cell/styles.css +0 -39
- package/dist/collection/snowflakes/registro-table/z-registro-table-empty-box/index.js +0 -69
- package/dist/collection/snowflakes/registro-table/z-registro-table-empty-box/styles.css +0 -24
- package/dist/collection/snowflakes/registro-table/z-registro-table-expanded-row/index.js +0 -36
- package/dist/collection/snowflakes/registro-table/z-registro-table-expanded-row/styles.css +0 -16
- package/dist/collection/snowflakes/registro-table/z-registro-table-footer/index.js +0 -18
- package/dist/collection/snowflakes/registro-table/z-registro-table-footer/styles.css +0 -5
- package/dist/collection/snowflakes/registro-table/z-registro-table-head/index.js +0 -18
- package/dist/collection/snowflakes/registro-table/z-registro-table-head/styles.css +0 -5
- package/dist/collection/snowflakes/registro-table/z-registro-table-header/index.js +0 -240
- package/dist/collection/snowflakes/registro-table/z-registro-table-header/styles.css +0 -67
- package/dist/collection/snowflakes/registro-table/z-registro-table-header-row/index.js +0 -37
- package/dist/collection/snowflakes/registro-table/z-registro-table-header-row/styles.css +0 -13
- package/dist/collection/snowflakes/registro-table/z-registro-table-row/index.js +0 -86
- package/dist/collection/snowflakes/registro-table/z-registro-table-row/styles.css +0 -54
- package/dist/collection/snowflakes/registro-table/z-registro-table-sticky-footer/index.js +0 -17
- package/dist/collection/snowflakes/registro-table/z-registro-table-sticky-footer/styles.css +0 -11
- package/dist/collection/themes/index.story.js +0 -18
- package/dist/esm/index-fa9e549c.js +0 -1666
- package/dist/esm/index.js +0 -9
- package/dist/esm/loader.js +0 -17
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/web-components-library.js +0 -17
- package/dist/esm/z-alert_66.entry.js +0 -3667
- package/dist/esm/z-pocket_3.entry.js +0 -118
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/web-components-library/p-017370c7.entry.js +0 -1
- package/dist/web-components-library/p-02e55441.entry.js +0 -1
- package/dist/web-components-library/p-140cc18f.entry.js +0 -1
- package/dist/web-components-library/p-18f6f866.entry.js +0 -1
- package/dist/web-components-library/p-1c72783c.entry.js +0 -1
- package/dist/web-components-library/p-231e7797.entry.js +0 -1
- package/dist/web-components-library/p-2f354863.entry.js +0 -1
- package/dist/web-components-library/p-35b1f338.entry.js +0 -1
- package/dist/web-components-library/p-3cdefa38.entry.js +0 -1
- package/dist/web-components-library/p-4a6ec3df.entry.js +0 -1
- package/dist/web-components-library/p-5cdcaa8c.entry.js +0 -1
- package/dist/web-components-library/p-8902f400.entry.js +0 -7
- package/dist/web-components-library/p-8ad12683.entry.js +0 -1
- package/dist/web-components-library/p-904a85e4.js +0 -1
- package/dist/web-components-library/p-96e3aec6.entry.js +0 -1
- package/dist/web-components-library/p-9912e411.js +0 -7
- package/dist/web-components-library/p-b80081c9.entry.js +0 -1
- package/dist/web-components-library/p-c7af96eb.entry.js +0 -1
- package/dist/web-components-library/p-d4830f32.entry.js +0 -1
- package/dist/web-components-library/p-d63b9ed3.js +0 -1
- package/dist/web-components-library/p-d69e14fb.js +0 -1
- package/dist/web-components-library/p-e7304c42.js +0 -1
- package/dist/web-components-library/p-f113a03a.entry.js +0 -1
- package/dist/web-components-library/p-f83347fd.entry.js +0 -1
- package/dist/web-components-library/p-ff6b02d1.entry.js +0 -1
- package/www/build/p-017370c7.entry.js +0 -1
- package/www/build/p-02e55441.entry.js +0 -1
- package/www/build/p-140cc18f.entry.js +0 -1
- package/www/build/p-18f6f866.entry.js +0 -1
- package/www/build/p-1c72783c.entry.js +0 -1
- package/www/build/p-231e7797.entry.js +0 -1
- package/www/build/p-2f354863.entry.js +0 -1
- package/www/build/p-35b1f338.entry.js +0 -1
- package/www/build/p-3cdefa38.entry.js +0 -1
- package/www/build/p-4a6ec3df.entry.js +0 -1
- package/www/build/p-5cdcaa8c.entry.js +0 -1
- package/www/build/p-7206f897.js +0 -1
- package/www/build/p-8902f400.entry.js +0 -7
- package/www/build/p-8ad12683.entry.js +0 -1
- package/www/build/p-904a85e4.js +0 -1
- package/www/build/p-96e3aec6.entry.js +0 -1
- package/www/build/p-9912e411.js +0 -7
- package/www/build/p-b80081c9.entry.js +0 -1
- package/www/build/p-c7af96eb.entry.js +0 -1
- package/www/build/p-d4830f32.entry.js +0 -1
- package/www/build/p-d63b9ed3.js +0 -1
- package/www/build/p-d69e14fb.js +0 -1
- package/www/build/p-e7304c42.js +0 -1
- package/www/build/p-ea943cbd.css +0 -1
- package/www/build/p-f113a03a.entry.js +0 -1
- package/www/build/p-f83347fd.entry.js +0 -1
- package/www/build/p-ff6b02d1.entry.js +0 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-44936066.js';
|
|
2
|
+
import { L as LicenseTypeEnum } from './index-8f67b3da.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = "header{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;width:auto;height:calc(var(--space-unit) * 6);position:relative;border-bottom:var(--border-size-medium) solid var(--color-surface03);border-radius:var(--border-radius) var(--border-radius)\n var(--border-no-radius) var(--border-no-radius);background-color:var(--color-surface01)}header.real,header.trial{background-color:var(--accent-lighter);border-bottom:var(--border-size-medium) solid var(--accent)}h2{font-family:var(--font-family-sans);font-weight:var(--font-sb);color:var(--color-surface05);height:calc(var(--space-unit) * 2);font-size:12px;text-transform:uppercase;letter-spacing:0.22px;line-height:calc(var(--space-unit) * 2);margin:0px;padding:calc(var(--space-unit) * 2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.faded{border-bottom:var(--border-size-medium) solid var(--color-surface02)}.faded.real,.faded.trial{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)}";
|
|
5
|
+
|
|
6
|
+
const ZMyzCardHeader = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.allowTooltip = false;
|
|
10
|
+
}
|
|
11
|
+
getTitle() {
|
|
12
|
+
return this.allowTooltip ? this.titolo : "";
|
|
13
|
+
}
|
|
14
|
+
componentDidLoad() {
|
|
15
|
+
if (this.elementHasEllipsis())
|
|
16
|
+
this.allowTooltip = true;
|
|
17
|
+
}
|
|
18
|
+
elementHasEllipsis() {
|
|
19
|
+
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
20
|
+
}
|
|
21
|
+
retrieveClass() {
|
|
22
|
+
return {
|
|
23
|
+
real: this.cardtype === LicenseTypeEnum.real,
|
|
24
|
+
trial: this.cardtype === LicenseTypeEnum.trial,
|
|
25
|
+
faded: this.faded
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
return (h("header", { class: this.retrieveClass() }, h("h2", { ref: el => (this.ellipsis = el), title: this.getTitle() }, this.titolo), h("slot", { name: "icon" })));
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
ZMyzCardHeader.style = stylesCss;
|
|
33
|
+
|
|
34
|
+
export { ZMyzCardHeader as z_myz_card_header };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-44936066.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = "button{width:42px;height:calc(var(--space-unit) * 5);display:flex;align-items:center;justify-content:center;color:var(--color-primary01);fill:var(--color-primary01);cursor:pointer;outline:none;background:none;border:none;border-left:var(--border-size-medium) solid var(--color-surface03);border-radius:0px var(--border-radius) 0px 0px;margin:0;padding:0px;width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6)}button:active,button:focus{color:var(--blue700);fill:var(--blue700)}button>span{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--border-radius);border:0px}button:hover>span{background:var(--color-primary03)}button:focus>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2)}button:disabled{cursor:not-allowed}button:disabled>span{background:none;box-shadow:var(--shadow-0);pointer-events:none}button:disabled>span>z-icon{fill:var(--color-surface03)}button::-moz-focus-inner{border:0}";
|
|
4
|
+
|
|
5
|
+
const ZMyzCardIcon = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
/** disabled status flag */
|
|
9
|
+
this.isdisabled = false;
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h("button", { disabled: this.isdisabled, "aria-label": this.ariaLabel }, h("span", null, h("z-icon", { name: this.icon, width: 16, height: 16 }))));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
ZMyzCardIcon.style = stylesCss;
|
|
16
|
+
|
|
17
|
+
export { ZMyzCardIcon as z_myz_card_icon };
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-8f4b351d.js');
|
|
7
|
-
const utils = require('./utils-6d6841cc.js');
|
|
8
|
-
require('./breakpoints-88c4fd6c.js');
|
|
1
|
+
import { r as registerInstance, f as createEvent, h } from './index-44936066.js';
|
|
2
|
+
import { f as TooltipPosition } from './index-8f67b3da.js';
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-5e70920f.js';
|
|
4
|
+
import './breakpoints-c386984e.js';
|
|
9
5
|
|
|
10
6
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);width:100%}:host>div{background:var(--color-surface01);width:calc(100% + calc(var(--space-unit) * 2));margin-left:calc(-1 * var(--space-unit));height:402px;border:var(--border-size-small) solid var(--color-primary01);box-shadow:0px 2px 4px 0px rgba(66, 69, 72, 0.35);border-radius:0px;box-sizing:border-box;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);position:relative}:host>div>z-icon{fill:var(--color-primary01);cursor:pointer;position:absolute;top:var(--space-unit);right:var(--space-unit)}:host>div{display:grid}:host>div>div.cta-wrapper{align-self:end;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between}:host>div>div.content-wrapper{overflow:hidden;position:relative;align-self:stretch}:host>div>div.content-wrapper>section{border-bottom:var(--border-size-small) solid var(--color-surface04);color:var(--color-surface05);padding:var(--space-unit) 0;font-size:14px;line-height:20px;box-sizing:border-box}: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{background:linear-gradient(\n 180deg,\n rgba(255, 0, 0, 0),\n rgba(255, 0, 0, 0) 60%,\n white\n );content:\"\";position:absolute;pointer-events:none;top:0;left:0;right:0;bottom:0}: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-tooltip{position:absolute;top:0px;left:calc(var(--space-unit) * 4)}";
|
|
11
7
|
|
|
12
8
|
const ZMyzCardInfo = class {
|
|
13
9
|
constructor(hostRef) {
|
|
14
|
-
|
|
15
|
-
this.flipCard =
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.flipCard = createEvent(this, "flipCard", 7);
|
|
16
12
|
/** tabindex link attribute (optional) */
|
|
17
13
|
this.htmltabindex = 0;
|
|
18
14
|
this.hiddenContent = false;
|
|
@@ -53,32 +49,32 @@ const ZMyzCardInfo = class {
|
|
|
53
49
|
}
|
|
54
50
|
}
|
|
55
51
|
renderCloseIcon() {
|
|
56
|
-
return (
|
|
57
|
-
|
|
52
|
+
return (h("z-icon", { name: "multiply-circled-filled", height: 18, width: 18, onClick: () => this.emitFlipCard(false), tabindex: this.htmltabindex, onKeyUp: (e) => {
|
|
53
|
+
handleKeyboardSubmit(e, this.emitFlipCard, false);
|
|
58
54
|
} }));
|
|
59
55
|
}
|
|
60
56
|
renderGeneralSection() {
|
|
61
57
|
var _a, _b;
|
|
62
58
|
const title = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.title;
|
|
63
59
|
const description = (_b = this === null || this === void 0 ? void 0 : this.cardData) === null || _b === void 0 ? void 0 : _b.description;
|
|
64
|
-
return (
|
|
60
|
+
return (h("section", { class: `info-wrapper ${this.hiddenContent ? "hidden" : ""}`, onClick: () => {
|
|
65
61
|
if (this.hiddenContent)
|
|
66
62
|
this.tooltip = !this.tooltip;
|
|
67
|
-
}, ref: (el) => (this.infoWrapper = el) }, this.renderAuthor(), this.renderYear(), title,
|
|
63
|
+
}, ref: (el) => (this.infoWrapper = el) }, this.renderAuthor(), this.renderYear(), title, h("br", null), description));
|
|
68
64
|
}
|
|
69
65
|
renderAuthor() {
|
|
70
66
|
var _a;
|
|
71
67
|
const author = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.author;
|
|
72
68
|
if (!author)
|
|
73
69
|
return null;
|
|
74
|
-
return (
|
|
70
|
+
return (h("span", null, "Autore: ", h("b", null, author), h("br", null)));
|
|
75
71
|
}
|
|
76
72
|
renderYear() {
|
|
77
73
|
var _a;
|
|
78
74
|
const year = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.year;
|
|
79
75
|
if (!year)
|
|
80
76
|
return null;
|
|
81
|
-
return (
|
|
77
|
+
return (h("span", null, "Anno: ", h("b", null, year), h("br", null)));
|
|
82
78
|
}
|
|
83
79
|
renderTooltip() {
|
|
84
80
|
if (!this.tooltip)
|
|
@@ -86,34 +82,34 @@ const ZMyzCardInfo = class {
|
|
|
86
82
|
if (!this.cardData)
|
|
87
83
|
return;
|
|
88
84
|
const { title, year, author, description } = this.cardData;
|
|
89
|
-
return (
|
|
85
|
+
return (h("z-tooltip", { content: `${title} ${year} ${author} ${description}`, type: TooltipPosition.RIGHT, onClick: () => (this.tooltip = false) }));
|
|
90
86
|
}
|
|
91
87
|
setExpirationLicenseMessage(type) {
|
|
92
88
|
if ((type === "online" && this.cardData.onlineLicense.expired) ||
|
|
93
89
|
(type === "offline" && this.cardData.offlineLicense.expired)) {
|
|
94
|
-
return
|
|
90
|
+
return h("span", { class: "expired" }, "SCADUTA");
|
|
95
91
|
}
|
|
96
92
|
if ((type === "online" && this.cardData.onlineLicense.expiring) ||
|
|
97
93
|
(type === "offline" && this.cardData.offlineLicense.expiring)) {
|
|
98
|
-
return
|
|
94
|
+
return h("span", { class: "expiring" }, "IN SCADENZA");
|
|
99
95
|
}
|
|
100
96
|
}
|
|
101
97
|
renderOnlineLicenseSection() {
|
|
102
98
|
var _a;
|
|
103
99
|
if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.onlineLicense))
|
|
104
100
|
return;
|
|
105
|
-
return (
|
|
101
|
+
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)));
|
|
106
102
|
}
|
|
107
103
|
renderOfflineLicenseSection() {
|
|
108
104
|
var _a;
|
|
109
105
|
if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.offlineLicense))
|
|
110
106
|
return;
|
|
111
|
-
return (
|
|
107
|
+
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)));
|
|
112
108
|
}
|
|
113
109
|
render() {
|
|
114
|
-
return (
|
|
110
|
+
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))));
|
|
115
111
|
}
|
|
116
112
|
};
|
|
117
113
|
ZMyzCardInfo.style = stylesCss;
|
|
118
114
|
|
|
119
|
-
|
|
115
|
+
export { ZMyzCardInfo as z_myz_card_info };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-44936066.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = "ul{font-family:var(--font-family-sans);color:var(--color-primary02);margin:0 calc(var(--space-unit) * 2);padding:0px;overflow:hidden;list-style:none;width:auto;height:auto}ul>li{padding-left:10px;text-indent:-10px}ul>li>a{display:block;font-size:14px;font-weight:var(--font-sb);text-decoration:none;color:var(--color-primary01);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5);padding-top:calc(var(--space-unit) * .5)}ul>li>a:before{content:\"•\";padding-right:5px}ul>li>span{font-size:14px;font-weight:var(--font-rg);text-decoration:none;color:var(--color-surface04);padding:0 calc(var(--space-unit) * 2);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5)}";
|
|
4
|
+
|
|
5
|
+
const ZMyzCardList = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.renderList = this.renderList.bind(this);
|
|
9
|
+
}
|
|
10
|
+
handleSpaceKeyPress(e, url) {
|
|
11
|
+
if (e.keyCode == 32 || e.keyCode == 13) {
|
|
12
|
+
e.preventDefault();
|
|
13
|
+
window.open(url, "_blank");
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
formatListContent(data) {
|
|
17
|
+
const { value, isLink, url } = data;
|
|
18
|
+
if (!isLink)
|
|
19
|
+
return h("span", null, value);
|
|
20
|
+
return (h("a", { role: "button", onKeyPress: (e) => this.handleSpaceKeyPress(e, url), href: url, target: "_blank" }, value));
|
|
21
|
+
}
|
|
22
|
+
renderList(dataArray) {
|
|
23
|
+
return dataArray.map((data) => {
|
|
24
|
+
return h("li", null, this.formatListContent(data));
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
return h("ul", null, this.renderList(JSON.parse(this.listdata)));
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
ZMyzCardList.style = stylesCss;
|
|
32
|
+
|
|
33
|
+
export { ZMyzCardList as z_myz_card_list };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-44936066.js';
|
|
2
|
+
import { L as LicenseTypeEnum } from './index-8f67b3da.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = "div{background-color:var(--color-surface01);display:flex;flex-direction:column;width:auto;box-sizing:border-box;width:256px;height:522px;border:var(--border-size-medium) solid var(--color-surface03);border-radius:var(--border-radius)}div.real,div.trial{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
|
+
|
|
6
|
+
const ZMyzCardComponent = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
/** pressed status */
|
|
10
|
+
this.ispressed = false;
|
|
11
|
+
/** highlighted status */
|
|
12
|
+
this.ishighlighted = false;
|
|
13
|
+
}
|
|
14
|
+
retrieveClass() {
|
|
15
|
+
let elemClasses = "";
|
|
16
|
+
if (this.cardtype === LicenseTypeEnum.real)
|
|
17
|
+
elemClasses += "real";
|
|
18
|
+
else if (this.cardtype === LicenseTypeEnum.trial)
|
|
19
|
+
elemClasses += "trial";
|
|
20
|
+
if (this.faded) {
|
|
21
|
+
elemClasses += " faded";
|
|
22
|
+
}
|
|
23
|
+
else if (this.ispressed) {
|
|
24
|
+
elemClasses += " pressed";
|
|
25
|
+
}
|
|
26
|
+
else if (this.ishighlighted) {
|
|
27
|
+
elemClasses += " highlighted";
|
|
28
|
+
}
|
|
29
|
+
return elemClasses;
|
|
30
|
+
}
|
|
31
|
+
render() {
|
|
32
|
+
return (h("div", { class: this.retrieveClass(), tabindex: "0" }, h("slot", null)));
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
ZMyzCardComponent.style = stylesCss;
|
|
36
|
+
|
|
37
|
+
export { ZMyzCardComponent as z_myz_card };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { r as registerInstance, f as createEvent, h } from './index-44936066.js';
|
|
2
|
+
import { h as handleKeyboardSubmit } from './utils-5e70920f.js';
|
|
3
|
+
import './index-8f67b3da.js';
|
|
4
|
+
import './breakpoints-c386984e.js';
|
|
5
|
+
|
|
6
|
+
const stylesCss = ":host li{all:unset;all:reset;width:100%}:host li{list-style-type:none;line-height:14px}:host li>span{line-height:14px;padding:calc(var(--space-unit) * 2) 0;display:flex;font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:16px;letter-spacing:0.23px;color:var(--text-grey-800);fill:var(--text-grey-800)}: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{color:var(--myz-blue);fill:var(--myz-blue);height:calc(var(--space-unit) * 2);width:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-size:contain;background-repeat:no-repeat}";
|
|
7
|
+
|
|
8
|
+
const ZMyzListItem = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.zListItemLinkClick = createEvent(this, "zListItemLinkClick", 7);
|
|
12
|
+
this.zListItemClick = createEvent(this, "zListItemClick", 7);
|
|
13
|
+
/** link target (optional) */
|
|
14
|
+
this.linktarget = "_self";
|
|
15
|
+
/** underlined style flag */
|
|
16
|
+
this.underlined = true;
|
|
17
|
+
this.emitZListItemLinkClick = this.emitZListItemLinkClick.bind(this);
|
|
18
|
+
this.emitZListItemClick = this.emitZListItemClick.bind(this);
|
|
19
|
+
}
|
|
20
|
+
emitZListItemLinkClick(e, linkId) {
|
|
21
|
+
this.zListItemLinkClick.emit({ e, linkId });
|
|
22
|
+
}
|
|
23
|
+
emitZListItemClick(e, listitemid) {
|
|
24
|
+
this.zListItemClick.emit({ e, listitemid });
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
const linkId = this.listitemid ? `link_${this.listitemid}` : "";
|
|
28
|
+
return (h("li", { role: "button", id: this.listitemid, "data-action": this.action, onClick: (e) => this.emitZListItemClick(e, this.listitemid), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.emitZListItemClick, this.listitemid) }, h("span", { class: this.underlined && "border" }, this.icon && h("z-icon", { name: this.icon }), this.link ? (h("a", { href: this.link ? this.link : null, target: this.linktarget, id: linkId, onClick: (e) => this.emitZListItemLinkClick(e, linkId), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.emitZListItemLinkClick, linkId), role: this.link ? "link" : "button", tabindex: "0" }, this.text)) : (h("span", { innerHTML: this.text })), h("slot", null))));
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
ZMyzListItem.style = stylesCss;
|
|
32
|
+
|
|
33
|
+
export { ZMyzListItem as z_myz_list_item };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-44936066.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = "ul{margin:0;padding:0}";
|
|
4
|
+
|
|
5
|
+
const ZMyzList = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
componentWillLoad() {
|
|
10
|
+
if (this.inputrawdata) {
|
|
11
|
+
this.parseinputrawdata(this.inputrawdata);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
parseinputrawdata(inputrawdata) {
|
|
15
|
+
this.list = [...JSON.parse(inputrawdata)];
|
|
16
|
+
}
|
|
17
|
+
oninputrawdataChange(newValue) {
|
|
18
|
+
this.parseinputrawdata(newValue);
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
const lastElem = this.list ? this.list.length - 1 : -1;
|
|
22
|
+
return (h("ul", null, this.list &&
|
|
23
|
+
this.list.map((bean, i) => (h("z-myz-list-item", { listitemid: bean.listitemid, text: bean.text, link: bean.link, linktarget: bean.linktarget, icon: bean.icon, underlined: lastElem != i })))));
|
|
24
|
+
}
|
|
25
|
+
static get watchers() { return {
|
|
26
|
+
"inputrawdata": ["oninputrawdataChange"]
|
|
27
|
+
}; }
|
|
28
|
+
};
|
|
29
|
+
ZMyzList.style = stylesCss;
|
|
30
|
+
|
|
31
|
+
export { ZMyzList as z_myz_list };
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-8f4b351d.js');
|
|
7
|
-
const breakpoints = require('./breakpoints-88c4fd6c.js');
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-44936066.js';
|
|
2
|
+
import { B as ButtonVariantEnum } from './index-8f67b3da.js';
|
|
3
|
+
import { m as mobileBreakpoint, t as tabletBreakpoint } from './breakpoints-c386984e.js';
|
|
8
4
|
|
|
9
5
|
const stylesCss = ":host a{cursor:pointer}header{position:sticky;top:0;z-index:99;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:\"main-header\";margin-bottom:calc(var(--space-unit) * 6.5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}.main-header{display:grid;grid-template-columns:2fr 2fr 4fr 100px;grid-template-rows:1fr;grid-template-areas:\"logo link-int link-ext login\";grid-area:main-header;grid-column-gap:calc(var(--space-unit) * .5);align-items:center;background-color:var(--bg-grey-900);height:auto;align-items:center;z-index:10}.main-header.myz-out{background-color:var(--bg-white)}.logo{grid-area:logo;padding:6px}z-logo{transform:scale(0.9)}.dropdown-menu{display:none}.dropdown-menu.hidden{visibility:hidden}.dropdown-links{grid-area:dropdown-links;list-style:none;display:block;max-height:32px;margin:0;padding:0}.arrow{fill:var(--text-grey-200)}.dropdown-links>li{list-style:none;display:inline-block;margin:0;padding:0}.dropdown-links>li>a{width:auto;height:auto;color:var(--myz-blue);font-size:14px;letter-spacing:0.18px;line-height:32px;text-decoration:none;margin:var(--space-unit);padding-bottom:calc(var(--space-unit) * .5)}.dropdown-links>li>a:hover,.dropdown-links>li>a.active{color:var(--text-grey-800);border-bottom:2px solid var(--myz-blue)}.mobile-header{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);z-index:inherit;height:52px;position:fixed;top:0px;left:0;z-index:999}.mobile-header.myz-out{background-color:var(--bg-white)}.mobile-header>z-button{margin:0 calc(var(--space-unit) * 2)}.mobile-content{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);position:fixed;top:52px;left:0;z-index:999;max-height:0px;overflow:hidden;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{display:block;position:relative;padding:0;margin:0px calc(var(--space-unit) * 4);height:0;width:calc(100% - 64px);max-height:0;font-size:1px;line-height:0;clear:both;border:none;border-top:1px solid var(--text-grey-700)}.menu-mobile{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;color:var(--bg-white);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);cursor:pointer}.myz-out .menu-mobile{color:var(--text-grey-800)}.menu-toggle{grid-area:menu-toggle;display:flex;flex-direction:column;margin:0 var(--space-unit)}.menu-toggle .bar{width:20px;height:2px;background-color:var(--bg-white);margin:2px auto;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{overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.hidden{visibility:hidden}.login{grid-area:login;display:flex;justify-content:flex-end;padding:0 calc(var(--space-unit) * 2)}.login>z-button{color:var(--bg-white);fill:var(--bg-white)}.booktab-button>z-button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center;padding:calc(var(--space-unit) * 2) 0px calc(var(--space-unit) * 4) 0px}.link-ext{grid-area:link-ext;overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-ext-span{display:inline-block;width:100%;margin:calc(var(--space-unit) * .5) auto;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);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{overflow:hidden;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-int>span{width:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start}.link-int>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-int>span>.menu-item:hover,.link-int>span>.menu-item:focus{border-radius:0px}.link-int>span>.menu-item>span{white-space:nowrap}.link-int>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;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-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-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{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.myz-out .mobile-login>span>.menu-item{color:var(--text-grey-800)}.mobile-login>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.mobile-login>span>.menu-item>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-login>span>.menu-item>span>z-icon{padding-right:var(--space-unit);fill:var(--bg-white)}.menu-item>i::before{border-style:solid;border-width:0.12em 0.12em 0 0;content:\" \";display:inline-block;height:0.45em;left:0.16em;position:relative;top:-0.12em;transform:rotate(135deg) scale(1.2);vertical-align:top;width:0.45em;margin-top:2px;margin-left:2px;margin-right:6px;transition:all 0.5s ease}.menu-item.isopen>i::before{top:0.24em;transform:rotate(-45deg) scale(1.2);transition:all 0.5s ease}.mobile-dropdown{background:white;display:block;overflow:hidden;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px;max-height:0px;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{grid-template-columns:1fr 0.8fr 1.5fr 1.1fr 0.7fr;grid-template-rows:0.2fr auto;grid-template-areas:\"main-header main-header main-header main-header main-header\" \"dropdown-menu dropdown-menu dropdown-menu dropdown-menu dropdown-menu\";margin-bottom:0}header.myz-out{top:0px;grid-template-rows:1fr}.main-header{display:grid;grid-template-columns:170px auto auto 120px;grid-template-rows:1fr;grid-template-areas:\"logo link-int link-ext login\";grid-area:main-header}.dropdown-menu{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:\"dropdown-links\";grid-area:dropdown-menu;grid-column-gap:var(--space-unit);background:var(--bg-grey-200);height:32px;visibility:visible;z-index:9;padding-left:160px}.booktab-button,.mobile-header,.mobile-login,.mobile-dropdown,.menu-mobile{display:none}.link-int{grid-area:link-int;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;max-height:46px;margin-top:calc(var(--space-unit) * .5)}.link-int>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;width:auto}.link-int>span>.menu-item{width:auto;height:auto;color:var(--bg-white);letter-spacing:0.2px;line-height:14px;font-weight:var(--font-sb);text-decoration:none;outline:none;padding:calc(var(--space-unit) * 1.5)}.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;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:center;align-content:center;max-height:46px}.link-ext-span{width:auto;line-height:14px;margin:var(--space-unit);padding:calc(var(--space-unit) * .5) var(--space-unit)}}@media only screen and (min-width: 1152px){.main-header{grid-template-columns:170px auto auto 180px}}";
|
|
10
6
|
|
|
11
7
|
const ZMyzTopbar = class {
|
|
12
8
|
constructor(hostRef) {
|
|
13
|
-
|
|
9
|
+
registerInstance(this, hostRef);
|
|
14
10
|
this.isMobile = true;
|
|
15
11
|
this.isMenuMobileOpen = false;
|
|
16
12
|
this.intMenuData = [];
|
|
@@ -21,7 +17,7 @@ const ZMyzTopbar = class {
|
|
|
21
17
|
this.activeMenuItem = this.currentMenuItem = this.intMenuData.find((item) => item.id === newValue);
|
|
22
18
|
}
|
|
23
19
|
handleResize() {
|
|
24
|
-
this.isMobile = window.innerWidth <=
|
|
20
|
+
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
25
21
|
}
|
|
26
22
|
handleZListItemLinkClick() {
|
|
27
23
|
this.isMenuMobileOpen = false;
|
|
@@ -53,16 +49,16 @@ const ZMyzTopbar = class {
|
|
|
53
49
|
this.handleResize();
|
|
54
50
|
}
|
|
55
51
|
renderLogoDiv() {
|
|
56
|
-
return (
|
|
52
|
+
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 })));
|
|
57
53
|
}
|
|
58
54
|
renderIntMenu(menuItems) {
|
|
59
55
|
if (!this.isLogged || !this.ismyz)
|
|
60
56
|
return;
|
|
61
|
-
return (
|
|
57
|
+
return (h("div", { id: "link-int", class: "link-int" }, menuItems.map((item) => this.renderIntMenuItem(item))));
|
|
62
58
|
}
|
|
63
59
|
renderIntMenuItem(menuItem) {
|
|
64
60
|
const { id, label, link } = menuItem;
|
|
65
|
-
return (
|
|
61
|
+
return (h("span", null, h("a", { href: link ? link : null, id: id, class: "menu-item", onClick: () => {
|
|
66
62
|
this.activeMenuItem = this.currentMenuItem = menuItem;
|
|
67
63
|
this.activeintlinkid = menuItem.id;
|
|
68
64
|
if (menuItem.subMenu)
|
|
@@ -71,9 +67,9 @@ const ZMyzTopbar = class {
|
|
|
71
67
|
this.activeMenuItem = menuItem;
|
|
72
68
|
}, onMouseLeave: () => {
|
|
73
69
|
this.activeMenuItem = this.currentMenuItem;
|
|
74
|
-
}, role: link ? "link" : "button", tabindex: this.getIntMenuItemTabindex(menuItem) },
|
|
70
|
+
}, role: link ? "link" : "button", tabindex: this.getIntMenuItemTabindex(menuItem) }, h("span", null, label), menuItem.subMenu ? h("i", null) : null), h("svg", { height: "8", width: "16", class: {
|
|
75
71
|
hidden: !this.activeMenuItem || this.activeMenuItem.id !== id,
|
|
76
|
-
} },
|
|
72
|
+
} }, h("polygon", { points: "8,0 16,8 0,8", class: "arrow" })), this.isMobile && this.renderMenuItemsData(menuItem)));
|
|
77
73
|
}
|
|
78
74
|
getIntMenuItemTabindex(item) {
|
|
79
75
|
return this.intMenuData.indexOf(item) + 1;
|
|
@@ -102,40 +98,40 @@ const ZMyzTopbar = class {
|
|
|
102
98
|
return this.renderMobileSubMenu(listItems, menuItem.id);
|
|
103
99
|
}
|
|
104
100
|
renderMobileSubMenu(menuItems, id) {
|
|
105
|
-
return (
|
|
101
|
+
return (h("span", { class: "mobile-dropdown", id: id ? `mobile-dropdown-${id}` : "" }, h("z-myz-list", { list: menuItems })));
|
|
106
102
|
}
|
|
107
103
|
renderSubMenu(menuItem) {
|
|
108
104
|
if (!this.ismyz || !this.isLogged)
|
|
109
105
|
return;
|
|
110
106
|
if (!menuItem || !menuItem["subMenu"]) {
|
|
111
|
-
return
|
|
107
|
+
return h("div", { id: "dropdown-menu", class: `dropdown-menu hidden` });
|
|
112
108
|
}
|
|
113
|
-
return (
|
|
109
|
+
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)))))));
|
|
114
110
|
}
|
|
115
111
|
renderExtLinksIcons(icon) {
|
|
116
112
|
const width = window.innerWidth > 0 ? window.innerWidth : screen.width;
|
|
117
|
-
const hideIcons = width >
|
|
113
|
+
const hideIcons = width > mobileBreakpoint && width < tabletBreakpoint;
|
|
118
114
|
return !hideIcons && { icon };
|
|
119
115
|
}
|
|
120
116
|
renderExtMenu(menuItems) {
|
|
121
117
|
if (!this.isLogged)
|
|
122
|
-
return
|
|
123
|
-
return (
|
|
118
|
+
return h("div", null);
|
|
119
|
+
return (h("div", { id: "link-ext", class: "link-ext" }, menuItems.map((menuItem) => {
|
|
124
120
|
const { id, label, link, icon } = menuItem;
|
|
125
|
-
return (
|
|
121
|
+
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)));
|
|
126
122
|
})));
|
|
127
123
|
}
|
|
128
124
|
renderLoginDiv(userData) {
|
|
129
|
-
return (
|
|
125
|
+
return (h("div", { class: "login" }, this.isLogged ? (h("z-menu-dropdown", { nomeutente: userData.name, menucontent: JSON.stringify(userData.userlinks) })) : (this.renderLoginButton())));
|
|
130
126
|
}
|
|
131
127
|
renderLoginButton() {
|
|
132
128
|
if (this.hideloginbutton) {
|
|
133
129
|
return;
|
|
134
130
|
}
|
|
135
|
-
return (
|
|
131
|
+
return (h("z-button", { htmlid: "login-button", variant: this.ismyz ? ButtonVariantEnum.secondary : ButtonVariantEnum.tertiary, icon: "login", issmall: true }, "entra"));
|
|
136
132
|
}
|
|
137
133
|
renderMobileLoginDiv(userData) {
|
|
138
|
-
return (
|
|
134
|
+
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))));
|
|
139
135
|
}
|
|
140
136
|
renderUserData(userData) {
|
|
141
137
|
if (this.isMobile && !userData)
|
|
@@ -151,44 +147,44 @@ const ZMyzTopbar = class {
|
|
|
151
147
|
return this.renderMobileSubMenu(listItems, "user-data");
|
|
152
148
|
}
|
|
153
149
|
renderDesktopHeader() {
|
|
154
|
-
return (
|
|
150
|
+
return (h("header", { class: !this.ismyz ? "myz-out" : "" }, this.renderMainHeader(), this.renderSubMenu(this.activeMenuItem)));
|
|
155
151
|
}
|
|
156
152
|
renderMainHeader() {
|
|
157
|
-
return (
|
|
153
|
+
return (h("div", { id: "main-header", class: {
|
|
158
154
|
"main-header": true,
|
|
159
155
|
"myz-out": !this.ismyz,
|
|
160
156
|
} }, this.renderLogoDiv(), this.renderIntMenu(this.intMenuData), this.renderExtMenu(this.extMenuData), this.renderLoginDiv(this.userData)));
|
|
161
157
|
}
|
|
162
158
|
renderMobileHeader() {
|
|
163
|
-
return (
|
|
159
|
+
return (h("header", null, this.renderMobileMenu(), this.renderMobileMenuContent()));
|
|
164
160
|
}
|
|
165
161
|
renderMobileMenu() {
|
|
166
|
-
return (
|
|
162
|
+
return (h("div", { id: "mobile-header", class: `mobile-header${this.ismyz ? "" : " myz-out"}` }, this.renderLogoDiv(), this.renderMobileMenuToggle()));
|
|
167
163
|
}
|
|
168
164
|
renderMobileMenuToggle() {
|
|
169
165
|
if (!this.isLogged)
|
|
170
166
|
return this.renderLoginButton();
|
|
171
|
-
return (
|
|
167
|
+
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")));
|
|
172
168
|
}
|
|
173
169
|
renderMobileMenuContent() {
|
|
174
170
|
if (!this.isLogged)
|
|
175
171
|
return null;
|
|
176
|
-
return (
|
|
172
|
+
return (h("div", { id: "mobile-content", class: {
|
|
177
173
|
"mobile-content": true,
|
|
178
174
|
open: this.isMenuMobileOpen,
|
|
179
175
|
"myz-out": !this.ismyz,
|
|
180
|
-
} }, this.renderMobileLoginDiv(this.userData), this.ismyz &&
|
|
176
|
+
} }, this.renderMobileLoginDiv(this.userData), this.ismyz && h("hr", null), this.renderIntMenu(this.intMenuData), h("hr", null), this.renderExtMenu(this.extMenuData)));
|
|
181
177
|
}
|
|
182
178
|
render() {
|
|
183
179
|
return this.isMobile
|
|
184
180
|
? this.renderMobileHeader()
|
|
185
181
|
: this.renderDesktopHeader();
|
|
186
182
|
}
|
|
187
|
-
get element() { return
|
|
183
|
+
get element() { return getElement(this); }
|
|
188
184
|
static get watchers() { return {
|
|
189
185
|
"activeintlinkid": ["activeIntLinkChange"]
|
|
190
186
|
}; }
|
|
191
187
|
};
|
|
192
188
|
ZMyzTopbar.style = stylesCss;
|
|
193
189
|
|
|
194
|
-
|
|
190
|
+
export { ZMyzTopbar as z_myz_topbar };
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-dee3e21d.js');
|
|
1
|
+
import { r as registerInstance, f as createEvent, h, g as getElement } from './index-44936066.js';
|
|
6
2
|
|
|
7
3
|
const stylesCss = "button{position:relative;z-index:0;display:flex;align-items:center;justify-content:center;width:100%;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);background-color:unset;text-align:center;font-size:inherit;font-family:var(--font-family-sans);line-height:inherit;letter-spacing:inherit;white-space:nowrap;color:var(--color-primary01);fill:currentColor;border:none;border-radius:var(--border-no-radius);outline:none;cursor:pointer}*::before,*::after{box-sizing:border-box}:host(:hover:not([disabled])) button,:host([selected]) button{color:var(--color-hover-secondary);fill:currentColor}:host(:hover:not([disabled])) button::after,:host([selected]) button::after{content:'';position:absolute;background-color:var(--color-hover-secondary)}:host([orientation='horizontal']:not([disabled]):hover) button::after,:host([orientation='horizontal'][selected]) button::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}:host([orientation='horizontal']) ::slotted(z-icon){margin-right:var(--space-unit)}:host(:hover:not([disabled])) button{background-color:var(--color-background)}button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}:host([disabled]) button{pointer-events:all;cursor:not-allowed;color:var(--gray500);fill:currentColor}:host([size='small']) button{font-size:var(--font-size-2);line-height:1.4;letter-spacing:0.16px}:host([size='small'][orientation='horizontal']) button{padding:var(--space-unit) calc(var(--space-unit) * 2)}:host([size='small'][orientation='horizontal']:not([disabled]):hover) button::after,:host([size='small'][orientation='horizontal'][selected]) button::after{height:var(--border-size-medium)}:host([size='small']:not([orientation='vertical'])) ::slotted(z-icon){--z-icon-width:14px;--z-icon-height:14px}:host([orientation='vertical']) button{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}:host([orientation='vertical']:hover:not([disabled])) button::after,:host([orientation='vertical'][selected]) button::after{width:var(--border-size-large);height:100%;top:0;right:0}:host([orientation='vertical']) ::slotted([slot='label']){display:none}::slotted(z-icon){--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);margin:0}";
|
|
8
4
|
|
|
9
5
|
const ZNavigationTab = class {
|
|
10
6
|
constructor(hostRef) {
|
|
11
|
-
|
|
12
|
-
this.emitSelected =
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.emitSelected = createEvent(this, "selected", 7);
|
|
13
9
|
this.selected = false;
|
|
14
10
|
this.disabled = false;
|
|
15
11
|
this.orientation = 'horizontal';
|
|
@@ -33,13 +29,13 @@ const ZNavigationTab = class {
|
|
|
33
29
|
}
|
|
34
30
|
}
|
|
35
31
|
render() {
|
|
36
|
-
return (
|
|
32
|
+
return (h("button", { disabled: this.disabled, role: "tab" }, h("slot", { name: "icon" }), this.orientation === "horizontal" && h("slot", { name: "label" })));
|
|
37
33
|
}
|
|
38
|
-
get host() { return
|
|
34
|
+
get host() { return getElement(this); }
|
|
39
35
|
static get watchers() { return {
|
|
40
36
|
"selected": ["onSelected"]
|
|
41
37
|
}; }
|
|
42
38
|
};
|
|
43
39
|
ZNavigationTab.style = stylesCss;
|
|
44
40
|
|
|
45
|
-
|
|
41
|
+
export { ZNavigationTab as z_navigation_tab };
|
|
@@ -1,21 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-8f4b351d.js');
|
|
1
|
+
import { r as registerInstance, h, e as Host, g as getElement } from './index-44936066.js';
|
|
2
|
+
import { g as TabOrientationEnum, h as TabSizeEnum } from './index-8f67b3da.js';
|
|
7
3
|
|
|
8
4
|
const stylesCss = ":host{--safe-scroll-area:4px;--negative-safe-scroll-area:calc(-1 * var(--safe-scroll-area));position:relative;display:flex;flex-direction:row;z-index:0;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);font-family:var(--font-family-sans);font-weight:var(--font-rg);overflow:hidden}:host,:host *,::slotted(*){box-sizing:border-box}::-webkit-scrollbar{display:none}button.navigation{position:absolute;display:flex;align-items:center;justify-content:center;margin:0;padding:0;background:var(--color-white);border:none;outline:none;fill:var(--color-primary01);border-radius:var(--border-no-radius);cursor:pointer;z-index:1}button.navigation:focus{fill:var(--color-primary01);box-shadow:var(--shadow-focus-primary)}button.navigation:disabled{display:none}nav{display:flex;align-items:center;justify-content:flex-start;overflow:auto;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);scroll-padding:var(--safe-scroll-area);scrollbar-width:none}:host([orientation='horizontal']) nav{width:100%}:host([orientation='horizontal']) button.navigation{top:0;height:100%;width:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='horizontal']) button.navigation:first-child{left:0;padding-left:var(--safe-scroll-area);box-shadow:5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='horizontal']) button.navigation:last-child{right:0;padding-right:4px;box-shadow:-5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='vertical']){flex-direction:column}:host([orientation='vertical']) nav{flex-direction:column;align-items:stretch;height:100%}:host([orientation='vertical']) button.navigation{left:0;width:100%;height:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='vertical']) button.navigation:first-child{top:0;padding-top:var(--safe-scroll-area);box-shadow:0px 5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='vertical']) button.navigation:last-child{bottom:0;padding-bottom:var(--safe-scroll-area);box-shadow:0px -5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([size='small'][orientation='vertical']) button.navigation{height:calc(var(--space-unit) * 4)}";
|
|
9
5
|
|
|
10
6
|
const ZNavigationTabs = class {
|
|
11
7
|
constructor(hostRef) {
|
|
12
|
-
|
|
8
|
+
registerInstance(this, hostRef);
|
|
13
9
|
/** Available orientation: `horizontal` and `vertical`. Defaults to `horizontal`. */
|
|
14
|
-
this.orientation =
|
|
10
|
+
this.orientation = TabOrientationEnum.horizontal;
|
|
15
11
|
/** Available sizes: `big` and `small`. Defaults to `big`. */
|
|
16
|
-
this.size =
|
|
17
|
-
this.direction = this.orientation ==
|
|
18
|
-
this.dimension = this.orientation ==
|
|
12
|
+
this.size = TabSizeEnum.big;
|
|
13
|
+
this.direction = this.orientation == TabOrientationEnum.vertical ? 'Top' : 'Left';
|
|
14
|
+
this.dimension = this.orientation == TabOrientationEnum.vertical ? 'Height' : 'Width';
|
|
19
15
|
}
|
|
20
16
|
/** Set all childrens (tab) size attribute : big (default) or small */
|
|
21
17
|
setChildrenSize() {
|
|
@@ -83,12 +79,12 @@ const ZNavigationTabs = class {
|
|
|
83
79
|
this.checkScrollVisible();
|
|
84
80
|
}
|
|
85
81
|
render() {
|
|
86
|
-
return
|
|
82
|
+
return h(Host, { class: {
|
|
87
83
|
'interactive-2': this.size === 'small',
|
|
88
84
|
'interactive-1': this.size !== 'small'
|
|
89
|
-
}, scrollable: this.canNavigate }, this.canNavigate &&
|
|
85
|
+
}, scrollable: this.canNavigate }, this.canNavigate && h("button", { class: "navigation", onClick: () => this.navigatePrevious(), tabindex: "-1", disabled: !this.canNavigatePrev }, h("z-icon", { name: this.orientation == 'horizontal' ? 'chevron-left' : 'chevron-up', width: 16, height: 16 })), h("nav", { role: "tablist", ref: (el) => this.tabsNav = el !== null && el !== void 0 ? el : this.tabsNav, onScroll: this.checkScrollEnabled.bind(this) }, h("slot", null)), this.canNavigate && h("button", { class: "navigation", onClick: () => { this.navigateNext(); }, tabindex: "-1", disabled: !this.canNavigateNext }, h("z-icon", { name: this.orientation == 'horizontal' ? 'chevron-right' : 'chevron-down', width: 16, height: 16 })));
|
|
90
86
|
}
|
|
91
|
-
get host() { return
|
|
87
|
+
get host() { return getElement(this); }
|
|
92
88
|
static get watchers() { return {
|
|
93
89
|
"size": ["setChildrenSize"],
|
|
94
90
|
"orientation": ["setChildrenOrientation"],
|
|
@@ -98,4 +94,4 @@ const ZNavigationTabs = class {
|
|
|
98
94
|
};
|
|
99
95
|
ZNavigationTabs.style = stylesCss;
|
|
100
96
|
|
|
101
|
-
|
|
97
|
+
export { ZNavigationTabs as z_navigation_tabs };
|