@zanichelli/albe-web-components 6.6.10-test → 6.8.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 +19 -0
- package/dist/cjs/_commonjsHelpers-537d719a.js +20 -0
- package/dist/cjs/breakpoints-88c4fd6c.js +7 -0
- package/{www/build/hammer-782a2043.js → dist/cjs/hammer-4f20813e.js} +6 -5
- package/{www/build/icons-85e529a3.js → dist/cjs/icons-9e555ff7.js} +3 -1
- package/{www/build/index-291c96fb.js → dist/cjs/index-e3299e0a.js} +521 -1473
- package/dist/cjs/index-fa110f37.js +311 -0
- package/dist/cjs/index.cjs.js +295 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/utils-600bad93.js +100 -0
- package/{www/build/utils-d783f6be.js → dist/cjs/utils-8bc9056f.js} +22 -38
- package/dist/cjs/web-components-library.cjs.js +19 -0
- package/dist/{web-components-library/z-alert.entry.js → cjs/z-alert.cjs.entry.js} +8 -4
- package/{www/build/z-anchor-navigation.entry.js → dist/cjs/z-anchor-navigation.cjs.entry.js} +9 -5
- package/dist/cjs/z-app-header_2.cjs.entry.js +153 -0
- package/dist/{web-components-library/z-app-switcher.entry.js → cjs/z-app-switcher.cjs.entry.js} +11 -7
- package/dist/cjs/z-aria-alert.cjs.entry.js +19 -0
- package/dist/{web-components-library/z-avatar.entry.js → cjs/z-avatar.cjs.entry.js} +14 -10
- package/dist/{web-components-library/z-typography.entry.js → cjs/z-body_2.cjs.entry.js} +21 -5
- package/dist/{web-components-library/z-button-sort.entry.js → cjs/z-button-sort.cjs.entry.js} +11 -7
- package/{www/build/z-button.entry.js → dist/cjs/z-button.cjs.entry.js} +14 -10
- package/dist/{web-components-library/z-card.entry.js → cjs/z-card.cjs.entry.js} +21 -17
- package/dist/{web-components-library/z-carousel.entry.js → cjs/z-carousel.cjs.entry.js} +15 -11
- package/{www/build/z-chip.entry.js → dist/cjs/z-chip.cjs.entry.js} +16 -12
- package/dist/{web-components-library/z-combobox.entry.js → cjs/z-combobox.cjs.entry.js} +27 -23
- package/{www/build/z-contextual-menu.entry.js → dist/cjs/z-contextual-menu.cjs.entry.js} +11 -7
- package/dist/{web-components-library/z-cover-hero.entry.js → cjs/z-cover-hero.cjs.entry.js} +16 -12
- package/dist/{web-components-library/z-date-picker.entry.js → cjs/z-date-picker.cjs.entry.js} +39 -41
- package/{www/build/z-divider.entry.js → dist/cjs/z-divider.cjs.entry.js} +11 -7
- package/dist/cjs/z-dragdrop-area_3.cjs.entry.js +76 -0
- package/{www/build/z-file-upload.entry.js → dist/cjs/z-file-upload.cjs.entry.js} +27 -23
- package/{www/build/z-file.entry.js → dist/cjs/z-file.cjs.entry.js} +13 -9
- package/{www/build/z-ghost-loading.entry.js → dist/cjs/z-ghost-loading.cjs.entry.js} +8 -4
- package/{www/build/z-info-box.entry.js → dist/cjs/z-info-box.cjs.entry.js} +9 -5
- package/dist/{web-components-library/z-info-reveal.entry.js → cjs/z-info-reveal.cjs.entry.js} +11 -7
- package/dist/cjs/z-input_2.cjs.entry.js +266 -0
- package/{www/build/z-link.entry.js → dist/cjs/z-link.cjs.entry.js} +12 -8
- package/dist/cjs/z-list_3.cjs.entry.js +261 -0
- package/dist/{web-components-library/z-logo.entry.js → cjs/z-logo.cjs.entry.js} +8 -4
- package/dist/{web-components-library/z-menu-section.entry.js → cjs/z-menu-section.cjs.entry.js} +11 -7
- package/dist/{web-components-library/z-menu.entry.js → cjs/z-menu.cjs.entry.js} +14 -10
- package/{www/build/z-messages-pocket.entry.js → dist/cjs/z-messages-pocket.cjs.entry.js} +17 -13
- package/dist/{web-components-library/z-myz-card-alert.entry.js → cjs/z-myz-card-alert.cjs.entry.js} +12 -8
- package/dist/{web-components-library/z-myz-card-dictionary.entry.js → cjs/z-myz-card-dictionary.cjs.entry.js} +10 -6
- package/{www/build/z-myz-card-footer-sections.entry.js → dist/cjs/z-myz-card-footer-sections.cjs.entry.js} +8 -4
- package/{www/build/z-myz-card-footer.entry.js → dist/cjs/z-myz-card-footer.cjs.entry.js} +12 -8
- package/{www/build/z-myz-card-icon.entry.js → dist/cjs/z-myz-card-icon.cjs.entry.js} +8 -4
- package/{www/build/z-myz-card-info.entry.js → dist/cjs/z-myz-card-info.cjs.entry.js} +23 -19
- package/{www/build/z-myz-card-list.entry.js → dist/cjs/z-myz-card-list.cjs.entry.js} +11 -7
- package/dist/cjs/z-myz-card_4.cjs.entry.js +108 -0
- package/{www/build/z-myz-list-item.entry.js → dist/cjs/z-myz-list-item.cjs.entry.js} +13 -9
- package/{www/build/z-myz-list.entry.js → dist/cjs/z-myz-list.cjs.entry.js} +9 -5
- package/{www/build/z-navigation-tab-link.entry.js → dist/cjs/z-navigation-tab-link.cjs.entry.js} +16 -12
- package/dist/{web-components-library/z-navigation-tab.entry.js → cjs/z-navigation-tab.cjs.entry.js} +16 -12
- package/dist/{web-components-library/z-navigation-tabs.entry.js → cjs/z-navigation-tabs.cjs.entry.js} +17 -13
- package/{www/build/z-notification.entry.js → dist/cjs/z-notification.cjs.entry.js} +10 -6
- package/{www/build/z-offcanvas.entry.js → dist/cjs/z-offcanvas.cjs.entry.js} +16 -12
- package/{www/build/z-otp.entry.js → dist/cjs/z-otp.cjs.entry.js} +11 -7
- package/{www/build/z-pagination.entry.js → dist/cjs/z-pagination.cjs.entry.js} +23 -19
- package/dist/cjs/z-panel-elem.cjs.entry.js +30 -0
- package/dist/{web-components-library/z-pocket-message.entry.js → cjs/z-pocket-message.cjs.entry.js} +8 -4
- package/dist/cjs/z-pocket_3.cjs.entry.js +125 -0
- package/dist/{web-components-library/z-popover.entry.js → cjs/z-popover.cjs.entry.js} +33 -29
- package/{www/build/z-range-picker.entry.js → dist/cjs/z-range-picker.cjs.entry.js} +32 -28
- package/dist/{web-components-library/z-searchbar.entry.js → cjs/z-searchbar.cjs.entry.js} +27 -23
- package/{www/build/z-section-title.entry.js → dist/cjs/z-section-title.cjs.entry.js} +11 -7
- package/{www/build/z-select.entry.js → dist/cjs/z-select.cjs.entry.js} +29 -25
- package/dist/{web-components-library/z-skip-to-content.entry.js → cjs/z-skip-to-content.cjs.entry.js} +14 -10
- package/{www/build/z-slideshow.entry.js → dist/cjs/z-slideshow.cjs.entry.js} +23 -19
- package/{www/build/z-stepper-item.entry.js → dist/cjs/z-stepper-item.cjs.entry.js} +9 -5
- package/dist/{web-components-library/z-stepper.entry.js → cjs/z-stepper.cjs.entry.js} +8 -4
- package/{www/build/z-table-body.entry.js → dist/cjs/z-table-body.cjs.entry.js} +9 -5
- package/{www/build/z-table-cell.entry.js → dist/cjs/z-table-cell.cjs.entry.js} +13 -9
- package/{www/build/z-table-empty-box.entry.js → dist/cjs/z-table-empty-box.cjs.entry.js} +10 -6
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +19 -0
- package/{www/build/z-table-footer.entry.js → dist/cjs/z-table-footer.cjs.entry.js} +9 -5
- package/{www/build/z-table-head.entry.js → dist/cjs/z-table-head.cjs.entry.js} +9 -5
- package/dist/{web-components-library/z-table-header-row.entry.js → cjs/z-table-header-row.cjs.entry.js} +9 -5
- package/dist/{web-components-library/z-table-header.entry.js → cjs/z-table-header.cjs.entry.js} +26 -22
- package/dist/{web-components-library/z-table-row.entry.js → cjs/z-table-row.cjs.entry.js} +16 -12
- package/dist/{web-components-library/z-table-sticky-footer.entry.js → cjs/z-table-sticky-footer.cjs.entry.js} +8 -4
- package/dist/{web-components-library/z-table.entry.js → cjs/z-table.cjs.entry.js} +20 -16
- package/{www/build/z-tag.entry.js → dist/cjs/z-tag.cjs.entry.js} +9 -5
- package/dist/{web-components-library/z-toast-notification-list.entry.js → cjs/z-toast-notification-list.cjs.entry.js} +11 -7
- package/{www/build/z-toast-notification.entry.js → dist/cjs/z-toast-notification.cjs.entry.js} +34 -30
- package/dist/{web-components-library/z-toggle-button.entry.js → cjs/z-toggle-button.cjs.entry.js} +10 -6
- package/{www/build/z-toggle-switch.entry.js → dist/cjs/z-toggle-switch.cjs.entry.js} +16 -12
- package/{www/build/z-tooltip.entry.js → dist/cjs/z-tooltip.cjs.entry.js} +10 -6
- package/dist/{web-components-library/z-visually-hidden.entry.js → cjs/z-visually-hidden.cjs.entry.js} +8 -4
- package/{www/build/index-968a240f.js → dist/collection/beans/index.js} +47 -49
- package/dist/collection/collection-manifest.json +100 -0
- package/dist/collection/components/buttons/z-button/index.js +241 -0
- package/dist/collection/components/buttons/z-button/styles.css +149 -0
- package/dist/collection/components/buttons/z-button-sort/index.js +220 -0
- package/dist/collection/components/buttons/z-button-sort/styles.css +101 -0
- package/dist/collection/components/buttons/z-chip/index.js +133 -0
- package/dist/collection/components/buttons/z-chip/styles.css +131 -0
- package/dist/collection/components/buttons/z-toggle-button/index.js +126 -0
- package/dist/collection/components/buttons/z-toggle-button/styles.css +62 -0
- package/dist/collection/components/buttons/z-toggle-switch/index.js +144 -0
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +104 -0
- package/dist/collection/components/date-picker/styles.css +565 -0
- package/dist/collection/components/date-picker/utils.js +76 -0
- package/dist/collection/components/date-picker/z-date-picker/index.js +295 -0
- package/dist/collection/components/date-picker/z-range-picker/index.js +499 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +53 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +51 -0
- package/dist/collection/components/file-upload/z-file/index.js +131 -0
- package/dist/collection/components/file-upload/z-file/styles.css +23 -0
- package/dist/collection/components/file-upload/z-file-upload/index.js +363 -0
- package/dist/collection/components/file-upload/z-file-upload/styles.css +84 -0
- package/dist/collection/components/icons/icons.js +747 -0
- package/dist/collection/components/icons/z-icon/index.js +114 -0
- package/dist/collection/components/icons/z-icon/styles.css +14 -0
- package/dist/collection/components/index.js +8 -0
- package/dist/collection/components/indicators/z-stepper/index.js +21 -0
- package/dist/collection/components/indicators/z-stepper/styles.css +19 -0
- package/dist/collection/components/indicators/z-stepper-item/index.js +93 -0
- package/dist/collection/components/indicators/z-stepper-item/styles.css +114 -0
- package/dist/collection/components/inputs/z-combobox/index.js +545 -0
- package/dist/collection/components/inputs/z-combobox/styles.css +159 -0
- package/dist/collection/components/inputs/z-input/index.js +733 -0
- package/dist/collection/components/inputs/z-input/styles.css +327 -0
- package/dist/collection/components/inputs/z-input-message/index.js +89 -0
- package/dist/collection/components/inputs/z-input-message/styles.css +33 -0
- package/dist/collection/components/inputs/z-searchbar/index.js +516 -0
- package/dist/collection/components/inputs/z-searchbar/styles.css +211 -0
- package/dist/collection/components/inputs/z-select/index.js +633 -0
- package/dist/collection/components/inputs/z-select/styles.css +88 -0
- package/dist/collection/components/list/z-list/index.js +91 -0
- package/dist/collection/components/list/z-list/styles.css +6 -0
- package/dist/collection/components/list/z-list-element/index.js +508 -0
- package/dist/collection/components/list/z-list-element/styles.css +121 -0
- package/dist/collection/components/list/z-list-group/index.js +175 -0
- package/dist/collection/components/list/z-list-group/styles.css +21 -0
- package/dist/collection/components/list/z-toast-notification-list/index.js +105 -0
- package/dist/collection/components/list/z-toast-notification-list/styles.css +100 -0
- package/dist/collection/components/logo/z-logo/index.js +131 -0
- package/dist/collection/components/logo/z-logo/styles.css +29 -0
- package/dist/collection/components/modal/z-modal/index.js +156 -0
- package/dist/collection/components/modal/z-modal/styles.css +179 -0
- package/dist/collection/components/navigation/tabs/navigation-tab.css +136 -0
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +242 -0
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +264 -0
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +200 -0
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +104 -0
- package/dist/collection/components/navigation/z-app-header/index.js +306 -0
- package/dist/collection/components/navigation/z-app-header/styles.css +420 -0
- package/dist/collection/components/navigation/z-app-switcher/index.js +79 -0
- package/dist/collection/components/navigation/z-app-switcher/styles.css +23 -0
- package/dist/collection/components/navigation/z-link/index.js +317 -0
- package/dist/collection/components/navigation/z-link/styles.css +167 -0
- package/dist/collection/components/navigation/z-menu/index.js +225 -0
- package/dist/collection/components/navigation/z-menu/styles.css +146 -0
- package/dist/collection/components/navigation/z-menu-section/index.js +116 -0
- package/dist/collection/components/navigation/z-menu-section/styles.css +91 -0
- package/dist/collection/components/notification/z-info-box/index.js +85 -0
- package/dist/collection/components/notification/z-info-box/styles.css +23 -0
- package/dist/collection/components/notification/z-notification/index.js +195 -0
- package/dist/collection/components/notification/z-notification/styles.css +114 -0
- package/dist/collection/components/notification/z-toast-notification/index.js +399 -0
- package/dist/collection/components/notification/z-toast-notification/styles.css +254 -0
- package/dist/collection/components/notification/z-tooltip/index.js +133 -0
- package/dist/collection/components/notification/z-tooltip/styles.css +16 -0
- package/dist/collection/components/panel/z-panel-elem/index.js +193 -0
- package/dist/collection/components/panel/z-panel-elem/styles.css +39 -0
- package/dist/collection/components/typography/z-body/index.js +68 -0
- package/dist/collection/components/typography/z-heading/index.js +68 -0
- package/dist/collection/components/typography/z-typography/index.js +91 -0
- package/dist/collection/components/typography/z-typography/styles.css +65 -0
- package/dist/collection/components/z-anchor-navigation/index.js +95 -0
- package/dist/collection/components/z-anchor-navigation/styles.css +129 -0
- package/dist/collection/components/z-aria-alert/index.js +39 -0
- package/dist/collection/components/z-avatar/index.js +142 -0
- package/dist/collection/components/z-avatar/styles.css +32 -0
- package/dist/collection/components/z-card/index.js +177 -0
- package/dist/collection/components/z-card/styles.css +206 -0
- package/dist/collection/components/z-carousel/index.js +300 -0
- package/dist/collection/components/z-carousel/styles.css +129 -0
- package/dist/collection/components/z-contextual-menu/index.js +126 -0
- package/dist/collection/components/z-contextual-menu/styles.css +60 -0
- package/dist/collection/components/z-cover-hero/index.js +103 -0
- package/dist/collection/components/z-cover-hero/styles.css +78 -0
- package/dist/collection/components/z-divider/index.js +95 -0
- package/dist/collection/components/z-divider/styles.css +37 -0
- package/dist/collection/components/z-ghost-loading/index.js +18 -0
- package/dist/collection/components/z-ghost-loading/styles.css +34 -0
- package/dist/collection/components/z-info-reveal/index.js +147 -0
- package/dist/collection/components/z-info-reveal/styles.css +103 -0
- package/dist/collection/components/z-offcanvas/index.js +162 -0
- package/dist/collection/components/z-offcanvas/styles.css +191 -0
- package/dist/collection/components/z-pagination/index.js +435 -0
- package/dist/collection/components/z-pagination/styles.css +199 -0
- package/dist/collection/components/z-popover/index.js +512 -0
- package/dist/collection/components/z-popover/styles.css +147 -0
- package/dist/collection/components/z-section-title/index.js +88 -0
- package/dist/collection/components/z-section-title/styles.css +44 -0
- package/dist/collection/components/z-skip-to-content/index.js +139 -0
- package/dist/collection/components/z-skip-to-content/styles.css +80 -0
- package/dist/collection/components/z-table/z-table/index.js +352 -0
- package/dist/collection/components/z-table/z-table/styles.css +115 -0
- package/dist/collection/components/z-table/z-table-body/index.js +23 -0
- package/dist/collection/components/z-table/z-table-body/styles.css +9 -0
- package/dist/collection/components/z-table/z-table-cell/index.js +86 -0
- package/dist/collection/components/z-table/z-table-cell/styles.css +58 -0
- package/dist/collection/components/z-table/z-table-empty-box/index.js +72 -0
- package/dist/collection/components/z-table/z-table-empty-box/styles.css +38 -0
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +39 -0
- package/dist/collection/components/z-table/z-table-expanded-row/styles.css +9 -0
- package/dist/collection/components/z-table/z-table-footer/index.js +22 -0
- package/dist/collection/components/z-table/z-table-footer/styles.css +5 -0
- package/dist/collection/components/z-table/z-table-head/index.js +22 -0
- package/dist/collection/components/z-table/z-table-head/styles.css +5 -0
- package/dist/collection/components/z-table/z-table-header/index.js +238 -0
- package/dist/collection/components/z-table/z-table-header/styles.css +71 -0
- package/dist/collection/components/z-table/z-table-header-row/index.js +41 -0
- package/dist/collection/components/z-table/z-table-header-row/styles.css +13 -0
- package/dist/collection/components/z-table/z-table-row/index.js +92 -0
- package/dist/collection/components/z-table/z-table-row/styles.css +45 -0
- package/dist/collection/components/z-table/z-table-sticky-footer/index.js +21 -0
- package/dist/collection/components/z-table/z-table-sticky-footer/styles.css +11 -0
- package/dist/collection/components/z-tag/index.js +65 -0
- package/dist/collection/components/z-tag/styles.css +46 -0
- package/dist/collection/components/z-visually-hidden/index.js +18 -0
- package/dist/collection/components/z-visually-hidden/styles.css +12 -0
- package/{www/build/breakpoints-c386984e.js → dist/collection/constants/breakpoints.js} +1 -2
- package/dist/collection/constants/icons.js +6 -0
- package/dist/collection/index.js +7 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +129 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +44 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +151 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +62 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +22 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +13 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +93 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +11 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +177 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +72 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +207 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +182 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +22 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +20 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +109 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +47 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +81 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +69 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +199 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +93 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +60 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +41 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +78 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +4 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +192 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +47 -0
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +120 -0
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +102 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +191 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +44 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +84 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +41 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +93 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +27 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +22 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +44 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js +47 -0
- package/dist/collection/snowflakes/myz/z-alert/styles.css +28 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +120 -0
- package/dist/collection/snowflakes/myz/z-otp/styles.css +47 -0
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +180 -0
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +127 -0
- package/dist/collection/utils/storybook-utils.js +51 -0
- package/{www/build/utils-b96780be.js → dist/collection/utils/utils.js} +13 -16
- package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
- package/dist/{web-components-library → esm}/breakpoints-c386984e.js +0 -0
- package/dist/{web-components-library/hammer-782a2043.js → esm/hammer-c3266b17.js} +2 -3
- package/dist/{web-components-library → esm}/icons-85e529a3.js +0 -0
- package/dist/{web-components-library → esm}/index-968a240f.js +0 -0
- package/dist/{web-components-library/index-291c96fb.js → esm/index-a2ca4b97.js} +492 -1472
- package/dist/esm/index.js +9 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/{web-components-library/utils-d783f6be.js → esm/utils-151f0ab4.js} +4 -26
- package/dist/{web-components-library/utils-b96780be.js → esm/utils-6cf7efe2.js} +0 -18
- package/dist/esm/web-components-library.js +17 -0
- package/{www/build → dist/esm}/z-alert.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-app-header_2.entry.js +148 -0
- package/{www/build → dist/esm}/z-app-switcher.entry.js +1 -1
- package/{www/build → dist/esm}/z-aria-alert.entry.js +1 -1
- package/{www/build → dist/esm}/z-avatar.entry.js +1 -1
- package/{www/build/z-typography.entry.js → dist/esm/z-body_2.entry.js} +13 -2
- package/{www/build → dist/esm}/z-button-sort.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-button.entry.js +1 -1
- package/{www/build → dist/esm}/z-card.entry.js +1 -1
- package/{www/build → dist/esm}/z-carousel.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-chip.entry.js +2 -2
- package/{www/build → dist/esm}/z-combobox.entry.js +2 -2
- package/dist/{web-components-library → esm}/z-contextual-menu.entry.js +1 -1
- package/{www/build → dist/esm}/z-cover-hero.entry.js +1 -1
- package/{www/build → dist/esm}/z-date-picker.entry.js +6 -12
- package/dist/{web-components-library → esm}/z-divider.entry.js +1 -1
- package/{www/build/z-modal.entry.js → dist/esm/z-dragdrop-area_3.entry.js} +43 -2
- package/dist/{web-components-library → esm}/z-file-upload.entry.js +2 -2
- package/dist/{web-components-library → esm}/z-file.entry.js +2 -2
- package/dist/{web-components-library → esm}/z-ghost-loading.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-info-box.entry.js +1 -1
- package/{www/build → dist/esm}/z-info-reveal.entry.js +1 -1
- package/dist/esm/z-input_2.entry.js +261 -0
- package/dist/{web-components-library → esm}/z-link.entry.js +1 -1
- package/dist/esm/z-list_3.entry.js +255 -0
- package/{www/build → dist/esm}/z-logo.entry.js +1 -1
- package/{www/build → dist/esm}/z-menu-section.entry.js +1 -1
- package/{www/build → dist/esm}/z-menu.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-messages-pocket.entry.js +1 -1
- package/{www/build → dist/esm}/z-myz-card-alert.entry.js +1 -1
- package/{www/build → dist/esm}/z-myz-card-dictionary.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-myz-card-footer.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-myz-card-icon.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-myz-card-info.entry.js +2 -2
- package/dist/{web-components-library → esm}/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +101 -0
- package/dist/{web-components-library → esm}/z-myz-list-item.entry.js +2 -2
- package/dist/{web-components-library → esm}/z-myz-list.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-navigation-tab-link.entry.js +1 -1
- package/{www/build → dist/esm}/z-navigation-tab.entry.js +1 -1
- package/{www/build → dist/esm}/z-navigation-tabs.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-notification.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-offcanvas.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-otp.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-pagination.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-panel-elem.entry.js +1 -1
- package/{www/build → dist/esm}/z-pocket-message.entry.js +1 -1
- package/dist/esm/z-pocket_3.entry.js +119 -0
- package/{www/build → dist/esm}/z-popover.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-range-picker.entry.js +3 -3
- package/{www/build → dist/esm}/z-searchbar.entry.js +3 -3
- package/dist/{web-components-library → esm}/z-section-title.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-select.entry.js +2 -2
- package/{www/build → dist/esm}/z-skip-to-content.entry.js +2 -2
- package/dist/{web-components-library → esm}/z-slideshow.entry.js +2 -2
- package/dist/{web-components-library → esm}/z-stepper-item.entry.js +1 -1
- package/{www/build → dist/esm}/z-stepper.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-table-body.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-table-cell.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-table-empty-box.entry.js +1 -1
- package/{www/build → dist/esm}/z-table-expanded-row.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-table-footer.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-table-head.entry.js +1 -1
- package/{www/build → dist/esm}/z-table-header-row.entry.js +1 -1
- package/{www/build → dist/esm}/z-table-header.entry.js +2 -2
- package/{www/build → dist/esm}/z-table-row.entry.js +1 -1
- package/{www/build → dist/esm}/z-table-sticky-footer.entry.js +1 -1
- package/{www/build → dist/esm}/z-table.entry.js +2 -2
- package/dist/{web-components-library → esm}/z-tag.entry.js +1 -1
- package/{www/build → dist/esm}/z-toast-notification-list.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-toast-notification.entry.js +3 -3
- package/{www/build → dist/esm}/z-toggle-button.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-toggle-switch.entry.js +2 -2
- package/dist/{web-components-library → esm}/z-tooltip.entry.js +1 -1
- package/{www/build → dist/esm}/z-visually-hidden.entry.js +1 -1
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/inputs/z-input-message/index.d.ts +3 -0
- package/dist/web-components-library/index.esm.js +1 -9
- package/dist/web-components-library/p-009c9f67.entry.js +1 -0
- package/dist/web-components-library/p-01f001fd.entry.js +1 -0
- package/dist/web-components-library/p-05ced71c.entry.js +1 -0
- package/dist/web-components-library/p-074ea569.entry.js +1 -0
- package/dist/web-components-library/p-07e18572.entry.js +1 -0
- package/dist/web-components-library/p-0843b0e7.entry.js +1 -0
- package/dist/web-components-library/p-0fa4b50b.entry.js +1 -0
- package/dist/web-components-library/p-112455b1.js +1 -0
- package/dist/web-components-library/p-1d66b265.entry.js +1 -0
- package/dist/web-components-library/p-214b6cee.entry.js +1 -0
- package/dist/web-components-library/p-26033729.entry.js +1 -0
- package/dist/web-components-library/p-26f834e5.entry.js +1 -0
- package/dist/web-components-library/p-2acd6a51.entry.js +1 -0
- package/dist/web-components-library/p-2d1b6c3c.entry.js +1 -0
- package/dist/web-components-library/p-2efedcf4.entry.js +1 -0
- package/dist/web-components-library/p-32509af7.entry.js +1 -0
- package/dist/web-components-library/p-33352f9e.entry.js +1 -0
- package/dist/web-components-library/p-344e7ae7.entry.js +1 -0
- package/dist/web-components-library/p-34c26207.entry.js +1 -0
- package/dist/web-components-library/p-37e050bd.entry.js +1 -0
- package/dist/web-components-library/p-38a3cf3b.entry.js +1 -0
- package/dist/web-components-library/p-3a468aa9.entry.js +1 -0
- package/dist/web-components-library/p-3be171d0.entry.js +1 -0
- package/dist/web-components-library/p-3eb60c95.entry.js +1 -0
- package/dist/web-components-library/p-3f55dce6.entry.js +1 -0
- package/dist/web-components-library/p-4423b00c.entry.js +1 -0
- package/dist/web-components-library/p-475ca461.entry.js +1 -0
- package/dist/web-components-library/p-51e308ca.entry.js +1 -0
- package/dist/web-components-library/p-53065788.entry.js +1 -0
- package/dist/web-components-library/p-540c7d73.entry.js +1 -0
- package/dist/web-components-library/p-59cfee8d.entry.js +1 -0
- package/dist/web-components-library/p-5c62387a.entry.js +1 -0
- package/dist/web-components-library/p-5dd9a2c6.entry.js +1 -0
- package/dist/web-components-library/p-61424b8a.entry.js +1 -0
- package/dist/web-components-library/p-6289c4bd.entry.js +1 -0
- package/dist/web-components-library/p-6b1a5309.entry.js +1 -0
- package/dist/web-components-library/p-6bf7c966.entry.js +1 -0
- package/dist/web-components-library/p-6c163539.entry.js +1 -0
- package/dist/web-components-library/p-735bdfa3.entry.js +1 -0
- package/dist/web-components-library/p-73c91de3.entry.js +1 -0
- package/dist/web-components-library/p-7b3b99ee.entry.js +1 -0
- package/dist/web-components-library/p-7ea553e9.entry.js +1 -0
- package/dist/web-components-library/p-810bd730.entry.js +1 -0
- package/dist/web-components-library/p-8b15b30c.entry.js +1 -0
- package/dist/web-components-library/p-8c105bd1.entry.js +1 -0
- package/dist/web-components-library/p-8ebe4adf.js +1 -0
- package/dist/web-components-library/p-93142fac.entry.js +1 -0
- package/dist/web-components-library/p-95b8f109.entry.js +1 -0
- package/dist/web-components-library/p-9c28b8fc.entry.js +1 -0
- package/dist/web-components-library/p-9c338aeb.entry.js +1 -0
- package/dist/web-components-library/p-9d03a7d6.entry.js +1 -0
- package/dist/web-components-library/p-9d57a84c.entry.js +1 -0
- package/dist/web-components-library/p-9f543b6a.entry.js +1 -0
- package/dist/web-components-library/p-a05ce0a6.entry.js +1 -0
- package/dist/web-components-library/p-a0e2715e.entry.js +1 -0
- package/dist/web-components-library/p-a23e9115.js +1 -0
- package/dist/web-components-library/p-a6c0f149.entry.js +1 -0
- package/dist/web-components-library/p-a79d1412.entry.js +1 -0
- package/dist/web-components-library/p-a82ea410.entry.js +1 -0
- package/dist/web-components-library/p-ae6197f4.entry.js +1 -0
- package/dist/web-components-library/p-ae79573a.entry.js +1 -0
- package/dist/web-components-library/p-af4d1987.entry.js +1 -0
- package/dist/web-components-library/p-b3c29822.js +1 -0
- package/dist/web-components-library/p-b6f36170.entry.js +16 -0
- package/dist/web-components-library/p-bb0fe7bc.entry.js +1 -0
- package/dist/web-components-library/p-bdefe224.entry.js +1 -0
- package/dist/web-components-library/p-beba3e67.entry.js +1 -0
- package/dist/web-components-library/p-c4417a91.entry.js +1 -0
- package/dist/web-components-library/p-ce83ce18.entry.js +1 -0
- package/dist/web-components-library/p-d17ebc2f.js +2 -0
- package/dist/web-components-library/p-d2127d84.entry.js +1 -0
- package/dist/web-components-library/p-d69e14fb.js +1 -0
- package/dist/web-components-library/p-d9a6a204.entry.js +1 -0
- package/dist/web-components-library/p-de0b8df8.entry.js +1 -0
- package/dist/web-components-library/p-de55c171.entry.js +1 -0
- package/dist/web-components-library/p-e40b16fa.entry.js +1 -0
- package/dist/web-components-library/p-e43e61ac.js +7 -0
- package/dist/web-components-library/p-e45cf758.entry.js +1 -0
- package/dist/web-components-library/p-eaa4eba8.entry.js +1 -0
- package/dist/web-components-library/p-ede9fbf5.entry.js +1 -0
- package/dist/web-components-library/p-f0653e72.entry.js +1 -0
- package/dist/web-components-library/p-f158d205.entry.js +1 -0
- package/dist/web-components-library/p-f425f188.js +1 -0
- package/dist/web-components-library/p-f54f63e1.entry.js +1 -0
- package/dist/web-components-library/p-f95cc914.entry.js +1 -0
- package/dist/web-components-library/web-components-library.css +1 -1636
- package/dist/web-components-library/web-components-library.esm.js +1 -129
- package/package.json +1 -1
- package/react/components.d.ts +1 -22
- package/react/components.js +3 -25
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -9
- package/www/build/p-009c9f67.entry.js +1 -0
- package/www/build/p-01f001fd.entry.js +1 -0
- package/www/build/p-05ced71c.entry.js +1 -0
- package/www/build/p-074ea569.entry.js +1 -0
- package/www/build/p-07e18572.entry.js +1 -0
- package/www/build/p-0843b0e7.entry.js +1 -0
- package/www/build/p-0fa4b50b.entry.js +1 -0
- package/www/build/p-112455b1.js +1 -0
- package/www/build/p-1d66b265.entry.js +1 -0
- package/www/build/p-214b6cee.entry.js +1 -0
- package/www/build/p-26033729.entry.js +1 -0
- package/www/build/p-26f834e5.entry.js +1 -0
- package/www/build/p-2acd6a51.entry.js +1 -0
- package/www/build/p-2d1b6c3c.entry.js +1 -0
- package/www/build/p-2efedcf4.entry.js +1 -0
- package/www/build/p-32509af7.entry.js +1 -0
- package/www/build/p-32511690.css +1636 -0
- package/www/build/p-33352f9e.entry.js +1 -0
- package/www/build/p-344e7ae7.entry.js +1 -0
- package/www/build/p-34c26207.entry.js +1 -0
- package/www/build/p-37e050bd.entry.js +1 -0
- package/www/build/p-38a3cf3b.entry.js +1 -0
- package/www/build/p-3a468aa9.entry.js +1 -0
- package/www/build/p-3be171d0.entry.js +1 -0
- package/www/build/p-3eb60c95.entry.js +1 -0
- package/www/build/p-3f55dce6.entry.js +1 -0
- package/www/build/p-4423b00c.entry.js +1 -0
- package/www/build/p-475ca461.entry.js +1 -0
- package/www/build/p-51e308ca.entry.js +1 -0
- package/www/build/p-53065788.entry.js +1 -0
- package/www/build/p-540c7d73.entry.js +1 -0
- package/www/build/p-59cfee8d.entry.js +1 -0
- package/www/build/p-5c62387a.entry.js +1 -0
- package/www/build/p-5dd9a2c6.entry.js +1 -0
- package/www/build/p-61424b8a.entry.js +1 -0
- package/www/build/p-6289c4bd.entry.js +1 -0
- package/www/build/p-6b1a5309.entry.js +1 -0
- package/www/build/p-6bf7c966.entry.js +1 -0
- package/www/build/p-6c163539.entry.js +1 -0
- package/www/build/p-735bdfa3.entry.js +1 -0
- package/www/build/p-73c91de3.entry.js +1 -0
- package/www/build/p-7b3b99ee.entry.js +1 -0
- package/www/build/p-7ea553e9.entry.js +1 -0
- package/www/build/p-810bd730.entry.js +1 -0
- package/www/build/p-8b15b30c.entry.js +1 -0
- package/www/build/p-8c105bd1.entry.js +1 -0
- package/www/build/p-8ebe4adf.js +1 -0
- package/www/build/p-93142fac.entry.js +1 -0
- package/www/build/p-95b8f109.entry.js +1 -0
- package/www/build/p-9c28b8fc.entry.js +1 -0
- package/www/build/p-9c338aeb.entry.js +1 -0
- package/www/build/p-9d03a7d6.entry.js +1 -0
- package/www/build/p-9d57a84c.entry.js +1 -0
- package/www/build/p-9f543b6a.entry.js +1 -0
- package/www/build/p-a05ce0a6.entry.js +1 -0
- package/www/build/p-a0e2715e.entry.js +1 -0
- package/www/build/p-a23e9115.js +1 -0
- package/www/build/p-a5066bae.js +129 -0
- package/www/build/p-a6c0f149.entry.js +1 -0
- package/www/build/p-a79d1412.entry.js +1 -0
- package/www/build/p-a82ea410.entry.js +1 -0
- package/www/build/p-ae6197f4.entry.js +1 -0
- package/www/build/p-ae79573a.entry.js +1 -0
- package/www/build/p-af4d1987.entry.js +1 -0
- package/www/build/p-b3c29822.js +1 -0
- package/www/build/p-b6f36170.entry.js +16 -0
- package/www/build/p-bb0fe7bc.entry.js +1 -0
- package/www/build/p-bdefe224.entry.js +1 -0
- package/www/build/p-beba3e67.entry.js +1 -0
- package/www/build/p-c4417a91.entry.js +1 -0
- package/www/build/p-ce83ce18.entry.js +1 -0
- package/www/build/p-d17ebc2f.js +2 -0
- package/www/build/p-d2127d84.entry.js +1 -0
- package/www/build/p-d69e14fb.js +1 -0
- package/www/build/p-d9a6a204.entry.js +1 -0
- package/www/build/p-de0b8df8.entry.js +1 -0
- package/www/build/p-de55c171.entry.js +1 -0
- package/www/build/p-e40b16fa.entry.js +1 -0
- package/www/build/p-e43e61ac.js +7 -0
- package/www/build/p-e45cf758.entry.js +1 -0
- package/www/build/p-eaa4eba8.entry.js +1 -0
- package/www/build/p-ede9fbf5.entry.js +1 -0
- package/www/build/p-f0653e72.entry.js +1 -0
- package/www/build/p-f158d205.entry.js +1 -0
- package/www/build/p-f425f188.js +1 -0
- package/www/build/p-f54f63e1.entry.js +1 -0
- package/www/build/p-f95cc914.entry.js +1 -0
- package/www/build/web-components-library.css +1 -1636
- package/www/build/web-components-library.esm.js +1 -129
- package/www/index.html +1 -10
- package/dist/web-components-library/_commonjsHelpers-8fe71198.js +0 -44
- package/dist/web-components-library/app-globals-0f993ce5.js +0 -3
- package/dist/web-components-library/css-shim-b3f2ee8d.js +0 -4
- package/dist/web-components-library/dom-665d6011.js +0 -73
- package/dist/web-components-library/shadow-css-b18e99d7.js +0 -387
- package/dist/web-components-library/z-app-header.entry.js +0 -129
- package/dist/web-components-library/z-aria-alert.entry.js +0 -15
- package/dist/web-components-library/z-body.entry.js +0 -14
- package/dist/web-components-library/z-dragdrop-area.entry.js +0 -33
- package/dist/web-components-library/z-heading.entry.js +0 -14
- package/dist/web-components-library/z-icon.entry.js +0 -22
- package/dist/web-components-library/z-input-message.entry.js +0 -20
- package/dist/web-components-library/z-input.entry.js +0 -231
- package/dist/web-components-library/z-list-element.entry.js +0 -173
- package/dist/web-components-library/z-list-group.entry.js +0 -56
- package/dist/web-components-library/z-list.entry.js +0 -36
- package/dist/web-components-library/z-modal.entry.js +0 -29
- package/dist/web-components-library/z-myz-card-body.entry.js +0 -15
- package/dist/web-components-library/z-myz-card-cover.entry.js +0 -18
- package/dist/web-components-library/z-myz-card-header.entry.js +0 -36
- package/dist/web-components-library/z-myz-card.entry.js +0 -42
- package/dist/web-components-library/z-pocket-body.entry.js +0 -23
- package/dist/web-components-library/z-pocket-header.entry.js +0 -36
- package/dist/web-components-library/z-pocket.entry.js +0 -68
- package/dist/web-components-library/z-table-expanded-row.entry.js +0 -15
- package/www/build/_commonjsHelpers-8fe71198.js +0 -44
- package/www/build/app-globals-0f993ce5.js +0 -3
- package/www/build/css-shim-b3f2ee8d.js +0 -4
- package/www/build/dom-665d6011.js +0 -73
- package/www/build/shadow-css-b18e99d7.js +0 -387
- package/www/build/z-app-header.entry.js +0 -129
- package/www/build/z-body.entry.js +0 -14
- package/www/build/z-dragdrop-area.entry.js +0 -33
- package/www/build/z-heading.entry.js +0 -14
- package/www/build/z-icon.entry.js +0 -22
- package/www/build/z-input-message.entry.js +0 -20
- package/www/build/z-input.entry.js +0 -231
- package/www/build/z-list-element.entry.js +0 -173
- package/www/build/z-list-group.entry.js +0 -56
- package/www/build/z-list.entry.js +0 -36
- package/www/build/z-myz-card-body.entry.js +0 -15
- package/www/build/z-myz-card-cover.entry.js +0 -18
- package/www/build/z-myz-card-header.entry.js +0 -36
- package/www/build/z-myz-card.entry.js +0 -42
- package/www/build/z-panel-elem.entry.js +0 -26
- package/www/build/z-pocket-body.entry.js +0 -23
- package/www/build/z-pocket-header.entry.js +0 -36
- package/www/build/z-pocket.entry.js +0 -68
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
2
6
|
|
|
3
7
|
const stylesCss = ":host,::slotted(*),*{box-sizing:border-box}:host{position:relative;display:inline-flex;flex-direction:column}::slotted(a){color:var(--color-text01);text-decoration:none}::slotted(*){font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{padding:0;border:0;margin:0;background:transparent;border-radius:0;color:inherit;outline:none;text-align:left}button.menu-label{cursor:pointer}.menu-label:focus-within{z-index:1;padding-right:calc(var(--space-unit) * 0.5);padding-left:calc(var(--space-unit) * 0.5);margin-right:calc(var(--space-unit) * -0.5);margin-left:calc(var(--space-unit) * -0.5);box-shadow:var(--shadow-focus-primary)}.menu-label .menu-label-content{display:flex;align-items:center;padding:var(--space-unit) 0;border-bottom:var(--border-size-large) solid var(--color-surface05)}:host([active]) .menu-label-content,:host([open]) .menu-label-content,.menu-label:hover .menu-label-content,.menu-label:focus-within .menu-label-content{border-color:var(--color-secondary01)}.menu-label ::slotted(*){width:100%;margin:0;appearance:none;font-size:var(--font-size-5);line-height:1.2;outline:none}.menu-label z-icon{margin-left:calc(var(--space-unit) * 4);fill:currentcolor}.content{background:var(--color-surface01)}.content[hidden]{display:none}:host([floating]) .content{position:absolute;top:100%;left:0;width:375px;min-width:100%;max-width:100vw;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);box-shadow:var(--shadow-2)}:host(:not([floating])) .content{width:100%}.header{display:flex;align-items:center;padding:var(--space-unit) 0 calc(var(--space-unit) * 2)}.header ::slotted(img[slot=\"header\"]){width:calc(var(--space-unit) * 11.25);height:auto;object-fit:contain}.header ::slotted([slot=\"header\"]:not(:first-child)){margin:auto 0;margin-left:calc(var(--space-unit) * 2.5);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5}.items{display:flex;flex-direction:column;align-items:flex-start;background:inherit}.items>::slotted([slot=\"item\"]){display:inline-flex;width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25;outline:none}.items>::slotted([slot=\"item\"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot=\"item\"]:not(z-menu-section)){padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--color-surface05)}.items>::slotted([slot=\"item\"]:hover),.items>::slotted([slot=\"item\"]:active){border-color:var(--color-secondary01)}";
|
|
4
8
|
|
|
5
9
|
const ZMenu = class {
|
|
6
10
|
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.opened = createEvent(this, "opened", 7);
|
|
9
|
-
this.closed = createEvent(this, "closed", 7);
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.opened = index.createEvent(this, "opened", 7);
|
|
13
|
+
this.closed = index.createEvent(this, "closed", 7);
|
|
10
14
|
/**
|
|
11
15
|
* Flag to set the display mode of the list.
|
|
12
16
|
* If true, the list will be absolutely positioned under the menu label,
|
|
@@ -84,20 +88,20 @@ const ZMenu = class {
|
|
|
84
88
|
}
|
|
85
89
|
renderMenuLabel() {
|
|
86
90
|
if (this.hasContent) {
|
|
87
|
-
return (h("button", { class: "menu-label", "aria-expanded": this.open ? "true" : "false", "aria-label": this.open ? "Chiudi menù" : "Apri menù", onClick: this.toggle }, h("div", { class: "menu-label-content" }, h("slot", null), h("z-icon", { name: this.open ? "chevron-up" : "chevron-down" }))));
|
|
91
|
+
return (index.h("button", { class: "menu-label", "aria-expanded": this.open ? "true" : "false", "aria-label": this.open ? "Chiudi menù" : "Apri menù", onClick: this.toggle }, index.h("div", { class: "menu-label-content" }, index.h("slot", null), index.h("z-icon", { name: this.open ? "chevron-up" : "chevron-down" }))));
|
|
88
92
|
}
|
|
89
|
-
return (h("div", { class: "menu-label" }, h("div", { class: "menu-label-content" }, h("slot", null))));
|
|
93
|
+
return (index.h("div", { class: "menu-label" }, index.h("div", { class: "menu-label-content" }, index.h("slot", null))));
|
|
90
94
|
}
|
|
91
95
|
render() {
|
|
92
|
-
return (h(Host, null, this.renderMenuLabel(), h("div", { class: "content", ref: (el) => {
|
|
96
|
+
return (index.h(index.Host, null, this.renderMenuLabel(), index.h("div", { class: "content", ref: (el) => {
|
|
93
97
|
this.content = el;
|
|
94
|
-
}, hidden: !this.open }, this.hasHeader && (h("header", { class: "header" }, h("slot", { name: "header", onSlotchange: this.checkContent }))), h("div", { class: "items", role: "menu" }, h("slot", { name: "item", onSlotchange: this.onItemsChange })))));
|
|
98
|
+
}, hidden: !this.open }, this.hasHeader && (index.h("header", { class: "header" }, index.h("slot", { name: "header", onSlotchange: this.checkContent }))), index.h("div", { class: "items", role: "menu" }, index.h("slot", { name: "item", onSlotchange: this.onItemsChange })))));
|
|
95
99
|
}
|
|
96
|
-
get hostElement() { return getElement(this); }
|
|
100
|
+
get hostElement() { return index.getElement(this); }
|
|
97
101
|
static get watchers() { return {
|
|
98
102
|
"open": ["onOpenChanged"]
|
|
99
103
|
}; }
|
|
100
104
|
};
|
|
101
105
|
ZMenu.style = stylesCss;
|
|
102
106
|
|
|
103
|
-
|
|
107
|
+
exports.z_menu = ZMenu;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
6
|
+
const index$1 = require('./index-fa110f37.js');
|
|
3
7
|
|
|
4
8
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-pocket{width:100%}:host>z-pocket.closed{width:158px}:host>z-pocket>z-pocket-header{color:var(--color-primary01);fill:var(--color-primary01);font-size:12px;font-weight:var(--font-sb)}:host>z-pocket>z-pocket-header span.badge{display:inline-block;padding:0 calc(var(--space-unit) * 0.5);margin-left:var(--space-unit);background:var(--color-secondary02);border-radius:50%;color:var(--color-surface01)}:host>z-pocket>z-pocket-header>z-icon{margin-left:var(--space-unit)}:host>z-pocket>z-pocket-body>div.body{overflow:hidden;padding:var(--space-unit);margin:0 var(--space-unit)}:host>z-pocket.preview>z-pocket-body{position:relative}:host>z-pocket.preview>z-pocket-body>div.gradient{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgb(255 0 0 / 0%), white)}:host>z-pocket.open>z-pocket-body>div.body{overflow:auto;max-height:calc(100vh - 166px);scrollbar-width:none}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>z-pocket{width:768px;margin:0 calc((100% - 768px) / 2)}:host>z-pocket.closed{margin:0 calc((100% - 158px) / 2)}:host>z-pocket.open>z-pocket-body>div.body{max-height:326px}}@media only screen and (min-width: 1152px){:host>z-pocket.open>z-pocket-body>div.body{scrollbar-color:var(--color-primary01) var(--color-surface03);scrollbar-width:thin}:host ::-webkit-scrollbar{width:10px;background:linear-gradient(\n 90deg,\n var(--color-surface01) 2px,\n var(--color-surface03) 4px,\n var(--color-surface01) 8px\n );border-radius:var(--radius-base)}:host ::-webkit-scrollbar-thumb{width:var(--space-unit);background-color:var(--color-primary01);border-radius:var(--radius-base)}}";
|
|
5
9
|
|
|
6
10
|
const ZMessagesPocket = class {
|
|
7
11
|
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
9
13
|
/** pocket status */
|
|
10
|
-
this.status = PocketStatus.PREVIEW;
|
|
14
|
+
this.status = index$1.PocketStatus.PREVIEW;
|
|
11
15
|
}
|
|
12
16
|
handlePocketToggle(e) {
|
|
13
17
|
if (e.detail.id === this.pocketid) {
|
|
@@ -18,25 +22,25 @@ const ZMessagesPocket = class {
|
|
|
18
22
|
let message;
|
|
19
23
|
let icon;
|
|
20
24
|
switch (this.status) {
|
|
21
|
-
case PocketStatus.PREVIEW:
|
|
22
|
-
case PocketStatus.CLOSED:
|
|
23
|
-
message = (h("span", null, "Messaggi ", h("span", { class: "badge" }, this.messages)));
|
|
25
|
+
case index$1.PocketStatus.PREVIEW:
|
|
26
|
+
case index$1.PocketStatus.CLOSED:
|
|
27
|
+
message = (index.h("span", null, "Messaggi ", index.h("span", { class: "badge" }, this.messages)));
|
|
24
28
|
icon = "chevron-up";
|
|
25
29
|
break;
|
|
26
|
-
case PocketStatus.OPEN:
|
|
27
|
-
message = h("span", null, "Riduci");
|
|
30
|
+
case index$1.PocketStatus.OPEN:
|
|
31
|
+
message = index.h("span", null, "Riduci");
|
|
28
32
|
icon = "chevron-down";
|
|
29
33
|
break;
|
|
30
34
|
}
|
|
31
|
-
return (h("z-pocket-header", { pocketid: this.pocketid }, message, h("z-icon", { name: icon, width: 14, height: 14 })));
|
|
35
|
+
return (index.h("z-pocket-header", { pocketid: this.pocketid }, message, index.h("z-icon", { name: icon, width: 14, height: 14 })));
|
|
32
36
|
}
|
|
33
37
|
renderBody() {
|
|
34
|
-
return (h("z-pocket-body", { pocketid: this.pocketid }, h("div", { class: "body" }, h("slot", null)), h("div", { class: "gradient" })));
|
|
38
|
+
return (index.h("z-pocket-body", { pocketid: this.pocketid }, index.h("div", { class: "body" }, index.h("slot", null)), index.h("div", { class: "gradient" })));
|
|
35
39
|
}
|
|
36
40
|
render() {
|
|
37
|
-
return (h("z-pocket", { pocketid: this.pocketid, status: this.status, class: this.status }, this.renderHeader(), this.renderBody()));
|
|
41
|
+
return (index.h("z-pocket", { pocketid: this.pocketid, status: this.status, class: this.status }, this.renderHeader(), this.renderBody()));
|
|
38
42
|
}
|
|
39
43
|
};
|
|
40
44
|
ZMessagesPocket.style = stylesCss;
|
|
41
45
|
|
|
42
|
-
|
|
46
|
+
exports.z_messages_pocket = ZMessagesPocket;
|
package/dist/{web-components-library/z-myz-card-alert.entry.js → cjs/z-myz-card-alert.cjs.entry.js}
RENAMED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
6
|
+
const index$1 = require('./index-fa110f37.js');
|
|
3
7
|
|
|
4
8
|
const stylesCss = ":host{position:absolute;z-index:2;top:0;left:0;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-alert{height:calc(var(--space-unit) * 6)}.relative-container{position:relative;display:grid;align-items:center;padding:0;grid-column-gap:var(--space-unit);grid-template-columns:18px auto 46px;grid-template-rows:1fr;outline:none}.relative-container::-moz-focus-inner{border:0}.alert-external-wrapper.remove-alert{border:var(--border-size-medium) solid var(--color-surface02);border-top:none}:host div.add-alert{background:var(--color-success-inverse)}:host div.remove-alert{background:var(--color-warning-inverse)}:host div>.content-text{color:var(--color-surface05);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.content-action{height:20px;color:var(--color-primary01);cursor:pointer;font-size:12px;font-weight:var(--font-sb);letter-spacing:0.32px;line-height:20px}:host div>z-icon{justify-self:center}";
|
|
5
9
|
|
|
6
10
|
const ZMyzCardAlert = class {
|
|
7
11
|
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.undoAction = createEvent(this, "undoAction", 7);
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.undoAction = index.createEvent(this, "undoAction", 7);
|
|
10
14
|
}
|
|
11
15
|
emitUndoAction() {
|
|
12
16
|
this.undoAction.emit({ actionType: this.type });
|
|
@@ -39,15 +43,15 @@ const ZMyzCardAlert = class {
|
|
|
39
43
|
getAlertType() {
|
|
40
44
|
switch (this.type) {
|
|
41
45
|
case "add":
|
|
42
|
-
return AlertType.SUCCESS;
|
|
46
|
+
return index$1.AlertType.SUCCESS;
|
|
43
47
|
case "remove":
|
|
44
|
-
return AlertType.WARNING;
|
|
48
|
+
return index$1.AlertType.WARNING;
|
|
45
49
|
default:
|
|
46
50
|
return null;
|
|
47
51
|
}
|
|
48
52
|
}
|
|
49
53
|
render() {
|
|
50
|
-
return (h("div", { class: "alert-external-wrapper " + this.retrieveClass() }, h("z-alert", { type: this.getAlertType() }, h("div", { class: "relative-container" }, h("z-icon", { name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), h("span", { class: "content-text" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (h("span", { role: "button", tabindex: "0", class: "content-action", onClick: (e) => {
|
|
54
|
+
return (index.h("div", { class: "alert-external-wrapper " + this.retrieveClass() }, index.h("z-alert", { type: this.getAlertType() }, index.h("div", { class: "relative-container" }, index.h("z-icon", { name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), index.h("span", { class: "content-text" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (index.h("span", { role: "button", tabindex: "0", class: "content-action", onClick: (e) => {
|
|
51
55
|
this.handleActionButtonClick(e);
|
|
52
56
|
}, onKeyPress: (e) => {
|
|
53
57
|
this.handleSpaceKeyPress(e);
|
|
@@ -56,4 +60,4 @@ const ZMyzCardAlert = class {
|
|
|
56
60
|
};
|
|
57
61
|
ZMyzCardAlert.style = stylesCss;
|
|
58
62
|
|
|
59
|
-
|
|
63
|
+
exports.z_myz_card_alert = ZMyzCardAlert;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
6
|
+
const index$1 = require('./index-fa110f37.js');
|
|
3
7
|
|
|
4
8
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host z-myz-card{--card-overflow:visible}:host>div{position:relative;width:100%;height:522px;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out}:host>div .content{position:relative;z-index:2;width:100%;height:522px;transform-style:preserve-3d;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out}:host>div .content.flipped{margin-top:-2px;transform:rotateY(180deg)}:host>div .front,:host>div .back{position:absolute;top:0;left:0;width:100%;height:100%;backface-visibility:hidden}:host>div .front{z-index:2;top:0;left:0;transform:rotateY(0deg)}:host>div .front z-button{position:absolute;z-index:3;top:calc(var(--space-unit) * 0.5);left:calc(-1 * var(--space-unit))}:host>div .back{z-index:1;top:0;left:0;display:flex;justify-content:center;padding:0 var(--space-unit);margin-left:calc(-1 * var(--space-unit));transform:rotateY(180deg)}.hide-info{display:none}";
|
|
5
9
|
|
|
6
10
|
const ZMyzCardDictionary = class {
|
|
7
11
|
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.cardFlipped = createEvent(this, "cardFlipped", 7);
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.cardFlipped = index.createEvent(this, "cardFlipped", 7);
|
|
10
14
|
/** card is disabled */
|
|
11
15
|
this.disabled = false;
|
|
12
16
|
/** card is flipped */
|
|
@@ -24,9 +28,9 @@ const ZMyzCardDictionary = class {
|
|
|
24
28
|
this.cardFlipped.emit(showBack);
|
|
25
29
|
}
|
|
26
30
|
render() {
|
|
27
|
-
return (h("div", null, h("z-myz-card", null, h("z-myz-card-header", { titolo: this.name }), h("div", { class: `content ${this.flipped ? "flipped" : ""}` }, h("div", { class: "front" }, h("z-myz-card-body", null, h("z-myz-card-cover", { slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), h("z-button", { class: { "hide-info": this.hideinfobtn }, variant: ButtonVariant.SECONDARY, icon: "informationsource", size: ButtonSize.X_SMALL, onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), h("div", { class: "back" }, h("slot", { name: "info" }))), h("slot", null))));
|
|
31
|
+
return (index.h("div", null, index.h("z-myz-card", null, index.h("z-myz-card-header", { titolo: this.name }), index.h("div", { class: `content ${this.flipped ? "flipped" : ""}` }, index.h("div", { class: "front" }, index.h("z-myz-card-body", null, index.h("z-myz-card-cover", { slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), index.h("z-button", { class: { "hide-info": this.hideinfobtn }, variant: index$1.ButtonVariant.SECONDARY, icon: "informationsource", size: index$1.ButtonSize.X_SMALL, onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), index.h("div", { class: "back" }, index.h("slot", { name: "info" }))), index.h("slot", null))));
|
|
28
32
|
}
|
|
29
33
|
};
|
|
30
34
|
ZMyzCardDictionary.style = stylesCss;
|
|
31
35
|
|
|
32
|
-
|
|
36
|
+
exports.z_myz_card_dictionary = ZMyzCardDictionary;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
2
6
|
|
|
3
7
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div>footer{height:128px;box-sizing:border-box;padding:var(--space-unit) calc(var(--space-unit) * 2) 0;border-top:var(--border-base) solid var(--color-surface03);border-radius:0 0 var(--radius-base) var(--radius-base);color:var(--color-surface05);font-size:16px;line-height:24px}:host>div>footer>div.top,:host>div>footer>div.bottom{height:60px}";
|
|
4
8
|
|
|
5
9
|
const ZMyzCardFooterSections = class {
|
|
6
10
|
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
8
12
|
}
|
|
9
13
|
render() {
|
|
10
|
-
return (h("div", null, h("footer", null, h("div", { class: "top" }, h("slot", { name: "top" })), h("div", { class: "bottom" }, h("slot", { name: "bottom" })))));
|
|
14
|
+
return (index.h("div", null, index.h("footer", null, index.h("div", { class: "top" }, index.h("slot", { name: "top" })), index.h("div", { class: "bottom" }, index.h("slot", { name: "bottom" })))));
|
|
11
15
|
}
|
|
12
16
|
};
|
|
13
17
|
ZMyzCardFooterSections.style = stylesCss;
|
|
14
18
|
|
|
15
|
-
|
|
19
|
+
exports.z_myz_card_footer_sections = ZMyzCardFooterSections;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
6
|
+
const index$1 = require('./index-fa110f37.js');
|
|
3
7
|
|
|
4
8
|
const stylesCss = "footer{position:relative;z-index:5;top:0;width:auto;height:calc(var(--space-unit) * 6);padding:0;border-top:var(--border-size-medium) solid var(--color-surface03);margin:0;background-color:var(--color-surface01);border-radius:0 0 var(--border-radius) var(--border-radius);color:var(--color-surface05);font-family:var(--font-family-sans);font-weight:var(--font-rg);transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.real,footer.trial,footer.temp{border-top:var(--border-size-medium) solid var(--accent)}footer .bold{font-family:var(--font-family-sans);font-weight:var(--font-sb)}footer>p{overflow:hidden;height:40px;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) var(--space-unit) calc(var(--space-unit) * 2);margin:0;background-color:var(--color-surface01);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-rg);line-height:22px;transition:all 200ms linear}footer.isopen>p{background-color:var(--bg-neutral-200);font-size:14px;font-weight:var(--font-sb);transition:all 200ms linear}footer.isopen.real>p,footer.isopen.trial>p,footer.isopen.temp>p{background-color:var(--accent)}footer .visible{display:block}footer .hidden{display:none}footer>div.content{overflow:hidden;height:60px}footer>div.content>div:not(.slot-handler){padding:var(--space-unit) calc(var(--space-unit) * 2)}footer>div.content>div>p{overflow:hidden;height:20px;padding:0;margin:0;font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}footer>div.content>div>p.year-isbn{display:flex;flex-direction:row;justify-content:space-between;padding-top:var(--space-unit)}footer>div.content>div>p.year-isbn>span.isbn{overflow:hidden;text-overflow:ellipsis}footer.isopen>div.content>div:not(.slot-handler){height:68px}footer.isopen>div.content>div>p.authors{height:40px;text-overflow:initial;white-space:initial}footer.isopen>div.content>div>p.year-isbn{height:50px;flex-direction:column;padding-left:0}footer.isopen>div.content>div>p.year-isbn>span.isbn{display:inline-grid;padding-left:0}footer.isopen{top:-212px;height:295px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.custom-content{top:-292px}footer.isopen>div.content{height:280px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.custom-content>div.content{height:230px}.toggle{position:absolute;z-index:10;top:-24px;left:16px}.faded{opacity:0.3;pointer-events:none}footer>p.custom-content,footer .content.custom-content{display:none}footer.isopen>p.custom-content,footer.isopen .content.custom-content{display:block}div.wrapper{position:relative;height:100%}div.wrapper ::slotted([slot=\"content\"]){position:absolute;z-index:10;top:calc(var(--space-unit) * 2);display:block;width:100%;height:112px;box-sizing:border-box;padding:0 calc(var(--space-unit) * 2);border-top:var(--border-size-medium) solid transparent;background:var(--color-white)}div.wrapper.isopen ::slotted([slot=\"content\"]){top:0;bottom:0;height:128px;padding:calc(var(--space-unit) * 2);border-color:var(--accent)}";
|
|
5
9
|
|
|
6
10
|
const ZMyzCardFooter = class {
|
|
7
11
|
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
9
13
|
/** footer opened by default (optional) */
|
|
10
14
|
this.opened = false;
|
|
11
15
|
/** display footer custom slotted content */
|
|
@@ -33,9 +37,9 @@ const ZMyzCardFooter = class {
|
|
|
33
37
|
retrieveClass() {
|
|
34
38
|
return {
|
|
35
39
|
"isopen": this.isOpen,
|
|
36
|
-
"real": this.cardtype === LicenseType.REAL,
|
|
37
|
-
"trial": this.cardtype === LicenseType.TRIAL,
|
|
38
|
-
"temp": this.cardtype === LicenseType.TEMP,
|
|
40
|
+
"real": this.cardtype === index$1.LicenseType.REAL,
|
|
41
|
+
"trial": this.cardtype === index$1.LicenseType.TRIAL,
|
|
42
|
+
"temp": this.cardtype === index$1.LicenseType.TEMP,
|
|
39
43
|
"custom-content": this.customContent,
|
|
40
44
|
};
|
|
41
45
|
}
|
|
@@ -45,9 +49,9 @@ const ZMyzCardFooter = class {
|
|
|
45
49
|
}
|
|
46
50
|
}
|
|
47
51
|
render() {
|
|
48
|
-
return (h("div", { class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, h("footer", { class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, h("span", { class: "toggle" }, h("slot", { name: "toggle" })), this.titolo && h("p", { class: { "custom-content": this.customContent } }, this.titolo), h("div", { class: { "content": true, "custom-content": this.customContent } }, h("div", null, h("p", { class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, h("span", { title: this.getTitleAuthors() }, h("span", { class: "bold" }, this.autori))), h("p", { class: "year-isbn" }, h("span", { class: "isbn" }, h("span", null, h("span", { class: "bold" }, this.isbn), " (ed. cartacea)")))), h("div", { class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, h("slot", { name: "list" })))), this.customContent && h("slot", { name: "content" })));
|
|
52
|
+
return (index.h("div", { class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, index.h("footer", { class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, index.h("span", { class: "toggle" }, index.h("slot", { name: "toggle" })), this.titolo && index.h("p", { class: { "custom-content": this.customContent } }, this.titolo), index.h("div", { class: { "content": true, "custom-content": this.customContent } }, index.h("div", null, index.h("p", { class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, index.h("span", { title: this.getTitleAuthors() }, index.h("span", { class: "bold" }, this.autori))), index.h("p", { class: "year-isbn" }, index.h("span", { class: "isbn" }, index.h("span", null, index.h("span", { class: "bold" }, this.isbn), " (ed. cartacea)")))), index.h("div", { class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, index.h("slot", { name: "list" })))), this.customContent && index.h("slot", { name: "content" })));
|
|
49
53
|
}
|
|
50
54
|
};
|
|
51
55
|
ZMyzCardFooter.style = stylesCss;
|
|
52
56
|
|
|
53
|
-
|
|
57
|
+
exports.z_myz_card_footer = ZMyzCardFooter;
|
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
2
6
|
|
|
3
7
|
const stylesCss = "button{display:flex;width:42px;width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 6);align-items:center;justify-content:center;padding:0;border:none;border-left:var(--border-size-medium) solid var(--color-surface03);margin:0;background:none;border-radius:0 var(--border-radius) 0 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);outline:none}button:active,button:focus{color:var(--blue700);fill:var(--blue700)}button>span{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border:0;border-radius:var(--border-radius)}button:hover>span{background:var(--color-primary03)}button:focus>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:0 0 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
8
|
|
|
5
9
|
const ZMyzCardIcon = class {
|
|
6
10
|
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
8
12
|
/** disabled status flag */
|
|
9
13
|
this.isdisabled = false;
|
|
10
14
|
/** description of the icon*/
|
|
11
15
|
this.ariaLabel = "";
|
|
12
16
|
}
|
|
13
17
|
render() {
|
|
14
|
-
return (h("button", { disabled: this.isdisabled, "aria-label": this.ariaLabel }, h("span", null, h("z-icon", { name: this.icon, width: 16, height: 16 }))));
|
|
18
|
+
return (index.h("button", { disabled: this.isdisabled, "aria-label": this.ariaLabel }, index.h("span", null, index.h("z-icon", { name: this.icon, width: 16, height: 16 }))));
|
|
15
19
|
}
|
|
16
20
|
};
|
|
17
21
|
ZMyzCardIcon.style = stylesCss;
|
|
18
22
|
|
|
19
|
-
|
|
23
|
+
exports.z_myz_card_icon = ZMyzCardIcon;
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
6
|
+
const index$1 = require('./index-fa110f37.js');
|
|
7
|
+
const utils = require('./utils-600bad93.js');
|
|
8
|
+
require('./breakpoints-88c4fd6c.js');
|
|
5
9
|
|
|
6
10
|
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
11
|
|
|
8
12
|
const ZMyzCardInfo = class {
|
|
9
13
|
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.flipCard = createEvent(this, "flipCard", 7);
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
15
|
+
this.flipCard = index.createEvent(this, "flipCard", 7);
|
|
12
16
|
/** tabindex link attribute (optional) */
|
|
13
17
|
this.htmltabindex = 0;
|
|
14
18
|
this.hiddenContent = false;
|
|
@@ -52,19 +56,19 @@ const ZMyzCardInfo = class {
|
|
|
52
56
|
}
|
|
53
57
|
}
|
|
54
58
|
renderCloseIcon() {
|
|
55
|
-
return (h("z-icon", { name: "multiply-circled-filled", height: 18, width: 18, onClick: () => this.emitFlipCard(false), tabindex: this.htmltabindex, onKeyUp: (e) => {
|
|
56
|
-
handleKeyboardSubmit(e, this.emitFlipCard, false);
|
|
59
|
+
return (index.h("z-icon", { name: "multiply-circled-filled", height: 18, width: 18, onClick: () => this.emitFlipCard(false), tabindex: this.htmltabindex, onKeyUp: (e) => {
|
|
60
|
+
utils.handleKeyboardSubmit(e, this.emitFlipCard, false);
|
|
57
61
|
} }));
|
|
58
62
|
}
|
|
59
63
|
renderGeneralSection() {
|
|
60
64
|
var _a, _b;
|
|
61
65
|
const title = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.title;
|
|
62
66
|
const description = (_b = this === null || this === void 0 ? void 0 : this.cardData) === null || _b === void 0 ? void 0 : _b.description;
|
|
63
|
-
return (h("section", { class: `info-wrapper ${this.hiddenContent ? "hidden" : ""}`, onClick: () => {
|
|
67
|
+
return (index.h("section", { class: `info-wrapper ${this.hiddenContent ? "hidden" : ""}`, onClick: () => {
|
|
64
68
|
if (this.hiddenContent) {
|
|
65
69
|
this.tooltip = !this.tooltip;
|
|
66
70
|
}
|
|
67
|
-
}, ref: (el) => (this.infoWrapper = el) }, this.renderAuthor(), this.renderYear(), title, h("br", null), description));
|
|
71
|
+
}, ref: (el) => (this.infoWrapper = el) }, this.renderAuthor(), this.renderYear(), title, index.h("br", null), description));
|
|
68
72
|
}
|
|
69
73
|
renderAuthor() {
|
|
70
74
|
var _a;
|
|
@@ -72,7 +76,7 @@ const ZMyzCardInfo = class {
|
|
|
72
76
|
if (!author) {
|
|
73
77
|
return null;
|
|
74
78
|
}
|
|
75
|
-
return (h("span", null, "Autore: ", h("b", null, author), h("br", null)));
|
|
79
|
+
return (index.h("span", null, "Autore: ", index.h("b", null, author), index.h("br", null)));
|
|
76
80
|
}
|
|
77
81
|
renderYear() {
|
|
78
82
|
var _a;
|
|
@@ -80,7 +84,7 @@ const ZMyzCardInfo = class {
|
|
|
80
84
|
if (!year) {
|
|
81
85
|
return null;
|
|
82
86
|
}
|
|
83
|
-
return (h("span", null, "Anno: ", h("b", null, year), h("br", null)));
|
|
87
|
+
return (index.h("span", null, "Anno: ", index.h("b", null, year), index.h("br", null)));
|
|
84
88
|
}
|
|
85
89
|
renderTooltip() {
|
|
86
90
|
if (!this.tooltip) {
|
|
@@ -90,16 +94,16 @@ const ZMyzCardInfo = class {
|
|
|
90
94
|
return;
|
|
91
95
|
}
|
|
92
96
|
const { title, year, author, description } = this.cardData;
|
|
93
|
-
return (h("z-popover", { position: PopoverPosition.RIGHT, onClick: () => (this.tooltip = false) }, `${title} ${year} ${author} ${description}`));
|
|
97
|
+
return (index.h("z-popover", { position: index$1.PopoverPosition.RIGHT, onClick: () => (this.tooltip = false) }, `${title} ${year} ${author} ${description}`));
|
|
94
98
|
}
|
|
95
99
|
setExpirationLicenseMessage(type) {
|
|
96
100
|
if ((type === "online" && this.cardData.onlineLicense.expired) ||
|
|
97
101
|
(type === "offline" && this.cardData.offlineLicense.expired)) {
|
|
98
|
-
return h("span", { class: "expired" }, "SCADUTA");
|
|
102
|
+
return index.h("span", { class: "expired" }, "SCADUTA");
|
|
99
103
|
}
|
|
100
104
|
if ((type === "online" && this.cardData.onlineLicense.expiring) ||
|
|
101
105
|
(type === "offline" && this.cardData.offlineLicense.expiring)) {
|
|
102
|
-
return h("span", { class: "expiring" }, "IN SCADENZA");
|
|
106
|
+
return index.h("span", { class: "expiring" }, "IN SCADENZA");
|
|
103
107
|
}
|
|
104
108
|
}
|
|
105
109
|
renderOnlineLicenseSection() {
|
|
@@ -107,19 +111,19 @@ const ZMyzCardInfo = class {
|
|
|
107
111
|
if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.onlineLicense)) {
|
|
108
112
|
return;
|
|
109
113
|
}
|
|
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)));
|
|
114
|
+
return (index.h("section", { ref: (el) => (this.onlineLicenseWrapper = el) }, index.h("span", { class: "license-heading" }, index.h("span", null, "Licenza online"), this.setExpirationLicenseMessage("online")), "Scadenza il ", index.h("b", null, this.cardData.onlineLicense.expiration), index.h("br", null)));
|
|
111
115
|
}
|
|
112
116
|
renderOfflineLicenseSection() {
|
|
113
117
|
var _a;
|
|
114
118
|
if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.offlineLicense)) {
|
|
115
119
|
return;
|
|
116
120
|
}
|
|
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)));
|
|
121
|
+
return (index.h("section", { ref: (el) => (this.offlineLicenseWrapper = el) }, index.h("span", { class: "license-heading" }, index.h("span", null, "Licenza offline"), this.setExpirationLicenseMessage("offline")), "Scadenza il ", index.h("b", null, this.cardData.offlineLicense.expiration), index.h("br", null), "Installazioni disponibili: ", index.h("b", null, this.cardData.offlineLicense.installations)));
|
|
118
122
|
}
|
|
119
123
|
render() {
|
|
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))));
|
|
124
|
+
return (index.h("div", null, this.renderCloseIcon(), index.h("div", { class: "content-wrapper", ref: (el) => (this.contentWrapper = el) }, this.renderGeneralSection(), this.renderTooltip(), this.renderOnlineLicenseSection(), this.renderOfflineLicenseSection()), index.h("div", { class: "cta-wrapper" }, index.h("slot", null))));
|
|
121
125
|
}
|
|
122
126
|
};
|
|
123
127
|
ZMyzCardInfo.style = stylesCss;
|
|
124
128
|
|
|
125
|
-
|
|
129
|
+
exports.z_myz_card_info = ZMyzCardInfo;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
2
6
|
|
|
3
7
|
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
8
|
|
|
5
9
|
const ZMyzCardList = class {
|
|
6
10
|
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
8
12
|
this.renderList = this.renderList.bind(this);
|
|
9
13
|
}
|
|
10
14
|
handleSpaceKeyPress(e, url) {
|
|
@@ -16,19 +20,19 @@ const ZMyzCardList = class {
|
|
|
16
20
|
formatListContent(data) {
|
|
17
21
|
const { value, isLink, url } = data;
|
|
18
22
|
if (!isLink) {
|
|
19
|
-
return h("span", null, value);
|
|
23
|
+
return index.h("span", null, value);
|
|
20
24
|
}
|
|
21
|
-
return (h("a", { role: "button", onKeyPress: (e) => this.handleSpaceKeyPress(e, url), href: url, target: "_blank" }, value));
|
|
25
|
+
return (index.h("a", { role: "button", onKeyPress: (e) => this.handleSpaceKeyPress(e, url), href: url, target: "_blank" }, value));
|
|
22
26
|
}
|
|
23
27
|
renderList(dataArray) {
|
|
24
28
|
return dataArray.map((data) => {
|
|
25
|
-
return h("li", null, this.formatListContent(data));
|
|
29
|
+
return index.h("li", null, this.formatListContent(data));
|
|
26
30
|
});
|
|
27
31
|
}
|
|
28
32
|
render() {
|
|
29
|
-
return h("ul", null, this.renderList(JSON.parse(this.listdata)));
|
|
33
|
+
return index.h("ul", null, this.renderList(JSON.parse(this.listdata)));
|
|
30
34
|
}
|
|
31
35
|
};
|
|
32
36
|
ZMyzCardList.style = stylesCss;
|
|
33
37
|
|
|
34
|
-
|
|
38
|
+
exports.z_myz_card_list = ZMyzCardList;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
6
|
+
const index$1 = require('./index-fa110f37.js');
|
|
7
|
+
|
|
8
|
+
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}";
|
|
9
|
+
|
|
10
|
+
const ZMyzCardComponent = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
/** pressed status */
|
|
14
|
+
this.ispressed = false;
|
|
15
|
+
/** highlighted status */
|
|
16
|
+
this.ishighlighted = false;
|
|
17
|
+
}
|
|
18
|
+
retrieveClass() {
|
|
19
|
+
let elemClasses = "";
|
|
20
|
+
if (this.cardtype === index$1.LicenseType.REAL) {
|
|
21
|
+
elemClasses += "real";
|
|
22
|
+
}
|
|
23
|
+
else if (this.cardtype === index$1.LicenseType.TRIAL) {
|
|
24
|
+
elemClasses += "trial";
|
|
25
|
+
}
|
|
26
|
+
else if (this.cardtype === index$1.LicenseType.TEMP) {
|
|
27
|
+
elemClasses += "temp";
|
|
28
|
+
}
|
|
29
|
+
if (this.faded) {
|
|
30
|
+
elemClasses += " faded";
|
|
31
|
+
}
|
|
32
|
+
else if (this.ispressed) {
|
|
33
|
+
elemClasses += " pressed";
|
|
34
|
+
}
|
|
35
|
+
else if (this.ishighlighted) {
|
|
36
|
+
elemClasses += " highlighted";
|
|
37
|
+
}
|
|
38
|
+
return elemClasses;
|
|
39
|
+
}
|
|
40
|
+
render() {
|
|
41
|
+
return (index.h("div", { class: this.retrieveClass(), tabindex: "0" }, index.h("slot", null)));
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
ZMyzCardComponent.style = stylesCss$3;
|
|
45
|
+
|
|
46
|
+
const stylesCss$2 = ":host{width:auto;height:340px}:host>div{position:relative;display:flex;width:auto;height:340px;align-items:center;justify-content:center}";
|
|
47
|
+
|
|
48
|
+
const ZMyzCardBody = class {
|
|
49
|
+
constructor(hostRef) {
|
|
50
|
+
index.registerInstance(this, hostRef);
|
|
51
|
+
}
|
|
52
|
+
render() {
|
|
53
|
+
return (index.h("div", null, index.h("slot", { name: "alert" }), index.h("slot", { name: "cover" })));
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
ZMyzCardBody.style = stylesCss$2;
|
|
57
|
+
|
|
58
|
+
const stylesCss$1 = "img{display:block;max-width:100%;height:340px;margin:auto;object-fit:cover}img.faded{opacity:0.3}";
|
|
59
|
+
|
|
60
|
+
const ZMyzCardCover = class {
|
|
61
|
+
constructor(hostRef) {
|
|
62
|
+
index.registerInstance(this, hostRef);
|
|
63
|
+
}
|
|
64
|
+
hadleOnImageError() {
|
|
65
|
+
this.img = this.defaultimg;
|
|
66
|
+
}
|
|
67
|
+
render() {
|
|
68
|
+
return (index.h("img", { class: this.faded && "faded", onError: this.hadleOnImageError.bind(this), alt: this.titolo, src: this.img }));
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
ZMyzCardCover.style = stylesCss$1;
|
|
72
|
+
|
|
73
|
+
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)}.card-title{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)}";
|
|
74
|
+
|
|
75
|
+
const ZMyzCardHeader = class {
|
|
76
|
+
constructor(hostRef) {
|
|
77
|
+
index.registerInstance(this, hostRef);
|
|
78
|
+
this.allowTooltip = false;
|
|
79
|
+
}
|
|
80
|
+
getTitle() {
|
|
81
|
+
return this.allowTooltip ? this.titolo : "";
|
|
82
|
+
}
|
|
83
|
+
componentDidLoad() {
|
|
84
|
+
if (this.elementHasEllipsis()) {
|
|
85
|
+
this.allowTooltip = true;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
elementHasEllipsis() {
|
|
89
|
+
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
90
|
+
}
|
|
91
|
+
retrieveClass() {
|
|
92
|
+
return {
|
|
93
|
+
real: this.cardtype === index$1.LicenseType.REAL,
|
|
94
|
+
trial: this.cardtype === index$1.LicenseType.TRIAL,
|
|
95
|
+
temp: this.cardtype === index$1.LicenseType.TEMP,
|
|
96
|
+
faded: this.faded,
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
render() {
|
|
100
|
+
return (index.h("header", { class: this.retrieveClass() }, index.h("span", { class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), index.h("slot", { name: "icon" })));
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
ZMyzCardHeader.style = stylesCss;
|
|
104
|
+
|
|
105
|
+
exports.z_myz_card = ZMyzCardComponent;
|
|
106
|
+
exports.z_myz_card_body = ZMyzCardBody;
|
|
107
|
+
exports.z_myz_card_cover = ZMyzCardCover;
|
|
108
|
+
exports.z_myz_card_header = ZMyzCardHeader;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e3299e0a.js');
|
|
6
|
+
const utils = require('./utils-600bad93.js');
|
|
7
|
+
require('./index-fa110f37.js');
|
|
8
|
+
require('./breakpoints-88c4fd6c.js');
|
|
5
9
|
|
|
6
10
|
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
11
|
|
|
8
12
|
const ZMyzListItem = class {
|
|
9
13
|
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.zListItemLinkClick = createEvent(this, "zListItemLinkClick", 7);
|
|
12
|
-
this.zListItemClick = createEvent(this, "zListItemClick", 7);
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
15
|
+
this.zListItemLinkClick = index.createEvent(this, "zListItemLinkClick", 7);
|
|
16
|
+
this.zListItemClick = index.createEvent(this, "zListItemClick", 7);
|
|
13
17
|
/** link target (optional) */
|
|
14
18
|
this.linktarget = "_self";
|
|
15
19
|
/** underlined style flag */
|
|
@@ -25,9 +29,9 @@ const ZMyzListItem = class {
|
|
|
25
29
|
}
|
|
26
30
|
render() {
|
|
27
31
|
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))));
|
|
32
|
+
return (index.h("li", { role: "button", id: this.listitemid, "data-action": this.action, onClick: (e) => this.emitZListItemClick(e, this.listitemid), onKeyPress: (ev) => utils.handleKeyboardSubmit(ev, this.emitZListItemClick, this.listitemid) }, index.h("span", { class: this.underlined && "border" }, this.icon && index.h("z-icon", { name: this.icon }), this.link ? (index.h("a", { href: this.link ? this.link : null, target: this.linktarget, id: linkId, onClick: (e) => this.emitZListItemLinkClick(e, linkId), onKeyPress: (ev) => utils.handleKeyboardSubmit(ev, this.emitZListItemLinkClick, linkId), role: this.link ? "link" : "button", tabindex: "0" }, this.text)) : (index.h("span", { innerHTML: this.text })), index.h("slot", null))));
|
|
29
33
|
}
|
|
30
34
|
};
|
|
31
35
|
ZMyzListItem.style = stylesCss;
|
|
32
36
|
|
|
33
|
-
|
|
37
|
+
exports.z_myz_list_item = ZMyzListItem;
|