@zanichelli/albe-web-components 6.3.2 → 6.3.3
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 +22 -0
- package/dist/cjs/index-e3299e0a.js +18 -74
- package/dist/cjs/{index-f08f7171.js → index-fa110f37.js} +13 -54
- package/dist/cjs/index.cjs.js +2 -26
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-73ead59e.js → utils-600bad93.js} +1 -1
- package/dist/cjs/{utils-7fde0c53.js → utils-8bc9056f.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +0 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +8 -1
- package/dist/cjs/z-app-header_2.cjs.entry.js +29 -12
- package/dist/cjs/{z-logo.cjs.entry.js → z-app-switcher_2.cjs.entry.js} +23 -6
- package/dist/cjs/z-app-topbar.cjs.entry.js +3 -7
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -1
- package/dist/cjs/z-avatar.cjs.entry.js +4 -3
- package/dist/cjs/z-body_2.cjs.entry.js +2 -4
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/cjs/z-button.cjs.entry.js +6 -6
- package/dist/cjs/z-card.cjs.entry.js +3 -4
- package/dist/cjs/z-carousel.cjs.entry.js +6 -8
- package/dist/cjs/z-chip.cjs.entry.js +4 -4
- package/dist/cjs/z-combobox.cjs.entry.js +14 -13
- package/dist/cjs/z-contextual-menu.cjs.entry.js +8 -3
- package/dist/cjs/z-cover-hero.cjs.entry.js +8 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/z-divider.cjs.entry.js +4 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -2
- package/dist/cjs/z-file-upload.cjs.entry.js +6 -10
- package/dist/cjs/z-file.cjs.entry.js +2 -4
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +5 -2
- package/dist/cjs/z-input_2.cjs.entry.js +12 -18
- package/dist/cjs/z-link.cjs.entry.js +9 -3
- package/dist/cjs/z-list_3.cjs.entry.js +71 -12
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +59 -0
- package/dist/cjs/z-menu-section.cjs.entry.js +0 -3
- package/dist/cjs/z-menu.cjs.entry.js +10 -3
- package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -3
- package/dist/cjs/z-modal-login.cjs.entry.js +2 -5
- package/dist/cjs/z-modal.cjs.entry.js +1 -3
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -5
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +5 -3
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-list.cjs.entry.js +0 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +3 -10
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -7
- package/dist/cjs/z-myz-list.cjs.entry.js +35 -0
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +13 -6
- package/dist/cjs/z-navigation-tab.cjs.entry.js +13 -4
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +7 -4
- package/dist/cjs/z-notification.cjs.entry.js +6 -3
- package/dist/cjs/z-offcanvas.cjs.entry.js +8 -1
- package/dist/cjs/z-otp.cjs.entry.js +2 -3
- package/dist/cjs/z-pagination.cjs.entry.js +13 -6
- package/dist/cjs/z-panel-elem.cjs.entry.js +2 -7
- package/dist/cjs/z-pocket_3.cjs.entry.js +4 -5
- package/dist/cjs/z-popover.cjs.entry.js +35 -24
- package/dist/cjs/z-range-picker.cjs.entry.js +3 -7
- package/dist/cjs/z-section-title.cjs.entry.js +8 -1
- package/dist/cjs/{z-input-label_2.cjs.entry.js → z-select.cjs.entry.js} +10 -27
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -5
- package/dist/cjs/z-stepper-item.cjs.entry.js +0 -4
- package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/z-table-empty-box.cjs.entry.js +2 -0
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +0 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +0 -1
- package/dist/cjs/z-table-header.cjs.entry.js +6 -6
- package/dist/cjs/z-table-row.cjs.entry.js +2 -1
- package/dist/cjs/z-table.cjs.entry.js +9 -7
- package/dist/cjs/z-tag.cjs.entry.js +0 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +3 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +5 -9
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +6 -2
- package/dist/cjs/z-tooltip.cjs.entry.js +7 -3
- package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -5
- package/dist/collection/beans/index.js +13 -54
- package/dist/collection/collection-manifest.json +1 -18
- package/dist/collection/components/buttons/z-button/index.js +5 -5
- package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
- package/dist/collection/components/buttons/z-chip/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +4 -0
- package/dist/collection/components/date-picker/z-date-picker/index.js +2 -2
- package/dist/collection/components/date-picker/z-range-picker/index.js +1 -5
- package/dist/collection/components/file-upload/z-file/index.js +2 -4
- package/dist/collection/components/file-upload/z-file-upload/index.js +4 -8
- package/dist/collection/components/icons/z-icon/index.js +0 -7
- package/dist/collection/components/indicators/z-stepper-item/index.js +0 -6
- package/dist/collection/components/inputs/z-combobox/index.js +12 -11
- package/dist/collection/components/inputs/z-input/index.js +10 -14
- package/dist/collection/components/inputs/z-input-message/index.js +0 -2
- package/dist/collection/components/inputs/z-select/index.js +8 -9
- package/dist/collection/components/list/z-list/index.js +6 -0
- package/dist/collection/components/list/z-list-element/index.js +49 -11
- package/dist/collection/components/list/z-list-group/index.js +15 -0
- package/dist/collection/components/list/z-toast-notification-list/index.js +2 -0
- package/dist/collection/components/logo/z-logo/index.js +0 -8
- package/dist/collection/components/modal/z-modal/index.js +1 -3
- package/dist/collection/components/modal/z-modal-login/index.js +1 -4
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +12 -3
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +12 -5
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +6 -3
- package/dist/collection/components/navigation/z-app-header/index.js +29 -7
- package/dist/collection/components/navigation/z-app-switcher/index.js +1 -0
- package/dist/collection/components/navigation/z-app-topbar/index.js +2 -6
- package/dist/collection/components/navigation/z-link/index.js +9 -3
- package/dist/collection/components/navigation/z-menu/index.js +10 -3
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +0 -3
- package/dist/collection/components/navigation/z-menu-section/index.js +0 -5
- package/dist/collection/components/navigation/z-user-dropdown/index.js +1 -5
- package/dist/collection/components/notification/z-info-box/index.js +1 -1
- package/dist/collection/components/notification/z-notification/index.js +6 -3
- package/dist/collection/components/notification/z-toast-notification/index.js +4 -8
- package/dist/collection/components/notification/z-tooltip/index.js +11 -7
- package/dist/collection/components/panel/z-panel-elem/index.js +2 -7
- package/dist/collection/components/typography/z-body/index.js +1 -2
- package/dist/collection/components/typography/z-heading/index.js +1 -2
- package/dist/collection/components/typography/z-typography/index.js +1 -2
- package/dist/collection/components/z-anchor-navigation/index.js +7 -0
- package/dist/collection/components/z-aria-alert/index.js +1 -0
- package/dist/collection/components/z-avatar/index.js +3 -2
- package/dist/collection/components/z-card/index.js +2 -3
- package/dist/collection/components/z-carousel/index.js +5 -7
- package/dist/collection/components/z-contextual-menu/index.js +12 -7
- package/dist/collection/components/z-cover-hero/index.js +7 -0
- package/dist/collection/components/z-divider/index.js +3 -0
- package/dist/collection/components/z-info-reveal/index.js +4 -1
- package/dist/collection/components/z-offcanvas/index.js +7 -0
- package/dist/collection/components/z-pagination/index.js +12 -5
- package/dist/collection/components/z-popover/index.js +38 -27
- package/dist/collection/components/z-section-title/index.js +7 -0
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-table/z-table/index.js +8 -6
- package/dist/collection/components/z-table/z-table-cell/index.js +1 -1
- package/dist/collection/components/z-table/z-table-empty-box/index.js +2 -0
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +0 -3
- package/dist/collection/components/z-table/z-table-header/index.js +5 -5
- package/dist/collection/components/z-table/z-table-header-row/index.js +0 -3
- package/dist/collection/components/z-table/z-table-row/index.js +1 -0
- package/dist/collection/components/z-tag/index.js +0 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +0 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +0 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +4 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +2 -5
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +0 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +2 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +0 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +2 -5
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +1 -2
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +0 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js +0 -3
- package/dist/collection/snowflakes/myz/z-otp/index.js +1 -2
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +0 -3
- package/dist/esm/{index-aee91593.js → index-968a240f.js} +14 -55
- package/dist/esm/index-a2ca4b97.js +18 -74
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-77c5c75d.js → utils-151f0ab4.js} +1 -1
- package/dist/esm/{utils-5dc8ce33.js → utils-ccb4d66f.js} +2 -2
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +0 -1
- package/dist/esm/z-anchor-navigation.entry.js +8 -1
- package/dist/esm/z-app-header_2.entry.js +29 -12
- package/dist/esm/{z-logo.entry.js → z-app-switcher_2.entry.js} +24 -8
- package/dist/esm/z-app-topbar.entry.js +3 -7
- package/dist/esm/z-aria-alert.entry.js +2 -1
- package/dist/esm/z-avatar.entry.js +4 -3
- package/dist/esm/z-body_2.entry.js +2 -4
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button.entry.js +6 -6
- package/dist/esm/z-card.entry.js +3 -4
- package/dist/esm/z-carousel.entry.js +6 -8
- package/dist/esm/z-chip.entry.js +4 -4
- package/dist/esm/z-combobox.entry.js +14 -13
- package/dist/esm/z-contextual-menu.entry.js +8 -3
- package/dist/esm/z-cover-hero.entry.js +8 -1
- package/dist/esm/z-date-picker.entry.js +4 -4
- package/dist/esm/z-divider.entry.js +4 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +1 -2
- package/dist/esm/z-file-upload.entry.js +6 -10
- package/dist/esm/z-file.entry.js +2 -4
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +5 -2
- package/dist/esm/z-input_2.entry.js +12 -18
- package/dist/esm/z-link.entry.js +9 -3
- package/dist/esm/z-list_3.entry.js +71 -12
- package/dist/esm/z-menu-dropdown.entry.js +55 -0
- package/dist/esm/z-menu-section.entry.js +0 -3
- package/dist/esm/z-menu.entry.js +10 -3
- package/dist/esm/z-messages-pocket.entry.js +2 -3
- package/dist/esm/z-modal-login.entry.js +2 -5
- package/dist/esm/z-modal.entry.js +1 -3
- package/dist/esm/z-myz-card-alert.entry.js +1 -5
- package/dist/esm/z-myz-card-dictionary.entry.js +5 -3
- package/dist/esm/z-myz-card-footer.entry.js +3 -6
- package/dist/esm/z-myz-card-icon.entry.js +2 -1
- package/dist/esm/z-myz-card-info.entry.js +4 -4
- package/dist/esm/z-myz-card-list.entry.js +0 -1
- package/dist/esm/z-myz-card_4.entry.js +3 -10
- package/dist/esm/z-myz-list-item.entry.js +4 -7
- package/dist/esm/z-myz-list.entry.js +31 -0
- package/dist/esm/z-navigation-tab-link.entry.js +13 -6
- package/dist/esm/z-navigation-tab.entry.js +13 -4
- package/dist/esm/z-navigation-tabs.entry.js +7 -4
- package/dist/esm/z-notification.entry.js +6 -3
- package/dist/esm/z-offcanvas.entry.js +8 -1
- package/dist/esm/z-otp.entry.js +2 -3
- package/dist/esm/z-pagination.entry.js +13 -6
- package/dist/esm/z-panel-elem.entry.js +2 -7
- package/dist/esm/z-pocket_3.entry.js +4 -5
- package/dist/esm/z-popover.entry.js +35 -24
- package/dist/esm/z-range-picker.entry.js +3 -7
- package/dist/esm/z-section-title.entry.js +8 -1
- package/dist/esm/{z-input-label_2.entry.js → z-select.entry.js} +12 -28
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +2 -5
- package/dist/esm/z-stepper-item.entry.js +0 -4
- package/dist/esm/z-table-cell.entry.js +2 -2
- package/dist/esm/z-table-empty-box.entry.js +2 -0
- package/dist/esm/z-table-expanded-row.entry.js +0 -1
- package/dist/esm/z-table-header-row.entry.js +0 -1
- package/dist/esm/z-table-header.entry.js +6 -6
- package/dist/esm/z-table-row.entry.js +2 -1
- package/dist/esm/z-table.entry.js +9 -7
- package/dist/esm/z-tag.entry.js +0 -2
- package/dist/esm/z-toast-notification-list.entry.js +3 -1
- package/dist/esm/z-toast-notification.entry.js +5 -9
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +6 -2
- package/dist/esm/z-tooltip.entry.js +7 -3
- package/dist/esm/z-user-dropdown.entry.js +1 -5
- package/dist/types/beans/index.d.ts +1 -60
- package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/z-contextual-menu/index.d.ts +2 -2
- package/dist/types/components/z-popover/index.d.ts +4 -4
- package/dist/types/components.d.ts +8 -1057
- package/dist/types/stencil-public-runtime.d.ts +0 -5
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-009c9f67.entry.js +1 -0
- package/dist/web-components-library/p-01f001fd.entry.js +1 -0
- package/dist/web-components-library/p-057600de.entry.js +1 -0
- package/dist/web-components-library/p-05ced71c.entry.js +1 -0
- package/dist/web-components-library/p-074ea569.entry.js +1 -0
- package/dist/web-components-library/p-07e18572.entry.js +1 -0
- package/dist/web-components-library/p-0843b0e7.entry.js +1 -0
- package/dist/web-components-library/p-0fa4b50b.entry.js +1 -0
- package/dist/web-components-library/p-1b6279a6.entry.js +1 -0
- package/dist/web-components-library/p-1ba8d432.entry.js +1 -0
- package/dist/web-components-library/p-1cb23bbb.entry.js +1 -0
- package/dist/web-components-library/p-20a3247c.entry.js +1 -0
- package/dist/web-components-library/{p-0f28f07e.entry.js → p-214b6cee.entry.js} +1 -1
- package/dist/web-components-library/p-26f834e5.entry.js +1 -0
- package/dist/web-components-library/p-279655eb.entry.js +1 -0
- package/{www/build/p-1fdbd448.entry.js → dist/web-components-library/p-2acd6a51.entry.js} +1 -1
- package/dist/web-components-library/p-2d1b6c3c.entry.js +1 -0
- package/dist/web-components-library/p-2efedcf4.entry.js +1 -0
- package/dist/web-components-library/{p-279b422a.entry.js → p-33352f9e.entry.js} +1 -1
- package/dist/web-components-library/p-344e7ae7.entry.js +1 -0
- package/dist/web-components-library/{p-8fee871a.entry.js → p-34c26207.entry.js} +1 -1
- package/dist/web-components-library/p-38a3cf3b.entry.js +1 -0
- package/dist/web-components-library/p-3a468aa9.entry.js +1 -0
- package/dist/web-components-library/p-3c2d438b.entry.js +1 -0
- package/dist/web-components-library/p-3f55dce6.entry.js +1 -0
- package/dist/web-components-library/p-411cbcd6.entry.js +1 -0
- package/dist/web-components-library/p-475ca461.entry.js +1 -0
- package/{www/build/p-4a322ca6.entry.js → dist/web-components-library/p-496863be.entry.js} +1 -1
- package/dist/web-components-library/p-4cd6c6f4.entry.js +1 -0
- package/dist/web-components-library/p-51e308ca.entry.js +1 -0
- package/dist/web-components-library/p-59cfee8d.entry.js +1 -0
- package/dist/web-components-library/p-5dd9a2c6.entry.js +1 -0
- package/dist/web-components-library/p-61424b8a.entry.js +1 -0
- package/dist/web-components-library/{p-3b1c4366.entry.js → p-67d6cfcb.entry.js} +1 -1
- package/dist/web-components-library/p-682528b2.entry.js +1 -0
- package/dist/web-components-library/p-6b1a5309.entry.js +1 -0
- package/dist/web-components-library/p-7af991f5.entry.js +1 -0
- package/dist/web-components-library/p-810bd730.entry.js +1 -0
- package/dist/web-components-library/p-8980398c.entry.js +1 -0
- package/dist/web-components-library/p-8b960526.entry.js +1 -0
- package/dist/web-components-library/p-8bf0844b.entry.js +1 -0
- package/dist/web-components-library/p-8c105bd1.entry.js +1 -0
- package/dist/web-components-library/p-8f46e548.entry.js +1 -0
- package/dist/web-components-library/p-8ffc17b7.entry.js +1 -0
- package/dist/web-components-library/p-93dc6d51.entry.js +1 -0
- package/dist/web-components-library/p-95b8f109.entry.js +1 -0
- package/dist/web-components-library/{p-db234892.entry.js → p-9965827d.entry.js} +1 -1
- package/dist/web-components-library/{p-323ae109.entry.js → p-9c28b8fc.entry.js} +1 -1
- package/dist/web-components-library/p-9c338aeb.entry.js +1 -0
- package/dist/web-components-library/p-9d03a7d6.entry.js +1 -0
- package/dist/web-components-library/{p-1f8c947e.entry.js → p-9ed27651.entry.js} +1 -1
- package/dist/web-components-library/p-a23e9115.js +1 -0
- package/dist/web-components-library/p-a2b67e2d.entry.js +1 -0
- package/dist/web-components-library/p-a79d1412.entry.js +1 -0
- package/dist/web-components-library/p-a82ea410.entry.js +1 -0
- package/dist/web-components-library/{p-4c7f4a2c.entry.js → p-b17981a4.entry.js} +1 -1
- package/dist/web-components-library/p-b33f5e6a.entry.js +1 -0
- package/dist/web-components-library/{p-bee26f96.js → p-b3c29822.js} +1 -1
- package/dist/web-components-library/p-b6f36170.entry.js +16 -0
- package/dist/web-components-library/p-bb0fe7bc.entry.js +1 -0
- package/dist/web-components-library/p-bdc6f2e5.entry.js +1 -0
- package/dist/web-components-library/p-beba3e67.entry.js +1 -0
- package/dist/web-components-library/p-c25b0b2a.entry.js +1 -0
- package/dist/web-components-library/p-c6aad085.entry.js +1 -0
- package/dist/web-components-library/p-cd43f80d.js +1 -0
- package/dist/web-components-library/p-ce83ce18.entry.js +1 -0
- package/dist/web-components-library/p-db3c8e3e.entry.js +1 -0
- package/dist/web-components-library/p-e40b16fa.entry.js +1 -0
- package/dist/web-components-library/p-ede9fbf5.entry.js +1 -0
- package/dist/web-components-library/p-f0653e72.entry.js +1 -0
- package/dist/web-components-library/{p-2c18a622.entry.js → p-f158d205.entry.js} +1 -1
- package/dist/web-components-library/p-f20d1242.entry.js +1 -0
- package/dist/web-components-library/p-f95cc914.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +0 -17
- package/react/components.js +2 -20
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-009c9f67.entry.js +1 -0
- package/www/build/p-01f001fd.entry.js +1 -0
- package/www/build/p-057600de.entry.js +1 -0
- package/www/build/p-05ced71c.entry.js +1 -0
- package/www/build/p-074ea569.entry.js +1 -0
- package/www/build/p-07e18572.entry.js +1 -0
- package/www/build/p-0843b0e7.entry.js +1 -0
- package/www/build/p-0fa4b50b.entry.js +1 -0
- package/www/build/p-1b6279a6.entry.js +1 -0
- package/www/build/p-1ba8d432.entry.js +1 -0
- package/www/build/p-1cb23bbb.entry.js +1 -0
- package/www/build/p-20a3247c.entry.js +1 -0
- package/www/build/{p-0f28f07e.entry.js → p-214b6cee.entry.js} +1 -1
- package/www/build/p-26f834e5.entry.js +1 -0
- package/www/build/p-279655eb.entry.js +1 -0
- package/{dist/web-components-library/p-1fdbd448.entry.js → www/build/p-2acd6a51.entry.js} +1 -1
- package/www/build/p-2d1b6c3c.entry.js +1 -0
- package/www/build/p-2efedcf4.entry.js +1 -0
- package/www/build/{p-279b422a.entry.js → p-33352f9e.entry.js} +1 -1
- package/www/build/p-344e7ae7.entry.js +1 -0
- package/www/build/{p-8fee871a.entry.js → p-34c26207.entry.js} +1 -1
- package/www/build/p-38a3cf3b.entry.js +1 -0
- package/www/build/p-3a468aa9.entry.js +1 -0
- package/www/build/p-3c2d438b.entry.js +1 -0
- package/www/build/p-3f55dce6.entry.js +1 -0
- package/www/build/p-411cbcd6.entry.js +1 -0
- package/www/build/p-475ca461.entry.js +1 -0
- package/{dist/web-components-library/p-4a322ca6.entry.js → www/build/p-496863be.entry.js} +1 -1
- package/www/build/p-4cd6c6f4.entry.js +1 -0
- package/www/build/p-51e308ca.entry.js +1 -0
- package/www/build/p-59cfee8d.entry.js +1 -0
- package/www/build/p-5dd9a2c6.entry.js +1 -0
- package/www/build/p-61424b8a.entry.js +1 -0
- package/www/build/{p-3b1c4366.entry.js → p-67d6cfcb.entry.js} +1 -1
- package/www/build/p-682528b2.entry.js +1 -0
- package/www/build/p-6b1a5309.entry.js +1 -0
- package/www/build/p-7af991f5.entry.js +1 -0
- package/www/build/p-810bd730.entry.js +1 -0
- package/www/build/p-8980398c.entry.js +1 -0
- package/www/build/p-8b960526.entry.js +1 -0
- package/www/build/p-8bf0844b.entry.js +1 -0
- package/www/build/p-8c105bd1.entry.js +1 -0
- package/www/build/p-8f46e548.entry.js +1 -0
- package/www/build/p-8ffc17b7.entry.js +1 -0
- package/www/build/p-93dc6d51.entry.js +1 -0
- package/www/build/p-95b8f109.entry.js +1 -0
- package/www/build/{p-db234892.entry.js → p-9965827d.entry.js} +1 -1
- package/www/build/{p-323ae109.entry.js → p-9c28b8fc.entry.js} +1 -1
- package/www/build/p-9c338aeb.entry.js +1 -0
- package/www/build/p-9d03a7d6.entry.js +1 -0
- package/www/build/{p-1f8c947e.entry.js → p-9ed27651.entry.js} +1 -1
- package/www/build/p-a23e9115.js +1 -0
- package/www/build/p-a2b67e2d.entry.js +1 -0
- package/www/build/p-a79d1412.entry.js +1 -0
- package/www/build/p-a82ea410.entry.js +1 -0
- package/www/build/{p-4c7f4a2c.entry.js → p-b17981a4.entry.js} +1 -1
- package/www/build/p-b33f5e6a.entry.js +1 -0
- package/www/build/{p-bee26f96.js → p-b3c29822.js} +1 -1
- package/www/build/p-b6f36170.entry.js +16 -0
- package/www/build/p-bb0fe7bc.entry.js +1 -0
- package/www/build/p-bdc6f2e5.entry.js +1 -0
- package/www/build/p-beba3e67.entry.js +1 -0
- package/www/build/p-c25b0b2a.entry.js +1 -0
- package/www/build/p-c6aad085.entry.js +1 -0
- package/www/build/p-cd43f80d.js +1 -0
- package/www/build/p-ce83ce18.entry.js +1 -0
- package/www/build/p-db3c8e3e.entry.js +1 -0
- package/www/build/p-e40b16fa.entry.js +1 -0
- package/www/build/p-e9bbbd5a.js +1 -0
- package/www/build/p-ede9fbf5.entry.js +1 -0
- package/www/build/p-f0653e72.entry.js +1 -0
- package/www/build/{p-2c18a622.entry.js → p-f158d205.entry.js} +1 -1
- package/www/build/p-f20d1242.entry.js +1 -0
- package/www/build/p-f95cc914.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/z-app-switcher.cjs.entry.js +0 -28
- package/dist/cjs/z-button-deprecated.cjs.entry.js +0 -36
- package/dist/cjs/z-button-filter.cjs.entry.js +0 -49
- package/dist/cjs/z-candybar.cjs.entry.js +0 -19
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +0 -24
- package/dist/cjs/z-cookiebar.cjs.entry.js +0 -44
- package/dist/cjs/z-footer-link_3.cjs.entry.js +0 -54
- package/dist/cjs/z-footer.cjs.entry.js +0 -110
- package/dist/cjs/z-input-deprecated.cjs.entry.js +0 -261
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +0 -93
- package/dist/cjs/z-myz-topbar.cjs.entry.js +0 -201
- package/dist/cjs/z-pagination-bar.cjs.entry.js +0 -116
- package/dist/cjs/z-pagination-page.cjs.entry.js +0 -25
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +0 -129
- package/dist/cjs/z-status-tag.cjs.entry.js +0 -32
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +0 -262
- package/dist/collection/components/footer/z-footer/index.js +0 -262
- package/dist/collection/components/footer/z-footer/styles.css +0 -242
- package/dist/collection/components/footer/z-footer-link/index.js +0 -45
- package/dist/collection/components/footer/z-footer-link/styles.css +0 -25
- package/dist/collection/components/footer/z-footer-section/index.js +0 -54
- package/dist/collection/components/footer/z-footer-section/styles.css +0 -150
- package/dist/collection/components/footer/z-footer-social/index.js +0 -78
- package/dist/collection/components/footer/z-footer-social/styles.css +0 -15
- package/dist/collection/components/notification/z-candybar/index.js +0 -21
- package/dist/collection/components/notification/z-candybar/styles.css +0 -55
- package/dist/collection/components/notification/z-cookiebar/index.js +0 -115
- package/dist/collection/components/notification/z-cookiebar/styles.css +0 -108
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +0 -271
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +0 -22
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +0 -136
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +0 -57
- package/dist/collection/deprecated/z-button-deprecated/index.js +0 -221
- package/dist/collection/deprecated/z-button-deprecated/styles.css +0 -231
- package/dist/collection/deprecated/z-button-filter/index.js +0 -159
- package/dist/collection/deprecated/z-button-filter/styles.css +0 -64
- package/dist/collection/deprecated/z-chip-deprecated/index.js +0 -63
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +0 -17
- package/dist/collection/deprecated/z-input-deprecated/index.js +0 -810
- package/dist/collection/deprecated/z-input-deprecated/styles.css +0 -282
- package/dist/collection/deprecated/z-input-label/index.js +0 -79
- package/dist/collection/deprecated/z-input-label/styles.css +0 -16
- package/dist/collection/deprecated/z-popover-deprecated/index.js +0 -300
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +0 -235
- package/dist/collection/deprecated/z-status-tag/index.js +0 -133
- package/dist/collection/deprecated/z-status-tag/styles.css +0 -131
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +0 -378
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +0 -128
- package/dist/collection/snowflakes/myz/topbar/index.js +0 -409
- package/dist/collection/snowflakes/myz/topbar/styles.css +0 -574
- package/dist/esm/z-app-switcher.entry.js +0 -24
- package/dist/esm/z-button-deprecated.entry.js +0 -32
- package/dist/esm/z-button-filter.entry.js +0 -45
- package/dist/esm/z-candybar.entry.js +0 -15
- package/dist/esm/z-chip-deprecated.entry.js +0 -20
- package/dist/esm/z-cookiebar.entry.js +0 -40
- package/dist/esm/z-footer-link_3.entry.js +0 -48
- package/dist/esm/z-footer.entry.js +0 -106
- package/dist/esm/z-input-deprecated.entry.js +0 -257
- package/dist/esm/z-menu-dropdown_2.entry.js +0 -88
- package/dist/esm/z-myz-topbar.entry.js +0 -197
- package/dist/esm/z-pagination-bar.entry.js +0 -112
- package/dist/esm/z-pagination-page.entry.js +0 -21
- package/dist/esm/z-popover-deprecated.entry.js +0 -125
- package/dist/esm/z-status-tag.entry.js +0 -28
- package/dist/esm/z-tooltip-deprecated.entry.js +0 -258
- package/dist/types/components/footer/z-footer/index.d.ts +0 -46
- package/dist/types/components/footer/z-footer-link/index.d.ts +0 -8
- package/dist/types/components/footer/z-footer-section/index.d.ts +0 -10
- package/dist/types/components/footer/z-footer-social/index.d.ts +0 -9
- package/dist/types/components/notification/z-candybar/index.d.ts +0 -6
- package/dist/types/components/notification/z-cookiebar/index.d.ts +0 -16
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +0 -40
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +0 -15
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +0 -28
- package/dist/types/deprecated/z-button-filter/index.d.ts +0 -22
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +0 -8
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +0 -91
- package/dist/types/deprecated/z-input-label/index.d.ts +0 -9
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +0 -33
- package/dist/types/deprecated/z-status-tag/index.d.ts +0 -15
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +0 -41
- package/dist/types/snowflakes/myz/topbar/index.d.ts +0 -59
- package/dist/web-components-library/p-016b2800.entry.js +0 -1
- package/dist/web-components-library/p-067bd5da.entry.js +0 -1
- package/dist/web-components-library/p-0afc555e.entry.js +0 -1
- package/dist/web-components-library/p-10b84e8c.entry.js +0 -1
- package/dist/web-components-library/p-12211a48.entry.js +0 -1
- package/dist/web-components-library/p-18448e4d.entry.js +0 -1
- package/dist/web-components-library/p-1ab0de76.entry.js +0 -1
- package/dist/web-components-library/p-1e163a87.entry.js +0 -1
- package/dist/web-components-library/p-1f187c54.entry.js +0 -1
- package/dist/web-components-library/p-1f8c8cd0.entry.js +0 -1
- package/dist/web-components-library/p-2d5d8e6f.entry.js +0 -1
- package/dist/web-components-library/p-2e7a31ac.entry.js +0 -1
- package/dist/web-components-library/p-3027c60b.entry.js +0 -1
- package/dist/web-components-library/p-30fcd62b.js +0 -1
- package/dist/web-components-library/p-35739670.entry.js +0 -1
- package/dist/web-components-library/p-36d2d081.entry.js +0 -1
- package/dist/web-components-library/p-3c7cf41f.entry.js +0 -1
- package/dist/web-components-library/p-3eb0d582.entry.js +0 -1
- package/dist/web-components-library/p-3ecfb7c1.entry.js +0 -1
- package/dist/web-components-library/p-40f96085.entry.js +0 -1
- package/dist/web-components-library/p-42782d06.entry.js +0 -1
- package/dist/web-components-library/p-4465426a.entry.js +0 -1
- package/dist/web-components-library/p-468520f5.entry.js +0 -1
- package/dist/web-components-library/p-46e367c9.entry.js +0 -1
- package/dist/web-components-library/p-4ba0b17c.entry.js +0 -1
- package/dist/web-components-library/p-552c6686.entry.js +0 -1
- package/dist/web-components-library/p-563529f8.entry.js +0 -1
- package/dist/web-components-library/p-569f6cff.entry.js +0 -1
- package/dist/web-components-library/p-57faab40.entry.js +0 -1
- package/dist/web-components-library/p-5935151c.entry.js +0 -1
- package/dist/web-components-library/p-5b83568e.entry.js +0 -1
- package/dist/web-components-library/p-5c6108bb.entry.js +0 -1
- package/dist/web-components-library/p-63a99ad2.entry.js +0 -16
- package/dist/web-components-library/p-64033ee3.entry.js +0 -1
- package/dist/web-components-library/p-66bbcf76.entry.js +0 -1
- package/dist/web-components-library/p-69db61b5.entry.js +0 -1
- package/dist/web-components-library/p-6e4dd501.entry.js +0 -1
- package/dist/web-components-library/p-6fe1bffb.entry.js +0 -1
- package/dist/web-components-library/p-7171d686.entry.js +0 -1
- package/dist/web-components-library/p-75a4091f.entry.js +0 -1
- package/dist/web-components-library/p-7b22a446.entry.js +0 -1
- package/dist/web-components-library/p-7e13d026.entry.js +0 -1
- package/dist/web-components-library/p-82ff8f0e.entry.js +0 -1
- package/dist/web-components-library/p-84cc611a.entry.js +0 -1
- package/dist/web-components-library/p-8879211b.entry.js +0 -1
- package/dist/web-components-library/p-8949cd1d.entry.js +0 -1
- package/dist/web-components-library/p-9099124a.entry.js +0 -1
- package/dist/web-components-library/p-9ecf936d.js +0 -1
- package/dist/web-components-library/p-a1250f99.entry.js +0 -1
- package/dist/web-components-library/p-a3b8dd69.entry.js +0 -1
- package/dist/web-components-library/p-aa271ed7.entry.js +0 -1
- package/dist/web-components-library/p-af4a9bb7.entry.js +0 -1
- package/dist/web-components-library/p-af9b8051.entry.js +0 -1
- package/dist/web-components-library/p-b01314fa.entry.js +0 -1
- package/dist/web-components-library/p-b4a9ba1d.entry.js +0 -1
- package/dist/web-components-library/p-b9a69a90.entry.js +0 -1
- package/dist/web-components-library/p-bbbfd2fa.entry.js +0 -1
- package/dist/web-components-library/p-bea5aa42.entry.js +0 -1
- package/dist/web-components-library/p-c39c68b9.entry.js +0 -1
- package/dist/web-components-library/p-c7d7958c.entry.js +0 -1
- package/dist/web-components-library/p-c849a2a5.entry.js +0 -1
- package/dist/web-components-library/p-d1b45e96.entry.js +0 -1
- package/dist/web-components-library/p-d767f784.entry.js +0 -1
- package/dist/web-components-library/p-d7e72cec.entry.js +0 -1
- package/dist/web-components-library/p-d8e17d3a.entry.js +0 -1
- package/dist/web-components-library/p-dc3c5f36.entry.js +0 -1
- package/dist/web-components-library/p-e0f82390.entry.js +0 -1
- package/dist/web-components-library/p-e1ddeb61.entry.js +0 -1
- package/dist/web-components-library/p-e4d761f4.entry.js +0 -1
- package/dist/web-components-library/p-efca7e17.entry.js +0 -1
- package/dist/web-components-library/p-f08d1cbd.entry.js +0 -1
- package/dist/web-components-library/p-f53d1d26.entry.js +0 -1
- package/dist/web-components-library/p-f8aef252.entry.js +0 -1
- package/dist/web-components-library/p-f94281ee.entry.js +0 -1
- package/dist/web-components-library/p-f9e8ac5d.entry.js +0 -1
- package/www/build/p-016b2800.entry.js +0 -1
- package/www/build/p-067bd5da.entry.js +0 -1
- package/www/build/p-0afc555e.entry.js +0 -1
- package/www/build/p-10b84e8c.entry.js +0 -1
- package/www/build/p-12211a48.entry.js +0 -1
- package/www/build/p-18448e4d.entry.js +0 -1
- package/www/build/p-1ab0de76.entry.js +0 -1
- package/www/build/p-1e163a87.entry.js +0 -1
- package/www/build/p-1f187c54.entry.js +0 -1
- package/www/build/p-1f8c8cd0.entry.js +0 -1
- package/www/build/p-2d5d8e6f.entry.js +0 -1
- package/www/build/p-2e7a31ac.entry.js +0 -1
- package/www/build/p-3027c60b.entry.js +0 -1
- package/www/build/p-30fcd62b.js +0 -1
- package/www/build/p-35739670.entry.js +0 -1
- package/www/build/p-36d2d081.entry.js +0 -1
- package/www/build/p-3c7cf41f.entry.js +0 -1
- package/www/build/p-3eb0d582.entry.js +0 -1
- package/www/build/p-3ecfb7c1.entry.js +0 -1
- package/www/build/p-40f96085.entry.js +0 -1
- package/www/build/p-42782d06.entry.js +0 -1
- package/www/build/p-4465426a.entry.js +0 -1
- package/www/build/p-468520f5.entry.js +0 -1
- package/www/build/p-46e367c9.entry.js +0 -1
- package/www/build/p-4ba0b17c.entry.js +0 -1
- package/www/build/p-552c6686.entry.js +0 -1
- package/www/build/p-563529f8.entry.js +0 -1
- package/www/build/p-569f6cff.entry.js +0 -1
- package/www/build/p-57faab40.entry.js +0 -1
- package/www/build/p-5935151c.entry.js +0 -1
- package/www/build/p-5b83568e.entry.js +0 -1
- package/www/build/p-5c6108bb.entry.js +0 -1
- package/www/build/p-63a99ad2.entry.js +0 -16
- package/www/build/p-64033ee3.entry.js +0 -1
- package/www/build/p-66bbcf76.entry.js +0 -1
- package/www/build/p-69db61b5.entry.js +0 -1
- package/www/build/p-6e4dd501.entry.js +0 -1
- package/www/build/p-6fe1bffb.entry.js +0 -1
- package/www/build/p-7171d686.entry.js +0 -1
- package/www/build/p-75a4091f.entry.js +0 -1
- package/www/build/p-7b22a446.entry.js +0 -1
- package/www/build/p-7e13d026.entry.js +0 -1
- package/www/build/p-82ff8f0e.entry.js +0 -1
- package/www/build/p-84cc611a.entry.js +0 -1
- package/www/build/p-8879211b.entry.js +0 -1
- package/www/build/p-8949cd1d.entry.js +0 -1
- package/www/build/p-9099124a.entry.js +0 -1
- package/www/build/p-9ecf936d.js +0 -1
- package/www/build/p-a1250f99.entry.js +0 -1
- package/www/build/p-a3b8dd69.entry.js +0 -1
- package/www/build/p-aa271ed7.entry.js +0 -1
- package/www/build/p-af4a9bb7.entry.js +0 -1
- package/www/build/p-af9b8051.entry.js +0 -1
- package/www/build/p-b01314fa.entry.js +0 -1
- package/www/build/p-b4a9ba1d.entry.js +0 -1
- package/www/build/p-b9a69a90.entry.js +0 -1
- package/www/build/p-bbbfd2fa.entry.js +0 -1
- package/www/build/p-bea5aa42.entry.js +0 -1
- package/www/build/p-c39c68b9.entry.js +0 -1
- package/www/build/p-c7d7958c.entry.js +0 -1
- package/www/build/p-c849a2a5.entry.js +0 -1
- package/www/build/p-d1b45e96.entry.js +0 -1
- package/www/build/p-d767f784.entry.js +0 -1
- package/www/build/p-d7e72cec.entry.js +0 -1
- package/www/build/p-d8e17d3a.entry.js +0 -1
- package/www/build/p-dc3c5f36.entry.js +0 -1
- package/www/build/p-e0f82390.entry.js +0 -1
- package/www/build/p-e1ddeb61.entry.js +0 -1
- package/www/build/p-e4d761f4.entry.js +0 -1
- package/www/build/p-ef5f8af2.js +0 -1
- package/www/build/p-efca7e17.entry.js +0 -1
- package/www/build/p-f08d1cbd.entry.js +0 -1
- package/www/build/p-f53d1d26.entry.js +0 -1
- package/www/build/p-f8aef252.entry.js +0 -1
- package/www/build/p-f94281ee.entry.js +0 -1
- package/www/build/p-f9e8ac5d.entry.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as e}from"./p-d17ebc2f.js";import{I as s,K as r}from"./p-9ecf936d.js";import{h as o}from"./p-30fcd62b.js";import"./p-d69e14fb.js";const a=class{constructor(e){i(this,e),this.comboboxChange=t(this,"comboboxChange",7),this.itemsList=[],this.inputType=s.TEXT,this.inputid=void 0,this.items=void 0,this.label=void 0,this.hassearch=!1,this.searchlabel=void 0,this.searchplaceholder=void 0,this.searchtitle=void 0,this.noresultslabel="Nessun risultato",this.isopen=!1,this.isfixed=!1,this.closesearchtext="Chiudi",this.hascheckall=!1,this.checkalltext="Seleziona tutti",this.uncheckalltext="Deseleziona tutti",this.maxcheckableitems=0,this.searchValue=void 0,this.selectedCounter=void 0,this.renderItemsList=[],this.toggleComboBox=this.toggleComboBox.bind(this),this.closeFilterItems=this.closeFilterItems.bind(this)}watchItems(){this.itemsList="string"==typeof this.items?JSON.parse(this.items):this.items,this.selectedCounter=this.itemsList.filter((i=>i.checked)).length,this.searchValue?this.filterItems(this.searchValue):this.resetRenderItemsList()}inputCheckListener(i){const t=i.detail.id.replace(`combo-checkbox-${this.inputid}-`,"");if("check-all"===t&&(!this.maxcheckableitems||this.maxcheckableitems>=this.itemsList.length))return this.checkAll(i.detail.checked);this.itemsList=this.itemsList.map((e=>(e.id===t&&(e.checked=i.detail.checked),e))),this.resetRenderItemsList(),this.emitComboboxChange()}emitComboboxChange(){this.comboboxChange.emit({id:this.inputid,items:this.itemsList})}componentWillLoad(){this.watchItems()}componentWillRender(){this.selectedCounter=this.itemsList.filter((i=>i.checked)).length,this.searchValue&&this.filterItems(this.searchValue)}resetRenderItemsList(){const i=[];this.itemsList.forEach((t=>{i.push(Object.assign({},t))})),this.renderItemsList=i}filterItems(i){if(!i)return this.closeFilterItems();this.searchValue=i,this.resetRenderItemsList(),this.renderItemsList=this.renderItemsList.filter((t=>{const e=t.name.toUpperCase().indexOf(i.toUpperCase()),s=e+i.length,r=t.name.substring(0,e)+t.name.substring(e,s).bold()+t.name.substring(s,t.name.length);return t.name=r,e>=0}))}checkAll(i=!0){this.itemsList=this.itemsList.map((t=>Object.assign(Object.assign({},t),{checked:i}))),this.resetRenderItemsList(),this.emitComboboxChange()}closeFilterItems(){this.searchValue="",this.resetRenderItemsList()}toggleComboBox(){this.isopen=!this.isopen}renderHeader(){return e("div",{class:"header",onClick:()=>this.toggleComboBox(),onKeyDown:i=>{i.keyCode===r.SPACE&&i.preventDefault()},onKeyUp:i=>o(i,this.toggleComboBox),role:"button",tabindex:0},e("z-body",{level:3,component:"p"},this.label,e("span",null,this.selectedCounter>0&&` (${this.selectedCounter})`)),e("z-icon",{name:"caret-down",width:18,height:18}))}renderContent(){if(this.isopen)return e("div",{class:"open-combo-data"},this.hassearch&&this.renderSearchInput(),this.hascheckall&&this.renderCheckAll(),this.renderItems())}renderItems(){if(this.isopen)return e("div",{class:this.searchValue&&"search",tabindex:-1},this.renderList(this.renderItemsList),this.searchValue&&this.renderCloseButton())}renderList(i){if(i)return!i.length&&this.searchValue?this.renderNoSearchResults():e("ul",null,i.map(((t,r)=>e("z-myz-list-item",{id:t.id,listitemid:t.id,action:`combo-li-${this.inputid}`,underlined:r!==i.length-1},e("z-input",{type:s.CHECKBOX,checked:t.checked,htmlid:`combo-checkbox-${this.inputid}-${t.id}`,label:t.name,disabled:!t.checked&&this.maxcheckableitems&&this.maxcheckableitems===this.selectedCounter})))))}renderNoSearchResults(){return e("ul",null,e("z-myz-list-item",{id:"no-results",text:this.noresultslabel,listitemid:"no-results",icon:"multiply-circle"}))}renderCloseButton(){return e("div",null,e("a",{onClick:()=>this.closeFilterItems(),onKeyUp:i=>o(i,this.closeFilterItems),role:"button",tabindex:0},this.closesearchtext))}renderSearchInput(){if(this.isopen)return e("z-input",{htmlid:`${this.inputid}_search`,label:this.searchlabel,placeholder:this.searchplaceholder,htmltitle:this.searchtitle,type:this.inputType,value:this.searchValue,message:!1,onInputChange:i=>{if(27===i.detail.keycode)return this.closeFilterItems();this.filterItems(i.detail.value)}})}renderCheckAll(){if(this.searchValue)return;const i=this.selectedCounter===this.itemsList.length;return e("div",{class:"check-all-wrapper"},e("z-input",{type:s.CHECKBOX,checked:i,htmlid:`combo-checkbox-${this.inputid}-check-all`,label:i?this.uncheckalltext:this.checkalltext,disabled:this.maxcheckableitems&&this.maxcheckableitems<this.itemsList.length}))}render(){return e("div",{"data-action":`combo-${this.inputid}`,class:{open:this.isopen,fixed:this.isfixed},id:this.inputid},this.renderHeader(),this.renderContent())}static get watchers(){return{items:["watchItems"]}}};a.style=":host{display:block}:host>div.fixed{position:relative}:host>div>.header{position:relative;z-index:10;display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--bg-grey-700);margin:0;background-color:var(--bg-white);border-radius:var(--border-radius-small);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{padding:var(--space-unit) 0;margin: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:var(--border-size-small) solid var(--blue500);border-radius:var(border-radius-small) var(border-radius-small) 0 0}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.open-combo-data{position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--gray200);border-top:0;background-color:var(--bg-white);border-radius:0}:host>div.open>div.open-combo-data>div{overflow:auto;max-height:235px;padding:0;scrollbar-color:var(--myz-blue) var(--gray200);scrollbar-width:thin}:host>div.open>div.open-combo-data>z-input{width:100%;margin-bottom:calc(var(--space-unit) * 2)}:host>div.open>div.open-combo-data>div>ul{max-height:235px;padding:0 3px;margin:0}::-webkit-scrollbar{width:10px;background:linear-gradient(90deg, var(--bg-white) 2px, var(--bg-grey-200) 4px, var(--bg-white) 8px);border-radius:var(--border-radius)}::-webkit-scrollbar-thumb{width:10px;background-color:var(--myz-blue);border-radius:var(--border-radius)}:host>div.open>z-input{position:relative;z-index:1;width:238px;margin:0 calc(var(--space-unit) * 2);color:var(--myz-blue)}:host>div.open>div.open-combo-data>div.search{overflow:hidden;max-height:auto;margin-top:0;box-shadow:1px 1px 4px 2px rgb(217 222 227 / 50%)}:host>div.open>div.open-combo-data>div.search>ul{overflow:auto;max-height:180px;padding:var(--space-unit) calc(var(--space-unit) * 2);scrollbar-color:var(--myz-blue) var(--bg-grey-200);scrollbar-width:thin}:host>div.open>div.open-combo-data>div.search>div{display:flex;justify-content:center}:host>div.open>div.open-combo-data>div.search>div>a{display:inline-block;height:44px;color:var(--myz-blue);cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.open-combo-data>div.check-all-wrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);text-align:left}";export{a as z_combobox}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as a,H as i,g as l}from"./p-d17ebc2f.js";import{B as o,c as s}from"./p-9ecf936d.js";import{m as r}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.lines=void 0,this.errorMessage="Siamo spiacenti, non siamo riusciti a caricare il contenuto richiesto",this.bordered=!1,this.callToActionLabel=void 0,this.callToActionTwoLabel=void 0,this.columnSticky=!1,this.empty=!1,this.error=!1,this.errorLink=void 0,this.headerSticky=!1,this.message="Siamo spiacenti, al momento non sono presenti dati da visualizzare",this.subtitle="",this.hasTableBody=void 0,this.isMobile=void 0}handleResize(){this.isMobile=window.innerWidth<=r}handleOrientationChange(){this.isMobile=screen.width<=r}componentWillLoad(){var t;this.isMobile=window.innerWidth<=r;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(i,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?s.SMALL:s.BIG,l=this.hasTableBody?"table-content":"";return this.hasTableBody?a(i,null,a("div",{class:t},a("slot",{name:"table-header"}),a("div",{class:l},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:o.TERTIARY,onClick:()=>this.callToAction.emit(),size:e},this.callToActionLabel),!!this.callToActionTwoLabel&&a("z-button",{slot:"cta2",variant:o.TERTIARY,onClick:()=>this.callToActionTwo.emit(),size:e},this.callToActionTwoLabel))))):a(i,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:o.TERTIARY,onClick:()=>this.callToAction.emit(),size:e},this.callToActionLabel),!!this.callToActionTwoLabel&&a("z-button",{slot:"cta2",variant:o.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(i,null,a("div",{class:t},a("slot",null)),a("slot",{name:"sticky-footer"}))}static get assetsDirs(){return["assets"]}get host(){return l(this)}};d.style="z-table{display:block;width:100%;background-color:var(--color-white);font-family:var(--dashboard-font);font-weight:var(--font-rg);overflow-x:auto}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;z-index:1;left:0;box-shadow:1px 0 4px -1px rgb(66 69 72 / 40%)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;z-index:2;top:0;box-shadow:0 2px 3px -3px rgb(66 69 72 / 40%)}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;width:100%;flex-direction:row}.error-content{display:flex;padding:calc(var(--space-unit) * 3);font-family:var(--dashboard-font)}.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 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as i,g as r}from"./p-d17ebc2f.js";import{I as a}from"./p-9ecf936d.js";import{r as c}from"./p-30fcd62b.js";import"./p-d69e14fb.js";const s=class{constructor(i){e(this,i),this.inputChange=t(this,"inputChange",7),this.startTyping=t(this,"startTyping",7),this.stopTyping=t(this,"stopTyping",7),this.inputCheck=t(this,"inputCheck",7),this.optionSelect=t(this,"optionSelect",7),this.htmlid=`id-${c()}`,this.type=void 0,this.name=void 0,this.label=void 0,this.ariaLabel="",this.value=void 0,this.disabled=!1,this.readonly=!1,this.required=!1,this.checked=!1,this.placeholder=void 0,this.htmltitle=void 0,this.status=void 0,this.hasmessage=!0,this.message=void 0,this.labelafter=!0,this.typingtimeout=300,this.items=void 0,this.autocomplete=void 0,this.multiple=!1,this.hasclearicon=!0,this.icon=void 0,this.isTyping=!1,this.textareaWrapperHover="",this.textareaWrapperFocus="",this.passwordHidden=!0}inputCheckListener(e){const t=e.detail;switch(this.type){case a.RADIO:t.type===a.RADIO&&t.name===this.name&&t.id!==this.htmlid&&(this.checked=!1)}}async getValue(){switch(this.type){case"select":return this.selectElem.getValue();default:return this.value}}async setValue(e){switch(this.type){case"select":this.selectElem.setValue(e);break;default:"string"==typeof e&&(this.value=e)}}async isChecked(){switch(this.type){case a.CHECKBOX:case a.RADIO:return this.checked;default:return!1}}emitInputChange(e,t){let i;this.isTyping||this.emitStartTyping(),i=this.getValidity(this.type===a.TEXTAREA?"textarea":"input"),this.value=e,this.inputChange.emit({value:e,keycode:t,validity:i}),clearTimeout(this.timer),this.timer=setTimeout((()=>{this.emitStopTyping(this.value,i)}),this.typingtimeout)}emitStartTyping(){this.isTyping=!0,this.startTyping.emit()}emitStopTyping(e,t){this.isTyping=!1,this.stopTyping.emit({value:e,validity:t})}emitInputCheck(e){this.inputCheck.emit({id:this.htmlid,checked:e,type:this.type,name:this.name,value:this.value,validity:this.getValidity("input")})}getValidity(e){return this.hostElement.querySelector(e).validity}getTextAttributes(){const e={id:this.htmlid,name:this.name,placeholder:this.placeholder,value:this.value,disabled:this.disabled,readonly:this.readonly,required:this.required,title:this.htmltitle,class:{[`input-${this.status}`]:!!this.status,istyping:this.isTyping,filled:!this.isTyping&&!!this.value},onInput:e=>this.emitInputChange(e.target.value,e instanceof KeyboardEvent?e.keyCode:null)};return this.autocomplete&&(e.autocomplete=this.autocomplete),e}renderInputText(e=a.TEXT){const t=this.getTextAttributes();return(this.icon||e===a.PASSWORD)&&Object.assign(t.class,{"has-icon":!0}),this.hasclearicon&&Object.assign(t.class,{"has-clear-icon":!0}),i("div",{class:"text-wrapper"},this.renderLabel(),i("div",null,i("input",Object.assign({type:e!==a.PASSWORD||this.passwordHidden?e:a.TEXT},t,{"aria-label":this.ariaLabel||this.label})),this.renderIcons()),this.renderMessage())}renderLabel(){if(this.label)return i("z-input-label",{htmlfor:this.htmlid,value:this.label,disabled:this.disabled,"aria-label":this.label,id:`${this.htmlid}_label`})}renderIcons(){return i("span",{class:{"icons-wrapper":!0,disabled:this.disabled}},this.renderResetIcon(),this.renderIcon())}renderIcon(){return this.type===a.PASSWORD?this.renderShowHidePassword():this.icon?i("z-icon",{class:"input-icon",name:this.icon}):void 0}renderResetIcon(){if(this.hasclearicon&&this.value&&!this.disabled&&!this.readonly)return i("z-icon",{class:"reset-icon",name:"multiply",onClick:e=>this.emitInputChange("",e instanceof KeyboardEvent?e.keyCode:null)})}renderShowHidePassword(){return i("z-icon",{class:"toggle-password-icon",name:this.passwordHidden?"view-filled":"view-off-filled",onClick:()=>this.passwordHidden=!this.passwordHidden})}renderMessage(){if(this.hasmessage)return i("z-input-message",{message:this.message,status:this.status})}renderTextarea(){const e=this.getTextAttributes();return i("div",{class:"text-wrapper"},this.renderLabel(),i("div",{class:Object.assign(Object.assign({"textarea-wrapper":!0},e.class),{disabled:e.disabled,readonly:!!e.readonly,istyping:this.isTyping,[this.textareaWrapperFocus]:!0,[this.textareaWrapperHover]:!0})},i("textarea",Object.assign({},e,{onFocus:()=>this.textareaWrapperFocus="focus",onBlur:()=>this.textareaWrapperFocus="",onMouseOver:()=>this.textareaWrapperHover="hover",onMouseOut:()=>this.textareaWrapperHover="","aria-label":this.ariaLabel||this.label}))),this.renderMessage())}handleCheck(e){this.checked=e.target.checked,this.emitInputCheck(this.checked)}renderCheckbox(){return i("div",{class:"checkbox-wrapper"},i("input",{id:this.htmlid,type:"checkbox",name:this.name,checked:this.checked,disabled:this.disabled,readonly:this.readonly,required:this.required,onChange:this.handleCheck.bind(this),value:this.value}),i("label",{htmlFor:this.htmlid,class:{"checkbox-label":!0,after:this.labelafter,before:!this.labelafter}},i("z-icon",{name:this.checked?"checkbox-checked":"checkbox","aria-hidden":"true"}),this.label&&i("span",{innerHTML:this.label})))}renderRadio(){return i("div",{class:"radio-wrapper"},i("input",{id:this.htmlid,type:"radio",name:this.name,checked:this.checked,disabled:this.disabled,readonly:this.readonly,onChange:this.handleCheck.bind(this),value:this.value}),i("label",{htmlFor:this.htmlid,class:{"radio-label":!0,after:this.labelafter,before:!this.labelafter}},i("z-icon",{name:this.checked?"radio-button-checked":"radio-button","aria-hidden":"true"}),this.label&&i("span",{innerHTML:this.label})))}renderSelect(){return i("z-select",{htmlid:this.htmlid,items:this.items,name:this.name,label:this.label,"aria-label":this.ariaLabel,disabled:this.disabled,readonly:this.readonly,placeholder:this.placeholder,htmltitle:this.htmltitle,status:this.status,message:!!this.hasmessage&&this.message,autocomplete:this.autocomplete,ref:e=>this.selectElem=e})}render(){switch(this.type){case a.TEXT:case a.PASSWORD:case a.NUMBER:case a.EMAIL:return this.renderInputText(this.type);case a.TEXTAREA:return this.renderTextarea();case a.CHECKBOX:return this.renderCheckbox();case a.RADIO:return this.renderRadio();case"select":return this.renderSelect();default:return this.renderInputText()}}get hostElement(){return r(this)}};s.style='.sc-z-input-deprecated-h{display:inline-block;width:inherit}input.sc-z-input-deprecated::-ms-clear,input.sc-z-input-deprecated::-ms-reveal{display:none}.sc-z-input-deprecated-h input.sc-z-input-deprecated::-ms-clear,.sc-z-input-deprecated-h input.sc-z-input-deprecated::-ms-reveal{display:none}input.sc-z-input-deprecated,textarea.sc-z-input-deprecated,.textarea-wrapper.sc-z-input-deprecated,ul[role="listbox"].sc-z-input-deprecated{box-sizing:border-box;border:var(--border-size-small) solid var(--color-surface04);background:var(--color-input-field01);border-radius:var(--border-radius-small);color:var(--color-text02);fill:var(--color-icon02);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg);outline:none}input.sc-z-input-deprecated:focus:focus-visible,li[role="option"].sc-z-input-deprecated:focus:focus-visible,.focus.sc-z-input-deprecated{box-shadow:var(--shadow-focus-primary)}.filled.sc-z-input-deprecated{border-color:var(--color-surface05)}.input-success.sc-z-input-deprecated,.input-success.sc-z-input-deprecated:hover,.input-success.hover.sc-z-input-deprecated{border-color:var(--color-success01);background:var(--color-success-inverse);fill:var(--color-success01)}.input-error.sc-z-input-deprecated,.input-error.sc-z-input-deprecated:hover,.input-error.hover.sc-z-input-deprecated{border-color:var(--color-error01);background:var(--color-error-inverse);fill:var(--color-error01)}.input-warning.sc-z-input-deprecated,.input-warning.sc-z-input-deprecated:hover,.input-warning.hover.sc-z-input-deprecated{border-color:var(--color-warning01);background:var(--color-warning-inverse);fill:var(--color-warning01)}input[readonly].sc-z-input-deprecated,.readonly.sc-z-input-deprecated{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}input.sc-z-input-deprecated:disabled,.disabled.sc-z-input-deprecated,.filled.sc-z-input-deprecated:disabled{border-color:var(--color-disabled01);box-shadow:none;color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none}input.sc-z-input-deprecated::placeholder,textarea.sc-z-input-deprecated::placeholder{color:var(--color-text05)}.sc-z-input-deprecated::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input-deprecated:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input-deprecated::placeholder{color:var(--color-text05)}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated{position:relative;z-index:1;fill:var(--color-icon02)}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated{width:100%;height:calc(var(--space-unit) * 5.5);box-sizing:border-box;padding:0 calc(var(--space-unit) * 4.5) 0 calc(var(--space-unit) * 1.5);margin:0}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.has-icon.sc-z-input-deprecated,.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.has-clear-icon.sc-z-input-deprecated{padding-right:calc(var(--space-unit) * 4)}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.has-icon.has-clear-icon.sc-z-input-deprecated{padding-right:calc(var(--space-unit) * 7)}.text-wrapper.sc-z-input-deprecated .icons-wrapper.sc-z-input-deprecated{position:absolute;z-index:2;right:calc(var(--space-unit) * 1.5);bottom:calc(var(--space-unit) * 1.5);display:flex}.text-wrapper.sc-z-input-deprecated .icons-wrapper.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{--z-icon-width:18px;--z-icon-height:18px;display:block;margin-left:calc(var(--space-unit) * 0.5)}.text-wrapper.sc-z-input-deprecated .icons-wrapper.sc-z-input-deprecated>z-icon.reset-icon.sc-z-input-deprecated,.text-wrapper.sc-z-input-deprecated .icons-wrapper.sc-z-input-deprecated>z-icon.toggle-password-icon.sc-z-input-deprecated{cursor:pointer}.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill,.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:hover,.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:focus,.text-wrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:active{background-clip:text !important}.textarea-wrapper.sc-z-input-deprecated{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input-deprecated::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}textarea.sc-z-input-deprecated::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input-deprecated::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input-deprecated::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input-deprecated{width:100%;min-height:132px;padding:0;border:none;margin:0;resize:none}.radio-wrapper.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated{position:relative;display:inline-flex;flex-direction:row;align-items:center;color:var(--color-text01);fill:var(--color-primary01);font-family:var(--font-family-sans)}.radio-wrapper.sc-z-input-deprecated:hover,.checkbox-wrapper.sc-z-input-deprecated:hover{color:var(--color-hover-primary);fill:currentcolor}.radio-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated{position:absolute;z-index:-1;opacity:0;pointer-events:none}.radio-wrapper.sc-z-input-deprecated .radio-label.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.sc-z-input-deprecated{display:inline-flex;align-items:center;margin:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:inherit}.radio-wrapper.sc-z-input-deprecated input.sc-z-input-deprecated:not(:disabled)+.radio-label.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated input.sc-z-input-deprecated:not(:disabled)+.checkbox-label.sc-z-input-deprecated{cursor:pointer}.radio-wrapper.sc-z-input-deprecated .radio-label.sc-z-input-deprecated z-icon.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.sc-z-input-deprecated z-icon.sc-z-input-deprecated{cursor:pointer;fill:inherit}.radio-wrapper.sc-z-input-deprecated .radio-label.after.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.after.sc-z-input-deprecated{flex-direction:row}.radio-wrapper.sc-z-input-deprecated .radio-label.before.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.before.sc-z-input-deprecated{flex-direction:row-reverse}.radio-wrapper.sc-z-input-deprecated .radio-label.after.sc-z-input-deprecated>span.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.after.sc-z-input-deprecated>span.sc-z-input-deprecated{margin-left:var(--space-unit)}.radio-wrapper.sc-z-input-deprecated .radio-label.before.sc-z-input-deprecated>span.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated .checkbox-label.before.sc-z-input-deprecated>span.sc-z-input-deprecated{margin-right:var(--space-unit)}.radio-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:focus:focus-visible+.radio-label.sc-z-input-deprecated>z-icon.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:focus:focus-visible+.checkbox-label.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{border-radius:var(--border-radius-small);box-shadow:var(--shadow-focus-primary)}.radio-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.radio-label.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.checkbox-label.sc-z-input-deprecated{color:var(--color-disabled02)}.radio-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.radio-label.sc-z-input-deprecated>z-icon.sc-z-input-deprecated,.checkbox-wrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.checkbox-label.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{cursor:default;fill:var(--color-disabled01)}';export{s as z_input_deprecated}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o}from"./p-d17ebc2f.js";import{L as e}from"./p-9ecf936d.js";const i=class{constructor(o){t(this,o),this.titolo=void 0,this.autori=void 0,this.isbn=void 0,this.faded=void 0,this.cardtype=void 0,this.opened=!1,this.customContent=!1,this.isOpen=!1,this.allowTooltipAuthors=!1}handleToggle(){this.isOpen=!this.isOpen}getTitleAuthors(){return this.allowTooltipAuthors?this.autori:""}componentWillLoad(){this.opened&&(this.isOpen=!0)}elementsEllipsis(){this.allowTooltipAuthors=!!this.elementAuthorsHasEllipsis()}elementAuthorsHasEllipsis(){return this.ellipsisAuthors.offsetWidth<this.ellipsisAuthors.scrollWidth}retrieveClass(){return{isopen:this.isOpen,real:this.cardtype===e.REAL,trial:this.cardtype===e.TRIAL,temp:this.cardtype===e.TEMP,"custom-content":this.customContent}}footerTransitionHandler(t){["visibility","height"].includes(t.propertyName)&&this.elementsEllipsis()}render(){return o("div",{class:Object.assign(Object.assign({},this.retrieveClass()),{wrapper:!0})},o("footer",{class:this.retrieveClass(),onTransitionEnd:t=>this.footerTransitionHandler(t)},o("span",{class:"toggle"},o("slot",{name:"toggle"})),this.titolo&&o("p",{class:{"custom-content":this.customContent}},this.titolo),o("div",{class:{content:!0,"custom-content":this.customContent}},o("div",null,o("p",{class:"authors",ref:t=>this.ellipsisAuthors=t},o("span",{title:this.getTitleAuthors()},o("span",{class:"bold"},this.autori))),o("p",{class:"year-isbn"},o("span",{class:"isbn"},o("span",null,o("span",{class:"bold"},this.isbn)," (ed. cartacea)")))),o("div",{class:"slot-handler "+(this.isOpen?"visible":"hidden")},o("slot",{name:"list"})))),this.customContent&&o("slot",{name:"content"}))}};i.style='footer{position:relative;z-index:5;top:0;width:auto;height:calc(var(--space-unit) * 6);padding:0;border-top:var(--border-size-medium) solid var(--color-surface03);margin:0;background-color:var(--color-surface01);border-radius:0 0 var(--border-radius) var(--border-radius);color:var(--color-surface05);font-family:var(--font-family-sans);font-weight:var(--font-rg);transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.real,footer.trial,footer.temp{border-top:var(--border-size-medium) solid var(--accent)}footer .bold{font-family:var(--font-family-sans);font-weight:var(--font-sb)}footer>p{overflow:hidden;height:40px;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) var(--space-unit) calc(var(--space-unit) * 2);margin:0;background-color:var(--color-surface01);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-rg);line-height:22px;transition:all 200ms linear}footer.isopen>p{background-color:var(--bg-neutral-200);font-size:14px;font-weight:var(--font-sb);transition:all 200ms linear}footer.isopen.real>p,footer.isopen.trial>p,footer.isopen.temp>p{background-color:var(--accent)}footer .visible{display:block}footer .hidden{display:none}footer>div.content{overflow:hidden;height:60px}footer>div.content>div:not(.slot-handler){padding:var(--space-unit) calc(var(--space-unit) * 2)}footer>div.content>div>p{overflow:hidden;height:20px;padding:0;margin:0;font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}footer>div.content>div>p.year-isbn{display:flex;flex-direction:row;justify-content:space-between;padding-top:var(--space-unit)}footer>div.content>div>p.year-isbn>span.isbn{overflow:hidden;text-overflow:ellipsis}footer.isopen>div.content>div:not(.slot-handler){height:68px}footer.isopen>div.content>div>p.authors{height:40px;text-overflow:initial;white-space:initial}footer.isopen>div.content>div>p.year-isbn{height:50px;flex-direction:column;padding-left:0}footer.isopen>div.content>div>p.year-isbn>span.isbn{display:inline-grid;padding-left:0}footer.isopen{top:-212px;height:295px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.custom-content{top:-292px}footer.isopen>div.content{height:280px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.custom-content>div.content{height:230px}.toggle{position:absolute;z-index:10;top:-24px;left:16px}.faded{opacity:0.3;pointer-events:none}footer>p.custom-content,footer .content.custom-content{display:none}footer.isopen>p.custom-content,footer.isopen .content.custom-content{display:block}div.wrapper{position:relative;height:100%}div.wrapper ::slotted([slot="content"]){position:absolute;z-index:10;top:calc(var(--space-unit) * 2);display:block;width:100%;height:112px;box-sizing:border-box;padding:0 calc(var(--space-unit) * 2);border-top:var(--border-size-medium) solid transparent;background:var(--color-white)}div.wrapper.isopen ::slotted([slot="content"]){top:0;bottom:0;height:128px;padding:calc(var(--space-unit) * 2);border-color:var(--accent)}';export{i as z_myz_card_footer}
|