@zanichelli/albe-web-components 2.33.1 → 2.33.3
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 +4 -0
- package/dist/cjs/breakpoints-88c4fd6c.js +7 -0
- package/{www/build/hammer-52e2c4fe.js → dist/cjs/hammer-6e321f0b.js} +18 -4
- package/dist/cjs/index-11a8a536.js +256 -0
- package/dist/cjs/index-dee3e21d.js +1694 -0
- package/dist/cjs/index.cjs.js +13 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/utils-00e14fba.js +75 -0
- package/dist/cjs/web-components-library.cjs.js +19 -0
- package/dist/cjs/z-alert_66.cjs.entry.js +3736 -0
- package/dist/{web-components-library/z-app-header.entry.js → cjs/z-app-header.cjs.entry.js} +9 -5
- package/dist/cjs/z-aria-alert.cjs.entry.js +18 -0
- package/{www/build/z-candybar.entry.js → dist/cjs/z-candybar.cjs.entry.js} +8 -4
- package/{www/build/z-cookiebar.entry.js → dist/cjs/z-cookiebar.cjs.entry.js} +11 -7
- package/dist/cjs/z-heading.cjs.entry.js +17 -0
- package/{www/build/z-messages-pocket.entry.js → dist/cjs/z-messages-pocket.cjs.entry.js} +17 -13
- package/dist/cjs/z-modal-login.cjs.entry.js +81 -0
- package/dist/{web-components-library/z-myz-card-dictionary.entry.js → cjs/z-myz-card-dictionary.cjs.entry.js} +10 -6
- package/dist/{web-components-library/z-myz-card-footer-sections.entry.js → cjs/z-myz-card-footer-sections.cjs.entry.js} +8 -4
- package/dist/{web-components-library/z-myz-card-info.entry.js → cjs/z-myz-card-info.cjs.entry.js} +23 -19
- package/{www/build/z-myz-topbar.entry.js → dist/cjs/z-myz-topbar.cjs.entry.js} +33 -29
- package/dist/{web-components-library/z-navigation-tab.entry.js → cjs/z-navigation-tab.cjs.entry.js} +10 -6
- package/{www/build/z-navigation-tabs.entry.js → dist/cjs/z-navigation-tabs.cjs.entry.js} +15 -11
- package/dist/{web-components-library/z-otp.entry.js → cjs/z-otp.cjs.entry.js} +12 -8
- 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 +124 -0
- package/dist/{web-components-library/z-registro-table-footer.entry.js → cjs/z-registro-table-footer.cjs.entry.js} +9 -5
- package/dist/{web-components-library/z-slideshow.entry.js → cjs/z-slideshow.cjs.entry.js} +23 -19
- package/{www/build/z-toast-notification-list.entry.js → dist/cjs/z-toast-notification-list.cjs.entry.js} +11 -7
- package/dist/{web-components-library/z-toast-notification.entry.js → cjs/z-toast-notification.cjs.entry.js} +34 -31
- package/{www/build/z-visually-hidden.entry.js → dist/cjs/z-visually-hidden.cjs.entry.js} +8 -4
- package/{www/build/index-8f67b3da.js → dist/collection/beans/index.js} +35 -37
- package/dist/collection/collection-manifest.json +100 -0
- package/dist/collection/components/buttons/z-button/index.js +219 -0
- package/dist/collection/components/buttons/z-button/styles.css +231 -0
- package/dist/collection/components/buttons/z-button-filter/index.js +155 -0
- package/dist/collection/components/buttons/z-button-filter/styles.css +74 -0
- package/dist/collection/components/buttons/z-button-sort/index.js +216 -0
- package/dist/collection/components/buttons/z-button-sort/styles.css +101 -0
- package/dist/collection/components/buttons/z-chip/index.js +59 -0
- package/dist/collection/components/buttons/z-chip/styles.css +17 -0
- package/dist/collection/components/buttons/z-toggle-button/index.js +122 -0
- package/dist/collection/components/buttons/z-toggle-button/styles.css +62 -0
- package/dist/collection/components/footer/z-footer/index.js +286 -0
- package/dist/collection/components/footer/z-footer/styles.css +242 -0
- package/dist/collection/components/footer/z-footer-link/index.js +37 -0
- package/dist/collection/components/footer/z-footer-link/styles.css +33 -0
- package/dist/collection/components/footer/z-footer-section/index.js +51 -0
- package/dist/collection/components/footer/z-footer-section/styles.css +163 -0
- package/dist/collection/components/footer/z-footer-social/index.js +68 -0
- package/dist/collection/components/footer/z-footer-social/styles.css +23 -0
- package/dist/{web-components-library/icons-9a191d79.js → collection/components/icons/icons.js} +1 -3
- package/dist/collection/components/icons/z-icon/index.js +110 -0
- package/dist/collection/components/icons/z-icon/styles.css +14 -0
- package/dist/collection/components/icons/z-icon-package/index.js +20 -0
- package/dist/collection/components/icons/z-icon-package/styles.css +16 -0
- package/dist/collection/components/indicators/z-stepper/index.js +17 -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 +115 -0
- package/dist/collection/components/inputs/z-combobox/index.js +480 -0
- package/dist/collection/components/inputs/z-combobox/styles.css +148 -0
- package/dist/collection/components/inputs/z-input/index.js +821 -0
- package/dist/collection/components/inputs/z-input/styles.css +304 -0
- package/dist/collection/components/inputs/z-input-label/index.js +72 -0
- package/dist/collection/components/inputs/z-input-label/styles.css +16 -0
- package/dist/collection/components/inputs/z-input-message/index.js +64 -0
- package/dist/collection/components/inputs/z-input-message/styles.css +33 -0
- package/dist/collection/components/inputs/z-select/index.js +647 -0
- package/dist/collection/components/inputs/z-select/styles.css +131 -0
- package/dist/collection/components/list/z-list/index.js +57 -0
- package/dist/collection/components/list/z-list/styles.css +7 -0
- package/dist/collection/components/list/z-list-element/index.js +439 -0
- package/dist/collection/components/list/z-list-element/styles.css +133 -0
- package/dist/collection/components/list/z-list-group/index.js +144 -0
- package/dist/collection/components/list/z-list-group/styles.css +22 -0
- package/dist/collection/components/list/z-toast-notification-list/index.js +97 -0
- package/dist/collection/components/list/z-toast-notification-list/styles.css +107 -0
- package/dist/collection/components/logo/z-logo/index.js +128 -0
- package/dist/collection/components/logo/z-logo/styles.css +29 -0
- package/dist/collection/components/modal/z-modal/index.js +160 -0
- package/dist/collection/components/modal/z-modal/styles.css +185 -0
- package/dist/collection/components/modal/z-modal-login/index.js +272 -0
- package/dist/collection/components/modal/z-modal-login/styles.css +159 -0
- package/dist/collection/components/navigation/z-app-header/index.js +267 -0
- package/dist/collection/components/navigation/z-app-header/styles.css +445 -0
- package/dist/collection/components/navigation/z-app-switcher/index.js +70 -0
- package/dist/collection/components/navigation/z-app-switcher/styles.css +35 -0
- package/dist/collection/components/navigation/z-app-topbar/index.js +156 -0
- package/dist/collection/components/navigation/z-app-topbar/styles.css +71 -0
- package/dist/collection/components/navigation/z-link/index.js +309 -0
- package/dist/collection/components/navigation/z-link/styles.css +164 -0
- package/dist/collection/components/navigation/z-menu/index.js +223 -0
- package/dist/collection/components/navigation/z-menu/styles.css +149 -0
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +125 -0
- package/dist/collection/components/navigation/z-menu-dropdown/styles.css +146 -0
- package/dist/collection/components/navigation/z-menu-section/index.js +109 -0
- package/dist/collection/components/navigation/z-menu-section/styles.css +91 -0
- package/dist/collection/components/navigation/z-navigation-tab/index.js +151 -0
- package/dist/collection/components/navigation/z-navigation-tab/styles.css +113 -0
- package/dist/collection/components/navigation/z-navigation-tabs/index.js +179 -0
- package/dist/collection/components/navigation/z-navigation-tabs/styles.css +117 -0
- package/dist/collection/components/navigation/z-user-dropdown/index.js +252 -0
- package/dist/collection/components/navigation/z-user-dropdown/styles.css +315 -0
- package/dist/collection/components/notification/z-candybar/index.js +18 -0
- package/dist/collection/components/notification/z-candybar/styles.css +61 -0
- package/dist/collection/components/notification/z-cookiebar/index.js +111 -0
- package/dist/collection/components/notification/z-cookiebar/styles.css +109 -0
- package/dist/collection/components/notification/z-info-box/index.js +79 -0
- package/dist/collection/components/notification/z-info-box/styles.css +23 -0
- package/dist/collection/components/notification/z-notification/index.js +171 -0
- package/dist/collection/components/notification/z-notification/styles.css +93 -0
- package/dist/collection/components/notification/z-toast-notification/index.js +402 -0
- package/dist/collection/components/notification/z-toast-notification/styles.css +247 -0
- package/dist/{web-components-library/z-tooltip.entry.js → collection/components/notification/z-tooltip/index.js} +128 -19
- package/dist/collection/components/notification/z-tooltip/styles.css +128 -0
- package/dist/collection/components/pagination/z-pagination-bar/index.js +278 -0
- package/dist/collection/components/pagination/z-pagination-bar/styles.css +23 -0
- package/dist/collection/components/pagination/z-pagination-page/index.js +129 -0
- package/dist/collection/components/pagination/z-pagination-page/styles.css +57 -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 +66 -0
- package/dist/collection/components/typography/z-heading/index.js +66 -0
- package/dist/collection/components/typography/z-typography/index.js +84 -0
- package/dist/collection/components/typography/z-typography/styles.css +61 -0
- package/dist/collection/components/z-aria-alert/index.js +32 -0
- package/dist/collection/components/z-avatar/index.js +137 -0
- package/dist/collection/components/z-avatar/styles.css +35 -0
- package/dist/collection/components/z-card/index.js +153 -0
- package/dist/collection/components/z-card/styles.css +188 -0
- package/dist/collection/components/z-contextual-menu/index.js +122 -0
- package/dist/collection/components/z-contextual-menu/styles.css +45 -0
- package/dist/collection/components/z-divider/index.js +89 -0
- package/dist/collection/components/z-divider/styles.css +37 -0
- package/dist/collection/components/z-ghost-loading/index.js +14 -0
- package/dist/collection/components/z-ghost-loading/styles.css +34 -0
- package/dist/collection/components/z-popover/index.js +274 -0
- package/dist/collection/components/z-popover/styles.css +236 -0
- package/dist/collection/components/z-status-tag/index.js +125 -0
- package/dist/collection/components/z-status-tag/styles.css +133 -0
- package/dist/collection/components/z-visually-hidden/index.js +14 -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 +5 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +119 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +38 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +148 -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 +20 -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 +87 -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 +85 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +190 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +137 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +23 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +32 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +101 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +46 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +74 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +70 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +213 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +124 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +53 -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 +70 -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 +188 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +48 -0
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +121 -0
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +106 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +181 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +56 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +77 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +49 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +86 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +40 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +23 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +53 -0
- package/dist/collection/snowflakes/myz/topbar/index.js +428 -0
- package/dist/collection/snowflakes/myz/topbar/styles.css +594 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js +42 -0
- package/dist/collection/snowflakes/myz/z-alert/styles.css +28 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +114 -0
- package/dist/collection/snowflakes/myz/z-otp/styles.css +47 -0
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +165 -0
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +128 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table/index.js +365 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table/styles.css +166 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-body/index.js +19 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-body/styles.css +9 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-cell/index.js +58 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-cell/styles.css +39 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-empty-box/index.js +69 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-empty-box/styles.css +24 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-expanded-row/index.js +35 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-expanded-row/styles.css +9 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-footer/index.js +18 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-footer/styles.css +5 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-head/index.js +18 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-head/styles.css +5 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-header/index.js +240 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-header/styles.css +67 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-header-row/index.js +37 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-header-row/styles.css +13 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-row/index.js +86 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-row/styles.css +54 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-sticky-footer/index.js +17 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-sticky-footer/styles.css +11 -0
- package/dist/collection/themes/index.story.js +18 -0
- package/{www/build/utils-5e70920f.js → dist/collection/utils/utils.js} +12 -15
- package/dist/{web-components-library → esm}/breakpoints-c386984e.js +0 -0
- package/dist/{web-components-library/hammer-52e2c4fe.js → esm/hammer-c807d0b5.js} +15 -4
- package/dist/{web-components-library/index-8f67b3da.js → esm/index-4952bfe3.js} +1 -1
- package/dist/esm/index-fa9e549c.js +1666 -0
- 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-5e70920f.js → esm/utils-889efe17.js} +2 -20
- package/dist/esm/web-components-library.js +17 -0
- package/dist/esm/z-alert_66.entry.js +3667 -0
- package/{www/build → dist/esm}/z-app-header.entry.js +1 -1
- package/{www/build → dist/esm}/z-aria-alert.entry.js +2 -2
- package/dist/{web-components-library → esm}/z-candybar.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-cookiebar.entry.js +2 -2
- package/dist/{web-components-library → esm}/z-heading.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-messages-pocket.entry.js +2 -2
- package/{www/build → dist/esm}/z-modal-login.entry.js +2 -2
- package/{www/build → dist/esm}/z-myz-card-dictionary.entry.js +2 -2
- package/{www/build → dist/esm}/z-myz-card-footer-sections.entry.js +1 -1
- package/{www/build → dist/esm}/z-myz-card-info.entry.js +3 -3
- package/dist/{web-components-library → esm}/z-myz-topbar.entry.js +2 -2
- package/{www/build → dist/esm}/z-navigation-tab.entry.js +1 -1
- package/dist/{web-components-library → esm}/z-navigation-tabs.entry.js +2 -2
- package/{www/build → dist/esm}/z-otp.entry.js +2 -2
- package/{www/build → dist/esm}/z-pocket-message.entry.js +1 -1
- package/dist/esm/z-pocket_3.entry.js +118 -0
- package/{www/build → dist/esm}/z-registro-table-footer.entry.js +1 -1
- package/{www/build → dist/esm}/z-slideshow.entry.js +3 -3
- package/dist/{web-components-library → esm}/z-toast-notification-list.entry.js +2 -2
- package/{www/build → dist/esm}/z-toast-notification.entry.js +3 -4
- package/dist/{web-components-library → esm}/z-visually-hidden.entry.js +1 -1
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/web-components-library/index.esm.js +1 -9
- package/dist/web-components-library/p-017370c7.entry.js +1 -0
- package/dist/web-components-library/p-04c73ec1.entry.js +1 -0
- package/dist/web-components-library/p-0bf8988b.entry.js +1 -0
- package/dist/web-components-library/p-140cc18f.entry.js +1 -0
- package/dist/web-components-library/p-1c72783c.entry.js +1 -0
- package/dist/web-components-library/p-3ea97390.entry.js +1 -0
- package/dist/web-components-library/p-40972dfd.entry.js +1 -0
- package/dist/web-components-library/p-43d00d2f.entry.js +1 -0
- package/dist/web-components-library/p-483d10ba.entry.js +1 -0
- package/dist/web-components-library/p-65c08b33.js +1 -0
- package/dist/web-components-library/p-6719b8e1.entry.js +7 -0
- package/dist/web-components-library/p-6e8f444c.entry.js +1 -0
- package/dist/web-components-library/p-798d5c2f.entry.js +1 -0
- package/dist/web-components-library/p-881b4877.js +1 -0
- package/dist/web-components-library/p-8ad12683.entry.js +1 -0
- package/dist/web-components-library/p-8c24ac2e.entry.js +1 -0
- package/dist/web-components-library/p-904a85e4.js +1 -0
- package/dist/web-components-library/p-96e3aec6.entry.js +1 -0
- package/dist/web-components-library/p-9912e411.js +7 -0
- package/dist/web-components-library/p-b4420ba3.entry.js +1 -0
- package/dist/web-components-library/p-c7af96eb.entry.js +1 -0
- package/dist/web-components-library/p-d1fed95b.entry.js +1 -0
- package/dist/web-components-library/p-d430b1aa.entry.js +1 -0
- package/dist/web-components-library/p-d69e14fb.js +1 -0
- package/dist/web-components-library/p-e64c06a4.entry.js +1 -0
- package/dist/web-components-library/p-f113a03a.entry.js +1 -0
- package/dist/web-components-library/p-fcf19092.entry.js +1 -0
- package/dist/web-components-library/web-components-library.css +1 -789
- package/dist/web-components-library/web-components-library.esm.js +1 -122
- package/package.json +1 -1
- package/www/build/index.esm.js +1 -9
- package/www/build/p-017370c7.entry.js +1 -0
- package/www/build/p-04c73ec1.entry.js +1 -0
- package/www/build/p-0bf8988b.entry.js +1 -0
- package/www/build/p-140cc18f.entry.js +1 -0
- package/www/build/p-1c72783c.entry.js +1 -0
- package/www/build/p-3ea97390.entry.js +1 -0
- package/www/build/p-40972dfd.entry.js +1 -0
- package/www/build/p-43d00d2f.entry.js +1 -0
- package/www/build/p-483d10ba.entry.js +1 -0
- package/www/build/p-65c08b33.js +1 -0
- package/www/build/p-6719b8e1.entry.js +7 -0
- package/www/build/p-6e8f444c.entry.js +1 -0
- package/www/build/p-798d5c2f.entry.js +1 -0
- package/www/build/p-881b4877.js +1 -0
- package/www/build/p-8ad12683.entry.js +1 -0
- package/www/build/p-8c24ac2e.entry.js +1 -0
- package/www/build/p-904a85e4.js +1 -0
- package/www/build/p-96e3aec6.entry.js +1 -0
- package/www/build/p-97a11655.css +789 -0
- package/www/build/p-9912e411.js +7 -0
- package/www/build/p-b4420ba3.entry.js +1 -0
- package/www/build/p-b9f0c115.js +122 -0
- package/www/build/p-c7af96eb.entry.js +1 -0
- package/www/build/p-d1fed95b.entry.js +1 -0
- package/www/build/p-d430b1aa.entry.js +1 -0
- package/www/build/p-d69e14fb.js +1 -0
- package/www/build/p-e64c06a4.entry.js +1 -0
- package/www/build/p-f113a03a.entry.js +1 -0
- package/www/build/p-fcf19092.entry.js +1 -0
- package/www/build/web-components-library.css +1 -789
- package/www/build/web-components-library.esm.js +1 -122
- package/www/index.html +2 -11
- package/dist/web-components-library/_commonjsHelpers-cb1cd7bb.js +0 -44
- package/dist/web-components-library/app-globals-0f993ce5.js +0 -3
- package/dist/web-components-library/css-shim-003e9264.js +0 -4
- package/dist/web-components-library/dom-1b195079.js +0 -73
- package/dist/web-components-library/index-44936066.js +0 -2832
- package/dist/web-components-library/index-8067f807.js +0 -64
- package/dist/web-components-library/shadow-css-c1ad5fdc.js +0 -383
- package/dist/web-components-library/z-alert.entry.js +0 -15
- package/dist/web-components-library/z-app-switcher.entry.js +0 -25
- package/dist/web-components-library/z-app-topbar.entry.js +0 -37
- package/dist/web-components-library/z-aria-alert.entry.js +0 -14
- package/dist/web-components-library/z-avatar.entry.js +0 -39
- package/dist/web-components-library/z-body.entry.js +0 -13
- package/dist/web-components-library/z-button-filter.entry.js +0 -45
- package/dist/web-components-library/z-button-sort.entry.js +0 -50
- package/dist/web-components-library/z-button.entry.js +0 -35
- package/dist/web-components-library/z-card.entry.js +0 -54
- package/dist/web-components-library/z-chip.entry.js +0 -20
- package/dist/web-components-library/z-combobox.entry.js +0 -166
- package/dist/web-components-library/z-contextual-menu.entry.js +0 -36
- package/dist/web-components-library/z-divider.entry.js +0 -22
- package/dist/web-components-library/z-footer-link.entry.js +0 -15
- package/dist/web-components-library/z-footer-section.entry.js +0 -19
- package/dist/web-components-library/z-footer-social.entry.js +0 -15
- package/dist/web-components-library/z-footer.entry.js +0 -98
- package/dist/web-components-library/z-ghost-loading.entry.js +0 -15
- package/dist/web-components-library/z-icon-package.entry.js +0 -19
- package/dist/web-components-library/z-icon.entry.js +0 -24
- package/dist/web-components-library/z-info-box.entry.js +0 -21
- package/dist/web-components-library/z-input-label.entry.js +0 -17
- package/dist/web-components-library/z-input-message.entry.js +0 -20
- package/dist/web-components-library/z-input.entry.js +0 -264
- package/dist/web-components-library/z-link.entry.js +0 -67
- package/dist/web-components-library/z-list-element.entry.js +0 -150
- package/dist/web-components-library/z-list-group.entry.js +0 -50
- package/dist/web-components-library/z-list.entry.js +0 -30
- package/dist/web-components-library/z-logo.entry.js +0 -24
- package/dist/web-components-library/z-menu-dropdown.entry.js +0 -56
- package/dist/web-components-library/z-menu-section.entry.js +0 -42
- package/dist/web-components-library/z-menu.entry.js +0 -106
- package/dist/web-components-library/z-modal-login.entry.js +0 -77
- package/dist/web-components-library/z-modal.entry.js +0 -32
- package/dist/web-components-library/z-myz-card-alert.entry.js +0 -59
- 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-footer.entry.js +0 -48
- package/dist/web-components-library/z-myz-card-header.entry.js +0 -34
- package/dist/web-components-library/z-myz-card-icon.entry.js +0 -17
- package/dist/web-components-library/z-myz-card-list.entry.js +0 -33
- package/dist/web-components-library/z-myz-card.entry.js +0 -37
- package/dist/web-components-library/z-myz-list-item.entry.js +0 -33
- package/dist/web-components-library/z-myz-list.entry.js +0 -31
- package/dist/web-components-library/z-notification.entry.js +0 -38
- package/dist/web-components-library/z-pagination-bar.entry.js +0 -126
- package/dist/web-components-library/z-pagination-page.entry.js +0 -21
- package/dist/web-components-library/z-panel-elem.entry.js +0 -26
- 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-popover.entry.js +0 -124
- package/dist/web-components-library/z-registro-table-body.entry.js +0 -20
- package/dist/web-components-library/z-registro-table-cell.entry.js +0 -30
- package/dist/web-components-library/z-registro-table-empty-box.entry.js +0 -24
- package/dist/web-components-library/z-registro-table-expanded-row.entry.js +0 -15
- package/dist/web-components-library/z-registro-table-head.entry.js +0 -19
- package/dist/web-components-library/z-registro-table-header-row.entry.js +0 -18
- package/dist/web-components-library/z-registro-table-header.entry.js +0 -80
- package/dist/web-components-library/z-registro-table-row.entry.js +0 -39
- package/dist/web-components-library/z-registro-table-sticky-footer.entry.js +0 -15
- package/dist/web-components-library/z-registro-table.entry.js +0 -78
- package/dist/web-components-library/z-select.entry.js +0 -281
- package/dist/web-components-library/z-status-tag.entry.js +0 -25
- package/dist/web-components-library/z-stepper-item.entry.js +0 -18
- package/dist/web-components-library/z-stepper.entry.js +0 -15
- package/dist/web-components-library/z-toggle-button.entry.js +0 -32
- package/dist/web-components-library/z-typography.entry.js +0 -25
- package/dist/web-components-library/z-user-dropdown.entry.js +0 -91
- package/www/build/_commonjsHelpers-cb1cd7bb.js +0 -44
- package/www/build/app-globals-0f993ce5.js +0 -3
- package/www/build/css-shim-003e9264.js +0 -4
- package/www/build/dom-1b195079.js +0 -73
- package/www/build/icons-9a191d79.js +0 -475
- package/www/build/index-44936066.js +0 -2832
- package/www/build/index-8067f807.js +0 -64
- package/www/build/shadow-css-c1ad5fdc.js +0 -383
- package/www/build/z-alert.entry.js +0 -15
- package/www/build/z-app-switcher.entry.js +0 -25
- package/www/build/z-app-topbar.entry.js +0 -37
- package/www/build/z-avatar.entry.js +0 -39
- package/www/build/z-body.entry.js +0 -13
- package/www/build/z-button-filter.entry.js +0 -45
- package/www/build/z-button-sort.entry.js +0 -50
- package/www/build/z-button.entry.js +0 -35
- package/www/build/z-card.entry.js +0 -54
- package/www/build/z-chip.entry.js +0 -20
- package/www/build/z-combobox.entry.js +0 -166
- package/www/build/z-contextual-menu.entry.js +0 -36
- package/www/build/z-divider.entry.js +0 -22
- package/www/build/z-footer-link.entry.js +0 -15
- package/www/build/z-footer-section.entry.js +0 -19
- package/www/build/z-footer-social.entry.js +0 -15
- package/www/build/z-footer.entry.js +0 -98
- package/www/build/z-ghost-loading.entry.js +0 -15
- package/www/build/z-heading.entry.js +0 -13
- package/www/build/z-icon-package.entry.js +0 -19
- package/www/build/z-icon.entry.js +0 -24
- package/www/build/z-info-box.entry.js +0 -21
- package/www/build/z-input-label.entry.js +0 -17
- package/www/build/z-input-message.entry.js +0 -20
- package/www/build/z-input.entry.js +0 -264
- package/www/build/z-link.entry.js +0 -67
- package/www/build/z-list-element.entry.js +0 -150
- package/www/build/z-list-group.entry.js +0 -50
- package/www/build/z-list.entry.js +0 -30
- package/www/build/z-logo.entry.js +0 -24
- package/www/build/z-menu-dropdown.entry.js +0 -56
- package/www/build/z-menu-section.entry.js +0 -42
- package/www/build/z-menu.entry.js +0 -106
- package/www/build/z-modal.entry.js +0 -32
- package/www/build/z-myz-card-alert.entry.js +0 -59
- 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-footer.entry.js +0 -48
- package/www/build/z-myz-card-header.entry.js +0 -34
- package/www/build/z-myz-card-icon.entry.js +0 -17
- package/www/build/z-myz-card-list.entry.js +0 -33
- package/www/build/z-myz-card.entry.js +0 -37
- package/www/build/z-myz-list-item.entry.js +0 -33
- package/www/build/z-myz-list.entry.js +0 -31
- package/www/build/z-notification.entry.js +0 -38
- package/www/build/z-pagination-bar.entry.js +0 -126
- package/www/build/z-pagination-page.entry.js +0 -21
- 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
- package/www/build/z-popover.entry.js +0 -124
- package/www/build/z-registro-table-body.entry.js +0 -20
- package/www/build/z-registro-table-cell.entry.js +0 -30
- package/www/build/z-registro-table-empty-box.entry.js +0 -24
- package/www/build/z-registro-table-expanded-row.entry.js +0 -15
- package/www/build/z-registro-table-head.entry.js +0 -19
- package/www/build/z-registro-table-header-row.entry.js +0 -18
- package/www/build/z-registro-table-header.entry.js +0 -80
- package/www/build/z-registro-table-row.entry.js +0 -39
- package/www/build/z-registro-table-sticky-footer.entry.js +0 -15
- package/www/build/z-registro-table.entry.js +0 -78
- package/www/build/z-select.entry.js +0 -281
- package/www/build/z-status-tag.entry.js +0 -25
- package/www/build/z-stepper-item.entry.js +0 -18
- package/www/build/z-stepper.entry.js +0 -15
- package/www/build/z-toggle-button.entry.js +0 -32
- package/www/build/z-tooltip.entry.js +0 -270
- package/www/build/z-typography.entry.js +0 -25
- package/www/build/z-user-dropdown.entry.js +0 -91
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { Component, Prop, h, Event, State } from "@stencil/core";
|
|
2
|
+
import { TooltipPosition } from "../../../../beans";
|
|
3
|
+
import { handleKeyboardSubmit } from "../../../../utils/utils";
|
|
4
|
+
/**
|
|
5
|
+
* @slot - content
|
|
6
|
+
*/
|
|
7
|
+
export class ZMyzCardInfo {
|
|
8
|
+
constructor() {
|
|
9
|
+
/** tabindex link attribute (optional) */
|
|
10
|
+
this.htmltabindex = 0;
|
|
11
|
+
this.hiddenContent = false;
|
|
12
|
+
this.tooltip = false;
|
|
13
|
+
this.emitFlipCard = this.emitFlipCard.bind(this);
|
|
14
|
+
}
|
|
15
|
+
emitFlipCard(showBack = false) {
|
|
16
|
+
this.flipCard.emit(showBack);
|
|
17
|
+
}
|
|
18
|
+
componentWillLoad() {
|
|
19
|
+
this.setStringOrArray();
|
|
20
|
+
}
|
|
21
|
+
componentWillUpdate() {
|
|
22
|
+
this.setStringOrArray();
|
|
23
|
+
}
|
|
24
|
+
componentDidRender() {
|
|
25
|
+
this.handleContentHeight();
|
|
26
|
+
}
|
|
27
|
+
handleContentHeight() {
|
|
28
|
+
if (!this.contentWrapper && !this.infoWrapper)
|
|
29
|
+
return (this.hiddenContent = false);
|
|
30
|
+
if (this.contentWrapper.scrollHeight > this.contentWrapper.offsetHeight ||
|
|
31
|
+
this.infoWrapper.scrollHeight > this.infoWrapper.offsetHeight) {
|
|
32
|
+
const height = this.contentWrapper.offsetHeight -
|
|
33
|
+
this.onlineLicenseWrapper.offsetHeight -
|
|
34
|
+
this.offlineLicenseWrapper.offsetHeight;
|
|
35
|
+
this.infoWrapper.style.height = `${height}px`;
|
|
36
|
+
return (this.hiddenContent = true);
|
|
37
|
+
}
|
|
38
|
+
return (this.hiddenContent = false);
|
|
39
|
+
}
|
|
40
|
+
setStringOrArray() {
|
|
41
|
+
if (typeof this.data === "string") {
|
|
42
|
+
this.cardData = JSON.parse(this.data);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
this.cardData = this.data;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
renderCloseIcon() {
|
|
49
|
+
return (h("z-icon", { name: "multiply-circled-filled", height: 18, width: 18, onClick: () => this.emitFlipCard(false), tabindex: this.htmltabindex, onKeyUp: (e) => {
|
|
50
|
+
handleKeyboardSubmit(e, this.emitFlipCard, false);
|
|
51
|
+
} }));
|
|
52
|
+
}
|
|
53
|
+
renderGeneralSection() {
|
|
54
|
+
var _a, _b;
|
|
55
|
+
const title = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.title;
|
|
56
|
+
const description = (_b = this === null || this === void 0 ? void 0 : this.cardData) === null || _b === void 0 ? void 0 : _b.description;
|
|
57
|
+
return (h("section", { class: `info-wrapper ${this.hiddenContent ? "hidden" : ""}`, onClick: () => {
|
|
58
|
+
if (this.hiddenContent)
|
|
59
|
+
this.tooltip = !this.tooltip;
|
|
60
|
+
}, ref: (el) => (this.infoWrapper = el) },
|
|
61
|
+
this.renderAuthor(),
|
|
62
|
+
this.renderYear(),
|
|
63
|
+
title,
|
|
64
|
+
h("br", null),
|
|
65
|
+
description));
|
|
66
|
+
}
|
|
67
|
+
renderAuthor() {
|
|
68
|
+
var _a;
|
|
69
|
+
const author = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.author;
|
|
70
|
+
if (!author)
|
|
71
|
+
return null;
|
|
72
|
+
return (h("span", null,
|
|
73
|
+
"Autore: ",
|
|
74
|
+
h("b", null, author),
|
|
75
|
+
h("br", null)));
|
|
76
|
+
}
|
|
77
|
+
renderYear() {
|
|
78
|
+
var _a;
|
|
79
|
+
const year = (_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.year;
|
|
80
|
+
if (!year)
|
|
81
|
+
return null;
|
|
82
|
+
return (h("span", null,
|
|
83
|
+
"Anno: ",
|
|
84
|
+
h("b", null, year),
|
|
85
|
+
h("br", null)));
|
|
86
|
+
}
|
|
87
|
+
renderTooltip() {
|
|
88
|
+
if (!this.tooltip)
|
|
89
|
+
return;
|
|
90
|
+
if (!this.cardData)
|
|
91
|
+
return;
|
|
92
|
+
const { title, year, author, description } = this.cardData;
|
|
93
|
+
return (h("z-tooltip", { content: `${title} ${year} ${author} ${description}`, type: TooltipPosition.RIGHT, onClick: () => (this.tooltip = false) }));
|
|
94
|
+
}
|
|
95
|
+
setExpirationLicenseMessage(type) {
|
|
96
|
+
if ((type === "online" && this.cardData.onlineLicense.expired) ||
|
|
97
|
+
(type === "offline" && this.cardData.offlineLicense.expired)) {
|
|
98
|
+
return h("span", { class: "expired" }, "SCADUTA");
|
|
99
|
+
}
|
|
100
|
+
if ((type === "online" && this.cardData.onlineLicense.expiring) ||
|
|
101
|
+
(type === "offline" && this.cardData.offlineLicense.expiring)) {
|
|
102
|
+
return h("span", { class: "expiring" }, "IN SCADENZA");
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
renderOnlineLicenseSection() {
|
|
106
|
+
var _a;
|
|
107
|
+
if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.onlineLicense))
|
|
108
|
+
return;
|
|
109
|
+
return (h("section", { ref: (el) => (this.onlineLicenseWrapper = el) },
|
|
110
|
+
h("span", { class: "license-heading" },
|
|
111
|
+
h("span", null, "Licenza online"),
|
|
112
|
+
this.setExpirationLicenseMessage("online")),
|
|
113
|
+
"Scadenza il ",
|
|
114
|
+
h("b", null, this.cardData.onlineLicense.expiration),
|
|
115
|
+
h("br", null)));
|
|
116
|
+
}
|
|
117
|
+
renderOfflineLicenseSection() {
|
|
118
|
+
var _a;
|
|
119
|
+
if (!((_a = this === null || this === void 0 ? void 0 : this.cardData) === null || _a === void 0 ? void 0 : _a.offlineLicense))
|
|
120
|
+
return;
|
|
121
|
+
return (h("section", { ref: (el) => (this.offlineLicenseWrapper = el) },
|
|
122
|
+
h("span", { class: "license-heading" },
|
|
123
|
+
h("span", null, "Licenza offline"),
|
|
124
|
+
this.setExpirationLicenseMessage("offline")),
|
|
125
|
+
"Scadenza il ",
|
|
126
|
+
h("b", null, this.cardData.offlineLicense.expiration),
|
|
127
|
+
h("br", null),
|
|
128
|
+
"Installazioni disponibili:",
|
|
129
|
+
" ",
|
|
130
|
+
h("b", null, this.cardData.offlineLicense.installations)));
|
|
131
|
+
}
|
|
132
|
+
render() {
|
|
133
|
+
return (h("div", null,
|
|
134
|
+
this.renderCloseIcon(),
|
|
135
|
+
h("div", { class: "content-wrapper", ref: (el) => (this.contentWrapper = el) },
|
|
136
|
+
this.renderGeneralSection(),
|
|
137
|
+
this.renderTooltip(),
|
|
138
|
+
this.renderOnlineLicenseSection(),
|
|
139
|
+
this.renderOfflineLicenseSection()),
|
|
140
|
+
h("div", { class: "cta-wrapper" },
|
|
141
|
+
h("slot", null))));
|
|
142
|
+
}
|
|
143
|
+
static get is() { return "z-myz-card-info"; }
|
|
144
|
+
static get encapsulation() { return "shadow"; }
|
|
145
|
+
static get originalStyleUrls() { return {
|
|
146
|
+
"$": ["styles.css"]
|
|
147
|
+
}; }
|
|
148
|
+
static get styleUrls() { return {
|
|
149
|
+
"$": ["styles.css"]
|
|
150
|
+
}; }
|
|
151
|
+
static get properties() { return {
|
|
152
|
+
"data": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"mutable": false,
|
|
155
|
+
"complexType": {
|
|
156
|
+
"original": "string | DictionaryData",
|
|
157
|
+
"resolved": "string | { author: string; year: string; title: string; description: string; onlineLicense: DictionaryLicenseData; offlineLicense: DictionaryLicenseData; }",
|
|
158
|
+
"references": {
|
|
159
|
+
"DictionaryData": {
|
|
160
|
+
"location": "import",
|
|
161
|
+
"path": "../../../../beans"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"required": false,
|
|
166
|
+
"optional": false,
|
|
167
|
+
"docs": {
|
|
168
|
+
"tags": [],
|
|
169
|
+
"text": "dictionary info"
|
|
170
|
+
},
|
|
171
|
+
"attribute": "data",
|
|
172
|
+
"reflect": false
|
|
173
|
+
},
|
|
174
|
+
"htmltabindex": {
|
|
175
|
+
"type": "number",
|
|
176
|
+
"mutable": false,
|
|
177
|
+
"complexType": {
|
|
178
|
+
"original": "number",
|
|
179
|
+
"resolved": "number",
|
|
180
|
+
"references": {}
|
|
181
|
+
},
|
|
182
|
+
"required": false,
|
|
183
|
+
"optional": true,
|
|
184
|
+
"docs": {
|
|
185
|
+
"tags": [],
|
|
186
|
+
"text": "tabindex link attribute (optional)"
|
|
187
|
+
},
|
|
188
|
+
"attribute": "htmltabindex",
|
|
189
|
+
"reflect": false,
|
|
190
|
+
"defaultValue": "0"
|
|
191
|
+
}
|
|
192
|
+
}; }
|
|
193
|
+
static get states() { return {
|
|
194
|
+
"hiddenContent": {},
|
|
195
|
+
"tooltip": {}
|
|
196
|
+
}; }
|
|
197
|
+
static get events() { return [{
|
|
198
|
+
"method": "flipCard",
|
|
199
|
+
"name": "flipCard",
|
|
200
|
+
"bubbles": true,
|
|
201
|
+
"cancelable": true,
|
|
202
|
+
"composed": true,
|
|
203
|
+
"docs": {
|
|
204
|
+
"tags": [],
|
|
205
|
+
"text": "flip card to front"
|
|
206
|
+
},
|
|
207
|
+
"complexType": {
|
|
208
|
+
"original": "any",
|
|
209
|
+
"resolved": "any",
|
|
210
|
+
"references": {}
|
|
211
|
+
}
|
|
212
|
+
}]; }
|
|
213
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
font-family: var(--font-family-sans);
|
|
3
|
+
font-weight: var(--font-rg);
|
|
4
|
+
width: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host > div {
|
|
8
|
+
background: var(--color-surface01);
|
|
9
|
+
width: calc(100% + calc(var(--space-unit) * 2));
|
|
10
|
+
margin-left: calc(-1 * var(--space-unit));
|
|
11
|
+
height: 402px;
|
|
12
|
+
border: var(--border-size-small) solid var(--color-primary01);
|
|
13
|
+
box-shadow: 0px 2px 4px 0px rgba(66, 69, 72, 0.35);
|
|
14
|
+
border-radius: 0px;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);
|
|
17
|
+
position: relative;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:host > div > z-icon {
|
|
21
|
+
fill: var(--color-primary01);
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: var(--space-unit);
|
|
25
|
+
right: var(--space-unit);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host > div {
|
|
29
|
+
display: grid;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host > div > div.cta-wrapper {
|
|
33
|
+
align-self: end;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
flex-wrap: nowrap;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host > div > div.content-wrapper {
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
position: relative;
|
|
43
|
+
align-self: stretch;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:host > div > div.content-wrapper > section {
|
|
47
|
+
border-bottom: var(--border-size-small) solid var(--color-surface04);
|
|
48
|
+
color: var(--color-surface05);
|
|
49
|
+
padding: var(--space-unit) 0;
|
|
50
|
+
font-size: 14px;
|
|
51
|
+
line-height: 20px;
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
:host > div > div.content-wrapper > section:last-child {
|
|
56
|
+
border-bottom: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:host > div > div.content-wrapper > section.info-wrapper {
|
|
60
|
+
position: relative;
|
|
61
|
+
overflow: hidden;
|
|
62
|
+
box-sizing: border-box;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:host > div > div.content-wrapper > section.info-wrapper.hidden:after {
|
|
66
|
+
background: linear-gradient(
|
|
67
|
+
180deg,
|
|
68
|
+
rgba(255, 0, 0, 0),
|
|
69
|
+
rgba(255, 0, 0, 0) 60%,
|
|
70
|
+
white
|
|
71
|
+
);
|
|
72
|
+
content: "";
|
|
73
|
+
position: absolute;
|
|
74
|
+
pointer-events: none;
|
|
75
|
+
top: 0;
|
|
76
|
+
left: 0;
|
|
77
|
+
right: 0;
|
|
78
|
+
bottom: 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:host > div > div.content-wrapper > section > span.license-heading {
|
|
82
|
+
display: flex;
|
|
83
|
+
justify-content: space-between;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
:host
|
|
87
|
+
> div
|
|
88
|
+
> div.content-wrapper
|
|
89
|
+
> section
|
|
90
|
+
> span.license-heading
|
|
91
|
+
> span.expired {
|
|
92
|
+
color: var(--color-secondary02);
|
|
93
|
+
font-size: 12px;
|
|
94
|
+
font-weight: 600;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
:host
|
|
98
|
+
> div
|
|
99
|
+
> div.content-wrapper
|
|
100
|
+
> section
|
|
101
|
+
> span.license-heading
|
|
102
|
+
> span.expiring {
|
|
103
|
+
color: var(--color-warning01);
|
|
104
|
+
font-size: 12px;
|
|
105
|
+
font-weight: 600;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
:host > div > div.content-wrapper > z-tooltip {
|
|
109
|
+
position: absolute;
|
|
110
|
+
top: 0px;
|
|
111
|
+
left: calc(var(--space-unit) * 4);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Tablet breakpoint */
|
|
115
|
+
@media only screen and (min-width: 768px) {
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Desktop breakpoint */
|
|
119
|
+
@media only screen and (min-width: 1152px) {
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* Wide breakpoint */
|
|
123
|
+
@media only screen and (min-width: 1366px) {
|
|
124
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Component, Prop, h } from "@stencil/core";
|
|
2
|
+
export class ZMyzCardList {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.renderList = this.renderList.bind(this);
|
|
5
|
+
}
|
|
6
|
+
handleSpaceKeyPress(e, url) {
|
|
7
|
+
if (e.keyCode == 32 || e.keyCode == 13) {
|
|
8
|
+
e.preventDefault();
|
|
9
|
+
window.open(url, "_blank");
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
formatListContent(data) {
|
|
13
|
+
const { value, isLink, url } = data;
|
|
14
|
+
if (!isLink)
|
|
15
|
+
return h("span", null, value);
|
|
16
|
+
return (h("a", { role: "button", onKeyPress: (e) => this.handleSpaceKeyPress(e, url), href: url, target: "_blank" }, value));
|
|
17
|
+
}
|
|
18
|
+
renderList(dataArray) {
|
|
19
|
+
return dataArray.map((data) => {
|
|
20
|
+
return h("li", null, this.formatListContent(data));
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
return h("ul", null, this.renderList(JSON.parse(this.listdata)));
|
|
25
|
+
}
|
|
26
|
+
static get is() { return "z-myz-card-list"; }
|
|
27
|
+
static get encapsulation() { return "shadow"; }
|
|
28
|
+
static get originalStyleUrls() { return {
|
|
29
|
+
"$": ["styles.css"]
|
|
30
|
+
}; }
|
|
31
|
+
static get styleUrls() { return {
|
|
32
|
+
"$": ["styles.css"]
|
|
33
|
+
}; }
|
|
34
|
+
static get properties() { return {
|
|
35
|
+
"listdata": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"mutable": false,
|
|
38
|
+
"complexType": {
|
|
39
|
+
"original": "string",
|
|
40
|
+
"resolved": "string",
|
|
41
|
+
"references": {}
|
|
42
|
+
},
|
|
43
|
+
"required": false,
|
|
44
|
+
"optional": false,
|
|
45
|
+
"docs": {
|
|
46
|
+
"tags": [],
|
|
47
|
+
"text": "list data stringified array"
|
|
48
|
+
},
|
|
49
|
+
"attribute": "listdata",
|
|
50
|
+
"reflect": false
|
|
51
|
+
}
|
|
52
|
+
}; }
|
|
53
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
ul {
|
|
2
|
+
font-family: var(--font-family-sans);
|
|
3
|
+
color: var(--color-primary02);
|
|
4
|
+
margin: 0 calc(var(--space-unit) * 2);
|
|
5
|
+
padding: 0px;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
list-style: none;
|
|
8
|
+
width: auto;
|
|
9
|
+
height: auto;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
ul > li {
|
|
13
|
+
padding-left: 10px;
|
|
14
|
+
text-indent: -10px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
ul > li > a {
|
|
18
|
+
display: block;
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
font-weight: var(--font-sb);
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
color: var(--color-primary01);
|
|
23
|
+
letter-spacing: 0.16px;
|
|
24
|
+
line-height: calc(var(--space-unit) * 2.5);
|
|
25
|
+
padding-top: calc(var(--space-unit) * .5);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
ul > li > a:before {
|
|
29
|
+
content: "•";
|
|
30
|
+
padding-right: 5px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
ul > li > span {
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
font-weight: var(--font-rg);
|
|
36
|
+
text-decoration: none;
|
|
37
|
+
color: var(--color-surface04);
|
|
38
|
+
padding: 0 calc(var(--space-unit) * 2);
|
|
39
|
+
letter-spacing: 0.16px;
|
|
40
|
+
line-height: calc(var(--space-unit) * 2.5);
|
|
41
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { Component, Prop, h, Watch } from "@stencil/core";
|
|
2
|
+
export class ZMyzList {
|
|
3
|
+
componentWillLoad() {
|
|
4
|
+
if (this.inputrawdata) {
|
|
5
|
+
this.parseinputrawdata(this.inputrawdata);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
parseinputrawdata(inputrawdata) {
|
|
9
|
+
this.list = [...JSON.parse(inputrawdata)];
|
|
10
|
+
}
|
|
11
|
+
oninputrawdataChange(newValue) {
|
|
12
|
+
this.parseinputrawdata(newValue);
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
const lastElem = this.list ? this.list.length - 1 : -1;
|
|
16
|
+
return (h("ul", null, this.list &&
|
|
17
|
+
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 })))));
|
|
18
|
+
}
|
|
19
|
+
static get is() { return "z-myz-list"; }
|
|
20
|
+
static get encapsulation() { return "shadow"; }
|
|
21
|
+
static get originalStyleUrls() { return {
|
|
22
|
+
"$": ["styles.css"]
|
|
23
|
+
}; }
|
|
24
|
+
static get styleUrls() { return {
|
|
25
|
+
"$": ["styles.css"]
|
|
26
|
+
}; }
|
|
27
|
+
static get properties() { return {
|
|
28
|
+
"inputrawdata": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"mutable": true,
|
|
31
|
+
"complexType": {
|
|
32
|
+
"original": "string",
|
|
33
|
+
"resolved": "string",
|
|
34
|
+
"references": {}
|
|
35
|
+
},
|
|
36
|
+
"required": false,
|
|
37
|
+
"optional": true,
|
|
38
|
+
"docs": {
|
|
39
|
+
"tags": [],
|
|
40
|
+
"text": "json stringified list data (mutable, optional)"
|
|
41
|
+
},
|
|
42
|
+
"attribute": "inputrawdata",
|
|
43
|
+
"reflect": false
|
|
44
|
+
},
|
|
45
|
+
"list": {
|
|
46
|
+
"type": "unknown",
|
|
47
|
+
"mutable": true,
|
|
48
|
+
"complexType": {
|
|
49
|
+
"original": "ListItemBean[]",
|
|
50
|
+
"resolved": "ListItemBean[]",
|
|
51
|
+
"references": {
|
|
52
|
+
"ListItemBean": {
|
|
53
|
+
"location": "import",
|
|
54
|
+
"path": "../../../../beans/index.js"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"required": false,
|
|
59
|
+
"optional": true,
|
|
60
|
+
"docs": {
|
|
61
|
+
"tags": [],
|
|
62
|
+
"text": "list item data (mutable, optional)"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}; }
|
|
66
|
+
static get watchers() { return [{
|
|
67
|
+
"propName": "inputrawdata",
|
|
68
|
+
"methodName": "oninputrawdataChange"
|
|
69
|
+
}]; }
|
|
70
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { Component, Prop, h, Event } from "@stencil/core";
|
|
2
|
+
import { handleKeyboardSubmit } from "../../../../utils/utils";
|
|
3
|
+
export class ZMyzListItem {
|
|
4
|
+
constructor() {
|
|
5
|
+
/** link target (optional) */
|
|
6
|
+
this.linktarget = "_self";
|
|
7
|
+
/** underlined style flag */
|
|
8
|
+
this.underlined = true;
|
|
9
|
+
this.emitZListItemLinkClick = this.emitZListItemLinkClick.bind(this);
|
|
10
|
+
this.emitZListItemClick = this.emitZListItemClick.bind(this);
|
|
11
|
+
}
|
|
12
|
+
emitZListItemLinkClick(e, linkId) {
|
|
13
|
+
this.zListItemLinkClick.emit({ e, linkId });
|
|
14
|
+
}
|
|
15
|
+
emitZListItemClick(e, listitemid) {
|
|
16
|
+
this.zListItemClick.emit({ e, listitemid });
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
const linkId = this.listitemid ? `link_${this.listitemid}` : "";
|
|
20
|
+
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) },
|
|
21
|
+
h("span", { class: this.underlined && "border" },
|
|
22
|
+
this.icon && h("z-icon", { name: this.icon }),
|
|
23
|
+
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 })),
|
|
24
|
+
h("slot", null))));
|
|
25
|
+
}
|
|
26
|
+
static get is() { return "z-myz-list-item"; }
|
|
27
|
+
static get encapsulation() { return "shadow"; }
|
|
28
|
+
static get originalStyleUrls() { return {
|
|
29
|
+
"$": ["styles.css"]
|
|
30
|
+
}; }
|
|
31
|
+
static get styleUrls() { return {
|
|
32
|
+
"$": ["styles.css"]
|
|
33
|
+
}; }
|
|
34
|
+
static get properties() { return {
|
|
35
|
+
"text": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"mutable": false,
|
|
38
|
+
"complexType": {
|
|
39
|
+
"original": "string",
|
|
40
|
+
"resolved": "string",
|
|
41
|
+
"references": {}
|
|
42
|
+
},
|
|
43
|
+
"required": false,
|
|
44
|
+
"optional": false,
|
|
45
|
+
"docs": {
|
|
46
|
+
"tags": [],
|
|
47
|
+
"text": "content text"
|
|
48
|
+
},
|
|
49
|
+
"attribute": "text",
|
|
50
|
+
"reflect": false
|
|
51
|
+
},
|
|
52
|
+
"link": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"mutable": false,
|
|
55
|
+
"complexType": {
|
|
56
|
+
"original": "string",
|
|
57
|
+
"resolved": "string",
|
|
58
|
+
"references": {}
|
|
59
|
+
},
|
|
60
|
+
"required": false,
|
|
61
|
+
"optional": true,
|
|
62
|
+
"docs": {
|
|
63
|
+
"tags": [],
|
|
64
|
+
"text": "link url (optional)"
|
|
65
|
+
},
|
|
66
|
+
"attribute": "link",
|
|
67
|
+
"reflect": false
|
|
68
|
+
},
|
|
69
|
+
"linktarget": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"mutable": false,
|
|
72
|
+
"complexType": {
|
|
73
|
+
"original": "string",
|
|
74
|
+
"resolved": "string",
|
|
75
|
+
"references": {}
|
|
76
|
+
},
|
|
77
|
+
"required": false,
|
|
78
|
+
"optional": true,
|
|
79
|
+
"docs": {
|
|
80
|
+
"tags": [],
|
|
81
|
+
"text": "link target (optional)"
|
|
82
|
+
},
|
|
83
|
+
"attribute": "linktarget",
|
|
84
|
+
"reflect": false,
|
|
85
|
+
"defaultValue": "\"_self\""
|
|
86
|
+
},
|
|
87
|
+
"icon": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"mutable": false,
|
|
90
|
+
"complexType": {
|
|
91
|
+
"original": "string",
|
|
92
|
+
"resolved": "string",
|
|
93
|
+
"references": {}
|
|
94
|
+
},
|
|
95
|
+
"required": false,
|
|
96
|
+
"optional": true,
|
|
97
|
+
"docs": {
|
|
98
|
+
"tags": [],
|
|
99
|
+
"text": "icon name (optional)"
|
|
100
|
+
},
|
|
101
|
+
"attribute": "icon",
|
|
102
|
+
"reflect": false
|
|
103
|
+
},
|
|
104
|
+
"listitemid": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"mutable": false,
|
|
107
|
+
"complexType": {
|
|
108
|
+
"original": "string",
|
|
109
|
+
"resolved": "string",
|
|
110
|
+
"references": {}
|
|
111
|
+
},
|
|
112
|
+
"required": false,
|
|
113
|
+
"optional": true,
|
|
114
|
+
"docs": {
|
|
115
|
+
"tags": [],
|
|
116
|
+
"text": "id (optional)"
|
|
117
|
+
},
|
|
118
|
+
"attribute": "listitemid",
|
|
119
|
+
"reflect": false
|
|
120
|
+
},
|
|
121
|
+
"action": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"mutable": false,
|
|
124
|
+
"complexType": {
|
|
125
|
+
"original": "string",
|
|
126
|
+
"resolved": "string",
|
|
127
|
+
"references": {}
|
|
128
|
+
},
|
|
129
|
+
"required": false,
|
|
130
|
+
"optional": true,
|
|
131
|
+
"docs": {
|
|
132
|
+
"tags": [],
|
|
133
|
+
"text": "data-action attribute (optional)"
|
|
134
|
+
},
|
|
135
|
+
"attribute": "action",
|
|
136
|
+
"reflect": false
|
|
137
|
+
},
|
|
138
|
+
"underlined": {
|
|
139
|
+
"type": "boolean",
|
|
140
|
+
"mutable": false,
|
|
141
|
+
"complexType": {
|
|
142
|
+
"original": "boolean",
|
|
143
|
+
"resolved": "boolean",
|
|
144
|
+
"references": {}
|
|
145
|
+
},
|
|
146
|
+
"required": false,
|
|
147
|
+
"optional": false,
|
|
148
|
+
"docs": {
|
|
149
|
+
"tags": [],
|
|
150
|
+
"text": "underlined style flag"
|
|
151
|
+
},
|
|
152
|
+
"attribute": "underlined",
|
|
153
|
+
"reflect": false,
|
|
154
|
+
"defaultValue": "true"
|
|
155
|
+
}
|
|
156
|
+
}; }
|
|
157
|
+
static get events() { return [{
|
|
158
|
+
"method": "zListItemLinkClick",
|
|
159
|
+
"name": "zListItemLinkClick",
|
|
160
|
+
"bubbles": true,
|
|
161
|
+
"cancelable": true,
|
|
162
|
+
"composed": true,
|
|
163
|
+
"docs": {
|
|
164
|
+
"tags": [],
|
|
165
|
+
"text": "emitted on list item link click, returns linkId"
|
|
166
|
+
},
|
|
167
|
+
"complexType": {
|
|
168
|
+
"original": "any",
|
|
169
|
+
"resolved": "any",
|
|
170
|
+
"references": {}
|
|
171
|
+
}
|
|
172
|
+
}, {
|
|
173
|
+
"method": "zListItemClick",
|
|
174
|
+
"name": "zListItemClick",
|
|
175
|
+
"bubbles": true,
|
|
176
|
+
"cancelable": true,
|
|
177
|
+
"composed": true,
|
|
178
|
+
"docs": {
|
|
179
|
+
"tags": [],
|
|
180
|
+
"text": "emitted on list item click, returns listitemid"
|
|
181
|
+
},
|
|
182
|
+
"complexType": {
|
|
183
|
+
"original": "any",
|
|
184
|
+
"resolved": "any",
|
|
185
|
+
"references": {}
|
|
186
|
+
}
|
|
187
|
+
}]; }
|
|
188
|
+
}
|