@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,109 +0,0 @@
|
|
|
1
|
-
import { h as KeyboardCodeEnum, r as DeviceEnum } from './index-3ee81524.js';
|
|
2
|
-
import { t as tabletBreakpoint, m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
3
|
-
|
|
4
|
-
function format(first, middle, last) {
|
|
5
|
-
return ((first || "") + (middle ? ` ${middle}` : "") + (last ? ` ${last}` : ""));
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Return boolean value for passed value if a boolean corresponding value is found
|
|
9
|
-
* Return passed value otherwise
|
|
10
|
-
*/
|
|
11
|
-
function boolean(value) {
|
|
12
|
-
switch (value) {
|
|
13
|
-
case true:
|
|
14
|
-
case "true":
|
|
15
|
-
case 1:
|
|
16
|
-
case "1":
|
|
17
|
-
case "on":
|
|
18
|
-
case "yes":
|
|
19
|
-
return true;
|
|
20
|
-
case false:
|
|
21
|
-
case "false":
|
|
22
|
-
case 0:
|
|
23
|
-
case "0":
|
|
24
|
-
case "off":
|
|
25
|
-
case "no":
|
|
26
|
-
return false;
|
|
27
|
-
default:
|
|
28
|
-
return value;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
function retrieveAsset(assetName) {
|
|
32
|
-
return assetName && "assets/images/png/" + assetName;
|
|
33
|
-
}
|
|
34
|
-
function randomId() {
|
|
35
|
-
return Math.random().toString(36).replace("0.", "");
|
|
36
|
-
}
|
|
37
|
-
function handleKeyboardSubmit(ev, callback, ...args) {
|
|
38
|
-
if (ev.code === KeyboardCodeEnum.ENTER ||
|
|
39
|
-
ev.code === KeyboardCodeEnum.SPACE) {
|
|
40
|
-
ev.preventDefault();
|
|
41
|
-
callback(...args);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
function getClickedElement(elem = null) {
|
|
45
|
-
if (!elem)
|
|
46
|
-
elem = document.activeElement;
|
|
47
|
-
if (elem && elem.shadowRoot && elem.shadowRoot.activeElement) {
|
|
48
|
-
elem = elem.shadowRoot.activeElement;
|
|
49
|
-
return getClickedElement(elem);
|
|
50
|
-
}
|
|
51
|
-
return elem;
|
|
52
|
-
}
|
|
53
|
-
function getElementTree(elem, tree = []) {
|
|
54
|
-
tree.push(elem);
|
|
55
|
-
if (elem.parentElement) {
|
|
56
|
-
elem = elem.parentElement;
|
|
57
|
-
return getElementTree(elem, tree);
|
|
58
|
-
// @ts-ignore
|
|
59
|
-
}
|
|
60
|
-
else if (elem.parentNode && elem.parentNode.host) {
|
|
61
|
-
// @ts-ignore
|
|
62
|
-
elem = elem.parentNode.host;
|
|
63
|
-
return getElementTree(elem, tree);
|
|
64
|
-
}
|
|
65
|
-
return tree;
|
|
66
|
-
}
|
|
67
|
-
function getSiblings(elem) {
|
|
68
|
-
let siblings = [];
|
|
69
|
-
if (!elem || !elem.parentNode || !elem.parentNode.childNodes) {
|
|
70
|
-
return siblings;
|
|
71
|
-
}
|
|
72
|
-
elem.parentNode.childNodes.forEach((child) => {
|
|
73
|
-
if (child.nodeType === 1 && child !== elem) {
|
|
74
|
-
siblings.push(child);
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
return siblings;
|
|
78
|
-
}
|
|
79
|
-
function getDevice() {
|
|
80
|
-
switch (true) {
|
|
81
|
-
case window.innerWidth <= mobileBreakpoint:
|
|
82
|
-
return DeviceEnum.mobile;
|
|
83
|
-
case window.innerWidth <= tabletBreakpoint:
|
|
84
|
-
return DeviceEnum.tablet;
|
|
85
|
-
default:
|
|
86
|
-
return DeviceEnum.desktop;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
function convertJson(data) {
|
|
90
|
-
try {
|
|
91
|
-
return JSON.parse(data);
|
|
92
|
-
}
|
|
93
|
-
catch (e) {
|
|
94
|
-
return false;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
const prefix = "avatar-C"; // prefix for color vars name
|
|
98
|
-
const colorsCount = 19; // available colors
|
|
99
|
-
function colorFromId(id) {
|
|
100
|
-
const seed = Math.ceil(2 ** 31 - 1) * parseFloat(`0.${id}`);
|
|
101
|
-
let color = Math.ceil(colorsCount * (seed % 1));
|
|
102
|
-
// if result of mc is 0
|
|
103
|
-
// es.: 3895229
|
|
104
|
-
if (color === 0)
|
|
105
|
-
color = 1;
|
|
106
|
-
return `${prefix}${color.toString().padStart(2, "0")}`;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export { getElementTree as a, convertJson as b, colorFromId as c, getClickedElement as d, boolean as e, getDevice as g, handleKeyboardSubmit as h, randomId as r };
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { K as KeyboardCodeEnum, D as DeviceEnum } from './index-3b53c63e.js';
|
|
2
|
-
import { t as tabletBreakpoint, m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
3
|
-
|
|
4
|
-
function format(first, middle, last) {
|
|
5
|
-
return ((first || "") + (middle ? ` ${middle}` : "") + (last ? ` ${last}` : ""));
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Return boolean value for passed value if a boolean corresponding value is found
|
|
9
|
-
* Return passed value otherwise
|
|
10
|
-
*/
|
|
11
|
-
function boolean(value) {
|
|
12
|
-
switch (value) {
|
|
13
|
-
case true:
|
|
14
|
-
case "true":
|
|
15
|
-
case 1:
|
|
16
|
-
case "1":
|
|
17
|
-
case "on":
|
|
18
|
-
case "yes":
|
|
19
|
-
return true;
|
|
20
|
-
case false:
|
|
21
|
-
case "false":
|
|
22
|
-
case 0:
|
|
23
|
-
case "0":
|
|
24
|
-
case "off":
|
|
25
|
-
case "no":
|
|
26
|
-
return false;
|
|
27
|
-
default:
|
|
28
|
-
return value;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
function retrieveAsset(assetName) {
|
|
32
|
-
return assetName && "assets/images/png/" + assetName;
|
|
33
|
-
}
|
|
34
|
-
function randomId() {
|
|
35
|
-
return Math.random().toString(36).replace("0.", "");
|
|
36
|
-
}
|
|
37
|
-
function handleKeyboardSubmit(ev, callback, ...args) {
|
|
38
|
-
if (ev.code === KeyboardCodeEnum.ENTER ||
|
|
39
|
-
ev.code === KeyboardCodeEnum.SPACE) {
|
|
40
|
-
ev.preventDefault();
|
|
41
|
-
callback(...args);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
function getClickedElement(elem = null) {
|
|
45
|
-
if (!elem)
|
|
46
|
-
elem = document.activeElement;
|
|
47
|
-
if (elem && elem.shadowRoot && elem.shadowRoot.activeElement) {
|
|
48
|
-
elem = elem.shadowRoot.activeElement;
|
|
49
|
-
return getClickedElement(elem);
|
|
50
|
-
}
|
|
51
|
-
return elem;
|
|
52
|
-
}
|
|
53
|
-
function getElementTree(elem, tree = []) {
|
|
54
|
-
tree.push(elem);
|
|
55
|
-
if (elem.parentElement) {
|
|
56
|
-
elem = elem.parentElement;
|
|
57
|
-
return getElementTree(elem, tree);
|
|
58
|
-
// @ts-ignore
|
|
59
|
-
}
|
|
60
|
-
else if (elem.parentNode && elem.parentNode.host) {
|
|
61
|
-
// @ts-ignore
|
|
62
|
-
elem = elem.parentNode.host;
|
|
63
|
-
return getElementTree(elem, tree);
|
|
64
|
-
}
|
|
65
|
-
return tree;
|
|
66
|
-
}
|
|
67
|
-
function getSiblings(elem) {
|
|
68
|
-
let siblings = [];
|
|
69
|
-
if (!elem || !elem.parentNode || !elem.parentNode.childNodes) {
|
|
70
|
-
return siblings;
|
|
71
|
-
}
|
|
72
|
-
elem.parentNode.childNodes.forEach((child) => {
|
|
73
|
-
if (child.nodeType === 1 && child !== elem) {
|
|
74
|
-
siblings.push(child);
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
return siblings;
|
|
78
|
-
}
|
|
79
|
-
function getDevice() {
|
|
80
|
-
switch (true) {
|
|
81
|
-
case window.innerWidth <= mobileBreakpoint:
|
|
82
|
-
return DeviceEnum.mobile;
|
|
83
|
-
case window.innerWidth <= tabletBreakpoint:
|
|
84
|
-
return DeviceEnum.tablet;
|
|
85
|
-
default:
|
|
86
|
-
return DeviceEnum.desktop;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
function convertJson(data) {
|
|
90
|
-
try {
|
|
91
|
-
return JSON.parse(data);
|
|
92
|
-
}
|
|
93
|
-
catch (e) {
|
|
94
|
-
return false;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
const prefix = "avatar-C"; // prefix for color vars name
|
|
98
|
-
const colorsCount = 19; // available colors
|
|
99
|
-
function colorFromId(id) {
|
|
100
|
-
const seed = Math.ceil(2 ** 31 - 1) * parseFloat(`0.${id}`);
|
|
101
|
-
let color = Math.ceil(colorsCount * (seed % 1));
|
|
102
|
-
// if result of mc is 0
|
|
103
|
-
// es.: 3895229
|
|
104
|
-
if (color === 0)
|
|
105
|
-
color = 1;
|
|
106
|
-
return `${prefix}${color.toString().padStart(2, "0")}`;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export { getElementTree as a, convertJson as b, colorFromId as c, getClickedElement as d, boolean as e, getDevice as g, handleKeyboardSubmit as h, randomId as r };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
-
|
|
3
|
-
const stylesCss = ":host{display:block;font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:14px;line-height:calc(var(--space-unit) * 2);color:var(--color-surface05);box-sizing:border-box}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{fill:var(--color-success01);background:var(--color-success-inverse)}:host>.warning{fill:var(--color-warning01);background:var(--color-warning-inverse)}:host>.error{fill:var(--color-error01);background:var(--color-error-inverse)}";
|
|
4
|
-
|
|
5
|
-
const ZAlert = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
render() {
|
|
10
|
-
return (h("div", { class: this.type }, h("slot", null)));
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
ZAlert.style = stylesCss;
|
|
14
|
-
|
|
15
|
-
export { ZAlert as z_alert };
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h, f as Host, g as getElement } from './index-81176684.js';
|
|
2
|
-
|
|
3
|
-
const stylesCss = ":host{--app-header-height:auto;--app-header-typography-1-size:24px;--app-header-typography-2-size:28px;--app-header-typography-3-size:32px;--app-header-typography-4-size:36px;--app-header-typography-5-size:42px;--app-header-typography-6-size:48px;--app-header-typography-7-size:54px;--app-header-typography-8-size:60px;--app-header-typography-9-size:68px;--app-header-typography-10-size:76px;--app-header-typography-11-size:84px;--app-header-typography-12-size:92px;--app-header-typography-1-lineheight:1.33;--app-header-typography-2-lineheight:1.29;--app-header-typography-3-lineheight:1.25;--app-header-typography-4-lineheight:1.24;--app-header-typography-5-lineheight:1.24;--app-header-typography-6-lineheight:1.25;--app-header-typography-7-lineheight:1.2;--app-header-typography-8-lineheight:1.26;--app-header-typography-9-lineheight:1.24;--app-header-typography-10-lineheight:1.26;--app-header-typography-11-lineheight:1.2;--app-header-typography-12-lineheight:1.2;--app-header-typography-1-tracking:calc(-0.2 / 1em);--app-header-typography-2-tracking:calc(-0.4 / 1em);--app-header-typography-3-tracking:calc(-0.6 / 1em);--app-header-typography-4-tracking:calc(-0.8 / 1em);--app-header-typography-5-tracking:calc(-1 / 1em);--app-header-typography-6-tracking:calc(-1.2 / 1em);--app-header-typography-7-tracking:calc(-1.4 / 1em);--app-header-typography-8-tracking:calc(-1.6 / 1em);--app-header-typography-9-tracking:calc(-1.8 / 1em);--app-header-typography-10-tracking:calc(-2 / 1em);--app-header-typography-11-tracking:calc(-2.2 / 1em);--app-header-typography-12-tracking:calc(-2.4 / 1em);--app-header-top-offset:48px;--app-header-drawer-trigger-size:calc(var(--space-unit) * 4);--app-header-bg:var(--color-white);--app-header-stucked-bg:var(--color-white);--app-header-text-color:var(--gray800);--app-header-stucked-text-color:var(--gray800);display:block;color:var(--app-header-text-color)}:host,*{box-sizing:border-box}.heading-panel{position:relative;display:flex;flex-direction:column;justify-content:flex-start;align-items:baseline;flex-shrink:0;flex-grow:0;width:100%;height:var(--app-header-height);padding:calc(var(--space-unit) * 2) var(--grid-mobile-margin);background:var(--app-header-bg)}:host(:empty) .heading-panel{padding:0}.heading-title{display:flex;flex-direction:row;align-items:center;max-width:100%}:host(:not([menu-length='0'])) .heading-subtitle{padding-left:calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 1.5))}.heading-stucked{position:fixed;top:var(--app-header-top-offset);left:0;z-index:20;display:flex;flex-direction:row;width:100%;max-width:100%;color:var(--app-header-stucked-text-color);padding:var(--space-unit) var(--grid-mobile-margin);background:var(--app-header-stucked-bg);box-shadow:var(--shadow-2);animation:slideStuckedHeadingIn 250ms ease-out}.heading-stucked .heading-title,.heading-stucked .heading-title>*,.heading-stucked .heading-title ::slotted([slot='stucked-title']){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}.heading-stucked .heading-title>*,::slotted([slot='title']),::slotted([slot='stucked-title']){margin:0;font-weight:700;font-family:'IBM Plex Serif', serif;font-size:var(--app-header-typography-3-size);letter-spacing:var(--app-header-typography-3-tracking)}::slotted([slot='title']){line-height:1}::slotted([slot='subtitle']){margin:var(--space-unit) 0 0;font-family:var(--font-family-sans);font-style:italic;font-weight:500;font-size:20px;line-height:1.2}.heading-container{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;max-width:100%;margin-right:auto}.menu-container{display:none;flex-direction:row;flex-wrap:wrap;align-items:baseline}.menu-container ::slotted([open]){position:relative;z-index:3}.menu-container ::slotted(*:not(:last-of-type)){margin-right:calc(var(--space-unit) * 4.5)}.drawer-trigger{margin:0 calc(var(--space-unit) * 1.5) 0 0;padding:0;background:none;border:0;border-radius:0;color:inherit;appearance:none;cursor:pointer}.drawer-trigger z-icon{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);fill:currentColor}.drawer-container{position:fixed;top:var(--app-header-top-offset);left:0;width:100%;height:100%;z-index:100;pointer-events:none}.drawer-container .drawer-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;display:block;background:var(--gray900);opacity:0;transition:opacity 400ms ease-out;pointer-events:none}.drawer-panel{position:absolute;top:0;left:0;z-index:2;display:flex;flex-direction:column;align-items:flex-start;width:375px;max-width:100%;height:100%;padding:calc(var(--space-unit) * 2) var(--space-unit);background:var(--color-white);color:var(--gray800);transform:translate3d(-100%, 0, 0);transition:transform 400ms ease-out;pointer-events:none}.drawer-content{display:flex;flex-direction:column;flex:1 auto;width:100%;padding:calc(var(--space-unit) * 0.5) var(--space-unit);overflow:auto}.drawer-content::-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)}.drawer-content::-webkit-scrollbar-track{background-color:transparent}.drawer-content::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.drawer-content::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.drawer-content ::slotted(z-menu){width:100%}.drawer-content ::slotted(z-menu:not(:last-of-type)){margin-bottom:calc(var(--space-unit) * 2.5)}.drawer-close{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);margin:0 0 calc(var(--space-unit) * 2.5) var(--space-unit);padding:0;font-size:inherit;background:transparent;color:inherit;fill:currentColor;border:0;border-radius:0;appearance:none;cursor:pointer;outline:none}.drawer-close:focus-visible{box-shadow:var(--shadow-focus-primary)}:host([drawer-open]) .drawer-container .drawer-overlay{opacity:0.7;pointer-events:all}:host([drawer-open]) .drawer-container .drawer-panel{transform:none;pointer-events:all}.hero-container{position:absolute;top:0;left:0;z-index:0;width:100%;height:100%}:host([overlay]) .heading-panel .drawer-trigger z-icon,:host([overlay]) .heading-panel .heading-container,:host([overlay]) .heading-panel .menu-container{color:var(--color-white);fill:var(--color-white)}:host([overlay]) .heading-panel .menu-container ::slotted(z-menu:not([open])){--color-surface05:var(--color-white)}:host([overlay]) .hero-container::after{content:'';position:absolute;top:0;left:0;z-index:0;width:100%;height:100%;background:var(--color-black);opacity:0.5}.hero-container img,.hero-container ::slotted(*){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center;-webkit-user-drag:none}@media only screen and (min-width: 768px){.heading-panel{padding:calc(var(--space-unit) * 3) var(--grid-tablet-margin)}.heading-stucked{padding-left:var(--grid-tablet-margin);padding-right:var(--grid-tablet-margin)}:host(:not([flow='offcanvas'])) .heading-subtitle{padding-left:0}:host(:not([flow='offcanvas'])) .menu-container{display:flex}:host(:not([flow='offcanvas'])) .heading-container .drawer-trigger{display:none}:host(:not([flow='offcanvas']):not([menu-length='0'])) .heading-container:not(:last-child){margin-bottom:calc(var(--space-unit) * 3)}::slotted([slot='title']){font-size:var(--app-header-typography-6-size);letter-spacing:var(--app-header-typography-6-tracking)}::slotted([slot='subtitle']){margin-top:calc(var(--space-unit) * 1.5)}}@media only screen and (min-width: 1152px){.heading-panel,.heading-stucked{padding-left:var(--grid-desktop-margin);padding-right:var(--grid-desktop-margin)}:host(:not([flow='stack'])) .heading-panel{flex-direction:row;flex-wrap:wrap}::slotted([slot='title']){font-size:var(--app-header-typography-7-size);letter-spacing:var(--app-header-typography-7-tracking);margin-right:var(--grid-desktop-gutter)}:host(:not([flow='offcanvas']):not([menu-length='0'])) .heading-container:not(:last-child){margin-bottom:calc(var(--space-unit) * 2)}.menu-container{margin-top:var(--space-unit)}}@media only screen and (min-width: 1366px){.heading-panel,.heading-stucked{padding-left:var(--grid-wide-margin);padding-right:var(--grid-wide-margin)}::slotted([slot='title']){font-size:var(--app-header-typography-9-size);letter-spacing:var(--app-header-typography-9-tracking);margin-right:var(--grid-wide-gutter)}:host(:not([flow='offcanvas']):not([menu-length='0'])) .heading-container:not(:last-child){margin-bottom:0}}@keyframes slideStuckedHeadingIn{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}";
|
|
4
|
-
|
|
5
|
-
const SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== 'undefined';
|
|
6
|
-
const ZAppHeader = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.sticking = createEvent(this, "sticking", 7);
|
|
10
|
-
/**
|
|
11
|
-
* Stuck mode for the header.
|
|
12
|
-
* You can programmatically set it using an IntersectionObserver.
|
|
13
|
-
* **Optional**
|
|
14
|
-
*/
|
|
15
|
-
this.stuck = false;
|
|
16
|
-
/**
|
|
17
|
-
* Should place an overlay over the hero image.
|
|
18
|
-
* Useful for legibility purpose.
|
|
19
|
-
* **Optional**
|
|
20
|
-
*/
|
|
21
|
-
this.overlay = false;
|
|
22
|
-
/**
|
|
23
|
-
* Control menu bar position in the header.
|
|
24
|
-
* - auto: the menu bar is positioned near the title
|
|
25
|
-
* - stack: the menu bar is positioned below the title
|
|
26
|
-
* - offcanvas: the menu bar is not displayed and a burger icon appears to open the offcanvas menu
|
|
27
|
-
*
|
|
28
|
-
* **Optional**
|
|
29
|
-
*/
|
|
30
|
-
this.flow = 'auto';
|
|
31
|
-
/**
|
|
32
|
-
* The opening state of the drawer.
|
|
33
|
-
*/
|
|
34
|
-
this.drawerOpen = false;
|
|
35
|
-
/**
|
|
36
|
-
* The stucked state of the bar.
|
|
37
|
-
*/
|
|
38
|
-
this.stucked = false;
|
|
39
|
-
this.observer = SUPPORT_INTERSECTION_OBSERVER && new IntersectionObserver(([entry]) => {
|
|
40
|
-
this.stucked = !entry.isIntersecting;
|
|
41
|
-
}, {
|
|
42
|
-
threshold: 0.5
|
|
43
|
-
});
|
|
44
|
-
this.openDrawer = this.openDrawer.bind(this);
|
|
45
|
-
this.closeDrawer = this.closeDrawer.bind(this);
|
|
46
|
-
}
|
|
47
|
-
emitStickingEvent() {
|
|
48
|
-
this.sticking.emit(this.stucked);
|
|
49
|
-
}
|
|
50
|
-
componentDidLoad() {
|
|
51
|
-
this.collectMenuElements();
|
|
52
|
-
this.onStuckMode();
|
|
53
|
-
}
|
|
54
|
-
get title() {
|
|
55
|
-
const titleElement = this.hostElement.querySelector('[slot="title"]');
|
|
56
|
-
if (!titleElement) {
|
|
57
|
-
return '';
|
|
58
|
-
}
|
|
59
|
-
return titleElement.textContent.trim();
|
|
60
|
-
}
|
|
61
|
-
get scrollParent() {
|
|
62
|
-
const parent = this.hostElement.offsetParent;
|
|
63
|
-
if (parent === document.body || parent === document.documentElement) {
|
|
64
|
-
return window;
|
|
65
|
-
}
|
|
66
|
-
return parent;
|
|
67
|
-
}
|
|
68
|
-
collectMenuElements() {
|
|
69
|
-
const menuElements = this.menuElements = this.hostElement.querySelectorAll('[slot="menu"]');
|
|
70
|
-
this.menuLength = menuElements.length;
|
|
71
|
-
this.setMenuFloatingMode();
|
|
72
|
-
}
|
|
73
|
-
onStuckMode() {
|
|
74
|
-
if (this.stuck) {
|
|
75
|
-
this.enableStuckObserver();
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
this.disableStuckMode();
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
enableStuckObserver() {
|
|
82
|
-
if (this.observer) {
|
|
83
|
-
this.observer.observe(this.container);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
disableStuckMode() {
|
|
87
|
-
this.stucked = false;
|
|
88
|
-
if (this.observer) {
|
|
89
|
-
this.observer.unobserve(this.container);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
onStucked() {
|
|
93
|
-
const scrollParent = this.scrollParent;
|
|
94
|
-
if (!scrollParent) {
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
this.emitStickingEvent();
|
|
98
|
-
}
|
|
99
|
-
setMenuFloatingMode() {
|
|
100
|
-
if (!this.menuElements) {
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
const elements = this.menuElements;
|
|
104
|
-
for (let i = 0, len = elements.length; i < len; i++) {
|
|
105
|
-
elements[i].open = false;
|
|
106
|
-
elements[i].floating = !this.drawerOpen;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
render() {
|
|
110
|
-
return h(Host, { "menu-length": this.menuLength }, h("div", { class: "heading-panel", ref: (el) => this.container = el }, h("div", { class: "hero-container" }, h("slot", { name: "hero" }, this.hero && h("img", { alt: "", src: this.hero }))), h("div", { class: "heading-container" }, h("div", { class: "heading-title" }, this.menuLength > 0 && h("button", { class: "drawer-trigger", "aria-label": "Apri menu", onClick: this.openDrawer }, h("z-icon", { name: "burger-menu" })), h("slot", { name: "title" })), h("div", { class: "heading-subtitle" }, h("slot", { name: "subtitle" }))), h("div", { class: "menu-container" }, !this.drawerOpen && this.flow !== 'offcanvas' && h("slot", { name: "menu", onSlotchange: () => this.collectMenuElements() }))), h("div", { class: "drawer-container" }, h("div", { class: "drawer-overlay", onClick: this.closeDrawer }), h("div", { class: "drawer-panel" }, h("button", { class: "drawer-close", "aria-label": "Chiudi menu", onClick: this.closeDrawer }, h("z-icon", { name: "close" })), h("div", { class: "drawer-content" }, this.drawerOpen && h("slot", { name: "menu", onSlotchange: () => this.collectMenuElements() })))), this.stucked && h("div", { class: "heading-stucked" }, this.menuLength > 0 && h("button", { class: "drawer-trigger", "aria-label": "Apri menu", onClick: this.openDrawer }, h("z-icon", { name: "burger-menu" })), h("div", { class: "heading-title" }, h("slot", { name: "stucked-title" }, this.title))));
|
|
111
|
-
}
|
|
112
|
-
openDrawer() {
|
|
113
|
-
this.drawerOpen = true;
|
|
114
|
-
}
|
|
115
|
-
closeDrawer() {
|
|
116
|
-
this.drawerOpen = false;
|
|
117
|
-
}
|
|
118
|
-
get hostElement() { return getElement(this); }
|
|
119
|
-
static get watchers() { return {
|
|
120
|
-
"stuck": ["onStuckMode"],
|
|
121
|
-
"stucked": ["onStucked"],
|
|
122
|
-
"drawerOpen": ["setMenuFloatingMode"]
|
|
123
|
-
}; }
|
|
124
|
-
};
|
|
125
|
-
ZAppHeader.style = stylesCss;
|
|
126
|
-
|
|
127
|
-
export { ZAppHeader as z_app_header };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h } from './index-81176684.js';
|
|
2
|
-
import { T as ThemeVariant } from './index-3ee81524.js';
|
|
3
|
-
|
|
4
|
-
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}button{display:flex;justify-content:center;align-content:center;background-color:transparent;border:none;padding:0}button>z-icon{color:var(--bg-white);fill:currentColor}button>z-icon.light{color:var(--bg-grey-900);fill:currentColor}";
|
|
5
|
-
|
|
6
|
-
const ZAppSwitcher = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.appButtonClick = createEvent(this, "appButtonClick", 7);
|
|
10
|
-
/** theme variant, default 'dark' */
|
|
11
|
-
this.theme = ThemeVariant.dark;
|
|
12
|
-
this.isopen = false;
|
|
13
|
-
this.emitAppButtonClick = this.emitAppButtonClick.bind(this);
|
|
14
|
-
}
|
|
15
|
-
emitAppButtonClick() {
|
|
16
|
-
this.isopen = !this.isopen;
|
|
17
|
-
this.appButtonClick.emit({ isopen: this.isopen });
|
|
18
|
-
}
|
|
19
|
-
render() {
|
|
20
|
-
return (h("button", { title: "app-switcher", onClick: () => this.emitAppButtonClick() }, h("z-icon", { name: "app-switcher", class: this.theme })));
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
ZAppSwitcher.style = stylesCss;
|
|
24
|
-
|
|
25
|
-
export { ZAppSwitcher as z_app_switcher };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, f as Host } from './index-81176684.js';
|
|
2
|
-
import { T as ThemeVariant, j as DividerOrientation } from './index-3ee81524.js';
|
|
3
|
-
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
4
|
-
|
|
5
|
-
const stylesCss = ":host{display:block;position:sticky;box-sizing:border-box;top:0;height:calc(var(--space-unit) * 6);padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2);border-radius:var(--border-no-radius);background-color:var(--gray900);z-index:99}:host(.light){background-color:var(--color-white)}:host>div{display:flex;justify-content:space-between;align-items:center}:host(.limited-width) #content-container{margin:auto;max-width:var(--mw)}.content-panel{display:flex;align-items:center}.content-panel>:not(:last-child){margin-right:calc(var(--space-unit) * 2)}#divider-container{display:none}z-link{font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.3px}@media only screen and (min-width: 768px){:host{padding:var(--space-unit) calc(var(--space-unit) * 2) var(--space-unit) var(--space-unit)}:host(.limited-width){padding:var(--space-unit)}#divider-container{display:block;height:calc(var(--space-unit) * 3)}}";
|
|
6
|
-
|
|
7
|
-
const ZAppTopbar = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
/** theme variant, default 'dark' */
|
|
11
|
-
this.theme = ThemeVariant.dark;
|
|
12
|
-
this.topbarLinks = [];
|
|
13
|
-
}
|
|
14
|
-
handleResize() {
|
|
15
|
-
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
16
|
-
}
|
|
17
|
-
componentWillLoad() {
|
|
18
|
-
this.isMobile = window.screen.width <= mobileBreakpoint || window.innerWidth <= mobileBreakpoint;
|
|
19
|
-
}
|
|
20
|
-
componentWillRender() {
|
|
21
|
-
if (this.topbarContent) {
|
|
22
|
-
this.topbarLinks = typeof this.topbarContent === "string" ? JSON.parse(this.topbarContent) : this.topbarContent;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
renderTopbarLinks() {
|
|
26
|
-
return this.topbarLinks.map((link) => h("z-link", { htmlid: link.id, textcolor: this.theme === ThemeVariant.light ? "black" : "white", href: link.link, target: link.target, icon: this.isMobile ? link.icon : undefined }, !this.isMobile && link.label));
|
|
27
|
-
}
|
|
28
|
-
render() {
|
|
29
|
-
return (h(Host, { class: {
|
|
30
|
-
[this.theme]: true,
|
|
31
|
-
"limited-width": !!this.contentMaxWidth
|
|
32
|
-
} }, h("div", { id: "content-container", style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, h("div", { id: "left-panel", class: "content-panel" }, h("z-logo", { mobileLogo: this.isMobile, width: this.isMobile ? 32 : 128, height: this.isMobile ? 40 : 32, imageAlt: "zanichelli-logo", link: this.logoLink, targetBlank: true }), this.isMobile && this.renderTopbarLinks()), h("div", { id: "right-panel", class: "content-panel" }, !this.isMobile && this.renderTopbarLinks(), this.showAppSwitcher && h("z-app-switcher", { theme: this.theme }), h("div", { id: "divider-container" }, h("z-divider", { orientation: DividerOrientation.vertical, color: this.theme === ThemeVariant.light ? "gray800" : "color-white" })), h("slot", { name: "login" })))));
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
ZAppTopbar.style = stylesCss;
|
|
36
|
-
|
|
37
|
-
export { ZAppTopbar as z_app_topbar };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, f as Host } from './index-81176684.js';
|
|
2
|
-
import { w as ZAriaAlertMode } from './index-3ee81524.js';
|
|
3
|
-
|
|
4
|
-
const ZAriaAlert = class {
|
|
5
|
-
constructor(hostRef) {
|
|
6
|
-
registerInstance(this, hostRef);
|
|
7
|
-
this.mode = ZAriaAlertMode.polite;
|
|
8
|
-
}
|
|
9
|
-
render() {
|
|
10
|
-
return (h(Host, { "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", null)));
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export { ZAriaAlert as z_aria_alert };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, f as Host } from './index-81176684.js';
|
|
2
|
-
import { A as AvatarSize } from './index-3ee81524.js';
|
|
3
|
-
|
|
4
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);background-color:var(--bg-grey-700);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;text-transform:uppercase}:host(.small),:host(.small)>img{height:calc(var(--space-unit) * 3);width:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{height:calc(var(--space-unit) * 4);width:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{height:calc(var(--space-unit) * 5);width:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";
|
|
5
|
-
|
|
6
|
-
const ZAvatar = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
/** [optional] Avatar size */
|
|
10
|
-
this.size = AvatarSize.medium;
|
|
11
|
-
/** [optional] Avatar text color */
|
|
12
|
-
this.textColor = "text-white";
|
|
13
|
-
/** [optional] Avatar background color */
|
|
14
|
-
this.backgroundColor = "bg-grey-700";
|
|
15
|
-
if (!this.text && !this.image) {
|
|
16
|
-
console.warn("z-avatar must contain at least one prop between text and image");
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
getTextSize() {
|
|
20
|
-
if (this.size === AvatarSize.small) {
|
|
21
|
-
return "5";
|
|
22
|
-
}
|
|
23
|
-
else if (this.size === AvatarSize.medium) {
|
|
24
|
-
return "4";
|
|
25
|
-
}
|
|
26
|
-
else if (this.size === AvatarSize.large) {
|
|
27
|
-
return "2";
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
render() {
|
|
31
|
-
return (h(Host, { class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
|
|
32
|
-
color: `var(--${this.textColor})`,
|
|
33
|
-
backgroundColor: `var(--${this.backgroundColor})`,
|
|
34
|
-
} }, this.text && !this.image && h("span", null, this.text.substring(0, 2)), this.image && (h("img", { src: this.image, onError: () => (this.image = "") }))));
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
ZAvatar.style = stylesCss;
|
|
38
|
-
|
|
39
|
-
export { ZAvatar as z_avatar };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
-
|
|
3
|
-
const ZBody = class {
|
|
4
|
-
constructor(hostRef) {
|
|
5
|
-
registerInstance(this, hostRef);
|
|
6
|
-
this.variant = "regular";
|
|
7
|
-
}
|
|
8
|
-
render() {
|
|
9
|
-
return (h("z-typography", { tabIndex: 0, component: this.component || "span", level: `b${this.level}`, variant: this.variant }, h("slot", null)));
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export { ZBody as z_body };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-81176684.js';
|
|
2
|
-
import { c as classnames } from './index-51f075dd.js';
|
|
3
|
-
import { b as ButtonTypeEnum, B as ButtonVariantEnum, c as ButtonSizeEnum } from './index-3ee81524.js';
|
|
4
|
-
import './_commonjsHelpers-8fe71198.js';
|
|
5
|
-
|
|
6
|
-
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){box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;width:100%;font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;line-height:1;letter-spacing:0.3px;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);vertical-align:middle;text-transform:uppercase;text-decoration:none;cursor:pointer;white-space:nowrap;outline:none;fill:currentColor}button.big,:host([size=\"big\"]) ::slotted(button),:host([size=\"big\"]) ::slotted(a){height:44px;min-width:44px}button.small,:host([size=\"small\"]) ::slotted(button),:host([size=\"small\"]) ::slotted(a){height:36px;min-width:36px}button.issmall,:host([issmall]) ::slotted(button),:host([issmall]) ::slotted(a){height:36px;min-width:36px}button.x-small,:host([size=\"x-small\"]) ::slotted(button),:host([size=\"x-small\"]) ::slotted(a){height:32px;min-width: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){background-color:var(--color-primary01);border-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){background-color:var(--color-hover-primary);border-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){background-color:var(--color-pressed-primary);border-color:var(--color-pressed-primary);color:var(--color-text-inverse);box-shadow:var(--shadow-2)}button.primary:disabled,:host([variant=\"primary\"]) ::slotted(button:disabled){background-color:var(--color-disabled01);border-color:var(--color-disabled01);color:var(--color-disabled02)}button.secondary,:host([variant=\"secondary\"]) ::slotted(button),:host([variant=\"secondary\"]) ::slotted(a){background-color:var(--color-surface01);border-color:var(--color-primary01);color:var(--color-primary01)}@media (hover: hover){button.secondary:hover,:host([variant=\"secondary\"]) ::slotted(button:hover),:host([variant=\"secondary\"]) ::slotted(a:hover){background-color:var(--color-surface01);border-color:var(--color-hover-primary);color:var(--color-hover-primary)}}button.secondary:active,:host([variant=\"secondary\"]) ::slotted(button:active),:host([variant=\"secondary\"]) ::slotted(a:active){background-color:var(--color-surface01);border-color:var(--color-pressed-primary);color:var(--color-pressed-primary);box-shadow:var(--shadow-2)}button.secondary:disabled,:host([variant=\"secondary\"]) ::slotted(button:disabled){background-color:var(--color-surface01);border-color:var(--color-disabled01);color:var(--color-disabled02)}button.tertiary,:host([variant=\"tertiary\"]) ::slotted(button),:host([variant=\"tertiary\"]) ::slotted(a){background-color:transparent;border-color:transparent;color:var(--color-primary01)}button.tertiary.hasContent{padding:0 var(--space-unit)}@media (hover: hover){button.tertiary:hover,:host([variant=\"tertiary\"]) ::slotted(button:hover),:host([variant=\"tertiary\"]) ::slotted(a:hover){background-color:var(--color-primary03);border-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){background-color:var(--color-surface01);border-color:var(--color-surface01);color:var(--color-primary01)}button.tertiary:active,:host([variant=\"tertiary\"]) ::slotted(button:active),:host([variant=\"tertiary\"]) ::slotted(a:active){background-color:var(--color-surface01);border-color:var(--color-surface01);color:var(--color-primary01);box-shadow:var(--shadow-2)}button.tertiary:disabled,:host([variant=\"tertiary\"]) ::slotted(button:disabled){background-color:transparent;border-color:transparent;color:var(--color-disabled02)}button.dark-bg,:host([variant=\"dark-bg\"]) ::slotted(button),:host([variant=\"dark-bg\"]) ::slotted(a){background-color:rgba(var(--rgb-white), 0.2);border-color:transparent;color:var(--color-text04)}button.dark-bg.hasContent{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:rgba(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:rgba(var(--rgb-white), 0.3)}button.dark-bg:disabled,:host([variant=\"dark-bg\"]) ::slotted(button:disabled){color:var(--color-disabled03);background-color:rgba(var(--rgb-white), 0.05)}";
|
|
7
|
-
|
|
8
|
-
const ZButtonDeprecated = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
/** HTML button disabled attribute. */
|
|
12
|
-
this.disabled = false;
|
|
13
|
-
/** HTML button type attribute. */
|
|
14
|
-
this.type = ButtonTypeEnum.button;
|
|
15
|
-
/** Graphical variant: `primary`, `secondary`, `tertiary`, `dark-bg`. Defaults to `primary`. */
|
|
16
|
-
this.variant = ButtonVariantEnum.primary;
|
|
17
|
-
/** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
|
|
18
|
-
this.size = ButtonSizeEnum.big;
|
|
19
|
-
/** Reduce button size (deprecated).
|
|
20
|
-
* @deprecated Use `size` prop.
|
|
21
|
-
*/
|
|
22
|
-
this.issmall = false;
|
|
23
|
-
/** Spy to render square button. */
|
|
24
|
-
this.square = false;
|
|
25
|
-
}
|
|
26
|
-
render() {
|
|
27
|
-
this.hostElement.style.pointerEvents = this.disabled ? "none" : "auto";
|
|
28
|
-
return (h("slot", { name: "element" }, h("button", { id: this.htmlid, name: this.name, type: this.type, disabled: this.disabled, class: classnames(this.variant, this.size, { issmall: this.issmall }, { square: this.square }) }, this.icon && h("z-icon", { name: this.icon, width: 16, height: 16 }), h("slot", null))));
|
|
29
|
-
}
|
|
30
|
-
get hostElement() { return getElement(this); }
|
|
31
|
-
};
|
|
32
|
-
ZButtonDeprecated.style = stylesCss;
|
|
33
|
-
|
|
34
|
-
export { ZButtonDeprecated as z_button_deprecated };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h } from './index-81176684.js';
|
|
2
|
-
|
|
3
|
-
const stylesCss = "button.container{min-height:32px;line-height:32px;border:var(--border-size-small) solid var(--bg-grey-200);border-radius:16px;box-shadow:0px 2px 5px 0px var(--bg-neutral-300);-webkit-box-shadow:0px 2px 5px 0px var(--bg-neutral-300);-moz-box-shadow:0px 2px 5px 0px var(--bg-neutral-300);text-align:center;padding:0 calc(var(--space-unit) * 2);cursor:pointer;letter-spacing:0.17px;font-family:var(--dashboard-font);font-size:12px;font-weight:var(--font-sb);opacity:1;transition:all 200ms linear}button.container.small{min-height:24px;line-height:24px}button.container:focus{outline:0}button.container::-moz-focus-inner{border:0}.text-container{margin-left:4px}button.container,button.container:focus,button.container:hover{background-color:var(--bg-white);color:var(--text-grey-700);fill:var(--text-grey-700)}button.container.isactive{background-color:var(--bg-white);color:var(--myz-blue);fill:var(--myz-blue)}button.container.isactive:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button.container.isactive:focus{background-color:var(--myz-blue-dark);border-color:var(--myz-blue-dark);box-shadow:0px 0px 4px 0px var(--text-grey-800);color:var(--bg-white);fill:var(--bg-white)}button z-icon{display:inline-block}";
|
|
4
|
-
|
|
5
|
-
const ZButtonFilter = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.removefilter = createEvent(this, "removefilter", 7);
|
|
9
|
-
/** disable action on button */
|
|
10
|
-
this.isfixed = false;
|
|
11
|
-
/** add icon to button */
|
|
12
|
-
this.hasicon = true;
|
|
13
|
-
/** reduce button size (optional) */
|
|
14
|
-
this.issmall = false;
|
|
15
|
-
this.handleRemovingFilterClick = this.handleRemovingFilterClick.bind(this);
|
|
16
|
-
}
|
|
17
|
-
handleRemovingFilterClick() {
|
|
18
|
-
this.removefilter.emit({
|
|
19
|
-
filterid: this.filterid,
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
renderFixedPillow(filtername) {
|
|
23
|
-
return (h("button", { class: `container ${this.issmall ? "small" : ""}` }, this.renderIcon(), this.renderContent(filtername)));
|
|
24
|
-
}
|
|
25
|
-
renderDynamicPillow(filtername) {
|
|
26
|
-
return (h("button", { class: `container isactive ${this.issmall ? "small" : ""}`, onClick: this.handleRemovingFilterClick }, this.renderIcon(), this.renderContent(filtername)));
|
|
27
|
-
}
|
|
28
|
-
renderIcon() {
|
|
29
|
-
if (!this.hasicon)
|
|
30
|
-
return null;
|
|
31
|
-
return (h("z-icon", { class: "close-icon-container", name: "multiply", height: 12, width: 12 }));
|
|
32
|
-
}
|
|
33
|
-
renderContent(filtername) {
|
|
34
|
-
return h("span", { class: "text-container" }, filtername);
|
|
35
|
-
}
|
|
36
|
-
render() {
|
|
37
|
-
if (this.isfixed) {
|
|
38
|
-
return this.renderFixedPillow(this.filtername);
|
|
39
|
-
}
|
|
40
|
-
return this.renderDynamicPillow(this.filtername);
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
ZButtonFilter.style = stylesCss;
|
|
44
|
-
|
|
45
|
-
export { ZButtonFilter as z_button_filter };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h } from './index-81176684.js';
|
|
2
|
-
import { t as tabletBreakpoint } from './breakpoints-c386984e.js';
|
|
3
|
-
|
|
4
|
-
const stylesCss = ":host,button{max-width:100%}button{height:36px;border:var(--border-size-medium) solid var(--myz-blue);border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);background-color:var(--bg-white);outline:none;padding:0 var(--space-unit);cursor:pointer}button::-moz-focus-inner{border:0}button:hover{border-color:var(--myz-blue-dark);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);color:var(--myz-blue);fill:var(--myz-blue);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active{border-color:var(--myz-blue-light);color:var(--myz-blue-light);fill:var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}button.selected{border-color:var(--myz-blue-dark);background-color:var(--myz-blue-dark);color:var(--bg-white);fill:var(--bg-white)}button>label{cursor:pointer;font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;display:flex;align-items:center}button>label>span.ellipsis{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0;padding:0}button>label>span.counter{margin-left:calc(var(--space-unit) / 2);margin-right:calc(var(--space-unit) * 2)}button>label>span.sort{margin-right:var(--half-x1);white-space:nowrap}button>span{font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:14px;margin-right:calc(var(--space-unit) * 0.5)}button>z-icon{padding-top:calc(var(--space-unit) * 0.5)}@media only screen and (min-width: 768px){:host,button{max-width:325px}}@media only screen and (min-width: 1025px){:host,button{max-width:490px}}";
|
|
5
|
-
|
|
6
|
-
const ZButtonSort = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.buttonSortClick = createEvent(this, "buttonSortClick", 7);
|
|
10
|
-
/** sort label content (ascending) (optional) */
|
|
11
|
-
this.sortlabelasc = "A-Z";
|
|
12
|
-
/** sort label content (descending) (optional) */
|
|
13
|
-
this.sortlabeldesc = "Z-A";
|
|
14
|
-
/** selected flag (optional) */
|
|
15
|
-
this.isselected = false;
|
|
16
|
-
/** sortable flag (optional) */
|
|
17
|
-
this.sortasc = true;
|
|
18
|
-
this.allowTooltip = false;
|
|
19
|
-
}
|
|
20
|
-
emitButtonSortClick() {
|
|
21
|
-
if (!this.isselected) {
|
|
22
|
-
this.isselected = true;
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
this.sortasc = !this.sortasc;
|
|
26
|
-
}
|
|
27
|
-
this.buttonSortClick.emit({
|
|
28
|
-
buttonid: this.buttonid,
|
|
29
|
-
sortAsc: this.sortasc,
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
componentDidLoad() {
|
|
33
|
-
if (this.elementHasEllipsis() && window.innerWidth > tabletBreakpoint)
|
|
34
|
-
this.allowTooltip = true;
|
|
35
|
-
}
|
|
36
|
-
setButtonTitle() {
|
|
37
|
-
return this.allowTooltip
|
|
38
|
-
? `${this.sortasc ? this.label : this.desclabel}`
|
|
39
|
-
: "";
|
|
40
|
-
}
|
|
41
|
-
elementHasEllipsis() {
|
|
42
|
-
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
43
|
-
}
|
|
44
|
-
render() {
|
|
45
|
-
return (h("button", { title: this.setButtonTitle(), id: this.buttonid, class: this.isselected && "selected", onClick: () => this.emitButtonSortClick() }, h("label", null, h("span", { ref: (el) => (this.ellipsis = el), class: "ellipsis" }, !this.sortasc && this.desclabel ? this.desclabel : this.label), h("span", { class: "counter" }, this.counter && ` (${this.counter})`), h("span", { class: "sort" }, this.sortasc ? this.sortlabelasc : this.sortlabeldesc), h("z-icon", { name: "caret-up-down", width: 16, height: 16 }))));
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
ZButtonSort.style = stylesCss;
|
|
49
|
-
|
|
50
|
-
export { ZButtonSort as z_button_sort };
|