@zanichelli/albe-web-components 6.0.3 → 6.1.0-a1
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.cjs.js +346 -302
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-ce225fb3.js → utils-7c92be74.js} +4 -5
- package/dist/cjs/{utils-ebe45309.js → utils-f681590c.js} +10 -11
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +1 -0
- package/dist/cjs/z-app-header.cjs.entry.js +7 -29
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +84 -70
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -3
- package/dist/cjs/z-avatar.cjs.entry.js +6 -8
- package/dist/cjs/z-body_2.cjs.entry.js +4 -2
- package/dist/cjs/z-button-deprecated.cjs.entry.js +6 -12
- package/dist/cjs/z-button-filter.cjs.entry.js +2 -3
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/cjs/z-button.cjs.entry.js +8 -9
- package/dist/cjs/z-card.cjs.entry.js +6 -6
- package/dist/cjs/z-carousel.cjs.entry.js +11 -10
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +2 -0
- package/dist/cjs/z-chip.cjs.entry.js +5 -6
- package/dist/cjs/z-combobox.cjs.entry.js +15 -17
- package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -8
- package/dist/cjs/z-cookiebar.cjs.entry.js +4 -2
- package/dist/cjs/z-cover-hero.cjs.entry.js +6 -14
- package/dist/cjs/z-date-picker.cjs.entry.js +16 -17
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +2 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +14 -11
- package/dist/cjs/z-file.cjs.entry.js +3 -2
- package/dist/cjs/z-footer-link_3.cjs.entry.js +5 -0
- package/dist/cjs/z-footer.cjs.entry.js +7 -2
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -6
- package/dist/cjs/z-input-deprecated.cjs.entry.js +28 -29
- package/dist/cjs/z-input-label_2.cjs.entry.js +17 -17
- package/dist/cjs/z-list-group.cjs.entry.js +4 -17
- package/dist/cjs/z-list_2.cjs.entry.js +19 -55
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +7 -3
- package/dist/cjs/z-menu-section.cjs.entry.js +3 -0
- package/dist/cjs/z-menu.cjs.entry.js +3 -10
- package/dist/cjs/z-messages-pocket.cjs.entry.js +6 -6
- package/dist/cjs/z-modal-login.cjs.entry.js +7 -5
- package/dist/cjs/z-modal.cjs.entry.js +3 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +6 -3
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +8 -6
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -4
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -0
- package/dist/cjs/z-myz-card_4.cjs.entry.js +15 -9
- package/dist/cjs/z-myz-list-item.cjs.entry.js +6 -4
- package/dist/cjs/z-myz-topbar.cjs.entry.js +14 -4
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +8 -16
- package/dist/cjs/z-navigation-tab.cjs.entry.js +7 -17
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +10 -14
- package/dist/cjs/z-notification.cjs.entry.js +3 -6
- package/dist/cjs/z-offcanvas.cjs.entry.js +4 -12
- package/dist/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination-bar.cjs.entry.js +5 -6
- package/dist/cjs/z-pagination-page.cjs.entry.js +2 -4
- package/dist/cjs/z-pagination.cjs.entry.js +7 -15
- package/dist/cjs/z-panel-elem.cjs.entry.js +7 -2
- package/dist/cjs/z-pocket_3.cjs.entry.js +15 -15
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +8 -15
- package/dist/cjs/z-popover.cjs.entry.js +31 -36
- package/dist/cjs/z-section-title.cjs.entry.js +2 -10
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -4
- package/dist/cjs/z-slideshow.cjs.entry.js +6 -4
- package/dist/cjs/z-status-tag.cjs.entry.js +5 -3
- package/dist/cjs/z-stepper-item.cjs.entry.js +4 -0
- package/dist/cjs/z-table-cell.cjs.entry.js +3 -4
- package/dist/cjs/z-table-empty-box.cjs.entry.js +0 -2
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -0
- package/dist/cjs/z-table-header-row.cjs.entry.js +1 -0
- package/dist/cjs/z-table-header.cjs.entry.js +15 -16
- package/dist/cjs/z-table-row.cjs.entry.js +4 -6
- package/dist/cjs/z-table.cjs.entry.js +9 -12
- package/dist/cjs/z-tag.cjs.entry.js +2 -0
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -4
- package/dist/cjs/z-toast-notification.cjs.entry.js +17 -14
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -7
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +32 -27
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -7
- package/dist/cjs/z-user-dropdown.cjs.entry.js +5 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/buttons/z-button/index.js +8 -9
- package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
- package/dist/collection/components/buttons/z-chip/index.js +4 -5
- package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +1 -6
- package/dist/collection/components/date-picker/utils.js +10 -11
- package/dist/collection/components/date-picker/z-date-picker/index.js +15 -16
- package/dist/collection/components/date-picker/z-range-picker/index.js +15 -12
- package/dist/collection/components/file-upload/z-file/index.js +3 -2
- package/dist/collection/components/file-upload/z-file-upload/index.js +13 -10
- package/dist/collection/components/footer/z-footer/index.js +7 -2
- package/dist/collection/components/footer/z-footer-link/index.js +3 -0
- package/dist/collection/components/footer/z-footer-section/index.js +1 -0
- package/dist/collection/components/footer/z-footer-social/index.js +5 -0
- package/dist/collection/components/icons/z-icon/index.js +7 -0
- package/dist/collection/components/indicators/z-stepper-item/index.js +6 -0
- package/dist/collection/components/inputs/z-combobox/index.js +14 -16
- package/dist/collection/components/inputs/z-input/index.js +40 -37
- package/dist/collection/components/inputs/z-input-message/index.js +2 -0
- package/dist/collection/components/inputs/z-select/index.js +14 -15
- package/dist/collection/components/list/z-list/index.js +1 -5
- package/dist/collection/components/list/z-list-element/index.js +18 -51
- package/dist/collection/components/list/z-list-group/index.js +4 -17
- package/dist/collection/components/list/z-toast-notification-list/index.js +1 -4
- package/dist/collection/components/logo/z-logo/index.js +8 -0
- package/dist/collection/components/modal/z-modal/index.js +3 -1
- package/dist/collection/components/modal/z-modal-login/index.js +7 -5
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +7 -17
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +8 -16
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +10 -14
- package/dist/collection/components/navigation/z-app-header/index.js +7 -29
- package/dist/collection/components/navigation/z-app-switcher/index.js +1 -3
- package/dist/collection/components/navigation/z-app-topbar/index.js +8 -5
- package/dist/collection/components/navigation/z-link/index.js +3 -9
- package/dist/collection/components/navigation/z-menu/index.js +3 -10
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +4 -2
- package/dist/collection/components/navigation/z-menu-section/index.js +5 -0
- package/dist/collection/components/navigation/z-user-dropdown/index.js +5 -1
- package/dist/collection/components/notification/z-cookiebar/index.js +6 -2
- package/dist/collection/components/notification/z-info-box/index.js +1 -1
- package/dist/collection/components/notification/z-notification/index.js +3 -6
- package/dist/collection/components/notification/z-toast-notification/index.js +17 -14
- package/dist/collection/components/notification/z-tooltip/index.js +2 -7
- package/dist/collection/components/panel/z-panel-elem/index.js +7 -2
- package/dist/collection/components/typography/z-body/index.js +2 -1
- package/dist/collection/components/typography/z-heading/index.js +2 -1
- package/dist/collection/components/typography/z-typography/index.js +2 -1
- package/dist/collection/components/z-aria-alert/index.js +1 -3
- package/dist/collection/components/z-avatar/index.js +6 -8
- package/dist/collection/components/z-card/index.js +6 -6
- package/dist/collection/components/z-carousel/index.js +11 -10
- package/dist/collection/components/z-contextual-menu/index.js +2 -8
- package/dist/collection/components/z-cover-hero/index.js +6 -14
- package/dist/collection/components/z-divider/index.js +2 -6
- package/dist/collection/components/z-info-reveal/index.js +2 -6
- package/dist/collection/components/z-offcanvas/index.js +4 -12
- package/dist/collection/components/z-pagination/index.js +7 -15
- package/dist/collection/components/z-popover/index.js +30 -35
- package/dist/collection/components/z-section-title/index.js +2 -10
- package/dist/collection/components/z-skip-to-content/index.js +2 -3
- package/dist/collection/components/z-table/z-table/index.js +9 -12
- package/dist/collection/components/z-table/z-table-cell/index.js +3 -4
- package/dist/collection/components/z-table/z-table-empty-box/index.js +0 -2
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +3 -0
- package/dist/collection/components/z-table/z-table-header/index.js +14 -15
- package/dist/collection/components/z-table/z-table-header-row/index.js +3 -0
- package/dist/collection/components/z-table/z-table-row/index.js +4 -6
- package/dist/collection/components/z-tag/index.js +4 -0
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +4 -4
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +2 -4
- package/dist/collection/deprecated/z-button-deprecated/index.js +6 -12
- package/dist/collection/deprecated/z-button-filter/index.js +2 -3
- package/dist/collection/deprecated/z-chip-deprecated/index.js +4 -0
- package/dist/collection/deprecated/z-input-deprecated/index.js +27 -28
- package/dist/collection/deprecated/z-input-label/index.js +2 -1
- package/dist/collection/deprecated/z-popover-deprecated/index.js +7 -14
- package/dist/collection/deprecated/z-status-tag/index.js +5 -3
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +32 -27
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +5 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +8 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +6 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +3 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +8 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +6 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +2 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +4 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +5 -2
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +6 -6
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +11 -12
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +2 -3
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -0
- package/dist/collection/snowflakes/myz/topbar/index.js +14 -4
- package/dist/collection/snowflakes/myz/z-alert/index.js +3 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +3 -3
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +5 -3
- package/dist/collection/utils/utils.js +4 -5
- package/dist/esm/index.js +347 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-39ca028c.js → utils-420e8552.js} +4 -5
- package/dist/esm/{utils-fbe04cd6.js → utils-ff91a03a.js} +10 -11
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-alert.entry.js +1 -0
- package/dist/esm/z-app-header.entry.js +7 -29
- package/dist/esm/z-app-switcher_9.entry.js +84 -70
- package/dist/esm/z-aria-alert.entry.js +1 -3
- package/dist/esm/z-avatar.entry.js +6 -8
- package/dist/esm/z-body_2.entry.js +4 -2
- package/dist/esm/z-button-deprecated.entry.js +6 -12
- package/dist/esm/z-button-filter.entry.js +2 -3
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button.entry.js +8 -9
- package/dist/esm/z-card.entry.js +6 -6
- package/dist/esm/z-carousel.entry.js +11 -10
- package/dist/esm/z-chip-deprecated.entry.js +2 -0
- package/dist/esm/z-chip.entry.js +5 -6
- package/dist/esm/z-combobox.entry.js +15 -17
- package/dist/esm/z-contextual-menu.entry.js +2 -8
- package/dist/esm/z-cookiebar.entry.js +4 -2
- package/dist/esm/z-cover-hero.entry.js +6 -14
- package/dist/esm/z-date-picker.entry.js +16 -17
- package/dist/esm/z-dragdrop-area_2.entry.js +2 -1
- package/dist/esm/z-file-upload.entry.js +14 -11
- package/dist/esm/z-file.entry.js +3 -2
- package/dist/esm/z-footer-link_3.entry.js +5 -0
- package/dist/esm/z-footer.entry.js +7 -2
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -6
- package/dist/esm/z-input-deprecated.entry.js +28 -29
- package/dist/esm/z-input-label_2.entry.js +17 -17
- package/dist/esm/z-list-group.entry.js +4 -17
- package/dist/esm/z-list_2.entry.js +19 -55
- package/dist/esm/z-menu-dropdown_2.entry.js +7 -3
- package/dist/esm/z-menu-section.entry.js +3 -0
- package/dist/esm/z-menu.entry.js +3 -10
- package/dist/esm/z-messages-pocket.entry.js +6 -6
- package/dist/esm/z-modal-login.entry.js +7 -5
- package/dist/esm/z-modal.entry.js +3 -1
- package/dist/esm/z-myz-card-alert.entry.js +6 -3
- package/dist/esm/z-myz-card-dictionary.entry.js +3 -6
- package/dist/esm/z-myz-card-footer.entry.js +8 -6
- package/dist/esm/z-myz-card-icon.entry.js +1 -2
- package/dist/esm/z-myz-card-info.entry.js +3 -4
- package/dist/esm/z-myz-card-list.entry.js +1 -0
- package/dist/esm/z-myz-card_4.entry.js +15 -9
- package/dist/esm/z-myz-list-item.entry.js +6 -4
- package/dist/esm/z-myz-topbar.entry.js +14 -4
- package/dist/esm/z-navigation-tab-link.entry.js +8 -16
- package/dist/esm/z-navigation-tab.entry.js +7 -17
- package/dist/esm/z-navigation-tabs.entry.js +10 -14
- package/dist/esm/z-notification.entry.js +3 -6
- package/dist/esm/z-offcanvas.entry.js +4 -12
- package/dist/esm/z-otp.entry.js +3 -3
- package/dist/esm/z-pagination-bar.entry.js +5 -6
- package/dist/esm/z-pagination-page.entry.js +2 -4
- package/dist/esm/z-pagination.entry.js +7 -15
- package/dist/esm/z-panel-elem.entry.js +7 -2
- package/dist/esm/z-pocket_3.entry.js +15 -15
- package/dist/esm/z-popover-deprecated.entry.js +8 -15
- package/dist/esm/z-popover.entry.js +31 -36
- package/dist/esm/z-section-title.entry.js +2 -10
- package/dist/esm/z-skip-to-content.entry.js +3 -4
- package/dist/esm/z-slideshow.entry.js +6 -4
- package/dist/esm/z-status-tag.entry.js +5 -3
- package/dist/esm/z-stepper-item.entry.js +4 -0
- package/dist/esm/z-table-cell.entry.js +3 -4
- package/dist/esm/z-table-empty-box.entry.js +0 -2
- package/dist/esm/z-table-expanded-row.entry.js +1 -0
- package/dist/esm/z-table-header-row.entry.js +1 -0
- package/dist/esm/z-table-header.entry.js +15 -16
- package/dist/esm/z-table-row.entry.js +4 -6
- package/dist/esm/z-table.entry.js +9 -12
- package/dist/esm/z-tag.entry.js +2 -0
- package/dist/esm/z-toast-notification-list.entry.js +1 -4
- package/dist/esm/z-toast-notification.entry.js +17 -14
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +2 -7
- package/dist/esm/z-tooltip-deprecated.entry.js +32 -27
- package/dist/esm/z-tooltip.entry.js +2 -7
- package/dist/esm/z-user-dropdown.entry.js +5 -1
- package/dist/types/beans/index.d.ts +50 -50
- package/dist/types/stencil-public-runtime.d.ts +5 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-016b2800.entry.js +1 -0
- package/dist/web-components-library/p-04908405.entry.js +1 -0
- package/dist/web-components-library/p-06430481.entry.js +1 -0
- package/dist/web-components-library/p-067bd5da.entry.js +1 -0
- package/dist/web-components-library/p-082d65b1.entry.js +1 -0
- package/dist/web-components-library/p-0cff6cce.entry.js +1 -0
- package/dist/web-components-library/p-0e743002.entry.js +1 -0
- package/dist/web-components-library/p-10b84e8c.entry.js +1 -0
- package/dist/web-components-library/p-12211a48.entry.js +1 -0
- package/dist/web-components-library/p-14233b99.entry.js +1 -0
- package/dist/web-components-library/p-176256ee.js +1 -0
- package/dist/web-components-library/p-1ab0de76.entry.js +1 -0
- package/dist/web-components-library/p-1d2d5232.entry.js +1 -0
- package/dist/web-components-library/p-20109d3a.entry.js +1 -0
- package/dist/web-components-library/{p-f158d205.entry.js → p-2c18a622.entry.js} +1 -1
- package/dist/web-components-library/p-2cf26585.entry.js +1 -0
- package/dist/web-components-library/p-2d506c48.entry.js +1 -0
- package/dist/web-components-library/p-2d5d8e6f.entry.js +1 -0
- package/dist/web-components-library/p-2e7a31ac.entry.js +1 -0
- package/dist/web-components-library/p-2f6f3729.entry.js +1 -0
- package/dist/web-components-library/p-30cbafaf.entry.js +1 -0
- package/dist/web-components-library/p-341ddb5d.entry.js +1 -0
- package/dist/web-components-library/p-34a96008.entry.js +1 -0
- package/dist/web-components-library/p-35b30271.entry.js +1 -0
- package/dist/web-components-library/p-36f4ce3f.entry.js +1 -0
- package/dist/web-components-library/p-3c28f72e.entry.js +1 -0
- package/dist/web-components-library/p-3c7cf41f.entry.js +1 -0
- package/dist/web-components-library/p-3e414cf1.entry.js +1 -0
- package/dist/web-components-library/p-3ecfb7c1.entry.js +1 -0
- package/dist/web-components-library/p-40f96085.entry.js +1 -0
- package/{www/build/p-4d42f224.entry.js → dist/web-components-library/p-48624926.entry.js} +1 -1
- package/dist/web-components-library/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
- package/dist/web-components-library/p-53d22727.entry.js +1 -0
- package/dist/web-components-library/p-563529f8.entry.js +1 -0
- package/dist/web-components-library/p-57faab40.entry.js +1 -0
- package/dist/web-components-library/p-5b2d8a91.entry.js +1 -0
- package/dist/web-components-library/p-6037dce0.entry.js +1 -0
- package/dist/web-components-library/p-670232c4.entry.js +1 -0
- package/dist/web-components-library/p-67f346d9.entry.js +1 -0
- package/dist/web-components-library/p-691678c8.entry.js +1 -0
- package/dist/web-components-library/p-69b27fe9.entry.js +16 -0
- package/dist/web-components-library/p-6fe1bffb.entry.js +1 -0
- package/dist/web-components-library/p-728e7dcd.entry.js +1 -0
- package/dist/web-components-library/p-74e31a32.entry.js +1 -0
- package/dist/web-components-library/p-759fb7c4.entry.js +1 -0
- package/dist/web-components-library/p-79223014.entry.js +1 -0
- package/dist/web-components-library/p-7b22a446.entry.js +1 -0
- package/dist/web-components-library/p-7c40fb15.entry.js +1 -0
- package/dist/web-components-library/p-7cbc1836.entry.js +1 -0
- package/dist/web-components-library/p-830b21a4.entry.js +1 -0
- package/dist/web-components-library/p-87099b68.entry.js +1 -0
- package/dist/web-components-library/p-8cabed58.entry.js +1 -0
- package/dist/web-components-library/p-8cf14a47.entry.js +1 -0
- package/dist/web-components-library/p-8eaa46ac.entry.js +1 -0
- package/dist/web-components-library/p-985c5ed8.entry.js +1 -0
- package/dist/web-components-library/p-9f6b43a0.entry.js +1 -0
- package/dist/web-components-library/p-9f8d0f79.entry.js +1 -0
- package/dist/web-components-library/p-a3b8dd69.entry.js +1 -0
- package/dist/web-components-library/p-aa271ed7.entry.js +1 -0
- package/dist/web-components-library/p-ac1a9d63.entry.js +1 -0
- package/dist/web-components-library/p-af4a9bb7.entry.js +1 -0
- package/dist/web-components-library/p-ba495cad.entry.js +1 -0
- package/dist/web-components-library/p-ba9210e9.entry.js +1 -0
- package/dist/web-components-library/p-bf9348e6.entry.js +1 -0
- package/dist/web-components-library/p-c0df6e96.entry.js +1 -0
- package/dist/web-components-library/p-c2b368ff.entry.js +1 -0
- package/dist/web-components-library/p-c39c68b9.entry.js +1 -0
- package/dist/web-components-library/p-cadba1e5.entry.js +1 -0
- package/dist/web-components-library/p-ccb3764b.entry.js +1 -0
- package/dist/web-components-library/p-d668461a.js +1 -0
- package/dist/web-components-library/p-d767f784.entry.js +1 -0
- package/dist/web-components-library/p-d7e72cec.entry.js +1 -0
- package/dist/web-components-library/p-dbc23998.entry.js +1 -0
- package/dist/web-components-library/p-def721df.entry.js +1 -0
- package/dist/web-components-library/p-e12cd68a.entry.js +1 -0
- package/dist/web-components-library/p-e84d2839.entry.js +1 -0
- package/dist/web-components-library/p-eadb185e.entry.js +1 -0
- package/dist/web-components-library/p-f9f9518a.entry.js +1 -0
- package/dist/web-components-library/p-fd305e08.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +4 -4
- package/www/build/index.esm.js +1 -1
- package/www/build/p-016b2800.entry.js +1 -0
- package/www/build/p-04908405.entry.js +1 -0
- package/www/build/p-06430481.entry.js +1 -0
- package/www/build/p-067bd5da.entry.js +1 -0
- package/www/build/p-082d65b1.entry.js +1 -0
- package/www/build/p-0cff6cce.entry.js +1 -0
- package/www/build/p-0e743002.entry.js +1 -0
- package/www/build/p-10b84e8c.entry.js +1 -0
- package/www/build/p-12211a48.entry.js +1 -0
- package/www/build/p-14233b99.entry.js +1 -0
- package/www/build/p-176256ee.js +1 -0
- package/www/build/p-1ab0de76.entry.js +1 -0
- package/www/build/p-1d2d5232.entry.js +1 -0
- package/www/build/p-20109d3a.entry.js +1 -0
- package/www/build/{p-f158d205.entry.js → p-2c18a622.entry.js} +1 -1
- package/www/build/p-2cf26585.entry.js +1 -0
- package/www/build/p-2d506c48.entry.js +1 -0
- package/www/build/p-2d5d8e6f.entry.js +1 -0
- package/www/build/p-2e7a31ac.entry.js +1 -0
- package/www/build/p-2f6f3729.entry.js +1 -0
- package/www/build/p-30cbafaf.entry.js +1 -0
- package/www/build/p-341ddb5d.entry.js +1 -0
- package/www/build/p-34a96008.entry.js +1 -0
- package/www/build/p-35b30271.entry.js +1 -0
- package/www/build/p-36f4ce3f.entry.js +1 -0
- package/www/build/p-3c28f72e.entry.js +1 -0
- package/www/build/p-3c7cf41f.entry.js +1 -0
- package/www/build/p-3e414cf1.entry.js +1 -0
- package/www/build/p-3ecfb7c1.entry.js +1 -0
- package/www/build/p-40f96085.entry.js +1 -0
- package/{dist/web-components-library/p-4d42f224.entry.js → www/build/p-48624926.entry.js} +1 -1
- package/www/build/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
- package/www/build/p-53d22727.entry.js +1 -0
- package/www/build/p-563529f8.entry.js +1 -0
- package/www/build/p-57faab40.entry.js +1 -0
- package/www/build/p-5b2d8a91.entry.js +1 -0
- package/www/build/p-6037dce0.entry.js +1 -0
- package/www/build/{p-0134d685.js → p-60ec44c6.js} +1 -1
- package/www/build/p-670232c4.entry.js +1 -0
- package/www/build/p-67f346d9.entry.js +1 -0
- package/www/build/p-691678c8.entry.js +1 -0
- package/www/build/p-69b27fe9.entry.js +16 -0
- package/www/build/p-6fe1bffb.entry.js +1 -0
- package/www/build/p-728e7dcd.entry.js +1 -0
- package/www/build/p-74e31a32.entry.js +1 -0
- package/www/build/p-759fb7c4.entry.js +1 -0
- package/www/build/p-79223014.entry.js +1 -0
- package/www/build/p-7b22a446.entry.js +1 -0
- package/www/build/p-7c40fb15.entry.js +1 -0
- package/www/build/p-7cbc1836.entry.js +1 -0
- package/www/build/p-830b21a4.entry.js +1 -0
- package/www/build/p-87099b68.entry.js +1 -0
- package/www/build/p-8cabed58.entry.js +1 -0
- package/www/build/p-8cf14a47.entry.js +1 -0
- package/www/build/p-8eaa46ac.entry.js +1 -0
- package/www/build/p-985c5ed8.entry.js +1 -0
- package/www/build/p-9f6b43a0.entry.js +1 -0
- package/www/build/p-9f8d0f79.entry.js +1 -0
- package/www/build/p-a3b8dd69.entry.js +1 -0
- package/www/build/p-aa271ed7.entry.js +1 -0
- package/www/build/p-ac1a9d63.entry.js +1 -0
- package/www/build/p-af4a9bb7.entry.js +1 -0
- package/www/build/p-ba495cad.entry.js +1 -0
- package/www/build/p-ba9210e9.entry.js +1 -0
- package/www/build/p-bf9348e6.entry.js +1 -0
- package/www/build/p-c0df6e96.entry.js +1 -0
- package/www/build/p-c2b368ff.entry.js +1 -0
- package/www/build/p-c39c68b9.entry.js +1 -0
- package/www/build/p-cadba1e5.entry.js +1 -0
- package/www/build/p-ccb3764b.entry.js +1 -0
- package/www/build/p-d668461a.js +1 -0
- package/www/build/p-d767f784.entry.js +1 -0
- package/www/build/p-d7e72cec.entry.js +1 -0
- package/www/build/p-dbc23998.entry.js +1 -0
- package/www/build/p-def721df.entry.js +1 -0
- package/www/build/p-e12cd68a.entry.js +1 -0
- package/www/build/p-e84d2839.entry.js +1 -0
- package/www/build/p-eadb185e.entry.js +1 -0
- package/www/build/p-f9f9518a.entry.js +1 -0
- package/www/build/p-fd305e08.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/index-199cd650.js +0 -346
- package/dist/collection/components/index.js +0 -8
- package/dist/esm/index-9d028352.js +0 -346
- package/dist/types/components/index.d.ts +0 -0
- package/dist/web-components-library/p-05ced71c.entry.js +0 -1
- package/dist/web-components-library/p-074ea569.entry.js +0 -1
- package/dist/web-components-library/p-10b46635.entry.js +0 -1
- package/dist/web-components-library/p-1106ead2.entry.js +0 -1
- package/dist/web-components-library/p-15b8a920.entry.js +0 -1
- package/dist/web-components-library/p-15fe7b71.entry.js +0 -1
- package/dist/web-components-library/p-1bd6592f.entry.js +0 -1
- package/dist/web-components-library/p-1e6a2a56.entry.js +0 -1
- package/dist/web-components-library/p-23781e2b.entry.js +0 -1
- package/dist/web-components-library/p-28ff9383.entry.js +0 -1
- package/dist/web-components-library/p-2d0cb337.entry.js +0 -1
- package/dist/web-components-library/p-2efedcf4.entry.js +0 -1
- package/dist/web-components-library/p-344e7ae7.entry.js +0 -1
- package/dist/web-components-library/p-35ceae27.entry.js +0 -1
- package/dist/web-components-library/p-3913bff2.entry.js +0 -1
- package/dist/web-components-library/p-3a431f04.entry.js +0 -1
- package/dist/web-components-library/p-3c2d438b.entry.js +0 -1
- package/dist/web-components-library/p-3f55dce6.entry.js +0 -1
- package/dist/web-components-library/p-442b8b35.entry.js +0 -1
- package/dist/web-components-library/p-4cd6c6f4.entry.js +0 -1
- package/dist/web-components-library/p-4d093e07.entry.js +0 -1
- package/dist/web-components-library/p-4e733fbd.entry.js +0 -1
- package/dist/web-components-library/p-4ec9ab53.entry.js +0 -1
- package/dist/web-components-library/p-53a03f2a.entry.js +0 -1
- package/dist/web-components-library/p-562ad563.entry.js +0 -1
- package/dist/web-components-library/p-58650e22.entry.js +0 -1
- package/dist/web-components-library/p-5bec950e.entry.js +0 -1
- package/dist/web-components-library/p-5c9556e3.entry.js +0 -1
- package/dist/web-components-library/p-5cf4a412.entry.js +0 -1
- package/dist/web-components-library/p-5d4a6659.entry.js +0 -1
- package/dist/web-components-library/p-5f3baf14.entry.js +0 -1
- package/dist/web-components-library/p-61424b8a.entry.js +0 -1
- package/dist/web-components-library/p-681e1f5a.entry.js +0 -1
- package/dist/web-components-library/p-686545fa.entry.js +0 -1
- package/dist/web-components-library/p-6f64e8a8.entry.js +0 -1
- package/dist/web-components-library/p-70d16b2c.entry.js +0 -1
- package/dist/web-components-library/p-7688f8ca.entry.js +0 -1
- package/dist/web-components-library/p-77e4774d.entry.js +0 -1
- package/dist/web-components-library/p-79b8d87e.entry.js +0 -1
- package/dist/web-components-library/p-7d696941.entry.js +0 -1
- package/dist/web-components-library/p-7d792297.entry.js +0 -1
- package/dist/web-components-library/p-810bd730.entry.js +0 -1
- package/dist/web-components-library/p-87fdd14f.js +0 -1
- package/dist/web-components-library/p-982254e5.entry.js +0 -1
- package/dist/web-components-library/p-9d03a7d6.entry.js +0 -1
- package/dist/web-components-library/p-9ecc5eba.entry.js +0 -1
- package/dist/web-components-library/p-9f80c0b8.js +0 -1
- package/dist/web-components-library/p-9fe267fc.entry.js +0 -1
- package/dist/web-components-library/p-a6d6178a.entry.js +0 -1
- package/dist/web-components-library/p-a79cc147.entry.js +0 -1
- package/dist/web-components-library/p-a79d1412.entry.js +0 -1
- package/dist/web-components-library/p-aded8a43.entry.js +0 -1
- package/dist/web-components-library/p-b4fbb6e4.entry.js +0 -1
- package/dist/web-components-library/p-b5086d6d.entry.js +0 -1
- package/dist/web-components-library/p-bb0fe7bc.entry.js +0 -1
- package/dist/web-components-library/p-bb15a265.js +0 -1
- package/dist/web-components-library/p-bb95b82f.entry.js +0 -1
- package/dist/web-components-library/p-c2d1785b.entry.js +0 -1
- package/dist/web-components-library/p-c6a662e6.entry.js +0 -1
- package/dist/web-components-library/p-c6aad085.entry.js +0 -1
- package/dist/web-components-library/p-cb5d8a84.entry.js +0 -1
- package/dist/web-components-library/p-cbb3ea13.entry.js +0 -1
- package/dist/web-components-library/p-ccf67abf.entry.js +0 -1
- package/dist/web-components-library/p-ce83ce18.entry.js +0 -1
- package/dist/web-components-library/p-d199b781.entry.js +0 -1
- package/dist/web-components-library/p-d3645ced.entry.js +0 -1
- package/dist/web-components-library/p-d3733579.entry.js +0 -1
- package/dist/web-components-library/p-d531d1d2.entry.js +0 -1
- package/dist/web-components-library/p-e68c18e5.entry.js +0 -1
- package/dist/web-components-library/p-ecc4afa1.entry.js +0 -1
- package/dist/web-components-library/p-ede9fbf5.entry.js +0 -1
- package/dist/web-components-library/p-edf0195b.entry.js +0 -1
- package/dist/web-components-library/p-f2f9a1bc.entry.js +0 -1
- package/dist/web-components-library/p-f2fd1e20.entry.js +0 -1
- package/dist/web-components-library/p-f7c1eb3f.entry.js +0 -16
- package/dist/web-components-library/p-f95cc914.entry.js +0 -1
- package/dist/web-components-library/p-fb7d33f2.entry.js +0 -1
- package/www/build/p-05ced71c.entry.js +0 -1
- package/www/build/p-074ea569.entry.js +0 -1
- package/www/build/p-10b46635.entry.js +0 -1
- package/www/build/p-1106ead2.entry.js +0 -1
- package/www/build/p-15b8a920.entry.js +0 -1
- package/www/build/p-15fe7b71.entry.js +0 -1
- package/www/build/p-1bd6592f.entry.js +0 -1
- package/www/build/p-1e6a2a56.entry.js +0 -1
- package/www/build/p-23781e2b.entry.js +0 -1
- package/www/build/p-28ff9383.entry.js +0 -1
- package/www/build/p-2d0cb337.entry.js +0 -1
- package/www/build/p-2efedcf4.entry.js +0 -1
- package/www/build/p-344e7ae7.entry.js +0 -1
- package/www/build/p-35ceae27.entry.js +0 -1
- package/www/build/p-3913bff2.entry.js +0 -1
- package/www/build/p-3a431f04.entry.js +0 -1
- package/www/build/p-3c2d438b.entry.js +0 -1
- package/www/build/p-3f55dce6.entry.js +0 -1
- package/www/build/p-442b8b35.entry.js +0 -1
- package/www/build/p-4cd6c6f4.entry.js +0 -1
- package/www/build/p-4d093e07.entry.js +0 -1
- package/www/build/p-4e733fbd.entry.js +0 -1
- package/www/build/p-4ec9ab53.entry.js +0 -1
- package/www/build/p-53a03f2a.entry.js +0 -1
- package/www/build/p-562ad563.entry.js +0 -1
- package/www/build/p-58650e22.entry.js +0 -1
- package/www/build/p-5bec950e.entry.js +0 -1
- package/www/build/p-5c9556e3.entry.js +0 -1
- package/www/build/p-5cf4a412.entry.js +0 -1
- package/www/build/p-5d4a6659.entry.js +0 -1
- package/www/build/p-5f3baf14.entry.js +0 -1
- package/www/build/p-61424b8a.entry.js +0 -1
- package/www/build/p-681e1f5a.entry.js +0 -1
- package/www/build/p-686545fa.entry.js +0 -1
- package/www/build/p-6f64e8a8.entry.js +0 -1
- package/www/build/p-70d16b2c.entry.js +0 -1
- package/www/build/p-7688f8ca.entry.js +0 -1
- package/www/build/p-77e4774d.entry.js +0 -1
- package/www/build/p-79b8d87e.entry.js +0 -1
- package/www/build/p-7d696941.entry.js +0 -1
- package/www/build/p-7d792297.entry.js +0 -1
- package/www/build/p-810bd730.entry.js +0 -1
- package/www/build/p-87fdd14f.js +0 -1
- package/www/build/p-982254e5.entry.js +0 -1
- package/www/build/p-9d03a7d6.entry.js +0 -1
- package/www/build/p-9ecc5eba.entry.js +0 -1
- package/www/build/p-9f80c0b8.js +0 -1
- package/www/build/p-9fe267fc.entry.js +0 -1
- package/www/build/p-a6d6178a.entry.js +0 -1
- package/www/build/p-a79cc147.entry.js +0 -1
- package/www/build/p-a79d1412.entry.js +0 -1
- package/www/build/p-aded8a43.entry.js +0 -1
- package/www/build/p-b4fbb6e4.entry.js +0 -1
- package/www/build/p-b5086d6d.entry.js +0 -1
- package/www/build/p-bb0fe7bc.entry.js +0 -1
- package/www/build/p-bb15a265.js +0 -1
- package/www/build/p-bb95b82f.entry.js +0 -1
- package/www/build/p-c2d1785b.entry.js +0 -1
- package/www/build/p-c6a662e6.entry.js +0 -1
- package/www/build/p-c6aad085.entry.js +0 -1
- package/www/build/p-cb5d8a84.entry.js +0 -1
- package/www/build/p-cbb3ea13.entry.js +0 -1
- package/www/build/p-ccf67abf.entry.js +0 -1
- package/www/build/p-ce83ce18.entry.js +0 -1
- package/www/build/p-d199b781.entry.js +0 -1
- package/www/build/p-d3645ced.entry.js +0 -1
- package/www/build/p-d3733579.entry.js +0 -1
- package/www/build/p-d531d1d2.entry.js +0 -1
- package/www/build/p-e68c18e5.entry.js +0 -1
- package/www/build/p-ecc4afa1.entry.js +0 -1
- package/www/build/p-ede9fbf5.entry.js +0 -1
- package/www/build/p-edf0195b.entry.js +0 -1
- package/www/build/p-f2f9a1bc.entry.js +0 -1
- package/www/build/p-f2fd1e20.entry.js +0 -1
- package/www/build/p-f7c1eb3f.entry.js +0 -16
- package/www/build/p-f95cc914.entry.js +0 -1
- package/www/build/p-fb7d33f2.entry.js +0 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
|
|
4
|
-
const index = require('./index-199cd650.js');
|
|
5
4
|
|
|
6
5
|
var HOOKS = [
|
|
7
6
|
"onChange",
|
|
@@ -2633,18 +2632,18 @@ function validateDate(dateStr, hasTime = false) {
|
|
|
2633
2632
|
function setFlatpickrPosition(element, mode) {
|
|
2634
2633
|
const toggleHeight = element.children[0].clientHeight;
|
|
2635
2634
|
element.style.setProperty("--z-range-picker--toggle-height", `${toggleHeight}px`);
|
|
2636
|
-
const flatpickrHeight = mode ===
|
|
2637
|
-
?
|
|
2638
|
-
: mode ===
|
|
2639
|
-
?
|
|
2640
|
-
:
|
|
2635
|
+
const flatpickrHeight = mode === "date-time" /* ZDatePickerMode.DATE_TIME */
|
|
2636
|
+
? 523 /* ZDatePickerModeValue.DATE_TIME */
|
|
2637
|
+
: mode === "months" /* ZDatePickerMode.MONTHS */
|
|
2638
|
+
? 288 /* ZDatePickerModeValue.MONTHS */
|
|
2639
|
+
: 401 /* ZDatePickerModeValue.DATE */;
|
|
2641
2640
|
const bottom = element.getBoundingClientRect().bottom;
|
|
2642
2641
|
const overflowBottom = bottom + flatpickrHeight > window.innerHeight;
|
|
2643
2642
|
const overflowTop = bottom - flatpickrHeight - toggleHeight < 0;
|
|
2644
2643
|
if (!overflowTop && overflowBottom) {
|
|
2645
|
-
return
|
|
2644
|
+
return "top" /* ZDatePickerPosition.TOP */;
|
|
2646
2645
|
}
|
|
2647
|
-
return
|
|
2646
|
+
return "bottom" /* ZDatePickerPosition.BOTTOM */;
|
|
2648
2647
|
}
|
|
2649
2648
|
function setAriaOptions(element, mode) {
|
|
2650
2649
|
const calendar = element.getElementsByClassName("flatpickr-calendar");
|
|
@@ -2664,13 +2663,13 @@ function setAriaOptions(element, mode) {
|
|
|
2664
2663
|
prevMonthArrow.setAttribute("role", "button");
|
|
2665
2664
|
nextMonthArrow.setAttribute("role", "button");
|
|
2666
2665
|
element.getElementsByClassName("cur-year")[0].setAttribute("aria-label", "Anno");
|
|
2667
|
-
if (mode ===
|
|
2666
|
+
if (mode === "date" /* ZDatePickerMode.DATE */) {
|
|
2668
2667
|
setDateAriaOptions(element, prevMonthArrow, nextMonthArrow);
|
|
2669
2668
|
}
|
|
2670
|
-
if (mode ===
|
|
2669
|
+
if (mode === "date-time" /* ZDatePickerMode.DATE_TIME */) {
|
|
2671
2670
|
setDateTimeAriaOptions(element, prevMonthArrow, nextMonthArrow);
|
|
2672
2671
|
}
|
|
2673
|
-
if (mode ===
|
|
2672
|
+
if (mode === "months" /* ZDatePickerMode.MONTHS */) {
|
|
2674
2673
|
setMonthsAriaOptions(element, prevMonthArrow, nextMonthArrow);
|
|
2675
2674
|
}
|
|
2676
2675
|
});
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const index = require('./index-e3299e0a.js');
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v2.
|
|
6
|
+
Stencil Client Patch Browser v2.19.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const patchBrowser = () => {
|
|
9
9
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('web-components-library.cjs.js', document.baseURI).href));
|
|
@@ -9,6 +9,7 @@ const stylesCss = ":host{display:block;box-sizing:border-box;color:var(--color-s
|
|
|
9
9
|
const ZAlert = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
+
this.type = undefined;
|
|
12
13
|
}
|
|
13
14
|
render() {
|
|
14
15
|
return (index.h("div", { class: this.type }, index.h("slot", null)));
|
|
@@ -11,41 +11,19 @@ const ZAppHeader = class {
|
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.sticking = index.createEvent(this, "sticking", 7);
|
|
14
|
-
/**
|
|
15
|
-
* Stuck mode for the header.
|
|
16
|
-
* You can programmatically set it using an IntersectionObserver.
|
|
17
|
-
* **Optional**
|
|
18
|
-
*/
|
|
19
|
-
this.stuck = false;
|
|
20
|
-
/**
|
|
21
|
-
* Should place an overlay over the hero image.
|
|
22
|
-
* Useful for legibility purpose.
|
|
23
|
-
* **Optional**
|
|
24
|
-
*/
|
|
25
|
-
this.overlay = false;
|
|
26
|
-
/**
|
|
27
|
-
* Control menu bar position in the header.
|
|
28
|
-
* - auto: the menu bar is positioned near the title
|
|
29
|
-
* - stack: the menu bar is positioned below the title
|
|
30
|
-
* - offcanvas: the menu bar is not displayed and a burger icon appears to open the offcanvas menu
|
|
31
|
-
*
|
|
32
|
-
* **Optional**
|
|
33
|
-
*/
|
|
34
|
-
this.flow = "auto";
|
|
35
|
-
/**
|
|
36
|
-
* The opening state of the drawer.
|
|
37
|
-
*/
|
|
38
|
-
this.drawerOpen = false;
|
|
39
|
-
/**
|
|
40
|
-
* The stucked state of the bar.
|
|
41
|
-
*/
|
|
42
|
-
this.stucked = false;
|
|
43
14
|
this.observer = SUPPORT_INTERSECTION_OBSERVER &&
|
|
44
15
|
new IntersectionObserver(([entry]) => {
|
|
45
16
|
this.stucked = !entry.isIntersecting;
|
|
46
17
|
}, {
|
|
47
18
|
threshold: 0.5,
|
|
48
19
|
});
|
|
20
|
+
this.stuck = false;
|
|
21
|
+
this.hero = undefined;
|
|
22
|
+
this.overlay = false;
|
|
23
|
+
this.flow = "auto";
|
|
24
|
+
this.drawerOpen = false;
|
|
25
|
+
this.stucked = false;
|
|
26
|
+
this.menuLength = undefined;
|
|
49
27
|
this.openDrawer = this.openDrawer.bind(this);
|
|
50
28
|
this.closeDrawer = this.closeDrawer.bind(this);
|
|
51
29
|
this.collectMenuElements.bind(this);
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-199cd650.js');
|
|
7
6
|
const breakpoints = require('./breakpoints-88c4fd6c.js');
|
|
8
7
|
const icons = require('./icons-460f0f1e.js');
|
|
9
|
-
const utils = require('./utils-
|
|
10
|
-
const utils$1 = require('./utils-
|
|
8
|
+
const utils = require('./utils-7c92be74.js');
|
|
9
|
+
const utils$1 = require('./utils-f681590c.js');
|
|
11
10
|
require('./_commonjsHelpers-537d719a.js');
|
|
12
11
|
|
|
13
12
|
const stylesCss$8 = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}button{display:flex;align-content:center;justify-content:center;padding:0;border:none;background-color:transparent}button>z-icon{color:var(--bg-white);fill:currentcolor}button>z-icon.light{color:var(--bg-grey-900);fill:currentcolor}";
|
|
@@ -16,8 +15,7 @@ const ZAppSwitcher = class {
|
|
|
16
15
|
constructor(hostRef) {
|
|
17
16
|
index.registerInstance(this, hostRef);
|
|
18
17
|
this.appButtonClick = index.createEvent(this, "appButtonClick", 7);
|
|
19
|
-
|
|
20
|
-
this.theme = index$1.ThemeVariant.DARK;
|
|
18
|
+
this.theme = "dark" /* ThemeVariant.DARK */;
|
|
21
19
|
this.isopen = false;
|
|
22
20
|
this.emitAppButtonClick = this.emitAppButtonClick.bind(this);
|
|
23
21
|
}
|
|
@@ -36,9 +34,13 @@ const stylesCss$7 = ":host{position:sticky;z-index:99;top:0;display:block;height
|
|
|
36
34
|
const ZAppTopbar = class {
|
|
37
35
|
constructor(hostRef) {
|
|
38
36
|
index.registerInstance(this, hostRef);
|
|
39
|
-
/** theme variant, default 'dark' */
|
|
40
|
-
this.theme = index$1.ThemeVariant.DARK;
|
|
41
37
|
this.topbarLinks = [];
|
|
38
|
+
this.theme = "dark" /* ThemeVariant.DARK */;
|
|
39
|
+
this.contentMaxWidth = undefined;
|
|
40
|
+
this.topbarContent = undefined;
|
|
41
|
+
this.logoLink = undefined;
|
|
42
|
+
this.showAppSwitcher = undefined;
|
|
43
|
+
this.isMobile = undefined;
|
|
42
44
|
}
|
|
43
45
|
handleResize() {
|
|
44
46
|
this.isMobile = window.innerWidth <= breakpoints.mobileBreakpoint;
|
|
@@ -52,13 +54,13 @@ const ZAppTopbar = class {
|
|
|
52
54
|
}
|
|
53
55
|
}
|
|
54
56
|
renderTopbarLinks() {
|
|
55
|
-
return this.topbarLinks.map((link) => (index.h("z-link", { htmlid: link.id, textcolor: this.theme ===
|
|
57
|
+
return this.topbarLinks.map((link) => (index.h("z-link", { htmlid: link.id, textcolor: this.theme === "light" /* ThemeVariant.LIGHT */ ? "black" : "white", href: link.link, target: link.target, icon: this.isMobile ? link.icon : undefined }, !this.isMobile && link.label)));
|
|
56
58
|
}
|
|
57
59
|
render() {
|
|
58
60
|
return (index.h(index.Host, { class: {
|
|
59
61
|
[this.theme]: true,
|
|
60
62
|
"limited-width": !!this.contentMaxWidth,
|
|
61
|
-
} }, index.h("div", { id: "content-container", style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, index.h("div", { id: "left-panel", class: "content-panel" }, index.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()), index.h("div", { id: "right-panel", class: "content-panel" }, !this.isMobile && this.renderTopbarLinks(), this.showAppSwitcher && index.h("z-app-switcher", { theme: this.theme }), index.h("div", { id: "divider-container" }, index.h("z-divider", { orientation:
|
|
63
|
+
} }, index.h("div", { id: "content-container", style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, index.h("div", { id: "left-panel", class: "content-panel" }, index.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()), index.h("div", { id: "right-panel", class: "content-panel" }, !this.isMobile && this.renderTopbarLinks(), this.showAppSwitcher && index.h("z-app-switcher", { theme: this.theme }), index.h("div", { id: "divider-container" }, index.h("z-divider", { orientation: "vertical" /* DividerOrientation.VERTICAL */, color: this.theme === "light" /* ThemeVariant.LIGHT */ ? "gray800" : "color-white" })), index.h("slot", { name: "login" })))));
|
|
62
64
|
}
|
|
63
65
|
};
|
|
64
66
|
ZAppTopbar.style = stylesCss$7;
|
|
@@ -68,12 +70,9 @@ const stylesCss$6 = ".sc-z-divider-h{display:block;padding:0;margin:0}.divider-h
|
|
|
68
70
|
const ZDivider = class {
|
|
69
71
|
constructor(hostRef) {
|
|
70
72
|
index.registerInstance(this, hostRef);
|
|
71
|
-
|
|
72
|
-
this.size = index$1.DividerSize.SMALL;
|
|
73
|
-
/** [optional] Divider color */
|
|
73
|
+
this.size = "small" /* DividerSize.SMALL */;
|
|
74
74
|
this.color = "gray200";
|
|
75
|
-
|
|
76
|
-
this.orientation = index$1.DividerOrientation.HORIZONTAL;
|
|
75
|
+
this.orientation = "horizontal" /* DividerOrientation.HORIZONTAL */;
|
|
77
76
|
}
|
|
78
77
|
render() {
|
|
79
78
|
return (index.h(index.Host, { class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
|
|
@@ -86,6 +85,11 @@ const stylesCss$5 = ":host{margin-right:var(--z-icon-right-margin, 0);margin-lef
|
|
|
86
85
|
const ZIcon = class {
|
|
87
86
|
constructor(hostRef) {
|
|
88
87
|
index.registerInstance(this, hostRef);
|
|
88
|
+
this.name = undefined;
|
|
89
|
+
this.height = undefined;
|
|
90
|
+
this.width = undefined;
|
|
91
|
+
this.iconid = undefined;
|
|
92
|
+
this.fill = undefined;
|
|
89
93
|
}
|
|
90
94
|
selectPathOrPolygon(iconValue) {
|
|
91
95
|
if (iconValue === null || iconValue === void 0 ? void 0 : iconValue.startsWith("M")) {
|
|
@@ -108,33 +112,37 @@ const ZInput = class {
|
|
|
108
112
|
this.startTyping = index.createEvent(this, "startTyping", 7);
|
|
109
113
|
this.stopTyping = index.createEvent(this, "stopTyping", 7);
|
|
110
114
|
this.inputCheck = index.createEvent(this, "inputCheck", 7);
|
|
111
|
-
|
|
115
|
+
this.typingtimeout = 300;
|
|
112
116
|
this.htmlid = `id-${utils.randomId()}`;
|
|
113
|
-
|
|
117
|
+
this.type = undefined;
|
|
118
|
+
this.name = undefined;
|
|
119
|
+
this.label = undefined;
|
|
114
120
|
this.ariaLabel = "";
|
|
115
|
-
|
|
121
|
+
this.value = undefined;
|
|
116
122
|
this.disabled = false;
|
|
117
|
-
/** the input is readonly */
|
|
118
123
|
this.readonly = false;
|
|
119
|
-
/** the input is required (optional): available for text, password, number, email, textarea, checkbox */
|
|
120
124
|
this.required = false;
|
|
121
|
-
/** checked: available for checkbox, radio */
|
|
122
125
|
this.checked = false;
|
|
123
|
-
|
|
126
|
+
this.placeholder = undefined;
|
|
127
|
+
this.htmltitle = undefined;
|
|
128
|
+
this.status = undefined;
|
|
124
129
|
this.message = true;
|
|
125
|
-
|
|
126
|
-
this.
|
|
127
|
-
/** render clear icon when typing (optional): available for text */
|
|
130
|
+
this.labelPosition = "right" /* LabelPosition.RIGHT */;
|
|
131
|
+
this.autocomplete = undefined;
|
|
128
132
|
this.hasclearicon = true;
|
|
133
|
+
this.icon = undefined;
|
|
134
|
+
this.min = undefined;
|
|
135
|
+
this.max = undefined;
|
|
136
|
+
this.step = undefined;
|
|
137
|
+
this.pattern = undefined;
|
|
129
138
|
this.isTyping = false;
|
|
130
139
|
this.passwordHidden = true;
|
|
131
|
-
this.typingtimeout = 300;
|
|
132
140
|
}
|
|
133
141
|
inputCheckListener(e) {
|
|
134
142
|
const data = e.detail;
|
|
135
143
|
switch (this.type) {
|
|
136
|
-
case
|
|
137
|
-
if (data.type ===
|
|
144
|
+
case "radio" /* InputType.RADIO */:
|
|
145
|
+
if (data.type === "radio" /* InputType.RADIO */ && data.name === this.name && data.id !== this.htmlid) {
|
|
138
146
|
this.checked = false;
|
|
139
147
|
}
|
|
140
148
|
break;
|
|
@@ -143,8 +151,8 @@ const ZInput = class {
|
|
|
143
151
|
/** get checked status */
|
|
144
152
|
async isChecked() {
|
|
145
153
|
switch (this.type) {
|
|
146
|
-
case
|
|
147
|
-
case
|
|
154
|
+
case "checkbox" /* InputType.CHECKBOX */:
|
|
155
|
+
case "radio" /* InputType.RADIO */:
|
|
148
156
|
return this.checked;
|
|
149
157
|
default:
|
|
150
158
|
console.warn("`isChecked` method is only available for type `checkbox` and `radio`");
|
|
@@ -156,7 +164,7 @@ const ZInput = class {
|
|
|
156
164
|
this.emitStartTyping();
|
|
157
165
|
}
|
|
158
166
|
let validity;
|
|
159
|
-
if (this.type ===
|
|
167
|
+
if (this.type === "textarea" /* InputType.TEXTAREA */) {
|
|
160
168
|
validity = this.getValidity("textarea");
|
|
161
169
|
}
|
|
162
170
|
else {
|
|
@@ -214,7 +222,7 @@ const ZInput = class {
|
|
|
214
222
|
};
|
|
215
223
|
}
|
|
216
224
|
getNumberAttributes(type) {
|
|
217
|
-
if (type !=
|
|
225
|
+
if (type != "number" /* InputType.NUMBER */) {
|
|
218
226
|
return;
|
|
219
227
|
}
|
|
220
228
|
return {
|
|
@@ -224,27 +232,27 @@ const ZInput = class {
|
|
|
224
232
|
};
|
|
225
233
|
}
|
|
226
234
|
getPatternAttribute(type) {
|
|
227
|
-
if (type !=
|
|
228
|
-
type !=
|
|
229
|
-
type !=
|
|
230
|
-
type !=
|
|
231
|
-
type !=
|
|
232
|
-
type !=
|
|
235
|
+
if (type != "password" /* InputType.PASSWORD */ &&
|
|
236
|
+
type != "text" /* InputType.TEXT */ &&
|
|
237
|
+
type != "tel" /* InputType.TEL */ &&
|
|
238
|
+
type != "search" /* InputType.SEARCH */ &&
|
|
239
|
+
type != "url" /* InputType.URL */ &&
|
|
240
|
+
type != "email" /* InputType.EMAIL */) {
|
|
233
241
|
return;
|
|
234
242
|
}
|
|
235
243
|
return {
|
|
236
244
|
pattern: this.pattern,
|
|
237
245
|
};
|
|
238
246
|
}
|
|
239
|
-
renderInputText(type =
|
|
247
|
+
renderInputText(type = "text" /* InputType.TEXT */) {
|
|
240
248
|
const attr = Object.assign(Object.assign(Object.assign({}, this.getTextAttributes()), this.getNumberAttributes(type)), this.getPatternAttribute(type));
|
|
241
|
-
if (this.icon || type ===
|
|
249
|
+
if (this.icon || type === "password" /* InputType.PASSWORD */) {
|
|
242
250
|
Object.assign(attr.class, { "has-icon": true });
|
|
243
251
|
}
|
|
244
|
-
if (this.hasclearicon && type !=
|
|
252
|
+
if (this.hasclearicon && type != "number" /* InputType.NUMBER */) {
|
|
245
253
|
Object.assign(attr.class, { "has-clear-icon": true });
|
|
246
254
|
}
|
|
247
|
-
return (index.h("div", { class: "text-wrapper" }, this.renderLabel(), index.h("div", null, index.h("input", Object.assign({ type: type ===
|
|
255
|
+
return (index.h("div", { class: "text-wrapper" }, this.renderLabel(), index.h("div", null, index.h("input", Object.assign({ type: type === "password" /* InputType.PASSWORD */ && !this.passwordHidden ? "text" /* InputType.TEXT */ : type }, attr, { "aria-label": this.ariaLabel || this.label })), this.renderIcons()), this.renderMessage()));
|
|
248
256
|
}
|
|
249
257
|
renderLabel() {
|
|
250
258
|
if (!this.label) {
|
|
@@ -256,7 +264,7 @@ const ZInput = class {
|
|
|
256
264
|
return (index.h("span", { class: "icons-wrapper" }, this.renderResetIcon(), this.renderIcon()));
|
|
257
265
|
}
|
|
258
266
|
renderIcon() {
|
|
259
|
-
if (this.type ===
|
|
267
|
+
if (this.type === "password" /* InputType.PASSWORD */) {
|
|
260
268
|
return this.renderShowHidePassword();
|
|
261
269
|
}
|
|
262
270
|
if (!this.icon) {
|
|
@@ -265,7 +273,7 @@ const ZInput = class {
|
|
|
265
273
|
return (index.h("button", { type: "button", class: "icon-button input-icon", tabIndex: -1 }, index.h("z-icon", { name: this.icon })));
|
|
266
274
|
}
|
|
267
275
|
renderResetIcon() {
|
|
268
|
-
if (!this.hasclearicon || !this.value || this.disabled || this.readonly || this.type ==
|
|
276
|
+
if (!this.hasclearicon || !this.value || this.disabled || this.readonly || this.type == "number" /* InputType.NUMBER */) {
|
|
269
277
|
return;
|
|
270
278
|
}
|
|
271
279
|
return (index.h("button", { type: "button", class: "icon-button reset-icon", "aria-label": "cancella il contenuto dell'input", onClick: () => this.emitInputChange("") }, index.h("z-icon", { name: "multiply" })));
|
|
@@ -294,8 +302,8 @@ const ZInput = class {
|
|
|
294
302
|
renderCheckbox() {
|
|
295
303
|
return (index.h("div", { class: "checkbox-wrapper" }, index.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 }), index.h("label", { htmlFor: this.htmlid, class: {
|
|
296
304
|
"checkbox-label": true,
|
|
297
|
-
"after": this.labelPosition ===
|
|
298
|
-
"before": this.labelPosition ===
|
|
305
|
+
"after": this.labelPosition === "right" /* LabelPosition.RIGHT */,
|
|
306
|
+
"before": this.labelPosition === "left" /* LabelPosition.LEFT */,
|
|
299
307
|
} }, index.h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": "true" }), this.label && index.h("span", { innerHTML: this.label }))));
|
|
300
308
|
}
|
|
301
309
|
/* END checkbox */
|
|
@@ -303,18 +311,18 @@ const ZInput = class {
|
|
|
303
311
|
renderRadio() {
|
|
304
312
|
return (index.h("div", { class: "radio-wrapper" }, index.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 }), index.h("label", { htmlFor: this.htmlid, class: {
|
|
305
313
|
"radio-label": true,
|
|
306
|
-
"after": this.labelPosition ===
|
|
307
|
-
"before": this.labelPosition ===
|
|
314
|
+
"after": this.labelPosition === "right" /* LabelPosition.RIGHT */,
|
|
315
|
+
"before": this.labelPosition === "left" /* LabelPosition.LEFT */,
|
|
308
316
|
} }, index.h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": "true" }), this.label && index.h("span", { innerHTML: this.label }))));
|
|
309
317
|
}
|
|
310
318
|
/* END radio */
|
|
311
319
|
render() {
|
|
312
320
|
switch (this.type) {
|
|
313
|
-
case
|
|
321
|
+
case "textarea" /* InputType.TEXTAREA */:
|
|
314
322
|
return this.renderTextarea();
|
|
315
|
-
case
|
|
323
|
+
case "checkbox" /* InputType.CHECKBOX */:
|
|
316
324
|
return this.renderCheckbox();
|
|
317
|
-
case
|
|
325
|
+
case "radio" /* InputType.RADIO */:
|
|
318
326
|
return this.renderRadio();
|
|
319
327
|
default:
|
|
320
328
|
return this.renderInputText(this.type);
|
|
@@ -334,6 +342,8 @@ const ZInputMessage = class {
|
|
|
334
342
|
error: "multiply-circled",
|
|
335
343
|
warning: "exclamation-circle",
|
|
336
344
|
};
|
|
345
|
+
this.message = undefined;
|
|
346
|
+
this.status = undefined;
|
|
337
347
|
}
|
|
338
348
|
render() {
|
|
339
349
|
return (index.h(index.Host, { role: "alert", "aria-label": this.message, tabindex: this.message ? 0 : -1 }, this.statusIcons[this.status] && this.message && index.h("z-icon", { name: this.statusIcons[this.status] }), index.h("span", { innerHTML: this.message })));
|
|
@@ -347,23 +357,17 @@ const ZLink = class {
|
|
|
347
357
|
constructor(hostRef) {
|
|
348
358
|
index.registerInstance(this, hostRef);
|
|
349
359
|
this.zLinkClick = index.createEvent(this, "zLinkClick", 7);
|
|
350
|
-
|
|
360
|
+
this.htmlid = undefined;
|
|
361
|
+
this.href = undefined;
|
|
351
362
|
this.target = "_self";
|
|
352
|
-
/** tabindex link attribute (optional) */
|
|
353
363
|
this.htmltabindex = 0;
|
|
354
|
-
/** disable link flag (optional) */
|
|
355
364
|
this.isdisabled = false;
|
|
356
|
-
/** active link flag (optional) */
|
|
357
365
|
this.isactive = false;
|
|
358
|
-
/** white variant flag (optional) */
|
|
359
366
|
this.iswhite = false;
|
|
360
|
-
/** link text variant (optional) */
|
|
361
367
|
this.textcolor = "primary";
|
|
362
|
-
|
|
368
|
+
this.icon = undefined;
|
|
363
369
|
this.big = false;
|
|
364
|
-
/** link icon position (optional) */
|
|
365
370
|
this.iconposition = "left";
|
|
366
|
-
/** draw underline on text (optional) */
|
|
367
371
|
this.underline = false;
|
|
368
372
|
this.iconSize = 18;
|
|
369
373
|
this.emitZLinkClick = this.emitZLinkClick.bind(this);
|
|
@@ -413,6 +417,12 @@ const stylesCss$1 = ":host{display:inline-block;width:255px;height:64px;vertical
|
|
|
413
417
|
const ZLogo = class {
|
|
414
418
|
constructor(hostRef) {
|
|
415
419
|
index.registerInstance(this, hostRef);
|
|
420
|
+
this.width = undefined;
|
|
421
|
+
this.height = undefined;
|
|
422
|
+
this.imageAlt = undefined;
|
|
423
|
+
this.link = undefined;
|
|
424
|
+
this.targetBlank = undefined;
|
|
425
|
+
this.mobileLogo = undefined;
|
|
416
426
|
}
|
|
417
427
|
render() {
|
|
418
428
|
const style = {};
|
|
@@ -433,9 +443,13 @@ const ZRangePicker = class {
|
|
|
433
443
|
constructor(hostRef) {
|
|
434
444
|
index.registerInstance(this, hostRef);
|
|
435
445
|
this.dateSelect = index.createEvent(this, "dateSelect", 7);
|
|
436
|
-
|
|
437
|
-
this.
|
|
438
|
-
this.
|
|
446
|
+
this.rangePickerId = undefined;
|
|
447
|
+
this.firstAriaLabel = undefined;
|
|
448
|
+
this.firstLabel = undefined;
|
|
449
|
+
this.secondAriaLabel = undefined;
|
|
450
|
+
this.secondLabel = undefined;
|
|
451
|
+
this.mode = "date" /* ZRangePickerMode.DATE */;
|
|
452
|
+
this.flatpickrPosition = "bottom" /* ZDatePickerPosition.BOTTOM */;
|
|
439
453
|
this.activeInput = "start-input";
|
|
440
454
|
this.firstInputError = false;
|
|
441
455
|
this.lastInputError = false;
|
|
@@ -482,11 +496,11 @@ const ZRangePicker = class {
|
|
|
482
496
|
}
|
|
483
497
|
setupPickers() {
|
|
484
498
|
const config = {
|
|
485
|
-
enableTime: this.mode ===
|
|
499
|
+
enableTime: this.mode === "date-time" /* ZRangePickerMode.DATE_TIME */,
|
|
486
500
|
locale: utils$1.it.Italian,
|
|
487
501
|
allowInput: true,
|
|
488
502
|
wrap: true,
|
|
489
|
-
dateFormat: this.mode ===
|
|
503
|
+
dateFormat: this.mode === "date-time" /* ZRangePickerMode.DATE_TIME */ ? "d-m-Y - H:i" : "d-m-Y",
|
|
490
504
|
ariaDateFormat: "d F Y",
|
|
491
505
|
minuteIncrement: 1,
|
|
492
506
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
@@ -575,7 +589,7 @@ const ZRangePicker = class {
|
|
|
575
589
|
utils$1.setAriaOptions(this.element, this.mode);
|
|
576
590
|
}
|
|
577
591
|
formatDate(date) {
|
|
578
|
-
if (this.mode ===
|
|
592
|
+
if (this.mode === "date" /* ZRangePickerMode.DATE */) {
|
|
579
593
|
return `${utils$1.flatpickr.formatDate(date, "d-m-Y")}`;
|
|
580
594
|
}
|
|
581
595
|
return `${utils$1.flatpickr.formatDate(date, "d-m-Y - H:i")}`;
|
|
@@ -671,9 +685,9 @@ const ZRangePicker = class {
|
|
|
671
685
|
onStopTyping(value) {
|
|
672
686
|
const text = value.detail.value.replace("/", "-");
|
|
673
687
|
const englishData = text.split("-");
|
|
674
|
-
const time = this.mode ===
|
|
688
|
+
const time = this.mode === "date-time" /* ZRangePickerMode.DATE_TIME */ ? `T${englishData[3]}:00` : "";
|
|
675
689
|
const englishParsedData = `${englishData[2]}-${englishData[1]}-${englishData[0]}${time}`.split(" ").join("");
|
|
676
|
-
const isValidDate = utils$1.validateDate(text, this.mode ===
|
|
690
|
+
const isValidDate = utils$1.validateDate(text, this.mode === "date-time" /* ZRangePickerMode.DATE_TIME */);
|
|
677
691
|
const date = Date.parse(englishParsedData).toString();
|
|
678
692
|
if (this.activeInput === "start-input") {
|
|
679
693
|
if (text === "") {
|
|
@@ -735,7 +749,7 @@ const ZRangePicker = class {
|
|
|
735
749
|
}
|
|
736
750
|
render() {
|
|
737
751
|
const zInputProps = {
|
|
738
|
-
type:
|
|
752
|
+
type: "text" /* InputType.TEXT */,
|
|
739
753
|
icon: "event",
|
|
740
754
|
tabindex: "0",
|
|
741
755
|
message: false,
|
|
@@ -747,9 +761,9 @@ const ZRangePicker = class {
|
|
|
747
761
|
[this.mode]: true,
|
|
748
762
|
[this.activeInput]: true,
|
|
749
763
|
[this.flatpickrPosition]: true,
|
|
750
|
-
} }, index.h("div", { class: `${this.rangePickerId}-1-wrapper` }, index.h("div", { class: `${this.rangePickerId}-1-container` }, index.h("z-input", Object.assign({}, zInputProps, { "data-input": "data-input", class: `start-input ${this.rangePickerId}-1`, ariaLabel: this.firstAriaLabel, label: this.firstLabel, status: this.firstInputError &&
|
|
764
|
+
} }, index.h("div", { class: `${this.rangePickerId}-1-wrapper` }, index.h("div", { class: `${this.rangePickerId}-1-container` }, index.h("z-input", Object.assign({}, zInputProps, { "data-input": "data-input", class: `start-input ${this.rangePickerId}-1`, ariaLabel: this.firstAriaLabel, label: this.firstLabel, status: this.firstInputError && "error" /* InputStatus.ERROR */, onStartTyping: () => {
|
|
751
765
|
this.firstInputError = false;
|
|
752
|
-
} })))), index.h("div", { class: `${this.rangePickerId}-2-wrapper` }, index.h("div", { class: `${this.rangePickerId}-2-container` }, index.h("z-input", Object.assign({}, zInputProps, { "data-input": "data-input", class: `end-input ${this.rangePickerId}-2`, ariaLabel: this.secondAriaLabel, label: this.secondLabel, status: this.lastInputError &&
|
|
766
|
+
} })))), index.h("div", { class: `${this.rangePickerId}-2-wrapper` }, index.h("div", { class: `${this.rangePickerId}-2-container` }, index.h("z-input", Object.assign({}, zInputProps, { "data-input": "data-input", class: `end-input ${this.rangePickerId}-2`, ariaLabel: this.secondAriaLabel, label: this.secondLabel, status: this.lastInputError && "error" /* InputStatus.ERROR */, onStartTyping: () => {
|
|
753
767
|
this.lastInputError = false;
|
|
754
768
|
} }))))));
|
|
755
769
|
}
|
|
@@ -3,13 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-199cd650.js');
|
|
7
6
|
|
|
8
7
|
const ZAriaAlert = class {
|
|
9
8
|
constructor(hostRef) {
|
|
10
9
|
index.registerInstance(this, hostRef);
|
|
11
|
-
|
|
12
|
-
this.mode = index$1.ZAriaAlertMode.POLITE;
|
|
10
|
+
this.mode = "polite" /* ZAriaAlertMode.POLITE */;
|
|
13
11
|
}
|
|
14
12
|
render() {
|
|
15
13
|
return (index.h(index.Host, { "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, index.h("slot", null)));
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-199cd650.js');
|
|
7
6
|
|
|
8
7
|
const stylesCss = ":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--bg-grey-700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";
|
|
9
8
|
|
|
@@ -11,24 +10,23 @@ const ZAvatar = class {
|
|
|
11
10
|
constructor(hostRef) {
|
|
12
11
|
index.registerInstance(this, hostRef);
|
|
13
12
|
var _a, _b;
|
|
14
|
-
|
|
15
|
-
this.
|
|
16
|
-
/** [optional] Avatar text color */
|
|
13
|
+
this.size = "medium" /* AvatarSize.MEDIUM */;
|
|
14
|
+
this.text = undefined;
|
|
17
15
|
this.textColor = "text-white";
|
|
18
|
-
/** [optional] Avatar background color */
|
|
19
16
|
this.backgroundColor = "bg-grey-700";
|
|
17
|
+
this.image = undefined;
|
|
20
18
|
if (((_a = this.text) === null || _a === void 0 ? void 0 : _a.length) === 0 && ((_b = this.image) === null || _b === void 0 ? void 0 : _b.length) === 0) {
|
|
21
19
|
console.warn("z-avatar must contain at least one prop between text and image");
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
22
|
getTextSize() {
|
|
25
|
-
if (this.size ===
|
|
23
|
+
if (this.size === "small" /* AvatarSize.SMALL */) {
|
|
26
24
|
return "5";
|
|
27
25
|
}
|
|
28
|
-
else if (this.size ===
|
|
26
|
+
else if (this.size === "medium" /* AvatarSize.MEDIUM */) {
|
|
29
27
|
return "4";
|
|
30
28
|
}
|
|
31
|
-
else if (this.size ===
|
|
29
|
+
else if (this.size === "large" /* AvatarSize.LARGE */) {
|
|
32
30
|
return "2";
|
|
33
31
|
}
|
|
34
32
|
}
|
|
@@ -7,8 +7,9 @@ const index = require('./index-e3299e0a.js');
|
|
|
7
7
|
const ZBody = class {
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
|
-
|
|
10
|
+
this.level = undefined;
|
|
11
11
|
this.variant = "regular";
|
|
12
|
+
this.component = undefined;
|
|
12
13
|
}
|
|
13
14
|
render() {
|
|
14
15
|
return (index.h("z-typography", { tabIndex: 0, component: this.component || "span", level: `b${this.level}`, variant: this.variant }, index.h("slot", null)));
|
|
@@ -20,8 +21,9 @@ const stylesCss = ":host>*{margin:0;font-family:var(--dashboard-font)}:host(.reg
|
|
|
20
21
|
const ZTypography = class {
|
|
21
22
|
constructor(hostRef) {
|
|
22
23
|
index.registerInstance(this, hostRef);
|
|
23
|
-
|
|
24
|
+
this.level = undefined;
|
|
24
25
|
this.variant = "regular";
|
|
26
|
+
this.component = undefined;
|
|
25
27
|
}
|
|
26
28
|
render() {
|
|
27
29
|
const el = document.createElement(this.component || "span");
|
|
@@ -3,26 +3,20 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-199cd650.js');
|
|
7
6
|
|
|
8
7
|
const stylesCss = ":host{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:var(--space-unit);--rgb-white:240, 240, 240}button:disabled,::slotted(button:disabled){pointer-events:none}button,::slotted(button),::slotted(a){display:inline-flex;width:100%;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:center;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);cursor:pointer;fill:currentcolor;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;vertical-align:middle;white-space:nowrap}button.big,:host([size=\"big\"]) ::slotted(button),:host([size=\"big\"]) ::slotted(a){min-width:44px;height:44px}button.small,:host([size=\"small\"]) ::slotted(button),:host([size=\"small\"]) ::slotted(a){min-width:36px;height:36px}button.issmall,:host([issmall]) ::slotted(button),:host([issmall]) ::slotted(a){min-width:36px;height:36px}button.x-small,:host([size=\"x-small\"]) ::slotted(button),:host([size=\"x-small\"]) ::slotted(a){min-width:32px;height:32px}button:not(.square),:host(:not([square])) ::slotted(button),:host(:not([square])) ::slotted(a){min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}button.square,:host([square]){--z-icon-right-margin:0}button.primary,:host([variant=\"primary\"]) ::slotted(button),:host([variant=\"primary\"]) ::slotted(a){border-color:var(--color-primary01);background-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){button.primary:hover,:host([variant=\"primary\"]) ::slotted(button:hover),:host([variant=\"primary\"]) ::slotted(a:hover){border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse)}}button:focus:focus-visible,::slotted(button:focus:focus-visible),::slotted(a:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}button.primary:active,:host([variant=\"primary\"]) ::slotted(button:active),:host([variant=\"primary\"]) ::slotted(a:active){border-color:var(--color-pressed-primary);background-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-text-inverse)}button.primary:disabled,:host([variant=\"primary\"]) ::slotted(button:disabled){border-color:var(--color-disabled01);background-color:var(--color-disabled01);color:var(--color-disabled02)}button.secondary,:host([variant=\"secondary\"]) ::slotted(button),:host([variant=\"secondary\"]) ::slotted(a){border-color:var(--color-primary01);background-color:var(--color-surface01);color:var(--color-primary01)}@media (hover: hover){button.secondary:hover,:host([variant=\"secondary\"]) ::slotted(button:hover),:host([variant=\"secondary\"]) ::slotted(a:hover){border-color:var(--color-hover-primary);background-color:var(--color-surface01);color:var(--color-hover-primary)}}button.secondary:active,:host([variant=\"secondary\"]) ::slotted(button:active),:host([variant=\"secondary\"]) ::slotted(a:active){border-color:var(--color-pressed-primary);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-pressed-primary)}button.secondary:disabled,:host([variant=\"secondary\"]) ::slotted(button:disabled){border-color:var(--color-disabled01);background-color:var(--color-surface01);color:var(--color-disabled02)}button.tertiary,:host([variant=\"tertiary\"]) ::slotted(button),:host([variant=\"tertiary\"]) ::slotted(a){border-color:transparent;background-color:transparent;color:var(--color-primary01)}button.tertiary.has-content{padding:0 var(--space-unit)}@media (hover: hover){button.tertiary:hover,:host([variant=\"tertiary\"]) ::slotted(button:hover),:host([variant=\"tertiary\"]) ::slotted(a:hover){border-color:var(--color-primary03);background-color:var(--color-primary03);color:var(--color-hover-primary)}}button.tertiary:focus:focus-visible,:host([variant=\"tertiary\"]) ::slotted(button:focus:focus-visible),:host([variant=\"tertiary\"]) ::slotted(a:focus:focus-visible){border-color:var(--color-surface01);background-color:var(--color-surface01);color:var(--color-primary01)}button.tertiary:active,:host([variant=\"tertiary\"]) ::slotted(button:active),:host([variant=\"tertiary\"]) ::slotted(a:active){border-color:var(--color-surface01);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-primary01)}button.tertiary:disabled,:host([variant=\"tertiary\"]) ::slotted(button:disabled){border-color:transparent;background-color:transparent;color:var(--color-disabled02)}button.dark-bg,:host([variant=\"dark-bg\"]) ::slotted(button),:host([variant=\"dark-bg\"]) ::slotted(a){border-color:transparent;background-color:rgb(var(--rgb-white) 0.2);color:var(--color-text04)}button.dark-bg.has-content{padding:0 var(--space-unit)}@media (hover: hover){button.dark-bg:hover,:host([variant=\"dark-bg\"]) ::slotted(button:hover),:host([variant=\"dark-bg\"]) ::slotted(a:hover){background-color:rgb(var(--rgb-white) 0.1)}}button.dark-bg:active,:host([variant=\"dark-bg\"]) ::slotted(button:active),:host([variant=\"dark-bg\"]) ::slotted(a:active){background-color:rgb(var(--rgb-white) 0.3)}button.dark-bg:disabled,:host([variant=\"dark-bg\"]) ::slotted(button:disabled){background-color:rgb(var(--rgb-white) 0.05);color:var(--color-disabled03)}";
|
|
9
8
|
|
|
10
9
|
const ZButtonDeprecated = class {
|
|
11
10
|
constructor(hostRef) {
|
|
12
11
|
index.registerInstance(this, hostRef);
|
|
13
|
-
|
|
12
|
+
this.htmlid = undefined;
|
|
13
|
+
this.name = undefined;
|
|
14
14
|
this.disabled = false;
|
|
15
|
-
|
|
16
|
-
this.
|
|
17
|
-
|
|
18
|
-
this.
|
|
19
|
-
/** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
|
|
20
|
-
this.size = index$1.ButtonSize.BIG;
|
|
21
|
-
/** Reduce button size (deprecated).
|
|
22
|
-
* @deprecated Use `size` prop.
|
|
23
|
-
*/
|
|
15
|
+
this.type = "button" /* ButtonType.BUTTON */;
|
|
16
|
+
this.variant = "primary" /* ButtonVariant.PRIMARY */;
|
|
17
|
+
this.icon = undefined;
|
|
18
|
+
this.size = "big" /* ButtonSize.BIG */;
|
|
24
19
|
this.issmall = false;
|
|
25
|
-
/** Spy to render square button. */
|
|
26
20
|
this.square = false;
|
|
27
21
|
}
|
|
28
22
|
render() {
|
|
@@ -10,11 +10,10 @@ const ZButtonFilter = class {
|
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.removefilter = index.createEvent(this, "removefilter", 7);
|
|
13
|
-
|
|
13
|
+
this.filtername = undefined;
|
|
14
14
|
this.isfixed = false;
|
|
15
|
-
/** add icon to button */
|
|
16
15
|
this.hasicon = true;
|
|
17
|
-
|
|
16
|
+
this.filterid = undefined;
|
|
18
17
|
this.issmall = false;
|
|
19
18
|
this.handleRemovingFilterClick = this.handleRemovingFilterClick.bind(this);
|
|
20
19
|
}
|