@zanichelli/albe-web-components 6.2.0-a1 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-199cd650.js +346 -0
- package/dist/cjs/index-e3299e0a.js +34 -10
- package/dist/cjs/index.cjs.js +302 -346
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-7c92be74.js → utils-ce225fb3.js} +5 -4
- package/dist/cjs/{utils-f681590c.js → utils-ebe45309.js} +11 -10
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +0 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +53 -0
- package/dist/cjs/z-app-header_2.cjs.entry.js +153 -0
- package/dist/cjs/z-app-switcher.cjs.entry.js +29 -0
- package/dist/cjs/z-app-topbar.cjs.entry.js +41 -0
- package/dist/cjs/z-aria-alert.cjs.entry.js +3 -1
- package/dist/cjs/z-avatar.cjs.entry.js +8 -6
- package/dist/cjs/z-body_2.cjs.entry.js +2 -4
- package/dist/cjs/z-button-deprecated.cjs.entry.js +12 -6
- package/dist/cjs/z-button-filter.cjs.entry.js +3 -2
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/cjs/z-button.cjs.entry.js +9 -8
- package/dist/cjs/z-card.cjs.entry.js +6 -6
- package/dist/cjs/z-carousel.cjs.entry.js +10 -11
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +0 -2
- package/dist/cjs/z-chip.cjs.entry.js +6 -5
- package/dist/cjs/z-combobox.cjs.entry.js +17 -15
- package/dist/cjs/z-contextual-menu.cjs.entry.js +8 -2
- package/dist/cjs/z-cookiebar.cjs.entry.js +2 -4
- package/dist/cjs/z-cover-hero.cjs.entry.js +14 -6
- package/dist/cjs/z-date-picker.cjs.entry.js +17 -16
- package/dist/cjs/z-divider.cjs.entry.js +26 -0
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -2
- package/dist/cjs/z-file-upload.cjs.entry.js +11 -14
- package/dist/cjs/z-file.cjs.entry.js +2 -3
- package/dist/cjs/z-footer-link_3.cjs.entry.js +0 -5
- package/dist/cjs/z-footer.cjs.entry.js +2 -7
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +6 -2
- package/dist/cjs/z-input-deprecated.cjs.entry.js +29 -28
- package/dist/cjs/z-input-label_2.cjs.entry.js +36 -20
- package/dist/cjs/z-input_2.cjs.entry.js +253 -0
- package/dist/cjs/z-link.cjs.entry.js +74 -0
- package/dist/cjs/z-list_3.cjs.entry.js +226 -0
- package/dist/cjs/z-logo.cjs.entry.js +26 -0
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +3 -7
- package/dist/cjs/z-menu-section.cjs.entry.js +0 -3
- package/dist/cjs/z-menu.cjs.entry.js +10 -3
- package/dist/cjs/z-messages-pocket.cjs.entry.js +6 -6
- package/dist/cjs/z-modal-login.cjs.entry.js +5 -7
- package/dist/cjs/z-modal.cjs.entry.js +1 -3
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +6 -3
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +6 -8
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -3
- package/dist/cjs/z-myz-card-list.cjs.entry.js +0 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +9 -15
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -6
- package/dist/cjs/z-myz-topbar.cjs.entry.js +4 -14
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +16 -8
- package/dist/cjs/z-navigation-tab.cjs.entry.js +17 -7
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +14 -10
- package/dist/cjs/z-notification.cjs.entry.js +6 -3
- package/dist/cjs/z-offcanvas.cjs.entry.js +12 -4
- package/dist/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination-bar.cjs.entry.js +6 -5
- package/dist/cjs/z-pagination-page.cjs.entry.js +4 -2
- package/dist/cjs/z-pagination.cjs.entry.js +15 -7
- package/dist/cjs/z-panel-elem.cjs.entry.js +2 -7
- package/dist/cjs/z-pocket_3.cjs.entry.js +15 -15
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +15 -8
- package/dist/cjs/z-popover.cjs.entry.js +36 -38
- package/dist/cjs/{z-app-switcher_9.cjs.entry.js → z-range-picker.cjs.entry.js} +22 -464
- package/dist/cjs/z-section-title.cjs.entry.js +10 -2
- package/dist/cjs/z-skip-to-content.cjs.entry.js +4 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +4 -6
- package/dist/cjs/z-status-tag.cjs.entry.js +3 -5
- package/dist/cjs/z-stepper-item.cjs.entry.js +0 -4
- package/dist/cjs/z-table-cell.cjs.entry.js +4 -3
- package/dist/cjs/z-table-empty-box.cjs.entry.js +2 -0
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +0 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +0 -1
- package/dist/cjs/z-table-header.cjs.entry.js +16 -15
- package/dist/cjs/z-table-row.cjs.entry.js +6 -4
- package/dist/cjs/z-table.cjs.entry.js +12 -9
- package/dist/cjs/z-tag.cjs.entry.js +0 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +4 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +14 -17
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +7 -2
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +27 -39
- package/dist/cjs/z-tooltip.cjs.entry.js +7 -2
- package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -5
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/buttons/z-button/index.js +9 -8
- package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
- package/dist/collection/components/buttons/z-chip/index.js +5 -4
- package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +6 -1
- package/dist/collection/components/date-picker/utils.js +11 -10
- package/dist/collection/components/date-picker/z-date-picker/index.js +16 -15
- package/dist/collection/components/date-picker/z-range-picker/index.js +12 -15
- package/dist/collection/components/file-upload/z-file/index.js +2 -3
- package/dist/collection/components/file-upload/z-file-upload/index.js +10 -13
- package/dist/collection/components/footer/z-footer/index.js +2 -7
- package/dist/collection/components/footer/z-footer-link/index.js +0 -3
- package/dist/collection/components/footer/z-footer-section/index.js +0 -1
- package/dist/collection/components/footer/z-footer-social/index.js +0 -5
- package/dist/collection/components/icons/z-icon/index.js +0 -7
- package/dist/collection/components/index.js +8 -0
- package/dist/collection/components/indicators/z-stepper-item/index.js +0 -6
- package/dist/collection/components/inputs/z-combobox/index.js +16 -14
- package/dist/collection/components/inputs/z-input/index.js +37 -40
- package/dist/collection/components/inputs/z-input-message/index.js +0 -2
- package/dist/collection/components/inputs/z-select/index.js +50 -16
- package/dist/collection/components/inputs/z-select/styles.css +4 -0
- package/dist/collection/components/list/z-list/index.js +5 -1
- package/dist/collection/components/list/z-list-element/index.js +51 -18
- package/dist/collection/components/list/z-list-group/index.js +17 -4
- package/dist/collection/components/list/z-toast-notification-list/index.js +4 -1
- package/dist/collection/components/logo/z-logo/index.js +0 -8
- package/dist/collection/components/modal/z-modal/index.js +1 -3
- package/dist/collection/components/modal/z-modal-login/index.js +5 -7
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +17 -7
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +16 -8
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +14 -10
- package/dist/collection/components/navigation/z-app-header/index.js +29 -7
- package/dist/collection/components/navigation/z-app-switcher/index.js +3 -1
- package/dist/collection/components/navigation/z-app-topbar/index.js +5 -8
- package/dist/collection/components/navigation/z-link/index.js +9 -3
- package/dist/collection/components/navigation/z-menu/index.js +10 -3
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +2 -4
- package/dist/collection/components/navigation/z-menu-section/index.js +0 -5
- package/dist/collection/components/navigation/z-user-dropdown/index.js +1 -5
- package/dist/collection/components/notification/z-cookiebar/index.js +2 -6
- package/dist/collection/components/notification/z-info-box/index.js +1 -1
- package/dist/collection/components/notification/z-notification/index.js +6 -3
- package/dist/collection/components/notification/z-toast-notification/index.js +14 -17
- package/dist/collection/components/notification/z-tooltip/index.js +7 -2
- package/dist/collection/components/panel/z-panel-elem/index.js +2 -7
- package/dist/collection/components/typography/z-body/index.js +1 -2
- package/dist/collection/components/typography/z-heading/index.js +1 -2
- package/dist/collection/components/typography/z-typography/index.js +1 -2
- package/dist/collection/components/z-anchor-navigation/index.js +95 -0
- package/dist/collection/components/z-anchor-navigation/styles.css +118 -0
- package/dist/collection/components/z-aria-alert/index.js +3 -1
- package/dist/collection/components/z-avatar/index.js +8 -6
- package/dist/collection/components/z-card/index.js +6 -6
- package/dist/collection/components/z-carousel/index.js +10 -11
- package/dist/collection/components/z-contextual-menu/index.js +8 -2
- package/dist/collection/components/z-cover-hero/index.js +14 -6
- package/dist/collection/components/z-divider/index.js +6 -2
- package/dist/collection/components/z-info-reveal/index.js +6 -2
- package/dist/collection/components/z-offcanvas/index.js +12 -4
- package/dist/collection/components/z-pagination/index.js +15 -7
- package/dist/collection/components/z-popover/index.js +35 -37
- package/dist/collection/components/z-section-title/index.js +10 -2
- package/dist/collection/components/z-skip-to-content/index.js +3 -2
- package/dist/collection/components/z-table/z-table/index.js +12 -9
- package/dist/collection/components/z-table/z-table-cell/index.js +4 -3
- package/dist/collection/components/z-table/z-table-empty-box/index.js +2 -0
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +0 -3
- package/dist/collection/components/z-table/z-table-header/index.js +15 -14
- package/dist/collection/components/z-table/z-table-header-row/index.js +0 -3
- package/dist/collection/components/z-table/z-table-row/index.js +6 -4
- package/dist/collection/components/z-tag/index.js +0 -4
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +4 -4
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +4 -2
- package/dist/collection/deprecated/z-button-deprecated/index.js +12 -6
- package/dist/collection/deprecated/z-button-filter/index.js +3 -2
- package/dist/collection/deprecated/z-chip-deprecated/index.js +0 -4
- package/dist/collection/deprecated/z-input-deprecated/index.js +28 -27
- package/dist/collection/deprecated/z-input-label/index.js +1 -2
- package/dist/collection/deprecated/z-popover-deprecated/index.js +14 -7
- package/dist/collection/deprecated/z-status-tag/index.js +3 -5
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +27 -39
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +6 -5
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +3 -8
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +0 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +6 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +6 -8
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +4 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +2 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +0 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +2 -5
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +6 -6
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +12 -11
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +3 -2
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +0 -1
- package/dist/collection/snowflakes/myz/topbar/index.js +4 -14
- package/dist/collection/snowflakes/myz/z-alert/index.js +0 -3
- package/dist/collection/snowflakes/myz/z-otp/index.js +3 -3
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +3 -5
- package/dist/collection/utils/utils.js +5 -4
- package/dist/esm/index-9d028352.js +346 -0
- package/dist/esm/index-a2ca4b97.js +34 -10
- package/dist/esm/index.js +3 -347
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-420e8552.js → utils-9e81727a.js} +6 -5
- package/dist/esm/{utils-ff91a03a.js → utils-fbe04cd6.js} +11 -10
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +0 -1
- package/dist/esm/z-anchor-navigation.entry.js +49 -0
- package/dist/esm/z-app-header_2.entry.js +148 -0
- package/dist/esm/z-app-switcher.entry.js +25 -0
- package/dist/esm/z-app-topbar.entry.js +37 -0
- package/dist/esm/z-aria-alert.entry.js +3 -1
- package/dist/esm/z-avatar.entry.js +8 -6
- package/dist/esm/z-body_2.entry.js +2 -4
- package/dist/esm/z-button-deprecated.entry.js +12 -6
- package/dist/esm/z-button-filter.entry.js +3 -2
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button.entry.js +9 -8
- package/dist/esm/z-card.entry.js +6 -6
- package/dist/esm/z-carousel.entry.js +10 -11
- package/dist/esm/z-chip-deprecated.entry.js +0 -2
- package/dist/esm/z-chip.entry.js +6 -5
- package/dist/esm/z-combobox.entry.js +17 -15
- package/dist/esm/z-contextual-menu.entry.js +8 -2
- package/dist/esm/z-cookiebar.entry.js +2 -4
- package/dist/esm/z-cover-hero.entry.js +14 -6
- package/dist/esm/z-date-picker.entry.js +17 -16
- package/dist/esm/z-divider.entry.js +22 -0
- package/dist/esm/z-dragdrop-area_2.entry.js +1 -2
- package/dist/esm/z-file-upload.entry.js +11 -14
- package/dist/esm/z-file.entry.js +2 -3
- package/dist/esm/z-footer-link_3.entry.js +0 -5
- package/dist/esm/z-footer.entry.js +2 -7
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +6 -2
- package/dist/esm/z-input-deprecated.entry.js +29 -28
- package/dist/esm/z-input-label_2.entry.js +36 -20
- package/dist/esm/z-input_2.entry.js +248 -0
- package/dist/esm/z-link.entry.js +70 -0
- package/dist/esm/z-list_3.entry.js +220 -0
- package/dist/esm/z-logo.entry.js +22 -0
- package/dist/esm/z-menu-dropdown_2.entry.js +3 -7
- package/dist/esm/z-menu-section.entry.js +0 -3
- package/dist/esm/z-menu.entry.js +10 -3
- package/dist/esm/z-messages-pocket.entry.js +6 -6
- package/dist/esm/z-modal-login.entry.js +5 -7
- package/dist/esm/z-modal.entry.js +1 -3
- package/dist/esm/z-myz-card-alert.entry.js +3 -6
- package/dist/esm/z-myz-card-dictionary.entry.js +6 -3
- package/dist/esm/z-myz-card-footer.entry.js +6 -8
- package/dist/esm/z-myz-card-icon.entry.js +2 -1
- package/dist/esm/z-myz-card-info.entry.js +4 -3
- package/dist/esm/z-myz-card-list.entry.js +0 -1
- package/dist/esm/z-myz-card_4.entry.js +9 -15
- package/dist/esm/z-myz-list-item.entry.js +4 -6
- package/dist/esm/z-myz-topbar.entry.js +4 -14
- package/dist/esm/z-navigation-tab-link.entry.js +16 -8
- package/dist/esm/z-navigation-tab.entry.js +17 -7
- package/dist/esm/z-navigation-tabs.entry.js +14 -10
- package/dist/esm/z-notification.entry.js +6 -3
- package/dist/esm/z-offcanvas.entry.js +12 -4
- package/dist/esm/z-otp.entry.js +3 -3
- package/dist/esm/z-pagination-bar.entry.js +6 -5
- package/dist/esm/z-pagination-page.entry.js +4 -2
- package/dist/esm/z-pagination.entry.js +15 -7
- package/dist/esm/z-panel-elem.entry.js +2 -7
- package/dist/esm/z-pocket_3.entry.js +15 -15
- package/dist/esm/z-popover-deprecated.entry.js +15 -8
- package/dist/esm/z-popover.entry.js +36 -38
- package/dist/esm/{z-app-switcher_9.entry.js → z-range-picker.entry.js} +15 -449
- package/dist/esm/z-section-title.entry.js +10 -2
- package/dist/esm/z-skip-to-content.entry.js +4 -3
- package/dist/esm/z-slideshow.entry.js +4 -6
- package/dist/esm/z-status-tag.entry.js +3 -5
- package/dist/esm/z-stepper-item.entry.js +0 -4
- package/dist/esm/z-table-cell.entry.js +4 -3
- package/dist/esm/z-table-empty-box.entry.js +2 -0
- package/dist/esm/z-table-expanded-row.entry.js +0 -1
- package/dist/esm/z-table-header-row.entry.js +0 -1
- package/dist/esm/z-table-header.entry.js +16 -15
- package/dist/esm/z-table-row.entry.js +6 -4
- package/dist/esm/z-table.entry.js +12 -9
- package/dist/esm/z-tag.entry.js +0 -2
- package/dist/esm/z-toast-notification-list.entry.js +4 -1
- package/dist/esm/z-toast-notification.entry.js +14 -17
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +7 -2
- package/dist/esm/z-tooltip-deprecated.entry.js +27 -39
- package/dist/esm/z-tooltip.entry.js +7 -2
- package/dist/esm/z-user-dropdown.entry.js +1 -5
- package/dist/types/beans/index.d.ts +51 -50
- package/dist/types/components/index.d.ts +0 -0
- package/dist/types/components/inputs/z-select/index.d.ts +3 -0
- package/dist/types/components/z-anchor-navigation/index.d.ts +39 -0
- package/dist/types/components.d.ts +23 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -5
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-05ced71c.entry.js +1 -0
- package/dist/web-components-library/p-074ea569.entry.js +1 -0
- package/dist/web-components-library/p-1106ead2.entry.js +1 -0
- package/dist/web-components-library/p-15b8a920.entry.js +1 -0
- package/dist/web-components-library/p-15fe7b71.entry.js +1 -0
- package/dist/web-components-library/p-16da5460.js +1 -0
- package/dist/web-components-library/p-1cb23bbb.entry.js +1 -0
- package/dist/web-components-library/p-1e6a2a56.entry.js +1 -0
- package/dist/web-components-library/p-2774ab29.entry.js +1 -0
- package/dist/web-components-library/p-28ff9383.entry.js +1 -0
- package/dist/web-components-library/p-2efedcf4.entry.js +1 -0
- package/dist/web-components-library/p-344e7ae7.entry.js +1 -0
- package/dist/web-components-library/p-3ba1b96e.entry.js +1 -0
- package/dist/web-components-library/p-3c2d438b.entry.js +1 -0
- package/dist/web-components-library/p-3f55dce6.entry.js +1 -0
- package/dist/web-components-library/p-40e0d384.entry.js +1 -0
- package/dist/web-components-library/p-41e2bb0f.entry.js +1 -0
- package/dist/web-components-library/p-442b8b35.entry.js +1 -0
- package/dist/web-components-library/p-4cd6c6f4.entry.js +1 -0
- package/dist/web-components-library/p-4d093e07.entry.js +1 -0
- package/dist/web-components-library/{p-48624926.entry.js → p-4d42f224.entry.js} +1 -1
- package/dist/web-components-library/p-4d93268a.entry.js +1 -0
- package/dist/web-components-library/p-4ec9ab53.entry.js +1 -0
- package/dist/web-components-library/p-53a03f2a.entry.js +1 -0
- package/dist/web-components-library/p-562ad563.entry.js +1 -0
- package/dist/web-components-library/p-58650e22.entry.js +1 -0
- package/dist/web-components-library/p-5bec950e.entry.js +1 -0
- package/dist/web-components-library/p-5c02e500.entry.js +1 -0
- package/dist/web-components-library/p-5cf4a412.entry.js +1 -0
- package/dist/web-components-library/p-61424b8a.entry.js +1 -0
- package/dist/web-components-library/p-681e1f5a.entry.js +1 -0
- package/dist/web-components-library/p-686545fa.entry.js +1 -0
- package/dist/web-components-library/p-6b11cc16.entry.js +1 -0
- package/dist/web-components-library/p-6f64e8a8.entry.js +1 -0
- package/dist/web-components-library/p-70d16b2c.entry.js +1 -0
- package/dist/web-components-library/p-7688f8ca.entry.js +1 -0
- package/dist/web-components-library/p-77e4774d.entry.js +1 -0
- package/dist/web-components-library/p-7d696941.entry.js +1 -0
- package/dist/web-components-library/p-7d792297.entry.js +1 -0
- package/dist/web-components-library/p-7dd5431f.entry.js +1 -0
- package/dist/web-components-library/p-7ebdeefa.entry.js +1 -0
- package/dist/web-components-library/p-810bd730.entry.js +1 -0
- package/dist/web-components-library/p-9434d80c.entry.js +1 -0
- package/dist/web-components-library/p-9d03a7d6.entry.js +1 -0
- package/dist/web-components-library/p-9ecc5eba.entry.js +1 -0
- package/dist/web-components-library/p-9f80c0b8.js +1 -0
- package/dist/web-components-library/p-9fe267fc.entry.js +1 -0
- package/dist/web-components-library/p-a17b363e.entry.js +1 -0
- package/dist/web-components-library/p-a329f5ff.entry.js +1 -0
- package/dist/web-components-library/p-a79d1412.entry.js +1 -0
- package/dist/web-components-library/p-aded8a43.entry.js +1 -0
- package/dist/web-components-library/p-ae79573a.entry.js +1 -0
- package/dist/web-components-library/{p-4c7f4a2c.entry.js → p-b17981a4.entry.js} +1 -1
- package/dist/web-components-library/p-b4fbb6e4.entry.js +1 -0
- package/dist/web-components-library/p-b5086d6d.entry.js +1 -0
- package/dist/web-components-library/p-bb0fe7bc.entry.js +1 -0
- package/dist/web-components-library/p-bb15a265.js +1 -0
- package/dist/web-components-library/p-c2d1785b.entry.js +1 -0
- package/dist/web-components-library/p-c3f29701.entry.js +1 -0
- package/dist/web-components-library/p-c6a662e6.entry.js +1 -0
- package/dist/web-components-library/p-c6aad085.entry.js +1 -0
- package/dist/web-components-library/p-c75e80fb.entry.js +1 -0
- package/dist/web-components-library/p-cb5d8a84.entry.js +1 -0
- package/dist/web-components-library/p-ce83ce18.entry.js +1 -0
- package/dist/web-components-library/p-cea1f402.entry.js +1 -0
- package/dist/web-components-library/p-d199b781.entry.js +1 -0
- package/dist/web-components-library/p-d3645ced.entry.js +1 -0
- package/dist/web-components-library/p-d531d1d2.entry.js +1 -0
- package/dist/web-components-library/p-d572a365.entry.js +1 -0
- package/dist/web-components-library/p-d5f6bf94.entry.js +1 -0
- package/dist/web-components-library/p-db5a98d1.entry.js +1 -0
- package/dist/web-components-library/p-dc2ca41d.entry.js +1 -0
- package/dist/web-components-library/p-e68c18e5.entry.js +1 -0
- package/dist/web-components-library/p-e731914a.entry.js +1 -0
- package/dist/web-components-library/p-e8fbb103.entry.js +1 -0
- package/dist/web-components-library/p-ecc4afa1.entry.js +1 -0
- package/dist/web-components-library/p-ede9fbf5.entry.js +1 -0
- package/dist/web-components-library/p-f0653e72.entry.js +1 -0
- package/dist/web-components-library/{p-2c18a622.entry.js → p-f158d205.entry.js} +1 -1
- package/dist/web-components-library/p-f260c62b.entry.js +1 -0
- package/dist/web-components-library/p-f2f9a1bc.entry.js +1 -0
- package/dist/web-components-library/p-f2fd1e20.entry.js +1 -0
- package/dist/web-components-library/p-f7c1eb3f.entry.js +16 -0
- package/dist/web-components-library/p-f8ef69c4.entry.js +1 -0
- package/dist/web-components-library/p-f95cc914.entry.js +1 -0
- package/dist/web-components-library/p-fb7d33f2.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +4 -4
- package/react/components.d.ts +1 -0
- package/react/components.js +4 -3
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-05ced71c.entry.js +1 -0
- package/www/build/p-074ea569.entry.js +1 -0
- package/www/build/p-1106ead2.entry.js +1 -0
- package/www/build/p-15b8a920.entry.js +1 -0
- package/www/build/p-15fe7b71.entry.js +1 -0
- package/www/build/p-16da5460.js +1 -0
- package/www/build/p-1cb23bbb.entry.js +1 -0
- package/www/build/p-1e6a2a56.entry.js +1 -0
- package/www/build/p-2774ab29.entry.js +1 -0
- package/www/build/p-28ff9383.entry.js +1 -0
- package/www/build/p-2efedcf4.entry.js +1 -0
- package/www/build/p-344e7ae7.entry.js +1 -0
- package/www/build/p-3ba1b96e.entry.js +1 -0
- package/www/build/p-3c2d438b.entry.js +1 -0
- package/www/build/p-3f55dce6.entry.js +1 -0
- package/www/build/p-40e0d384.entry.js +1 -0
- package/www/build/p-41e2bb0f.entry.js +1 -0
- package/www/build/p-442b8b35.entry.js +1 -0
- package/www/build/p-4cd6c6f4.entry.js +1 -0
- package/www/build/p-4d093e07.entry.js +1 -0
- package/www/build/{p-48624926.entry.js → p-4d42f224.entry.js} +1 -1
- package/www/build/p-4d93268a.entry.js +1 -0
- package/www/build/p-4d9ae314.js +1 -0
- package/www/build/p-4ec9ab53.entry.js +1 -0
- package/www/build/p-53a03f2a.entry.js +1 -0
- package/www/build/p-562ad563.entry.js +1 -0
- package/www/build/p-58650e22.entry.js +1 -0
- package/www/build/p-5bec950e.entry.js +1 -0
- package/www/build/p-5c02e500.entry.js +1 -0
- package/www/build/p-5cf4a412.entry.js +1 -0
- package/www/build/p-61424b8a.entry.js +1 -0
- package/www/build/p-681e1f5a.entry.js +1 -0
- package/www/build/p-686545fa.entry.js +1 -0
- package/www/build/p-6b11cc16.entry.js +1 -0
- package/www/build/p-6f64e8a8.entry.js +1 -0
- package/www/build/p-70d16b2c.entry.js +1 -0
- package/www/build/p-7688f8ca.entry.js +1 -0
- package/www/build/p-77e4774d.entry.js +1 -0
- package/www/build/p-7d696941.entry.js +1 -0
- package/www/build/p-7d792297.entry.js +1 -0
- package/www/build/p-7dd5431f.entry.js +1 -0
- package/www/build/p-7ebdeefa.entry.js +1 -0
- package/www/build/p-810bd730.entry.js +1 -0
- package/www/build/p-9434d80c.entry.js +1 -0
- package/www/build/p-9d03a7d6.entry.js +1 -0
- package/www/build/p-9ecc5eba.entry.js +1 -0
- package/www/build/p-9f80c0b8.js +1 -0
- package/www/build/p-9fe267fc.entry.js +1 -0
- package/www/build/p-a17b363e.entry.js +1 -0
- package/www/build/p-a329f5ff.entry.js +1 -0
- package/www/build/p-a79d1412.entry.js +1 -0
- package/www/build/p-aded8a43.entry.js +1 -0
- package/www/build/p-ae79573a.entry.js +1 -0
- package/www/build/{p-4c7f4a2c.entry.js → p-b17981a4.entry.js} +1 -1
- package/www/build/p-b4fbb6e4.entry.js +1 -0
- package/www/build/p-b5086d6d.entry.js +1 -0
- package/www/build/p-bb0fe7bc.entry.js +1 -0
- package/www/build/p-bb15a265.js +1 -0
- package/www/build/p-c2d1785b.entry.js +1 -0
- package/www/build/p-c3f29701.entry.js +1 -0
- package/www/build/p-c6a662e6.entry.js +1 -0
- package/www/build/p-c6aad085.entry.js +1 -0
- package/www/build/p-c75e80fb.entry.js +1 -0
- package/www/build/p-cb5d8a84.entry.js +1 -0
- package/www/build/p-ce83ce18.entry.js +1 -0
- package/www/build/p-cea1f402.entry.js +1 -0
- package/www/build/p-d199b781.entry.js +1 -0
- package/www/build/p-d3645ced.entry.js +1 -0
- package/www/build/p-d531d1d2.entry.js +1 -0
- package/www/build/p-d572a365.entry.js +1 -0
- package/www/build/p-d5f6bf94.entry.js +1 -0
- package/www/build/p-d70c7670.css +1 -0
- package/www/build/p-db5a98d1.entry.js +1 -0
- package/www/build/p-dc2ca41d.entry.js +1 -0
- package/www/build/p-e68c18e5.entry.js +1 -0
- package/www/build/p-e731914a.entry.js +1 -0
- package/www/build/p-e8fbb103.entry.js +1 -0
- package/www/build/p-ecc4afa1.entry.js +1 -0
- package/www/build/p-ede9fbf5.entry.js +1 -0
- package/www/build/p-f0653e72.entry.js +1 -0
- package/www/build/{p-2c18a622.entry.js → p-f158d205.entry.js} +1 -1
- package/www/build/p-f260c62b.entry.js +1 -0
- package/www/build/p-f2f9a1bc.entry.js +1 -0
- package/www/build/p-f2fd1e20.entry.js +1 -0
- package/www/build/p-f7c1eb3f.entry.js +16 -0
- package/www/build/p-f8ef69c4.entry.js +1 -0
- package/www/build/p-f95cc914.entry.js +1 -0
- package/www/build/p-fb7d33f2.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -24
- package/CHANGELOG.md +0 -2036
- package/dist/cjs/z-app-header.cjs.entry.js +0 -111
- package/dist/cjs/z-list-group.cjs.entry.js +0 -41
- package/dist/cjs/z-list_2.cjs.entry.js +0 -143
- package/dist/esm/z-app-header.entry.js +0 -107
- package/dist/esm/z-list-group.entry.js +0 -37
- package/dist/esm/z-list_2.entry.js +0 -138
- package/dist/web-components-library/p-016b2800.entry.js +0 -1
- package/dist/web-components-library/p-04908405.entry.js +0 -1
- package/dist/web-components-library/p-06430481.entry.js +0 -1
- package/dist/web-components-library/p-067bd5da.entry.js +0 -1
- package/dist/web-components-library/p-082d65b1.entry.js +0 -1
- package/dist/web-components-library/p-0cff6cce.entry.js +0 -1
- package/dist/web-components-library/p-0e743002.entry.js +0 -1
- package/dist/web-components-library/p-10b84e8c.entry.js +0 -1
- package/dist/web-components-library/p-12211a48.entry.js +0 -1
- package/dist/web-components-library/p-14233b99.entry.js +0 -1
- package/dist/web-components-library/p-176256ee.js +0 -1
- package/dist/web-components-library/p-1ab0de76.entry.js +0 -1
- package/dist/web-components-library/p-1d2d5232.entry.js +0 -1
- package/dist/web-components-library/p-20109d3a.entry.js +0 -1
- package/dist/web-components-library/p-2cf26585.entry.js +0 -1
- package/dist/web-components-library/p-2d506c48.entry.js +0 -1
- package/dist/web-components-library/p-2d5d8e6f.entry.js +0 -1
- package/dist/web-components-library/p-2e7a31ac.entry.js +0 -1
- package/dist/web-components-library/p-2f6f3729.entry.js +0 -1
- package/dist/web-components-library/p-30cbafaf.entry.js +0 -1
- package/dist/web-components-library/p-341ddb5d.entry.js +0 -1
- package/dist/web-components-library/p-34a96008.entry.js +0 -1
- package/dist/web-components-library/p-35b30271.entry.js +0 -1
- package/dist/web-components-library/p-36f4ce3f.entry.js +0 -1
- package/dist/web-components-library/p-3c28f72e.entry.js +0 -1
- package/dist/web-components-library/p-3c7cf41f.entry.js +0 -1
- package/dist/web-components-library/p-3e414cf1.entry.js +0 -1
- package/dist/web-components-library/p-3ecfb7c1.entry.js +0 -1
- package/dist/web-components-library/p-40f96085.entry.js +0 -1
- package/dist/web-components-library/p-53d22727.entry.js +0 -1
- package/dist/web-components-library/p-563529f8.entry.js +0 -1
- package/dist/web-components-library/p-57faab40.entry.js +0 -1
- package/dist/web-components-library/p-5b2d8a91.entry.js +0 -1
- package/dist/web-components-library/p-670232c4.entry.js +0 -1
- package/dist/web-components-library/p-67f346d9.entry.js +0 -1
- package/dist/web-components-library/p-691678c8.entry.js +0 -1
- package/dist/web-components-library/p-69b27fe9.entry.js +0 -16
- package/dist/web-components-library/p-6fe1bffb.entry.js +0 -1
- package/dist/web-components-library/p-728e7dcd.entry.js +0 -1
- package/dist/web-components-library/p-74e31a32.entry.js +0 -1
- package/dist/web-components-library/p-759fb7c4.entry.js +0 -1
- package/dist/web-components-library/p-79223014.entry.js +0 -1
- package/dist/web-components-library/p-7b22a446.entry.js +0 -1
- package/dist/web-components-library/p-7c40fb15.entry.js +0 -1
- package/dist/web-components-library/p-7cbc1836.entry.js +0 -1
- package/dist/web-components-library/p-830b21a4.entry.js +0 -1
- package/dist/web-components-library/p-87099b68.entry.js +0 -1
- package/dist/web-components-library/p-8cabed58.entry.js +0 -1
- package/dist/web-components-library/p-8cf14a47.entry.js +0 -1
- package/dist/web-components-library/p-8eaa46ac.entry.js +0 -1
- package/dist/web-components-library/p-985c5ed8.entry.js +0 -1
- package/dist/web-components-library/p-9f6b43a0.entry.js +0 -1
- package/dist/web-components-library/p-9f8d0f79.entry.js +0 -1
- package/dist/web-components-library/p-a25a8231.entry.js +0 -1
- package/dist/web-components-library/p-a3b8dd69.entry.js +0 -1
- package/dist/web-components-library/p-aa271ed7.entry.js +0 -1
- package/dist/web-components-library/p-ac1a9d63.entry.js +0 -1
- package/dist/web-components-library/p-af4a9bb7.entry.js +0 -1
- package/dist/web-components-library/p-ba495cad.entry.js +0 -1
- package/dist/web-components-library/p-ba9210e9.entry.js +0 -1
- package/dist/web-components-library/p-bf9348e6.entry.js +0 -1
- package/dist/web-components-library/p-c0df6e96.entry.js +0 -1
- package/dist/web-components-library/p-c2b368ff.entry.js +0 -1
- package/dist/web-components-library/p-c39c68b9.entry.js +0 -1
- package/dist/web-components-library/p-cadba1e5.entry.js +0 -1
- package/dist/web-components-library/p-ccb3764b.entry.js +0 -1
- package/dist/web-components-library/p-d668461a.js +0 -1
- package/dist/web-components-library/p-d767f784.entry.js +0 -1
- package/dist/web-components-library/p-d7e72cec.entry.js +0 -1
- package/dist/web-components-library/p-dbc23998.entry.js +0 -1
- package/dist/web-components-library/p-def721df.entry.js +0 -1
- package/dist/web-components-library/p-e12cd68a.entry.js +0 -1
- package/dist/web-components-library/p-e84d2839.entry.js +0 -1
- package/dist/web-components-library/p-eadb185e.entry.js +0 -1
- package/dist/web-components-library/p-f9f9518a.entry.js +0 -1
- package/dist/web-components-library/p-fd305e08.entry.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-016b2800.entry.js +0 -1
- package/www/build/p-04908405.entry.js +0 -1
- package/www/build/p-06430481.entry.js +0 -1
- package/www/build/p-067bd5da.entry.js +0 -1
- package/www/build/p-082d65b1.entry.js +0 -1
- package/www/build/p-0cff6cce.entry.js +0 -1
- package/www/build/p-0e743002.entry.js +0 -1
- package/www/build/p-10b84e8c.entry.js +0 -1
- package/www/build/p-12211a48.entry.js +0 -1
- package/www/build/p-14233b99.entry.js +0 -1
- package/www/build/p-176256ee.js +0 -1
- package/www/build/p-1ab0de76.entry.js +0 -1
- package/www/build/p-1d2d5232.entry.js +0 -1
- package/www/build/p-20109d3a.entry.js +0 -1
- package/www/build/p-2cf26585.entry.js +0 -1
- package/www/build/p-2d506c48.entry.js +0 -1
- package/www/build/p-2d5d8e6f.entry.js +0 -1
- package/www/build/p-2e7a31ac.entry.js +0 -1
- package/www/build/p-2f6f3729.entry.js +0 -1
- package/www/build/p-30cbafaf.entry.js +0 -1
- package/www/build/p-341ddb5d.entry.js +0 -1
- package/www/build/p-34a96008.entry.js +0 -1
- package/www/build/p-35b30271.entry.js +0 -1
- package/www/build/p-36f4ce3f.entry.js +0 -1
- package/www/build/p-3c28f72e.entry.js +0 -1
- package/www/build/p-3c7cf41f.entry.js +0 -1
- package/www/build/p-3e414cf1.entry.js +0 -1
- package/www/build/p-3ecfb7c1.entry.js +0 -1
- package/www/build/p-40f96085.entry.js +0 -1
- package/www/build/p-4c9c83c0.css +0 -1
- package/www/build/p-53d22727.entry.js +0 -1
- package/www/build/p-563529f8.entry.js +0 -1
- package/www/build/p-57faab40.entry.js +0 -1
- package/www/build/p-5b2d8a91.entry.js +0 -1
- package/www/build/p-60ec44c6.js +0 -1
- package/www/build/p-670232c4.entry.js +0 -1
- package/www/build/p-67f346d9.entry.js +0 -1
- package/www/build/p-691678c8.entry.js +0 -1
- package/www/build/p-69b27fe9.entry.js +0 -16
- package/www/build/p-6fe1bffb.entry.js +0 -1
- package/www/build/p-728e7dcd.entry.js +0 -1
- package/www/build/p-74e31a32.entry.js +0 -1
- package/www/build/p-759fb7c4.entry.js +0 -1
- package/www/build/p-79223014.entry.js +0 -1
- package/www/build/p-7b22a446.entry.js +0 -1
- package/www/build/p-7c40fb15.entry.js +0 -1
- package/www/build/p-7cbc1836.entry.js +0 -1
- package/www/build/p-830b21a4.entry.js +0 -1
- package/www/build/p-87099b68.entry.js +0 -1
- package/www/build/p-8cabed58.entry.js +0 -1
- package/www/build/p-8cf14a47.entry.js +0 -1
- package/www/build/p-8eaa46ac.entry.js +0 -1
- package/www/build/p-985c5ed8.entry.js +0 -1
- package/www/build/p-9f6b43a0.entry.js +0 -1
- package/www/build/p-9f8d0f79.entry.js +0 -1
- package/www/build/p-a25a8231.entry.js +0 -1
- package/www/build/p-a3b8dd69.entry.js +0 -1
- package/www/build/p-aa271ed7.entry.js +0 -1
- package/www/build/p-ac1a9d63.entry.js +0 -1
- package/www/build/p-af4a9bb7.entry.js +0 -1
- package/www/build/p-ba495cad.entry.js +0 -1
- package/www/build/p-ba9210e9.entry.js +0 -1
- package/www/build/p-bf9348e6.entry.js +0 -1
- package/www/build/p-c0df6e96.entry.js +0 -1
- package/www/build/p-c2b368ff.entry.js +0 -1
- package/www/build/p-c39c68b9.entry.js +0 -1
- package/www/build/p-cadba1e5.entry.js +0 -1
- package/www/build/p-ccb3764b.entry.js +0 -1
- package/www/build/p-d668461a.js +0 -1
- package/www/build/p-d767f784.entry.js +0 -1
- package/www/build/p-d7e72cec.entry.js +0 -1
- package/www/build/p-dbc23998.entry.js +0 -1
- package/www/build/p-def721df.entry.js +0 -1
- package/www/build/p-e12cd68a.entry.js +0 -1
- package/www/build/p-e84d2839.entry.js +0 -1
- package/www/build/p-eadb185e.entry.js +0 -1
- package/www/build/p-f9f9518a.entry.js +0 -1
- package/www/build/p-fd305e08.entry.js +0 -1
|
@@ -5,9 +5,7 @@ import { h, Host } from "@stencil/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export class ZModal {
|
|
7
7
|
constructor() {
|
|
8
|
-
|
|
9
|
-
this.modaltitle = undefined;
|
|
10
|
-
this.modalsubtitle = undefined;
|
|
8
|
+
/** aria-label for close button (optional) */
|
|
11
9
|
this.closeButtonLabel = "close modal";
|
|
12
10
|
}
|
|
13
11
|
emitModalClose() {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { ButtonVariant, InputStatus, InputType } from "../../../beans";
|
|
2
3
|
/**
|
|
3
4
|
* @slot username - username input
|
|
4
5
|
* @slot password - password input
|
|
@@ -8,11 +9,8 @@ import { h } from "@stencil/core";
|
|
|
8
9
|
*/
|
|
9
10
|
export class ZModalLogin {
|
|
10
11
|
constructor() {
|
|
11
|
-
|
|
12
|
+
/** Login modal title */
|
|
12
13
|
this.heading = "Entra in MyZanichelli";
|
|
13
|
-
this.status = undefined;
|
|
14
|
-
this.message = undefined;
|
|
15
|
-
this.pwdmessage = undefined;
|
|
16
14
|
this.externalProviderCheck = false;
|
|
17
15
|
}
|
|
18
16
|
componentDidLoad() {
|
|
@@ -28,7 +26,7 @@ export class ZModalLogin {
|
|
|
28
26
|
let username = usernameInput.value;
|
|
29
27
|
const password = passwordInput.value;
|
|
30
28
|
if (!username || !password) {
|
|
31
|
-
this.status =
|
|
29
|
+
this.status = InputStatus.ERROR;
|
|
32
30
|
return;
|
|
33
31
|
}
|
|
34
32
|
username = this.cleanUsername(username);
|
|
@@ -69,10 +67,10 @@ export class ZModalLogin {
|
|
|
69
67
|
return username;
|
|
70
68
|
}
|
|
71
69
|
renderZainoDigitaleButton() {
|
|
72
|
-
return (h("z-button", { variant:
|
|
70
|
+
return (h("z-button", { variant: ButtonVariant.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"))));
|
|
73
71
|
}
|
|
74
72
|
render() {
|
|
75
|
-
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:
|
|
73
|
+
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: InputType.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: ButtonVariant.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: ButtonVariant.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?")))))));
|
|
76
74
|
}
|
|
77
75
|
static get is() { return "z-modal-login"; }
|
|
78
76
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,23 +1,33 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { NavigationTabsOrientation, NavigationTabsSize } from "../../../../beans";
|
|
2
3
|
import { ICONS } from "../../../icons/icons";
|
|
3
4
|
/**
|
|
4
5
|
* Single tab component to use inside `z-navigation-tabs`. It renders a button.
|
|
5
6
|
*/
|
|
6
7
|
export class ZNavigationTab {
|
|
7
8
|
constructor() {
|
|
9
|
+
/**
|
|
10
|
+
* Whether the tab is selected.
|
|
11
|
+
*/
|
|
8
12
|
this.selected = false;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the tab is disabled.
|
|
15
|
+
*/
|
|
9
16
|
this.disabled = false;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
this.
|
|
14
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
19
|
+
*/
|
|
20
|
+
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
21
|
+
/**
|
|
22
|
+
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
23
|
+
*/
|
|
24
|
+
this.size = NavigationTabsSize.BIG;
|
|
15
25
|
}
|
|
16
26
|
/**
|
|
17
27
|
* Scroll into view to center the tab.
|
|
18
28
|
*/
|
|
19
29
|
scrollToTab({ target: button }) {
|
|
20
|
-
const scrollOptions = this.orientation ===
|
|
30
|
+
const scrollOptions = this.orientation === NavigationTabsOrientation.HORIZONTAL
|
|
21
31
|
? { block: "nearest", inline: "center" }
|
|
22
32
|
: { block: "center", inline: "nearest" };
|
|
23
33
|
button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
@@ -46,7 +56,7 @@ export class ZNavigationTab {
|
|
|
46
56
|
return h("z-icon", { name: icon });
|
|
47
57
|
}
|
|
48
58
|
render() {
|
|
49
|
-
return (h("button", { role: "tab", disabled: this.disabled, title: this.htmlTitle, onFocus: this.scrollToTab.bind(this) }, this.icon && this.renderIcon(), this.orientation ===
|
|
59
|
+
return (h("button", { role: "tab", disabled: this.disabled, title: this.htmlTitle, onFocus: this.scrollToTab.bind(this) }, this.icon && this.renderIcon(), this.orientation === NavigationTabsOrientation.HORIZONTAL && this.label));
|
|
50
60
|
}
|
|
51
61
|
static get is() { return "z-navigation-tab"; }
|
|
52
62
|
static get originalStyleUrls() {
|
|
@@ -1,25 +1,33 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { NavigationTabsOrientation, NavigationTabsSize } from "../../../../beans";
|
|
2
3
|
import { ICONS } from "../../../icons/icons";
|
|
3
4
|
/**
|
|
4
5
|
* Single tab component to use inside `z-navigation-tabs`. It renders an anchor element.
|
|
5
6
|
*/
|
|
6
7
|
export class ZNavigationTabLink {
|
|
7
8
|
constructor() {
|
|
9
|
+
/**
|
|
10
|
+
* Whether the tab is selected.
|
|
11
|
+
*/
|
|
8
12
|
this.selected = false;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the tab is disabled.
|
|
15
|
+
*/
|
|
9
16
|
this.disabled = false;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
this.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
19
|
+
*/
|
|
20
|
+
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
21
|
+
/**
|
|
22
|
+
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
23
|
+
*/
|
|
24
|
+
this.size = NavigationTabsSize.BIG;
|
|
17
25
|
}
|
|
18
26
|
/**
|
|
19
27
|
* Scroll into view to center the tab.
|
|
20
28
|
*/
|
|
21
29
|
scrollToTab({ target: button }) {
|
|
22
|
-
const scrollOptions = this.orientation ===
|
|
30
|
+
const scrollOptions = this.orientation === NavigationTabsOrientation.HORIZONTAL
|
|
23
31
|
? { block: "nearest", inline: "center" }
|
|
24
32
|
: { block: "center", inline: "nearest" };
|
|
25
33
|
button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { NavigationTabsSize, NavigationTabsOrientation } from "../../../../beans";
|
|
2
3
|
/**
|
|
3
4
|
* Navigation tabs component.
|
|
4
5
|
* @slot - Main slot. Use `z-navigation-tab` or `z-navigation-tab-link` components as children.
|
|
5
6
|
*/
|
|
6
7
|
export class ZNavigationTabs {
|
|
7
8
|
constructor() {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
this.
|
|
12
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Navigation tabs orientation.
|
|
11
|
+
*/
|
|
12
|
+
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
13
|
+
/**
|
|
14
|
+
* Navigation tabs size.
|
|
15
|
+
*/
|
|
16
|
+
this.size = NavigationTabsSize.BIG;
|
|
13
17
|
}
|
|
14
18
|
/**
|
|
15
19
|
* Getter for the direction to check based on current orientation.
|
|
16
20
|
*/
|
|
17
21
|
get direction() {
|
|
18
|
-
return this.orientation ==
|
|
22
|
+
return this.orientation == NavigationTabsOrientation.HORIZONTAL ? "Left" : "Top";
|
|
19
23
|
}
|
|
20
24
|
/**
|
|
21
25
|
* Getter for the dimension to check based on current orientation.
|
|
22
26
|
*/
|
|
23
27
|
get dimension() {
|
|
24
|
-
return this.orientation ==
|
|
28
|
+
return this.orientation == NavigationTabsOrientation.HORIZONTAL ? "Width" : "Height";
|
|
25
29
|
}
|
|
26
30
|
/**
|
|
27
31
|
* Set the `size` prop to all `z-navigation-tab` children.
|
|
@@ -102,9 +106,9 @@ export class ZNavigationTabs {
|
|
|
102
106
|
}
|
|
103
107
|
render() {
|
|
104
108
|
return (h(Host, { class: {
|
|
105
|
-
"interactive-2": this.size ===
|
|
106
|
-
"interactive-1": this.size !==
|
|
107
|
-
}, scrollable: this.canNavigate }, this.canNavigate && (h("button", { class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabindex: "-1", disabled: !this.canNavigatePrev }, h("z-icon", { name: this.orientation ===
|
|
109
|
+
"interactive-2": this.size === NavigationTabsSize.SMALL,
|
|
110
|
+
"interactive-1": this.size !== NavigationTabsSize.SMALL,
|
|
111
|
+
}, scrollable: this.canNavigate }, this.canNavigate && (h("button", { class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabindex: "-1", disabled: !this.canNavigatePrev }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 }))), h("nav", { role: "tablist", ref: (el) => (this.tabsNav = el !== null && el !== void 0 ? el : this.tabsNav), onScroll: this.checkScrollEnabled.bind(this) }, h("slot", null)), this.canNavigate && (h("button", { class: "navigation-button", onClick: this.navigateForward.bind(this), tabindex: "-1", disabled: !this.canNavigateNext }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 })))));
|
|
108
112
|
}
|
|
109
113
|
static get is() { return "z-navigation-tabs"; }
|
|
110
114
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,19 +7,41 @@ const SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== "undefined
|
|
|
7
7
|
*/
|
|
8
8
|
export class ZAppHeader {
|
|
9
9
|
constructor() {
|
|
10
|
+
/**
|
|
11
|
+
* Stuck mode for the header.
|
|
12
|
+
* You can programmatically set it using an IntersectionObserver.
|
|
13
|
+
* **Optional**
|
|
14
|
+
*/
|
|
15
|
+
this.stuck = false;
|
|
16
|
+
/**
|
|
17
|
+
* Should place an overlay over the hero image.
|
|
18
|
+
* Useful for legibility purpose.
|
|
19
|
+
* **Optional**
|
|
20
|
+
*/
|
|
21
|
+
this.overlay = false;
|
|
22
|
+
/**
|
|
23
|
+
* Control menu bar position in the header.
|
|
24
|
+
* - auto: the menu bar is positioned near the title
|
|
25
|
+
* - stack: the menu bar is positioned below the title
|
|
26
|
+
* - offcanvas: the menu bar is not displayed and a burger icon appears to open the offcanvas menu
|
|
27
|
+
*
|
|
28
|
+
* **Optional**
|
|
29
|
+
*/
|
|
30
|
+
this.flow = "auto";
|
|
31
|
+
/**
|
|
32
|
+
* The opening state of the drawer.
|
|
33
|
+
*/
|
|
34
|
+
this.drawerOpen = false;
|
|
35
|
+
/**
|
|
36
|
+
* The stucked state of the bar.
|
|
37
|
+
*/
|
|
38
|
+
this.stucked = false;
|
|
10
39
|
this.observer = SUPPORT_INTERSECTION_OBSERVER &&
|
|
11
40
|
new IntersectionObserver(([entry]) => {
|
|
12
41
|
this.stucked = !entry.isIntersecting;
|
|
13
42
|
}, {
|
|
14
43
|
threshold: 0.5,
|
|
15
44
|
});
|
|
16
|
-
this.stuck = false;
|
|
17
|
-
this.hero = undefined;
|
|
18
|
-
this.overlay = false;
|
|
19
|
-
this.flow = "auto";
|
|
20
|
-
this.drawerOpen = false;
|
|
21
|
-
this.stucked = false;
|
|
22
|
-
this.menuLength = undefined;
|
|
23
45
|
this.openDrawer = this.openDrawer.bind(this);
|
|
24
46
|
this.closeDrawer = this.closeDrawer.bind(this);
|
|
25
47
|
this.collectMenuElements.bind(this);
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { ThemeVariant } from "../../../beans";
|
|
2
3
|
export class ZAppSwitcher {
|
|
3
4
|
constructor() {
|
|
4
|
-
|
|
5
|
+
/** theme variant, default 'dark' */
|
|
6
|
+
this.theme = ThemeVariant.DARK;
|
|
5
7
|
this.isopen = false;
|
|
6
8
|
this.emitAppButtonClick = this.emitAppButtonClick.bind(this);
|
|
7
9
|
}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { DividerOrientation, ThemeVariant } from "../../../beans";
|
|
2
3
|
import { mobileBreakpoint } from "../../../constants/breakpoints";
|
|
3
4
|
export class ZAppTopbar {
|
|
4
5
|
constructor() {
|
|
6
|
+
/** theme variant, default 'dark' */
|
|
7
|
+
this.theme = ThemeVariant.DARK;
|
|
5
8
|
this.topbarLinks = [];
|
|
6
|
-
this.theme = "dark" /* ThemeVariant.DARK */;
|
|
7
|
-
this.contentMaxWidth = undefined;
|
|
8
|
-
this.topbarContent = undefined;
|
|
9
|
-
this.logoLink = undefined;
|
|
10
|
-
this.showAppSwitcher = undefined;
|
|
11
|
-
this.isMobile = undefined;
|
|
12
9
|
}
|
|
13
10
|
handleResize() {
|
|
14
11
|
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
@@ -22,13 +19,13 @@ export class ZAppTopbar {
|
|
|
22
19
|
}
|
|
23
20
|
}
|
|
24
21
|
renderTopbarLinks() {
|
|
25
|
-
return this.topbarLinks.map((link) => (h("z-link", { htmlid: link.id, textcolor: this.theme ===
|
|
22
|
+
return this.topbarLinks.map((link) => (h("z-link", { htmlid: link.id, textcolor: this.theme === ThemeVariant.LIGHT ? "black" : "white", href: link.link, target: link.target, icon: this.isMobile ? link.icon : undefined }, !this.isMobile && link.label)));
|
|
26
23
|
}
|
|
27
24
|
render() {
|
|
28
25
|
return (h(Host, { class: {
|
|
29
26
|
[this.theme]: true,
|
|
30
27
|
"limited-width": !!this.contentMaxWidth,
|
|
31
|
-
} }, h("div", { id: "content-container", style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, h("div", { id: "left-panel", class: "content-panel" }, h("z-logo", { mobileLogo: this.isMobile, width: this.isMobile ? 32 : 128, height: this.isMobile ? 40 : 32, imageAlt: "zanichelli-logo", link: this.logoLink, targetBlank: true }), this.isMobile && this.renderTopbarLinks()), h("div", { id: "right-panel", class: "content-panel" }, !this.isMobile && this.renderTopbarLinks(), this.showAppSwitcher && h("z-app-switcher", { theme: this.theme }), h("div", { id: "divider-container" }, h("z-divider", { orientation:
|
|
28
|
+
} }, h("div", { id: "content-container", style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, h("div", { id: "left-panel", class: "content-panel" }, h("z-logo", { mobileLogo: this.isMobile, width: this.isMobile ? 32 : 128, height: this.isMobile ? 40 : 32, imageAlt: "zanichelli-logo", link: this.logoLink, targetBlank: true }), this.isMobile && this.renderTopbarLinks()), h("div", { id: "right-panel", class: "content-panel" }, !this.isMobile && this.renderTopbarLinks(), this.showAppSwitcher && h("z-app-switcher", { theme: this.theme }), h("div", { id: "divider-container" }, h("z-divider", { orientation: DividerOrientation.VERTICAL, color: this.theme === ThemeVariant.LIGHT ? "gray800" : "color-white" })), h("slot", { name: "login" })))));
|
|
32
29
|
}
|
|
33
30
|
static get is() { return "z-app-topbar"; }
|
|
34
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,17 +4,23 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class ZLink {
|
|
6
6
|
constructor() {
|
|
7
|
-
|
|
8
|
-
this.href = undefined;
|
|
7
|
+
/** link target (optional) */
|
|
9
8
|
this.target = "_self";
|
|
9
|
+
/** tabindex link attribute (optional) */
|
|
10
10
|
this.htmltabindex = 0;
|
|
11
|
+
/** disable link flag (optional) */
|
|
11
12
|
this.isdisabled = false;
|
|
13
|
+
/** active link flag (optional) */
|
|
12
14
|
this.isactive = false;
|
|
15
|
+
/** white variant flag (optional) */
|
|
13
16
|
this.iswhite = false;
|
|
17
|
+
/** link text variant (optional) */
|
|
14
18
|
this.textcolor = "primary";
|
|
15
|
-
|
|
19
|
+
/** big link version */
|
|
16
20
|
this.big = false;
|
|
21
|
+
/** link icon position (optional) */
|
|
17
22
|
this.iconposition = "left";
|
|
23
|
+
/** draw underline on text (optional) */
|
|
18
24
|
this.underline = false;
|
|
19
25
|
this.iconSize = 18;
|
|
20
26
|
this.emitZLinkClick = this.emitZLinkClick.bind(this);
|
|
@@ -6,11 +6,18 @@ import { h, Host } from "@stencil/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class ZMenu {
|
|
8
8
|
constructor() {
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Flag to set the display mode of the list.
|
|
11
|
+
* If true, the list will be absolutely positioned under the menu label,
|
|
12
|
+
* stacked beneath it otherwise.
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
10
15
|
this.floating = false;
|
|
16
|
+
/**
|
|
17
|
+
* The opening state of the menu.
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
11
20
|
this.open = false;
|
|
12
|
-
this.hasHeader = undefined;
|
|
13
|
-
this.hasContent = undefined;
|
|
14
21
|
this.toggle = this.toggle.bind(this);
|
|
15
22
|
this.checkContent = this.checkContent.bind(this);
|
|
16
23
|
this.onItemsChange = this.onItemsChange.bind(this);
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { KeyboardKeyCode } from "../../../beans/index";
|
|
2
3
|
import { handleKeyboardSubmit, getClickedElement, getElementTree } from "../../../utils/utils";
|
|
3
4
|
export class ZMenuDropdown {
|
|
4
5
|
constructor() {
|
|
5
|
-
this.nomeutente = undefined;
|
|
6
|
-
this.menucontent = undefined;
|
|
7
|
-
this.buttonid = undefined;
|
|
8
6
|
this.ismenuopen = false;
|
|
9
7
|
this.handleToggle = this.handleToggle.bind(this);
|
|
10
8
|
this.handleFocus = this.handleFocus.bind(this);
|
|
@@ -29,7 +27,7 @@ export class ZMenuDropdown {
|
|
|
29
27
|
this.ismenuopen = !this.ismenuopen;
|
|
30
28
|
}
|
|
31
29
|
handleFocus(e) {
|
|
32
|
-
if (e instanceof KeyboardEvent && e.keyCode !==
|
|
30
|
+
if (e instanceof KeyboardEvent && e.keyCode !== KeyboardKeyCode.TAB) {
|
|
33
31
|
return;
|
|
34
32
|
}
|
|
35
33
|
const tree = getElementTree(getClickedElement());
|
|
@@ -4,11 +4,6 @@ import { h, Host } from "@stencil/core";
|
|
|
4
4
|
* @slot item - Single entry of the section. Can be slotted multiple times to insert items.
|
|
5
5
|
*/
|
|
6
6
|
export class ZMenuSection {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.active = undefined;
|
|
9
|
-
this.open = undefined;
|
|
10
|
-
this.hasContent = undefined;
|
|
11
|
-
}
|
|
12
7
|
toggle() {
|
|
13
8
|
if (!this.hasContent) {
|
|
14
9
|
return;
|
|
@@ -2,13 +2,9 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { mobileBreakpoint } from "../../../constants/breakpoints";
|
|
3
3
|
export class ZUserDropdown {
|
|
4
4
|
constructor() {
|
|
5
|
-
|
|
6
|
-
this.userFullName = undefined;
|
|
7
|
-
this.userEmail = undefined;
|
|
8
|
-
this.menuContent = undefined;
|
|
5
|
+
/** if inner components colors are inverted, or not, default false */
|
|
9
6
|
this.useInverseColors = false;
|
|
10
7
|
this.isMenuOpen = false;
|
|
11
|
-
this.isMobile = undefined;
|
|
12
8
|
this.handleLoggedButtonClick = this.handleLoggedButtonClick.bind(this);
|
|
13
9
|
this.emitDropdownMenuLinkClick = this.emitDropdownMenuLinkClick.bind(this);
|
|
14
10
|
}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { ButtonVariant } from "../../../beans";
|
|
2
3
|
export class ZCookiebar {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.cookiepolicyurl = undefined;
|
|
5
|
-
this.hide = undefined;
|
|
6
|
-
this.callback = undefined;
|
|
7
|
-
}
|
|
8
4
|
emitAccept(ev) {
|
|
9
5
|
this.accept.emit({ ev });
|
|
10
6
|
}
|
|
@@ -23,7 +19,7 @@ export class ZCookiebar {
|
|
|
23
19
|
}
|
|
24
20
|
}
|
|
25
21
|
renderContentSlot() {
|
|
26
|
-
return (h("div", { class: "content", slot: "content" }, h("div", null, h("h2", null, "Su questo sito usiamo i cookie."), h("div", null, h("p", null, "Se continui a navigare ci permetti di farlo secondo le regole spiegate nella nostra informativa sulla privacy relativa ai \u00A0", h("a", { href: this.cookiepolicyurl, target: "_blank" }, "cookie"), "."))), h("z-button", { variant:
|
|
22
|
+
return (h("div", { class: "content", slot: "content" }, h("div", null, h("h2", null, "Su questo sito usiamo i cookie."), h("div", null, h("p", null, "Se continui a navigare ci permetti di farlo secondo le regole spiegate nella nostra informativa sulla privacy relativa ai \u00A0", h("a", { href: this.cookiepolicyurl, target: "_blank" }, "cookie"), "."))), h("z-button", { variant: ButtonVariant.PRIMARY, onClick: (ev) => this.handleOkButtonClick(ev), onKeyUp: (ev) => this.handleOkButtonKeyUp(ev) }, "ACCETTA")));
|
|
27
23
|
}
|
|
28
24
|
render() {
|
|
29
25
|
return h("z-candybar", { class: `${this.hide ? "hidden" : ""}` }, this.renderContentSlot());
|
|
@@ -6,11 +6,14 @@ import { h, Host } from "@stencil/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class ZNotification {
|
|
8
8
|
constructor() {
|
|
9
|
-
|
|
10
|
-
this.actiontext = undefined;
|
|
11
|
-
this.type = undefined;
|
|
9
|
+
/** Enable close icon */
|
|
12
10
|
this.showclose = false;
|
|
11
|
+
/**
|
|
12
|
+
* Enable shadow.
|
|
13
|
+
* @deprecated shadow is available only for the `sticky` version of the notification.
|
|
14
|
+
*/
|
|
13
15
|
this.showshadow = false;
|
|
16
|
+
/** Enable sticky notification bar. */
|
|
14
17
|
this.sticky = false;
|
|
15
18
|
this.handleActionButtonClick = this.handleActionButtonClick.bind(this);
|
|
16
19
|
this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { ToastNotificationTransition } from "../../../beans";
|
|
2
3
|
import { mobileBreakpoint } from "../../../constants/breakpoints";
|
|
3
4
|
import Hammer from "hammerjs";
|
|
4
5
|
export class ZToastNotification {
|
|
5
6
|
constructor() {
|
|
6
|
-
|
|
7
|
-
this.heading = undefined;
|
|
8
|
-
this.message = undefined;
|
|
9
|
-
this.closebutton = undefined;
|
|
10
|
-
this.autoclose = undefined;
|
|
7
|
+
/** toast notification autoclose can be paused */
|
|
11
8
|
this.pauseonfocusloss = true;
|
|
12
|
-
|
|
9
|
+
/** toast notification can be draggable*/
|
|
13
10
|
this.isdraggable = true;
|
|
11
|
+
/** toast notification draggable percentage*/
|
|
14
12
|
this.draggablepercentage = 80;
|
|
15
|
-
this.
|
|
16
|
-
this.percentage = undefined;
|
|
13
|
+
this.isCloseEventCalled = false;
|
|
17
14
|
}
|
|
18
15
|
watchPropIsdraggable(newValue) {
|
|
19
16
|
if (newValue) {
|
|
@@ -71,14 +68,14 @@ export class ZToastNotification {
|
|
|
71
68
|
}
|
|
72
69
|
mapSlideOutClass() {
|
|
73
70
|
switch (this.transition) {
|
|
74
|
-
case
|
|
75
|
-
return
|
|
76
|
-
case
|
|
77
|
-
return
|
|
78
|
-
case
|
|
79
|
-
return
|
|
80
|
-
case
|
|
81
|
-
return
|
|
71
|
+
case ToastNotificationTransition.SLIDE_IN_DOWN:
|
|
72
|
+
return ToastNotificationTransition.SLIDE_OUT_UP;
|
|
73
|
+
case ToastNotificationTransition.SLIDE_IN_UP:
|
|
74
|
+
return ToastNotificationTransition.SLIDE_OUT_DOWN;
|
|
75
|
+
case ToastNotificationTransition.SLIDE_IN_LEFT:
|
|
76
|
+
return ToastNotificationTransition.SLIDE_OUT_RIGHT;
|
|
77
|
+
case ToastNotificationTransition.SLIDE_IN_RIGHT:
|
|
78
|
+
return ToastNotificationTransition.SLIDE_OUT_LEFT;
|
|
82
79
|
}
|
|
83
80
|
}
|
|
84
81
|
calculateDraggedPercentage(e) {
|
|
@@ -172,7 +169,7 @@ export class ZToastNotification {
|
|
|
172
169
|
render() {
|
|
173
170
|
return (h(Host, { style: {
|
|
174
171
|
"--percentuale": `${this.percentage}%`,
|
|
175
|
-
}, class: this.transition ? this.transition :
|
|
172
|
+
}, class: this.transition ? this.transition : ToastNotificationTransition.SLIDE_IN_DOWN, onAnimationEnd: (e) => {
|
|
176
173
|
if (this.autoclose && e.animationName.includes("slidein")) {
|
|
177
174
|
this.startClosingTimeout(this.autoclose);
|
|
178
175
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { PopoverPositions } from "../../../beans";
|
|
2
3
|
/**
|
|
3
4
|
* Tooltip component.
|
|
4
5
|
* It is basically a wrapper for the `<z-popover>` component with custom configuration.
|
|
@@ -9,10 +10,14 @@ import { h } from "@stencil/core";
|
|
|
9
10
|
*/
|
|
10
11
|
export class ZTooltip {
|
|
11
12
|
constructor() {
|
|
12
|
-
|
|
13
|
+
/** Tooltip position. */
|
|
14
|
+
this.position = PopoverPositions.AUTO;
|
|
15
|
+
/** Enable tooltip dark mode. */
|
|
13
16
|
this.dark = false;
|
|
17
|
+
/**
|
|
18
|
+
* The open state of the tooltip.
|
|
19
|
+
*/
|
|
14
20
|
this.open = false;
|
|
15
|
-
this.bindTo = undefined;
|
|
16
21
|
}
|
|
17
22
|
onPopoverOpenChange() {
|
|
18
23
|
this.open = this.popover.open;
|
|
@@ -4,15 +4,10 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class ZPanelElem {
|
|
6
6
|
constructor() {
|
|
7
|
-
|
|
8
|
-
this.imgurl = undefined;
|
|
9
|
-
this.imgalt = undefined;
|
|
10
|
-
this.linkicon = undefined;
|
|
11
|
-
this.linklabel = undefined;
|
|
12
|
-
this.url = undefined;
|
|
7
|
+
/** link target (optional) */
|
|
13
8
|
this.target = "_blank";
|
|
9
|
+
/** disabled status flag (optional) */
|
|
14
10
|
this.isdisabled = false;
|
|
15
|
-
this.descrSlotName = undefined;
|
|
16
11
|
}
|
|
17
12
|
renderIcon() {
|
|
18
13
|
if (this.isdisabled) {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class ZBody {
|
|
3
3
|
constructor() {
|
|
4
|
-
|
|
4
|
+
/** Font weight variant */
|
|
5
5
|
this.variant = "regular";
|
|
6
|
-
this.component = undefined;
|
|
7
6
|
}
|
|
8
7
|
render() {
|
|
9
8
|
return (h("z-typography", { tabIndex: 0, component: this.component || "span", level: `b${this.level}`, variant: this.variant }, h("slot", null)));
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class ZHeading {
|
|
3
3
|
constructor() {
|
|
4
|
-
|
|
4
|
+
/** Font weight variant */
|
|
5
5
|
this.variant = "regular";
|
|
6
|
-
this.component = undefined;
|
|
7
6
|
}
|
|
8
7
|
render() {
|
|
9
8
|
return (h("z-typography", { tabIndex: 0, component: this.component || `h${this.level}`, level: `h${this.level}`, variant: this.variant }, h("slot", null)));
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class ZTypography {
|
|
3
3
|
constructor() {
|
|
4
|
-
|
|
4
|
+
/** Font weight variant */
|
|
5
5
|
this.variant = "regular";
|
|
6
|
-
this.component = undefined;
|
|
7
6
|
}
|
|
8
7
|
render() {
|
|
9
8
|
const el = document.createElement(this.component || "span");
|