@zanichelli/albe-web-components 5.5.1-rc.1 → 5.5.1
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 +2 -0
- package/dist/cjs/_commonjsHelpers-10109b76.js +48 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/css-shim-f1391d35.js +6 -0
- package/dist/cjs/dom-5345ed9a.js +75 -0
- package/dist/cjs/hammer-0741ba49.js +2651 -0
- package/dist/cjs/index-438f76bc.js +334 -0
- package/dist/cjs/index-545547ad.js +66 -0
- package/dist/cjs/index-6b6a3299.js +315 -0
- package/dist/cjs/index-fcbe2d6e.js +3093 -0
- package/dist/cjs/index.cjs.js +284 -2
- package/dist/cjs/loader.cjs.js +18 -2
- package/dist/cjs/shadow-css-42acdd0e.js +390 -0
- package/dist/cjs/utils-0a978fe0.js +118 -0
- package/dist/cjs/utils-56c20ead.js +118 -0
- package/dist/cjs/utils-69e42a14.js +2742 -0
- package/dist/cjs/{utils-eca6932d.js → utils-8cc414c9.js} +1 -1
- package/dist/cjs/{utils-21d41d92.js → utils-aca0a0b6.js} +25 -3
- package/dist/cjs/web-components-library.cjs.js +116 -4
- 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 +29 -0
- package/dist/cjs/z-app-switcher_11.cjs.entry.js +377 -0
- package/dist/cjs/z-app-topbar.cjs.entry.js +41 -0
- 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.cjs.entry.js +17 -0
- 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 +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-date-picker.cjs.entry.js +14 -8
- package/dist/cjs/z-divider.cjs.entry.js +26 -0
- package/dist/cjs/z-dragdrop-area.cjs.entry.js +37 -0
- package/dist/cjs/z-file-upload.cjs.entry.js +12 -26
- package/dist/cjs/z-file.cjs.entry.js +4 -4
- package/dist/cjs/z-footer-link.cjs.entry.js +19 -0
- package/dist/cjs/z-footer-section.cjs.entry.js +23 -0
- package/dist/cjs/z-footer-social.cjs.entry.js +19 -0
- 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-heading.cjs.entry.js +17 -0
- package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
- package/dist/cjs/z-icon.cjs.entry.js +28 -0
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
- package/dist/cjs/z-input-deprecated.cjs.entry.js +3 -3
- package/dist/cjs/z-input-label.cjs.entry.js +21 -0
- package/dist/cjs/z-input-label_2.cjs.entry.js +2 -2
- package/dist/cjs/z-input-message.cjs.entry.js +24 -0
- package/dist/cjs/z-input.cjs.entry.js +235 -0
- package/dist/cjs/z-input_2.cjs.entry.js +228 -0
- package/dist/cjs/z-link.cjs.entry.js +71 -0
- package/dist/cjs/z-list-element.cjs.entry.js +154 -0
- package/dist/cjs/z-list-group.cjs.entry.js +2 -2
- package/dist/cjs/z-list.cjs.entry.js +34 -0
- package/dist/cjs/z-list_2.cjs.entry.js +1 -1
- package/dist/cjs/z-logo.cjs.entry.js +28 -0
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +60 -0
- 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-body.cjs.entry.js +19 -0
- package/dist/cjs/z-myz-card-cover.cjs.entry.js +22 -0
- 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-header.cjs.entry.js +39 -0
- 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.cjs.entry.js +43 -0
- 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-list.cjs.entry.js +35 -0
- 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 +7 -5
- 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-body.cjs.entry.js +27 -0
- package/dist/cjs/z-pocket-header.cjs.entry.js +40 -0
- package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket.cjs.entry.js +72 -0
- 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-app-switcher_9.cjs.entry.js → z-range-picker.cjs.entry.js} +14 -443
- package/dist/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/cjs/z-select.cjs.entry.js +257 -0
- 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-typography.cjs.entry.js +29 -0
- 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/components/buttons/z-chip/index.js +1 -1
- package/dist/collection/components/buttons/z-chip/styles.css +9 -2
- package/dist/collection/components/file-upload/z-file/index.js +3 -19
- package/dist/collection/components/file-upload/z-file-upload/index.js +11 -46
- package/dist/collection/components/z-date-picker/index.js +284 -0
- package/dist/collection/components/z-date-picker/styles.css +525 -0
- package/dist/collection/index.js +1 -0
- package/dist/esm/_commonjsHelpers-8fe71198.js +44 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/css-shim-10e6e2ae.js +4 -0
- package/dist/esm/dom-7cd9cf71.js +73 -0
- package/dist/esm/hammer-782a2043.js +2649 -0
- package/dist/esm/{index-e5e2b27f.js → index-3b53c63e.js} +1 -1
- package/dist/esm/index-3ee81524.js +334 -0
- package/dist/esm/index-46ca649a.js +315 -0
- package/dist/esm/index-51f075dd.js +64 -0
- package/dist/esm/index-81176684.js +3057 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +18 -2
- package/dist/esm/shadow-css-38a1326b.js +388 -0
- package/dist/esm/{utils-34c0d609.js → utils-1e801ac0.js} +26 -4
- package/dist/esm/utils-43f2cad8.js +2736 -0
- package/dist/esm/{utils-9fa9c37c.js → utils-5d5963ef.js} +2 -2
- package/dist/esm/utils-a3134cfb.js +109 -0
- package/dist/esm/utils-e5940345.js +109 -0
- package/dist/esm/web-components-library.js +116 -4
- 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 +25 -0
- package/dist/esm/z-app-switcher_11.entry.js +363 -0
- package/dist/esm/z-app-topbar.entry.js +37 -0
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-body.entry.js +13 -0
- 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 +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-date-picker.entry.js +14 -8
- package/dist/esm/z-divider.entry.js +22 -0
- package/dist/esm/z-dragdrop-area.entry.js +33 -0
- package/dist/esm/z-file-upload.entry.js +12 -26
- package/dist/esm/z-file.entry.js +4 -4
- package/dist/esm/z-footer-link.entry.js +15 -0
- package/dist/esm/z-footer-section.entry.js +19 -0
- package/dist/esm/z-footer-social.entry.js +15 -0
- package/dist/esm/z-footer.entry.js +2 -2
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-heading.entry.js +13 -0
- package/dist/esm/z-icon-package.entry.js +1 -1
- package/dist/esm/z-icon.entry.js +24 -0
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -2
- package/dist/esm/z-input-deprecated.entry.js +3 -3
- package/dist/esm/z-input-label.entry.js +17 -0
- package/dist/esm/z-input-label_2.entry.js +2 -2
- package/dist/esm/z-input-message.entry.js +20 -0
- package/dist/esm/z-input.entry.js +231 -0
- package/dist/esm/z-input_2.entry.js +223 -0
- package/dist/esm/z-link.entry.js +67 -0
- package/dist/esm/z-list-element.entry.js +150 -0
- package/dist/esm/z-list-group.entry.js +2 -2
- package/dist/esm/z-list.entry.js +30 -0
- package/dist/esm/z-list_2.entry.js +1 -1
- package/dist/esm/z-logo.entry.js +24 -0
- package/dist/esm/z-menu-dropdown.entry.js +56 -0
- 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-body.entry.js +15 -0
- package/dist/esm/z-myz-card-cover.entry.js +18 -0
- 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-header.entry.js +35 -0
- 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.entry.js +39 -0
- 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-list.entry.js +31 -0
- 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 +7 -5
- 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-body.entry.js +23 -0
- package/dist/esm/z-pocket-header.entry.js +36 -0
- package/dist/esm/z-pocket-message.entry.js +1 -1
- package/dist/esm/z-pocket.entry.js +68 -0
- 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-app-switcher_9.entry.js → z-range-picker.entry.js} +5 -426
- package/dist/esm/z-section-title.entry.js +2 -2
- package/dist/esm/z-select.entry.js +253 -0
- 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-typography.entry.js +25 -0
- package/dist/esm/z-user-dropdown.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/components/file-upload/z-file/index.d.ts +0 -2
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +3 -5
- package/dist/types/components/z-date-picker/index.d.ts +30 -0
- package/dist/types/components.d.ts +0 -12
- package/dist/types/index.d.ts +1 -0
- package/dist/web-components-library/_commonjsHelpers-8fe71198.js +44 -0
- package/dist/web-components-library/app-globals-0f993ce5.js +3 -0
- package/dist/web-components-library/breakpoints-c386984e.js +4 -0
- package/dist/web-components-library/css-shim-10e6e2ae.js +4 -0
- package/dist/web-components-library/dom-7cd9cf71.js +73 -0
- package/dist/web-components-library/hammer-782a2043.js +2649 -0
- package/dist/web-components-library/icons-92a7dcde.js +511 -0
- package/dist/web-components-library/index-3b53c63e.js +334 -0
- package/dist/web-components-library/index-3ee81524.js +334 -0
- package/dist/web-components-library/index-51f075dd.js +64 -0
- package/dist/web-components-library/index-81176684.js +3057 -0
- package/dist/web-components-library/index.esm.js +9 -1
- package/{www/build/p-3ade68ff.entry.js → dist/web-components-library/p-02ea7e49.entry.js} +1 -1
- package/dist/web-components-library/{p-39dbb042.entry.js → p-0a0aee35.entry.js} +1 -1
- package/dist/web-components-library/p-0d29d851.entry.js +1 -0
- package/dist/web-components-library/{p-a73195b6.entry.js → p-0e256fdc.entry.js} +1 -1
- package/dist/web-components-library/p-0e408871.entry.js +1 -0
- package/dist/web-components-library/p-0ef6c549.entry.js +1 -0
- package/dist/web-components-library/{p-afed0692.entry.js → p-0f17db30.entry.js} +1 -1
- package/dist/web-components-library/{p-80f26a20.entry.js → p-1727c1c8.entry.js} +1 -1
- package/dist/web-components-library/p-1f73a6d8.entry.js +1 -0
- package/dist/web-components-library/p-20d62443.entry.js +1 -0
- package/dist/web-components-library/{p-2ed37f62.entry.js → p-292bc0c4.entry.js} +1 -1
- package/dist/web-components-library/{p-1c790896.entry.js → p-3c111c2a.entry.js} +1 -1
- package/{www/build/p-9504d075.entry.js → dist/web-components-library/p-3edbd35c.entry.js} +1 -1
- package/dist/web-components-library/{p-ac52264c.entry.js → p-43329b81.entry.js} +1 -1
- package/{www/build/p-96bf5b15.entry.js → dist/web-components-library/p-4af112a7.entry.js} +1 -1
- package/dist/web-components-library/{p-3d748f0d.entry.js → p-51cdabeb.entry.js} +1 -1
- package/dist/web-components-library/{p-3700ad63.entry.js → p-55ddbfe9.entry.js} +1 -1
- package/dist/web-components-library/p-562e2d52.entry.js +1 -0
- package/dist/web-components-library/{p-07ae4f7d.entry.js → p-57d1acdc.entry.js} +1 -1
- package/dist/web-components-library/{p-eddde828.entry.js → p-5be162d5.entry.js} +1 -1
- package/dist/web-components-library/p-5eacbfc7.entry.js +1 -0
- package/dist/web-components-library/p-6218514a.entry.js +1 -0
- package/dist/web-components-library/{p-27666111.entry.js → p-63ccb013.entry.js} +1 -1
- package/{www/build/p-ba76f52b.entry.js → dist/web-components-library/p-69ef6ddc.entry.js} +1 -1
- package/dist/web-components-library/{p-d4c5085b.entry.js → p-6c6b4e80.entry.js} +1 -1
- package/dist/web-components-library/p-71accd8e.entry.js +1 -0
- package/dist/web-components-library/{p-faeb0c6e.entry.js → p-7c6d4440.entry.js} +1 -1
- package/dist/web-components-library/{p-b621a765.entry.js → p-8fbc2ce9.entry.js} +1 -1
- package/dist/web-components-library/{p-7e691a4e.entry.js → p-9074e1a5.entry.js} +1 -1
- package/dist/web-components-library/p-99d7ab2f.entry.js +1 -0
- package/dist/web-components-library/p-9a5ee6c2.entry.js +1 -0
- package/dist/web-components-library/p-9f5d707a.js +1 -0
- package/dist/web-components-library/{p-977c81d3.entry.js → p-9f9e4266.entry.js} +1 -1
- package/dist/web-components-library/p-a8875b97.entry.js +16 -0
- package/dist/web-components-library/{p-cb4a854e.entry.js → p-b15efba3.entry.js} +1 -1
- package/dist/web-components-library/{p-5aa819f8.js → p-b9da171f.js} +1 -1
- package/dist/web-components-library/{p-91cbf793.entry.js → p-ba29bc12.entry.js} +1 -1
- package/dist/web-components-library/{p-766eb9cf.entry.js → p-bfe5693d.entry.js} +1 -1
- package/dist/web-components-library/{p-215adfd1.entry.js → p-ccdebe3f.entry.js} +1 -1
- package/dist/web-components-library/{p-e6fb8b76.entry.js → p-d33fea26.entry.js} +1 -1
- package/dist/web-components-library/p-d39c0372.entry.js +1 -0
- package/{www/build/p-e5eb1fa4.entry.js → dist/web-components-library/p-d97a2db9.entry.js} +1 -1
- package/dist/web-components-library/p-d995d9dc.entry.js +1 -0
- package/dist/web-components-library/{p-846f16e8.entry.js → p-de25c7f0.entry.js} +1 -1
- package/{www/build/p-818c073b.entry.js → dist/web-components-library/p-df4e963b.entry.js} +1 -1
- package/dist/web-components-library/{p-d5e67db8.entry.js → p-dffdf60a.entry.js} +1 -1
- package/{www/build/p-878e62e2.entry.js → dist/web-components-library/p-e2102da3.entry.js} +1 -1
- package/dist/web-components-library/p-e2431b92.entry.js +1 -0
- package/dist/web-components-library/{p-7f48b622.entry.js → p-edb8d2ab.entry.js} +1 -1
- package/dist/web-components-library/{p-cb3663e6.entry.js → p-fe927bf4.entry.js} +1 -1
- package/dist/web-components-library/shadow-css-38a1326b.js +388 -0
- package/dist/web-components-library/utils-1e801ac0.js +2736 -0
- package/dist/web-components-library/utils-43f2cad8.js +2736 -0
- package/dist/web-components-library/utils-a3134cfb.js +109 -0
- package/dist/web-components-library/utils-e5940345.js +109 -0
- package/dist/web-components-library/web-components-library.css +812 -1
- package/dist/web-components-library/web-components-library.esm.js +129 -1
- package/dist/web-components-library/z-alert.entry.js +15 -0
- package/dist/web-components-library/z-app-header.entry.js +127 -0
- package/dist/web-components-library/z-app-switcher.entry.js +25 -0
- package/dist/web-components-library/z-app-topbar.entry.js +37 -0
- package/dist/web-components-library/z-aria-alert.entry.js +14 -0
- package/dist/web-components-library/z-avatar.entry.js +39 -0
- package/dist/web-components-library/z-body.entry.js +13 -0
- package/dist/web-components-library/z-button-deprecated.entry.js +34 -0
- package/dist/web-components-library/z-button-filter.entry.js +45 -0
- package/dist/web-components-library/z-button-sort.entry.js +50 -0
- package/dist/web-components-library/z-button.entry.js +38 -0
- package/dist/web-components-library/z-candybar.entry.js +15 -0
- package/dist/web-components-library/z-card.entry.js +65 -0
- package/dist/web-components-library/z-carousel.entry.js +20 -0
- package/dist/web-components-library/z-chip-deprecated.entry.js +20 -0
- package/dist/web-components-library/z-chip.entry.js +33 -0
- package/dist/web-components-library/z-combobox.entry.js +166 -0
- package/dist/web-components-library/z-contextual-menu.entry.js +47 -0
- package/dist/web-components-library/z-cookiebar.entry.js +38 -0
- package/dist/web-components-library/z-date-picker.entry.js +484 -0
- package/dist/web-components-library/z-divider.entry.js +22 -0
- package/dist/web-components-library/z-dragdrop-area.entry.js +33 -0
- package/dist/web-components-library/z-file-upload.entry.js +168 -0
- package/dist/web-components-library/z-file.entry.js +44 -0
- package/dist/web-components-library/z-footer-link.entry.js +15 -0
- package/dist/web-components-library/z-footer-section.entry.js +19 -0
- package/dist/web-components-library/z-footer-social.entry.js +15 -0
- package/dist/web-components-library/z-footer.entry.js +103 -0
- package/dist/web-components-library/z-ghost-loading.entry.js +15 -0
- package/dist/web-components-library/z-heading.entry.js +13 -0
- package/dist/web-components-library/z-icon-package.entry.js +19 -0
- package/dist/web-components-library/z-icon.entry.js +24 -0
- package/dist/web-components-library/z-info-box.entry.js +21 -0
- package/dist/web-components-library/z-info-reveal.entry.js +60 -0
- package/dist/web-components-library/z-input-deprecated.entry.js +267 -0
- package/dist/web-components-library/z-input-label.entry.js +17 -0
- package/dist/web-components-library/z-input-message.entry.js +20 -0
- package/dist/web-components-library/z-input.entry.js +231 -0
- package/dist/web-components-library/z-link.entry.js +67 -0
- package/dist/web-components-library/z-list-element.entry.js +150 -0
- package/dist/web-components-library/z-list-group.entry.js +50 -0
- package/dist/web-components-library/z-list.entry.js +30 -0
- package/dist/web-components-library/z-logo.entry.js +24 -0
- package/dist/web-components-library/z-menu-dropdown.entry.js +56 -0
- package/dist/web-components-library/z-menu-section.entry.js +42 -0
- package/dist/web-components-library/z-menu.entry.js +106 -0
- package/dist/web-components-library/z-messages-pocket.entry.js +42 -0
- package/dist/web-components-library/z-modal-login.entry.js +78 -0
- package/dist/web-components-library/z-modal.entry.js +32 -0
- package/dist/web-components-library/z-myz-card-alert.entry.js +59 -0
- package/dist/web-components-library/z-myz-card-body.entry.js +15 -0
- package/dist/web-components-library/z-myz-card-cover.entry.js +18 -0
- package/dist/web-components-library/z-myz-card-dictionary.entry.js +32 -0
- package/dist/web-components-library/z-myz-card-footer-sections.entry.js +15 -0
- package/dist/web-components-library/z-myz-card-footer.entry.js +52 -0
- package/dist/web-components-library/z-myz-card-header.entry.js +35 -0
- package/dist/web-components-library/z-myz-card-icon.entry.js +17 -0
- package/dist/web-components-library/z-myz-card-info.entry.js +115 -0
- package/dist/web-components-library/z-myz-card-list.entry.js +33 -0
- package/dist/web-components-library/z-myz-card.entry.js +39 -0
- package/dist/web-components-library/z-myz-list-item.entry.js +33 -0
- package/dist/web-components-library/z-myz-list.entry.js +31 -0
- package/dist/web-components-library/z-myz-topbar.entry.js +190 -0
- package/dist/web-components-library/z-navigation-tab-link.entry.js +67 -0
- package/dist/web-components-library/z-navigation-tab.entry.js +69 -0
- package/dist/web-components-library/z-navigation-tabs.entry.js +122 -0
- package/dist/web-components-library/z-notification.entry.js +42 -0
- package/dist/web-components-library/z-offcanvas.entry.js +59 -0
- package/dist/web-components-library/z-otp.entry.js +37 -0
- package/dist/web-components-library/z-pagination-bar.entry.js +126 -0
- package/dist/web-components-library/z-pagination-page.entry.js +21 -0
- package/dist/web-components-library/z-pagination.entry.js +228 -0
- package/dist/web-components-library/z-panel-elem.entry.js +26 -0
- package/dist/web-components-library/z-pocket-body.entry.js +23 -0
- package/dist/web-components-library/z-pocket-header.entry.js +36 -0
- package/dist/web-components-library/z-pocket-message.entry.js +15 -0
- package/dist/web-components-library/z-pocket.entry.js +68 -0
- package/dist/web-components-library/z-popover-deprecated.entry.js +128 -0
- package/dist/web-components-library/z-popover.entry.js +332 -0
- package/dist/web-components-library/z-range-picker.entry.js +354 -0
- package/dist/web-components-library/z-section-title.entry.js +38 -0
- package/dist/web-components-library/z-select.entry.js +253 -0
- package/dist/web-components-library/z-skip-to-content.entry.js +64 -0
- package/dist/web-components-library/z-slideshow.entry.js +108 -0
- package/dist/web-components-library/z-status-tag.entry.js +25 -0
- package/dist/web-components-library/z-stepper-item.entry.js +18 -0
- package/dist/web-components-library/z-stepper.entry.js +15 -0
- package/dist/web-components-library/z-table-body.entry.js +20 -0
- package/dist/web-components-library/z-table-cell.entry.js +32 -0
- package/dist/web-components-library/z-table-empty-box.entry.js +28 -0
- package/dist/web-components-library/z-table-expanded-row.entry.js +15 -0
- package/dist/web-components-library/z-table-footer.entry.js +19 -0
- package/dist/web-components-library/z-table-head.entry.js +19 -0
- package/dist/web-components-library/z-table-header-row.entry.js +18 -0
- package/dist/web-components-library/z-table-header.entry.js +81 -0
- package/dist/web-components-library/z-table-row.entry.js +39 -0
- package/dist/web-components-library/z-table-sticky-footer.entry.js +15 -0
- package/dist/web-components-library/z-table.entry.js +78 -0
- package/dist/web-components-library/z-tag.entry.js +18 -0
- package/dist/web-components-library/z-toast-notification-list.entry.js +52 -0
- package/dist/web-components-library/z-toast-notification.entry.js +199 -0
- package/dist/web-components-library/z-toggle-button.entry.js +32 -0
- package/dist/web-components-library/z-toggle-switch.entry.js +45 -0
- package/dist/web-components-library/z-tooltip-deprecated.entry.js +270 -0
- package/dist/web-components-library/z-tooltip.entry.js +27 -0
- package/dist/web-components-library/z-typography.entry.js +25 -0
- package/dist/web-components-library/z-user-dropdown.entry.js +91 -0
- package/dist/web-components-library/z-visually-hidden.entry.js +15 -0
- package/package.json +1 -2
- package/react/components.d.ts +0 -4
- package/react/components.js +3 -7
- package/react/components.js.map +1 -1
- package/readme.md +0 -8
- package/www/build/_commonjsHelpers-8fe71198.js +44 -0
- package/www/build/app-globals-0f993ce5.js +3 -0
- package/www/build/breakpoints-c386984e.js +4 -0
- package/www/build/css-shim-10e6e2ae.js +4 -0
- package/www/build/dom-7cd9cf71.js +73 -0
- package/www/build/hammer-782a2043.js +2649 -0
- package/www/build/icons-92a7dcde.js +511 -0
- package/www/build/index-3b53c63e.js +334 -0
- package/www/build/index-3ee81524.js +334 -0
- package/www/build/index-51f075dd.js +64 -0
- package/www/build/index-81176684.js +3057 -0
- package/www/build/index.esm.js +9 -1
- package/{dist/web-components-library/p-3ade68ff.entry.js → www/build/p-02ea7e49.entry.js} +1 -1
- package/www/build/{p-39dbb042.entry.js → p-0a0aee35.entry.js} +1 -1
- package/www/build/p-0d29d851.entry.js +1 -0
- package/www/build/{p-a73195b6.entry.js → p-0e256fdc.entry.js} +1 -1
- package/www/build/p-0e408871.entry.js +1 -0
- package/www/build/p-0ef6c549.entry.js +1 -0
- package/www/build/{p-afed0692.entry.js → p-0f17db30.entry.js} +1 -1
- package/www/build/{p-80f26a20.entry.js → p-1727c1c8.entry.js} +1 -1
- package/www/build/p-1f73a6d8.entry.js +1 -0
- package/www/build/p-20d62443.entry.js +1 -0
- package/www/build/{p-2ed37f62.entry.js → p-292bc0c4.entry.js} +1 -1
- package/www/build/{p-1c790896.entry.js → p-3c111c2a.entry.js} +1 -1
- package/{dist/web-components-library/p-9504d075.entry.js → www/build/p-3edbd35c.entry.js} +1 -1
- package/www/build/{p-ac52264c.entry.js → p-43329b81.entry.js} +1 -1
- package/{dist/web-components-library/p-96bf5b15.entry.js → www/build/p-4af112a7.entry.js} +1 -1
- package/www/build/{p-3d748f0d.entry.js → p-51cdabeb.entry.js} +1 -1
- package/www/build/{p-3700ad63.entry.js → p-55ddbfe9.entry.js} +1 -1
- package/www/build/p-562e2d52.entry.js +1 -0
- package/www/build/{p-07ae4f7d.entry.js → p-57d1acdc.entry.js} +1 -1
- package/www/build/{p-eddde828.entry.js → p-5be162d5.entry.js} +1 -1
- package/www/build/p-5eacbfc7.entry.js +1 -0
- package/www/build/p-6218514a.entry.js +1 -0
- package/www/build/{p-27666111.entry.js → p-63ccb013.entry.js} +1 -1
- package/{dist/web-components-library/p-ba76f52b.entry.js → www/build/p-69ef6ddc.entry.js} +1 -1
- package/www/build/{p-d4c5085b.entry.js → p-6c6b4e80.entry.js} +1 -1
- package/www/build/p-71accd8e.entry.js +1 -0
- package/www/build/p-7a92487a.js +1 -0
- package/www/build/{p-faeb0c6e.entry.js → p-7c6d4440.entry.js} +1 -1
- package/www/build/p-88b56b6e.css +1 -0
- package/www/build/{p-b621a765.entry.js → p-8fbc2ce9.entry.js} +1 -1
- package/www/build/{p-7e691a4e.entry.js → p-9074e1a5.entry.js} +1 -1
- package/www/build/p-99d7ab2f.entry.js +1 -0
- package/www/build/p-9a5ee6c2.entry.js +1 -0
- package/www/build/p-9f5d707a.js +1 -0
- package/www/build/{p-977c81d3.entry.js → p-9f9e4266.entry.js} +1 -1
- package/www/build/p-a8875b97.entry.js +16 -0
- package/www/build/{p-cb4a854e.entry.js → p-b15efba3.entry.js} +1 -1
- package/www/build/{p-5aa819f8.js → p-b9da171f.js} +1 -1
- package/www/build/{p-91cbf793.entry.js → p-ba29bc12.entry.js} +1 -1
- package/www/build/{p-766eb9cf.entry.js → p-bfe5693d.entry.js} +1 -1
- package/www/build/{p-215adfd1.entry.js → p-ccdebe3f.entry.js} +1 -1
- package/www/build/{p-e6fb8b76.entry.js → p-d33fea26.entry.js} +1 -1
- package/www/build/p-d39c0372.entry.js +1 -0
- package/{dist/web-components-library/p-e5eb1fa4.entry.js → www/build/p-d97a2db9.entry.js} +1 -1
- package/www/build/p-d995d9dc.entry.js +1 -0
- package/www/build/{p-846f16e8.entry.js → p-de25c7f0.entry.js} +1 -1
- package/{dist/web-components-library/p-818c073b.entry.js → www/build/p-df4e963b.entry.js} +1 -1
- package/www/build/{p-d5e67db8.entry.js → p-dffdf60a.entry.js} +1 -1
- package/{dist/web-components-library/p-878e62e2.entry.js → www/build/p-e2102da3.entry.js} +1 -1
- package/www/build/p-e2431b92.entry.js +1 -0
- package/www/build/{p-7f48b622.entry.js → p-edb8d2ab.entry.js} +1 -1
- package/www/build/{p-cb3663e6.entry.js → p-fe927bf4.entry.js} +1 -1
- package/www/build/shadow-css-38a1326b.js +388 -0
- package/www/build/utils-1e801ac0.js +2736 -0
- package/www/build/utils-43f2cad8.js +2736 -0
- package/www/build/utils-a3134cfb.js +109 -0
- package/www/build/utils-e5940345.js +109 -0
- package/www/build/web-components-library.css +812 -1
- package/www/build/web-components-library.esm.js +129 -1
- package/www/build/z-alert.entry.js +15 -0
- package/www/build/z-app-header.entry.js +127 -0
- package/www/build/z-app-switcher.entry.js +25 -0
- package/www/build/z-app-topbar.entry.js +37 -0
- package/www/build/z-aria-alert.entry.js +14 -0
- package/www/build/z-avatar.entry.js +39 -0
- package/www/build/z-body.entry.js +13 -0
- package/www/build/z-button-deprecated.entry.js +34 -0
- package/www/build/z-button-filter.entry.js +45 -0
- package/www/build/z-button-sort.entry.js +50 -0
- package/www/build/z-button.entry.js +38 -0
- package/www/build/z-candybar.entry.js +15 -0
- package/www/build/z-card.entry.js +65 -0
- package/www/build/z-carousel.entry.js +20 -0
- package/www/build/z-chip-deprecated.entry.js +20 -0
- package/www/build/z-chip.entry.js +33 -0
- package/www/build/z-combobox.entry.js +166 -0
- package/www/build/z-contextual-menu.entry.js +47 -0
- package/www/build/z-cookiebar.entry.js +38 -0
- package/www/build/z-date-picker.entry.js +484 -0
- package/www/build/z-divider.entry.js +22 -0
- package/www/build/z-dragdrop-area.entry.js +33 -0
- package/www/build/z-file-upload.entry.js +168 -0
- package/www/build/z-file.entry.js +44 -0
- package/www/build/z-footer-link.entry.js +15 -0
- package/www/build/z-footer-section.entry.js +19 -0
- package/www/build/z-footer-social.entry.js +15 -0
- package/www/build/z-footer.entry.js +103 -0
- package/www/build/z-ghost-loading.entry.js +15 -0
- package/www/build/z-heading.entry.js +13 -0
- package/www/build/z-icon-package.entry.js +19 -0
- package/www/build/z-icon.entry.js +24 -0
- package/www/build/z-info-box.entry.js +21 -0
- package/www/build/z-info-reveal.entry.js +60 -0
- package/www/build/z-input-deprecated.entry.js +267 -0
- package/www/build/z-input-label.entry.js +17 -0
- package/www/build/z-input-message.entry.js +20 -0
- package/www/build/z-input.entry.js +231 -0
- package/www/build/z-link.entry.js +67 -0
- package/www/build/z-list-element.entry.js +150 -0
- package/www/build/z-list-group.entry.js +50 -0
- package/www/build/z-list.entry.js +30 -0
- package/www/build/z-logo.entry.js +24 -0
- package/www/build/z-menu-dropdown.entry.js +56 -0
- package/www/build/z-menu-section.entry.js +42 -0
- package/www/build/z-menu.entry.js +106 -0
- package/www/build/z-messages-pocket.entry.js +42 -0
- package/www/build/z-modal-login.entry.js +78 -0
- package/www/build/z-modal.entry.js +32 -0
- package/www/build/z-myz-card-alert.entry.js +59 -0
- package/www/build/z-myz-card-body.entry.js +15 -0
- package/www/build/z-myz-card-cover.entry.js +18 -0
- package/www/build/z-myz-card-dictionary.entry.js +32 -0
- package/www/build/z-myz-card-footer-sections.entry.js +15 -0
- package/www/build/z-myz-card-footer.entry.js +52 -0
- package/www/build/z-myz-card-header.entry.js +35 -0
- package/www/build/z-myz-card-icon.entry.js +17 -0
- package/www/build/z-myz-card-info.entry.js +115 -0
- package/www/build/z-myz-card-list.entry.js +33 -0
- package/www/build/z-myz-card.entry.js +39 -0
- package/www/build/z-myz-list-item.entry.js +33 -0
- package/www/build/z-myz-list.entry.js +31 -0
- package/www/build/z-myz-topbar.entry.js +190 -0
- package/www/build/z-navigation-tab-link.entry.js +67 -0
- package/www/build/z-navigation-tab.entry.js +69 -0
- package/www/build/z-navigation-tabs.entry.js +122 -0
- package/www/build/z-notification.entry.js +42 -0
- package/www/build/z-offcanvas.entry.js +59 -0
- package/www/build/z-otp.entry.js +37 -0
- package/www/build/z-pagination-bar.entry.js +126 -0
- package/www/build/z-pagination-page.entry.js +21 -0
- package/www/build/z-pagination.entry.js +228 -0
- package/www/build/z-panel-elem.entry.js +26 -0
- package/www/build/z-pocket-body.entry.js +23 -0
- package/www/build/z-pocket-header.entry.js +36 -0
- package/www/build/z-pocket-message.entry.js +15 -0
- package/www/build/z-pocket.entry.js +68 -0
- package/www/build/z-popover-deprecated.entry.js +128 -0
- package/www/build/z-popover.entry.js +332 -0
- package/www/build/z-range-picker.entry.js +354 -0
- package/www/build/z-section-title.entry.js +38 -0
- package/www/build/z-select.entry.js +253 -0
- package/www/build/z-skip-to-content.entry.js +64 -0
- package/www/build/z-slideshow.entry.js +108 -0
- package/www/build/z-status-tag.entry.js +25 -0
- package/www/build/z-stepper-item.entry.js +18 -0
- package/www/build/z-stepper.entry.js +15 -0
- package/www/build/z-table-body.entry.js +20 -0
- package/www/build/z-table-cell.entry.js +32 -0
- package/www/build/z-table-empty-box.entry.js +28 -0
- package/www/build/z-table-expanded-row.entry.js +15 -0
- package/www/build/z-table-footer.entry.js +19 -0
- package/www/build/z-table-head.entry.js +19 -0
- package/www/build/z-table-header-row.entry.js +18 -0
- package/www/build/z-table-header.entry.js +81 -0
- package/www/build/z-table-row.entry.js +39 -0
- package/www/build/z-table-sticky-footer.entry.js +15 -0
- package/www/build/z-table.entry.js +78 -0
- package/www/build/z-tag.entry.js +18 -0
- package/www/build/z-toast-notification-list.entry.js +52 -0
- package/www/build/z-toast-notification.entry.js +199 -0
- package/www/build/z-toggle-button.entry.js +32 -0
- package/www/build/z-toggle-switch.entry.js +45 -0
- package/www/build/z-tooltip-deprecated.entry.js +270 -0
- package/www/build/z-tooltip.entry.js +27 -0
- package/www/build/z-typography.entry.js +25 -0
- package/www/build/z-user-dropdown.entry.js +91 -0
- package/www/build/z-visually-hidden.entry.js +15 -0
- package/www/index.html +11 -2
- package/www/pages/file-upload.html +54 -97
- package/dist/web-components-library/p-0146081c.entry.js +0 -16
- package/dist/web-components-library/p-040ea013.entry.js +0 -1
- package/dist/web-components-library/p-0c3e7bc3.js +0 -1
- package/dist/web-components-library/p-0f6229b2.entry.js +0 -1
- package/dist/web-components-library/p-1356eb90.entry.js +0 -1
- package/dist/web-components-library/p-1d4545e8.entry.js +0 -1
- package/dist/web-components-library/p-223566d6.entry.js +0 -1
- package/dist/web-components-library/p-35573e0e.entry.js +0 -1
- package/dist/web-components-library/p-3a991f9c.entry.js +0 -1
- package/dist/web-components-library/p-47a55354.entry.js +0 -1
- package/dist/web-components-library/p-4965b6db.entry.js +0 -1
- package/dist/web-components-library/p-5789bbe7.entry.js +0 -1
- package/dist/web-components-library/p-5e3b8207.entry.js +0 -1
- package/dist/web-components-library/p-79408b00.entry.js +0 -1
- package/dist/web-components-library/p-7a5ecafb.js +0 -1
- package/dist/web-components-library/p-8712d63f.entry.js +0 -1
- package/dist/web-components-library/p-8cf3798f.entry.js +0 -1
- package/dist/web-components-library/p-96ed1e2f.entry.js +0 -1
- package/dist/web-components-library/p-97d62d2a.entry.js +0 -1
- package/dist/web-components-library/p-aba00527.entry.js +0 -1
- package/dist/web-components-library/p-b369bf2f.entry.js +0 -1
- package/dist/web-components-library/p-e4a2811a.entry.js +0 -1
- package/dist/web-components-library/p-e82cee27.entry.js +0 -1
- package/dist/web-components-library/p-f5f15b8e.entry.js +0 -1
- package/www/build/p-0146081c.entry.js +0 -16
- package/www/build/p-040ea013.entry.js +0 -1
- package/www/build/p-0c3e7bc3.js +0 -1
- package/www/build/p-0f6229b2.entry.js +0 -1
- package/www/build/p-1356eb90.entry.js +0 -1
- package/www/build/p-1d4545e8.entry.js +0 -1
- package/www/build/p-223566d6.entry.js +0 -1
- package/www/build/p-3224e0d3.js +0 -129
- package/www/build/p-35573e0e.entry.js +0 -1
- package/www/build/p-3a991f9c.entry.js +0 -1
- package/www/build/p-47a55354.entry.js +0 -1
- package/www/build/p-4965b6db.entry.js +0 -1
- package/www/build/p-5789bbe7.entry.js +0 -1
- package/www/build/p-5e3b8207.entry.js +0 -1
- package/www/build/p-79408b00.entry.js +0 -1
- package/www/build/p-7a5ecafb.js +0 -1
- package/www/build/p-8712d63f.entry.js +0 -1
- package/www/build/p-8cf3798f.entry.js +0 -1
- package/www/build/p-96ed1e2f.entry.js +0 -1
- package/www/build/p-97d62d2a.entry.js +0 -1
- package/www/build/p-9ec1421c.css +0 -816
- package/www/build/p-aba00527.entry.js +0 -1
- package/www/build/p-b369bf2f.entry.js +0 -1
- package/www/build/p-e4a2811a.entry.js +0 -1
- package/www/build/p-e82cee27.entry.js +0 -1
- package/www/build/p-f5f15b8e.entry.js +0 -1
|
@@ -0,0 +1,50 @@
|
|
|
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 };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-81176684.js';
|
|
2
|
+
import { b as ButtonTypeEnum, B as ButtonVariantEnum, c as ButtonSizeEnum } from './index-3ee81524.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ".sc-z-button-h{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:0}[disabled].sc-z-button-h:not([disabled=\"false\"]){pointer-events:none}.sc-z-button-h .z-button--container.sc-z-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:100%;padding:0;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);text-transform:uppercase;text-decoration:none;cursor:pointer;white-space:nowrap;outline:none;fill:currentColor}.sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button{min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button z-icon.sc-z-button{--z-icon-right-margin:var(--space-unit)}[size=\"big\"].sc-z-button-h .z-button--container.sc-z-button{height:44px;min-width:44px}[size=\"small\"].sc-z-button-h .z-button--container.sc-z-button{height:36px;min-width:36px}[size=\"x-small\"].sc-z-button-h .z-button--container.sc-z-button{height:32px;min-width:32px}[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button{background-color:var(--color-primary01);border-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button:hover{background-color:var(--color-hover-primary);border-color:var(--color-hover-primary);color:var(--color-text-inverse)}}[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button:active{background-color:var(--color-pressed-primary);border-color:var(--color-pressed-primary);color:var(--color-text-inverse);box-shadow:var(--shadow-2)}[variant=\"primary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{background-color:var(--color-disabled01);border-color:var(--color-disabled01);color:var(--color-disabled02)}[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button{background-color:var(--color-surface01);border-color:var(--color-primary01);color:var(--color-primary01)}@media (hover: hover){[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button:hover{background-color:var(--color-surface01);border-color:var(--color-hover-primary);color:var(--color-hover-primary)}}[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button:active{background-color:var(--color-surface01);border-color:var(--color-pressed-primary);color:var(--color-pressed-primary);box-shadow:var(--shadow-2)}[variant=\"secondary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{background-color:var(--color-surface01);border-color:var(--color-disabled01);color:var(--color-disabled02)}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button{background-color:transparent;border-color:transparent;color:var(--color-primary01)}@media (hover: hover){[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:hover{background-color:var(--color-primary03);border-color:var(--color-primary03);color:var(--color-hover-primary)}}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{background-color:var(--color-surface01);border-color:var(--color-surface01);color:var(--color-primary01)}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:active{background-color:var(--color-surface01);border-color:var(--color-surface01);color:var(--color-primary01);box-shadow:var(--shadow-2)}[variant=\"tertiary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{background-color:transparent;border-color:transparent;color:var(--color-disabled02)}";
|
|
5
|
+
|
|
6
|
+
const ZButton = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
/** HTML button disabled attribute. */
|
|
10
|
+
this.disabled = false;
|
|
11
|
+
/** HTML button type attribute. */
|
|
12
|
+
this.type = ButtonTypeEnum.button;
|
|
13
|
+
/** Graphical variant: `primary`, `secondary`, `tertiary`. Defaults to `primary`. */
|
|
14
|
+
this.variant = ButtonVariantEnum.primary;
|
|
15
|
+
/** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
|
|
16
|
+
this.size = ButtonSizeEnum.big;
|
|
17
|
+
}
|
|
18
|
+
getAttributes() {
|
|
19
|
+
return {
|
|
20
|
+
id: this.htmlid,
|
|
21
|
+
"aria-label": this.ariaLabel,
|
|
22
|
+
class: {
|
|
23
|
+
"z-button--container": true,
|
|
24
|
+
"z-button--has-text": !!this.hostElement.textContent.trim()
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
if (this.href) {
|
|
30
|
+
return (h("a", Object.assign({}, this.getAttributes(), { href: this.href, target: this.target }), this.icon && h("z-icon", { name: this.icon, width: 16, height: 16 }), h("slot", null)));
|
|
31
|
+
}
|
|
32
|
+
return (h("button", Object.assign({}, this.getAttributes(), { name: this.name, type: this.type, disabled: this.disabled }), this.icon && h("z-icon", { name: this.icon, width: 16, height: 16 }), h("slot", null)));
|
|
33
|
+
}
|
|
34
|
+
get hostElement() { return getElement(this); }
|
|
35
|
+
};
|
|
36
|
+
ZButton.style = stylesCss;
|
|
37
|
+
|
|
38
|
+
export { ZButton as z_button };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":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}}";
|
|
4
|
+
|
|
5
|
+
const ZCandybar = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h("div", null, h("slot", { name: "content" })));
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
ZCandybar.style = stylesCss;
|
|
14
|
+
|
|
15
|
+
export { ZCandybar as z_candybar };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { r as registerInstance, e as createEvent, h, g as getElement } from './index-81176684.js';
|
|
2
|
+
import { C as CardVariants } from './index-3ee81524.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":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)}";
|
|
5
|
+
|
|
6
|
+
const ZCard = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.cardClicked = createEvent(this, "cardClicked", 7);
|
|
10
|
+
/** Enable click interactions on the card. Default: false */
|
|
11
|
+
this.clickable = false;
|
|
12
|
+
/** Enable shadow. Default: false. */
|
|
13
|
+
this.showshadow = false;
|
|
14
|
+
}
|
|
15
|
+
onClick(ev) {
|
|
16
|
+
// Do nothing for clicks on actions.
|
|
17
|
+
if (ev.target.getAttribute('slot') === 'action') {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
if (!this.clickable) {
|
|
21
|
+
ev.preventDefault();
|
|
22
|
+
ev.stopPropagation();
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
this.cardClicked.emit();
|
|
26
|
+
}
|
|
27
|
+
componentWillLoad() {
|
|
28
|
+
this.hasCoverImage = !!this.host.querySelector('[slot="cover"]');
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Template for a card without image cover.
|
|
32
|
+
* A colored background replaces the image and some data is moved over it.
|
|
33
|
+
*/
|
|
34
|
+
renderColorCoverCard() {
|
|
35
|
+
return [
|
|
36
|
+
h("div", { class: "cover-container" }, h("div", { class: "color-cover" }, h("div", { class: "cover-content" }, h("slot", { name: "metadata" }), h("slot", { name: "title" })))),
|
|
37
|
+
h("div", { class: "content" }, h("slot", { name: "text" }), h("div", { class: "actions" }, h("slot", { name: "action" })))
|
|
38
|
+
];
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Template for the content div.
|
|
42
|
+
*/
|
|
43
|
+
renderContentDiv() {
|
|
44
|
+
return (h("div", { class: "content" }, h("slot", { name: "metadata" }), h("slot", { name: "title" }), h("slot", { name: "text" }), h("div", { class: "actions" }, h("slot", { name: "action" }))));
|
|
45
|
+
}
|
|
46
|
+
render() {
|
|
47
|
+
if (this.variant === CardVariants.text) {
|
|
48
|
+
return this.renderContentDiv();
|
|
49
|
+
}
|
|
50
|
+
if (this.variant === CardVariants.overlay || this.hasCoverImage) {
|
|
51
|
+
return [
|
|
52
|
+
h("div", { class: "cover-container" }, this.hasCoverImage && [
|
|
53
|
+
h("slot", { name: "cover" }),
|
|
54
|
+
(this.variant !== CardVariants.overlay) && this.coverIcon && h("z-icon", { name: this.coverIcon })
|
|
55
|
+
], !this.hasCoverImage && h("div", { class: "color-cover" })),
|
|
56
|
+
this.renderContentDiv()
|
|
57
|
+
];
|
|
58
|
+
}
|
|
59
|
+
return this.renderColorCoverCard();
|
|
60
|
+
}
|
|
61
|
+
get host() { return getElement(this); }
|
|
62
|
+
};
|
|
63
|
+
ZCard.style = stylesCss;
|
|
64
|
+
|
|
65
|
+
export { ZCard as z_card };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-carousel-gutter:0}.z-carousel-items-container{display:flex;overflow-x:scroll;padding-inline-start:0;margin:0;list-style:none;-ms-overflow-style:none;scrollbar-width:none;}.z-carousel-items-container::-webkit-scrollbar{display:none}.z-carousel-items-container>*:not(:last-child){margin-right:var(--z-carousel-gutter)}";
|
|
4
|
+
|
|
5
|
+
const ZCarousel = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
/** sets the height of z-carousel ghost loading, this prop is mandatory when isloading is set to true, as otherwise the component won't show. */
|
|
9
|
+
this.ghostLoadingHeight = 100;
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
if (this.isLoading) {
|
|
13
|
+
return (h("div", { style: { height: `${this.ghostLoadingHeight}px` } }, h("z-ghost-loading", null), h("div", { style: { display: "none" } }, h("slot", null))));
|
|
14
|
+
}
|
|
15
|
+
return (h("ul", { class: "z-carousel-items-container" }, h("slot", null)));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
ZCarousel.style = stylesCss;
|
|
19
|
+
|
|
20
|
+
export { ZCarousel as z_carousel };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-81176684.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host>div{display:inline-block;min-height:28px;line-height:28px;padding:0 calc(var(--space-unit) * 1.5);background-color:var(--bg-white);border:var(--border-size-small) solid var(--bg-grey-200);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:12px}.boldtext{font-weight:bold}";
|
|
4
|
+
|
|
5
|
+
const ZChipDeprecated = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
renderLegacyChip() {
|
|
10
|
+
return h("div", null, h("span", { class: "boldtext" }, this.boldtext), " ", this.regulartext);
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return this.boldtext != null || this.regulartext != null ?
|
|
14
|
+
this.renderLegacyChip() :
|
|
15
|
+
h("div", null, h("slot", null));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
ZChipDeprecated.style = stylesCss;
|
|
19
|
+
|
|
20
|
+
export { ZChipDeprecated as z_chip_deprecated };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { r as registerInstance, e as createEvent, h, g as getElement } from './index-81176684.js';
|
|
2
|
+
import { z as ZChipType, r as DeviceEnum } from './index-3ee81524.js';
|
|
3
|
+
import { g as getDevice, h as handleKeyboardSubmit } from './utils-a3134cfb.js';
|
|
4
|
+
import './breakpoints-c386984e.js';
|
|
5
|
+
|
|
6
|
+
const stylesCss = ".sc-z-chip-h>button.sc-z-chip{display:inline-flex;align-items:center;padding:0 calc(var(--space-unit) * 1.5);background-color:var(--bg-white);border:var(--border-size-small) solid var(--gray400);border-radius:14px;color:var(--color-primary01);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled),.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled)>z-icon.sc-z-chip:last-child{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled)>z-icon.sc-z-chip:first-child{fill:var(--color-icon02)}.sc-z-chip-h>button.sc-z-chip>z-icon.sc-z-chip:last-child{cursor:pointer}.sc-z-chip-h>button.sc-z-chip>z-icon.iconSx.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.sc-z-chip>z-icon.sc-z-chip:last-child{margin-left:var(--space-unit);fill:var(--color-primary01)}.sc-z-chip-h>button.sc-z-chip:disabled,.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{color:var(--color-disabled03);fill:var(--color-disabled03)}.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{cursor:auto}.sc-z-chip-h>button.sc-z-chip:disabled{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>button.sc-z-chip:focus:focus-visible,.sc-z-chip-h>div.sc-z-chip:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:not(:disabled):active{background-color:var(--gray50);text-decoration:underline}.sc-z-chip-h>button.sc-z-chip:not(:disabled):active:hover,.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled):active:hover>z-icon.sc-z-chip:last-child{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>div.sc-z-chip{display:inline-flex;align-items:center;min-height:28px;line-height:28px;padding:0 calc(var(--space-unit) * 1.5);background-color:var(--bg-white);border:var(--border-size-small) solid var(--bg-grey-200);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px}.sc-z-chip-h>div.sc-z-chip>z-icon.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:44px;line-height:44px;border-radius:22px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:40px;line-height:40px;border-radius:22px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:36px;line-height:36px;border-radius:22px}@media only screen and (min-width: 1152px){.sc-z-chip-h>button.sc-z-chip{font-size:12px}.sc-z-chip-h>div.sc-z-chip{font-size:12px}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:32px;line-height:32px;border-radius:16px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:28px;line-height:28px;border-radius:16px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:24px;line-height:24px;border-radius:16px}}";
|
|
7
|
+
|
|
8
|
+
const ZChip = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.interactiveIconClick = createEvent(this, "interactiveIconClick", 7);
|
|
12
|
+
/** z-chip size type, can be default, medium or small */
|
|
13
|
+
this.type = ZChipType.default;
|
|
14
|
+
/** set z-chip as disabled */
|
|
15
|
+
this.disabled = false;
|
|
16
|
+
}
|
|
17
|
+
emitinteractiveIconClick() {
|
|
18
|
+
this.interactiveIconClick.emit();
|
|
19
|
+
}
|
|
20
|
+
getIconSize() {
|
|
21
|
+
return getDevice() !== DeviceEnum.desktop ? 22 : 14;
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
if (this.interactiveIcon) {
|
|
25
|
+
return (h("button", { class: this.type, disabled: this.disabled, tabindex: "0" }, this.icon && (h("z-icon", { class: "iconSx", name: this.icon, width: this.getIconSize(), height: this.getIconSize() })), h("slot", null), h("z-icon", { tabIndex: this.disabled ? -1 : 0, onClick: () => this.emitinteractiveIconClick(), onKeyUp: (e) => handleKeyboardSubmit(e, this.emitinteractiveIconClick.bind(this)), name: this.interactiveIcon, width: this.getIconSize(), height: this.getIconSize() })));
|
|
26
|
+
}
|
|
27
|
+
return (h("div", { class: `${this.type}`, tabindex: "0" }, this.icon && (h("z-icon", { name: this.icon, width: this.getIconSize(), height: this.getIconSize() })), h("slot", null)));
|
|
28
|
+
}
|
|
29
|
+
get el() { return getElement(this); }
|
|
30
|
+
};
|
|
31
|
+
ZChip.style = stylesCss;
|
|
32
|
+
|
|
33
|
+
export { ZChip as z_chip };
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { r as registerInstance, e as createEvent, h } from './index-81176684.js';
|
|
2
|
+
import { I as InputTypeEnum, K as KeyboardKeyCodeEnum } from './index-3ee81524.js';
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-a3134cfb.js';
|
|
4
|
+
import './breakpoints-c386984e.js';
|
|
5
|
+
|
|
6
|
+
const stylesCss = ":host{display:block}:host>div.fixed{position:relative;height:42px}:host>div>.header{background-color:var(--bg-white);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--bg-grey-700);position:relative;z-index:10;min-height:42px;margin:0;padding:0 calc(var(--space-unit) * 2);display:flex;justify-content:space-between;align-items:center;cursor:pointer}:host>div>.header:focus:focus-visible{border:var(--border-size-small) solid var(--blue500);box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>z-body{margin:0;padding:var(--space-unit) 0;color:var(--text-grey-800)}:host>div>.header>z-body>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div.open>.header{border-radius:var(border-radius-small) var(border-radius-small) 0 0;border:var(--border-size-small) solid var(--blue500)}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.openComboData{background-color:var(--bg-white);border-radius:0;border:var(--border-size-small) solid var(--gray200);border-top:0px;position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2)}:host>div.open>div.openComboData>div{padding:0;max-height:235px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--gray200)}:host>div.open>div.openComboData>z-input{margin-bottom:calc(var(--space-unit) * 2);width:100%}:host>div.open>div.openComboData>div>ul{margin:0;padding:0 3px;max-height:235px}::-webkit-scrollbar{background:linear-gradient(\n 90deg,\n var(--bg-white) 2px,\n var(--bg-grey-200) 4px,\n var(--bg-white) 8px\n );border-radius:var(--border-radius);width:10px}::-webkit-scrollbar-thumb{background-color:var(--myz-blue);border-radius:var(--border-radius);width:10px}:host>div.open>z-input{color:var(--myz-blue);margin:0 calc(var(--space-unit) * 2);width:238px;position:relative;z-index:1}:host>div.open>div.openComboData>div.search{box-shadow:1px 1px 4px 2px rgba(217, 222, 227, 0.5);margin-top:0;max-height:auto;overflow:hidden}:host>div.open>div.openComboData>div.search>ul{padding:var(--space-unit) calc(var(--space-unit) * 2);max-height:180px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--bg-grey-200)}:host>div.open>div.openComboData>div.search>div{display:flex;justify-content:center}:host>div.open>div.openComboData>div.search>div>a{display:inline-block;cursor:pointer;color:var(--myz-blue);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;height:44px;line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.openComboData>div.checkAllWrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * .5);text-align:left}";
|
|
7
|
+
|
|
8
|
+
const ZCombobox = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.comboboxChange = createEvent(this, "comboboxChange", 7);
|
|
12
|
+
/** show search input flag (optional) */
|
|
13
|
+
this.hassearch = false;
|
|
14
|
+
/** no result text message */
|
|
15
|
+
this.noresultslabel = "Nessun risultato";
|
|
16
|
+
/** toggle combo list opening flag */
|
|
17
|
+
this.isopen = false;
|
|
18
|
+
/** fixed style flag */
|
|
19
|
+
this.isfixed = false;
|
|
20
|
+
/** close combobox list text */
|
|
21
|
+
this.closesearchtext = "Chiudi";
|
|
22
|
+
/** show "check all" checkbox (optional) */
|
|
23
|
+
this.hascheckall = false;
|
|
24
|
+
/** check all label (optional) */
|
|
25
|
+
this.checkalltext = "Seleziona tutti";
|
|
26
|
+
/** uncheck all label (optional) */
|
|
27
|
+
this.uncheckalltext = "Deseleziona tutti";
|
|
28
|
+
/** max number of checkable items (0 = unlimited) */
|
|
29
|
+
this.maxcheckableitems = 0;
|
|
30
|
+
this.renderItemsList = []; // used for render only
|
|
31
|
+
this.itemsList = [];
|
|
32
|
+
this.inputType = InputTypeEnum.text;
|
|
33
|
+
this.toggleComboBox = this.toggleComboBox.bind(this);
|
|
34
|
+
this.closeFilterItems = this.closeFilterItems.bind(this);
|
|
35
|
+
}
|
|
36
|
+
watchItems() {
|
|
37
|
+
this.itemsList =
|
|
38
|
+
typeof this.items === "string" ? JSON.parse(this.items) : this.items;
|
|
39
|
+
this.selectedCounter = this.itemsList.filter((item) => item.checked).length;
|
|
40
|
+
if (this.searchValue) {
|
|
41
|
+
this.filterItems(this.searchValue);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
this.resetRenderItemsList();
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
inputCheckListener(e) {
|
|
48
|
+
const id = e.detail.id.replace(`combo-checkbox-${this.inputid}-`, "");
|
|
49
|
+
if (id === "check-all" &&
|
|
50
|
+
(!this.maxcheckableitems ||
|
|
51
|
+
this.maxcheckableitems >= this.itemsList.length)) {
|
|
52
|
+
return this.checkAll(e.detail.checked);
|
|
53
|
+
}
|
|
54
|
+
this.itemsList = this.itemsList.map((item) => {
|
|
55
|
+
if (item.id === id)
|
|
56
|
+
item.checked = e.detail.checked;
|
|
57
|
+
return item;
|
|
58
|
+
});
|
|
59
|
+
this.resetRenderItemsList();
|
|
60
|
+
this.emitComboboxChange();
|
|
61
|
+
}
|
|
62
|
+
emitComboboxChange() {
|
|
63
|
+
this.comboboxChange.emit({ id: this.inputid, items: this.itemsList });
|
|
64
|
+
}
|
|
65
|
+
componentWillLoad() {
|
|
66
|
+
this.watchItems();
|
|
67
|
+
}
|
|
68
|
+
componentWillRender() {
|
|
69
|
+
this.selectedCounter = this.itemsList.filter((item) => item.checked).length;
|
|
70
|
+
if (this.searchValue) {
|
|
71
|
+
this.filterItems(this.searchValue);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
resetRenderItemsList() {
|
|
75
|
+
const renderItemsList = [];
|
|
76
|
+
this.itemsList.forEach((item) => {
|
|
77
|
+
renderItemsList.push(Object.assign({}, item));
|
|
78
|
+
});
|
|
79
|
+
this.renderItemsList = renderItemsList;
|
|
80
|
+
}
|
|
81
|
+
filterItems(value) {
|
|
82
|
+
if (!value)
|
|
83
|
+
return this.closeFilterItems();
|
|
84
|
+
this.searchValue = value;
|
|
85
|
+
this.resetRenderItemsList();
|
|
86
|
+
this.renderItemsList = this.renderItemsList.filter((item) => {
|
|
87
|
+
const start = item.name.toUpperCase().indexOf(value.toUpperCase());
|
|
88
|
+
const end = start + value.length;
|
|
89
|
+
const newName = item.name.substring(0, start) +
|
|
90
|
+
item.name.substring(start, end).bold() +
|
|
91
|
+
item.name.substring(end, item.name.length);
|
|
92
|
+
item.name = newName;
|
|
93
|
+
return start >= 0;
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
checkAll(checked = true) {
|
|
97
|
+
this.itemsList = this.itemsList.map((item) => (Object.assign(Object.assign({}, item), { checked: checked })));
|
|
98
|
+
this.resetRenderItemsList();
|
|
99
|
+
this.emitComboboxChange();
|
|
100
|
+
}
|
|
101
|
+
closeFilterItems() {
|
|
102
|
+
this.searchValue = "";
|
|
103
|
+
this.resetRenderItemsList();
|
|
104
|
+
}
|
|
105
|
+
toggleComboBox() {
|
|
106
|
+
this.isopen = !this.isopen;
|
|
107
|
+
}
|
|
108
|
+
renderHeader() {
|
|
109
|
+
return (h("div", { class: "header", onClick: () => this.toggleComboBox(), onKeyDown: (ev) => {
|
|
110
|
+
if (ev.keyCode === KeyboardKeyCodeEnum.SPACE)
|
|
111
|
+
ev.preventDefault();
|
|
112
|
+
}, onKeyUp: (ev) => handleKeyboardSubmit(ev, this.toggleComboBox), role: "button", tabindex: 0 }, h("z-body", { level: 3, component: "p" }, this.label, h("span", null, this.selectedCounter > 0 && ` (${this.selectedCounter})`)), h("z-icon", { name: "caret-down", width: 18, height: 18 })));
|
|
113
|
+
}
|
|
114
|
+
renderContent() {
|
|
115
|
+
if (!this.isopen)
|
|
116
|
+
return;
|
|
117
|
+
return (h("div", { class: "openComboData" }, this.hassearch && this.renderSearchInput(), this.hascheckall && this.renderCheckAll(), this.renderItems()));
|
|
118
|
+
}
|
|
119
|
+
renderItems() {
|
|
120
|
+
if (!this.isopen)
|
|
121
|
+
return;
|
|
122
|
+
return (h("div", { class: this.searchValue && "search", tabindex: -1 }, this.renderList(this.renderItemsList), this.searchValue && this.renderCloseButton()));
|
|
123
|
+
}
|
|
124
|
+
renderList(items) {
|
|
125
|
+
if (!items)
|
|
126
|
+
return;
|
|
127
|
+
if (!items.length && this.searchValue)
|
|
128
|
+
return this.renderNoSearchResults();
|
|
129
|
+
return (h("ul", null, items.map((item, i) => {
|
|
130
|
+
return (h("z-myz-list-item", { id: item.id, listitemid: item.id, action: `combo-li-${this.inputid}`, underlined: i !== items.length - 1 }, h("z-input", { type: InputTypeEnum.checkbox, checked: item.checked, htmlid: `combo-checkbox-${this.inputid}-${item.id}`, label: item.name, disabled: !item.checked &&
|
|
131
|
+
this.maxcheckableitems &&
|
|
132
|
+
this.maxcheckableitems === this.selectedCounter })));
|
|
133
|
+
})));
|
|
134
|
+
}
|
|
135
|
+
renderNoSearchResults() {
|
|
136
|
+
return (h("ul", null, h("z-myz-list-item", { id: "no-results", text: this.noresultslabel, listitemid: "no-results", icon: "multiply-circle" })));
|
|
137
|
+
}
|
|
138
|
+
renderCloseButton() {
|
|
139
|
+
return (h("div", null, h("a", { onClick: () => this.closeFilterItems(), onKeyUp: (e) => handleKeyboardSubmit(e, this.closeFilterItems), role: "button", tabindex: 0 }, this.closesearchtext)));
|
|
140
|
+
}
|
|
141
|
+
renderSearchInput() {
|
|
142
|
+
if (!this.isopen)
|
|
143
|
+
return;
|
|
144
|
+
return (h("z-input", { htmlid: `${this.inputid}_search`, label: this.searchlabel, placeholder: this.searchplaceholder, htmltitle: this.searchtitle, type: this.inputType, value: this.searchValue, message: false, onInputChange: (e) => {
|
|
145
|
+
if (e.detail.keycode === 27)
|
|
146
|
+
return this.closeFilterItems();
|
|
147
|
+
this.filterItems(e.detail.value);
|
|
148
|
+
} }));
|
|
149
|
+
}
|
|
150
|
+
renderCheckAll() {
|
|
151
|
+
if (this.searchValue)
|
|
152
|
+
return;
|
|
153
|
+
const allChecked = this.selectedCounter === this.itemsList.length;
|
|
154
|
+
return (h("div", { class: "checkAllWrapper" }, h("z-input", { type: InputTypeEnum.checkbox, checked: allChecked, htmlid: `combo-checkbox-${this.inputid}-check-all`, label: allChecked ? this.uncheckalltext : this.checkalltext, disabled: this.maxcheckableitems &&
|
|
155
|
+
this.maxcheckableitems < this.itemsList.length })));
|
|
156
|
+
}
|
|
157
|
+
render() {
|
|
158
|
+
return (h("div", { "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed }, id: this.inputid }, this.renderHeader(), this.renderContent()));
|
|
159
|
+
}
|
|
160
|
+
static get watchers() { return {
|
|
161
|
+
"items": ["watchItems"]
|
|
162
|
+
}; }
|
|
163
|
+
};
|
|
164
|
+
ZCombobox.style = stylesCss;
|
|
165
|
+
|
|
166
|
+
export { ZCombobox as z_combobox };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { r as registerInstance, e as createEvent, h } from './index-81176684.js';
|
|
2
|
+
import { P as PopoverPositions } from './index-3ee81524.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":host{position:relative;display:flex;justify-content:center;align-items:center;font-family:var(--font-family-sans);font-weight:var(--font-rg)}button{width:100%;height:100%;border:none;background:transparent;cursor:pointer;padding:0}z-popover{overflow:hidden}.popover-content-container{position:relative;min-width:112px;max-width:280px;white-space:nowrap;background-color:var(--color-surface02);box-shadow:var(--shadow-2)}.element-container:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.element-text{overflow:hidden;text-overflow:ellipsis;font-size:14px}.element-container,.disabled-element-container{display:flex;align-items:center;gap:var(--space-unit);fill:var(--color-disabled03);padding:calc(var(--space-unit) / 2) var(--space-unit);min-height:calc(var(--space-unit) * 4);box-sizing:border-box}.element-container{fill:var(--color-primary01)}.element-icon{display:flex}";
|
|
5
|
+
|
|
6
|
+
const ZContextualMenu = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.clickContextualMenu = createEvent(this, "clickContextualMenu", 7);
|
|
10
|
+
/**
|
|
11
|
+
* [optional] Sets text color of ZContextualMenu's content
|
|
12
|
+
*/
|
|
13
|
+
this.color = "color-primary01";
|
|
14
|
+
/**
|
|
15
|
+
* [optional] Sets the position of the popover
|
|
16
|
+
*/
|
|
17
|
+
this.popoverPosition = PopoverPositions.bottom_right;
|
|
18
|
+
}
|
|
19
|
+
componentWillRender() {
|
|
20
|
+
if (this.elements) {
|
|
21
|
+
this.jsonElements = JSON.parse(this.elements.replace(/"/g, '"'));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
componentDidLoad() {
|
|
25
|
+
this.popover.bindTo = this.triggerButton;
|
|
26
|
+
}
|
|
27
|
+
showIcon() {
|
|
28
|
+
return !this.jsonElements.some((element) => !element.icon);
|
|
29
|
+
}
|
|
30
|
+
togglePopover() {
|
|
31
|
+
if (!this.popover.open) {
|
|
32
|
+
this.popover.open = true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
render() {
|
|
36
|
+
var _a, _b;
|
|
37
|
+
return [
|
|
38
|
+
h("button", { ref: (el) => (this.triggerButton = el), "aria-label": ((_a = this.popover) === null || _a === void 0 ? void 0 : _a.open) ? "chiudi menu contestuale" : "apri menu contestuale", onClick: () => this.togglePopover() }, h("z-icon", { name: "contextual-menu", fill: this.color })),
|
|
39
|
+
h("z-popover", { ref: (el) => (this.popover = el), position: this.popoverPosition }, h("div", { class: "popover-content-container" }, h("z-list", null, h("z-list-group", { "divider-type": "element" }, (_b = this.jsonElements) === null || _b === void 0 ? void 0 : _b.map((element, index) => (h("z-list-element", { clickable: !element.disabled, class: "my-z-list-element", "align-button": "left", "expandable-style": "accordion", color: element.disabled ? `color-disabled03` : this.color, isContextualMenu: true, listElementId: index, onClickItem: (event) => this.clickContextualMenu.emit(event.detail) }, h("div", { class: element.disabled
|
|
40
|
+
? "disabled-element-container"
|
|
41
|
+
: "element-container" }, this.showIcon() && (h("div", { class: "element-icon" }, h("z-icon", { name: element.icon, width: 16, height: 16 }))), h("div", { class: "element-text" }, h("span", null, element.text))))))))))
|
|
42
|
+
];
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
ZContextualMenu.style = stylesCss;
|
|
46
|
+
|
|
47
|
+
export { ZContextualMenu as z_contextual_menu };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { r as registerInstance, e as createEvent, h } from './index-81176684.js';
|
|
2
|
+
import { B as ButtonVariantEnum } from './index-3ee81524.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}z-candybar.hidden{display:none}.content{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:space-between;color:var(--text-grey-800);border-radius:calc(var(--space-unit) * 0.5);font-size:16px;letter-spacing:0px;line-height:24px;padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}.content>div>h2{margin:0;padding:0;color:var(--text-grey-800);border-radius:0px;font-size:18px;font-weight:var(--font-sb);letter-spacing:0px}.content>div>div{padding:calc(var(--space-unit) * 3) 0;font-size:14px;letter-spacing:0.16px;line-height:20px}.content>div>div>p{margin:0}.content>div>div>p>a{cursor:pointer;font-weight:var(--font-sb);color:var(--text-grey-800);text-decoration:underline;height:14px;display:inline-flex}.content>div>div>p>a:visited{color:var(--text-grey-800);cursor:pointer;z-index:1000}.content>z-button{margin:0;width:100%}@media only screen and (min-width: 768px){.content{width:100%;flex-direction:row;align-items:center;font-size:16px;letter-spacing:0px;line-height:24px;padding:calc(var(--space-unit) * 4) calc(var(--space-unit) * 3)}.content>div{width:560px}.content>div>h2{height:calc(var(--space-unit) * 3.5)}.content>div>div{padding:0}.content>z-button{margin:0;width:initial}}@media only screen and (min-width: 1152px){.content>div{width:935px}}@media only screen and (min-width: 1366px){.content{padding-left:calc(var(--space-unit) * 4);padding-right:calc(var(--space-unit) * 4)}}";
|
|
5
|
+
|
|
6
|
+
const ZCookiebar = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.accept = createEvent(this, "accept", 7);
|
|
10
|
+
}
|
|
11
|
+
emitAccept(ev) {
|
|
12
|
+
this.accept.emit({ ev });
|
|
13
|
+
}
|
|
14
|
+
handleOkButtonClick(ev) {
|
|
15
|
+
this.emitAccept(ev);
|
|
16
|
+
if (typeof this.callback === "function") {
|
|
17
|
+
this.callback();
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
handleOkButtonKeyUp(ev) {
|
|
21
|
+
this.emitAccept(ev);
|
|
22
|
+
if (ev.code === "Enter") {
|
|
23
|
+
if (typeof this.callback !== "undefined" &&
|
|
24
|
+
typeof this.callback === "function") {
|
|
25
|
+
this.callback();
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
renderContentSlot() {
|
|
30
|
+
return (h("div", { class: "content", slot: "content" }, h("div", null, h("h2", null, "Su questo sito usiamo i cookie."), h("div", null, h("p", null, "Se continui a navigare ci permetti di farlo secondo le regole spiegate nella nostra informativa sulla privacy relativa ai \u00A0", h("a", { href: this.cookiepolicyurl, target: "_blank" }, "cookie"), "."))), h("z-button", { variant: ButtonVariantEnum.primary, onClick: (ev) => this.handleOkButtonClick(ev), onKeyUp: (ev) => this.handleOkButtonKeyUp(ev) }, "ACCETTA")));
|
|
31
|
+
}
|
|
32
|
+
render() {
|
|
33
|
+
return (h("z-candybar", { class: `${this.hide ? "hidden" : ""}` }, this.renderContentSlot()));
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
ZCookiebar.style = stylesCss;
|
|
37
|
+
|
|
38
|
+
export { ZCookiebar as z_cookiebar };
|