@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
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
|
+
const index$1 = require('./index-11a8a536.js');
|
|
7
|
+
const breakpoints = require('./breakpoints-88c4fd6c.js');
|
|
4
8
|
|
|
5
9
|
const stylesCss = ":host a{cursor:pointer}header{position:sticky;top:0;z-index:99;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:\"main-header\";margin-bottom:calc(var(--space-unit) * 6.5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}.main-header{display:grid;grid-template-columns:2fr 2fr 4fr 100px;grid-template-rows:1fr;grid-template-areas:\"logo link-int link-ext login\";grid-area:main-header;grid-column-gap:calc(var(--space-unit) * .5);align-items:center;background-color:var(--bg-grey-900);height:auto;align-items:center;z-index:10}.main-header.myz-out{background-color:var(--bg-white)}.logo{grid-area:logo;padding:6px}z-logo{transform:scale(0.9)}.dropdown-menu{display:none}.dropdown-menu.hidden{visibility:hidden}.dropdown-links{grid-area:dropdown-links;list-style:none;display:block;max-height:32px;margin:0;padding:0}.arrow{fill:var(--text-grey-200)}.dropdown-links>li{list-style:none;display:inline-block;margin:0;padding:0}.dropdown-links>li>a{width:auto;height:auto;color:var(--myz-blue);font-size:14px;letter-spacing:0.18px;line-height:32px;text-decoration:none;margin:var(--space-unit);padding-bottom:calc(var(--space-unit) * .5)}.dropdown-links>li>a:hover,.dropdown-links>li>a.active{color:var(--text-grey-800);border-bottom:2px solid var(--myz-blue)}.mobile-header{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);z-index:inherit;height:52px;position:fixed;top:0px;left:0;z-index:999}.mobile-header.myz-out{background-color:var(--bg-white)}.mobile-header>z-button{margin:0 calc(var(--space-unit) * 2)}.mobile-content{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);position:fixed;top:52px;left:0;z-index:999;max-height:0px;overflow:hidden;transition:max-height 1s cubic-bezier(0.46, 0, 1, 0.79)}.mobile-content.open{max-height:100vh;transition:max-height 2s cubic-bezier(0, 0.79, 0.46, 1)}.mobile-content.myz-out{background-color:var(--bg-white)}hr{display:block;position:relative;padding:0;margin:0px calc(var(--space-unit) * 4);height:0;width:calc(100% - 64px);max-height:0;font-size:1px;line-height:0;clear:both;border:none;border-top:1px solid var(--text-grey-700)}.menu-mobile{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;color:var(--bg-white);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);cursor:pointer}.myz-out .menu-mobile{color:var(--text-grey-800)}.menu-toggle{grid-area:menu-toggle;display:flex;flex-direction:column;margin:0 var(--space-unit)}.menu-toggle .bar{width:20px;height:2px;background-color:var(--bg-white);margin:2px auto;transition:all 0.3s ease-in-out}.myz-out .menu-toggle .bar{background-color:var(--text-grey-800)}.menu-toggle:hover{cursor:pointer}#mobile-menu.is-active .bar:nth-child(2){opacity:0}#mobile-menu.is-active .bar:nth-child(1){transform:translateY(6px) rotate(45deg)}#mobile-menu.is-active .bar:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.booktab-button,.mobile-login{overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.hidden{visibility:hidden}.login{grid-area:login;display:flex;justify-content:flex-end;padding:0 calc(var(--space-unit) * 2)}.login>z-button{color:var(--bg-white);fill:var(--bg-white)}.booktab-button>z-button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center;padding:calc(var(--space-unit) * 2) 0px calc(var(--space-unit) * 4) 0px}.link-ext{grid-area:link-ext;overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-ext-span{display:inline-block;width:100%;margin:calc(var(--space-unit) * .5) auto;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-ext-span.myz:hover,.link-ext-span.myz:focus{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-ext z-link{font-size:12px;font-weight:var(--font-sb)}.link-int{overflow:hidden;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-int>span{width:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start}.link-int>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-int>span>.menu-item:hover,.link-int>span>.menu-item:focus{border-radius:0px}.link-int>span>.menu-item>span{white-space:nowrap}.link-int>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.link-int>span:first-child>.menu-item{margin-top:0}.link-int>span>svg{display:none}.link-int>.mobile-dropdown{padding:0 48px}.mobile-login>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start;fill:white}.mobile-login>span:focus,.mobile-login>span:hover{background:var(--text-grey-800)}.myz-out .mobile-login>span:focus,.myz-out .mobile-login>span:hover{background:none}.mobile-login>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.myz-out .mobile-login>span>.menu-item{color:var(--text-grey-800)}.mobile-login>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.mobile-login>span>.menu-item>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-login>span>.menu-item>span>z-icon{padding-right:var(--space-unit);fill:var(--bg-white)}.menu-item>i::before{border-style:solid;border-width:0.12em 0.12em 0 0;content:\" \";display:inline-block;height:0.45em;left:0.16em;position:relative;top:-0.12em;transform:rotate(135deg) scale(1.2);vertical-align:top;width:0.45em;margin-top:2px;margin-left:2px;margin-right:6px;transition:all 0.5s ease}.menu-item.isopen>i::before{top:0.24em;transform:rotate(-45deg) scale(1.2);transition:all 0.5s ease}.mobile-dropdown{background:white;display:block;overflow:hidden;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px;max-height:0px;transition:max-height 0.3s ease}.mobile-dropdown.visible{max-height:100vh;transition:max-height 0.5s ease}@media only screen and (min-width: 768px){header{grid-template-columns:1fr 0.8fr 1.5fr 1.1fr 0.7fr;grid-template-rows:0.2fr auto;grid-template-areas:\"main-header main-header main-header main-header main-header\" \"dropdown-menu dropdown-menu dropdown-menu dropdown-menu dropdown-menu\";margin-bottom:0}header.myz-out{top:0px;grid-template-rows:1fr}.main-header{display:grid;grid-template-columns:170px auto auto 120px;grid-template-rows:1fr;grid-template-areas:\"logo link-int link-ext login\";grid-area:main-header}.dropdown-menu{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:\"dropdown-links\";grid-area:dropdown-menu;grid-column-gap:var(--space-unit);background:var(--bg-grey-200);height:32px;visibility:visible;z-index:9;padding-left:160px}.booktab-button,.mobile-header,.mobile-login,.mobile-dropdown,.menu-mobile{display:none}.link-int{grid-area:link-int;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;max-height:46px;margin-top:calc(var(--space-unit) * .5)}.link-int>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;width:auto}.link-int>span>.menu-item{width:auto;height:auto;color:var(--bg-white);letter-spacing:0.2px;line-height:14px;font-weight:var(--font-sb);text-decoration:none;outline:none;padding:calc(var(--space-unit) * 1.5)}.link-int>span>svg{display:block}.menu-item>i{display:none}.link-int>span>.menu-item:focus,.link-int>span>.menu-item:hover{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-int>span>.menu-item::-moz-focus-inner{border:0}.link-int>span>.menu-item:focus+svg{visibility:visible}.link-ext{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:center;align-content:center;max-height:46px}.link-ext-span{width:auto;line-height:14px;margin:var(--space-unit);padding:calc(var(--space-unit) * .5) var(--space-unit)}}@media only screen and (min-width: 1152px){.main-header{grid-template-columns:170px auto auto 180px}}";
|
|
6
10
|
|
|
7
11
|
const ZMyzTopbar = class {
|
|
8
12
|
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
10
14
|
this.isMobile = true;
|
|
11
15
|
this.isMenuMobileOpen = false;
|
|
12
16
|
this.intMenuData = [];
|
|
@@ -17,7 +21,7 @@ const ZMyzTopbar = class {
|
|
|
17
21
|
this.activeMenuItem = this.currentMenuItem = this.intMenuData.find((item) => item.id === newValue);
|
|
18
22
|
}
|
|
19
23
|
handleResize() {
|
|
20
|
-
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
24
|
+
this.isMobile = window.innerWidth <= breakpoints.mobileBreakpoint;
|
|
21
25
|
}
|
|
22
26
|
handleZListItemLinkClick() {
|
|
23
27
|
this.isMenuMobileOpen = false;
|
|
@@ -49,16 +53,16 @@ const ZMyzTopbar = class {
|
|
|
49
53
|
this.handleResize();
|
|
50
54
|
}
|
|
51
55
|
renderLogoDiv() {
|
|
52
|
-
return (h("div", { class: "logo" }, h("z-logo", { link: this.logolink ? this.logolink : null, "target-blank": true, width: 144, height: 36, "image-alt": this.imagealt })));
|
|
56
|
+
return (index.h("div", { class: "logo" }, index.h("z-logo", { link: this.logolink ? this.logolink : null, "target-blank": true, width: 144, height: 36, "image-alt": this.imagealt })));
|
|
53
57
|
}
|
|
54
58
|
renderIntMenu(menuItems) {
|
|
55
59
|
if (!this.isLogged || !this.ismyz)
|
|
56
60
|
return;
|
|
57
|
-
return (h("div", { id: "link-int", class: "link-int" }, menuItems.map((item) => this.renderIntMenuItem(item))));
|
|
61
|
+
return (index.h("div", { id: "link-int", class: "link-int" }, menuItems.map((item) => this.renderIntMenuItem(item))));
|
|
58
62
|
}
|
|
59
63
|
renderIntMenuItem(menuItem) {
|
|
60
64
|
const { id, label, link } = menuItem;
|
|
61
|
-
return (h("span", null, h("a", { href: link ? link : null, id: id, class: "menu-item", onClick: () => {
|
|
65
|
+
return (index.h("span", null, index.h("a", { href: link ? link : null, id: id, class: "menu-item", onClick: () => {
|
|
62
66
|
this.activeMenuItem = this.currentMenuItem = menuItem;
|
|
63
67
|
this.activeintlinkid = menuItem.id;
|
|
64
68
|
if (menuItem.subMenu)
|
|
@@ -67,9 +71,9 @@ const ZMyzTopbar = class {
|
|
|
67
71
|
this.activeMenuItem = menuItem;
|
|
68
72
|
}, onMouseLeave: () => {
|
|
69
73
|
this.activeMenuItem = this.currentMenuItem;
|
|
70
|
-
}, role: link ? "link" : "button", tabindex: this.getIntMenuItemTabindex(menuItem) }, h("span", null, label), menuItem.subMenu ? h("i", null) : null), h("svg", { height: "8", width: "16", class: {
|
|
74
|
+
}, role: link ? "link" : "button", tabindex: this.getIntMenuItemTabindex(menuItem) }, index.h("span", null, label), menuItem.subMenu ? index.h("i", null) : null), index.h("svg", { height: "8", width: "16", class: {
|
|
71
75
|
hidden: !this.activeMenuItem || this.activeMenuItem.id !== id,
|
|
72
|
-
} }, h("polygon", { points: "8,0 16,8 0,8", class: "arrow" })), this.isMobile && this.renderMenuItemsData(menuItem)));
|
|
76
|
+
} }, index.h("polygon", { points: "8,0 16,8 0,8", class: "arrow" })), this.isMobile && this.renderMenuItemsData(menuItem)));
|
|
73
77
|
}
|
|
74
78
|
getIntMenuItemTabindex(item) {
|
|
75
79
|
return this.intMenuData.indexOf(item) + 1;
|
|
@@ -98,40 +102,40 @@ const ZMyzTopbar = class {
|
|
|
98
102
|
return this.renderMobileSubMenu(listItems, menuItem.id);
|
|
99
103
|
}
|
|
100
104
|
renderMobileSubMenu(menuItems, id) {
|
|
101
|
-
return (h("span", { class: "mobile-dropdown", id: id ? `mobile-dropdown-${id}` : "" }, h("z-myz-list", { list: menuItems })));
|
|
105
|
+
return (index.h("span", { class: "mobile-dropdown", id: id ? `mobile-dropdown-${id}` : "" }, index.h("z-myz-list", { list: menuItems })));
|
|
102
106
|
}
|
|
103
107
|
renderSubMenu(menuItem) {
|
|
104
108
|
if (!this.ismyz || !this.isLogged)
|
|
105
109
|
return;
|
|
106
110
|
if (!menuItem || !menuItem["subMenu"]) {
|
|
107
|
-
return h("div", { id: "dropdown-menu", class: `dropdown-menu hidden` });
|
|
111
|
+
return index.h("div", { id: "dropdown-menu", class: `dropdown-menu hidden` });
|
|
108
112
|
}
|
|
109
|
-
return (h("div", { id: "dropdown-menu", class: `dropdown-menu` }, h("ul", { class: "dropdown-links" }, menuItem.subMenu.map((item) => (h("li", null, h("a", { id: item.id, class: item.id === this.activesublinkid ? "active" : "", href: item.link ? item.link : null, role: item.link ? "link" : "button", tabindex: this.getIntMenuItemTabindex(menuItem) }, item.label)))))));
|
|
113
|
+
return (index.h("div", { id: "dropdown-menu", class: `dropdown-menu` }, index.h("ul", { class: "dropdown-links" }, menuItem.subMenu.map((item) => (index.h("li", null, index.h("a", { id: item.id, class: item.id === this.activesublinkid ? "active" : "", href: item.link ? item.link : null, role: item.link ? "link" : "button", tabindex: this.getIntMenuItemTabindex(menuItem) }, item.label)))))));
|
|
110
114
|
}
|
|
111
115
|
renderExtLinksIcons(icon) {
|
|
112
116
|
const width = window.innerWidth > 0 ? window.innerWidth : screen.width;
|
|
113
|
-
const hideIcons = width > mobileBreakpoint && width < tabletBreakpoint;
|
|
117
|
+
const hideIcons = width > breakpoints.mobileBreakpoint && width < breakpoints.tabletBreakpoint;
|
|
114
118
|
return !hideIcons && { icon };
|
|
115
119
|
}
|
|
116
120
|
renderExtMenu(menuItems) {
|
|
117
121
|
if (!this.isLogged)
|
|
118
|
-
return h("div", null);
|
|
119
|
-
return (h("div", { id: "link-ext", class: "link-ext" }, menuItems.map((menuItem) => {
|
|
122
|
+
return index.h("div", null);
|
|
123
|
+
return (index.h("div", { id: "link-ext", class: "link-ext" }, menuItems.map((menuItem) => {
|
|
120
124
|
const { id, label, link, icon } = menuItem;
|
|
121
|
-
return (h("span", { class: `link-ext-span${this.ismyz ? " myz" : ""}` }, h("z-link", Object.assign({ id: id, htmlid: id, href: link, iswhite: !!this.ismyz, target: "_blank", htmltabindex: 10 }, this.renderExtLinksIcons(icon)), label)));
|
|
125
|
+
return (index.h("span", { class: `link-ext-span${this.ismyz ? " myz" : ""}` }, index.h("z-link", Object.assign({ id: id, htmlid: id, href: link, iswhite: !!this.ismyz, target: "_blank", htmltabindex: 10 }, this.renderExtLinksIcons(icon)), label)));
|
|
122
126
|
})));
|
|
123
127
|
}
|
|
124
128
|
renderLoginDiv(userData) {
|
|
125
|
-
return (h("div", { class: "login" }, this.isLogged ? (h("z-menu-dropdown", { nomeutente: userData.name, menucontent: JSON.stringify(userData.userlinks) })) : (this.renderLoginButton())));
|
|
129
|
+
return (index.h("div", { class: "login" }, this.isLogged ? (index.h("z-menu-dropdown", { nomeutente: userData.name, menucontent: JSON.stringify(userData.userlinks) })) : (this.renderLoginButton())));
|
|
126
130
|
}
|
|
127
131
|
renderLoginButton() {
|
|
128
132
|
if (this.hideloginbutton) {
|
|
129
133
|
return;
|
|
130
134
|
}
|
|
131
|
-
return (h("z-button", { htmlid: "login-button", variant: this.ismyz ? ButtonVariantEnum.secondary : ButtonVariantEnum.tertiary, icon: "login", issmall: true }, "entra"));
|
|
135
|
+
return (index.h("z-button", { htmlid: "login-button", variant: this.ismyz ? index$1.ButtonVariantEnum.secondary : index$1.ButtonVariantEnum.tertiary, icon: "login", issmall: true }, "entra"));
|
|
132
136
|
}
|
|
133
137
|
renderMobileLoginDiv(userData) {
|
|
134
|
-
return (h("div", { id: "mobile-login", class: "mobile-login" }, h("span", null, h("a", { class: "menu-item", id: "user-data", onClick: () => this.handleToggleMobileMenuItem("user-data"), role: "button" }, h("span", null, h("z-icon", { name: "user-avatar", height: 16, width: 16 }), userData.name), h("i", null)), this.renderUserData(userData))));
|
|
138
|
+
return (index.h("div", { id: "mobile-login", class: "mobile-login" }, index.h("span", null, index.h("a", { class: "menu-item", id: "user-data", onClick: () => this.handleToggleMobileMenuItem("user-data"), role: "button" }, index.h("span", null, index.h("z-icon", { name: "user-avatar", height: 16, width: 16 }), userData.name), index.h("i", null)), this.renderUserData(userData))));
|
|
135
139
|
}
|
|
136
140
|
renderUserData(userData) {
|
|
137
141
|
if (this.isMobile && !userData)
|
|
@@ -147,44 +151,44 @@ const ZMyzTopbar = class {
|
|
|
147
151
|
return this.renderMobileSubMenu(listItems, "user-data");
|
|
148
152
|
}
|
|
149
153
|
renderDesktopHeader() {
|
|
150
|
-
return (h("header", { class: !this.ismyz ? "myz-out" : "" }, this.renderMainHeader(), this.renderSubMenu(this.activeMenuItem)));
|
|
154
|
+
return (index.h("header", { class: !this.ismyz ? "myz-out" : "" }, this.renderMainHeader(), this.renderSubMenu(this.activeMenuItem)));
|
|
151
155
|
}
|
|
152
156
|
renderMainHeader() {
|
|
153
|
-
return (h("div", { id: "main-header", class: {
|
|
157
|
+
return (index.h("div", { id: "main-header", class: {
|
|
154
158
|
"main-header": true,
|
|
155
159
|
"myz-out": !this.ismyz,
|
|
156
160
|
} }, this.renderLogoDiv(), this.renderIntMenu(this.intMenuData), this.renderExtMenu(this.extMenuData), this.renderLoginDiv(this.userData)));
|
|
157
161
|
}
|
|
158
162
|
renderMobileHeader() {
|
|
159
|
-
return (h("header", null, this.renderMobileMenu(), this.renderMobileMenuContent()));
|
|
163
|
+
return (index.h("header", null, this.renderMobileMenu(), this.renderMobileMenuContent()));
|
|
160
164
|
}
|
|
161
165
|
renderMobileMenu() {
|
|
162
|
-
return (h("div", { id: "mobile-header", class: `mobile-header${this.ismyz ? "" : " myz-out"}` }, this.renderLogoDiv(), this.renderMobileMenuToggle()));
|
|
166
|
+
return (index.h("div", { id: "mobile-header", class: `mobile-header${this.ismyz ? "" : " myz-out"}` }, this.renderLogoDiv(), this.renderMobileMenuToggle()));
|
|
163
167
|
}
|
|
164
168
|
renderMobileMenuToggle() {
|
|
165
169
|
if (!this.isLogged)
|
|
166
170
|
return this.renderLoginButton();
|
|
167
|
-
return (h("div", { class: "menu-mobile", id: "mobile-menu-wrapper", onClick: () => (this.isMenuMobileOpen = !this.isMenuMobileOpen) }, h("div", { class: `menu-toggle${this.isMenuMobileOpen ? " is-active" : ""}`, id: "mobile-menu" }, h("span", { class: "bar" }), h("span", { class: "bar" }), h("span", { class: "bar" })), h("span", null, "Menu")));
|
|
171
|
+
return (index.h("div", { class: "menu-mobile", id: "mobile-menu-wrapper", onClick: () => (this.isMenuMobileOpen = !this.isMenuMobileOpen) }, index.h("div", { class: `menu-toggle${this.isMenuMobileOpen ? " is-active" : ""}`, id: "mobile-menu" }, index.h("span", { class: "bar" }), index.h("span", { class: "bar" }), index.h("span", { class: "bar" })), index.h("span", null, "Menu")));
|
|
168
172
|
}
|
|
169
173
|
renderMobileMenuContent() {
|
|
170
174
|
if (!this.isLogged)
|
|
171
175
|
return null;
|
|
172
|
-
return (h("div", { id: "mobile-content", class: {
|
|
176
|
+
return (index.h("div", { id: "mobile-content", class: {
|
|
173
177
|
"mobile-content": true,
|
|
174
178
|
open: this.isMenuMobileOpen,
|
|
175
179
|
"myz-out": !this.ismyz,
|
|
176
|
-
} }, this.renderMobileLoginDiv(this.userData), this.ismyz && h("hr", null), this.renderIntMenu(this.intMenuData), h("hr", null), this.renderExtMenu(this.extMenuData)));
|
|
180
|
+
} }, this.renderMobileLoginDiv(this.userData), this.ismyz && index.h("hr", null), this.renderIntMenu(this.intMenuData), index.h("hr", null), this.renderExtMenu(this.extMenuData)));
|
|
177
181
|
}
|
|
178
182
|
render() {
|
|
179
183
|
return this.isMobile
|
|
180
184
|
? this.renderMobileHeader()
|
|
181
185
|
: this.renderDesktopHeader();
|
|
182
186
|
}
|
|
183
|
-
get element() { return getElement(this); }
|
|
187
|
+
get element() { return index.getElement(this); }
|
|
184
188
|
static get watchers() { return {
|
|
185
189
|
"activeintlinkid": ["activeIntLinkChange"]
|
|
186
190
|
}; }
|
|
187
191
|
};
|
|
188
192
|
ZMyzTopbar.style = stylesCss;
|
|
189
193
|
|
|
190
|
-
|
|
194
|
+
exports.z_myz_topbar = ZMyzTopbar;
|
package/dist/{web-components-library/z-navigation-tab.entry.js → cjs/z-navigation-tab.cjs.entry.js}
RENAMED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
2
6
|
|
|
3
7
|
const stylesCss = "button{position:relative;z-index:0;display:flex;align-items:center;justify-content:center;width:100%;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);background-color:unset;text-align:center;font-size:inherit;font-family:var(--font-family-sans);line-height:inherit;letter-spacing:inherit;white-space:nowrap;color:var(--color-primary01);fill:currentColor;border:none;border-radius:var(--border-no-radius);outline:none;cursor:pointer}*::before,*::after{box-sizing:border-box}:host(:hover:not([disabled])) button,:host([selected]) button{color:var(--color-hover-secondary);fill:currentColor}:host(:hover:not([disabled])) button::after,:host([selected]) button::after{content:'';position:absolute;background-color:var(--color-hover-secondary)}:host([orientation='horizontal']:not([disabled]):hover) button::after,:host([orientation='horizontal'][selected]) button::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}:host([orientation='horizontal']) ::slotted(z-icon){margin-right:var(--space-unit)}:host(:hover:not([disabled])) button{background-color:var(--color-background)}button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}:host([disabled]) button{pointer-events:all;cursor:not-allowed;color:var(--gray500);fill:currentColor}:host([size='small']) button{font-size:var(--font-size-2);line-height:1.4;letter-spacing:0.16px}:host([size='small'][orientation='horizontal']) button{padding:var(--space-unit) calc(var(--space-unit) * 2)}:host([size='small'][orientation='horizontal']:not([disabled]):hover) button::after,:host([size='small'][orientation='horizontal'][selected]) button::after{height:var(--border-size-medium)}:host([size='small']:not([orientation='vertical'])) ::slotted(z-icon){--z-icon-width:14px;--z-icon-height:14px}:host([orientation='vertical']) button{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}:host([orientation='vertical']:hover:not([disabled])) button::after,:host([orientation='vertical'][selected]) button::after{width:var(--border-size-large);height:100%;top:0;right:0}:host([orientation='vertical']) ::slotted([slot='label']){display:none}::slotted(z-icon){--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);margin:0}";
|
|
4
8
|
|
|
5
9
|
const ZNavigationTab = class {
|
|
6
10
|
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.emitSelected = createEvent(this, "selected", 7);
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.emitSelected = index.createEvent(this, "selected", 7);
|
|
9
13
|
this.selected = false;
|
|
10
14
|
this.disabled = false;
|
|
11
15
|
this.orientation = 'horizontal';
|
|
@@ -29,13 +33,13 @@ const ZNavigationTab = class {
|
|
|
29
33
|
}
|
|
30
34
|
}
|
|
31
35
|
render() {
|
|
32
|
-
return (h("button", { disabled: this.disabled, role: "tab" }, h("slot", { name: "icon" }), this.orientation === "horizontal" && h("slot", { name: "label" })));
|
|
36
|
+
return (index.h("button", { disabled: this.disabled, role: "tab" }, index.h("slot", { name: "icon" }), this.orientation === "horizontal" && index.h("slot", { name: "label" })));
|
|
33
37
|
}
|
|
34
|
-
get host() { return getElement(this); }
|
|
38
|
+
get host() { return index.getElement(this); }
|
|
35
39
|
static get watchers() { return {
|
|
36
40
|
"selected": ["onSelected"]
|
|
37
41
|
}; }
|
|
38
42
|
};
|
|
39
43
|
ZNavigationTab.style = stylesCss;
|
|
40
44
|
|
|
41
|
-
|
|
45
|
+
exports.z_navigation_tab = ZNavigationTab;
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
|
+
const index$1 = require('./index-11a8a536.js');
|
|
3
7
|
|
|
4
8
|
const stylesCss = ":host{--safe-scroll-area:4px;--negative-safe-scroll-area:calc(-1 * var(--safe-scroll-area));position:relative;display:flex;flex-direction:row;z-index:0;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);font-family:var(--font-family-sans);font-weight:var(--font-rg);overflow:hidden}:host,:host *,::slotted(*){box-sizing:border-box}::-webkit-scrollbar{display:none}button.navigation{position:absolute;display:flex;align-items:center;justify-content:center;margin:0;padding:0;background:var(--color-white);border:none;outline:none;fill:var(--color-primary01);border-radius:var(--border-no-radius);cursor:pointer;z-index:1}button.navigation:focus{fill:var(--color-primary01);box-shadow:var(--shadow-focus-primary)}button.navigation:disabled{display:none}nav{display:flex;align-items:center;justify-content:flex-start;overflow:auto;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);scroll-padding:var(--safe-scroll-area);scrollbar-width:none}:host([orientation='horizontal']) nav{width:100%}:host([orientation='horizontal']) button.navigation{top:0;height:100%;width:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='horizontal']) button.navigation:first-child{left:0;padding-left:var(--safe-scroll-area);box-shadow:5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='horizontal']) button.navigation:last-child{right:0;padding-right:4px;box-shadow:-5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='vertical']){flex-direction:column}:host([orientation='vertical']) nav{flex-direction:column;align-items:stretch;height:100%}:host([orientation='vertical']) button.navigation{left:0;width:100%;height:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='vertical']) button.navigation:first-child{top:0;padding-top:var(--safe-scroll-area);box-shadow:0px 5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='vertical']) button.navigation:last-child{bottom:0;padding-bottom:var(--safe-scroll-area);box-shadow:0px -5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([size='small'][orientation='vertical']) button.navigation{height:calc(var(--space-unit) * 4)}";
|
|
5
9
|
|
|
6
10
|
const ZNavigationTabs = class {
|
|
7
11
|
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
9
13
|
/** Available orientation: `horizontal` and `vertical`. Defaults to `horizontal`. */
|
|
10
|
-
this.orientation = TabOrientationEnum.horizontal;
|
|
14
|
+
this.orientation = index$1.TabOrientationEnum.horizontal;
|
|
11
15
|
/** Available sizes: `big` and `small`. Defaults to `big`. */
|
|
12
|
-
this.size = TabSizeEnum.big;
|
|
13
|
-
this.direction = this.orientation == TabOrientationEnum.vertical ? 'Top' : 'Left';
|
|
14
|
-
this.dimension = this.orientation == TabOrientationEnum.vertical ? 'Height' : 'Width';
|
|
16
|
+
this.size = index$1.TabSizeEnum.big;
|
|
17
|
+
this.direction = this.orientation == index$1.TabOrientationEnum.vertical ? 'Top' : 'Left';
|
|
18
|
+
this.dimension = this.orientation == index$1.TabOrientationEnum.vertical ? 'Height' : 'Width';
|
|
15
19
|
}
|
|
16
20
|
/** Set all childrens (tab) size attribute : big (default) or small */
|
|
17
21
|
setChildrenSize() {
|
|
@@ -79,12 +83,12 @@ const ZNavigationTabs = class {
|
|
|
79
83
|
this.checkScrollVisible();
|
|
80
84
|
}
|
|
81
85
|
render() {
|
|
82
|
-
return h(Host, { class: {
|
|
86
|
+
return index.h(index.Host, { class: {
|
|
83
87
|
'interactive-2': this.size === 'small',
|
|
84
88
|
'interactive-1': this.size !== 'small'
|
|
85
|
-
}, scrollable: this.canNavigate }, this.canNavigate && h("button", { class: "navigation", onClick: () => this.navigatePrevious(), tabindex: "-1", disabled: !this.canNavigatePrev }, h("z-icon", { name: this.orientation == 'horizontal' ? 'chevron-left' : 'chevron-up', width: 16, height: 16 })), h("nav", { role: "tablist", ref: (el) => this.tabsNav = el !== null && el !== void 0 ? el : this.tabsNav, onScroll: this.checkScrollEnabled.bind(this) }, h("slot", null)), this.canNavigate && h("button", { class: "navigation", onClick: () => { this.navigateNext(); }, tabindex: "-1", disabled: !this.canNavigateNext }, h("z-icon", { name: this.orientation == 'horizontal' ? 'chevron-right' : 'chevron-down', width: 16, height: 16 })));
|
|
89
|
+
}, scrollable: this.canNavigate }, this.canNavigate && index.h("button", { class: "navigation", onClick: () => this.navigatePrevious(), tabindex: "-1", disabled: !this.canNavigatePrev }, index.h("z-icon", { name: this.orientation == 'horizontal' ? 'chevron-left' : 'chevron-up', width: 16, height: 16 })), index.h("nav", { role: "tablist", ref: (el) => this.tabsNav = el !== null && el !== void 0 ? el : this.tabsNav, onScroll: this.checkScrollEnabled.bind(this) }, index.h("slot", null)), this.canNavigate && index.h("button", { class: "navigation", onClick: () => { this.navigateNext(); }, tabindex: "-1", disabled: !this.canNavigateNext }, index.h("z-icon", { name: this.orientation == 'horizontal' ? 'chevron-right' : 'chevron-down', width: 16, height: 16 })));
|
|
86
90
|
}
|
|
87
|
-
get host() { return getElement(this); }
|
|
91
|
+
get host() { return index.getElement(this); }
|
|
88
92
|
static get watchers() { return {
|
|
89
93
|
"size": ["setChildrenSize"],
|
|
90
94
|
"orientation": ["setChildrenOrientation"],
|
|
@@ -94,4 +98,4 @@ const ZNavigationTabs = class {
|
|
|
94
98
|
};
|
|
95
99
|
ZNavigationTabs.style = stylesCss;
|
|
96
100
|
|
|
97
|
-
|
|
101
|
+
exports.z_navigation_tabs = ZNavigationTabs;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
|
+
const index$1 = require('./index-11a8a536.js');
|
|
3
7
|
|
|
4
8
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{height:72px;width:calc(var(--space-unit) * 5);font-size:32px;font-weight:300;font-family:var(--font-family-sans);text-align:center;caret-color:transparent;box-sizing:border-box;padding:0;color:var(--color-surface05)}input.error{border:1px solid;border-radius:4px;border-color:var(--color-error01);background-color:var(--color-error-inverse)}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";
|
|
5
9
|
|
|
6
10
|
const ZOtp = class {
|
|
7
11
|
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.otpChange = createEvent(this, "otpChange", 7);
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.otpChange = index.createEvent(this, "otpChange", 7);
|
|
10
14
|
this.inputNum = 6;
|
|
11
15
|
}
|
|
12
16
|
emitInputChange(value) {
|
|
@@ -17,8 +21,8 @@ const ZOtp = class {
|
|
|
17
21
|
this.otpRef = Array.apply(null, Array(this.inputNum));
|
|
18
22
|
}
|
|
19
23
|
render() {
|
|
20
|
-
return (h("div", { class: "otp-container" }, h("div", { class: "digits-container" }, this.otp.map((_elem, i) => {
|
|
21
|
-
return (h("input", { class: this.status == InputStatusEnum.error ? "error" : null, onKeyDown: (e) => {
|
|
24
|
+
return (index.h("div", { class: "otp-container" }, index.h("div", { class: "digits-container" }, this.otp.map((_elem, i) => {
|
|
25
|
+
return (index.h("input", { class: this.status == index$1.InputStatusEnum.error ? "error" : null, onKeyDown: (e) => {
|
|
22
26
|
if (e.keyCode > 47)
|
|
23
27
|
this.otpRef[i].value = "";
|
|
24
28
|
}, onKeyUp: (e) => {
|
|
@@ -29,9 +33,9 @@ const ZOtp = class {
|
|
|
29
33
|
this.otp[i] = e.target.value;
|
|
30
34
|
this.emitInputChange(this.otp.join(""));
|
|
31
35
|
}, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: input => (this.otpRef[i] = input) }));
|
|
32
|
-
})), h("z-input-message", { message: this.message, status: this.status })));
|
|
36
|
+
})), index.h("z-input-message", { message: this.message, status: this.status })));
|
|
33
37
|
}
|
|
34
38
|
};
|
|
35
39
|
ZOtp.style = stylesCss;
|
|
36
40
|
|
|
37
|
-
|
|
41
|
+
exports.z_otp = ZOtp;
|
package/dist/{web-components-library/z-pocket-message.entry.js → cjs/z-pocket-message.cjs.entry.js}
RENAMED
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
2
6
|
|
|
3
7
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{color:var(--color-surface05);fill:var(--color-surface05);font-size:14px;border-bottom:var(--border-size-small) solid var(--color-surface03);padding-top:calc(var(--space-unit) * 1.5);display:grid;grid-template-rows:auto auto;grid-template-columns:36px auto}:host>div>z-icon{grid-row:1 / 2;grid-column:1 / 2}:host>div>div.content{grid-row:1 / 2;grid-column:2 / 3;margin-bottom:var(--space-unit)}:host>div>div.ctaWrapper{grid-row:2 / 3;grid-column:1 / 3;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;margin-bottom:var(--space-unit)}@media only screen and (min-width: 768px){:host>div>div.ctaWrapper{flex-direction:row;grid-column:2 / 3}}";
|
|
4
8
|
|
|
5
9
|
const ZPocketMessage = 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("z-icon", { name: "exclamation-circle" }), h("div", { class: "content" }, h("slot", null)), h("div", { class: "ctaWrapper" }, h("slot", { name: "cta" }))));
|
|
14
|
+
return (index.h("div", null, index.h("z-icon", { name: "exclamation-circle" }), index.h("div", { class: "content" }, index.h("slot", null)), index.h("div", { class: "ctaWrapper" }, index.h("slot", { name: "cta" }))));
|
|
11
15
|
}
|
|
12
16
|
};
|
|
13
17
|
ZPocketMessage.style = stylesCss;
|
|
14
18
|
|
|
15
|
-
|
|
19
|
+
exports.z_pocket_message = ZPocketMessage;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
|
+
const index$1 = require('./index-11a8a536.js');
|
|
7
|
+
const utils = require('./utils-00e14fba.js');
|
|
8
|
+
const hammer = require('./hammer-6e321f0b.js');
|
|
9
|
+
require('./breakpoints-88c4fd6c.js');
|
|
10
|
+
|
|
11
|
+
const stylesCss$2 = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);width:inherit;height:100%;margin:inherit}:host>div{width:inherit;height:100%;margin:inherit}:host>div>div.background{position:fixed;left:0;right:0;top:0;bottom:0;z-index:998;width:0;height:0}:host>div>div.background.open{height:100%;width:100%}:host>div>div.contentWrapper{position:fixed;z-index:999;bottom:0;left:0;width:inherit;margin:inherit}:host>div>div.contentWrapper>div{border-radius:var(--space-unit) var(--space-unit) 0px 0px;box-shadow:0px -2px calc(var(--space-unit) * 0.5) 0px rgba(66, 69, 72, 0.4);margin:calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 0.5) 0 calc(var(--space-unit) * 0.5)}";
|
|
12
|
+
|
|
13
|
+
const ZPocket = class {
|
|
14
|
+
constructor(hostRef) {
|
|
15
|
+
index.registerInstance(this, hostRef);
|
|
16
|
+
this.pocketToggle = index.createEvent(this, "pocketToggle", 7);
|
|
17
|
+
/** pocket status */
|
|
18
|
+
this.status = index$1.PocketStatusEnum.preview;
|
|
19
|
+
}
|
|
20
|
+
/** open z-pocket */
|
|
21
|
+
async open() {
|
|
22
|
+
this.status = index$1.PocketStatusEnum.open;
|
|
23
|
+
}
|
|
24
|
+
/** close z-pocket */
|
|
25
|
+
async close() {
|
|
26
|
+
this.status = index$1.PocketStatusEnum.closed;
|
|
27
|
+
}
|
|
28
|
+
emitPocketToggle(id, status) {
|
|
29
|
+
this.pocketToggle.emit({ id, status });
|
|
30
|
+
}
|
|
31
|
+
handlePocketHeaderClick(e) {
|
|
32
|
+
if (e.detail.id && e.detail.id === this.pocketid) {
|
|
33
|
+
switch (this.status) {
|
|
34
|
+
case index$1.PocketStatusEnum.preview:
|
|
35
|
+
case index$1.PocketStatusEnum.closed:
|
|
36
|
+
this.status = index$1.PocketStatusEnum.open;
|
|
37
|
+
break;
|
|
38
|
+
case index$1.PocketStatusEnum.open:
|
|
39
|
+
this.status = index$1.PocketStatusEnum.closed;
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
handlePocketHeaderPan(e) {
|
|
45
|
+
if (e.detail.id && e.detail.id === this.pocketid) {
|
|
46
|
+
if (e.detail.direction === "up") {
|
|
47
|
+
this.status = index$1.PocketStatusEnum.open;
|
|
48
|
+
}
|
|
49
|
+
else if (e.detail.direction === "down") {
|
|
50
|
+
this.status = index$1.PocketStatusEnum.closed;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
watchStatusHandler(newVal) {
|
|
55
|
+
this.emitPocketToggle(this.pocketid, newVal);
|
|
56
|
+
}
|
|
57
|
+
componentWillLoad() {
|
|
58
|
+
this.emitPocketToggle(this.pocketid, this.status);
|
|
59
|
+
}
|
|
60
|
+
handleBackgroundClick(e) {
|
|
61
|
+
if (e.target.dataset.action == "pocketBackground") {
|
|
62
|
+
this.close();
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
render() {
|
|
66
|
+
return (index.h("div", null, index.h("div", { "data-action": "pocketBackground", "data-pocket": this.pocketid, class: `background ${this.status}`, onClick: (e) => this.handleBackgroundClick(e) }), index.h("div", { id: this.pocketid, class: "contentWrapper" }, index.h("div", null, index.h("slot", null)))));
|
|
67
|
+
}
|
|
68
|
+
get hostElement() { return index.getElement(this); }
|
|
69
|
+
static get watchers() { return {
|
|
70
|
+
"status": ["watchStatusHandler"]
|
|
71
|
+
}; }
|
|
72
|
+
};
|
|
73
|
+
ZPocket.style = stylesCss$2;
|
|
74
|
+
|
|
75
|
+
const stylesCss$1 = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:100%;box-sizing:border-box}:host>main{background:var(--color-surface01);border-left:var(--border-size-small) solid var(--color-surface03);border-right:var(--border-size-small) solid var(--color-surface03);overflow:auto;scrollbar-width:none}:host>main.preview{max-height:225px;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.open{max-height:calc(100vh - 48px);transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.closed{height:0px;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>main.preview{max-height:157px}}";
|
|
76
|
+
|
|
77
|
+
const ZPocketBody = class {
|
|
78
|
+
constructor(hostRef) {
|
|
79
|
+
index.registerInstance(this, hostRef);
|
|
80
|
+
/** pocket status */
|
|
81
|
+
this.status = index$1.PocketStatusEnum.preview;
|
|
82
|
+
}
|
|
83
|
+
handlePocketToggle(e) {
|
|
84
|
+
if (e.detail.id && e.detail.id === this.pocketid) {
|
|
85
|
+
this.status = e.detail.status;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
render() {
|
|
89
|
+
return (index.h("main", { class: this.status }, index.h("slot", null)));
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
ZPocketBody.style = stylesCss$1;
|
|
93
|
+
|
|
94
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:100%;box-sizing:border-box}:host>header{background:var(--color-surface01);border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--space-unit) var(--space-unit) 0px 0px;height:36px;cursor:pointer;display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:center;align-items:center}:host>header:focus{outline:none}:host>header::-moz-focus-inner{border:0}";
|
|
95
|
+
|
|
96
|
+
const ZPocketHeader = class {
|
|
97
|
+
constructor(hostRef) {
|
|
98
|
+
index.registerInstance(this, hostRef);
|
|
99
|
+
this.pocketHeaderClick = index.createEvent(this, "pocketHeaderClick", 7);
|
|
100
|
+
this.pocketHeaderPan = index.createEvent(this, "pocketHeaderPan", 7);
|
|
101
|
+
this.emitPocketHeaderClick = this.emitPocketHeaderClick.bind(this);
|
|
102
|
+
}
|
|
103
|
+
emitPocketHeaderClick() {
|
|
104
|
+
this.pocketHeaderClick.emit({ id: this.pocketid });
|
|
105
|
+
}
|
|
106
|
+
emitPocketHeaderPan(direction) {
|
|
107
|
+
this.pocketHeaderPan.emit({ id: this.pocketid, direction });
|
|
108
|
+
}
|
|
109
|
+
componentDidLoad() {
|
|
110
|
+
// INFO: swipe handling
|
|
111
|
+
const mc = new hammer.hammer(this.swipeWrap);
|
|
112
|
+
mc.get("pan").set({ direction: hammer.hammer.DIRECTION_VERTICAL });
|
|
113
|
+
mc.on("panup", () => this.emitPocketHeaderPan("up"));
|
|
114
|
+
mc.on("pandown", () => this.emitPocketHeaderPan("down"));
|
|
115
|
+
}
|
|
116
|
+
render() {
|
|
117
|
+
return (index.h("header", { role: "button", tabindex: 0, onClick: () => this.emitPocketHeaderClick(), onKeyPress: (ev) => utils.handleKeyboardSubmit(ev, this.emitPocketHeaderClick), ref: el => (this.swipeWrap = el) }, index.h("slot", null)));
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
ZPocketHeader.style = stylesCss;
|
|
121
|
+
|
|
122
|
+
exports.z_pocket = ZPocket;
|
|
123
|
+
exports.z_pocket_body = ZPocketBody;
|
|
124
|
+
exports.z_pocket_header = ZPocketHeader;
|
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
2
6
|
|
|
3
7
|
const stylesCss = ".sc-z-registro-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
|
|
4
8
|
|
|
5
9
|
const ZRegistroTableFooter = class {
|
|
6
10
|
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
8
12
|
}
|
|
9
13
|
componentWillRender() {
|
|
10
14
|
this.host.setAttribute("role", "rowgroup");
|
|
11
15
|
}
|
|
12
16
|
render() {
|
|
13
|
-
return h("slot", null);
|
|
17
|
+
return index.h("slot", null);
|
|
14
18
|
}
|
|
15
|
-
get host() { return getElement(this); }
|
|
19
|
+
get host() { return index.getElement(this); }
|
|
16
20
|
};
|
|
17
21
|
ZRegistroTableFooter.style = stylesCss;
|
|
18
22
|
|
|
19
|
-
|
|
23
|
+
exports.z_registro_table_footer = ZRegistroTableFooter;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
|
+
const index$1 = require('./index-11a8a536.js');
|
|
7
|
+
const utils = require('./utils-00e14fba.js');
|
|
8
|
+
require('./breakpoints-88c4fd6c.js');
|
|
5
9
|
|
|
6
10
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:inherit}:host>div{display:flex;flex-direction:column;width:inherit}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;top:50%;width:auto;cursor:pointer;transition:0.6s ease;margin:0 var(--space-unit);fill:var(--color-primary01);z-index:10}main .scroll.disabled{opacity:50%;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;transition:all 300ms;line-height:0px;overflow-y:hidden}footer{height:56px;width:100%;align-items:center;display:grid;grid-template-columns:2;grid-template-rows:2;grid-template-areas:\"center center\" \"left right\";border-top:var(--border-base) solid var(--color-surface02)}footer>div{align-items:center;width:100%}footer .footerCenter{grid-area:center}footer .footerLeft{grid-area:left}footer .footerRight{grid-area:right}footer .bulletContainer{display:flex;margin:0 auto;justify-content:center;align-items:center;min-height:60px}footer .bulletContainer .bullet{width:8px;height:8px;border-radius:50%;background-color:var(--bg-neutral-150);margin:var(--space-unit) 2px;pointer-events:none}footer .bulletContainer .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{grid-template-columns:1fr 2fr 1fr;grid-template-rows:1;grid-template-areas:\"left center right\";height:76px;border-top:var(--border-base) solid var(--color-surface02)}footer .bulletContainer .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bulletContainer .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);pointer-events:auto;cursor:pointer}}";
|
|
7
11
|
|
|
8
12
|
const ZSlideshow = class {
|
|
9
13
|
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
11
15
|
this.currentSlide = 0;
|
|
12
16
|
}
|
|
13
17
|
watchData() {
|
|
@@ -29,7 +33,7 @@ const ZSlideshow = class {
|
|
|
29
33
|
var _a;
|
|
30
34
|
switch (typeof this.data) {
|
|
31
35
|
case "string":
|
|
32
|
-
return (this.links = (_a = convertJson(this.data)) !== null && _a !== void 0 ? _a : []);
|
|
36
|
+
return (this.links = (_a = utils.convertJson(this.data)) !== null && _a !== void 0 ? _a : []);
|
|
33
37
|
default:
|
|
34
38
|
return (this.links = this.data);
|
|
35
39
|
}
|
|
@@ -49,23 +53,23 @@ const ZSlideshow = class {
|
|
|
49
53
|
});
|
|
50
54
|
}
|
|
51
55
|
setDevice() {
|
|
52
|
-
this.device = getDevice();
|
|
56
|
+
this.device = utils.getDevice();
|
|
53
57
|
}
|
|
54
58
|
setCurrentSlide(index) {
|
|
55
59
|
this.currentSlide = index;
|
|
56
60
|
}
|
|
57
61
|
getBulletDimension() {
|
|
58
62
|
switch (this.device) {
|
|
59
|
-
case DeviceEnum.mobile:
|
|
63
|
+
case index$1.DeviceEnum.mobile:
|
|
60
64
|
return 24;
|
|
61
|
-
case DeviceEnum.tablet:
|
|
65
|
+
case index$1.DeviceEnum.tablet:
|
|
62
66
|
return 32;
|
|
63
67
|
default:
|
|
64
68
|
return 40;
|
|
65
69
|
}
|
|
66
70
|
}
|
|
67
71
|
renderSlides(items) {
|
|
68
|
-
return (h("div", { id: "slides" }, items.map((item, i) => (h("div", { id: "slide" + i, class: `slide ${this.currentSlide !== i && "hide"}` }, h("img", { src: item }))))));
|
|
72
|
+
return (index.h("div", { id: "slides" }, items.map((item, i) => (index.h("div", { id: "slide" + i, class: `slide ${this.currentSlide !== i && "hide"}` }, index.h("img", { src: item }))))));
|
|
69
73
|
}
|
|
70
74
|
renderScroll(direction) {
|
|
71
75
|
let disabled = false, nextSlide = this.currentSlide;
|
|
@@ -77,32 +81,32 @@ const ZSlideshow = class {
|
|
|
77
81
|
disabled = this.currentSlide === this.links.length - 1;
|
|
78
82
|
nextSlide++;
|
|
79
83
|
}
|
|
80
|
-
return (h("z-icon", { class: `scroll ${direction} ${disabled && "disabled"}`, width: this.getBulletDimension(), height: this.getBulletDimension(), name: `chevron-${direction}-circle`, onClick: () => {
|
|
84
|
+
return (index.h("z-icon", { class: `scroll ${direction} ${disabled && "disabled"}`, width: this.getBulletDimension(), height: this.getBulletDimension(), name: `chevron-${direction}-circle`, onClick: () => {
|
|
81
85
|
!disabled && this.setCurrentSlide(nextSlide);
|
|
82
86
|
}, onKeyUp: (e) => !disabled &&
|
|
83
|
-
handleKeyboardSubmit(e, () => {
|
|
87
|
+
utils.handleKeyboardSubmit(e, () => {
|
|
84
88
|
this.setCurrentSlide(nextSlide);
|
|
85
89
|
}), tabindex: 0, role: "button" }));
|
|
86
90
|
}
|
|
87
91
|
renderSlideshowMain() {
|
|
88
|
-
return (h("main", null, this.renderScroll("left"), this.renderSlides(this.links), this.renderScroll("right")));
|
|
92
|
+
return (index.h("main", null, this.renderScroll("left"), this.renderSlides(this.links), this.renderScroll("right")));
|
|
89
93
|
}
|
|
90
94
|
renderBullet(i) {
|
|
91
|
-
return (h("a", { class: `bullet ${this.currentSlide === i && "selected"}`, onClick: () => this.setCurrentSlide(i), onKeyUp: (e) => handleKeyboardSubmit(e, () => this.setCurrentSlide(i)), tabindex: 0, role: "button" }));
|
|
95
|
+
return (index.h("a", { class: `bullet ${this.currentSlide === i && "selected"}`, onClick: () => this.setCurrentSlide(i), onKeyUp: (e) => utils.handleKeyboardSubmit(e, () => this.setCurrentSlide(i)), tabindex: 0, role: "button" }));
|
|
92
96
|
}
|
|
93
97
|
renderSlideshowFooter() {
|
|
94
|
-
return (h("footer", null, h("div", { class: "footerLeft" }, h("slot", { name: "footer-left" })), h("div", { class: "footerCenter" }, h("div", { class: "bulletContainer" }, Object.keys(this.links).map(i => this.renderBullet(parseInt(i))))), h("div", { class: "footerRight" }, h("slot", { name: "footer-right" }))));
|
|
98
|
+
return (index.h("footer", null, index.h("div", { class: "footerLeft" }, index.h("slot", { name: "footer-left" })), index.h("div", { class: "footerCenter" }, index.h("div", { class: "bulletContainer" }, Object.keys(this.links).map(i => this.renderBullet(parseInt(i))))), index.h("div", { class: "footerRight" }, index.h("slot", { name: "footer-right" }))));
|
|
95
99
|
}
|
|
96
100
|
render() {
|
|
97
101
|
if (!this.links || !this.links.length)
|
|
98
|
-
return h("div", null);
|
|
99
|
-
return (h("div", { id: this.slideshowid }, this.renderSlideshowMain(), this.renderSlideshowFooter()));
|
|
102
|
+
return index.h("div", null);
|
|
103
|
+
return (index.h("div", { id: this.slideshowid }, this.renderSlideshowMain(), this.renderSlideshowFooter()));
|
|
100
104
|
}
|
|
101
|
-
get el() { return getElement(this); }
|
|
105
|
+
get el() { return index.getElement(this); }
|
|
102
106
|
static get watchers() { return {
|
|
103
107
|
"data": ["watchData"]
|
|
104
108
|
}; }
|
|
105
109
|
};
|
|
106
110
|
ZSlideshow.style = stylesCss;
|
|
107
111
|
|
|
108
|
-
|
|
112
|
+
exports.z_slideshow = ZSlideshow;
|