@zanichelli/albe-web-components 2.33.5-rc1 → 2.34.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/dist/cjs/_commonjsHelpers-119ffc74.js +17 -0
- package/dist/cjs/breakpoints-88c4fd6c.js +7 -0
- package/{www/build/hammer-52e2c4fe.js → dist/cjs/hammer-54230951.js} +6 -5
- package/{www/build/icons-c51b7576.js → dist/cjs/icons-05eba7ee.js} +476 -473
- package/{www/build/index-8067f807.js → dist/cjs/index-9651dba8.js} +6 -10
- package/dist/cjs/index-de6c491e.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-12053886.js +75 -0
- package/dist/cjs/web-components-library.cjs.js +19 -0
- package/dist/{web-components-library/z-alert.entry.js → cjs/z-alert.cjs.entry.js} +14 -10
- package/{www/build/z-app-header.entry.js → dist/cjs/z-app-header.cjs.entry.js} +139 -135
- package/dist/{web-components-library/z-app-switcher.entry.js → cjs/z-app-switcher.cjs.entry.js} +24 -20
- package/dist/cjs/z-app-topbar.cjs.entry.js +41 -0
- package/dist/cjs/z-aria-alert.cjs.entry.js +18 -0
- package/{www/build/z-avatar.entry.js → dist/cjs/z-avatar.cjs.entry.js} +38 -34
- package/dist/cjs/z-body_14.cjs.entry.js +513 -0
- package/dist/cjs/z-button-filter_5.cjs.entry.js +620 -0
- package/{www/build/z-button-sort.entry.js → dist/cjs/z-button-sort.cjs.entry.js} +49 -45
- package/dist/{web-components-library/z-candybar.entry.js → cjs/z-candybar.cjs.entry.js} +14 -10
- package/dist/{web-components-library/z-card.entry.js → cjs/z-card.cjs.entry.js} +53 -49
- package/dist/{web-components-library/z-chip.entry.js → cjs/z-chip.cjs.entry.js} +19 -15
- package/{www/build/z-combobox.entry.js → dist/cjs/z-combobox.cjs.entry.js} +166 -162
- package/dist/cjs/z-contextual-menu.cjs.entry.js +40 -0
- package/{www/build/z-cookiebar.entry.js → dist/cjs/z-cookiebar.cjs.entry.js} +37 -33
- package/{www/build/z-divider.entry.js → dist/cjs/z-divider.cjs.entry.js} +21 -17
- package/dist/cjs/z-footer-link_3.cjs.entry.js +49 -0
- package/{www/build/z-footer.entry.js → dist/cjs/z-footer.cjs.entry.js} +97 -93
- package/dist/cjs/z-ghost-loading.cjs.entry.js +19 -0
- package/dist/cjs/z-heading.cjs.entry.js +17 -0
- package/dist/cjs/z-icon-package.cjs.entry.js +23 -0
- package/{www/build/z-info-box.entry.js → dist/cjs/z-info-box.cjs.entry.js} +20 -16
- package/dist/{web-components-library/z-link.entry.js → cjs/z-link.cjs.entry.js} +66 -62
- package/dist/cjs/z-list_3.cjs.entry.js +226 -0
- package/dist/{web-components-library/z-logo.entry.js → cjs/z-logo.cjs.entry.js} +23 -19
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +89 -0
- package/{www/build/z-menu-section.entry.js → dist/cjs/z-menu-section.cjs.entry.js} +41 -37
- package/dist/{web-components-library/z-menu.entry.js → cjs/z-menu.cjs.entry.js} +105 -101
- package/{www/build/z-messages-pocket.entry.js → dist/cjs/z-messages-pocket.cjs.entry.js} +42 -38
- package/dist/cjs/z-modal-login.cjs.entry.js +81 -0
- package/dist/cjs/z-modal.cjs.entry.js +36 -0
- package/{www/build/z-myz-card-alert.entry.js → dist/cjs/z-myz-card-alert.cjs.entry.js} +58 -54
- package/dist/{web-components-library/z-myz-card-dictionary.entry.js → cjs/z-myz-card-dictionary.cjs.entry.js} +31 -27
- package/dist/{web-components-library/z-myz-card-footer-sections.entry.js → cjs/z-myz-card-footer-sections.cjs.entry.js} +14 -10
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +52 -0
- package/{www/build/z-myz-card-icon.entry.js → dist/cjs/z-myz-card-icon.cjs.entry.js} +16 -12
- package/{www/build/z-myz-card-info.entry.js → dist/cjs/z-myz-card-info.cjs.entry.js} +115 -111
- package/dist/{web-components-library/z-myz-card-list.entry.js → cjs/z-myz-card-list.cjs.entry.js} +32 -28
- package/dist/cjs/z-myz-card_4.cjs.entry.js +101 -0
- package/{www/build/z-myz-list-item.entry.js → dist/cjs/z-myz-list-item.cjs.entry.js} +32 -28
- package/dist/{web-components-library/z-myz-topbar.entry.js → cjs/z-myz-topbar.cjs.entry.js} +189 -185
- package/dist/{web-components-library/z-navigation-tab.entry.js → cjs/z-navigation-tab.cjs.entry.js} +40 -36
- package/dist/{web-components-library/z-navigation-tabs.entry.js → cjs/z-navigation-tabs.cjs.entry.js} +96 -92
- package/{www/build/z-notification.entry.js → dist/cjs/z-notification.cjs.entry.js} +37 -33
- package/dist/{web-components-library/z-otp.entry.js → cjs/z-otp.cjs.entry.js} +36 -32
- package/{www/build/z-pagination-bar.entry.js → dist/cjs/z-pagination-bar.cjs.entry.js} +123 -121
- package/dist/{web-components-library/z-pagination-page.entry.js → cjs/z-pagination-page.cjs.entry.js} +20 -16
- package/dist/cjs/z-panel-elem.cjs.entry.js +30 -0
- package/dist/{web-components-library/z-pocket-message.entry.js → cjs/z-pocket-message.cjs.entry.js} +14 -10
- package/dist/cjs/z-pocket_3.cjs.entry.js +125 -0
- package/dist/cjs/z-registro-table-expanded-row.cjs.entry.js +19 -0
- package/dist/{web-components-library/z-registro-table-footer.entry.js → cjs/z-registro-table-footer.cjs.entry.js} +18 -14
- package/dist/{web-components-library/z-slideshow.entry.js → cjs/z-slideshow.cjs.entry.js} +107 -103
- package/{www/build/z-status-tag.entry.js → dist/cjs/z-status-tag.cjs.entry.js} +24 -20
- package/{www/build/z-stepper-item.entry.js → dist/cjs/z-stepper-item.cjs.entry.js} +17 -13
- package/{www/build/z-stepper.entry.js → dist/cjs/z-stepper.cjs.entry.js} +14 -10
- package/{www/build/z-toast-notification-list.entry.js → dist/cjs/z-toast-notification-list.cjs.entry.js} +51 -47
- package/dist/{web-components-library/z-toast-notification.entry.js → cjs/z-toast-notification.cjs.entry.js} +198 -194
- package/dist/{web-components-library/z-toggle-button.entry.js → cjs/z-toggle-button.cjs.entry.js} +31 -27
- package/{www/build/z-tooltip.entry.js → dist/cjs/z-tooltip.cjs.entry.js} +269 -265
- package/dist/{web-components-library/z-user-dropdown.entry.js → cjs/z-user-dropdown.cjs.entry.js} +90 -86
- package/{www/build/z-visually-hidden.entry.js → dist/cjs/z-visually-hidden.cjs.entry.js} +14 -10
- package/{www/build/index-08d9a3bf.js → dist/collection/beans/index.js} +253 -255
- 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/collection/components/icons/icons.js +474 -0
- 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/collection/components/notification/z-tooltip/index.js +379 -0
- 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 +273 -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/dist/{web-components-library/breakpoints-14432d05.js → collection/constants/breakpoints.js} +2 -3
- 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 +83 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-cell/styles.css +57 -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 +244 -0
- package/dist/collection/snowflakes/registro-table/z-registro-table-header/styles.css +63 -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-2e0fffb8.js → dist/collection/utils/utils.js} +81 -84
- package/dist/esm/_commonjsHelpers-8b28c6fa.js +15 -0
- package/{www/build/breakpoints-14432d05.js → dist/esm/breakpoints-c386984e.js} +1 -1
- package/dist/{web-components-library/hammer-52e2c4fe.js → esm/hammer-501342a9.js} +2 -3
- package/dist/{web-components-library/icons-c51b7576.js → esm/icons-bceeb196.js} +473 -472
- package/dist/{web-components-library/index-08d9a3bf.js → esm/index-09b57d95.js} +254 -254
- package/dist/{web-components-library/index-8067f807.js → esm/index-aa3a4feb.js} +2 -8
- 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-2e0fffb8.js → esm/utils-f0067254.js} +64 -82
- package/dist/esm/web-components-library.js +17 -0
- package/{www/build → dist/esm}/z-alert.entry.js +9 -9
- package/dist/{web-components-library → esm}/z-app-header.entry.js +134 -134
- package/{www/build → dist/esm}/z-app-switcher.entry.js +19 -19
- package/dist/{web-components-library → esm}/z-app-topbar.entry.js +31 -31
- package/{www/build → dist/esm}/z-aria-alert.entry.js +10 -10
- package/dist/{web-components-library → esm}/z-avatar.entry.js +33 -33
- package/dist/esm/z-body_14.entry.js +496 -0
- package/dist/esm/z-button-filter_5.entry.js +612 -0
- package/dist/{web-components-library → esm}/z-button-sort.entry.js +44 -44
- package/{www/build → dist/esm}/z-candybar.entry.js +9 -9
- package/{www/build → dist/esm}/z-card.entry.js +48 -48
- package/{www/build → dist/esm}/z-chip.entry.js +14 -14
- package/dist/{web-components-library → esm}/z-combobox.entry.js +161 -161
- package/dist/{web-components-library → esm}/z-contextual-menu.entry.js +30 -30
- package/dist/{web-components-library → esm}/z-cookiebar.entry.js +32 -32
- package/dist/{web-components-library → esm}/z-divider.entry.js +16 -16
- package/dist/esm/z-footer-link_3.entry.js +43 -0
- package/dist/{web-components-library → esm}/z-footer.entry.js +92 -92
- package/{www/build → dist/esm}/z-ghost-loading.entry.js +10 -10
- package/dist/{web-components-library → esm}/z-heading.entry.js +9 -9
- package/{www/build → dist/esm}/z-icon-package.entry.js +13 -13
- package/dist/{web-components-library → esm}/z-info-box.entry.js +15 -15
- package/{www/build → dist/esm}/z-link.entry.js +61 -61
- package/dist/esm/z-list_3.entry.js +220 -0
- package/{www/build → dist/esm}/z-logo.entry.js +18 -18
- package/dist/esm/z-menu-dropdown_2.entry.js +84 -0
- package/dist/{web-components-library → esm}/z-menu-section.entry.js +36 -36
- package/{www/build → dist/esm}/z-menu.entry.js +100 -100
- package/dist/{web-components-library → esm}/z-messages-pocket.entry.js +37 -37
- package/{www/build → dist/esm}/z-modal-login.entry.js +72 -72
- package/{www/build → dist/esm}/z-modal.entry.js +27 -27
- package/dist/{web-components-library → esm}/z-myz-card-alert.entry.js +53 -53
- package/{www/build → dist/esm}/z-myz-card-dictionary.entry.js +26 -26
- package/{www/build → dist/esm}/z-myz-card-footer-sections.entry.js +9 -9
- package/dist/{web-components-library → esm}/z-myz-card-footer.entry.js +43 -43
- package/dist/{web-components-library → esm}/z-myz-card-icon.entry.js +11 -11
- package/dist/{web-components-library → esm}/z-myz-card-info.entry.js +110 -110
- package/{www/build → dist/esm}/z-myz-card-list.entry.js +27 -27
- package/dist/esm/z-myz-card_4.entry.js +94 -0
- package/dist/{web-components-library → esm}/z-myz-list-item.entry.js +27 -27
- package/{www/build → dist/esm}/z-myz-topbar.entry.js +184 -184
- package/{www/build → dist/esm}/z-navigation-tab.entry.js +35 -35
- package/{www/build → dist/esm}/z-navigation-tabs.entry.js +91 -91
- package/dist/{web-components-library → esm}/z-notification.entry.js +32 -32
- package/{www/build → dist/esm}/z-otp.entry.js +31 -31
- package/dist/{web-components-library → esm}/z-pagination-bar.entry.js +118 -120
- package/{www/build → dist/esm}/z-pagination-page.entry.js +15 -15
- package/{www/build → dist/esm}/z-panel-elem.entry.js +20 -20
- package/{www/build → dist/esm}/z-pocket-message.entry.js +9 -9
- package/dist/esm/z-pocket_3.entry.js +119 -0
- package/{www/build → dist/esm}/z-registro-table-expanded-row.entry.js +9 -9
- package/{www/build → dist/esm}/z-registro-table-footer.entry.js +13 -13
- package/{www/build → dist/esm}/z-slideshow.entry.js +102 -102
- package/dist/{web-components-library → esm}/z-status-tag.entry.js +19 -19
- package/dist/{web-components-library → esm}/z-stepper-item.entry.js +12 -12
- package/dist/{web-components-library → esm}/z-stepper.entry.js +9 -9
- package/dist/{web-components-library → esm}/z-toast-notification-list.entry.js +46 -46
- package/{www/build → dist/esm}/z-toast-notification.entry.js +193 -193
- package/{www/build → dist/esm}/z-toggle-button.entry.js +26 -26
- package/dist/{web-components-library → esm}/z-tooltip.entry.js +264 -264
- package/{www/build → dist/esm}/z-user-dropdown.entry.js +85 -85
- package/dist/{web-components-library → esm}/z-visually-hidden.entry.js +9 -9
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/beans/index.d.ts +338 -338
- package/dist/types/components/buttons/z-button/index.d.ts +29 -29
- package/dist/types/components/buttons/z-button-filter/index.d.ts +22 -22
- package/dist/types/components/buttons/z-button-sort/index.d.ts +28 -28
- package/dist/types/components/buttons/z-chip/index.d.ts +6 -6
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +16 -16
- package/dist/types/components/footer/z-footer/index.d.ts +46 -46
- package/dist/types/components/footer/z-footer-link/index.d.ts +8 -8
- package/dist/types/components/footer/z-footer-section/index.d.ts +10 -10
- package/dist/types/components/footer/z-footer-social/index.d.ts +9 -9
- package/dist/types/components/icons/icons.d.ts +444 -443
- package/dist/types/components/icons/z-icon/index.d.ts +14 -14
- package/dist/types/components/icons/z-icon-package/index.d.ts +3 -3
- package/dist/types/components/indicators/z-stepper/index.d.ts +6 -6
- package/dist/types/components/indicators/z-stepper-item/index.d.ts +19 -19
- package/dist/types/components/inputs/z-combobox/index.d.ts +62 -62
- package/dist/types/components/inputs/z-input/index.d.ts +102 -102
- package/dist/types/components/inputs/z-input-label/index.d.ts +9 -9
- package/dist/types/components/inputs/z-input-message/index.d.ts +9 -9
- package/dist/types/components/inputs/z-select/index.d.ts +73 -73
- package/dist/types/components/list/z-list/index.d.ts +11 -11
- package/dist/types/components/list/z-list-element/index.d.ts +79 -79
- package/dist/types/components/list/z-list-group/index.d.ts +24 -24
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +14 -14
- package/dist/types/components/logo/z-logo/index.d.ts +15 -15
- package/dist/types/components/modal/z-modal/index.d.ts +25 -25
- package/dist/types/components/modal/z-modal-login/index.d.ts +42 -42
- package/dist/types/components/navigation/z-app-header/index.d.ts +67 -67
- package/dist/types/components/navigation/z-app-switcher/index.d.ts +12 -12
- package/dist/types/components/navigation/z-app-topbar/index.d.ts +20 -20
- package/dist/types/components/navigation/z-link/index.d.ts +41 -41
- package/dist/types/components/navigation/z-menu/index.d.ts +52 -52
- package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +19 -19
- package/dist/types/components/navigation/z-menu-section/index.d.ts +24 -24
- package/dist/types/components/navigation/z-navigation-tab/index.d.ts +16 -16
- package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +32 -32
- package/dist/types/components/navigation/z-user-dropdown/index.d.ts +39 -39
- package/dist/types/components/notification/z-candybar/index.d.ts +6 -6
- package/dist/types/components/notification/z-cookiebar/index.d.ts +16 -16
- package/dist/types/components/notification/z-info-box/index.d.ts +14 -14
- package/dist/types/components/notification/z-notification/index.d.ts +24 -24
- package/dist/types/components/notification/z-toast-notification/index.d.ts +56 -56
- package/dist/types/components/notification/z-tooltip/index.d.ts +41 -41
- package/dist/types/components/pagination/z-pagination-bar/index.d.ts +42 -42
- package/dist/types/components/pagination/z-pagination-page/index.d.ts +15 -15
- package/dist/types/components/panel/z-panel-elem/index.d.ts +25 -25
- package/dist/types/components/typography/z-body/index.d.ts +6 -6
- package/dist/types/components/typography/z-heading/index.d.ts +6 -6
- package/dist/types/components/typography/z-typography/index.d.ts +8 -8
- package/dist/types/components/z-aria-alert/index.d.ts +4 -4
- package/dist/types/components/z-avatar/index.d.ts +16 -16
- package/dist/types/components/z-card/index.d.ts +29 -29
- package/dist/types/components/z-contextual-menu/index.d.ts +22 -22
- package/dist/types/components/z-divider/index.d.ts +10 -10
- package/dist/types/components/z-ghost-loading/index.d.ts +3 -3
- package/dist/types/components/z-popover/index.d.ts +29 -29
- package/dist/types/components/z-status-tag/index.d.ts +15 -15
- package/dist/types/components/z-visually-hidden/index.d.ts +3 -3
- package/dist/types/components.d.ts +0 -2
- package/dist/types/constants/breakpoints.d.ts +3 -3
- package/dist/types/constants/icons.d.ts +6 -6
- package/dist/types/index.d.ts +5 -5
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +16 -16
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +20 -20
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +7 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +12 -12
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +24 -24
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +34 -34
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +7 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +23 -23
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +9 -9
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +36 -36
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +10 -10
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +11 -11
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +25 -25
- package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +16 -16
- package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +25 -25
- package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +12 -12
- package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +18 -18
- package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +7 -7
- package/dist/types/snowflakes/myz/topbar/index.d.ts +61 -61
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +9 -9
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +13 -13
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +30 -30
- package/dist/types/snowflakes/registro-table/z-registro-table/index.d.ts +48 -48
- package/dist/types/snowflakes/registro-table/z-registro-table-body/index.d.ts +5 -5
- package/dist/types/snowflakes/registro-table/z-registro-table-cell/index.d.ts +12 -12
- package/dist/types/snowflakes/registro-table/z-registro-table-empty-box/index.d.ts +12 -12
- package/dist/types/snowflakes/registro-table/z-registro-table-expanded-row/index.d.ts +5 -6
- package/dist/types/snowflakes/registro-table/z-registro-table-footer/index.d.ts +5 -5
- package/dist/types/snowflakes/registro-table/z-registro-table-head/index.d.ts +5 -5
- package/dist/types/snowflakes/registro-table/z-registro-table-header/index.d.ts +27 -27
- package/dist/types/snowflakes/registro-table/z-registro-table-header-row/index.d.ts +5 -5
- package/dist/types/snowflakes/registro-table/z-registro-table-row/index.d.ts +11 -11
- package/dist/types/snowflakes/registro-table/z-registro-table-sticky-footer/index.d.ts +6 -6
- package/dist/types/utils/utils.d.ts +11 -11
- 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-01d11ec3.entry.js +1 -0
- package/dist/web-components-library/p-0455dc43.entry.js +1 -0
- package/dist/web-components-library/p-05f4fa42.entry.js +1 -0
- package/dist/web-components-library/p-08158e57.entry.js +1 -0
- package/dist/web-components-library/p-0ce6293a.entry.js +1 -0
- package/dist/web-components-library/p-0e6906af.js +1 -0
- package/dist/web-components-library/p-0fe60379.entry.js +1 -0
- package/dist/web-components-library/p-10ad64bc.entry.js +1 -0
- package/dist/web-components-library/p-140cc18f.entry.js +1 -0
- package/dist/web-components-library/p-18705ae9.entry.js +1 -0
- package/dist/web-components-library/p-1c72783c.entry.js +1 -0
- package/dist/web-components-library/p-1d371408.js +7 -0
- package/dist/web-components-library/p-250926fe.entry.js +1 -0
- package/dist/web-components-library/p-255c9150.entry.js +1 -0
- package/dist/web-components-library/p-3247dee9.js +7 -0
- package/dist/web-components-library/p-34f4e805.entry.js +1 -0
- package/dist/web-components-library/p-35fd465c.entry.js +1 -0
- package/dist/web-components-library/p-400e26c7.entry.js +1 -0
- package/dist/web-components-library/p-483d10ba.entry.js +1 -0
- package/dist/web-components-library/p-4a414eb2.entry.js +1 -0
- package/dist/web-components-library/p-5bbbc979.entry.js +1 -0
- package/dist/web-components-library/p-5e2762e6.entry.js +1 -0
- package/dist/web-components-library/p-5fa8dc13.entry.js +1 -0
- package/dist/web-components-library/p-60e40371.entry.js +1 -0
- package/dist/web-components-library/p-6583cbec.entry.js +1 -0
- package/dist/web-components-library/p-698e18cf.entry.js +1 -0
- package/dist/web-components-library/p-71cc7ed0.entry.js +1 -0
- package/dist/web-components-library/p-74fb3d69.entry.js +1 -0
- package/dist/web-components-library/p-7e926220.entry.js +1 -0
- package/dist/web-components-library/p-80589729.entry.js +1 -0
- package/dist/web-components-library/p-82048c15.js +1 -0
- package/dist/web-components-library/p-82a59ded.entry.js +1 -0
- package/dist/web-components-library/p-880a50a6.entry.js +1 -0
- package/dist/web-components-library/p-8ad12683.entry.js +1 -0
- package/dist/web-components-library/p-904a85e4.js +1 -0
- package/dist/web-components-library/p-94814f44.entry.js +1 -0
- package/dist/web-components-library/p-957f298f.entry.js +1 -0
- package/dist/web-components-library/p-96e3aec6.entry.js +1 -0
- package/dist/web-components-library/p-9959e453.entry.js +1 -0
- package/dist/web-components-library/p-9d9dc98f.entry.js +1 -0
- package/dist/web-components-library/p-a15f8b52.entry.js +1 -0
- package/dist/web-components-library/p-a7733104.entry.js +1 -0
- package/dist/web-components-library/p-a82c9a77.entry.js +1 -0
- package/dist/web-components-library/p-aa0f7169.entry.js +1 -0
- package/dist/web-components-library/p-ac3bc4c2.entry.js +1 -0
- package/dist/web-components-library/p-b13d5b98.entry.js +1 -0
- package/dist/web-components-library/p-b630127d.entry.js +1 -0
- package/dist/web-components-library/p-b68038b5.js +1 -0
- package/dist/web-components-library/p-b78fb152.entry.js +1 -0
- package/dist/web-components-library/p-c7af96eb.entry.js +1 -0
- package/dist/web-components-library/p-c92c3f20.entry.js +1 -0
- package/dist/web-components-library/p-cc6363b9.entry.js +1 -0
- package/dist/web-components-library/p-cdcf738e.entry.js +1 -0
- package/dist/web-components-library/p-cf914ea7.entry.js +1 -0
- package/dist/web-components-library/p-cfebc80e.entry.js +1 -0
- package/dist/web-components-library/p-d227a145.entry.js +1 -0
- package/dist/web-components-library/p-d69e14fb.js +1 -0
- package/dist/web-components-library/p-d83eee10.entry.js +1 -0
- package/dist/web-components-library/p-db5863cf.entry.js +1 -0
- package/dist/web-components-library/p-e1f1f39e.entry.js +1 -0
- package/dist/web-components-library/p-e29fe790.entry.js +1 -0
- package/dist/web-components-library/p-ebcad010.entry.js +1 -0
- package/dist/web-components-library/p-f113a03a.entry.js +1 -0
- package/dist/web-components-library/p-f3354152.entry.js +1 -0
- package/dist/web-components-library/p-f77f6f60.entry.js +1 -0
- package/dist/web-components-library/p-f8446b1e.entry.js +1 -0
- package/dist/web-components-library/p-f90dd488.js +1 -0
- package/dist/web-components-library/p-fc47897e.entry.js +1 -0
- package/dist/web-components-library/p-fce08912.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 +90 -90
- package/react/components.d.ts +91 -89
- package/react/components.js +97 -95
- package/react/components.js.map +1 -1
- package/react/index.d.ts +1 -1
- package/react/index.js +13 -13
- package/react/react-component-lib/createComponent.d.ts +10 -10
- package/react/react-component-lib/createComponent.js +65 -65
- package/react/react-component-lib/createOverlayComponent.d.ts +20 -20
- package/react/react-component-lib/createOverlayComponent.js +95 -95
- package/react/react-component-lib/index.d.ts +2 -2
- package/react/react-component-lib/index.js +7 -7
- package/react/react-component-lib/interfaces.d.ts +29 -29
- package/react/react-component-lib/interfaces.js +2 -2
- package/react/react-component-lib/utils/attachProps.d.ts +12 -12
- package/react/react-component-lib/utils/attachProps.js +102 -102
- package/react/react-component-lib/utils/case.d.ts +2 -2
- package/react/react-component-lib/utils/case.js +11 -11
- package/react/react-component-lib/utils/dev.d.ts +2 -2
- package/react/react-component-lib/utils/dev.js +17 -17
- package/react/react-component-lib/utils/index.d.ts +7 -7
- package/react/react-component-lib/utils/index.js +38 -38
- package/readme.md +236 -236
- package/www/build/index.esm.js +1 -9
- package/www/build/p-017370c7.entry.js +1 -0
- package/www/build/p-01d11ec3.entry.js +1 -0
- package/www/build/p-0455dc43.entry.js +1 -0
- package/www/build/p-05f4fa42.entry.js +1 -0
- package/www/build/p-08158e57.entry.js +1 -0
- package/www/build/p-0ce6293a.entry.js +1 -0
- package/www/build/p-0e6906af.js +1 -0
- package/www/build/p-0fe60379.entry.js +1 -0
- package/www/build/p-10ad64bc.entry.js +1 -0
- package/www/build/p-140cc18f.entry.js +1 -0
- package/www/build/p-18705ae9.entry.js +1 -0
- package/www/build/p-1c72783c.entry.js +1 -0
- package/www/build/p-1d371408.js +7 -0
- package/www/build/p-250926fe.entry.js +1 -0
- package/www/build/p-255c9150.entry.js +1 -0
- package/www/build/p-3247dee9.js +7 -0
- package/www/build/p-34f4e805.entry.js +1 -0
- package/www/build/p-35fd465c.entry.js +1 -0
- package/www/build/p-400e26c7.entry.js +1 -0
- package/www/build/p-483d10ba.entry.js +1 -0
- package/www/build/p-4a414eb2.entry.js +1 -0
- package/www/build/p-5bbbc979.entry.js +1 -0
- package/www/build/p-5e2762e6.entry.js +1 -0
- package/www/build/p-5fa8dc13.entry.js +1 -0
- package/www/build/p-60e40371.entry.js +1 -0
- package/www/build/p-6583cbec.entry.js +1 -0
- package/www/build/p-698e18cf.entry.js +1 -0
- package/www/build/p-71cc7ed0.entry.js +1 -0
- package/www/build/p-74fb3d69.entry.js +1 -0
- package/www/build/p-7e926220.entry.js +1 -0
- package/www/build/p-80589729.entry.js +1 -0
- package/www/build/p-82048c15.js +1 -0
- package/www/build/p-82a59ded.entry.js +1 -0
- package/www/build/p-880a50a6.entry.js +1 -0
- package/www/build/p-8ad12683.entry.js +1 -0
- package/www/build/p-904a85e4.js +1 -0
- package/www/build/p-94814f44.entry.js +1 -0
- package/www/build/p-957f298f.entry.js +1 -0
- package/www/build/p-96e3aec6.entry.js +1 -0
- package/www/build/p-9959e453.entry.js +1 -0
- package/www/build/p-9d9dc98f.entry.js +1 -0
- package/www/build/p-a15f8b52.entry.js +1 -0
- package/www/build/p-a7733104.entry.js +1 -0
- package/www/build/p-a82c9a77.entry.js +1 -0
- package/www/build/p-aa0f7169.entry.js +1 -0
- package/www/build/p-ac3bc4c2.entry.js +1 -0
- package/www/build/p-b13d5b98.entry.js +1 -0
- package/www/build/p-b630127d.entry.js +1 -0
- package/www/build/p-b68038b5.js +1 -0
- package/www/build/p-b78fb152.entry.js +1 -0
- package/www/build/p-c7af96eb.entry.js +1 -0
- package/www/build/p-c92c3f20.entry.js +1 -0
- package/www/build/p-cc6363b9.entry.js +1 -0
- package/www/build/p-cdcf738e.entry.js +1 -0
- package/www/build/p-cf914ea7.entry.js +1 -0
- package/www/build/p-cfebc80e.entry.js +1 -0
- package/www/build/p-d227a145.entry.js +1 -0
- package/www/build/p-d69e14fb.js +1 -0
- package/www/build/p-d83eee10.entry.js +1 -0
- package/www/build/p-db5863cf.entry.js +1 -0
- package/www/build/p-e1879b27.js +1 -0
- package/www/build/p-e1f1f39e.entry.js +1 -0
- package/www/build/p-e29fe790.entry.js +1 -0
- package/www/build/p-ea943cbd.css +1 -0
- package/www/build/p-ebcad010.entry.js +1 -0
- package/www/build/p-f113a03a.entry.js +1 -0
- package/www/build/p-f3354152.entry.js +1 -0
- package/www/build/p-f77f6f60.entry.js +1 -0
- package/www/build/p-f8446b1e.entry.js +1 -0
- package/www/build/p-f90dd488.js +1 -0
- package/www/build/p-fc47897e.entry.js +1 -0
- package/www/build/p-fce08912.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/www/pages/notification.html +244 -244
- package/CHANGELOG.md +0 -1221
- 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/shadow-css-c1ad5fdc.js +0 -383
- package/dist/web-components-library/z-aria-alert.entry.js +0 -14
- 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.entry.js +0 -35
- 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-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-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-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-menu-dropdown.entry.js +0 -56
- 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-body.entry.js +0 -15
- package/dist/web-components-library/z-myz-card-cover.entry.js +0 -18
- package/dist/web-components-library/z-myz-card-header.entry.js +0 -34
- package/dist/web-components-library/z-myz-card.entry.js +0 -37
- package/dist/web-components-library/z-myz-list.entry.js +0 -31
- 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 -123
- 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 -32
- 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 -84
- 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-typography.entry.js +0 -25
- 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/index-44936066.js +0 -2832
- package/www/build/shadow-css-c1ad5fdc.js +0 -383
- package/www/build/z-app-topbar.entry.js +0 -37
- package/www/build/z-body.entry.js +0 -13
- package/www/build/z-button-filter.entry.js +0 -45
- package/www/build/z-button.entry.js +0 -35
- package/www/build/z-contextual-menu.entry.js +0 -36
- 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-heading.entry.js +0 -13
- package/www/build/z-icon.entry.js +0 -24
- 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-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-menu-dropdown.entry.js +0 -56
- 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.entry.js +0 -37
- package/www/build/z-myz-list.entry.js +0 -31
- 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 -123
- package/www/build/z-registro-table-body.entry.js +0 -20
- package/www/build/z-registro-table-cell.entry.js +0 -32
- package/www/build/z-registro-table-empty-box.entry.js +0 -24
- 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 -84
- 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-typography.entry.js +0 -25
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, f as createEvent, h, g as getElement } from './index-44936066.js';
|
|
2
|
-
import { I as InputTypeEnum } from './index-08d9a3bf.js';
|
|
3
|
-
import { r as randomId } from './utils-2e0fffb8.js';
|
|
4
|
-
import './breakpoints-14432d05.js';
|
|
5
|
-
|
|
6
|
-
const stylesCss = ".sc-z-input-h{display:inline-block;width:inherit}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input,.textareaWrapper.sc-z-input,ul[role=\"listbox\"].sc-z-input{background:var(--color-input-field01);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--color-surface04);box-sizing:border-box;color:var(--color-text02);fill:var(--color-icon02);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:var(--font-size-3);outline:none}input.sc-z-input:focus:focus-visible,li[role=\"option\"].sc-z-input:focus:focus-visible,.focus.sc-z-input{box-shadow:var(--shadow-focus-primary)}.filled.sc-z-input{border-color:var(--color-surface05)}.istyping.sc-z-input,.focus.istyping.sc-z-input,.input_selecting.sc-z-input{border-color:var(--color-primary01);color:var(--color-primary01)}.input_success.sc-z-input,.input_success.sc-z-input:hover,.input_success.hover.sc-z-input{background:var(--color-success-inverse);border-color:var(--color-success01);fill:var(--color-success01)}.input_error.sc-z-input,.input_error.sc-z-input:hover,.input_error.hover.sc-z-input{background:var(--color-error-inverse);border-color:var(--color-error01);fill:var(--color-error01)}.input_warning.sc-z-input,.input_warning.sc-z-input:hover,.input_warning.hover.sc-z-input{background:var(--color-warning-inverse);border-color:var(--color-warning01);fill:var(--color-warning01)}input[readonly].sc-z-input,.readonly.sc-z-input{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}input.sc-z-input:disabled,.disabled.sc-z-input,.filled.sc-z-input:disabled{border-color:var(--color-disabled01);color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none;box-shadow:none}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-text05)}.sc-z-input::-webkit-input-placeholder,.sc-z-input::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input:-ms-input-placeholder,.sc-z-input:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input::-moz-placeholder{color:var(--color-text05)}.sc-z-input:-moz-placeholder{color:var(--color-text05)}.textWrapper.sc-z-input>div.sc-z-input{fill:var(--color-icon02)}.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);margin:0;padding:0 calc(var(--space-unit) * 4.5) 0 calc(var(--space-unit) * 1.5);box-sizing:border-box}.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.sc-z-input,.textWrapper.sc-z-input>div.sc-z-input>input.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 4)}.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 7)}.textWrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1}.textWrapper.sc-z-input .iconsWrapper.sc-z-input{position:absolute;bottom:calc(var(--space-unit) * 1.5);right:calc(var(--space-unit) * 1.5);display:flex;z-index:2}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>z-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block;margin-left:calc(var(--space-unit) * 0.5)}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>z-icon.resetIcon.sc-z-input,.textWrapper.sc-z-input .iconsWrapper.sc-z-input>z-icon.showHidePasswordIcon.sc-z-input{cursor:pointer}.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:hover,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:focus,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:active{-webkit-background-clip:text !important}.textareaWrapper.sc-z-input{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input::-webkit-scrollbar{background:linear-gradient(\r\n to right,\r\n transparent 0 3px,\r\n var(--gray200) 3px 7px,\r\n transparent 7px 10px\r\n );width:10px;border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input{min-height:132px;width:100%;margin:0;padding:0;border:none;resize:none}.radioWrapper.sc-z-input,.checkboxWrapper.sc-z-input{display:inline-flex;flex-direction:row;align-items:center;font-family:var(--font-family-sans);position:relative;color:var(--color-text01);fill:var(--color-primary01)}.radioWrapper.sc-z-input:hover,.checkboxWrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:currentColor}.radioWrapper.sc-z-input>input.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input{position:absolute;opacity:0;z-index:-1;pointer-events:none}.radioWrapper.sc-z-input .radioLabel.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.sc-z-input{display:inline-flex;align-items:center;margin:0;line-height:1;color:inherit;font-family:inherit;font-weight:inherit;font-size:inherit;text-transform:inherit}.radioWrapper.sc-z-input input.sc-z-input:not(:disabled)+.radioLabel.sc-z-input,.checkboxWrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkboxLabel.sc-z-input{cursor:pointer}.radioWrapper.sc-z-input .radioLabel.sc-z-input z-icon.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.sc-z-input z-icon.sc-z-input{fill:inherit;cursor:pointer}.radioWrapper.sc-z-input .radioLabel.after.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.after.sc-z-input{flex-direction:row}.radioWrapper.sc-z-input .radioLabel.before.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.before.sc-z-input{flex-direction:row-reverse}.radioWrapper.sc-z-input .radioLabel.after.sc-z-input>span.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radioWrapper.sc-z-input .radioLabel.before.sc-z-input>span.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}.radioWrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radioLabel.sc-z-input>z-icon.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkboxLabel.sc-z-input>z-icon.sc-z-input{box-shadow:var(--shadow-focus-primary);border-radius:var(--border-radius-small)}.radioWrapper.sc-z-input>input.sc-z-input:disabled+.radioLabel.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:disabled+.checkboxLabel.sc-z-input{color:var(--color-disabled02)}.radioWrapper.sc-z-input>input.sc-z-input:disabled+.radioLabel.sc-z-input>z-icon.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:disabled+.checkboxLabel.sc-z-input>z-icon.sc-z-input{fill:var(--color-disabled01);cursor:default}";
|
|
7
|
-
|
|
8
|
-
const ZInput = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.inputChange = createEvent(this, "inputChange", 7);
|
|
12
|
-
this.startTyping = createEvent(this, "startTyping", 7);
|
|
13
|
-
this.stopTyping = createEvent(this, "stopTyping", 7);
|
|
14
|
-
this.inputCheck = createEvent(this, "inputCheck", 7);
|
|
15
|
-
this.optionSelect = createEvent(this, "optionSelect", 7);
|
|
16
|
-
/** the id of the input element */
|
|
17
|
-
this.htmlid = `id-${randomId()}`;
|
|
18
|
-
/** the input is disabled */
|
|
19
|
-
this.disabled = false;
|
|
20
|
-
/** the input is readonly */
|
|
21
|
-
this.readonly = false;
|
|
22
|
-
/** the input is required (optional): available for text, password, number, email, textarea, checkbox */
|
|
23
|
-
this.required = false;
|
|
24
|
-
/** checked: available for checkbox, radio */
|
|
25
|
-
this.checked = false;
|
|
26
|
-
/** show input helper message (optional): available for text, password, number, email, textarea, select */
|
|
27
|
-
this.hasmessage = true;
|
|
28
|
-
/** the input label position: available for checkbox, radio */
|
|
29
|
-
this.labelafter = true;
|
|
30
|
-
/** timeout setting before trigger `inputChange` event (optional): available for text, textarea */
|
|
31
|
-
this.typingtimeout = 300;
|
|
32
|
-
/** multiple options can be selected (optional): available for select */
|
|
33
|
-
this.multiple = false;
|
|
34
|
-
/** render clear icon when typing (optional): available for text */
|
|
35
|
-
this.hasclearicon = true;
|
|
36
|
-
this.isTyping = false;
|
|
37
|
-
this.textareaWrapperHover = "";
|
|
38
|
-
this.textareaWrapperFocus = "";
|
|
39
|
-
this.passwordHidden = true;
|
|
40
|
-
}
|
|
41
|
-
inputCheckListener(e) {
|
|
42
|
-
const data = e.detail;
|
|
43
|
-
switch (this.type) {
|
|
44
|
-
case InputTypeEnum.radio:
|
|
45
|
-
if (data.type === InputTypeEnum.radio &&
|
|
46
|
-
data.name === this.name &&
|
|
47
|
-
data.id !== this.htmlid) {
|
|
48
|
-
this.checked = false;
|
|
49
|
-
}
|
|
50
|
-
default:
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
/** get the input value */
|
|
55
|
-
async getValue() {
|
|
56
|
-
switch (this.type) {
|
|
57
|
-
case InputTypeEnum.select:
|
|
58
|
-
return this.selectElem.getValue();
|
|
59
|
-
default:
|
|
60
|
-
return this.value;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
/** set the input value */
|
|
64
|
-
async setValue(value) {
|
|
65
|
-
switch (this.type) {
|
|
66
|
-
case InputTypeEnum.select:
|
|
67
|
-
this.selectElem.setValue(value);
|
|
68
|
-
break;
|
|
69
|
-
default:
|
|
70
|
-
if (typeof value === "string")
|
|
71
|
-
this.value = value;
|
|
72
|
-
break;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
/** get checked status */
|
|
76
|
-
async isChecked() {
|
|
77
|
-
switch (this.type) {
|
|
78
|
-
case InputTypeEnum.checkbox:
|
|
79
|
-
case InputTypeEnum.radio:
|
|
80
|
-
return this.checked;
|
|
81
|
-
default:
|
|
82
|
-
return false;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
emitInputChange(value, keycode) {
|
|
86
|
-
if (!this.isTyping) {
|
|
87
|
-
this.emitStartTyping();
|
|
88
|
-
}
|
|
89
|
-
let validity = {};
|
|
90
|
-
if (this.type === InputTypeEnum.textarea) {
|
|
91
|
-
validity = this.getValidity("textarea");
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
validity = this.getValidity("input");
|
|
95
|
-
}
|
|
96
|
-
this.value = value;
|
|
97
|
-
this.inputChange.emit({ value, keycode, validity });
|
|
98
|
-
clearTimeout(this.timer);
|
|
99
|
-
this.timer = setTimeout(() => {
|
|
100
|
-
this.emitStopTyping(this.value, validity);
|
|
101
|
-
}, this.typingtimeout);
|
|
102
|
-
}
|
|
103
|
-
emitStartTyping() {
|
|
104
|
-
this.isTyping = true;
|
|
105
|
-
this.startTyping.emit();
|
|
106
|
-
}
|
|
107
|
-
emitStopTyping(value, validity) {
|
|
108
|
-
this.isTyping = false;
|
|
109
|
-
this.stopTyping.emit({
|
|
110
|
-
value: value,
|
|
111
|
-
validity: validity,
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
emitInputCheck(checked) {
|
|
115
|
-
this.inputCheck.emit({
|
|
116
|
-
id: this.htmlid,
|
|
117
|
-
checked: checked,
|
|
118
|
-
type: this.type,
|
|
119
|
-
name: this.name,
|
|
120
|
-
value: this.value,
|
|
121
|
-
validity: this.getValidity("input"),
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
getValidity(type) {
|
|
125
|
-
const input = this.hostElement.querySelector(type);
|
|
126
|
-
return input.validity;
|
|
127
|
-
}
|
|
128
|
-
/* START text/password/email/number */
|
|
129
|
-
getTextAttributes() {
|
|
130
|
-
const attr = {
|
|
131
|
-
id: this.htmlid,
|
|
132
|
-
name: this.name,
|
|
133
|
-
placeholder: this.placeholder,
|
|
134
|
-
value: this.value,
|
|
135
|
-
disabled: this.disabled,
|
|
136
|
-
readonly: this.readonly,
|
|
137
|
-
required: this.required,
|
|
138
|
-
title: this.htmltitle,
|
|
139
|
-
class: [
|
|
140
|
-
`input_${this.status || "default"}`,
|
|
141
|
-
this.isTyping && "istyping",
|
|
142
|
-
!this.isTyping && this.value && "filled",
|
|
143
|
-
]
|
|
144
|
-
.filter(Boolean)
|
|
145
|
-
.join(" "),
|
|
146
|
-
onInput: (e) => this.emitInputChange(e.target.value, e.keyCode),
|
|
147
|
-
};
|
|
148
|
-
if (this.autocomplete) {
|
|
149
|
-
attr["autocomplete"] = this.autocomplete;
|
|
150
|
-
}
|
|
151
|
-
return attr;
|
|
152
|
-
}
|
|
153
|
-
renderInputText(type = InputTypeEnum.text) {
|
|
154
|
-
const attr = this.getTextAttributes();
|
|
155
|
-
if (this.icon || type === InputTypeEnum.password) {
|
|
156
|
-
attr.class += " hasIcon";
|
|
157
|
-
}
|
|
158
|
-
if (this.hasclearicon) {
|
|
159
|
-
attr.class += " hasClearIcon";
|
|
160
|
-
}
|
|
161
|
-
return (h("div", { class: "textWrapper" }, this.renderLabel(), h("div", null, h("input", Object.assign({ type: type === InputTypeEnum.password && !this.passwordHidden
|
|
162
|
-
? InputTypeEnum.text
|
|
163
|
-
: type }, attr, { "aria-label": this.ariaLabel || this.label })), this.renderIcons()), this.renderMessage()));
|
|
164
|
-
}
|
|
165
|
-
renderLabel() {
|
|
166
|
-
if (!this.label)
|
|
167
|
-
return;
|
|
168
|
-
return (h("z-input-label", { htmlfor: this.htmlid, value: this.label, disabled: this.disabled, "aria-label": this.label, id: `${this.htmlid}_label` }));
|
|
169
|
-
}
|
|
170
|
-
renderIcons() {
|
|
171
|
-
return (h("span", { class: {
|
|
172
|
-
iconsWrapper: true,
|
|
173
|
-
disabled: this.disabled,
|
|
174
|
-
} }, this.renderResetIcon(), this.renderIcon()));
|
|
175
|
-
}
|
|
176
|
-
renderIcon() {
|
|
177
|
-
if (this.type === InputTypeEnum.password) {
|
|
178
|
-
return this.renderShowHidePassword();
|
|
179
|
-
}
|
|
180
|
-
if (!this.icon)
|
|
181
|
-
return;
|
|
182
|
-
return h("z-icon", { class: "inputIcon", name: this.icon });
|
|
183
|
-
}
|
|
184
|
-
renderResetIcon() {
|
|
185
|
-
if (!this.hasclearicon || !this.value || this.disabled || this.readonly)
|
|
186
|
-
return;
|
|
187
|
-
return (h("z-icon", { class: "resetIcon", name: "multiply", onClick: (e) => this.emitInputChange("", e.keyCode) }));
|
|
188
|
-
}
|
|
189
|
-
renderShowHidePassword() {
|
|
190
|
-
return (h("z-icon", { class: "showHidePasswordIcon", name: this.passwordHidden ? "view-filled" : "view-off-filled", onClick: () => (this.passwordHidden = !this.passwordHidden) }));
|
|
191
|
-
}
|
|
192
|
-
renderMessage() {
|
|
193
|
-
if (!this.hasmessage)
|
|
194
|
-
return;
|
|
195
|
-
return h("z-input-message", { message: this.message, status: this.status });
|
|
196
|
-
}
|
|
197
|
-
/* END text/password/email/number */
|
|
198
|
-
/* START textarea */
|
|
199
|
-
renderTextarea() {
|
|
200
|
-
const attributes = this.getTextAttributes();
|
|
201
|
-
return (h("div", { class: "textWrapper" }, this.renderLabel(), h("div", { class: [
|
|
202
|
-
"textareaWrapper",
|
|
203
|
-
attributes.class,
|
|
204
|
-
attributes.disabled && "disabled",
|
|
205
|
-
attributes.readonly && "readonly",
|
|
206
|
-
this.isTyping && "istyping",
|
|
207
|
-
this.textareaWrapperFocus,
|
|
208
|
-
this.textareaWrapperHover,
|
|
209
|
-
]
|
|
210
|
-
.filter(Boolean)
|
|
211
|
-
.join(" ") }, h("textarea", Object.assign({}, attributes, { onFocus: () => (this.textareaWrapperFocus = "focus"), onBlur: () => (this.textareaWrapperFocus = ""), onMouseOver: () => (this.textareaWrapperHover = "hover"), onMouseOut: () => (this.textareaWrapperHover = ""), "aria-label": this.ariaLabel || this.label }))), this.renderMessage()));
|
|
212
|
-
}
|
|
213
|
-
/* END textarea */
|
|
214
|
-
handleCheck(ev) {
|
|
215
|
-
this.checked = ev.target.checked;
|
|
216
|
-
this.emitInputCheck(this.checked);
|
|
217
|
-
}
|
|
218
|
-
/* START checkbox */
|
|
219
|
-
renderCheckbox() {
|
|
220
|
-
return (h("div", { class: "checkboxWrapper" }, h("input", { id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }), h("label", { htmlFor: this.htmlid, class: {
|
|
221
|
-
checkboxLabel: true,
|
|
222
|
-
after: this.labelafter,
|
|
223
|
-
before: !this.labelafter,
|
|
224
|
-
} }, h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": "true" }), this.label && h("span", { innerHTML: this.label }))));
|
|
225
|
-
}
|
|
226
|
-
/* END checkbox */
|
|
227
|
-
/* START radio */
|
|
228
|
-
renderRadio() {
|
|
229
|
-
return (h("div", { class: "radioWrapper" }, h("input", { id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: this.handleCheck.bind(this), value: this.value }), h("label", { htmlFor: this.htmlid, class: {
|
|
230
|
-
radioLabel: true,
|
|
231
|
-
after: this.labelafter,
|
|
232
|
-
before: !this.labelafter,
|
|
233
|
-
} }, h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": "true" }), this.label && h("span", { innerHTML: this.label }))));
|
|
234
|
-
}
|
|
235
|
-
/* END radio */
|
|
236
|
-
/* START select */
|
|
237
|
-
renderSelect() {
|
|
238
|
-
return (h("z-select", { htmlid: this.htmlid, items: this.items, name: this.name, label: this.label, "aria-label": this.ariaLabel, disabled: this.disabled, readonly: this.readonly, placeholder: this.placeholder, htmltitle: this.htmltitle, status: this.status, hasmessage: this.hasmessage, message: this.message, autocomplete: this.autocomplete, multiple: this.multiple, ref: (el) => (this.selectElem = el) }));
|
|
239
|
-
}
|
|
240
|
-
/* END select */
|
|
241
|
-
render() {
|
|
242
|
-
switch (this.type) {
|
|
243
|
-
case InputTypeEnum.text:
|
|
244
|
-
case InputTypeEnum.password:
|
|
245
|
-
case InputTypeEnum.number:
|
|
246
|
-
case InputTypeEnum.email:
|
|
247
|
-
return this.renderInputText(this.type);
|
|
248
|
-
case InputTypeEnum.textarea:
|
|
249
|
-
return this.renderTextarea();
|
|
250
|
-
case InputTypeEnum.checkbox:
|
|
251
|
-
return this.renderCheckbox();
|
|
252
|
-
case InputTypeEnum.radio:
|
|
253
|
-
return this.renderRadio();
|
|
254
|
-
case InputTypeEnum.select:
|
|
255
|
-
return this.renderSelect();
|
|
256
|
-
default:
|
|
257
|
-
return this.renderInputText();
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
get hostElement() { return getElement(this); }
|
|
261
|
-
};
|
|
262
|
-
ZInput.style = stylesCss;
|
|
263
|
-
|
|
264
|
-
export { ZInput as z_input };
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, f as createEvent, h, e as Host, g as getElement } from './index-44936066.js';
|
|
2
|
-
import { E as ExpandableListButtonAlign, n as ListDividerType, o as DividerSize, p as ExpandableListStyle, m as ListSize, K as KeyboardKeys } from './index-08d9a3bf.js';
|
|
3
|
-
|
|
4
|
-
const stylesCss = ":host{outline:none}:host>.container,:host>.container-contextual-menu{--background-color-list-element:var(--bg-white);--background-hover-color-list-element:var(--color-surface02);--background-active-color-list-element:var(--color-surface02);font-family:var(--font-family-sans);font-weight:var(--font-rg);outline:none;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box}:host([size=\"small\"])>.container{padding:calc(var(--space-unit) / 2) 0;min-height:calc(var(--space-unit) * 4)}:host([size=\"medium\"])>.container{padding:var(--space-unit) 0;min-height:calc(var(--space-unit) * 5)}:host([size=\"large\"])>.container{padding:calc(var(--space-unit) * 2) 0;min-height:calc(var(--space-unit) * 7)}:host([size=\"x-large\"])>.container{padding:calc(var(--space-unit) * 3) 0;min-height:calc(var(--space-unit) * 9)}:host([expandable])>.container,:host([expandable])>.container-contextual-menu,:host([clickable])>.container,:host([clickable])>.container-contextual-menu{cursor:pointer}:host([expandable]:hover)>.container,:host([expandable]:hover)>.container-contextual-menu,:host([clickable]:hover)>.container,:host([clickable]:hover)>.container-contextual-menu{background-color:var(--background-hover-color-list-element)}:host([expandable]:focus:focus-visible)>.container,:host([expandable]:focus:focus-visible)>.container-contextual-menu,:host([clickable]:focus:focus-visible)>.container,:host([clickable]:focus:focus-visible)>.container-contextual-menu{box-shadow:var(--shadow-focus-primary)}:host([expandable]:active)>.container,:host([expandable]:active)>.container-contextual-menu,:host([clickable]:active)>.container,:host([clickable]:active)>.container-contextual-menu{background-color:var(--background-active-color-list-element)}:host([align-button=\"left\"][expandable])>.container>.z-list-element-container,:host([align-button=\"left\"][expandable])>.container-contextual-menu>.z-list-element-container{display:flex}:host([align-button=\"right\"][expandable])>.container>.z-list-element-container,:host([align-button=\"right\"][expandable])>.container-contextual-menu>.z-list-element-container{display:flex;flex-direction:row-reverse;justify-content:space-between}:host([align-button=\"left\"][expandable])>.container>.z-list-element-container>z-icon,:host([align-button=\"left\"][expandable])>.container-contextual-menu>.z-list-element-container>z-icon{margin-right:var(--space-unit)}:host([align-button=\"right\"][expandable])>.container>.z-list-element-container>z-icon,:host([align-button=\"right\"][expandable])>.container-contextual-menu>.z-list-element-container>z-icon{margin-left:var(--space-unit)}:host>.container>.z-list-element-inner-container,:host>.container-contextual-menu>.z-list-element-inner-container{display:none}:host>.container>.z-list-element-inner-container.expanded,:host>.container-contextual-menu>.z-list-element-inner-container.expanded{display:block}:host([clickable]:hover)>.container-contextual-menu{background-color:var(--color-surface03)}.container-contextual-menu:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}";
|
|
5
|
-
|
|
6
|
-
const ZListElement = class {
|
|
7
|
-
/**
|
|
8
|
-
* Constructor.
|
|
9
|
-
*/
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
registerInstance(this, hostRef);
|
|
12
|
-
this.accessibleFocus = createEvent(this, "accessibleFocus", 7);
|
|
13
|
-
this.clickItem = createEvent(this, "clickItem", 7);
|
|
14
|
-
/**
|
|
15
|
-
* [optional] Align expandable button left or right.
|
|
16
|
-
*/
|
|
17
|
-
this.alignButton = ExpandableListButtonAlign.left;
|
|
18
|
-
/**
|
|
19
|
-
* [optional] Sets element clickable.
|
|
20
|
-
*/
|
|
21
|
-
this.clickable = false;
|
|
22
|
-
/**
|
|
23
|
-
* [optional] Sets the divider color.
|
|
24
|
-
*/
|
|
25
|
-
this.dividerColor = "color-surface03";
|
|
26
|
-
/**
|
|
27
|
-
* [optional] Sets the position where to insert the divider.
|
|
28
|
-
*/
|
|
29
|
-
this.dividerType = ListDividerType.none;
|
|
30
|
-
/**
|
|
31
|
-
* [optional] Sets the divider size.
|
|
32
|
-
*/
|
|
33
|
-
this.dividerSize = DividerSize.small;
|
|
34
|
-
/**
|
|
35
|
-
* [optional] Sets element as expandable.
|
|
36
|
-
*/
|
|
37
|
-
this.expandable = false;
|
|
38
|
-
/**
|
|
39
|
-
* [optional] Sets expandable style to element.
|
|
40
|
-
*/
|
|
41
|
-
this.expandableStyle = ExpandableListStyle.accordion;
|
|
42
|
-
/**
|
|
43
|
-
* [optional] Sets size of inside elements.
|
|
44
|
-
*/
|
|
45
|
-
this.size = ListSize.medium;
|
|
46
|
-
/**
|
|
47
|
-
* [optional] Sets text color of the element.
|
|
48
|
-
*/
|
|
49
|
-
this.color = "none";
|
|
50
|
-
/**
|
|
51
|
-
* [optional] Sets disabled style of the element.
|
|
52
|
-
*/
|
|
53
|
-
this.disabled = false;
|
|
54
|
-
/**
|
|
55
|
-
* [optional] If is used in ZContextualMenu component
|
|
56
|
-
*/
|
|
57
|
-
this.isContextualMenu = false;
|
|
58
|
-
this.showInnerContent = false;
|
|
59
|
-
this.openElementConfig = {
|
|
60
|
-
accordion: {
|
|
61
|
-
open: "minus-circled",
|
|
62
|
-
close: "plus-circled",
|
|
63
|
-
},
|
|
64
|
-
menu: {
|
|
65
|
-
open: "chevron-up",
|
|
66
|
-
close: "chevron-down",
|
|
67
|
-
},
|
|
68
|
-
};
|
|
69
|
-
this.handleClick = this.handleClick.bind(this);
|
|
70
|
-
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
71
|
-
}
|
|
72
|
-
accessibleFocusHandler(e) {
|
|
73
|
-
if (this.listElementId === e.detail) {
|
|
74
|
-
const toFocus = this.host.shadowRoot.getElementById(`z-list-element-id-${e.detail}`);
|
|
75
|
-
toFocus.focus();
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Handler for click on element. If element is expandable, change state.
|
|
80
|
-
* @returns void
|
|
81
|
-
*/
|
|
82
|
-
handleClick() {
|
|
83
|
-
this.clickItem.emit(this.listElementId);
|
|
84
|
-
if (!this.expandable) {
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
this.showInnerContent = !this.showInnerContent;
|
|
88
|
-
}
|
|
89
|
-
calculateClass() {
|
|
90
|
-
if (this.isContextualMenu) {
|
|
91
|
-
return "container-contextual-menu";
|
|
92
|
-
}
|
|
93
|
-
return "container";
|
|
94
|
-
}
|
|
95
|
-
handleKeyDown(event) {
|
|
96
|
-
const expandByKey = event.code === KeyboardKeys.ENTER;
|
|
97
|
-
switch (event.code) {
|
|
98
|
-
case KeyboardKeys.ARROW_DOWN:
|
|
99
|
-
event.preventDefault();
|
|
100
|
-
this.accessibleFocus.emit(this.listElementId + 1);
|
|
101
|
-
break;
|
|
102
|
-
case KeyboardKeys.ARROW_UP:
|
|
103
|
-
event.preventDefault();
|
|
104
|
-
this.accessibleFocus.emit(this.listElementId - 1);
|
|
105
|
-
break;
|
|
106
|
-
case KeyboardKeys.ENTER:
|
|
107
|
-
event.preventDefault();
|
|
108
|
-
this.clickItem.emit(this.listElementId);
|
|
109
|
-
break;
|
|
110
|
-
default:
|
|
111
|
-
break;
|
|
112
|
-
}
|
|
113
|
-
if (!this.expandable || !expandByKey) {
|
|
114
|
-
return;
|
|
115
|
-
}
|
|
116
|
-
this.showInnerContent = !this.showInnerContent;
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Renders button to expand element.
|
|
120
|
-
* @returns expadable button
|
|
121
|
-
*/
|
|
122
|
-
renderExpandableButton() {
|
|
123
|
-
if (!this.expandable) {
|
|
124
|
-
return null;
|
|
125
|
-
}
|
|
126
|
-
return (h("z-icon", { name: this.showInnerContent
|
|
127
|
-
? this.openElementConfig[this.expandableStyle].open
|
|
128
|
-
: this.openElementConfig[this.expandableStyle].close }));
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Renders expanded content if element is expandable.
|
|
132
|
-
* @returns expanded content
|
|
133
|
-
*/
|
|
134
|
-
renderExpandedContent() {
|
|
135
|
-
if (!this.expandable) {
|
|
136
|
-
return null;
|
|
137
|
-
}
|
|
138
|
-
return (h("div", { class: {
|
|
139
|
-
"z-list-element-inner-container": true,
|
|
140
|
-
expanded: this.showInnerContent,
|
|
141
|
-
} }, h("slot", { name: "inner-content" })));
|
|
142
|
-
}
|
|
143
|
-
render() {
|
|
144
|
-
return (h(Host, { role: "listitem", "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: !this.isContextualMenu ? "0" : null }, h("div", { class: `${this.calculateClass()}`, style: { color: `var(--${this.color})` }, tabindex: this.isContextualMenu ? "0" : "-1", id: `z-list-element-id-${this.listElementId}` }, h("div", { class: "z-list-element-container" }, this.renderExpandableButton(), h("slot", null)), this.renderExpandedContent()), this.dividerType === ListDividerType.element && (h("z-divider", { color: this.dividerColor, size: this.dividerSize }))));
|
|
145
|
-
}
|
|
146
|
-
get host() { return getElement(this); }
|
|
147
|
-
};
|
|
148
|
-
ZListElement.style = stylesCss;
|
|
149
|
-
|
|
150
|
-
export { ZListElement as z_list_element };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host, g as getElement } from './index-44936066.js';
|
|
2
|
-
import { m as ListSize, n as ListDividerType, o as DividerSize } from './index-08d9a3bf.js';
|
|
3
|
-
|
|
4
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.z-list-group-header-container{color:var(--gray700);font-size:var(--font-size-2);font-weight:var(--font-sb) !important;line-height:1.4;letter-spacing:0.16px}:host>.z-list-group-header-container.has-header{padding-top:var(--space-unit);padding-bottom:var(--space-unit)}:host>.z-list-group-header-container.has-header>z-divider{margin-top:var(--space-unit)}";
|
|
5
|
-
|
|
6
|
-
const ZListGroup = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
/**
|
|
10
|
-
* [optional] Sets size of inside elements.
|
|
11
|
-
*/
|
|
12
|
-
this.size = ListSize.medium;
|
|
13
|
-
/**
|
|
14
|
-
* [optional] Sets the position where to insert the divider.
|
|
15
|
-
*/
|
|
16
|
-
this.dividerType = ListDividerType.none;
|
|
17
|
-
/**
|
|
18
|
-
* [optional] Sets the divider size.
|
|
19
|
-
*/
|
|
20
|
-
this.dividerSize = DividerSize.small;
|
|
21
|
-
/**
|
|
22
|
-
* [optional] Sets the divider color.
|
|
23
|
-
*/
|
|
24
|
-
this.dividerColor = "gray200";
|
|
25
|
-
}
|
|
26
|
-
componentDidLoad() {
|
|
27
|
-
const children = this.host.children;
|
|
28
|
-
for (let i = 0; i < children.length; i++) {
|
|
29
|
-
if (children.length - 1 > i) {
|
|
30
|
-
children[i].setAttribute("divider-type", this.dividerType);
|
|
31
|
-
children[i].setAttribute("divider-size", this.dividerSize);
|
|
32
|
-
children[i].setAttribute("divider-color", this.dividerColor);
|
|
33
|
-
}
|
|
34
|
-
children[i].setAttribute("size", this.size);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
componentWillLoad() {
|
|
38
|
-
this.hasHeader = !!this.host.querySelector('[slot="header-title"]');
|
|
39
|
-
}
|
|
40
|
-
render() {
|
|
41
|
-
return (h(Host, { role: "group" }, h("div", { class: {
|
|
42
|
-
"z-list-group-header-container": true,
|
|
43
|
-
"has-header": this.hasHeader,
|
|
44
|
-
} }, h("slot", { name: "header-title" }), this.dividerType === ListDividerType.header && (h("z-divider", { color: this.dividerColor, size: this.dividerSize }))), h("slot", null)));
|
|
45
|
-
}
|
|
46
|
-
get host() { return getElement(this); }
|
|
47
|
-
};
|
|
48
|
-
ZListGroup.style = stylesCss;
|
|
49
|
-
|
|
50
|
-
export { ZListGroup as z_list_group };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host, g as getElement } from './index-44936066.js';
|
|
2
|
-
import { m as ListSize } from './index-08d9a3bf.js';
|
|
3
|
-
|
|
4
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:flex;flex-direction:column}";
|
|
5
|
-
|
|
6
|
-
const ZList = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
/**
|
|
10
|
-
* [optional] Sets size of inside elements.
|
|
11
|
-
*/
|
|
12
|
-
this.size = ListSize.medium;
|
|
13
|
-
}
|
|
14
|
-
setChildrenSizeType() {
|
|
15
|
-
const children = this.host.children;
|
|
16
|
-
for (let i = 0; i < children.length - 1; i++) {
|
|
17
|
-
children[i].setAttribute("size", this.size);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
componentDidLoad() {
|
|
21
|
-
this.setChildrenSizeType();
|
|
22
|
-
}
|
|
23
|
-
render() {
|
|
24
|
-
return (h(Host, { role: "list" }, h("slot", null)));
|
|
25
|
-
}
|
|
26
|
-
get host() { return getElement(this); }
|
|
27
|
-
};
|
|
28
|
-
ZList.style = stylesCss;
|
|
29
|
-
|
|
30
|
-
export { ZList as z_list };
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-44936066.js';
|
|
2
|
-
import { k as keybordKeyCodeEnum } from './index-08d9a3bf.js';
|
|
3
|
-
import { b as getElementTree, d as getClickedElement, h as handleKeyboardSubmit } from './utils-2e0fffb8.js';
|
|
4
|
-
import './breakpoints-14432d05.js';
|
|
5
|
-
|
|
6
|
-
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:12px;height:32px;width:inherit;letter-spacing:0.17px}a,a:visited,a:active{color:inherit;text-decoration:none}:host>a{display:block;background:var(--bg-grey-050);color:var(--text-grey-800);border-radius:var(--border-radius);border:var(--border-size-small) solid transparent;outline:none}:host>a::-moz-focus-inner{border:0}:host>a:hover,:host>a.menu-opened:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host>a:focus{color:var(--myz-blue);fill:var(--myz-blue);border:var(--border-size-small) solid var(--myz-blue);box-shadow:0px 0px 2px 2px var(--myz-blue-light)}:host>a:active{color:var(--myz-blue-light);fill:var(--myz-blue-light);border:var(--border-size-small) solid var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}div.container{display:flex;align-items:center;justify-content:space-between;height:32px;position:relative;padding:0 var(--basex1)}div.container>span.user-wrapper{display:flex}div.container>span.user-wrapper>span.user{padding:0 var(--basex1);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer;width:30px}div.container>span.arrow{display:flex;justify-content:center;align-items:center}div.container>span.arrow>z-icon{transform:rotate(360deg);transition:all 200ms linear}ul{list-style:none;padding:0 calc(var(--space-unit) * 2);margin:0px}li{height:var(--basex3);display:flex;align-items:center;padding:calc(var(--space-unit) / 4) 0;width:max-content}.menu-opened{padding-bottom:calc(var(--space-unit) * 2);width:auto !important;min-width:147px;position:inherit}.menu-opened a,.menu-opened a:active,.menu-opened a:visited{color:var(--myz-blue);fill:var(--myz-blue)}.menu-opened a:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}.menu-opened>div.container{margin-bottom:var(--basex1)}.menu-opened>div.container>span.user-wrapper>span.user{width:auto}.menu-opened>div.container>span.arrow>z-icon{transform:rotate(180deg);transition:all 200ms linear}@media only screen and (min-width: 1152px){:host>a{width:147px;padding:0 calc(var(--space-unit) / 4)}:host>a.menu-opened{width:147px;padding-bottom:calc(var(--space-unit) * 2)}div.container>span.user-wrapper>span.user{width:80px}}";
|
|
7
|
-
|
|
8
|
-
const ZMenuDropdown = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.ismenuopen = false;
|
|
12
|
-
this.handleToggle = this.handleToggle.bind(this);
|
|
13
|
-
this.handleFocus = this.handleFocus.bind(this);
|
|
14
|
-
}
|
|
15
|
-
componentWillRender() {
|
|
16
|
-
this.linkarray =
|
|
17
|
-
typeof this.menucontent === "string"
|
|
18
|
-
? JSON.parse(this.menucontent)
|
|
19
|
-
: this.menucontent;
|
|
20
|
-
}
|
|
21
|
-
renderMenuOpen() {
|
|
22
|
-
if (this.ismenuopen) {
|
|
23
|
-
return (h("ul", null, this.linkarray.map(bean => (h("li", null, h("z-link", { htmlid: bean.id, href: bean.link, icon: bean.icon }, bean.label))))));
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
renderButtonMenu() {
|
|
27
|
-
return (h("span", { class: "arrow" }, h("z-icon", { name: "caret-down", width: 14, height: 14 })));
|
|
28
|
-
}
|
|
29
|
-
retriveMenuClass() {
|
|
30
|
-
if (this.ismenuopen)
|
|
31
|
-
return "menu-opened";
|
|
32
|
-
}
|
|
33
|
-
handleToggle() {
|
|
34
|
-
this.ismenuopen = !this.ismenuopen;
|
|
35
|
-
}
|
|
36
|
-
handleFocus(e) {
|
|
37
|
-
if (e instanceof KeyboardEvent && e.keyCode !== keybordKeyCodeEnum.TAB)
|
|
38
|
-
return;
|
|
39
|
-
const tree = getElementTree(getClickedElement());
|
|
40
|
-
const menuParent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-menu-dropdown");
|
|
41
|
-
if (!menuParent) {
|
|
42
|
-
document.removeEventListener("click", this.handleFocus);
|
|
43
|
-
document.removeEventListener("keyup", this.handleFocus);
|
|
44
|
-
this.ismenuopen = false;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
render() {
|
|
48
|
-
return (h("a", { class: this.retriveMenuClass(), role: "button", tabindex: "0", onFocus: () => {
|
|
49
|
-
document.addEventListener("click", this.handleFocus);
|
|
50
|
-
document.addEventListener("keyup", this.handleFocus);
|
|
51
|
-
}, onKeyUp: (e) => handleKeyboardSubmit(e, this.handleToggle) }, h("div", { class: "container", onClick: () => this.handleToggle() }, h("span", { class: "user-wrapper" }, h("z-icon", { name: "user-avatar", width: 14, height: 14 }), h("span", { class: "user" }, this.nomeutente)), this.renderButtonMenu()), this.renderMenuOpen()));
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
ZMenuDropdown.style = stylesCss;
|
|
55
|
-
|
|
56
|
-
export { ZMenuDropdown as z_menu_dropdown };
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, f as createEvent, h, g as getElement } from './index-44936066.js';
|
|
2
|
-
import { d as InputStatusEnum, B as ButtonVariantEnum } from './index-08d9a3bf.js';
|
|
3
|
-
|
|
4
|
-
const stylesCss = ".sc-z-modal-login-h{font-family:var(--dashboard-font);font-weight:var(--font-rg)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login{color:var(--text-grey-800);padding:calc(var(--space-unit) * 4) calc(var(--space-unit) * 2)\r\n calc(var(--space-unit) * 3) calc(var(--space-unit) * 2);box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch}z-button.sc-z-modal-login,z-input.sc-z-modal-login,.sc-z-modal-login-s>z-button,.sc-z-modal-login-s>z-input{display:inline-block;width:100%}z-link.sc-z-modal-login,.sc-z-modal-login-s>z-link{font-size:12px}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch}div.wrapper>form>div.username.sc-z-modal-login-s>z-input,div.wrapper>form>div.password.sc-z-modal-login-s>z-input,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.username.sc-z-modal-login z-input.sc-z-modal-login,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.password.sc-z-modal-login z-input.sc-z-modal-login{margin-bottom:var(--space-unit)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>z-link.forget.sc-z-modal-login{font-size:12px;align-self:flex-end}div.wrapper>form>div.login.sc-z-modal-login-s>z-button,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.login.sc-z-modal-login z-button.sc-z-modal-login{margin:calc(var(--space-unit) * 3) 0;align-self:flex-start}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>hr.sc-z-modal-login{width:100%;margin-bottom:calc(var(--space-unit) * 3);border:none;border-top:var(--border-size-medium) solid var(--bg-grey-200);margin-block-start:unset}div.wrapper>div.signup.sc-z-modal-login-s>z-button,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.signup.sc-z-modal-login z-button.sc-z-modal-login{display:inline-block;margin:calc(var(--space-unit) * 2) 0}.sc-z-modal-login-h div.providers.sc-z-modal-login{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;gap:calc(var(--space-unit) * 2) 0px}slot-fb[name=\"provider\"].sc-z-modal-login{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;gap:calc(var(--space-unit) * 2) 0px}.sc-z-modal-login-h div.providers.sc-z-modal-login>z-body.sc-z-modal-login{padding-top:calc(var(--space-unit) * 2)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.providers.sc-z-modal-login .zd.sc-z-modal-login{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.providers.sc-z-modal-login .zd.sc-z-modal-login>svg.sc-z-modal-login{margin-right:var(--space-unit)}@media only screen and (min-width: 768px){z-button.sc-z-modal-login,.sc-z-modal-login-s>z-button{width:initial}.sc-z-modal-login-h div.wrapper.sc-z-modal-login{width:396px;padding:calc(var(--space-unit) * 3)}.sc-z-modal-login-h div.providers.sc-z-modal-login{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;gap:var(--space-unit);justify-content:center;align-items:center}.sc-z-modal-login-h div.providers.sc-z-modal-login>z-body.sc-z-modal-login{grid-column-start:1;grid-column-end:3;padding-bottom:var(--space-unit)}.sc-z-modal-login-s>[slot=\"provider\"]{width:100%}slot-fb[name=\"provider\"].sc-z-modal-login{grid-column-start:1;grid-column-end:3;display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;gap:var(--space-unit);justify-content:center;align-items:center}slot-fb[name=\"provider\"].sc-z-modal-login>*.sc-z-modal-login{width:100%}}@media only screen and (min-width: 1366px){.sc-z-modal-login-h div.wrapper.sc-z-modal-login{width:477px;padding:calc(var(--space-unit) * 4)}}";
|
|
5
|
-
|
|
6
|
-
const zModalLogin = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.loginSubmit = createEvent(this, "loginSubmit", 7);
|
|
10
|
-
this.statusUpdate = createEvent(this, "statusUpdate", 7);
|
|
11
|
-
this.signupClick = createEvent(this, "signupClick", 7);
|
|
12
|
-
this.zainoDigitaleClick = createEvent(this, "zainoDigitaleClick", 7);
|
|
13
|
-
/** Login modal title */
|
|
14
|
-
this.heading = "Entra in MyZanichelli";
|
|
15
|
-
this.externalProviderCheck = false;
|
|
16
|
-
}
|
|
17
|
-
componentDidLoad() {
|
|
18
|
-
this.externalProviderCheck = !!this.hostElement.querySelectorAll('[slot="provider"]').length;
|
|
19
|
-
}
|
|
20
|
-
emitLoginSubmit() {
|
|
21
|
-
const usernameInput = this.hostElement.querySelector("z-input#username");
|
|
22
|
-
const passwordInput = this.hostElement.querySelector("z-input#password");
|
|
23
|
-
// INFO: slotted inputs
|
|
24
|
-
if (!usernameInput || !passwordInput)
|
|
25
|
-
return;
|
|
26
|
-
let username = usernameInput.value;
|
|
27
|
-
let password = passwordInput.value;
|
|
28
|
-
if (!username || !password) {
|
|
29
|
-
this.status = InputStatusEnum.error;
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
username = this.cleanUsername(username);
|
|
33
|
-
this.loginSubmit.emit({
|
|
34
|
-
username,
|
|
35
|
-
password,
|
|
36
|
-
originalUsername: usernameInput.value,
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
emitStatusUpdate(status) {
|
|
40
|
-
this.statusUpdate.emit(status);
|
|
41
|
-
}
|
|
42
|
-
emitSignupClick() {
|
|
43
|
-
this.signupClick.emit();
|
|
44
|
-
}
|
|
45
|
-
emitZainoDigitaleClick() {
|
|
46
|
-
this.zainoDigitaleClick.emit();
|
|
47
|
-
}
|
|
48
|
-
handleInputKeyUp(e) {
|
|
49
|
-
if (e.code !== "Enter")
|
|
50
|
-
return;
|
|
51
|
-
this.emitLoginSubmit();
|
|
52
|
-
}
|
|
53
|
-
handleInputChange() {
|
|
54
|
-
this.status = null;
|
|
55
|
-
this.emitStatusUpdate(this.status);
|
|
56
|
-
}
|
|
57
|
-
cleanUsername(username) {
|
|
58
|
-
username = username.trim().toLowerCase();
|
|
59
|
-
const mobileRegex = /^[+]?[\s./0-9]*[(]?[0-9]{1,4}[)]?[(]?[0-9]{1,4}[)]?[-\s./0-9]*$/g;
|
|
60
|
-
if (mobileRegex.test(username)) {
|
|
61
|
-
username = username.replace(/[- .)(]/g, "");
|
|
62
|
-
if (/^[\d ]*$/.test(username))
|
|
63
|
-
username = "+39" + username;
|
|
64
|
-
}
|
|
65
|
-
return username;
|
|
66
|
-
}
|
|
67
|
-
renderZainoDigitaleButton() {
|
|
68
|
-
return (h("z-button", { variant: ButtonVariantEnum.secondary, onClick: () => this.emitZainoDigitaleClick(), class: "zainoDigitale" }, h("div", { class: "zd" }, h("svg", { width: "18px", height: "24px", viewBox: "0 0 18 24" }, h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, h("g", { transform: "translate(-313.000000, -329.000000)", fill: "#E2001A", "fill-rule": "nonzero" }, h("g", { transform: "translate(25.000000, 191.000000)" }, h("g", null, h("g", { transform: "translate(0.000000, 100.000000)" }, h("g", null, h("g", { transform: "translate(276.000000, 28.000000)" }, h("path", { d: "M29.8953704,30.5632326 C29.9143039,30.3327754 29.5356326,30.0447041 29.1380277,29.8142469 C29.2516291,28.7963947 29.4409647,26.9719425 29.2705626,26.3189807 C29.0433598,25.416357 28.3428178,24.8018047 28.380685,23.822362 C28.4185521,22.8429193 28.1913493,16.5437582 27.0364017,15.1802202 C26.1654576,14.162368 25.4649156,12.8372396 23.4390239,12.2418921 C23.4390239,12.0498445 23.4390239,11.8770016 23.4200903,11.7425683 C23.3822232,10.9167637 21.9622056,10.090959 21.6214014,10.0525495 C21.2805972,10.01414 20.371786,9.95652568 20.0309818,10.0525495 C19.6901775,10.1293685 19.0464362,11.128016 18.7434992,11.4352922 C18.5920306,11.5889302 18.5541635,11.9538207 18.5730971,12.3187111 C17.437083,12.6836015 16.1306669,13.4325871 15.4490584,14.9497631 C14.2941108,17.676839 13.4799674,18.9251483 13.6693031,24.1680477 C13.5935688,25.1090809 13.2906318,25.6084046 13.1012961,25.6852237 C12.9119604,25.7620427 12.798359,25.9156808 12.7604919,26.1077284 C12.7226247,26.2805712 12.5522226,28.37389 12.7415583,29.8718612 C12.3818205,30.1023183 12.0788834,30.3519802 12.097817,30.5632326 C12.1546177,31.0625563 11.8516806,31.7731324 12.097817,32.0612038 C12.230352,32.2148419 12.7226247,32.5413228 13.3284989,32.8293942 C13.6125024,33.4631512 14.199443,33.9240655 15.467992,33.9816797 C18.1565586,34.0584988 26.2601254,33.8664512 26.5630625,33.9048607 C26.847066,33.9432702 28.4374857,34.0008845 28.683622,32.8293942 C29.2894962,32.5413228 29.781769,32.2148419 29.9143039,32.0612038 C30.1415067,31.7731324 29.8385697,31.0625563 29.8953704,30.5632326 Z M12.0319858,31.2 C12.1173988,31.1230769 12.3736379,31.0461538 12.743761,31 C12.857645,31.3230769 12.914587,31.6615385 13,32 C12.4021089,31.8153846 11.8611598,31.5692308 12.0319858,31.2 Z M21.1618497,12.8394441 C21.1618497,12.8394441 20.6763006,12.8165075 20,13 L20,12.9770634 C20,12.5642053 20.3121387,11.3256309 20.3988439,11.1192018 C20.4855491,10.9127728 21.265896,11.0274556 21.8554913,11.0733287 C22.6358382,11.0503922 22.4624277,11.2568212 22.8092486,11.9907912 C22.9306358,12.2889666 22.982659,12.6559516 23,13 C22.4797688,12.8623806 21.8728324,12.8165075 21.1618497,12.8394441 Z M28.3324094,30 C28.6648189,30.0833333 28.9085858,30.2222222 28.9750677,30.3888889 C29.1301921,31.1666667 28.5318551,31.6388889 28,32 C28.0221606,31.5 28.0664819,31.1111111 28.0664819,31.1111111 L28.2437669,30.6111111 L28.3324094,30 Z M21.8571429,23 L21.8571429,23.8 L22.7142857,23.8 L22.7142857,24.6 L23.5714286,24.6 L23.5714286,25.4 L24.4285714,25.4 L24.4285714,26.2 L25.2857143,26.2 L25.2857143,27 L26.1428571,27 L26.1428571,27.8 L27,27.8 L27,28.6 L24.4285714,28.6 L24.4285714,29.4 L25.2857143,29.4 L25.2857143,31 L24.4285714,31 L24.4285714,30.2 L23.5714286,30.2 L23.5714286,29.4 L22.7142857,29.4 L22.7142857,30.2 L21.8571429,30.2 L21.8571429,31 L21,31 L21,23 L21.8571429,23 Z" }))))))))), h("span", null, "ZAINO DIGITALE"))));
|
|
69
|
-
}
|
|
70
|
-
render() {
|
|
71
|
-
return (h("z-modal", { modaltitle: this.heading }, h("div", { class: "wrapper", slot: "modalContent" }, h("form", { method: "post" }, h("div", { class: "username" }, h("slot", { name: "username" }, h("z-input", { id: "username", label: "email o numero di cellulare", placeholder: "Inserisci l'email o il cellulare", autocomplete: "username", name: "username", status: this.status, message: this.message, onKeyUp: (e) => this.handleInputKeyUp(e), onInputChange: () => this.handleInputChange() }))), h("div", { class: "password" }, h("slot", { name: "password" }, h("z-input", { id: "password", label: "password", placeholder: "Inserisci la tua password", type: "password", name: "password", autocomplete: "current-password", status: this.status, message: this.pwdmessage, onKeyUp: (e) => this.handleInputKeyUp(e), onInputChange: () => this.handleInputChange() }))), h("z-link", { class: "forget", href: this.forgotPasswordUrl }, "Password dimenticata?"), h("div", { class: "login" }, h("slot", { name: "login" }, h("z-button", { variant: ButtonVariantEnum.primary, onClick: () => this.emitLoginSubmit() }, "Accedi")))), h("hr", null), h("z-body", { class: "signup", level: 4, variant: "semibold" }, "Non hai ancora un account?"), h("div", { class: "signup" }, h("slot", { name: "signup" }, h("z-button", { variant: ButtonVariantEnum.secondary, onClick: () => this.emitSignupClick() }, "Registrati"))), !this.externalProviderCheck && (h("div", { class: "providers" }, h("z-body", { class: "provider", level: 5, variant: "regular" }, "OPPURE ACCEDI CON:"), h("slot", { name: "provider" }, this.renderZainoDigitaleButton(), h("z-link", { icon: "informationsource", href: "https://www.zainodigitale.it/#/landing" }, "Cos'\u00E8 Zaino Digitale?")))))));
|
|
72
|
-
}
|
|
73
|
-
get hostElement() { return getElement(this); }
|
|
74
|
-
};
|
|
75
|
-
zModalLogin.style = stylesCss;
|
|
76
|
-
|
|
77
|
-
export { zModalLogin as z_modal_login };
|