@zanichelli/albe-web-components 2.38.0 → 2.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +49 -0
- package/dist/cjs/{index-dcab1bda.js → index-25206491.js} +10 -0
- package/dist/cjs/{index-dee3e21d.js → index-e826b4ad.js} +3 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-971854fc.js → utils-6410fc7d.js} +3 -3
- package/dist/cjs/web-components-library.cjs.js +2 -2
- 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-app-switcher.cjs.entry.js +2 -2
- package/dist/cjs/z-app-topbar.cjs.entry.js +2 -2
- 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-body_2.cjs.entry.js +1 -1
- package/dist/cjs/z-button-filter_5.cjs.entry.js +3 -3
- 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.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +3 -3
- 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-divider.cjs.entry.js +2 -2
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +49 -0
- package/dist/cjs/z-file-upload.cjs.entry.js +169 -0
- package/dist/cjs/z-file.cjs.entry.js +53 -0
- package/dist/cjs/z-footer-link_3.cjs.entry.js +1 -1
- 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-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-link.cjs.entry.js +1 -1
- package/dist/cjs/z-list_3.cjs.entry.js +2 -2
- package/dist/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +3 -3
- 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 +2 -2
- 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.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
- package/dist/cjs/z-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-otp.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination-bar.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination-page.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 +3 -3
- package/dist/cjs/z-popover.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
- package/dist/cjs/z-status-tag.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
- 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 +3 -3
- 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-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +42 -0
- 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 +4 -0
- package/dist/collection/components/buttons/z-toggle-switch/index.js +136 -0
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +115 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +52 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +62 -0
- package/dist/collection/components/file-upload/z-file/index.js +108 -0
- package/dist/collection/components/file-upload/z-file/styles.css +61 -0
- package/dist/collection/components/file-upload/z-file-upload/index.js +329 -0
- package/dist/collection/components/file-upload/z-file-upload/styles.css +87 -0
- package/dist/collection/utils/utils.js +2 -2
- package/dist/esm/{index-fa9e549c.js → index-8782dff4.js} +3 -0
- package/dist/esm/{index-6b86a3f1.js → index-cca2b0d2.js} +11 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-351595e0.js → utils-cdd5a909.js} +3 -3
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-app-header.entry.js +1 -1
- package/dist/esm/z-app-switcher.entry.js +2 -2
- package/dist/esm/z-app-topbar.entry.js +2 -2
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-body_2.entry.js +1 -1
- package/dist/esm/z-button-filter_5.entry.js +3 -3
- 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.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +3 -3
- package/dist/esm/z-contextual-menu.entry.js +2 -2
- package/dist/esm/z-cookiebar.entry.js +2 -2
- package/dist/esm/z-divider.entry.js +2 -2
- package/dist/esm/z-dragdrop-area_2.entry.js +44 -0
- package/dist/esm/z-file-upload.entry.js +165 -0
- package/dist/esm/z-file.entry.js +49 -0
- package/dist/esm/z-footer-link_3.entry.js +1 -1
- 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-icon.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-link.entry.js +1 -1
- package/dist/esm/z-list_3.entry.js +2 -2
- package/dist/esm/z-logo.entry.js +1 -1
- package/dist/esm/z-menu-dropdown_2.entry.js +3 -3
- 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 +2 -2
- 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.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +2 -2
- package/dist/esm/z-notification.entry.js +2 -2
- package/dist/esm/z-otp.entry.js +2 -2
- package/dist/esm/z-pagination-bar.entry.js +3 -3
- package/dist/esm/z-pagination-page.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 +3 -3
- package/dist/esm/z-popover.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +3 -3
- package/dist/esm/z-status-tag.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/z-table-empty-box.entry.js +1 -1
- 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 +3 -3
- 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-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js +2 -2
- package/dist/esm/z-toggle-button.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +38 -0
- 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/buttons/z-toggle-switch/index.d.ts +12 -0
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +9 -0
- package/dist/types/components/file-upload/z-file/index.d.ts +17 -0
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +49 -0
- package/dist/types/components.d.ts +124 -1
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-41f6c8c4.entry.js → p-006a91ce.entry.js} +1 -1
- package/dist/web-components-library/{p-71cc7ed0.entry.js → p-016c1fd4.entry.js} +1 -1
- package/dist/web-components-library/{p-ea84969a.entry.js → p-031de7f3.entry.js} +1 -1
- package/dist/web-components-library/p-0e7fe7c1.js +1 -0
- package/dist/web-components-library/{p-d4c4b90a.entry.js → p-117c6e89.entry.js} +1 -1
- package/dist/web-components-library/p-11d4e9b7.entry.js +1 -0
- package/dist/web-components-library/{p-209cc06f.entry.js → p-13a0a93a.entry.js} +1 -1
- package/dist/web-components-library/{p-c8f19ca8.entry.js → p-13abb76e.entry.js} +1 -1
- package/dist/web-components-library/{p-3241471c.entry.js → p-152f95de.entry.js} +1 -1
- package/dist/web-components-library/{p-e1f1f39e.entry.js → p-18d36e2e.entry.js} +1 -1
- package/dist/web-components-library/{p-c7af96eb.entry.js → p-1a6b8d43.entry.js} +1 -1
- package/{www/build/p-904a85e4.js → dist/web-components-library/p-1acbd992.js} +1 -1
- package/dist/web-components-library/{p-e9be115a.entry.js → p-1c66e50c.entry.js} +1 -1
- package/dist/web-components-library/{p-509408f3.entry.js → p-1c7ed895.entry.js} +1 -1
- package/dist/web-components-library/{p-c6265fbb.entry.js → p-1f439216.entry.js} +1 -1
- package/dist/web-components-library/{p-9af1322d.entry.js → p-22e61c79.entry.js} +1 -1
- package/dist/web-components-library/{p-f7b1dc68.entry.js → p-277f19e8.entry.js} +1 -1
- package/dist/web-components-library/{p-db5863cf.entry.js → p-2d45e45e.entry.js} +1 -1
- package/dist/web-components-library/{p-6583cbec.entry.js → p-335768cc.entry.js} +1 -1
- package/dist/web-components-library/{p-ebcad010.entry.js → p-3504da90.entry.js} +1 -1
- package/dist/web-components-library/{p-698e18cf.entry.js → p-3830db49.entry.js} +1 -1
- package/dist/web-components-library/{p-aa0f7169.entry.js → p-39a787af.entry.js} +1 -1
- package/dist/web-components-library/p-42d64757.js +1 -0
- package/dist/web-components-library/{p-250926fe.entry.js → p-431d0295.entry.js} +1 -1
- package/dist/web-components-library/p-4ce434aa.entry.js +1 -0
- package/dist/web-components-library/{p-7ce4db78.entry.js → p-51957070.entry.js} +1 -1
- package/dist/web-components-library/p-5ff0b130.entry.js +1 -0
- package/dist/web-components-library/{p-a4fe497a.entry.js → p-6043d78f.entry.js} +1 -1
- package/dist/web-components-library/{p-bf4539a7.entry.js → p-621a7fac.entry.js} +1 -1
- package/dist/web-components-library/{p-1094e4de.entry.js → p-68fab13e.entry.js} +1 -1
- package/dist/web-components-library/{p-d1a52660.entry.js → p-6a4dfee8.entry.js} +1 -1
- package/dist/web-components-library/p-7076e9fd.entry.js +1 -0
- package/{www/build/p-9b2f8028.entry.js → dist/web-components-library/p-70c7f657.entry.js} +1 -1
- package/dist/web-components-library/p-73e8c323.entry.js +1 -0
- package/dist/web-components-library/{p-140cc18f.entry.js → p-7dcda694.entry.js} +1 -1
- package/dist/web-components-library/{p-4c8e6232.entry.js → p-7f866d57.entry.js} +1 -1
- package/{www/build/p-a3a64dc8.entry.js → dist/web-components-library/p-823cbb37.entry.js} +1 -1
- package/dist/web-components-library/{p-8923f36d.entry.js → p-824875b4.entry.js} +1 -1
- package/dist/web-components-library/{p-cf914ea7.entry.js → p-836d2cb2.entry.js} +1 -1
- package/dist/web-components-library/{p-8edb6b65.entry.js → p-8497f556.entry.js} +1 -1
- package/dist/web-components-library/p-84f934a8.entry.js +1 -0
- package/{www/build/p-ba1db0fc.entry.js → dist/web-components-library/p-8741a278.entry.js} +1 -1
- package/dist/web-components-library/{p-8c9e3bb8.entry.js → p-8c298051.entry.js} +1 -1
- package/dist/web-components-library/p-8ed29309.entry.js +1 -0
- package/dist/web-components-library/{p-f113a03a.entry.js → p-8fe1b60c.entry.js} +1 -1
- package/dist/web-components-library/{p-e6b971b9.entry.js → p-95b95a4c.entry.js} +1 -1
- package/dist/web-components-library/{p-5bbbc979.entry.js → p-97c04e0c.entry.js} +1 -1
- package/{www/build/p-a7733104.entry.js → dist/web-components-library/p-99f59836.entry.js} +1 -1
- package/dist/web-components-library/{p-0ce6293a.entry.js → p-99f91860.entry.js} +1 -1
- package/dist/web-components-library/{p-733ba674.entry.js → p-9b4f979f.entry.js} +1 -1
- package/{www/build/p-bd717ced.entry.js → dist/web-components-library/p-a0fef4f3.entry.js} +1 -1
- package/dist/web-components-library/{p-ddc3c8c2.entry.js → p-a3792cf0.entry.js} +1 -1
- package/dist/web-components-library/{p-28b18ca4.entry.js → p-a3820e7d.entry.js} +1 -1
- package/dist/web-components-library/p-a4b2df38.entry.js +1 -0
- package/dist/web-components-library/{p-beda87c3.entry.js → p-a5460f1e.entry.js} +1 -1
- package/dist/web-components-library/{p-74217d44.entry.js → p-a73f0693.entry.js} +1 -1
- package/dist/web-components-library/{p-cfebc80e.entry.js → p-b0027b69.entry.js} +1 -1
- package/dist/web-components-library/p-b10f1aaa.entry.js +1 -0
- package/dist/web-components-library/{p-fdfca9b7.entry.js → p-b1e3a655.entry.js} +1 -1
- package/dist/web-components-library/{p-ac3bc4c2.entry.js → p-b1e6a2ae.entry.js} +1 -1
- package/dist/web-components-library/{p-e84d871b.entry.js → p-c1a7b740.entry.js} +1 -1
- package/{www/build/p-4a414eb2.entry.js → dist/web-components-library/p-c277d035.entry.js} +1 -1
- package/dist/web-components-library/{p-1c72783c.entry.js → p-cddc1de0.entry.js} +1 -1
- package/dist/web-components-library/{p-74fb3d69.entry.js → p-d1432a24.entry.js} +1 -1
- package/dist/web-components-library/{p-4665d79f.entry.js → p-d1a0cb4c.entry.js} +1 -1
- package/dist/web-components-library/{p-4c1dc891.entry.js → p-d338e5a9.entry.js} +1 -1
- package/dist/web-components-library/{p-e55fc434.entry.js → p-d943ee16.entry.js} +1 -1
- package/dist/web-components-library/{p-02796506.entry.js → p-d950fcf8.entry.js} +1 -1
- package/dist/web-components-library/{p-3b3cb18b.entry.js → p-d9a14771.entry.js} +1 -1
- package/dist/web-components-library/{p-3d8b00fd.entry.js → p-daec8d7f.entry.js} +1 -1
- package/dist/web-components-library/{p-ded374d7.entry.js → p-db1508ed.entry.js} +1 -1
- package/dist/web-components-library/p-db38494e.entry.js +1 -0
- package/dist/web-components-library/{p-71bb86a8.entry.js → p-e4739505.entry.js} +1 -1
- package/dist/web-components-library/{p-60e40371.entry.js → p-e5c89d9f.entry.js} +1 -1
- package/dist/web-components-library/{p-b78fb152.entry.js → p-e8305a91.entry.js} +1 -1
- package/dist/web-components-library/p-e88726bc.entry.js +1 -0
- package/dist/web-components-library/{p-89dbe6e9.entry.js → p-ee19d602.entry.js} +1 -1
- package/dist/web-components-library/{p-913cd0da.entry.js → p-ee432245.entry.js} +1 -1
- package/dist/web-components-library/{p-4a1404e2.entry.js → p-f4062940.entry.js} +1 -1
- package/dist/web-components-library/{p-8deddec7.entry.js → p-f6bfde21.entry.js} +1 -1
- package/dist/web-components-library/{p-80589729.entry.js → p-fc23b15f.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +24 -16
- package/react/components.d.ts +4 -0
- package/react/components.js +6 -2
- package/react/components.js.map +1 -1
- package/readme.md +12 -34
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-41f6c8c4.entry.js → p-006a91ce.entry.js} +1 -1
- package/www/build/{p-71cc7ed0.entry.js → p-016c1fd4.entry.js} +1 -1
- package/www/build/{p-ea84969a.entry.js → p-031de7f3.entry.js} +1 -1
- package/www/build/p-0e7fe7c1.js +1 -0
- package/www/build/{p-d4c4b90a.entry.js → p-117c6e89.entry.js} +1 -1
- package/www/build/p-11d4e9b7.entry.js +1 -0
- package/www/build/{p-209cc06f.entry.js → p-13a0a93a.entry.js} +1 -1
- package/www/build/{p-c8f19ca8.entry.js → p-13abb76e.entry.js} +1 -1
- package/www/build/{p-3241471c.entry.js → p-152f95de.entry.js} +1 -1
- package/www/build/{p-e1f1f39e.entry.js → p-18d36e2e.entry.js} +1 -1
- package/www/build/{p-c7af96eb.entry.js → p-1a6b8d43.entry.js} +1 -1
- package/{dist/web-components-library/p-904a85e4.js → www/build/p-1acbd992.js} +1 -1
- package/www/build/{p-e9be115a.entry.js → p-1c66e50c.entry.js} +1 -1
- package/www/build/{p-509408f3.entry.js → p-1c7ed895.entry.js} +1 -1
- package/www/build/{p-c6265fbb.entry.js → p-1f439216.entry.js} +1 -1
- package/www/build/{p-9af1322d.entry.js → p-22e61c79.entry.js} +1 -1
- package/www/build/{p-f7b1dc68.entry.js → p-277f19e8.entry.js} +1 -1
- package/www/build/{p-db5863cf.entry.js → p-2d45e45e.entry.js} +1 -1
- package/www/build/{p-6583cbec.entry.js → p-335768cc.entry.js} +1 -1
- package/www/build/{p-ebcad010.entry.js → p-3504da90.entry.js} +1 -1
- package/www/build/{p-698e18cf.entry.js → p-3830db49.entry.js} +1 -1
- package/www/build/{p-aa0f7169.entry.js → p-39a787af.entry.js} +1 -1
- package/www/build/p-42d64757.js +1 -0
- package/www/build/{p-250926fe.entry.js → p-431d0295.entry.js} +1 -1
- package/www/build/p-4ce434aa.entry.js +1 -0
- package/www/build/{p-7ce4db78.entry.js → p-51957070.entry.js} +1 -1
- package/www/build/p-5ff0b130.entry.js +1 -0
- package/www/build/{p-a4fe497a.entry.js → p-6043d78f.entry.js} +1 -1
- package/www/build/{p-bf4539a7.entry.js → p-621a7fac.entry.js} +1 -1
- package/www/build/{p-1094e4de.entry.js → p-68fab13e.entry.js} +1 -1
- package/www/build/{p-d1a52660.entry.js → p-6a4dfee8.entry.js} +1 -1
- package/www/build/p-7076e9fd.entry.js +1 -0
- package/{dist/web-components-library/p-9b2f8028.entry.js → www/build/p-70c7f657.entry.js} +1 -1
- package/www/build/p-73e8c323.entry.js +1 -0
- package/www/build/{p-140cc18f.entry.js → p-7dcda694.entry.js} +1 -1
- package/www/build/{p-4c8e6232.entry.js → p-7f866d57.entry.js} +1 -1
- package/www/build/p-7fab4941.js +122 -0
- package/{dist/web-components-library/p-a3a64dc8.entry.js → www/build/p-823cbb37.entry.js} +1 -1
- package/www/build/{p-8923f36d.entry.js → p-824875b4.entry.js} +1 -1
- package/www/build/{p-cf914ea7.entry.js → p-836d2cb2.entry.js} +1 -1
- package/www/build/{p-8edb6b65.entry.js → p-8497f556.entry.js} +1 -1
- package/www/build/p-84f934a8.entry.js +1 -0
- package/{dist/web-components-library/p-ba1db0fc.entry.js → www/build/p-8741a278.entry.js} +1 -1
- package/www/build/{p-8c9e3bb8.entry.js → p-8c298051.entry.js} +1 -1
- package/www/build/p-8ed29309.entry.js +1 -0
- package/www/build/{p-f113a03a.entry.js → p-8fe1b60c.entry.js} +1 -1
- package/www/build/{p-e6b971b9.entry.js → p-95b95a4c.entry.js} +1 -1
- package/www/build/p-97a11655.css +789 -0
- package/www/build/{p-5bbbc979.entry.js → p-97c04e0c.entry.js} +1 -1
- package/{dist/web-components-library/p-a7733104.entry.js → www/build/p-99f59836.entry.js} +1 -1
- package/www/build/{p-0ce6293a.entry.js → p-99f91860.entry.js} +1 -1
- package/www/build/{p-733ba674.entry.js → p-9b4f979f.entry.js} +1 -1
- package/{dist/web-components-library/p-bd717ced.entry.js → www/build/p-a0fef4f3.entry.js} +1 -1
- package/www/build/{p-ddc3c8c2.entry.js → p-a3792cf0.entry.js} +1 -1
- package/www/build/{p-28b18ca4.entry.js → p-a3820e7d.entry.js} +1 -1
- package/www/build/p-a4b2df38.entry.js +1 -0
- package/www/build/{p-beda87c3.entry.js → p-a5460f1e.entry.js} +1 -1
- package/www/build/{p-74217d44.entry.js → p-a73f0693.entry.js} +1 -1
- package/www/build/{p-cfebc80e.entry.js → p-b0027b69.entry.js} +1 -1
- package/www/build/p-b10f1aaa.entry.js +1 -0
- package/www/build/{p-fdfca9b7.entry.js → p-b1e3a655.entry.js} +1 -1
- package/www/build/{p-ac3bc4c2.entry.js → p-b1e6a2ae.entry.js} +1 -1
- package/www/build/{p-e84d871b.entry.js → p-c1a7b740.entry.js} +1 -1
- package/{dist/web-components-library/p-4a414eb2.entry.js → www/build/p-c277d035.entry.js} +1 -1
- package/www/build/{p-1c72783c.entry.js → p-cddc1de0.entry.js} +1 -1
- package/www/build/{p-74fb3d69.entry.js → p-d1432a24.entry.js} +1 -1
- package/www/build/{p-4665d79f.entry.js → p-d1a0cb4c.entry.js} +1 -1
- package/www/build/{p-4c1dc891.entry.js → p-d338e5a9.entry.js} +1 -1
- package/www/build/{p-e55fc434.entry.js → p-d943ee16.entry.js} +1 -1
- package/www/build/{p-02796506.entry.js → p-d950fcf8.entry.js} +1 -1
- package/www/build/{p-3b3cb18b.entry.js → p-d9a14771.entry.js} +1 -1
- package/www/build/{p-3d8b00fd.entry.js → p-daec8d7f.entry.js} +1 -1
- package/www/build/{p-ded374d7.entry.js → p-db1508ed.entry.js} +1 -1
- package/www/build/p-db38494e.entry.js +1 -0
- package/www/build/{p-71bb86a8.entry.js → p-e4739505.entry.js} +1 -1
- package/www/build/{p-60e40371.entry.js → p-e5c89d9f.entry.js} +1 -1
- package/www/build/{p-b78fb152.entry.js → p-e8305a91.entry.js} +1 -1
- package/www/build/p-e88726bc.entry.js +1 -0
- package/www/build/{p-89dbe6e9.entry.js → p-ee19d602.entry.js} +1 -1
- package/www/build/{p-913cd0da.entry.js → p-ee432245.entry.js} +1 -1
- package/www/build/{p-4a1404e2.entry.js → p-f4062940.entry.js} +1 -1
- package/www/build/{p-8deddec7.entry.js → p-f6bfde21.entry.js} +1 -1
- package/www/build/{p-80589729.entry.js → p-fc23b15f.entry.js} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/www/pages/file-upload.html +236 -0
- package/dist/cjs/z-heading.cjs.entry.js +0 -17
- package/dist/esm/z-heading.entry.js +0 -13
- package/dist/web-components-library/p-483d10ba.entry.js +0 -1
- package/dist/web-components-library/p-48e0a763.entry.js +0 -1
- package/dist/web-components-library/p-597e767a.entry.js +0 -1
- package/dist/web-components-library/p-5d4bb66b.entry.js +0 -1
- package/dist/web-components-library/p-5ee63e7f.entry.js +0 -1
- package/dist/web-components-library/p-6934ea47.js +0 -1
- package/dist/web-components-library/p-98a7eedb.entry.js +0 -1
- package/dist/web-components-library/p-a0b11f65.entry.js +0 -1
- package/dist/web-components-library/p-a1bb6af2.entry.js +0 -1
- package/dist/web-components-library/p-d945c8d2.js +0 -1
- package/www/build/p-483d10ba.entry.js +0 -1
- package/www/build/p-48e0a763.entry.js +0 -1
- package/www/build/p-597e767a.entry.js +0 -1
- package/www/build/p-5d4bb66b.entry.js +0 -1
- package/www/build/p-5ee63e7f.entry.js +0 -1
- package/www/build/p-6934ea47.js +0 -1
- package/www/build/p-69f277e5.js +0 -1
- package/www/build/p-98a7eedb.entry.js +0 -1
- package/www/build/p-a0b11f65.entry.js +0 -1
- package/www/build/p-a1bb6af2.entry.js +0 -1
- package/www/build/p-d945c8d2.js +0 -1
- package/www/build/p-ea943cbd.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-8782dff4.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = "button{font-family:var(--dashboard-font);font-weight:var(--font-sb);height:36px;border:var(--border-size-medium) solid;border-color:transparent;border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);background-color:var(--bg-white);box-shadow:0px 0px 4px 0px rgba(0, 0, 0, 0.2);text-transform:uppercase;font-size:14px;outline:none;padding-left:0px;padding-right:calc(var(--space-unit) * 2);transition:all 200ms linear;cursor:pointer}button::-moz-focus-inner{border:0}button:hover{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:disabled{color:var(--text-grey-700);fill:var(--text-grey-700)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";
|
|
4
4
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-8782dff4.js';
|
|
2
|
+
import { r as randomId } from './utils-cdd5a909.js';
|
|
3
|
+
import { p as ZtoggleSwitchPositionEnum } from './index-cca2b0d2.js';
|
|
4
|
+
import './breakpoints-c386984e.js';
|
|
5
|
+
|
|
6
|
+
const stylesCss = ".sc-z-toggle-switch-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:inline-flex;position:relative}label.sc-z-toggle-switch{display:flex;align-items:center;flex-direction:row}label.left.sc-z-toggle-switch{margin:0 var(--space-unit) 0 0}label.right.sc-z-toggle-switch{margin:0 var(--space-unit) 0 0;flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch{letter-spacing:0;color:var(--text-grey-800)}label.sc-z-toggle-switch>span.left.sc-z-toggle-switch{margin-right:var(--space-unit)}label.sc-z-toggle-switch>span.right.sc-z-toggle-switch{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{display:flex;align-items:center}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{height:18px;width:calc(var(--space-unit) * 4);border-radius:var(--space-unit);color:var(--gray500);background-color:var(--gray500);position:relative;cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.active.disabled.sc-z-toggle-switch{background-color:var(--bg-grey-200);cursor:default}label.sc-z-toggle-switch>span.container.active.disabled.sc-z-toggle-switch>span.circle.checked.disabled.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--gray200)}label.sc-z-toggle-switch>span.container.active.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){outline:none;box-shadow:var(--shadow-focus-primary)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;display:flex;align-items:center;justify-content:center;margin:0;height:calc(var(--space-unit) * 2);width:calc(var(--space-unit) * 2);border-radius:7px;background-color:var(--bg-white);box-shadow:var(--shadow-2);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.checked.sc-z-toggle-switch{transform:translateX(100%)}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;opacity:0;z-index:-1;pointer-events:none}";
|
|
7
|
+
|
|
8
|
+
const ZToggleSwitch = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.toggleClick = createEvent(this, "toggleClick", 7);
|
|
12
|
+
this.disabled = false;
|
|
13
|
+
this.labelPosition = ZtoggleSwitchPositionEnum.left;
|
|
14
|
+
this.checked = false;
|
|
15
|
+
this.htmlid = `id-${randomId()}`;
|
|
16
|
+
}
|
|
17
|
+
emitToggleClick(checked) {
|
|
18
|
+
this.toggleClick.emit({
|
|
19
|
+
id: this.htmlid,
|
|
20
|
+
checked: checked,
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
handleClick(ev) {
|
|
24
|
+
if (this.disabled)
|
|
25
|
+
return;
|
|
26
|
+
this.checked = ev.target.checked;
|
|
27
|
+
this.emitToggleClick(this.checked);
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
return [
|
|
31
|
+
h("input", { id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }),
|
|
32
|
+
h("label", { htmlFor: this.htmlid, class: this.labelPosition }, h("span", { class: this.labelPosition }, h("slot", null)), h("span", { class: `container ${this.disabled && "disabled"} ${this.checked && "active"}` }, h("span", { class: `circle ${this.disabled && "disabled"} ${this.checked && "checked"}` }, this.checked && (h("z-icon", { width: 12, height: 12, name: "checkmark" }))))),
|
|
33
|
+
];
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
ZToggleSwitch.style = stylesCss;
|
|
37
|
+
|
|
38
|
+
export { ZToggleSwitch as z_toggle_switch };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-8782dff4.js';
|
|
2
|
+
import { c as TooltipPosition } from './index-cca2b0d2.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;align-items:center;justify-content:center;padding:var(--space-unit);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-tooltip-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-tooltip-theme--surface);filter:drop-shadow(0 4px 8px var(--shadow-color-base));will-change:filter}:host(.legacy){display:inline-flex;padding:calc(var(--space-unit) * 2);min-width:auto;min-height:auto;max-width:200px;font-style:italic;line-height:16px;letter-spacing:0.32px;font-size:12px;border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.08))}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));content:'';position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;transform:rotate(45deg)}:host([open][style*='top:']),:host([open][style*='inset:']){display:inline-flex}:host([position^='top']){margin-bottom:var(--space-unit)}:host([position='right']){margin-left:var(--space-unit)}:host([position='top_right']),:host([position='bottom_right']){margin-left:var(--edge-offset)}:host([position^='bottom']){margin-top:var(--space-unit)}:host([position='left']){margin-right:var(--space-unit)}:host([position='top_left']),:host([position='bottom_left']){margin-right:var(--edge-offset)}:host([position^='top'])::before{top:var(--arrow-center-y-offset)}:host([position^='bottom'])::before{bottom:var(--arrow-center-y-offset)}:host([position='top'])::before,:host([position='bottom'])::before{left:var(--arrow-center-x-offset)}:host([position='right'])::before,:host([position='left'])::before{top:var(--arrow-center-x-offset)}:host([position='right'])::before{right:var(--arrow-center-y-offset)}:host([position='top_right'])::before,:host([position='bottom_right'])::before{right:var(--arrow-edge-offset)}:host([position='left'])::before{left:var(--arrow-center-y-offset)}:host([position='top_left'])::before,:host([position='bottom_left'])::before{left:var(--arrow-edge-offset)}::slotted(*){flex:1 auto;overflow:auto}";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-8782dff4.js';
|
|
2
2
|
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}button{cursor:pointer;display:flex;flex-direction:column;width:100%;margin:0;background-color:var(--gray900);border:none;padding:0;letter-spacing:0.16px;white-space:nowrap}button.inverse{background-color:var(--color-white)}button div.firstline{display:flex;justify-content:flex-end;align-items:center;max-width:200px}button.open div.firstline{max-width:none}z-icon{padding:0 2px;fill:var(--color-white)}z-icon.inverse{fill:var(--gray900)}ul{box-sizing:border-box;position:absolute;left:0;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0 calc(var(--space-unit) * 2);width:100%;margin:calc(var(--space-unit) * 1.5) 0 0 0;background-color:var(--gray900);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.3px}ul.inverse{background-color:var(--color-white)}ul>li{display:flex;justify-content:flex-end;white-space:nowrap;padding:calc(var(--space-unit) * 1.5 - 1px) 0;margin:0;border-bottom:var(--border-base) solid var(--gray700)}ul>li.inverse{border-bottom-color:var(--gray400)}ul>li:first-child{border-top:none;padding-top:0;padding-bottom:calc(var(--space-unit) + 6px);flex-direction:column;align-items:end}ul>li:last-child{border-bottom:none;margin-bottom:0}#guestbutton{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;width:100%;font-family:var(--font-family-sans);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;outline:none;fill:currentColor;height:32px;min-width:32px;padding:0 calc(var(--space-unit) * 2);background-color:var(--color-white);border-color:var(--color-white);color:var(--gray800)}#guestbutton.inverse{background-color:var(--gray800);border-color:var(--gray800);color:var(--color-white)}.userfullname{padding:0;overflow:hidden;max-width:250px;text-overflow:ellipsis;width:100%;color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:16px;line-height:24px;letter-spacing:0;text-align:right}.userfullname.inverse{color:var(--gray800)}.useremail{color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:12px;line-height:16px;letter-spacing:0.32px;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:right}.useremail.inverse{color:var(--gray800)}@media only screen and (min-width: 768px){:host{height:calc(var(--space-unit) * 4);background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}:host>div{position:relative;top:50%;transform:translateY(-50%)}:host>div.open{top:auto;transform:none}:host>div>div{padding:0}:host>div>div.open{position:absolute;right:calc(var(--space-unit) * -1);box-shadow:0px 2px calc(var(--space-unit) * .5) 0px rgba(0, 0, 0, 0.5);background-color:var(--color-white);margin-top:calc(var(--space-unit) / 2);padding:calc(var(--space-unit) / 2 + 1px) var(--space-unit) 0 var(--space-unit);transform:translate(0, -4px)}:host>div>div.inverse.open{background-color:var(--gray800)}button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:end;align-content:center}button.open{background-color:var(--color-white);border-top:var(--border-size-small) solid var(--color-white);border-top-left-radius:calc(var(--space-unit) * .5);border-top-right-radius:calc(var(--space-unit) * .5);max-width:initial;margin-left:var(--space-unit);padding-right:var(--space-unit)}button.open.inverse{border-top-color:var(--gray800);background-color:var(--gray800)}button:not(.open) z-icon{fill:var(--color-white)}button:not(.open) z-icon.inverse{fill:var(--gray800)}button.open z-icon{fill:var(--gray800)}button.open z-icon.inverse{fill:var(--color-white)}.userfullname{font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.16px;padding:0 calc(var(--space-unit) - 6px) 0 calc(var(--space-unit) - 2px);width:auto}.userfullname.inverse{color:var(--gray800)}button.open div.userfullname{color:var(--gray800);max-width:none;text-overflow:clip}button.open div.userfullname.inverse{color:var(--color-white)}.useremail{padding-right:calc(var(--space-unit) * 3 - 2px);box-sizing:border-box}button.open div.useremail{color:var(--gray800)}button.open div.useremail.inverse{color:var(--color-white)}ul{position:initial;left:initial;padding:0;width:100%;background-color:var(--color-white)}ul.inverse{border-bottom-color:var(--gray800);background-color:var(--gray800)}ul>li{color:var(--gray800);border-bottom:var(--border-base) solid var(--gray400);margin:0 var(--space-unit)}ul>li.inverse{color:var(--color-white)}ul>li:first-child{border-top:var(--border-base) solid var(--gray400);padding-top:calc(var(--space-unit) + 3px);padding-bottom:calc(var(--space-unit) + 5px)}}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-8782dff4.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:0 -1px -1px 0;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}";
|
|
4
4
|
|
|
@@ -257,6 +257,10 @@ export declare enum ExpandableListButtonAlign {
|
|
|
257
257
|
right = "right",
|
|
258
258
|
left = "left"
|
|
259
259
|
}
|
|
260
|
+
export declare enum ZtoggleSwitchPositionEnum {
|
|
261
|
+
right = "right",
|
|
262
|
+
left = "left"
|
|
263
|
+
}
|
|
260
264
|
export declare enum ListDividerType {
|
|
261
265
|
none = "none",
|
|
262
266
|
header = "header",
|
|
@@ -337,6 +341,10 @@ export declare enum ZAriaAlertMode {
|
|
|
337
341
|
assertive = "assertive"
|
|
338
342
|
}
|
|
339
343
|
export declare type ToastNotificationPositionsTypes = ToastNotificationPositionsEnum;
|
|
344
|
+
export declare enum ZFileUploadTypeEnum {
|
|
345
|
+
default = "default",
|
|
346
|
+
dragdrop = "dragdrop"
|
|
347
|
+
}
|
|
340
348
|
export declare enum ZChipType {
|
|
341
349
|
default = "default",
|
|
342
350
|
mini = "mini"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import { ZtoggleSwitchPositionEnum } from "../../../beans";
|
|
3
|
+
export declare class ZToggleSwitch {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
labelPosition?: ZtoggleSwitchPositionEnum;
|
|
6
|
+
checked?: boolean;
|
|
7
|
+
htmlid: string;
|
|
8
|
+
toggleClick: EventEmitter;
|
|
9
|
+
emitToggleClick(checked: boolean): void;
|
|
10
|
+
handleClick(ev: any): void;
|
|
11
|
+
render(): any[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
export declare class ZDragdropArea {
|
|
3
|
+
/** Emitted when user drop one or more files */
|
|
4
|
+
fileDropped: EventEmitter;
|
|
5
|
+
fileDroppedHandler(files: FileList): void;
|
|
6
|
+
private dragDropContainer;
|
|
7
|
+
renderOnDragOverMessage(): any;
|
|
8
|
+
render(): any;
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
export declare class ZFile {
|
|
3
|
+
private icon;
|
|
4
|
+
private ellipsis?;
|
|
5
|
+
fileNumber: any;
|
|
6
|
+
allowTooltip: boolean;
|
|
7
|
+
tooltipVisible: boolean;
|
|
8
|
+
el: HTMLElement;
|
|
9
|
+
/** Emitted when a z-file component is removed from the DOM */
|
|
10
|
+
removeFile: EventEmitter;
|
|
11
|
+
removeFileHandler(): void;
|
|
12
|
+
onMouseOver(): void;
|
|
13
|
+
onMouseLeave(): void;
|
|
14
|
+
componentDidLoad(): void;
|
|
15
|
+
elementHasEllipsis(): boolean;
|
|
16
|
+
render(): any;
|
|
17
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import { ButtonVariantEnum, ZFileUploadTypeEnum } from "../../../beans";
|
|
3
|
+
export declare class ZFileUpload {
|
|
4
|
+
/** Prop indicating the file upload type - can be default or dragdrop */
|
|
5
|
+
type: ZFileUploadTypeEnum;
|
|
6
|
+
/** Prop indicating the button variant*/
|
|
7
|
+
buttonVariant?: ButtonVariantEnum;
|
|
8
|
+
/** Prop indicating the accepted file type: ex ".pdf, .doc, .jpg" */
|
|
9
|
+
acceptedFormat?: string;
|
|
10
|
+
/** Max file dimension in Megabyte */
|
|
11
|
+
fileMaxSize?: number;
|
|
12
|
+
/** Title */
|
|
13
|
+
mainTitle?: string;
|
|
14
|
+
/** Description */
|
|
15
|
+
description?: string;
|
|
16
|
+
/** Number of files added by the user */
|
|
17
|
+
filesNumber: number;
|
|
18
|
+
/** List of files not allowed to be uploaded */
|
|
19
|
+
invalidFiles: Map<string, Array<string>>;
|
|
20
|
+
el: HTMLElement;
|
|
21
|
+
private input;
|
|
22
|
+
private button;
|
|
23
|
+
private errorModal;
|
|
24
|
+
private uploadLink;
|
|
25
|
+
private inputAttributes;
|
|
26
|
+
/** Listen removeFile event sent from z-file component */
|
|
27
|
+
removeFileListener(): void;
|
|
28
|
+
/** Listen fileDropped event sent from z-dragdrop-area component */
|
|
29
|
+
fileDroppedListener(e: CustomEvent): void;
|
|
30
|
+
componentDidUpdate(): void;
|
|
31
|
+
componentWillLoad(): void;
|
|
32
|
+
/** Emitted when user select one or more files */
|
|
33
|
+
fileInput: EventEmitter;
|
|
34
|
+
fileInputHandler(): void;
|
|
35
|
+
handleAccessibility(): void;
|
|
36
|
+
checkFiles(files: Array<File>): Map<string, Array<string>>;
|
|
37
|
+
renderTitle(): any;
|
|
38
|
+
renderDescription(variant: any, level: any): any;
|
|
39
|
+
renderAllowedFileExtensions(): any;
|
|
40
|
+
renderFileSection(): any;
|
|
41
|
+
renderInput(): any;
|
|
42
|
+
renderUploadButton(): any[];
|
|
43
|
+
renderUploadLink(): any[];
|
|
44
|
+
renderDefaultMode(): any[];
|
|
45
|
+
renderDragDropMode(): any[];
|
|
46
|
+
formatErrorString(key: any, value: any): string;
|
|
47
|
+
handleErrorModalContent(): any;
|
|
48
|
+
render(): any[];
|
|
49
|
+
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { AlertTypes, LicenseTypeEnum, MenuItem as MenuItem1, TooltipPosition } from "./beans/index";
|
|
9
|
-
import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, ListDividerType, ListSize, MenuItem, NotificationType, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverShadow, SelectItemBean, Size, SortDirection, StatusTagStatus, TabOrientationBean, TabSizeBean, ThemeVariant, ThemeVariantBean, ToastNotificationPositionsTypes, ToastNotificationTransitionTypes, ToastNotificationTypes, ZChipType, ZTableRowExpandedType } from "./beans";
|
|
9
|
+
import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, ButtonVariantEnum, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, ListDividerType, ListSize, MenuItem, NotificationType, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverShadow, SelectItemBean, Size, SortDirection, StatusTagStatus, TabOrientationBean, TabSizeBean, ThemeVariant, ThemeVariantBean, ToastNotificationPositionsTypes, ToastNotificationTransitionTypes, ToastNotificationTypes, ZChipType, ZFileUploadTypeEnum, ZTableRowExpandedType, ZtoggleSwitchPositionEnum } from "./beans";
|
|
10
10
|
import { ListItemBean } from "./beans/index.js";
|
|
11
11
|
import { ZTypographyLevels } from "./components/typography/z-typography/index";
|
|
12
12
|
export namespace Components {
|
|
@@ -324,6 +324,37 @@ export namespace Components {
|
|
|
324
324
|
*/
|
|
325
325
|
"size"?: DividerSize;
|
|
326
326
|
}
|
|
327
|
+
interface ZDragdropArea {
|
|
328
|
+
}
|
|
329
|
+
interface ZFile {
|
|
330
|
+
"fileNumber": any;
|
|
331
|
+
}
|
|
332
|
+
interface ZFileUpload {
|
|
333
|
+
/**
|
|
334
|
+
* Prop indicating the accepted file type: ex ".pdf, .doc, .jpg"
|
|
335
|
+
*/
|
|
336
|
+
"acceptedFormat"?: string;
|
|
337
|
+
/**
|
|
338
|
+
* Prop indicating the button variant
|
|
339
|
+
*/
|
|
340
|
+
"buttonVariant"?: ButtonVariantEnum;
|
|
341
|
+
/**
|
|
342
|
+
* Description
|
|
343
|
+
*/
|
|
344
|
+
"description"?: string;
|
|
345
|
+
/**
|
|
346
|
+
* Max file dimension in Megabyte
|
|
347
|
+
*/
|
|
348
|
+
"fileMaxSize"?: number;
|
|
349
|
+
/**
|
|
350
|
+
* Title
|
|
351
|
+
*/
|
|
352
|
+
"mainTitle"?: string;
|
|
353
|
+
/**
|
|
354
|
+
* Prop indicating the file upload type - can be default or dragdrop
|
|
355
|
+
*/
|
|
356
|
+
"type": ZFileUploadTypeEnum;
|
|
357
|
+
}
|
|
327
358
|
interface ZFooter {
|
|
328
359
|
/**
|
|
329
360
|
* Maximum width of footer content
|
|
@@ -1509,6 +1540,12 @@ export namespace Components {
|
|
|
1509
1540
|
*/
|
|
1510
1541
|
"opened"?: boolean;
|
|
1511
1542
|
}
|
|
1543
|
+
interface ZToggleSwitch {
|
|
1544
|
+
"checked"?: boolean;
|
|
1545
|
+
"disabled"?: boolean;
|
|
1546
|
+
"htmlid": string;
|
|
1547
|
+
"labelPosition"?: ZtoggleSwitchPositionEnum;
|
|
1548
|
+
}
|
|
1512
1549
|
interface ZTooltip {
|
|
1513
1550
|
/**
|
|
1514
1551
|
* The selector or the element bound with the tooltip.
|
|
@@ -1667,6 +1704,24 @@ declare global {
|
|
|
1667
1704
|
prototype: HTMLZDividerElement;
|
|
1668
1705
|
new (): HTMLZDividerElement;
|
|
1669
1706
|
};
|
|
1707
|
+
interface HTMLZDragdropAreaElement extends Components.ZDragdropArea, HTMLStencilElement {
|
|
1708
|
+
}
|
|
1709
|
+
var HTMLZDragdropAreaElement: {
|
|
1710
|
+
prototype: HTMLZDragdropAreaElement;
|
|
1711
|
+
new (): HTMLZDragdropAreaElement;
|
|
1712
|
+
};
|
|
1713
|
+
interface HTMLZFileElement extends Components.ZFile, HTMLStencilElement {
|
|
1714
|
+
}
|
|
1715
|
+
var HTMLZFileElement: {
|
|
1716
|
+
prototype: HTMLZFileElement;
|
|
1717
|
+
new (): HTMLZFileElement;
|
|
1718
|
+
};
|
|
1719
|
+
interface HTMLZFileUploadElement extends Components.ZFileUpload, HTMLStencilElement {
|
|
1720
|
+
}
|
|
1721
|
+
var HTMLZFileUploadElement: {
|
|
1722
|
+
prototype: HTMLZFileUploadElement;
|
|
1723
|
+
new (): HTMLZFileUploadElement;
|
|
1724
|
+
};
|
|
1670
1725
|
interface HTMLZFooterElement extends Components.ZFooter, HTMLStencilElement {
|
|
1671
1726
|
}
|
|
1672
1727
|
var HTMLZFooterElement: {
|
|
@@ -2075,6 +2130,12 @@ declare global {
|
|
|
2075
2130
|
prototype: HTMLZToggleButtonElement;
|
|
2076
2131
|
new (): HTMLZToggleButtonElement;
|
|
2077
2132
|
};
|
|
2133
|
+
interface HTMLZToggleSwitchElement extends Components.ZToggleSwitch, HTMLStencilElement {
|
|
2134
|
+
}
|
|
2135
|
+
var HTMLZToggleSwitchElement: {
|
|
2136
|
+
prototype: HTMLZToggleSwitchElement;
|
|
2137
|
+
new (): HTMLZToggleSwitchElement;
|
|
2138
|
+
};
|
|
2078
2139
|
interface HTMLZTooltipElement extends Components.ZTooltip, HTMLStencilElement {
|
|
2079
2140
|
}
|
|
2080
2141
|
var HTMLZTooltipElement: {
|
|
@@ -2118,6 +2179,9 @@ declare global {
|
|
|
2118
2179
|
"z-contextual-menu": HTMLZContextualMenuElement;
|
|
2119
2180
|
"z-cookiebar": HTMLZCookiebarElement;
|
|
2120
2181
|
"z-divider": HTMLZDividerElement;
|
|
2182
|
+
"z-dragdrop-area": HTMLZDragdropAreaElement;
|
|
2183
|
+
"z-file": HTMLZFileElement;
|
|
2184
|
+
"z-file-upload": HTMLZFileUploadElement;
|
|
2121
2185
|
"z-footer": HTMLZFooterElement;
|
|
2122
2186
|
"z-footer-link": HTMLZFooterLinkElement;
|
|
2123
2187
|
"z-footer-section": HTMLZFooterSectionElement;
|
|
@@ -2186,6 +2250,7 @@ declare global {
|
|
|
2186
2250
|
"z-toast-notification": HTMLZToastNotificationElement;
|
|
2187
2251
|
"z-toast-notification-list": HTMLZToastNotificationListElement;
|
|
2188
2252
|
"z-toggle-button": HTMLZToggleButtonElement;
|
|
2253
|
+
"z-toggle-switch": HTMLZToggleSwitchElement;
|
|
2189
2254
|
"z-tooltip": HTMLZTooltipElement;
|
|
2190
2255
|
"z-typography": HTMLZTypographyElement;
|
|
2191
2256
|
"z-user-dropdown": HTMLZUserDropdownElement;
|
|
@@ -2539,6 +2604,49 @@ declare namespace LocalJSX {
|
|
|
2539
2604
|
*/
|
|
2540
2605
|
"size"?: DividerSize;
|
|
2541
2606
|
}
|
|
2607
|
+
interface ZDragdropArea {
|
|
2608
|
+
/**
|
|
2609
|
+
* Emitted when user drop one or more files
|
|
2610
|
+
*/
|
|
2611
|
+
"onFileDropped"?: (event: CustomEvent<any>) => void;
|
|
2612
|
+
}
|
|
2613
|
+
interface ZFile {
|
|
2614
|
+
"fileNumber"?: any;
|
|
2615
|
+
/**
|
|
2616
|
+
* Emitted when a z-file component is removed from the DOM
|
|
2617
|
+
*/
|
|
2618
|
+
"onRemoveFile"?: (event: CustomEvent<any>) => void;
|
|
2619
|
+
}
|
|
2620
|
+
interface ZFileUpload {
|
|
2621
|
+
/**
|
|
2622
|
+
* Prop indicating the accepted file type: ex ".pdf, .doc, .jpg"
|
|
2623
|
+
*/
|
|
2624
|
+
"acceptedFormat"?: string;
|
|
2625
|
+
/**
|
|
2626
|
+
* Prop indicating the button variant
|
|
2627
|
+
*/
|
|
2628
|
+
"buttonVariant"?: ButtonVariantEnum;
|
|
2629
|
+
/**
|
|
2630
|
+
* Description
|
|
2631
|
+
*/
|
|
2632
|
+
"description"?: string;
|
|
2633
|
+
/**
|
|
2634
|
+
* Max file dimension in Megabyte
|
|
2635
|
+
*/
|
|
2636
|
+
"fileMaxSize"?: number;
|
|
2637
|
+
/**
|
|
2638
|
+
* Title
|
|
2639
|
+
*/
|
|
2640
|
+
"mainTitle"?: string;
|
|
2641
|
+
/**
|
|
2642
|
+
* Emitted when user select one or more files
|
|
2643
|
+
*/
|
|
2644
|
+
"onFileInput"?: (event: CustomEvent<any>) => void;
|
|
2645
|
+
/**
|
|
2646
|
+
* Prop indicating the file upload type - can be default or dragdrop
|
|
2647
|
+
*/
|
|
2648
|
+
"type"?: ZFileUploadTypeEnum;
|
|
2649
|
+
}
|
|
2542
2650
|
interface ZFooter {
|
|
2543
2651
|
/**
|
|
2544
2652
|
* Maximum width of footer content
|
|
@@ -3859,6 +3967,13 @@ declare namespace LocalJSX {
|
|
|
3859
3967
|
*/
|
|
3860
3968
|
"opened"?: boolean;
|
|
3861
3969
|
}
|
|
3970
|
+
interface ZToggleSwitch {
|
|
3971
|
+
"checked"?: boolean;
|
|
3972
|
+
"disabled"?: boolean;
|
|
3973
|
+
"htmlid"?: string;
|
|
3974
|
+
"labelPosition"?: ZtoggleSwitchPositionEnum;
|
|
3975
|
+
"onToggleClick"?: (event: CustomEvent<any>) => void;
|
|
3976
|
+
}
|
|
3862
3977
|
interface ZTooltip {
|
|
3863
3978
|
/**
|
|
3864
3979
|
* The selector or the element bound with the tooltip.
|
|
@@ -3938,6 +4053,9 @@ declare namespace LocalJSX {
|
|
|
3938
4053
|
"z-contextual-menu": ZContextualMenu;
|
|
3939
4054
|
"z-cookiebar": ZCookiebar;
|
|
3940
4055
|
"z-divider": ZDivider;
|
|
4056
|
+
"z-dragdrop-area": ZDragdropArea;
|
|
4057
|
+
"z-file": ZFile;
|
|
4058
|
+
"z-file-upload": ZFileUpload;
|
|
3941
4059
|
"z-footer": ZFooter;
|
|
3942
4060
|
"z-footer-link": ZFooterLink;
|
|
3943
4061
|
"z-footer-section": ZFooterSection;
|
|
@@ -4006,6 +4124,7 @@ declare namespace LocalJSX {
|
|
|
4006
4124
|
"z-toast-notification": ZToastNotification;
|
|
4007
4125
|
"z-toast-notification-list": ZToastNotificationList;
|
|
4008
4126
|
"z-toggle-button": ZToggleButton;
|
|
4127
|
+
"z-toggle-switch": ZToggleSwitch;
|
|
4009
4128
|
"z-tooltip": ZTooltip;
|
|
4010
4129
|
"z-typography": ZTypography;
|
|
4011
4130
|
"z-user-dropdown": ZUserDropdown;
|
|
@@ -4034,6 +4153,9 @@ declare module "@stencil/core" {
|
|
|
4034
4153
|
"z-contextual-menu": LocalJSX.ZContextualMenu & JSXBase.HTMLAttributes<HTMLZContextualMenuElement>;
|
|
4035
4154
|
"z-cookiebar": LocalJSX.ZCookiebar & JSXBase.HTMLAttributes<HTMLZCookiebarElement>;
|
|
4036
4155
|
"z-divider": LocalJSX.ZDivider & JSXBase.HTMLAttributes<HTMLZDividerElement>;
|
|
4156
|
+
"z-dragdrop-area": LocalJSX.ZDragdropArea & JSXBase.HTMLAttributes<HTMLZDragdropAreaElement>;
|
|
4157
|
+
"z-file": LocalJSX.ZFile & JSXBase.HTMLAttributes<HTMLZFileElement>;
|
|
4158
|
+
"z-file-upload": LocalJSX.ZFileUpload & JSXBase.HTMLAttributes<HTMLZFileUploadElement>;
|
|
4037
4159
|
"z-footer": LocalJSX.ZFooter & JSXBase.HTMLAttributes<HTMLZFooterElement>;
|
|
4038
4160
|
"z-footer-link": LocalJSX.ZFooterLink & JSXBase.HTMLAttributes<HTMLZFooterLinkElement>;
|
|
4039
4161
|
"z-footer-section": LocalJSX.ZFooterSection & JSXBase.HTMLAttributes<HTMLZFooterSectionElement>;
|
|
@@ -4102,6 +4224,7 @@ declare module "@stencil/core" {
|
|
|
4102
4224
|
"z-toast-notification": LocalJSX.ZToastNotification & JSXBase.HTMLAttributes<HTMLZToastNotificationElement>;
|
|
4103
4225
|
"z-toast-notification-list": LocalJSX.ZToastNotificationList & JSXBase.HTMLAttributes<HTMLZToastNotificationListElement>;
|
|
4104
4226
|
"z-toggle-button": LocalJSX.ZToggleButton & JSXBase.HTMLAttributes<HTMLZToggleButtonElement>;
|
|
4227
|
+
"z-toggle-switch": LocalJSX.ZToggleSwitch & JSXBase.HTMLAttributes<HTMLZToggleSwitchElement>;
|
|
4105
4228
|
"z-tooltip": LocalJSX.ZTooltip & JSXBase.HTMLAttributes<HTMLZTooltipElement>;
|
|
4106
4229
|
"z-typography": LocalJSX.ZTypography & JSXBase.HTMLAttributes<HTMLZTypographyElement>;
|
|
4107
4230
|
"z-user-dropdown": LocalJSX.ZUserDropdown & JSXBase.HTMLAttributes<HTMLZUserDropdownElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as o}from"./p-
|
|
1
|
+
import{c as o}from"./p-42d64757.js";import"./p-0e7fe7c1.js";import"./p-d69e14fb.js";const p={colorFromId:o};export{p as Utils}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as e}from"./p-
|
|
1
|
+
import{r,h as e}from"./p-1acbd992.js";import{L as t}from"./p-0e7fe7c1.js";const i=class{constructor(e){r(this,e),this.ispressed=!1,this.ishighlighted=!1}retrieveClass(){let r="";return this.cardtype===t.real?r+="real":this.cardtype===t.trial&&(r+="trial"),this.faded?r+=" faded":this.ispressed?r+=" pressed":this.ishighlighted&&(r+=" highlighted"),r}render(){return e("div",{class:this.retrieveClass(),tabindex:"0"},e("slot",null))}};i.style="div{background-color:var(--color-surface01);display:flex;flex-direction:column;width:auto;box-sizing:border-box;width:256px;height:522px;border:var(--border-size-medium) solid var(--color-surface03);border-radius:var(--border-radius)}div.real,div.trial{border-color:var(--accent)}div.faded{border:var(--border-size-medium) solid var(--color-surface02)}div.highlighted{box-shadow:var(--shadow-4);outline:none}div.pressed{box-shadow:var(--shadow-8);outline:none}div:focus{box-shadow:var(--shadow-focus-primary);outline:none}";const a=class{constructor(e){r(this,e)}render(){return e("div",null,e("slot",{name:"alert"}),e("slot",{name:"cover"}))}};a.style=":host{height:340px;width:auto}:host>div{height:340px;width:auto;display:flex;align-items:center;justify-content:center;position:relative}";const o=class{constructor(e){r(this,e)}hadleOnImageError(){this.img=this.defaultimg}render(){return e("img",{class:this.faded&&"faded",onError:this.hadleOnImageError.bind(this),alt:this.titolo,src:this.img})}};o.style="img{display:block;margin:auto auto;height:340px;max-width:100%;object-fit:cover}img.faded{opacity:0.3}";const s=class{constructor(e){r(this,e),this.allowTooltip=!1}getTitle(){return this.allowTooltip?this.titolo:""}componentDidLoad(){this.elementHasEllipsis()&&(this.allowTooltip=!0)}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}retrieveClass(){return{real:this.cardtype===t.real,trial:this.cardtype===t.trial,faded:this.faded}}render(){return e("header",{class:this.retrieveClass()},e("h2",{ref:r=>this.ellipsis=r,title:this.getTitle()},this.titolo),e("slot",{name:"icon"}))}};s.style="header{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;width:auto;height:calc(var(--space-unit) * 6);position:relative;border-bottom:var(--border-size-medium) solid var(--color-surface03);border-radius:var(--border-radius) var(--border-radius)\n var(--border-no-radius) var(--border-no-radius);background-color:var(--color-surface01)}header.real,header.trial{background-color:var(--accent-lighter);border-bottom:var(--border-size-medium) solid var(--accent)}h2{font-family:var(--font-family-sans);font-weight:var(--font-sb);color:var(--color-surface05);height:calc(var(--space-unit) * 2);font-size:12px;text-transform:uppercase;letter-spacing:0.22px;line-height:calc(var(--space-unit) * 2);margin:0px;padding:calc(var(--space-unit) * 2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.faded{border-bottom:var(--border-size-medium) solid var(--color-surface02)}.faded.real,.faded.trial{border-top:var(--border-size-medium) solid var(--accent);border-right:var(--border-size-medium) solid var(--accent);border-left:var(--border-size-medium) solid var(--accent)}";export{i as z_myz_card,a as z_myz_card_body,o as z_myz_card_cover,s as z_myz_card_header}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as t}from"./p-
|
|
1
|
+
import{r as o,h as t}from"./p-1acbd992.js";const r=class{constructor(t){o(this,t),this.isselected=!1,this.isdisabled=!1,this.isvisited=!1}render(){return t("button",{id:this.pageid,"aria-label":this.ariaLabel?this.ariaLabel:`Go to page ${this.value}`,class:{selected:this.isselected,visited:this.isvisited},disabled:this.isdisabled,type:"button"},this.value)}};r.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-sb);display:inline-block}:host>button{cursor:pointer;outline:none;display:inline-block;box-sizing:border-box;margin:0;height:48px;line-height:48px;text-align:center;border:none;border-bottom:var(--border-size-large) solid transparent;color:var(--color-primary01);font-size:var(--font-size-2);font-family:var(--font-family-sans);font-weight:inherit;background:transparent;text-decoration:none;transition:border-bottom 0.2s ease, font-size 0.2s ease;min-width:56px}:host>button[disabled]{pointer-events:none;cursor:default;color:var(--color-disabled02)}:host>button:hover{border-bottom:var(--border-size-large) solid var(--color-hover-light);background-color:var(--color-background);text-decoration:none;transition:border-bottom 0.2s ease, background-color 0.2s ease}:host>button:focus{border-bottom:var(--border-size-large) solid var(--color-hover-light);box-shadow:var(--shadow-focus-primary);background-color:var(--color-background);text-decoration:none}:host>button.visited{border-color:var(--color-hover-light);text-decoration:none}:host>button.selected{border-bottom:var(--border-size-large) solid var(--color-primary01);font-size:var(--font-size-7);transition:border-bottom 0.2s ease, font-size 0.2s ease}";export{r as z_pagination_page}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as o,H as s,g as e}from"./p-
|
|
1
|
+
import{r as t,h as o,H as s,g as e}from"./p-1acbd992.js";import{o as i}from"./p-0e7fe7c1.js";const n=class{constructor(o){t(this,o),this.newestontop=!0,this.slotChangeHandler=()=>{const t=Array.from(this.hostElement.children).filter((t=>!this.notificationArray.includes(t)));t&&t.forEach((t=>{this.notificationArray.push(t);const o=t;t.remove(),this.hostElement.prepend(o)}))}}watchPropNewestontop(t){this.hostElement.append(...this.notificationArray.reverse()),t?this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler):this.hostElement.shadowRoot.removeEventListener("slotchange",this.slotChangeHandler)}componentWillLoad(){this.newestontop&&this.handleNewestOnTop()}handleNewestOnTop(){this.notificationArray=Array.from(this.hostElement.children),this.hostElement.append(...this.notificationArray.reverse()),this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler)}render(){return o(s,{class:this.position?this.position:i.topRight},o("slot",{name:"toasts"}))}get hostElement(){return e(this)}static get watchers(){return{newestontop:["watchPropNewestontop"]}}};n.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:fixed;display:flex;flex-direction:column;flex-wrap:nowrap;z-index:10000;margin-bottom:calc(var(--space-unit) * 2);margin-top:calc(var(--space-unit) * 2)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host(.bottom-centre),:host(.bottom-right),:host(.bottom-left){justify-content:flex-end;align-items:flex-end;bottom:0}:host(.top-left),:host(.top-right),:host(.top-centre){justify-content:flex-start;align-items:flex-start;top:0}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host(.top-centre){justify-content:flex-start;align-items:center;top:0;left:50%;transform:translateX(-50%)}:host(.top-left){justify-content:flex-start;align-items:flex-start;top:0;left:0}:host(.top-right){justify-content:flex-start;align-items:flex-end;top:0;right:0}:host(.bottom-centre){justify-content:flex-end;align-items:center;bottom:0;left:50%;transform:translateX(-50%)}:host(.bottom-right){justify-content:flex-end;align-items:flex-end;bottom:0;right:0}:host(.bottom-left){justify-content:flex-end;align-items:flex-start;bottom:0;left:0}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";export{n as z_toast_notification_list}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t,n,e,o,a,i,s,r,c,l,u,f,d,m,g,h,w,b,p,v,E,x,A,k,_,C,R,S,y,D,P,T,B,N,O,W,z,K;!function(t){t.real="reale",t.virtual="virtuale",t.trial="saggio"}(t||(t={})),function(t){t.border="border",t.shadow="shadow",t.overlay="overlay",t.text="text"}(n||(n={})),function(t){t.horizontal="horizontal",t.vertical="vertical"}(e||(e={})),function(t){t.big="big",t.small="small"}(o||(o={})),function(t){t.primary="primary",t.secondary="secondary",t.tertiary="tertiary",t["dark-bg"]="dark-bg"}(a||(a={})),function(t){t.submit="submit",t.reset="reset",t.button="button"}(i||(i={})),function(t){t.big="big",t.small="small",t["x-small"]="x-small"}(s||(s={})),function(t){t.text="text",t.password="password",t.number="number",t.email="email",t.textarea="textarea",t.checkbox="checkbox",t.radio="radio",t.select="select"}(r||(r={})),function(t){t.success="success",t.error="error",t.warning="warning",t.selecting="selecting"}(c||(c={})),function(t){t.AUTO="auto",t.TOP="top",t.RIGHT="right",t.BOTTOM="bottom",t.LEFT="left",t.TOP_RIGHT="top_right",t.TOP_LEFT="top_left",t.BOTTOM_RIGHT="bottom_right",t.BOTTOM_LEFT="bottom_left"}(l||(l={})),function(t){t[t.TAB=9]="TAB",t[t.SPACE=32]="SPACE",t[t.ESC=27]="ESC",t[t.ENTER=13]="ENTER",t[t.ARROW_UP=38]="ARROW_UP",t[t.ARROW_DOWN=40]="ARROW_DOWN",t[t.BACKSPACE=8]="BACKSPACE",t[t.DELETE=46]="DELETE"}(u||(u={})),function(t){t.ARROW_DOWN="ArrowDown",t.ARROW_UP="ArrowUp",t.ENTER="Enter",t.ESC="Escape",t.SPACE="Space"}(f||(f={})),function(t){t.dark="dark",t.light="light"}(d||(d={})),function(t){t["after-down"]="after-down",t["after-center"]="after-center",t["after-up"]="after-up",t["below-right"]="below-right",t["below-center"]="below-center",t["below-left"]="below-left",t["before-down"]="before-down",t["before-center"]="before-center",t["before-up"]="before-up",t["above-right"]="above-right",t["above-center"]="above-center",t["above-left"]="above-left"}(m||(m={})),function(t){t.none="none",t.small="small",t.medium="medium"}(g||(g={})),function(t){t["shadow-1"]="shadow-1",t["shadow-2"]="shadow-2",t["shadow-3"]="shadow-3",t["shadow-4"]="shadow-4",t["shadow-6"]="shadow-6",t["shadow-8"]="shadow-8",t["shadow-12"]="shadow-12",t["shadow-16"]="shadow-16",t["shadow-24"]="shadow-24"}(h||(h={})),function(t){t.small="small",t.medium="medium",t.large="large"}(w||(w={})),function(t){t.horizontal="horizontal",t.vertical="vertical"}(b||(b={})),function(t){t.asc="asc",t.desc="desc",t.none="none"}(p||(p={})),function(t){t.small="small",t.medium="medium",t.large="large"}(v||(v={})),function(t){t.warning="warning",t.error="error",t.success="success",t.neutral="neutral",t.default="default"}(E||(E={})),function(t){t.small="small",t.medium="medium",t.large="large",t["x-large"]="x-large"}(x||(x={})),function(t){t["x-small"]="x-small",t.small="small",t.medium="medium",t.large="large",t.special="special"}(A||(A={})),function(t){t.accordion="accordion",t.menu="menu"}(k||(k={})),function(t){t.right="right",t.left="left"}(_||(_={})),function(t){t.right="right",t.left="left"}(C||(C={})),function(t){t.none="none",t.header="header",t.element="element"}(R||(R={})),function(t){t.success="success",t.warning="warning",t.error="error"}(S||(S={})),function(t){t.success="success",t.warning="warning",t.error="error"}(y||(y={})),function(t){t.mobile="mobile",t.tablet="tablet",t.desktop="desktop"}(D||(D={})),function(t){t.preview="preview",t.open="open",t.closed="closed"}(P||(P={})),function(t){t.dark="dark",t.light="light",t.accent="accent",t.error="error",t.success="success",t.warning="warning"}(T||(T={})),function(t){t.slideInLeft="slide-in-left",t.slideInRight="slide-in-right",t.slideInDown="slide-in-down",t.slideInUp="slide-in-up",t.slideOutLeft="slide-out-left",t.slideOutRight="slide-out-right",t.slideOutDown="slide-out-down",t.slideOutUp="slide-out-up"}(B||(B={})),function(t){t.topRight="top-right",t.topLeft="top-left",t.topCentre="top-centre",t.bottomRight="bottom-right",t.bottomLeft="bottom-left",t.bottomCentre="bottom-centre"}(N||(N={})),function(t){t.expandable="expandable",t.padding="padding",t.none="none"}(O||(O={})),function(t){t.polite="polite",t.assertive="assertive"}(W||(W={})),function(t){t.default="default",t.dragdrop="dragdrop"}(z||(z={})),function(t){t.default="default",t.mini="mini"}(K||(K={}));export{v as A,a as B,n as C,D,_ as E,r as I,f as K,t as L,S as N,m as P,E as S,d as T,W as Z,b as a,K as b,l as c,z as d,w as e,s as f,P as g,c as h,y as i,e as j,u as k,o as l,O as m,B as n,N as o,C as p,x as q,R as r,k as s,A as t,p as u,g as v,h as w,i as x}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as t}from"./p-
|
|
1
|
+
import{r as i,h as t}from"./p-1acbd992.js";import{i as h}from"./p-82048c15.js";const r=class{constructor(t){i(this,t)}selectPathOrPolygon(i){return i&&i.startsWith("M")?t("path",{d:h[this.name]}):t("polygon",{points:h[this.name]})}render(){return t("svg",{viewBox:"0 0 1000 1000",width:this.width,height:this.height,id:this.iconid,fill:this.fill?`var(--${this.fill})`:""},this.selectPathOrPolygon(h[this.name]))}};r.style=":host{line-height:0;vertical-align:middle;margin-right:var(--z-icon-right-margin, 0);margin-left:var(--z-icon-left-margin, 0)}:host svg:not([width]){width:var(--z-icon-width, 18px)}:host svg:not([height]){height:var(--z-icon-height, 18px)}";export{r as z_icon}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as r}from"./p-1acbd992.js";const i=class{constructor(r){t(this,r)}render(){return r("slot",null)}};i.style=":host{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:0 -1px -1px 0;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}";export{i as z_visually_hidden}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as t,H as a}from"./p-
|
|
1
|
+
import{r,h as t,H as a}from"./p-1acbd992.js";import{S as s}from"./p-0e7fe7c1.js";import{c as o}from"./p-3247dee9.js";import"./p-b68038b5.js";const e=class{constructor(t){r(this,t),this.status=s.default,this.icon||this.text||console.warn("z-status-tag must contain at least one prop between icon and text")}render(){return t(a,{class:o(this.variant,"body-5-sb",{expandable:this.expandable&&this.icon&&this.text})},this.icon&&t("z-icon",{name:this.icon}),this.text&&t("span",null,this.text))}};e.style=':host{--z-icon-width:14px;--z-icon-height:14px;font-family:var(--font-family-sans);height:22px;border-radius:var(--border-radius);padding-right:4px;padding-left:4px;text-transform:uppercase;display:inline-flex;align-items:center}:host(.expandable)>z-icon{margin-right:0;transition:margin-right 0.3s ease-out 0.2s}:host(:not(.expandable))>z-icon:not(:last-child),:host(.expandable:hover)>z-icon:not(:last-child){margin-right:var(--space-unit);transition:margin-right 0.3s ease-out 0s}:host(.expandable)>span{max-width:0;transition:max-width 0.3s ease-out 0.2s;white-space:nowrap;overflow:hidden}:host(.expandable:hover)>span{max-width:20rem;transition:max-width 0.3s ease-out 0s}:host([status="warning"]){background-color:var(--status-warning-yellow-lighter);color:var(--status-warning-yellow-dark);fill:var(--status-warning-yellow-dark)}:host([status="warning"].light){background-color:transparent;color:var(--status-warning-yellow-dark);fill:var(--status-warning-yellow-dark)}:host([status="warning"].dark){background-color:var(--status-warning-yellow-dark);color:var(--status-warning-yellow-lighter);fill:var(--status-warning-yellow-lighter)}:host([status="error"]){background-color:var(--status-error-red-lighter);color:var(--status-error-red-dark);fill:var(--status-error-red-dark)}:host([status="error"].light){background-color:transparent;color:var(--status-error-red-dark);fill:var(--status-error-red-dark)}:host([status="error"].dark){background-color:var(--status-error-red-dark);color:var(--status-error-red-lighter);fill:var(--status-error-red-lighter)}:host([status="success"]){background-color:var(--status-success-green-lighter);color:var(--status-success-green-dark);fill:var(--status-success-green-dark)}:host([status="success"].light){background-color:transparent;color:var(--status-success-green-dark);fill:var(--status-success-green-dark)}:host([status="success"].dark){background-color:var(--status-success-green-dark);color:var(--status-success-green-lighter);fill:var(--status-success-green-lighter)}:host([status="default"]){background-color:var(--myz-blue-lighter);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host([status="default"].light){background-color:transparent;color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host([status="default"].dark){background-color:var(--myz-blue-dark);color:var(--myz-blue-lighter);fill:var(--myz-blue-lighter)}:host([status="neutral"]){background-color:var(--bg-grey-050);color:var(--text-grey-800);fill:var(--text-grey-800)}:host([status="neutral"].light){background-color:transparent;color:var(--text-grey-800);fill:var(--text-grey-800)}:host([status="neutral"].dark){background-color:var(--bg-grey-800);color:var(--text-white);fill:var(--text-white)}';export{e as z_status_tag}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o,h as a,g as r}from"./p-
|
|
1
|
+
import{r as t,c as o,h as a,g as r}from"./p-1acbd992.js";import{C as e}from"./p-0e7fe7c1.js";const i=class{constructor(a){t(this,a),this.cardClicked=o(this,"cardClicked",7),this.clickable=!1,this.showshadow=!1}onClick(t){if("action"!==t.target.getAttribute("slot"))return this.clickable?void this.cardClicked.emit():(t.preventDefault(),void t.stopPropagation())}componentWillLoad(){this.hasCoverImage=!!this.host.querySelector('[slot="cover"]')}renderColorCoverCard(){return[a("div",{class:"cover-container"},a("div",{class:"color-cover"},a("div",{class:"cover-content"},a("slot",{name:"metadata"}),a("slot",{name:"title"})))),a("div",{class:"content"},a("slot",{name:"text"}),a("div",{class:"actions"},a("slot",{name:"action"})))]}renderContentDiv(){return a("div",{class:"content"},a("slot",{name:"metadata"}),a("slot",{name:"title"}),a("slot",{name:"text"}),a("div",{class:"actions"},a("slot",{name:"action"})))}render(){return this.variant===e.text?this.renderContentDiv():this.variant===e.overlay||this.hasCoverImage?[a("div",{class:"cover-container"},this.hasCoverImage&&[a("slot",{name:"cover"}),this.variant!==e.overlay&&this.coverIcon&&a("z-icon",{name:this.coverIcon})],!this.hasCoverImage&&a("div",{class:"color-cover"})),this.renderContentDiv()]:this.renderColorCoverCard()}get host(){return r(this)}};i.style=":host{--aspect-ratio:1.62;--z-card--border-color:var(--gray200);--z-card--color-cover-background:var(--color-surface01);--z-card--text-background:var(--color-surface01);--z-card--text-border-radius:none;--z-card--text-border:none;position:relative;display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}*,::slotted(*){box-sizing:border-box}:host(:not([variant='overlay'])) .cover-container{position:relative;width:100%}.cover-container{padding-bottom:calc(100% / var(--aspect-ratio))}::slotted([slot='cover']),.color-cover{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.cover-container>z-icon{--z-icon-width:calc(var(--space-unit) * 11);--z-icon-height:var(--z-icon-width);position:absolute;top:calc(50% - calc(var(--z-icon-height) / 2));left:calc(50% - calc(var(--z-icon-width) / 2));fill:var(--color-primary01)}.color-cover{background-color:var(--z-card--color-cover-background)}.content{display:flex;flex-direction:column;padding-top:var(--space-unit)}.color-cover .cover-content{display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:var(--space-unit)}::slotted([slot='metadata']),::slotted([slot='title']),::slotted([slot='text']){display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}::slotted([slot='title']:not(:last-child)),::slotted([slot='text']:not(:last-child)){margin-bottom:var(--space-unit)}::slotted([slot='text']),::slotted([slot='actions']){margin:0}::slotted([slot='metadata']:not(:last-child)){margin:0 0 calc(var(--space-unit) * 0.25);-webkit-line-clamp:1;text-transform:uppercase}::slotted([slot='title']){margin:0;font-weight:var(--font-sb);-webkit-line-clamp:2}::slotted([slot='text']){-webkit-line-clamp:3}.actions{display:flex;flex-direction:row;align-items:center}::slotted([slot='action']:not(:last-child)){margin-right:calc(var(--space-unit) * 1.5)}:host([clickable]){cursor:pointer}:host([clickable]:focus:focus-visible){outline:none}:host(:not([variant])[clickable]:focus:focus-visible){padding:calc(var(--space-unit) * 0.5);box-shadow:var(--shadow-focus-primary)}:host([variant='text']){background-color:var(--z-card--text-background);border:var(--z-card--text-border);border-radius:var(--z-card--text-border-radius)}:host([showshadow])>.content,:host([variant='border'])>.content,:host([variant='shadow'])>.content{height:100%;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2)}:host([variant='text'])>.content{padding:calc(var(--space-unit) * 2) var(--space-unit)}:host([variant='border']) .actions,:host([variant='shadow']) .actions{margin-top:auto}:host([variant='border']){border:var(--border-size-small) solid var(--z-card--border-color)}:host([variant='border'][clickable]:hover)>.content{background:var(--color-background)}:host([variant='border'][clickable]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant='border'][clickable]:active){border-color:transparent}:host([variant='shadow']),:host([showshadow]){box-shadow:var(--shadow-2)}:host([variant='shadow'][clickable]:hover),:host([clickable][showshadow]:hover){box-shadow:var(--shadow-4)}:host([variant='shadow'][clickable]:focus:focus-visible),:host([clickable][showshadow]:focus:focus-visible){box-shadow:var(--shadow-4)}:host([variant='shadow'][clickable]:active),:host([clickable][showshadow]:active){box-shadow:none}:host([variant='overlay']) .content{position:absolute;top:0;right:0;bottom:0;left:0;justify-content:flex-end;padding:var(--space-unit);background-image:linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));color:var(--color-text-inverse);fill:var(--color-text-inverse)}";export{i as z_card}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as a,H as l,g as i}from"./p-
|
|
1
|
+
import{r as t,c as e,h as a,H as l,g as i}from"./p-1acbd992.js";import{B as r,f as o}from"./p-0e7fe7c1.js";import{m as s}from"./p-d69e14fb.js";const d=class{constructor(a){t(this,a),this.callToAction=e(this,"callToAction",7),this.callToActionTwo=e(this,"callToActionTwo",7),this.errorMessage="Siamo spiacenti, non siamo riusciti a caricare il contenuto richiesto",this.bordered=!1,this.columnSticky=!1,this.empty=!1,this.error=!1,this.headerSticky=!1,this.message="Siamo spiacenti, al momento non sono presenti dati da visualizzare",this.subtitle=""}handleResize(){this.isMobile=window.innerWidth<=s}handleOrientationChange(){this.isMobile=screen.width<=s}componentWillLoad(){var t;this.isMobile=window.innerWidth<=s;const e=this.host.querySelector('[slot="table-body"]');this.hasTableBody=!!(null===(t=null==e?void 0:e.children)||void 0===t?void 0:t.length),e&&!this.hasTableBody&&e.remove()}componentWillRender(){this.host.setAttribute("role","table")}renderError(t){const e=this.lines?`calc(40px * ${this.lines})`:"auto";return a(l,null,a("div",{class:t},a("slot",{name:"table-header"})),a("z-table-error",null,a("div",{class:"error-content",style:{minHeight:e}},a("slot",{name:"error-image"}),a("div",{class:"text"},a("z-body",{class:"error-message",level:3,variant:"semibold"},this.errorMessage),a("slot",{name:"error-action"})))))}renderEmpty(t){const e=this.isMobile?o.small:o.big,i=this.hasTableBody?"table-content":"";return this.hasTableBody?a(l,null,a("div",{class:t},a("slot",{name:"table-header"}),a("div",{class:i},a("slot",{name:"table-body"}),a("z-table-empty-box",{class:this.bordered&&"bordered",message:this.message,subtitle:this.subtitle},!!this.callToActionLabel&&a("z-button",{slot:"cta1",variant:r.tertiary,onClick:()=>this.callToAction.emit(),size:e},this.callToActionLabel),!!this.callToActionTwoLabel&&a("z-button",{slot:"cta2",variant:r.tertiary,onClick:()=>this.callToActionTwo.emit(),size:e},this.callToActionTwoLabel))))):a(l,null,a("div",{class:t},a("slot",{name:"table-header"})),a("z-table-empty-box",{class:this.bordered&&"bordered",message:this.message,subtitle:this.subtitle},!!this.callToActionLabel&&a("z-button",{slot:"cta1",variant:r.tertiary,onClick:()=>this.callToAction.emit(),size:e},this.callToActionLabel),!!this.callToActionTwoLabel&&a("z-button",{slot:"cta2",variant:r.tertiary,onClick:()=>this.callToActionTwo.emit(),size:e},this.callToActionTwoLabel)))}render(){const t=`table ${this.empty?"table-empty":""} ${this.bordered?"table-bordered":""}\n ${this.columnSticky?"table-column-sticky":""}\n ${this.headerSticky?"table-header-sticky":""}`;return this.error?this.renderError(t):this.empty?this.renderEmpty(t):a(l,null,a("div",{class:t},a("slot",null)),a("slot",{name:"sticky-footer"}))}static get assetsDirs(){return["assets"]}get host(){return i(this)}};d.style="z-table{overflow-x:auto;display:block;width:100%;font-family:var(--dashboard-font);font-weight:var(--font-rg);background-color:var(--color-white)}z-table>div.table{display:table;width:100%;border-collapse:separate}z-table>div.table-bordered>z-table-body>z-table-row>z-table-cell:not(:last-child),z-table>div.table-bordered>z-table-head>z-table-header-row>z-table-header:not(:last-child){border-right:var(--border-size-small) solid var(--bg-grey-200)}z-table>div>z-table-body>z-table-row[expandable]>z-table-cell:first-child,z-table>div>z-table-head>z-table-header-row[expandable]>z-table-header:first-child{border-right:none}z-table>div>z-table-body>z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table>div>z-table-body>z-table-row[expanded]+z-table-expanded-row{border-bottom:1px solid var(--gray200)}z-table>div.table-column-sticky>z-table-body>z-table-row>z-table-cell:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{position:sticky;left:0;box-shadow:1px 0 4px -1px rgba(66, 69, 72, 0.4);z-index:1}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;top:0;box-shadow:0 2px 3px -3px rgba(66, 69, 72, 0.4)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{z-index:2}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{z-index:5}z-table-body{width:auto;background-color:var(--color-white)}z-table-empty-box{display:flex;flex-direction:column;flex-grow:1;border-bottom:var(--border-size-small) solid var(--bg-grey-200)}z-table-empty-box.bordered{border-left:var(--border-size-small) solid var(--bg-grey-200)}.error-message{margin-top:calc(var(--space-unit) * 2)}.table-content{display:flex;flex-direction:row;width:100%}.error-content{font-family:var(--dashboard-font);padding:calc(var(--space-unit) * 3);display:flex}.error-content>img{width:244px;height:188px;margin-right:calc(var(--space-unit) * 3)}@media only screen and (max-width: 768px){z-table>div.table-empty{display:none}.error-content{display:flex;flex-direction:column}.error-content>img{width:auto;height:auto}.text{padding:calc(var(--space-unit) * 3) 0}}";export{d as z_table}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,c as o,h as t}from"./p-
|
|
1
|
+
import{r as a,c as o,h as t}from"./p-1acbd992.js";const i=class{constructor(t){a(this,t),this.modalClose=o(this,"modalClose",7),this.modalHeaderActive=o(this,"modalHeaderActive",7),this.modalBackgroundClick=o(this,"modalBackgroundClick",7),this.closeButtonLabel="close modal"}emitModalClose(){this.modalClose.emit({modalid:this.modalid})}emitModalHeaderActive(){this.modalHeaderActive.emit({modalid:this.modalid})}emitBackgroundClick(){this.modalBackgroundClick.emit({modalid:this.modalid})}render(){return[t("div",{class:"modal-container",id:this.modalid,role:"dialog"},t("header",{onClick:this.emitModalHeaderActive.bind(this)},t("div",null,this.modaltitle&&t("h1",null,this.modaltitle),this.modalsubtitle&&t("h2",null,this.modalsubtitle)),t("slot",{name:"modalCloseButton"},t("button",{"aria-label":this.closeButtonLabel,onClick:this.emitModalClose.bind(this)},t("z-icon",{name:"multiply-circle-filled"})))),t("div",{class:"modal-content"},t("slot",{name:"modalContent"}))),t("div",{class:"modal-background","data-action":"modalBackground","data-modal":this.modalid,onClick:this.emitBackgroundClick.bind(this)})]}};i.style=":host{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;display:flex;flex-direction:row;justify-content:center;width:100%;height:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.modal-background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}.modal-container{display:flex;flex-direction:column;z-index:1010;width:100%;height:100vh;overflow:-moz-scrollbars-none;overflow:hidden}.modal-container>header{display:flex;flex-wrap:nowrap;flex-direction:row;align-items:flex-start;justify-content:flex-start;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);background:var(--color-surface02)}.modal-container>header button{margin:0;padding:0;border:none;background:transparent;cursor:pointer;margin-left:auto}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 2.5);--z-icon-height:calc(var(--space-unit) * 2.5);display:flex;fill:var(--color-icon01)}.modal-container>header>div{display:flex;flex-direction:column;width:100%;margin-right:calc(var(--space-unit) * 2)}.modal-container>header h1,.modal-container>header h2{margin:0;padding:0;font-weight:var(--font-rg);color:var(--color-text01)}.modal-container>header h1{font-size:var(--font-size-5);line-height:1.4;letter-spacing:0}.modal-container>header h2{font-size:var(--font-size-3);line-height:1.5;letter-spacing:0}.modal-container>header>div *:empty{display:none}.modal-container>header h1+h2{margin-top:calc(var(--space-unit) * 0.5)}.modal-container>.modal-content{flex:1 auto;background:var(--color-surface01);overflow:auto;overflow-x:hidden}.modal-container .modal-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)}.modal-container .modal-content::-webkit-scrollbar-track{background-color:transparent}.modal-container .modal-content::-webkit-scrollbar-thumb{background-color:var(--color-primary01);border-radius:var(--border-radius);width:10px}.modal-container .modal-content::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.modal-container .modal-content{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.modal-container{position:fixed;top:calc(var(--space-unit) * 6);left:50%;transform:translateX(-50%);width:auto;height:auto;min-width:calc(var(--space-unit) * 40);min-height:calc(var(--space-unit) * 40);max-height:calc(100vh - calc(var(--space-unit) * 6 * 2));border-radius:var(--border-radius)}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3)}}@media only screen and (min-width: 768px) and (max-width: 1151px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3)}}@media only screen and (min-width: 1152px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 4)}.modal-container>header h1{font-size:var(--font-size-6);line-height:1.33;letter-spacing:0}.modal-container>header h2{font-size:var(--font-size-4);line-height:1.5;letter-spacing:0}.modal-container>header h1+h2{margin-top:0}}";export{i as z_modal}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-
|
|
1
|
+
import{r as t,h as e}from"./p-1acbd992.js";const n=class{constructor(e){t(this,e)}render(){return e("div",null,e("slot",{name:"content"}))}};n.style=":host{font-family:var(--dashboard-font);font-weight:var(--font-rg);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-content:center}:host>div{position:fixed;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;top:30vh;max-width:297px;height:fit-content;min-height:232px;z-index:1000;margin:auto;overflow:auto;overflow:-moz-scrollbars-none;-ms-overflow-style:none;background:var(--myz-blue-lighter);border-radius:calc(var(--space-unit) * .5);box-shadow:0px -2px 4px 0px rgba(66, 69, 72, 0.4)}@media only screen and (min-width: 768px){:host>div{position:initial;flex-wrap:nowrap;justify-content:space-between;align-items:center;align-content:stretch;position:fixed;top:auto;bottom:0;margin:0 auto;left:0;right:0;height:auto;min-height:138px;max-width:100%;border-radius:0px}}@media only screen and (min-width: 1152px){:host>div{min-height:122px}}";export{n as z_candybar}
|