@zanichelli/albe-web-components 5.5.1 → 5.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/cjs/{index-438f76bc.js → index-3dd0f9bd.js} +10 -0
- package/dist/cjs/index.cjs.js +14 -2
- package/dist/cjs/loader.cjs.js +2 -18
- package/dist/cjs/{utils-69e42a14.js → utils-29f9ccf5.js} +4 -26
- package/dist/cjs/{utils-8cc414c9.js → utils-4a419726.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +4 -116
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header.cjs.entry.js +1 -1
- package/dist/cjs/{z-range-picker.cjs.entry.js → z-app-switcher_9.cjs.entry.js} +443 -14
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-avatar.cjs.entry.js +2 -2
- package/dist/cjs/z-button-deprecated.cjs.entry.js +4 -4
- package/dist/cjs/z-button-filter.cjs.entry.js +1 -1
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-button.cjs.entry.js +2 -2
- package/dist/cjs/z-candybar.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js +2 -2
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +5 -5
- package/dist/cjs/z-combobox.cjs.entry.js +4 -4
- package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -2
- package/dist/cjs/z-cookiebar.cjs.entry.js +2 -2
- package/dist/cjs/z-cover-hero.cjs.entry.js +39 -0
- package/dist/cjs/z-date-picker.cjs.entry.js +8 -14
- package/dist/cjs/z-file-upload.cjs.entry.js +26 -12
- package/dist/cjs/z-file.cjs.entry.js +4 -4
- package/dist/cjs/z-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
- package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +3 -3
- package/dist/cjs/z-input-deprecated.cjs.entry.js +3 -3
- package/dist/cjs/z-input-label_2.cjs.entry.js +2 -2
- package/dist/cjs/z-list-group.cjs.entry.js +2 -2
- package/dist/cjs/z-list_2.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +2 -2
- package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/cjs/z-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
- package/dist/cjs/z-modal-login.cjs.entry.js +2 -2
- package/dist/cjs/z-modal.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-topbar.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-offcanvas.cjs.entry.js +2 -2
- package/dist/cjs/z-otp.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination-bar.cjs.entry.js +5 -7
- package/dist/cjs/z-pagination-page.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +5 -5
- package/dist/cjs/z-popover.cjs.entry.js +2 -2
- package/dist/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
- package/dist/cjs/z-status-tag.cjs.entry.js +4 -4
- package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/cjs/z-table-body.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +4 -4
- package/dist/cjs/z-table-empty-box.cjs.entry.js +3 -3
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table-head.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header.cjs.entry.js +5 -5
- package/dist/cjs/z-table-row.cjs.entry.js +2 -2
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +2 -2
- package/dist/cjs/z-tag.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js +4 -4
- package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +10 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/buttons/z-chip/index.js +1 -1
- package/dist/collection/components/buttons/z-chip/styles.css +2 -9
- package/dist/collection/components/file-upload/z-file/index.js +19 -3
- package/dist/collection/components/file-upload/z-file-upload/index.js +46 -11
- package/dist/collection/components/inputs/z-combobox/styles.css +1 -2
- package/dist/collection/components/z-cover-hero/index.js +103 -0
- package/dist/collection/components/z-cover-hero/styles.css +77 -0
- package/dist/collection/components/z-info-reveal/styles.css +5 -0
- package/dist/{web-components-library/index-3ee81524.js → esm/index-3c2d757b.js} +11 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -18
- package/dist/esm/{utils-5d5963ef.js → utils-57be09c8.js} +2 -2
- package/dist/esm/{utils-1e801ac0.js → utils-729724da.js} +4 -26
- package/dist/esm/web-components-library.js +4 -116
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-app-header.entry.js +1 -1
- package/dist/{web-components-library/z-range-picker.entry.js → esm/z-app-switcher_9.entry.js} +426 -5
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-button-deprecated.entry.js +4 -4
- package/dist/esm/z-button-filter.entry.js +1 -1
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-button.entry.js +2 -2
- package/dist/esm/z-candybar.entry.js +1 -1
- package/dist/esm/z-card.entry.js +2 -2
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-chip-deprecated.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +5 -5
- package/dist/esm/z-combobox.entry.js +4 -4
- package/dist/esm/z-contextual-menu.entry.js +2 -2
- package/dist/esm/z-cookiebar.entry.js +2 -2
- package/dist/esm/z-cover-hero.entry.js +35 -0
- package/dist/esm/z-date-picker.entry.js +8 -14
- package/dist/esm/z-file-upload.entry.js +26 -12
- package/dist/esm/z-file.entry.js +4 -4
- package/dist/esm/z-footer.entry.js +2 -2
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-icon-package.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +3 -3
- package/dist/esm/z-input-deprecated.entry.js +3 -3
- package/dist/esm/z-input-label_2.entry.js +2 -2
- package/dist/esm/z-list-group.entry.js +2 -2
- package/dist/esm/z-list_2.entry.js +1 -1
- package/dist/esm/z-menu-dropdown_2.entry.js +2 -2
- package/dist/esm/z-menu-section.entry.js +1 -1
- package/dist/esm/z-menu.entry.js +1 -1
- package/dist/esm/z-messages-pocket.entry.js +2 -2
- package/dist/esm/z-modal-login.entry.js +2 -2
- package/dist/esm/z-modal.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +2 -2
- package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +2 -2
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +3 -3
- package/dist/esm/z-myz-topbar.entry.js +2 -2
- package/dist/esm/z-navigation-tab-link.entry.js +2 -2
- package/dist/esm/z-navigation-tab.entry.js +2 -2
- package/dist/esm/z-navigation-tabs.entry.js +2 -2
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-offcanvas.entry.js +2 -2
- package/dist/esm/z-otp.entry.js +2 -2
- package/dist/esm/z-pagination-bar.entry.js +5 -7
- package/dist/esm/z-pagination-page.entry.js +1 -1
- package/dist/esm/z-pagination.entry.js +1 -1
- package/dist/esm/z-panel-elem.entry.js +1 -1
- package/dist/esm/z-pocket-message.entry.js +1 -1
- package/dist/esm/z-pocket_3.entry.js +2 -2
- package/dist/esm/z-popover-deprecated.entry.js +5 -5
- package/dist/esm/z-popover.entry.js +2 -2
- package/dist/esm/z-section-title.entry.js +2 -2
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +3 -3
- package/dist/esm/z-status-tag.entry.js +4 -4
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table-body.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +4 -4
- package/dist/esm/z-table-empty-box.entry.js +3 -3
- package/dist/esm/z-table-expanded-row.entry.js +1 -1
- package/dist/esm/z-table-footer.entry.js +1 -1
- package/dist/esm/z-table-head.entry.js +1 -1
- package/dist/esm/z-table-header-row.entry.js +1 -1
- package/dist/esm/z-table-header.entry.js +5 -5
- package/dist/esm/z-table-row.entry.js +2 -2
- package/dist/esm/z-table-sticky-footer.entry.js +1 -1
- package/dist/esm/z-table.entry.js +2 -2
- package/dist/esm/z-tag.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js +4 -4
- package/dist/esm/z-toggle-button.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +3 -3
- package/dist/esm/z-tooltip-deprecated.entry.js +2 -2
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/esm/z-user-dropdown.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/beans/index.d.ts +8 -0
- package/dist/types/components/file-upload/z-file/index.d.ts +2 -0
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +5 -3
- package/dist/types/components/z-cover-hero/index.d.ts +29 -0
- package/dist/types/components.d.ts +42 -1
- package/dist/web-components-library/index.esm.js +1 -9
- package/dist/web-components-library/{p-b15efba3.entry.js → p-02681c05.entry.js} +1 -1
- package/dist/web-components-library/{p-d33fea26.entry.js → p-03ef960c.entry.js} +1 -1
- package/dist/web-components-library/{p-69ef6ddc.entry.js → p-0aa9746a.entry.js} +1 -1
- package/dist/web-components-library/p-0ab1b40f.entry.js +1 -0
- package/dist/web-components-library/{p-63ccb013.entry.js → p-1196b959.entry.js} +1 -1
- package/dist/web-components-library/p-1906915c.entry.js +1 -0
- package/dist/web-components-library/{p-d97a2db9.entry.js → p-1c413074.entry.js} +1 -1
- package/dist/web-components-library/{p-1727c1c8.entry.js → p-1e6aff0f.entry.js} +1 -1
- package/dist/web-components-library/p-1ff7bde5.entry.js +1 -0
- package/dist/web-components-library/p-223566d6.entry.js +1 -0
- package/dist/web-components-library/{p-de25c7f0.entry.js → p-29e8a12c.entry.js} +1 -1
- package/{www/build/p-9074e1a5.entry.js → dist/web-components-library/p-46a6341a.entry.js} +1 -1
- package/dist/web-components-library/p-51130281.entry.js +1 -0
- package/dist/web-components-library/p-5789bbe7.entry.js +1 -0
- package/{www/build/p-7c6d4440.entry.js → dist/web-components-library/p-596da333.entry.js} +1 -1
- package/{www/build/p-0a0aee35.entry.js → dist/web-components-library/p-71034a6f.entry.js} +1 -1
- package/dist/web-components-library/p-710cec6d.entry.js +1 -0
- package/dist/web-components-library/p-7171717f.entry.js +1 -0
- package/dist/web-components-library/p-79408b00.entry.js +1 -0
- package/dist/web-components-library/p-7b054eb2.entry.js +1 -0
- package/dist/web-components-library/p-7d37e4a8.entry.js +16 -0
- package/{www/build/p-dffdf60a.entry.js → dist/web-components-library/p-8468d87e.entry.js} +1 -1
- package/dist/web-components-library/p-8cf3798f.entry.js +1 -0
- package/{www/build/p-43329b81.entry.js → dist/web-components-library/p-8e4d7f5d.entry.js} +1 -1
- package/dist/web-components-library/p-8f030e78.entry.js +1 -0
- package/dist/web-components-library/{p-ccdebe3f.entry.js → p-92cc171f.entry.js} +1 -1
- package/{www/build/p-5be162d5.entry.js → dist/web-components-library/p-953a07d5.entry.js} +1 -1
- package/dist/web-components-library/{p-0f17db30.entry.js → p-9fb79d74.entry.js} +1 -1
- package/{www/build/p-57d1acdc.entry.js → dist/web-components-library/p-a5232d04.entry.js} +1 -1
- package/dist/web-components-library/p-a54ef821.entry.js +1 -0
- package/{www/build/p-8fbc2ce9.entry.js → dist/web-components-library/p-a93d5b8c.entry.js} +1 -1
- package/dist/web-components-library/{p-51cdabeb.entry.js → p-a94f78b4.entry.js} +1 -1
- package/dist/web-components-library/p-ae784c71.entry.js +1 -0
- package/dist/web-components-library/{p-9f9e4266.entry.js → p-ae79ab08.entry.js} +1 -1
- package/{www/build/p-e2102da3.entry.js → dist/web-components-library/p-aed2a8cf.entry.js} +1 -1
- package/{www/build/p-3edbd35c.entry.js → dist/web-components-library/p-b543005a.entry.js} +1 -1
- package/dist/web-components-library/p-bb20020b.entry.js +1 -0
- package/dist/web-components-library/p-bbeb6b3c.entry.js +1 -0
- package/dist/web-components-library/p-bd772b8a.entry.js +1 -0
- package/dist/web-components-library/{p-b9da171f.js → p-bfa3593e.js} +1 -1
- package/{www/build/p-9a5ee6c2.entry.js → dist/web-components-library/p-c066ddf1.entry.js} +1 -1
- package/dist/web-components-library/{p-ba29bc12.entry.js → p-c6124ee4.entry.js} +1 -1
- package/dist/web-components-library/p-c730a93d.entry.js +1 -0
- package/dist/web-components-library/{p-fe927bf4.entry.js → p-c9348925.entry.js} +1 -1
- package/dist/web-components-library/{p-02ea7e49.entry.js → p-cc6a5872.entry.js} +1 -1
- package/dist/web-components-library/p-cf35d3cd.entry.js +1 -0
- package/dist/web-components-library/p-cf73af9a.entry.js +1 -0
- package/dist/web-components-library/{p-292bc0c4.entry.js → p-d0d75b41.entry.js} +1 -1
- package/dist/web-components-library/{p-0e256fdc.entry.js → p-d34eccf8.entry.js} +1 -1
- package/dist/web-components-library/p-d79f69f2.js +1 -0
- package/dist/web-components-library/p-e293f91e.entry.js +1 -0
- package/{www/build/p-55ddbfe9.entry.js → dist/web-components-library/p-e6ac4dc4.entry.js} +1 -1
- package/dist/web-components-library/{p-6c6b4e80.entry.js → p-e6ddee24.entry.js} +1 -1
- package/dist/web-components-library/p-ed05dc6b.entry.js +1 -0
- package/dist/web-components-library/p-f0d90cc2.entry.js +1 -0
- package/dist/web-components-library/p-f31b8e83.js +1 -0
- package/{www/build/p-df4e963b.entry.js → dist/web-components-library/p-f6da32c4.entry.js} +1 -1
- package/{www/build/p-bfe5693d.entry.js → dist/web-components-library/p-fd2338b2.entry.js} +1 -1
- package/{www/build/p-4af112a7.entry.js → dist/web-components-library/p-fea2c39a.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.css +1 -812
- package/dist/web-components-library/web-components-library.esm.js +1 -129
- package/package.json +1 -1
- package/react/components.d.ts +5 -0
- package/react/components.js +8 -3
- package/react/components.js.map +1 -1
- package/readme.md +8 -0
- package/www/build/index.esm.js +1 -9
- package/www/build/{p-b15efba3.entry.js → p-02681c05.entry.js} +1 -1
- package/www/build/{p-d33fea26.entry.js → p-03ef960c.entry.js} +1 -1
- package/www/build/{p-69ef6ddc.entry.js → p-0aa9746a.entry.js} +1 -1
- package/www/build/p-0ab1b40f.entry.js +1 -0
- package/www/build/{p-63ccb013.entry.js → p-1196b959.entry.js} +1 -1
- package/www/build/p-1906915c.entry.js +1 -0
- package/www/build/{p-d97a2db9.entry.js → p-1c413074.entry.js} +1 -1
- package/www/build/{p-1727c1c8.entry.js → p-1e6aff0f.entry.js} +1 -1
- package/www/build/p-1ff7bde5.entry.js +1 -0
- package/www/build/p-223566d6.entry.js +1 -0
- package/www/build/{p-de25c7f0.entry.js → p-29e8a12c.entry.js} +1 -1
- package/www/build/p-36091078.js +1 -0
- package/{dist/web-components-library/p-9074e1a5.entry.js → www/build/p-46a6341a.entry.js} +1 -1
- package/www/build/{p-88b56b6e.css → p-4c9c83c0.css} +1 -1
- package/www/build/p-51130281.entry.js +1 -0
- package/www/build/p-5789bbe7.entry.js +1 -0
- package/{dist/web-components-library/p-7c6d4440.entry.js → www/build/p-596da333.entry.js} +1 -1
- package/{dist/web-components-library/p-0a0aee35.entry.js → www/build/p-71034a6f.entry.js} +1 -1
- package/www/build/p-710cec6d.entry.js +1 -0
- package/www/build/p-7171717f.entry.js +1 -0
- package/www/build/p-79408b00.entry.js +1 -0
- package/www/build/p-7b054eb2.entry.js +1 -0
- package/www/build/p-7d37e4a8.entry.js +16 -0
- package/{dist/web-components-library/p-dffdf60a.entry.js → www/build/p-8468d87e.entry.js} +1 -1
- package/www/build/p-8cf3798f.entry.js +1 -0
- package/{dist/web-components-library/p-43329b81.entry.js → www/build/p-8e4d7f5d.entry.js} +1 -1
- package/www/build/p-8f030e78.entry.js +1 -0
- package/www/build/{p-ccdebe3f.entry.js → p-92cc171f.entry.js} +1 -1
- package/{dist/web-components-library/p-5be162d5.entry.js → www/build/p-953a07d5.entry.js} +1 -1
- package/www/build/{p-0f17db30.entry.js → p-9fb79d74.entry.js} +1 -1
- package/{dist/web-components-library/p-57d1acdc.entry.js → www/build/p-a5232d04.entry.js} +1 -1
- package/www/build/p-a54ef821.entry.js +1 -0
- package/{dist/web-components-library/p-8fbc2ce9.entry.js → www/build/p-a93d5b8c.entry.js} +1 -1
- package/www/build/{p-51cdabeb.entry.js → p-a94f78b4.entry.js} +1 -1
- package/www/build/p-ae784c71.entry.js +1 -0
- package/www/build/{p-9f9e4266.entry.js → p-ae79ab08.entry.js} +1 -1
- package/{dist/web-components-library/p-e2102da3.entry.js → www/build/p-aed2a8cf.entry.js} +1 -1
- package/{dist/web-components-library/p-3edbd35c.entry.js → www/build/p-b543005a.entry.js} +1 -1
- package/www/build/p-bb20020b.entry.js +1 -0
- package/www/build/p-bbeb6b3c.entry.js +1 -0
- package/www/build/p-bd772b8a.entry.js +1 -0
- package/www/build/{p-b9da171f.js → p-bfa3593e.js} +1 -1
- package/{dist/web-components-library/p-9a5ee6c2.entry.js → www/build/p-c066ddf1.entry.js} +1 -1
- package/www/build/{p-ba29bc12.entry.js → p-c6124ee4.entry.js} +1 -1
- package/www/build/p-c730a93d.entry.js +1 -0
- package/www/build/{p-fe927bf4.entry.js → p-c9348925.entry.js} +1 -1
- package/www/build/{p-02ea7e49.entry.js → p-cc6a5872.entry.js} +1 -1
- package/www/build/p-cf35d3cd.entry.js +1 -0
- package/www/build/p-cf73af9a.entry.js +1 -0
- package/www/build/{p-292bc0c4.entry.js → p-d0d75b41.entry.js} +1 -1
- package/www/build/{p-0e256fdc.entry.js → p-d34eccf8.entry.js} +1 -1
- package/www/build/p-d79f69f2.js +1 -0
- package/www/build/p-e293f91e.entry.js +1 -0
- package/{dist/web-components-library/p-55ddbfe9.entry.js → www/build/p-e6ac4dc4.entry.js} +1 -1
- package/www/build/{p-6c6b4e80.entry.js → p-e6ddee24.entry.js} +1 -1
- package/www/build/p-ed05dc6b.entry.js +1 -0
- package/www/build/p-f0d90cc2.entry.js +1 -0
- package/www/build/p-f31b8e83.js +1 -0
- package/{dist/web-components-library/p-df4e963b.entry.js → www/build/p-f6da32c4.entry.js} +1 -1
- package/{dist/web-components-library/p-bfe5693d.entry.js → www/build/p-fd2338b2.entry.js} +1 -1
- package/{dist/web-components-library/p-4af112a7.entry.js → www/build/p-fea2c39a.entry.js} +1 -1
- package/www/build/web-components-library.css +1 -812
- package/www/build/web-components-library.esm.js +1 -129
- package/www/index.html +2 -11
- package/www/pages/file-upload.html +97 -54
- package/dist/cjs/_commonjsHelpers-10109b76.js +0 -48
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/css-shim-f1391d35.js +0 -6
- package/dist/cjs/dom-5345ed9a.js +0 -75
- package/dist/cjs/hammer-0741ba49.js +0 -2651
- package/dist/cjs/index-545547ad.js +0 -66
- package/dist/cjs/index-6b6a3299.js +0 -315
- package/dist/cjs/index-a8bdcb9c.js +0 -334
- package/dist/cjs/index-fcbe2d6e.js +0 -3093
- package/dist/cjs/shadow-css-42acdd0e.js +0 -390
- package/dist/cjs/utils-0a978fe0.js +0 -118
- package/dist/cjs/utils-56c20ead.js +0 -118
- package/dist/cjs/utils-aca0a0b6.js +0 -2742
- package/dist/cjs/z-app-switcher.cjs.entry.js +0 -29
- package/dist/cjs/z-app-switcher_11.cjs.entry.js +0 -377
- package/dist/cjs/z-app-topbar.cjs.entry.js +0 -41
- package/dist/cjs/z-body.cjs.entry.js +0 -17
- package/dist/cjs/z-divider.cjs.entry.js +0 -26
- package/dist/cjs/z-dragdrop-area.cjs.entry.js +0 -37
- package/dist/cjs/z-footer-link.cjs.entry.js +0 -19
- package/dist/cjs/z-footer-section.cjs.entry.js +0 -23
- package/dist/cjs/z-footer-social.cjs.entry.js +0 -19
- package/dist/cjs/z-heading.cjs.entry.js +0 -17
- package/dist/cjs/z-icon.cjs.entry.js +0 -28
- package/dist/cjs/z-input-label.cjs.entry.js +0 -21
- package/dist/cjs/z-input-message.cjs.entry.js +0 -24
- package/dist/cjs/z-input.cjs.entry.js +0 -235
- package/dist/cjs/z-input_2.cjs.entry.js +0 -228
- package/dist/cjs/z-link.cjs.entry.js +0 -71
- package/dist/cjs/z-list-element.cjs.entry.js +0 -154
- package/dist/cjs/z-list.cjs.entry.js +0 -34
- package/dist/cjs/z-logo.cjs.entry.js +0 -28
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +0 -60
- package/dist/cjs/z-myz-card-body.cjs.entry.js +0 -19
- package/dist/cjs/z-myz-card-cover.cjs.entry.js +0 -22
- package/dist/cjs/z-myz-card-header.cjs.entry.js +0 -39
- package/dist/cjs/z-myz-card.cjs.entry.js +0 -43
- package/dist/cjs/z-myz-list.cjs.entry.js +0 -35
- package/dist/cjs/z-pocket-body.cjs.entry.js +0 -27
- package/dist/cjs/z-pocket-header.cjs.entry.js +0 -40
- package/dist/cjs/z-pocket.cjs.entry.js +0 -72
- package/dist/cjs/z-select.cjs.entry.js +0 -257
- package/dist/cjs/z-typography.cjs.entry.js +0 -29
- package/dist/collection/components/z-date-picker/index.js +0 -284
- package/dist/collection/components/z-date-picker/styles.css +0 -525
- package/dist/esm/_commonjsHelpers-8fe71198.js +0 -44
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/css-shim-10e6e2ae.js +0 -4
- package/dist/esm/dom-7cd9cf71.js +0 -73
- package/dist/esm/hammer-782a2043.js +0 -2649
- package/dist/esm/index-3b53c63e.js +0 -334
- package/dist/esm/index-3ee81524.js +0 -334
- package/dist/esm/index-46ca649a.js +0 -315
- package/dist/esm/index-51f075dd.js +0 -64
- package/dist/esm/index-81176684.js +0 -3057
- package/dist/esm/shadow-css-38a1326b.js +0 -388
- package/dist/esm/utils-43f2cad8.js +0 -2736
- package/dist/esm/utils-a3134cfb.js +0 -109
- package/dist/esm/utils-e5940345.js +0 -109
- package/dist/esm/z-app-switcher.entry.js +0 -25
- package/dist/esm/z-app-switcher_11.entry.js +0 -363
- package/dist/esm/z-app-topbar.entry.js +0 -37
- package/dist/esm/z-body.entry.js +0 -13
- package/dist/esm/z-divider.entry.js +0 -22
- package/dist/esm/z-dragdrop-area.entry.js +0 -33
- package/dist/esm/z-footer-link.entry.js +0 -15
- package/dist/esm/z-footer-section.entry.js +0 -19
- package/dist/esm/z-footer-social.entry.js +0 -15
- package/dist/esm/z-heading.entry.js +0 -13
- package/dist/esm/z-icon.entry.js +0 -24
- package/dist/esm/z-input-label.entry.js +0 -17
- package/dist/esm/z-input-message.entry.js +0 -20
- package/dist/esm/z-input.entry.js +0 -231
- package/dist/esm/z-input_2.entry.js +0 -223
- package/dist/esm/z-link.entry.js +0 -67
- package/dist/esm/z-list-element.entry.js +0 -150
- package/dist/esm/z-list.entry.js +0 -30
- package/dist/esm/z-logo.entry.js +0 -24
- package/dist/esm/z-menu-dropdown.entry.js +0 -56
- package/dist/esm/z-myz-card-body.entry.js +0 -15
- package/dist/esm/z-myz-card-cover.entry.js +0 -18
- package/dist/esm/z-myz-card-header.entry.js +0 -35
- package/dist/esm/z-myz-card.entry.js +0 -39
- package/dist/esm/z-myz-list.entry.js +0 -31
- package/dist/esm/z-pocket-body.entry.js +0 -23
- package/dist/esm/z-pocket-header.entry.js +0 -36
- package/dist/esm/z-pocket.entry.js +0 -68
- package/dist/esm/z-range-picker.entry.js +0 -354
- package/dist/esm/z-select.entry.js +0 -253
- package/dist/esm/z-typography.entry.js +0 -25
- package/dist/types/components/z-date-picker/index.d.ts +0 -30
- package/dist/web-components-library/_commonjsHelpers-8fe71198.js +0 -44
- package/dist/web-components-library/app-globals-0f993ce5.js +0 -3
- package/dist/web-components-library/breakpoints-c386984e.js +0 -4
- package/dist/web-components-library/css-shim-10e6e2ae.js +0 -4
- package/dist/web-components-library/dom-7cd9cf71.js +0 -73
- package/dist/web-components-library/hammer-782a2043.js +0 -2649
- package/dist/web-components-library/icons-92a7dcde.js +0 -511
- package/dist/web-components-library/index-3b53c63e.js +0 -334
- package/dist/web-components-library/index-51f075dd.js +0 -64
- package/dist/web-components-library/index-81176684.js +0 -3057
- package/dist/web-components-library/p-0d29d851.entry.js +0 -1
- package/dist/web-components-library/p-0e408871.entry.js +0 -1
- package/dist/web-components-library/p-0ef6c549.entry.js +0 -1
- package/dist/web-components-library/p-1f73a6d8.entry.js +0 -1
- package/dist/web-components-library/p-20d62443.entry.js +0 -1
- package/dist/web-components-library/p-3c111c2a.entry.js +0 -1
- package/dist/web-components-library/p-562e2d52.entry.js +0 -1
- package/dist/web-components-library/p-5eacbfc7.entry.js +0 -1
- package/dist/web-components-library/p-6218514a.entry.js +0 -1
- package/dist/web-components-library/p-71accd8e.entry.js +0 -1
- package/dist/web-components-library/p-99d7ab2f.entry.js +0 -1
- package/dist/web-components-library/p-9f5d707a.js +0 -1
- package/dist/web-components-library/p-a8875b97.entry.js +0 -16
- package/dist/web-components-library/p-d39c0372.entry.js +0 -1
- package/dist/web-components-library/p-d995d9dc.entry.js +0 -1
- package/dist/web-components-library/p-e2431b92.entry.js +0 -1
- package/dist/web-components-library/p-edb8d2ab.entry.js +0 -1
- package/dist/web-components-library/shadow-css-38a1326b.js +0 -388
- package/dist/web-components-library/utils-1e801ac0.js +0 -2736
- package/dist/web-components-library/utils-43f2cad8.js +0 -2736
- package/dist/web-components-library/utils-a3134cfb.js +0 -109
- package/dist/web-components-library/utils-e5940345.js +0 -109
- package/dist/web-components-library/z-alert.entry.js +0 -15
- package/dist/web-components-library/z-app-header.entry.js +0 -127
- package/dist/web-components-library/z-app-switcher.entry.js +0 -25
- package/dist/web-components-library/z-app-topbar.entry.js +0 -37
- package/dist/web-components-library/z-aria-alert.entry.js +0 -14
- package/dist/web-components-library/z-avatar.entry.js +0 -39
- package/dist/web-components-library/z-body.entry.js +0 -13
- package/dist/web-components-library/z-button-deprecated.entry.js +0 -34
- package/dist/web-components-library/z-button-filter.entry.js +0 -45
- package/dist/web-components-library/z-button-sort.entry.js +0 -50
- package/dist/web-components-library/z-button.entry.js +0 -38
- package/dist/web-components-library/z-candybar.entry.js +0 -15
- package/dist/web-components-library/z-card.entry.js +0 -65
- package/dist/web-components-library/z-carousel.entry.js +0 -20
- package/dist/web-components-library/z-chip-deprecated.entry.js +0 -20
- package/dist/web-components-library/z-chip.entry.js +0 -33
- package/dist/web-components-library/z-combobox.entry.js +0 -166
- package/dist/web-components-library/z-contextual-menu.entry.js +0 -47
- package/dist/web-components-library/z-cookiebar.entry.js +0 -38
- package/dist/web-components-library/z-date-picker.entry.js +0 -484
- package/dist/web-components-library/z-divider.entry.js +0 -22
- package/dist/web-components-library/z-dragdrop-area.entry.js +0 -33
- package/dist/web-components-library/z-file-upload.entry.js +0 -168
- package/dist/web-components-library/z-file.entry.js +0 -44
- package/dist/web-components-library/z-footer-link.entry.js +0 -15
- package/dist/web-components-library/z-footer-section.entry.js +0 -19
- package/dist/web-components-library/z-footer-social.entry.js +0 -15
- package/dist/web-components-library/z-footer.entry.js +0 -103
- package/dist/web-components-library/z-ghost-loading.entry.js +0 -15
- package/dist/web-components-library/z-heading.entry.js +0 -13
- package/dist/web-components-library/z-icon-package.entry.js +0 -19
- package/dist/web-components-library/z-icon.entry.js +0 -24
- package/dist/web-components-library/z-info-box.entry.js +0 -21
- package/dist/web-components-library/z-info-reveal.entry.js +0 -60
- package/dist/web-components-library/z-input-deprecated.entry.js +0 -267
- package/dist/web-components-library/z-input-label.entry.js +0 -17
- package/dist/web-components-library/z-input-message.entry.js +0 -20
- package/dist/web-components-library/z-input.entry.js +0 -231
- package/dist/web-components-library/z-link.entry.js +0 -67
- package/dist/web-components-library/z-list-element.entry.js +0 -150
- package/dist/web-components-library/z-list-group.entry.js +0 -50
- package/dist/web-components-library/z-list.entry.js +0 -30
- package/dist/web-components-library/z-logo.entry.js +0 -24
- package/dist/web-components-library/z-menu-dropdown.entry.js +0 -56
- package/dist/web-components-library/z-menu-section.entry.js +0 -42
- package/dist/web-components-library/z-menu.entry.js +0 -106
- package/dist/web-components-library/z-messages-pocket.entry.js +0 -42
- package/dist/web-components-library/z-modal-login.entry.js +0 -78
- package/dist/web-components-library/z-modal.entry.js +0 -32
- package/dist/web-components-library/z-myz-card-alert.entry.js +0 -59
- package/dist/web-components-library/z-myz-card-body.entry.js +0 -15
- package/dist/web-components-library/z-myz-card-cover.entry.js +0 -18
- package/dist/web-components-library/z-myz-card-dictionary.entry.js +0 -32
- package/dist/web-components-library/z-myz-card-footer-sections.entry.js +0 -15
- package/dist/web-components-library/z-myz-card-footer.entry.js +0 -52
- package/dist/web-components-library/z-myz-card-header.entry.js +0 -35
- package/dist/web-components-library/z-myz-card-icon.entry.js +0 -17
- package/dist/web-components-library/z-myz-card-info.entry.js +0 -115
- package/dist/web-components-library/z-myz-card-list.entry.js +0 -33
- package/dist/web-components-library/z-myz-card.entry.js +0 -39
- package/dist/web-components-library/z-myz-list-item.entry.js +0 -33
- package/dist/web-components-library/z-myz-list.entry.js +0 -31
- package/dist/web-components-library/z-myz-topbar.entry.js +0 -190
- package/dist/web-components-library/z-navigation-tab-link.entry.js +0 -67
- package/dist/web-components-library/z-navigation-tab.entry.js +0 -69
- package/dist/web-components-library/z-navigation-tabs.entry.js +0 -122
- package/dist/web-components-library/z-notification.entry.js +0 -42
- package/dist/web-components-library/z-offcanvas.entry.js +0 -59
- package/dist/web-components-library/z-otp.entry.js +0 -37
- package/dist/web-components-library/z-pagination-bar.entry.js +0 -126
- package/dist/web-components-library/z-pagination-page.entry.js +0 -21
- package/dist/web-components-library/z-pagination.entry.js +0 -228
- package/dist/web-components-library/z-panel-elem.entry.js +0 -26
- package/dist/web-components-library/z-pocket-body.entry.js +0 -23
- package/dist/web-components-library/z-pocket-header.entry.js +0 -36
- package/dist/web-components-library/z-pocket-message.entry.js +0 -15
- package/dist/web-components-library/z-pocket.entry.js +0 -68
- package/dist/web-components-library/z-popover-deprecated.entry.js +0 -128
- package/dist/web-components-library/z-popover.entry.js +0 -332
- package/dist/web-components-library/z-section-title.entry.js +0 -38
- package/dist/web-components-library/z-select.entry.js +0 -253
- package/dist/web-components-library/z-skip-to-content.entry.js +0 -64
- package/dist/web-components-library/z-slideshow.entry.js +0 -108
- package/dist/web-components-library/z-status-tag.entry.js +0 -25
- package/dist/web-components-library/z-stepper-item.entry.js +0 -18
- package/dist/web-components-library/z-stepper.entry.js +0 -15
- package/dist/web-components-library/z-table-body.entry.js +0 -20
- package/dist/web-components-library/z-table-cell.entry.js +0 -32
- package/dist/web-components-library/z-table-empty-box.entry.js +0 -28
- package/dist/web-components-library/z-table-expanded-row.entry.js +0 -15
- package/dist/web-components-library/z-table-footer.entry.js +0 -19
- package/dist/web-components-library/z-table-head.entry.js +0 -19
- package/dist/web-components-library/z-table-header-row.entry.js +0 -18
- package/dist/web-components-library/z-table-header.entry.js +0 -81
- package/dist/web-components-library/z-table-row.entry.js +0 -39
- package/dist/web-components-library/z-table-sticky-footer.entry.js +0 -15
- package/dist/web-components-library/z-table.entry.js +0 -78
- package/dist/web-components-library/z-tag.entry.js +0 -18
- package/dist/web-components-library/z-toast-notification-list.entry.js +0 -52
- package/dist/web-components-library/z-toast-notification.entry.js +0 -199
- package/dist/web-components-library/z-toggle-button.entry.js +0 -32
- package/dist/web-components-library/z-toggle-switch.entry.js +0 -45
- package/dist/web-components-library/z-tooltip-deprecated.entry.js +0 -270
- package/dist/web-components-library/z-tooltip.entry.js +0 -27
- package/dist/web-components-library/z-typography.entry.js +0 -25
- package/dist/web-components-library/z-user-dropdown.entry.js +0 -91
- package/dist/web-components-library/z-visually-hidden.entry.js +0 -15
- package/www/build/_commonjsHelpers-8fe71198.js +0 -44
- package/www/build/app-globals-0f993ce5.js +0 -3
- package/www/build/breakpoints-c386984e.js +0 -4
- package/www/build/css-shim-10e6e2ae.js +0 -4
- package/www/build/dom-7cd9cf71.js +0 -73
- package/www/build/hammer-782a2043.js +0 -2649
- package/www/build/icons-92a7dcde.js +0 -511
- package/www/build/index-3b53c63e.js +0 -334
- package/www/build/index-3ee81524.js +0 -334
- package/www/build/index-51f075dd.js +0 -64
- package/www/build/index-81176684.js +0 -3057
- package/www/build/p-0d29d851.entry.js +0 -1
- package/www/build/p-0e408871.entry.js +0 -1
- package/www/build/p-0ef6c549.entry.js +0 -1
- package/www/build/p-1f73a6d8.entry.js +0 -1
- package/www/build/p-20d62443.entry.js +0 -1
- package/www/build/p-3c111c2a.entry.js +0 -1
- package/www/build/p-562e2d52.entry.js +0 -1
- package/www/build/p-5eacbfc7.entry.js +0 -1
- package/www/build/p-6218514a.entry.js +0 -1
- package/www/build/p-71accd8e.entry.js +0 -1
- package/www/build/p-7a92487a.js +0 -1
- package/www/build/p-99d7ab2f.entry.js +0 -1
- package/www/build/p-9f5d707a.js +0 -1
- package/www/build/p-a8875b97.entry.js +0 -16
- package/www/build/p-d39c0372.entry.js +0 -1
- package/www/build/p-d995d9dc.entry.js +0 -1
- package/www/build/p-e2431b92.entry.js +0 -1
- package/www/build/p-edb8d2ab.entry.js +0 -1
- package/www/build/shadow-css-38a1326b.js +0 -388
- package/www/build/utils-1e801ac0.js +0 -2736
- package/www/build/utils-43f2cad8.js +0 -2736
- package/www/build/utils-a3134cfb.js +0 -109
- package/www/build/utils-e5940345.js +0 -109
- package/www/build/z-alert.entry.js +0 -15
- package/www/build/z-app-header.entry.js +0 -127
- package/www/build/z-app-switcher.entry.js +0 -25
- package/www/build/z-app-topbar.entry.js +0 -37
- package/www/build/z-aria-alert.entry.js +0 -14
- package/www/build/z-avatar.entry.js +0 -39
- package/www/build/z-body.entry.js +0 -13
- package/www/build/z-button-deprecated.entry.js +0 -34
- package/www/build/z-button-filter.entry.js +0 -45
- package/www/build/z-button-sort.entry.js +0 -50
- package/www/build/z-button.entry.js +0 -38
- package/www/build/z-candybar.entry.js +0 -15
- package/www/build/z-card.entry.js +0 -65
- package/www/build/z-carousel.entry.js +0 -20
- package/www/build/z-chip-deprecated.entry.js +0 -20
- package/www/build/z-chip.entry.js +0 -33
- package/www/build/z-combobox.entry.js +0 -166
- package/www/build/z-contextual-menu.entry.js +0 -47
- package/www/build/z-cookiebar.entry.js +0 -38
- package/www/build/z-date-picker.entry.js +0 -484
- package/www/build/z-divider.entry.js +0 -22
- package/www/build/z-dragdrop-area.entry.js +0 -33
- package/www/build/z-file-upload.entry.js +0 -168
- package/www/build/z-file.entry.js +0 -44
- package/www/build/z-footer-link.entry.js +0 -15
- package/www/build/z-footer-section.entry.js +0 -19
- package/www/build/z-footer-social.entry.js +0 -15
- package/www/build/z-footer.entry.js +0 -103
- package/www/build/z-ghost-loading.entry.js +0 -15
- package/www/build/z-heading.entry.js +0 -13
- package/www/build/z-icon-package.entry.js +0 -19
- package/www/build/z-icon.entry.js +0 -24
- package/www/build/z-info-box.entry.js +0 -21
- package/www/build/z-info-reveal.entry.js +0 -60
- package/www/build/z-input-deprecated.entry.js +0 -267
- package/www/build/z-input-label.entry.js +0 -17
- package/www/build/z-input-message.entry.js +0 -20
- package/www/build/z-input.entry.js +0 -231
- package/www/build/z-link.entry.js +0 -67
- package/www/build/z-list-element.entry.js +0 -150
- package/www/build/z-list-group.entry.js +0 -50
- package/www/build/z-list.entry.js +0 -30
- package/www/build/z-logo.entry.js +0 -24
- package/www/build/z-menu-dropdown.entry.js +0 -56
- package/www/build/z-menu-section.entry.js +0 -42
- package/www/build/z-menu.entry.js +0 -106
- package/www/build/z-messages-pocket.entry.js +0 -42
- package/www/build/z-modal-login.entry.js +0 -78
- package/www/build/z-modal.entry.js +0 -32
- package/www/build/z-myz-card-alert.entry.js +0 -59
- package/www/build/z-myz-card-body.entry.js +0 -15
- package/www/build/z-myz-card-cover.entry.js +0 -18
- package/www/build/z-myz-card-dictionary.entry.js +0 -32
- package/www/build/z-myz-card-footer-sections.entry.js +0 -15
- package/www/build/z-myz-card-footer.entry.js +0 -52
- package/www/build/z-myz-card-header.entry.js +0 -35
- package/www/build/z-myz-card-icon.entry.js +0 -17
- package/www/build/z-myz-card-info.entry.js +0 -115
- package/www/build/z-myz-card-list.entry.js +0 -33
- package/www/build/z-myz-card.entry.js +0 -39
- package/www/build/z-myz-list-item.entry.js +0 -33
- package/www/build/z-myz-list.entry.js +0 -31
- package/www/build/z-myz-topbar.entry.js +0 -190
- package/www/build/z-navigation-tab-link.entry.js +0 -67
- package/www/build/z-navigation-tab.entry.js +0 -69
- package/www/build/z-navigation-tabs.entry.js +0 -122
- package/www/build/z-notification.entry.js +0 -42
- package/www/build/z-offcanvas.entry.js +0 -59
- package/www/build/z-otp.entry.js +0 -37
- package/www/build/z-pagination-bar.entry.js +0 -126
- package/www/build/z-pagination-page.entry.js +0 -21
- package/www/build/z-pagination.entry.js +0 -228
- package/www/build/z-panel-elem.entry.js +0 -26
- package/www/build/z-pocket-body.entry.js +0 -23
- package/www/build/z-pocket-header.entry.js +0 -36
- package/www/build/z-pocket-message.entry.js +0 -15
- package/www/build/z-pocket.entry.js +0 -68
- package/www/build/z-popover-deprecated.entry.js +0 -128
- package/www/build/z-popover.entry.js +0 -332
- package/www/build/z-range-picker.entry.js +0 -354
- package/www/build/z-section-title.entry.js +0 -38
- package/www/build/z-select.entry.js +0 -253
- package/www/build/z-skip-to-content.entry.js +0 -64
- package/www/build/z-slideshow.entry.js +0 -108
- package/www/build/z-status-tag.entry.js +0 -25
- package/www/build/z-stepper-item.entry.js +0 -18
- package/www/build/z-stepper.entry.js +0 -15
- package/www/build/z-table-body.entry.js +0 -20
- package/www/build/z-table-cell.entry.js +0 -32
- package/www/build/z-table-empty-box.entry.js +0 -28
- package/www/build/z-table-expanded-row.entry.js +0 -15
- package/www/build/z-table-footer.entry.js +0 -19
- package/www/build/z-table-head.entry.js +0 -19
- package/www/build/z-table-header-row.entry.js +0 -18
- package/www/build/z-table-header.entry.js +0 -81
- package/www/build/z-table-row.entry.js +0 -39
- package/www/build/z-table-sticky-footer.entry.js +0 -15
- package/www/build/z-table.entry.js +0 -78
- package/www/build/z-tag.entry.js +0 -18
- package/www/build/z-toast-notification-list.entry.js +0 -52
- package/www/build/z-toast-notification.entry.js +0 -199
- package/www/build/z-toggle-button.entry.js +0 -32
- package/www/build/z-toggle-switch.entry.js +0 -45
- package/www/build/z-tooltip-deprecated.entry.js +0 -270
- package/www/build/z-tooltip.entry.js +0 -27
- package/www/build/z-typography.entry.js +0 -25
- package/www/build/z-user-dropdown.entry.js +0 -91
- package/www/build/z-visually-hidden.entry.js +0 -15
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-81176684.js';
|
|
2
|
-
import { B as ButtonVariantEnum, c as ButtonSizeEnum } from './index-3ee81524.js';
|
|
3
|
-
import { m as mobileBreakpoint, t as tabletBreakpoint } from './breakpoints-c386984e.js';
|
|
4
|
-
|
|
5
|
-
const stylesCss = ":host a{cursor:pointer}header{position:sticky;top:0;z-index:99;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:\"main-header\";margin-bottom:calc(var(--space-unit) * 6.5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}.main-header{display:grid;grid-template-columns:2fr 2fr 4fr 100px;grid-template-rows:1fr;grid-template-areas:\"logo link-int link-ext login\";grid-area:main-header;grid-column-gap:calc(var(--space-unit) * 0.5);align-items:center;background-color:var(--bg-grey-900);height:auto;align-items:center;z-index:10}.main-header.myz-out{background-color:var(--bg-white)}.logo{grid-area:logo;padding:6px}z-logo{transform:scale(0.9)}.dropdown-menu{display:none}.dropdown-menu.hidden{visibility:hidden}.dropdown-links{grid-area:dropdown-links;list-style:none;display:block;max-height:32px;margin:0;padding:0}.arrow{fill:var(--text-grey-200)}.dropdown-links>li{list-style:none;display:inline-block;margin:0;padding:0}.dropdown-links>li>a{width:auto;height:auto;color:var(--myz-blue);font-size:14px;letter-spacing:0.18px;line-height:32px;text-decoration:none;margin:var(--space-unit);padding-bottom:calc(var(--space-unit) * 0.5)}.dropdown-links>li>a:hover,.dropdown-links>li>a.active{color:var(--text-grey-800);border-bottom:2px solid var(--myz-blue)}.mobile-header{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);z-index:inherit;height:52px;position:fixed;top:0px;left:0;z-index:999}.mobile-header.myz-out{background-color:var(--bg-white)}.mobile-header>z-button{margin:0 calc(var(--space-unit) * 2)}.mobile-content{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);position:fixed;top:52px;left:0;z-index:999;max-height:0px;overflow:hidden;transition:max-height 1s cubic-bezier(0.46, 0, 1, 0.79)}.mobile-content.open{max-height:100vh;transition:max-height 2s cubic-bezier(0, 0.79, 0.46, 1)}.mobile-content.myz-out{background-color:var(--bg-white)}hr{display:block;position:relative;padding:0;margin:0px calc(var(--space-unit) * 4);height:0;width:calc(100% - 64px);max-height:0;font-size:1px;line-height:0;clear:both;border:none;border-top:1px solid var(--text-grey-700)}.menu-mobile{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;color:var(--bg-white);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);cursor:pointer}.myz-out .menu-mobile{color:var(--text-grey-800)}.menu-toggle{grid-area:menu-toggle;display:flex;flex-direction:column;margin:0 var(--space-unit)}.menu-toggle .bar{width:20px;height:2px;background-color:var(--bg-white);margin:2px auto;transition:all 0.3s ease-in-out}.myz-out .menu-toggle .bar{background-color:var(--text-grey-800)}.menu-toggle:hover{cursor:pointer}#mobile-menu.is-active .bar:nth-child(2){opacity:0}#mobile-menu.is-active .bar:nth-child(1){transform:translateY(6px) rotate(45deg)}#mobile-menu.is-active .bar:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.booktab-button,.mobile-login{overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.hidden{visibility:hidden}.login{grid-area:login;display:flex;justify-content:flex-end;padding:0 calc(var(--space-unit) * 2)}.login>z-button{color:var(--bg-white);fill:var(--bg-white)}.booktab-button>z-button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center;padding:calc(var(--space-unit) * 2) 0px calc(var(--space-unit) * 4) 0px}.link-ext{grid-area:link-ext;overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-ext-span{display:inline-block;width:100%;margin:calc(var(--space-unit) * 0.5) auto;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-ext-span.myz:hover,.link-ext-span.myz:focus{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-ext z-link{font-size:12px;font-weight:var(--font-sb)}.link-int{overflow:hidden;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-int>span{width:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start}.link-int>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-int>span>.menu-item:hover,.link-int>span>.menu-item:focus{border-radius:0px}.link-int>span>.menu-item>span{white-space:nowrap}.link-int>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.link-int>span:first-child>.menu-item{margin-top:0}.link-int>span>svg{display:none}.link-int>.mobile-dropdown{padding:0 48px}.mobile-login>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start;fill:white}.mobile-login>span:focus,.mobile-login>span:hover{background:var(--text-grey-800)}.myz-out .mobile-login>span:focus,.myz-out .mobile-login>span:hover{background:none}.mobile-login>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.myz-out .mobile-login>span>.menu-item{color:var(--text-grey-800)}.mobile-login>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.mobile-login>span>.menu-item>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-login>span>.menu-item>span>z-icon{padding-right:var(--space-unit);fill:var(--bg-white)}.menu-item>i::before{border-style:solid;border-width:0.12em 0.12em 0 0;content:\" \";display:inline-block;height:0.45em;left:0.16em;position:relative;top:-0.12em;transform:rotate(135deg) scale(1.2);vertical-align:top;width:0.45em;margin-top:2px;margin-left:2px;margin-right:6px;transition:all 0.5s ease}.menu-item.isopen>i::before{top:0.24em;transform:rotate(-45deg) scale(1.2);transition:all 0.5s ease}.mobile-dropdown{background:white;display:block;overflow:hidden;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px;max-height:0px;transition:max-height 0.3s ease}.mobile-dropdown.visible{max-height:100vh;transition:max-height 0.5s ease}@media only screen and (min-width: 768px){header{grid-template-columns:1fr 0.8fr 1.5fr 1.1fr 0.7fr;grid-template-rows:0.2fr auto;grid-template-areas:\"main-header main-header main-header main-header main-header\" \"dropdown-menu dropdown-menu dropdown-menu dropdown-menu dropdown-menu\";margin-bottom:0}header.myz-out{top:0px;grid-template-rows:1fr}.main-header{display:grid;grid-template-columns:170px auto auto 120px;grid-template-rows:1fr;grid-template-areas:\"logo link-int link-ext login\";grid-area:main-header}.dropdown-menu{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:\"dropdown-links\";grid-area:dropdown-menu;grid-column-gap:var(--space-unit);background:var(--bg-grey-200);height:32px;visibility:visible;z-index:9;padding-left:160px}.booktab-button,.mobile-header,.mobile-login,.mobile-dropdown,.menu-mobile{display:none}.link-int{grid-area:link-int;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;max-height:46px;margin-top:calc(var(--space-unit) * 0.5)}.link-int>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;width:auto}.link-int>span>.menu-item{width:auto;height:auto;color:var(--bg-white);letter-spacing:0.2px;line-height:14px;font-weight:var(--font-sb);text-decoration:none;outline:none;padding:calc(var(--space-unit) * 1.5)}.link-int>span>svg{display:block}.menu-item>i{display:none}.link-int>span>.menu-item:focus,.link-int>span>.menu-item:hover{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-int>span>.menu-item::-moz-focus-inner{border:0}.link-int>span>.menu-item:focus+svg{visibility:visible}.link-ext{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:center;align-content:center;max-height:46px}.link-ext-span{width:auto;line-height:14px;margin:var(--space-unit);padding:calc(var(--space-unit) * 0.5) var(--space-unit)}}@media only screen and (min-width: 1152px){.main-header{grid-template-columns:170px auto auto 180px}}";
|
|
6
|
-
|
|
7
|
-
const ZMyzTopbar = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.isMobile = true;
|
|
11
|
-
this.isMenuMobileOpen = false;
|
|
12
|
-
this.intMenuData = [];
|
|
13
|
-
this.extMenuData = [];
|
|
14
|
-
this.isLogged = false;
|
|
15
|
-
}
|
|
16
|
-
activeIntLinkChange(newValue) {
|
|
17
|
-
this.activeMenuItem = this.currentMenuItem = this.intMenuData.find((item) => item.id === newValue);
|
|
18
|
-
}
|
|
19
|
-
handleResize() {
|
|
20
|
-
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
21
|
-
}
|
|
22
|
-
handleZListItemLinkClick() {
|
|
23
|
-
this.isMenuMobileOpen = false;
|
|
24
|
-
}
|
|
25
|
-
handleZListItemClick() {
|
|
26
|
-
this.isMenuMobileOpen = false;
|
|
27
|
-
}
|
|
28
|
-
componentWillLoad() {
|
|
29
|
-
if (this.intlinkdata) {
|
|
30
|
-
this.intMenuData =
|
|
31
|
-
typeof this.intlinkdata === "string"
|
|
32
|
-
? JSON.parse(this.intlinkdata)
|
|
33
|
-
: this.intlinkdata;
|
|
34
|
-
}
|
|
35
|
-
this.activeMenuItem = this.currentMenuItem = this.intMenuData.find((item) => item.id === this.activeintlinkid);
|
|
36
|
-
if (this.extlinkdata) {
|
|
37
|
-
this.extMenuData =
|
|
38
|
-
typeof this.extlinkdata === "string"
|
|
39
|
-
? JSON.parse(this.extlinkdata)
|
|
40
|
-
: this.extlinkdata;
|
|
41
|
-
}
|
|
42
|
-
if (this.userdata) {
|
|
43
|
-
this.userData =
|
|
44
|
-
typeof this.userdata === "string"
|
|
45
|
-
? JSON.parse(this.userdata)
|
|
46
|
-
: this.userdata;
|
|
47
|
-
this.isLogged = this.userData.islogged;
|
|
48
|
-
}
|
|
49
|
-
this.handleResize();
|
|
50
|
-
}
|
|
51
|
-
renderLogoDiv() {
|
|
52
|
-
return (h("div", { class: "logo" }, h("z-logo", { link: this.logolink ? this.logolink : null, "target-blank": true, width: 144, height: 36, "image-alt": this.imagealt })));
|
|
53
|
-
}
|
|
54
|
-
renderIntMenu(menuItems) {
|
|
55
|
-
if (!this.isLogged || !this.ismyz)
|
|
56
|
-
return;
|
|
57
|
-
return (h("div", { id: "link-int", class: "link-int" }, menuItems.map((item) => this.renderIntMenuItem(item))));
|
|
58
|
-
}
|
|
59
|
-
renderIntMenuItem(menuItem) {
|
|
60
|
-
const { id, label, link } = menuItem;
|
|
61
|
-
return (h("span", null, h("a", { href: link ? link : null, id: id, class: "menu-item", onClick: () => {
|
|
62
|
-
this.activeMenuItem = this.currentMenuItem = menuItem;
|
|
63
|
-
this.activeintlinkid = menuItem.id;
|
|
64
|
-
if (menuItem.subMenu)
|
|
65
|
-
this.handleToggleMobileMenuItem(menuItem.id);
|
|
66
|
-
}, onMouseEnter: () => {
|
|
67
|
-
this.activeMenuItem = menuItem;
|
|
68
|
-
}, onMouseLeave: () => {
|
|
69
|
-
this.activeMenuItem = this.currentMenuItem;
|
|
70
|
-
}, role: link ? "link" : "button", tabindex: this.getIntMenuItemTabindex(menuItem) }, h("span", null, label), menuItem.subMenu ? h("i", null) : null), h("svg", { height: "8", width: "16", class: {
|
|
71
|
-
hidden: !this.activeMenuItem || this.activeMenuItem.id !== id,
|
|
72
|
-
} }, h("polygon", { points: "8,0 16,8 0,8", class: "arrow" })), this.isMobile && this.renderMenuItemsData(menuItem)));
|
|
73
|
-
}
|
|
74
|
-
getIntMenuItemTabindex(item) {
|
|
75
|
-
return this.intMenuData.indexOf(item) + 1;
|
|
76
|
-
}
|
|
77
|
-
handleToggleMobileMenuItem(elementId) {
|
|
78
|
-
if (!this.isMobile)
|
|
79
|
-
return;
|
|
80
|
-
this.element.shadowRoot
|
|
81
|
-
.querySelector(`#${elementId}`)
|
|
82
|
-
.classList.toggle("isopen");
|
|
83
|
-
this.element.shadowRoot
|
|
84
|
-
.querySelector("#mobile-dropdown-" + elementId)
|
|
85
|
-
.classList.toggle("visible");
|
|
86
|
-
}
|
|
87
|
-
renderMenuItemsData(menuItem) {
|
|
88
|
-
if (!menuItem.subMenu)
|
|
89
|
-
return null;
|
|
90
|
-
const listItems = menuItem.subMenu.map((item) => {
|
|
91
|
-
return {
|
|
92
|
-
id: item.id,
|
|
93
|
-
text: item.label,
|
|
94
|
-
link: item.link,
|
|
95
|
-
listitemid: item.id,
|
|
96
|
-
};
|
|
97
|
-
});
|
|
98
|
-
return this.renderMobileSubMenu(listItems, menuItem.id);
|
|
99
|
-
}
|
|
100
|
-
renderMobileSubMenu(menuItems, id) {
|
|
101
|
-
return (h("span", { class: "mobile-dropdown", id: id ? `mobile-dropdown-${id}` : "" }, h("z-myz-list", { list: menuItems })));
|
|
102
|
-
}
|
|
103
|
-
renderSubMenu(menuItem) {
|
|
104
|
-
if (!this.ismyz || !this.isLogged)
|
|
105
|
-
return;
|
|
106
|
-
if (!menuItem || !menuItem["subMenu"]) {
|
|
107
|
-
return h("div", { id: "dropdown-menu", class: `dropdown-menu hidden` });
|
|
108
|
-
}
|
|
109
|
-
return (h("div", { id: "dropdown-menu", class: `dropdown-menu` }, h("ul", { class: "dropdown-links" }, menuItem.subMenu.map((item) => (h("li", null, h("a", { id: item.id, class: item.id === this.activesublinkid ? "active" : "", href: item.link ? item.link : null, role: item.link ? "link" : "button", tabindex: this.getIntMenuItemTabindex(menuItem) }, item.label)))))));
|
|
110
|
-
}
|
|
111
|
-
renderExtLinksIcons(icon) {
|
|
112
|
-
const width = window.innerWidth > 0 ? window.innerWidth : screen.width;
|
|
113
|
-
const hideIcons = width > mobileBreakpoint && width < tabletBreakpoint;
|
|
114
|
-
return !hideIcons && { icon };
|
|
115
|
-
}
|
|
116
|
-
renderExtMenu(menuItems) {
|
|
117
|
-
if (!this.isLogged)
|
|
118
|
-
return h("div", null);
|
|
119
|
-
return (h("div", { id: "link-ext", class: "link-ext" }, menuItems.map((menuItem) => {
|
|
120
|
-
const { id, label, link, icon } = menuItem;
|
|
121
|
-
return (h("span", { class: `link-ext-span${this.ismyz ? " myz" : ""}` }, h("z-link", Object.assign({ id: id, htmlid: id, href: link, iswhite: !!this.ismyz, target: "_blank", htmltabindex: 10 }, this.renderExtLinksIcons(icon)), label)));
|
|
122
|
-
})));
|
|
123
|
-
}
|
|
124
|
-
renderLoginDiv(userData) {
|
|
125
|
-
return (h("div", { class: "login" }, this.isLogged ? (h("z-menu-dropdown", { nomeutente: userData.name, menucontent: JSON.stringify(userData.userlinks) })) : (this.renderLoginButton())));
|
|
126
|
-
}
|
|
127
|
-
renderLoginButton() {
|
|
128
|
-
if (this.hideloginbutton) {
|
|
129
|
-
return;
|
|
130
|
-
}
|
|
131
|
-
return (h("z-button", { htmlid: "login-button", variant: this.ismyz ? ButtonVariantEnum.secondary : ButtonVariantEnum.tertiary, icon: "login", size: ButtonSizeEnum.small }, "entra"));
|
|
132
|
-
}
|
|
133
|
-
renderMobileLoginDiv(userData) {
|
|
134
|
-
return (h("div", { id: "mobile-login", class: "mobile-login" }, h("span", null, h("a", { class: "menu-item", id: "user-data", onClick: () => this.handleToggleMobileMenuItem("user-data"), role: "button" }, h("span", null, h("z-icon", { name: "user-avatar", height: 16, width: 16 }), userData.name), h("i", null)), this.renderUserData(userData))));
|
|
135
|
-
}
|
|
136
|
-
renderUserData(userData) {
|
|
137
|
-
if (this.isMobile && !userData)
|
|
138
|
-
return null;
|
|
139
|
-
const listItems = userData.userlinks.map((item) => {
|
|
140
|
-
return {
|
|
141
|
-
text: item.label,
|
|
142
|
-
link: item.link,
|
|
143
|
-
icon: item.icon,
|
|
144
|
-
listitemid: item.id,
|
|
145
|
-
};
|
|
146
|
-
});
|
|
147
|
-
return this.renderMobileSubMenu(listItems, "user-data");
|
|
148
|
-
}
|
|
149
|
-
renderDesktopHeader() {
|
|
150
|
-
return (h("header", { class: !this.ismyz ? "myz-out" : "" }, this.renderMainHeader(), this.renderSubMenu(this.activeMenuItem)));
|
|
151
|
-
}
|
|
152
|
-
renderMainHeader() {
|
|
153
|
-
return (h("div", { id: "main-header", class: {
|
|
154
|
-
"main-header": true,
|
|
155
|
-
"myz-out": !this.ismyz,
|
|
156
|
-
} }, this.renderLogoDiv(), this.renderIntMenu(this.intMenuData), this.renderExtMenu(this.extMenuData), this.renderLoginDiv(this.userData)));
|
|
157
|
-
}
|
|
158
|
-
renderMobileHeader() {
|
|
159
|
-
return (h("header", null, this.renderMobileMenu(), this.renderMobileMenuContent()));
|
|
160
|
-
}
|
|
161
|
-
renderMobileMenu() {
|
|
162
|
-
return (h("div", { id: "mobile-header", class: `mobile-header${this.ismyz ? "" : " myz-out"}` }, this.renderLogoDiv(), this.renderMobileMenuToggle()));
|
|
163
|
-
}
|
|
164
|
-
renderMobileMenuToggle() {
|
|
165
|
-
if (!this.isLogged)
|
|
166
|
-
return this.renderLoginButton();
|
|
167
|
-
return (h("div", { class: "menu-mobile", id: "mobile-menu-wrapper", onClick: () => (this.isMenuMobileOpen = !this.isMenuMobileOpen) }, h("div", { class: `menu-toggle${this.isMenuMobileOpen ? " is-active" : ""}`, id: "mobile-menu" }, h("span", { class: "bar" }), h("span", { class: "bar" }), h("span", { class: "bar" })), h("span", null, "Menu")));
|
|
168
|
-
}
|
|
169
|
-
renderMobileMenuContent() {
|
|
170
|
-
if (!this.isLogged)
|
|
171
|
-
return null;
|
|
172
|
-
return (h("div", { id: "mobile-content", class: {
|
|
173
|
-
"mobile-content": true,
|
|
174
|
-
open: this.isMenuMobileOpen,
|
|
175
|
-
"myz-out": !this.ismyz,
|
|
176
|
-
} }, this.renderMobileLoginDiv(this.userData), this.ismyz && h("hr", null), this.renderIntMenu(this.intMenuData), h("hr", null), this.renderExtMenu(this.extMenuData)));
|
|
177
|
-
}
|
|
178
|
-
render() {
|
|
179
|
-
return this.isMobile
|
|
180
|
-
? this.renderMobileHeader()
|
|
181
|
-
: this.renderDesktopHeader();
|
|
182
|
-
}
|
|
183
|
-
get element() { return getElement(this); }
|
|
184
|
-
static get watchers() { return {
|
|
185
|
-
"activeintlinkid": ["activeIntLinkChange"]
|
|
186
|
-
}; }
|
|
187
|
-
};
|
|
188
|
-
ZMyzTopbar.style = stylesCss;
|
|
189
|
-
|
|
190
|
-
export { ZMyzTopbar as z_myz_topbar };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h } from './index-81176684.js';
|
|
2
|
-
import { N as NavigationTabsOrientations, a as NavigationTabsSizes } from './index-3ee81524.js';
|
|
3
|
-
import { i as icons } from './icons-92a7dcde.js';
|
|
4
|
-
|
|
5
|
-
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;align-items:center;justify-content:center;width:auto;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);background-color:unset;text-align:center;font-size:inherit;font-family:var(--font-family-sans);line-height:inherit;letter-spacing:inherit;white-space:nowrap;color:var(--color-primary01);fill:currentColor;border:none;border-radius:var(--border-no-radius);outline:none;cursor:pointer}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{box-shadow:inset var(--shadow-focus-primary)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentColor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{content:\"\";position:absolute;background-color:var(--color-hover-secondary)}z-navigation-tab[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation=\"horizontal\"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation=\"horizontal\"] z-icon,z-navigation-tab-link[orientation=\"horizontal\"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*{pointer-events:all;cursor:not-allowed;color:var(--gray500);fill:currentColor}z-navigation-tab[size=\"small\"]>*,z-navigation-tab-link[size=\"small\"]>*{font-size:var(--font-size-2);line-height:1.4;letter-spacing:0.16px}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]>*,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[size=\"small\"][orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]:hover>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size=\"small\"]:not([orientation=\"vertical\"]) z-icon,z-navigation-tab-link[size=\"small\"]:not([orientation=\"vertical\"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation=\"vertical\"]>*,z-navigation-tab-link[orientation=\"vertical\"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation=\"vertical\"]:hover:not([disabled])>*::after,z-navigation-tab[orientation=\"vertical\"][selected]>*::after,z-navigation-tab-link[orientation=\"vertical\"]:hover>*::after,z-navigation-tab-link[orientation=\"vertical\"][selected]>*::after{width:var(--border-size-large);height:100%;top:0;right:0}";
|
|
6
|
-
|
|
7
|
-
const ZNavigationTabLink = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.selectedEvent = createEvent(this, "selected", 7);
|
|
11
|
-
/**
|
|
12
|
-
* Whether the tab is selected.
|
|
13
|
-
*/
|
|
14
|
-
this.selected = false;
|
|
15
|
-
/**
|
|
16
|
-
* Whether the tab is disabled.
|
|
17
|
-
*/
|
|
18
|
-
this.disabled = false;
|
|
19
|
-
/**
|
|
20
|
-
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
21
|
-
*/
|
|
22
|
-
this.orientation = NavigationTabsOrientations.horizontal;
|
|
23
|
-
/**
|
|
24
|
-
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
25
|
-
*/
|
|
26
|
-
this.size = NavigationTabsSizes.big;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Scroll into view to center the tab.
|
|
30
|
-
*/
|
|
31
|
-
scrollToTab({ target: button }) {
|
|
32
|
-
const scrollOptions = this.orientation === NavigationTabsOrientations.horizontal ?
|
|
33
|
-
{ block: "nearest", inline: "center" } :
|
|
34
|
-
{ block: "center", inline: "nearest" };
|
|
35
|
-
button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
36
|
-
}
|
|
37
|
-
onClick() {
|
|
38
|
-
this.selected = true;
|
|
39
|
-
}
|
|
40
|
-
onSelected() {
|
|
41
|
-
if (this.selected) {
|
|
42
|
-
this.selectedEvent.emit();
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Render the icon component using the icon's name passed from prop.
|
|
47
|
-
* Use the `filled` version when the tab is `selected`.
|
|
48
|
-
* @returns {HTMLElement}
|
|
49
|
-
*/
|
|
50
|
-
renderIcon() {
|
|
51
|
-
let icon = this.icon;
|
|
52
|
-
const iconFilled = `${icon.replace(/-filled$/, '')}-filled`;
|
|
53
|
-
if (this.selected && Object.keys(icons).includes(iconFilled)) {
|
|
54
|
-
icon = iconFilled;
|
|
55
|
-
}
|
|
56
|
-
return h("z-icon", { name: icon });
|
|
57
|
-
}
|
|
58
|
-
render() {
|
|
59
|
-
return (h("a", { role: "tab", href: !this.disabled && this.href, title: this.htmlTitle, target: this.target, onFocus: this.scrollToTab.bind(this) }, this.icon && this.renderIcon(), this.orientation === "horizontal" && this.label));
|
|
60
|
-
}
|
|
61
|
-
static get watchers() { return {
|
|
62
|
-
"selected": ["onSelected"]
|
|
63
|
-
}; }
|
|
64
|
-
};
|
|
65
|
-
ZNavigationTabLink.style = navigationTabCss;
|
|
66
|
-
|
|
67
|
-
export { ZNavigationTabLink as z_navigation_tab_link };
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h } from './index-81176684.js';
|
|
2
|
-
import { N as NavigationTabsOrientations, a as NavigationTabsSizes } from './index-3ee81524.js';
|
|
3
|
-
import { i as icons } from './icons-92a7dcde.js';
|
|
4
|
-
|
|
5
|
-
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;align-items:center;justify-content:center;width:auto;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);background-color:unset;text-align:center;font-size:inherit;font-family:var(--font-family-sans);line-height:inherit;letter-spacing:inherit;white-space:nowrap;color:var(--color-primary01);fill:currentColor;border:none;border-radius:var(--border-no-radius);outline:none;cursor:pointer}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{box-shadow:inset var(--shadow-focus-primary)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentColor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{content:\"\";position:absolute;background-color:var(--color-hover-secondary)}z-navigation-tab[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation=\"horizontal\"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation=\"horizontal\"] z-icon,z-navigation-tab-link[orientation=\"horizontal\"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*{pointer-events:all;cursor:not-allowed;color:var(--gray500);fill:currentColor}z-navigation-tab[size=\"small\"]>*,z-navigation-tab-link[size=\"small\"]>*{font-size:var(--font-size-2);line-height:1.4;letter-spacing:0.16px}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]>*,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[size=\"small\"][orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]:hover>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size=\"small\"]:not([orientation=\"vertical\"]) z-icon,z-navigation-tab-link[size=\"small\"]:not([orientation=\"vertical\"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation=\"vertical\"]>*,z-navigation-tab-link[orientation=\"vertical\"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation=\"vertical\"]:hover:not([disabled])>*::after,z-navigation-tab[orientation=\"vertical\"][selected]>*::after,z-navigation-tab-link[orientation=\"vertical\"]:hover>*::after,z-navigation-tab-link[orientation=\"vertical\"][selected]>*::after{width:var(--border-size-large);height:100%;top:0;right:0}";
|
|
6
|
-
|
|
7
|
-
const ZNavigationTab = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.selectedEvent = createEvent(this, "selected", 7);
|
|
11
|
-
/**
|
|
12
|
-
* Whether the tab is selected.
|
|
13
|
-
*/
|
|
14
|
-
this.selected = false;
|
|
15
|
-
/**
|
|
16
|
-
* Whether the tab is disabled.
|
|
17
|
-
*/
|
|
18
|
-
this.disabled = false;
|
|
19
|
-
/**
|
|
20
|
-
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
21
|
-
*/
|
|
22
|
-
this.orientation = NavigationTabsOrientations.horizontal;
|
|
23
|
-
/**
|
|
24
|
-
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
25
|
-
*/
|
|
26
|
-
this.size = NavigationTabsSizes.big;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Scroll into view to center the tab.
|
|
30
|
-
*/
|
|
31
|
-
scrollToTab({ target: button }) {
|
|
32
|
-
const scrollOptions = this.orientation === NavigationTabsOrientations.horizontal ?
|
|
33
|
-
{ block: "nearest", inline: "center" } :
|
|
34
|
-
{ block: "center", inline: "nearest" };
|
|
35
|
-
button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
36
|
-
}
|
|
37
|
-
onClick() {
|
|
38
|
-
if (!this.disabled) {
|
|
39
|
-
this.selected = true;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
onSelected() {
|
|
43
|
-
if (this.selected) {
|
|
44
|
-
this.selectedEvent.emit();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Render the icon component using the icon's name passed from prop.
|
|
49
|
-
* Use the `filled` version when the tab is `selected`.
|
|
50
|
-
* @returns {HTMLElement}
|
|
51
|
-
*/
|
|
52
|
-
renderIcon() {
|
|
53
|
-
let icon = this.icon;
|
|
54
|
-
const iconFilled = `${icon.replace(/-filled$/, '')}-filled`;
|
|
55
|
-
if (this.selected && Object.keys(icons).includes(iconFilled)) {
|
|
56
|
-
icon = iconFilled;
|
|
57
|
-
}
|
|
58
|
-
return h("z-icon", { name: icon });
|
|
59
|
-
}
|
|
60
|
-
render() {
|
|
61
|
-
return (h("button", { role: "tab", disabled: this.disabled, title: this.htmlTitle, onFocus: this.scrollToTab.bind(this) }, this.icon && this.renderIcon(), this.orientation === "horizontal" && this.label));
|
|
62
|
-
}
|
|
63
|
-
static get watchers() { return {
|
|
64
|
-
"selected": ["onSelected"]
|
|
65
|
-
}; }
|
|
66
|
-
};
|
|
67
|
-
ZNavigationTab.style = navigationTabCss;
|
|
68
|
-
|
|
69
|
-
export { ZNavigationTab as z_navigation_tab };
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, f as Host, g as getElement } from './index-81176684.js';
|
|
2
|
-
import { N as NavigationTabsOrientations, a as NavigationTabsSizes } from './index-3ee81524.js';
|
|
3
|
-
|
|
4
|
-
const stylesCss = ":host{position:relative;display:flex;flex-direction:row;z-index:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);overflow:hidden}:host,:host *,::slotted(*){box-sizing:border-box}::-webkit-scrollbar{display:none}.navigation-button{position:absolute;display:flex;align-items:center;justify-content:center;margin:0;padding:0;background:var(--color-white);border:none;outline:none;fill:var(--color-primary01);border-radius:var(--border-no-radius);cursor:pointer;z-index:1;box-shadow:0px 0px 4px 1px rgb(66, 69, 72, 0.40)}.navigation-button:focus:focus-visible{fill:var(--color-primary01);box-shadow:inset var(--shadow-focus-primary)}.navigation-button:disabled{display:none}nav{display:flex;align-items:center;justify-content:flex-start;overflow:auto;scroll-behavior:smooth;scrollbar-width:none}:host([orientation='horizontal']) nav{width:100%}:host([orientation='horizontal']) .navigation-button{top:0;height:100%;width:calc(var(--space-unit) * 4)}:host([orientation='horizontal']) .navigation-button:first-child{left:0}:host([orientation='horizontal']) .navigation-button:last-child{right:0}:host([orientation='vertical']){flex-direction:column;width:fit-content}:host([orientation='vertical']) nav{flex-direction:column;align-items:stretch;height:100%}:host([orientation='vertical']) .navigation-button{left:0;width:100%;height:calc(var(--space-unit) * 4)}:host([orientation='vertical']) .navigation-button:first-child{top:0}:host([orientation='vertical']) .navigation-button:last-child{bottom:0}:host([size='small'][orientation='vertical']) .navigation-button{height:calc(var(--space-unit) * 4)}";
|
|
5
|
-
|
|
6
|
-
const ZNavigationTabs = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
/**
|
|
10
|
-
* Navigation tabs orientation.
|
|
11
|
-
*/
|
|
12
|
-
this.orientation = NavigationTabsOrientations.horizontal;
|
|
13
|
-
/**
|
|
14
|
-
* Navigation tabs size.
|
|
15
|
-
*/
|
|
16
|
-
this.size = NavigationTabsSizes.big;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Getter for the direction to check based on current orientation.
|
|
20
|
-
*/
|
|
21
|
-
get direction() {
|
|
22
|
-
return this.orientation == NavigationTabsOrientations.horizontal ? 'Left' : 'Top';
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Getter for the dimension to check based on current orientation.
|
|
26
|
-
*/
|
|
27
|
-
get dimension() {
|
|
28
|
-
return this.orientation == NavigationTabsOrientations.horizontal ? 'Width' : 'Height';
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Set the `size` prop to all `z-navigation-tab` children.
|
|
32
|
-
*/
|
|
33
|
-
setChildrenSize() {
|
|
34
|
-
const children = Array.from(this.host.children);
|
|
35
|
-
children.forEach((child) => {
|
|
36
|
-
child.setAttribute('size', this.size);
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Set the `orientation` prop to all `z-navigation-tab` children.
|
|
41
|
-
*/
|
|
42
|
-
setChildrenOrientation() {
|
|
43
|
-
const children = Array.from(this.host.children);
|
|
44
|
-
children.forEach((child) => {
|
|
45
|
-
child.setAttribute('orientation', this.orientation);
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Check if the navigation buttons are needed on window resize.
|
|
50
|
-
*/
|
|
51
|
-
checkScrollVisible() {
|
|
52
|
-
if (!this.tabsNav) {
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
this.canNavigate = this.tabsNav[`scroll${this.dimension}`] > this.tabsNav[`client${this.dimension}`];
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Check if navigation buttons can be enabled for each direction.
|
|
59
|
-
*/
|
|
60
|
-
checkScrollEnabled() {
|
|
61
|
-
if (!this.tabsNav) {
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
this.canNavigateNext = (this.tabsNav[`scroll${this.direction}`] + this.tabsNav[`client${this.dimension}`]) <
|
|
65
|
-
this.tabsNav[`scroll${this.dimension}`];
|
|
66
|
-
this.canNavigatePrev = this.tabsNav[`scroll${this.direction}`] > 0;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Listen for child tab selection.
|
|
70
|
-
* Deselect all other previously selected tabs,
|
|
71
|
-
* then scroll to the new selected tab and center it.
|
|
72
|
-
* @param {CustomEvent} event `selected` event triggered by a child tab
|
|
73
|
-
*/
|
|
74
|
-
onTabSelected(event) {
|
|
75
|
-
const tab = event.target;
|
|
76
|
-
const children = Array.from(this.host.children);
|
|
77
|
-
children.forEach((child) => {
|
|
78
|
-
if (child !== tab) {
|
|
79
|
-
child.removeAttribute('selected');
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Scroll the navigation bar half of its size backward.
|
|
85
|
-
*/
|
|
86
|
-
navigateBackwards() {
|
|
87
|
-
this.tabsNav.scrollBy({
|
|
88
|
-
[this.direction.toLowerCase()]: 0 - (this.tabsNav[`client${this.dimension}`] / 2),
|
|
89
|
-
behavior: 'smooth',
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Scroll the navigation bar half of its size forward.
|
|
94
|
-
*/
|
|
95
|
-
navigateForward() {
|
|
96
|
-
this.tabsNav.scrollBy({
|
|
97
|
-
[this.direction.toLowerCase()]: this.tabsNav[`scroll${this.direction}`] +
|
|
98
|
-
(this.tabsNav[`client${this.dimension}`] / 2),
|
|
99
|
-
behavior: 'smooth',
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
componentDidRender() {
|
|
103
|
-
this.setChildrenSize();
|
|
104
|
-
this.setChildrenOrientation();
|
|
105
|
-
this.checkScrollVisible();
|
|
106
|
-
}
|
|
107
|
-
render() {
|
|
108
|
-
return h(Host, { class: {
|
|
109
|
-
'interactive-2': this.size === NavigationTabsSizes.small,
|
|
110
|
-
'interactive-1': this.size !== NavigationTabsSizes.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 == NavigationTabsOrientations.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 == NavigationTabsOrientations.horizontal ? 'chevron-right' : 'chevron-down', width: 16, height: 16 })));
|
|
112
|
-
}
|
|
113
|
-
get host() { return getElement(this); }
|
|
114
|
-
static get watchers() { return {
|
|
115
|
-
"size": ["setChildrenSize"],
|
|
116
|
-
"orientation": ["setChildrenOrientation"],
|
|
117
|
-
"canNavigate": ["checkScrollEnabled"]
|
|
118
|
-
}; }
|
|
119
|
-
};
|
|
120
|
-
ZNavigationTabs.style = stylesCss;
|
|
121
|
-
|
|
122
|
-
export { ZNavigationTabs as z_navigation_tabs };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h } from './index-81176684.js';
|
|
2
|
-
|
|
3
|
-
const stylesCss = ":host{--z-notification--top-offset:0;display:flex;align-items:flex-start;width:100%;padding:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);border-bottom:var(--border-size-medium) solid var(--color-surface03);outline:none;box-sizing:border-box}:host[sticky]{position:sticky;top:var(--z-notification--top-offset)}:host[sticky],:host([showshadow]){box-shadow:var(--shadow-3)}:host([type=\"success\"]){background:var(--color-success-inverse)}:host([type=\"warning\"]){background:var(--color-warning-inverse)}:host([type=\"error\"]){background:var(--color-error-inverse)}.status-icon,.close-button{display:flex;align-items:center;height:20px}:host([type=\"success\"]) .status-icon{fill:var(--color-success01)}:host([type=\"warning\"]) .status-icon{fill:var(--color-warning02)}:host([type=\"error\"]) .status-icon{fill:var(--color-error01)}:host>button,.content-container>button{margin:0;padding:0;background:transparent;border:none;font-family:inherit;cursor:pointer}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2);flex-wrap:wrap;flex:1 auto}.content-text{max-width:800px;color:var(--color-text01);font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:20px;letter-spacing:0.16px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);line-height:16px;letter-spacing:0.32px}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}";
|
|
4
|
-
|
|
5
|
-
const ZNotification = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.notificationAction = createEvent(this, "notificationAction", 7);
|
|
9
|
-
this.notificationClose = createEvent(this, "notificationClose", 7);
|
|
10
|
-
/** Enable close icon */
|
|
11
|
-
this.showclose = false;
|
|
12
|
-
/**
|
|
13
|
-
* Enable shadow.
|
|
14
|
-
* @deprecated shadow is available only for the `sticky` version of the notification.
|
|
15
|
-
*/
|
|
16
|
-
this.showshadow = false;
|
|
17
|
-
/** Enable sticky notification bar. */
|
|
18
|
-
this.sticky = false;
|
|
19
|
-
this.handleActionButtonClick = this.handleActionButtonClick.bind(this);
|
|
20
|
-
this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);
|
|
21
|
-
}
|
|
22
|
-
handleActionButtonClick(e) {
|
|
23
|
-
e.preventDefault();
|
|
24
|
-
this.notificationAction.emit();
|
|
25
|
-
}
|
|
26
|
-
handleCloseButtonClick(e) {
|
|
27
|
-
e.preventDefault();
|
|
28
|
-
this.notificationClose.emit();
|
|
29
|
-
}
|
|
30
|
-
render() {
|
|
31
|
-
var _a;
|
|
32
|
-
return [
|
|
33
|
-
this.contenticonname && h("z-icon", { class: "status-icon", name: this.contenticonname, width: 16, height: 16 }),
|
|
34
|
-
h("div", { class: "content-container" }, h("div", { class: "content-text" }, h("slot", null)), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) &&
|
|
35
|
-
h("button", { class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext)),
|
|
36
|
-
this.showclose && h("button", { class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { name: "multiply-circle", width: 16, height: 16 }))
|
|
37
|
-
];
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
ZNotification.style = stylesCss;
|
|
41
|
-
|
|
42
|
-
export { ZNotification as z_notification };
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h, g as getElement } from './index-81176684.js';
|
|
2
|
-
import { O as OffCanvasVariantsEnum, x as TransitionDirectionEnum } from './index-3ee81524.js';
|
|
3
|
-
|
|
4
|
-
const stylesCss = ".sc-z-offcanvas-h{--z-offcanvas--container-width:375px;--z-offcanvas--top-space:0px;z-index:1000;display:none;justify-content:end;height:100%;min-width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.canvas-container.sc-z-offcanvas{display:flex;flex-direction:column;z-index:1010;min-width:100%;height:100%;overflow:-moz-scrollbars-none;overflow:hidden;background:var(--color-surface01);transform:translateX(100%)}@keyframes enterRight{from{transform:translateX(100%)}to{transform:translateX(0)}}[open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-name:enterRight;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exitRight{from{transform:translateX(0)}to{transform:translateX(100%)}}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"]>.canvas-container.sc-z-offcanvas{animation-name:exitRight;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(100%)}[variant=\"overlay\"].sc-z-offcanvas-h{position:fixed;height:calc(100% - var(--z-offcanvas--top-space));top:var(--z-offcanvas--top-space);left:0;right:0;bottom:0}[variant=\"overlay\"].sc-z-offcanvas-h .canvas-background.sc-z-offcanvas{position:absolute;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}[transitiondirection=\"right\"].sc-z-offcanvas-h{justify-content:start}[transitiondirection=\"right\"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(-100%)}@keyframes enterLeft{from{transform:translateX(-100%)}to{transform:translateX(0)}}[transitiondirection=\"right\"][open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-name:enterLeft;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exitLeft{from{transform:translateX(0)}to{transform:translateX(-100%)}}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"][transitiondirection=\"right\"]>.canvas-container.sc-z-offcanvas{animation-name:exitLeft;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(-100%)}.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{flex:1 auto;overflow:auto;overflow-x:hidden;padding:0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-track{background-color:transparent}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb{background-color:var(--color-primary01);border-radius:var(--border-radius);width:10px}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.sc-z-offcanvas-h{min-width:auto}.canvas-container.sc-z-offcanvas{width:auto;height:auto;min-width:max(var(--z-offcanvas--container-width), 375px);min-height:calc(var(--space-unit) * 40);max-width:max(var(--z-offcanvas--container-width), 375px)}@keyframes grow{from{width:0}to{width:max(var(--z-offcanvas--container-width), 375px)}}.sc-z-offcanvas-h:not([variant=\"overlay\"])[open]{animation-name:grow;animation-duration:0.4s;animation-timing-function:ease-out;width:auto}}";
|
|
5
|
-
|
|
6
|
-
const ZOffcanvas = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.canvasOpenStatusChanged = createEvent(this, "canvasOpenStatusChanged", 7);
|
|
10
|
-
/**
|
|
11
|
-
* Offcanvas variant.
|
|
12
|
-
* Can be one of "overlay", "pushcontent"
|
|
13
|
-
* Default variant: pushcontent
|
|
14
|
-
*/
|
|
15
|
-
this.variant = OffCanvasVariantsEnum.pushcontent;
|
|
16
|
-
/** open component. Default: false */
|
|
17
|
-
this.open = false;
|
|
18
|
-
/** open content transitioning in a specified direction left | right. Default: left */
|
|
19
|
-
this.transitiondirection = TransitionDirectionEnum.left;
|
|
20
|
-
}
|
|
21
|
-
componentWillLoad() {
|
|
22
|
-
this.handleOpenStatus();
|
|
23
|
-
}
|
|
24
|
-
onOpenChanged() {
|
|
25
|
-
this.handleOpenStatus();
|
|
26
|
-
this.canvasOpenStatusChanged.emit(this.open);
|
|
27
|
-
}
|
|
28
|
-
handleOpenStatus() {
|
|
29
|
-
if (this.open) {
|
|
30
|
-
this.hostElement.style.display = "flex";
|
|
31
|
-
}
|
|
32
|
-
else if (this.variant === OffCanvasVariantsEnum.pushcontent) {
|
|
33
|
-
this.hostElement.style.display = "none";
|
|
34
|
-
document.body.style.overflowX = "hidden";
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
handleAnimationEnd() {
|
|
38
|
-
if (this.hostElement.hasAttribute("open")) {
|
|
39
|
-
this.hostElement.querySelector(`.canvas-content`).focus();
|
|
40
|
-
}
|
|
41
|
-
else if (this.variant === OffCanvasVariantsEnum.overlay) {
|
|
42
|
-
this.hostElement.style.display = "none";
|
|
43
|
-
document.body.style.overflowX = "initial";
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
render() {
|
|
47
|
-
return [
|
|
48
|
-
h("div", { class: "canvas-container", onAnimationEnd: () => this.handleAnimationEnd() }, h("div", { class: "canvas-content", tabindex: "0" }, h("slot", { name: "canvasContent" }))),
|
|
49
|
-
h("div", { class: "canvas-background", "data-action": "canvasBackground", onClick: () => this.open = false })
|
|
50
|
-
];
|
|
51
|
-
}
|
|
52
|
-
get hostElement() { return getElement(this); }
|
|
53
|
-
static get watchers() { return {
|
|
54
|
-
"open": ["onOpenChanged"]
|
|
55
|
-
}; }
|
|
56
|
-
};
|
|
57
|
-
ZOffcanvas.style = stylesCss;
|
|
58
|
-
|
|
59
|
-
export { ZOffcanvas as z_offcanvas };
|
package/www/build/z-otp.entry.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h } from './index-81176684.js';
|
|
2
|
-
import { d as InputStatusEnum } from './index-3ee81524.js';
|
|
3
|
-
|
|
4
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{height:72px;width:calc(var(--space-unit) * 5);font-size:32px;font-weight:300;font-family:var(--font-family-sans);text-align:center;caret-color:transparent;box-sizing:border-box;padding:0;color:var(--color-surface05)}input.error{border:1px solid;border-radius:4px;border-color:var(--color-error01);background-color:var(--color-error-inverse)}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";
|
|
5
|
-
|
|
6
|
-
const ZOtp = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.otpChange = createEvent(this, "otpChange", 7);
|
|
10
|
-
this.inputNum = 6;
|
|
11
|
-
}
|
|
12
|
-
emitInputChange(value) {
|
|
13
|
-
this.otpChange.emit({ value });
|
|
14
|
-
}
|
|
15
|
-
componentWillLoad() {
|
|
16
|
-
this.otp = Array.apply(null, Array(this.inputNum));
|
|
17
|
-
this.otpRef = Array.apply(null, Array(this.inputNum));
|
|
18
|
-
}
|
|
19
|
-
render() {
|
|
20
|
-
return (h("div", { class: "otp-container" }, h("div", { class: "digits-container" }, this.otp.map((_elem, i) => {
|
|
21
|
-
return (h("input", { class: this.status == InputStatusEnum.error ? "error" : null, onKeyDown: (e) => {
|
|
22
|
-
if (e.keyCode > 47)
|
|
23
|
-
this.otpRef[i].value = "";
|
|
24
|
-
}, onKeyUp: (e) => {
|
|
25
|
-
if (e.keyCode > 47) {
|
|
26
|
-
i < this.inputNum - 1 && this.otpRef[i + 1].focus();
|
|
27
|
-
}
|
|
28
|
-
}, onInput: (e) => {
|
|
29
|
-
this.otp[i] = e.target.value;
|
|
30
|
-
this.emitInputChange(this.otp.join(""));
|
|
31
|
-
}, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: input => (this.otpRef[i] = input) }));
|
|
32
|
-
})), h("z-input-message", { message: this.message, status: this.status })));
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
ZOtp.style = stylesCss;
|
|
36
|
-
|
|
37
|
-
export { ZOtp as z_otp };
|