@zanichelli/albe-web-components 16.2.2 → 16.3.0-rc2
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/dist/cjs/{index-1890445d.js → index-18b8a02e.js} +2 -2
- package/dist/cjs/{index-1890445d.js.map → index-18b8a02e.js.map} +1 -1
- package/dist/cjs/{index-1f9f28df.js → index-b4a90b75.js} +2 -2
- package/dist/cjs/{index-1f9f28df.js.map → index-b4a90b75.js.map} +1 -1
- package/dist/cjs/index-b695a167.js +47 -0
- package/dist/cjs/index-b695a167.js.map +1 -0
- package/dist/cjs/index-ba0eccb8.js +59 -0
- package/dist/cjs/index-ba0eccb8.js.map +1 -0
- package/dist/cjs/{index-b361709b.js → index-f4d3e681.js} +2 -2
- package/dist/cjs/{index-b361709b.js.map → index-f4d3e681.js.map} +1 -1
- package/dist/cjs/index-f9539ff9.js +75 -0
- package/dist/cjs/index-f9539ff9.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header_12.cjs.entry.js +10 -10
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +2 -2
- package/dist/cjs/z-book-card.cjs.entry.js +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +1 -1
- package/dist/cjs/z-cover-hero.cjs.entry.js +2 -2
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +4 -4
- package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
- package/dist/cjs/z-logo.cjs.entry.js +1 -1
- 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-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
- 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-otp.cjs.entry.js +2 -2
- package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
- package/dist/cjs/z-popover.cjs.entry.js +1 -1
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-select.cjs.entry.js +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
- 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.cjs.entry.js +8 -8
- package/dist/cjs/z-table.cjs.entry.js.map +1 -1
- package/dist/cjs/z-tbody.cjs.entry.js +1 -1
- package/dist/cjs/z-td.cjs.entry.js +1 -1
- package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/cjs/z-th.cjs.entry.js +1 -1
- package/dist/cjs/z-thead.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/z-tr.cjs.entry.js +3 -3
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/components/table/cells/z-td/index.js +1 -1
- package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
- package/dist/collection/components/table/cells/z-td/styles.css +5 -15
- package/dist/collection/components/table/cells/z-th/index.js +39 -5
- package/dist/collection/components/table/cells/z-th/index.js.map +1 -1
- package/dist/collection/components/table/cells/z-th/styles.css +33 -19
- package/dist/collection/components/table/z-table/index.js +1 -1
- package/dist/collection/components/table/z-table/styles.css +0 -4
- package/dist/collection/components/table/z-tbody/index.js +1 -1
- package/dist/collection/components/table/z-tfoot/index.js +1 -1
- package/dist/collection/components/table/z-thead/index.js +1 -1
- package/dist/collection/components/table/z-tr/index.js +1 -1
- package/dist/collection/components/table/z-tr/styles.css +0 -1
- package/dist/collection/components/z-accordion/index.js +1 -1
- package/dist/collection/components/z-anchor-navigation/index.js +1 -1
- package/dist/collection/components/z-app-header/index.js +3 -3
- package/dist/collection/components/z-aria-alert/index.js +1 -1
- package/dist/collection/components/z-avatar/index.js +2 -2
- package/dist/collection/components/z-book-card/index.js +1 -1
- package/dist/collection/components/z-breadcrumb/index.js +2 -2
- package/dist/collection/components/z-button-sort/index.js +1 -1
- package/dist/collection/components/z-chip/index.js +2 -2
- package/dist/collection/components/z-combobox/index.js +1 -1
- package/dist/collection/components/z-cover-hero/index.js +2 -2
- package/dist/collection/components/z-divider/index.js +1 -1
- package/dist/collection/components/z-ghost-loading/index.js +1 -1
- package/dist/collection/components/z-info-box/index.js +1 -1
- package/dist/collection/components/z-info-reveal/index.js +1 -1
- package/dist/collection/components/z-input/index.js +1 -1
- package/dist/collection/components/z-input-message/index.js +1 -1
- package/dist/collection/components/z-logo/index.js +1 -1
- package/dist/collection/components/z-menu/index.js +1 -1
- package/dist/collection/components/z-menu-section/index.js +1 -1
- package/dist/collection/components/z-modal/index.js +4 -4
- package/dist/collection/components/z-navigation-tabs/index.js +2 -2
- package/dist/collection/components/z-notification/index.js +1 -1
- package/dist/collection/components/z-offcanvas/index.js +1 -1
- package/dist/collection/components/z-panel-elem/index.js +2 -2
- package/dist/collection/components/z-popover/index.js +1 -1
- package/dist/collection/components/z-searchbar/index.js +1 -1
- package/dist/collection/components/z-section-title/index.js +1 -1
- package/dist/collection/components/z-select/index.js +1 -1
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-stepper/index.js +1 -1
- package/dist/collection/components/z-stepper-item/index.js +1 -1
- package/dist/collection/components/z-tag/index.js +2 -2
- package/dist/collection/components/z-toast-notification/index.js +1 -1
- package/dist/collection/components/z-toast-notification-list/index.js +1 -1
- package/dist/collection/components/z-toggle-button/index.js +2 -2
- package/dist/collection/components/z-toggle-switch/index.js +3 -3
- package/dist/collection/components/z-tooltip/index.js +1 -1
- package/dist/collection/components/z-visually-hidden/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
- package/dist/components/index10.js +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index15.js +4 -4
- package/dist/components/index16.js +1 -1
- package/dist/components/index17.js +1 -1
- package/dist/components/index18.js +1 -1
- package/dist/components/index19.js +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/index21.js +1 -1
- package/dist/components/index22.js +1 -1
- package/dist/components/index23.js +1 -1
- package/dist/components/index24.js +2 -2
- package/dist/components/index3.js +1 -1
- package/dist/components/index5.js +2 -2
- package/dist/components/index6.js +1 -1
- package/dist/components/index8.js +1 -1
- package/dist/components/z-accordion.js +1 -1
- package/dist/components/z-anchor-navigation.js +1 -1
- package/dist/components/z-app-header.js +3 -3
- package/dist/components/z-aria-alert.js +1 -1
- package/dist/components/z-avatar.js +2 -2
- package/dist/components/z-book-card.js +1 -1
- package/dist/components/z-breadcrumb.js +2 -2
- package/dist/components/z-button-sort.js +1 -1
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-cover-hero.js +2 -2
- package/dist/components/z-info-box.js +1 -1
- package/dist/components/z-info-reveal.js +1 -1
- package/dist/components/z-logo.js +1 -1
- package/dist/components/z-menu-section.js +1 -1
- package/dist/components/z-menu.js +1 -1
- package/dist/components/z-myz-card-alert.js +1 -1
- package/dist/components/z-myz-card-dictionary.js +1 -1
- package/dist/components/z-myz-card-footer-sections.js +1 -1
- package/dist/components/z-myz-card-footer.js +1 -1
- package/dist/components/z-myz-card-icon.js +1 -1
- package/dist/components/z-myz-card-info.js +1 -1
- package/dist/components/z-myz-card-list.js +1 -1
- package/dist/components/z-myz-list.js +1 -1
- package/dist/components/z-navigation-tabs.js +2 -2
- package/dist/components/z-notification.js +1 -1
- package/dist/components/z-otp.js +2 -2
- package/dist/components/z-panel-elem.js +2 -2
- package/dist/components/z-section-title.js +1 -1
- package/dist/components/z-select.js +1 -1
- package/dist/components/z-skip-to-content.js +1 -1
- package/dist/components/z-stepper-item.js +1 -1
- package/dist/components/z-stepper.js +1 -1
- package/dist/components/z-table.js +2 -2
- package/dist/components/z-table.js.map +1 -1
- package/dist/components/z-tbody.js +1 -1
- package/dist/components/z-td.js +2 -2
- package/dist/components/z-td.js.map +1 -1
- package/dist/components/z-tfoot.js +1 -1
- package/dist/components/z-th.js +17 -6
- package/dist/components/z-th.js.map +1 -1
- package/dist/components/z-thead.js +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification.js +1 -1
- package/dist/components/z-toggle-button.js +2 -2
- package/dist/components/z-toggle-switch.js +3 -3
- package/dist/components/z-tooltip.js +1 -1
- package/dist/components/z-tr.js +2 -2
- package/dist/components/z-tr.js.map +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/esm/index-6ef0b716.js +57 -0
- package/dist/esm/index-6ef0b716.js.map +1 -0
- package/dist/esm/{index-a81f1558.js → index-7704e472.js} +2 -2
- package/dist/esm/{index-a81f1558.js.map → index-7704e472.js.map} +1 -1
- package/dist/esm/{index-b556b384.js → index-87f1f803.js} +2 -2
- package/dist/esm/{index-b556b384.js.map → index-87f1f803.js.map} +1 -1
- package/dist/esm/index-8e0cd06e.js +73 -0
- package/dist/esm/index-8e0cd06e.js.map +1 -0
- package/dist/esm/{index-175661e6.js → index-af907695.js} +2 -2
- package/dist/esm/{index-175661e6.js.map → index-af907695.js.map} +1 -1
- package/dist/esm/index-b8299b2f.js +45 -0
- package/dist/esm/index-b8299b2f.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-accordion.entry.js +1 -1
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-app-header_12.entry.js +10 -10
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-book-card.entry.js +1 -1
- package/dist/esm/z-breadcrumb.entry.js +2 -2
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +1 -1
- package/dist/esm/z-cover-hero.entry.js +2 -2
- package/dist/esm/z-dragdrop-area_2.entry.js +4 -4
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +1 -1
- package/dist/esm/z-logo.entry.js +1 -1
- package/dist/esm/z-menu-section.entry.js +1 -1
- package/dist/esm/z-menu.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +1 -1
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +4 -4
- package/dist/esm/z-myz-list-item.entry.js +1 -1
- package/dist/esm/z-myz-list.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +2 -2
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +2 -2
- package/dist/esm/z-panel-elem.entry.js +2 -2
- package/dist/esm/z-popover.entry.js +1 -1
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-select.entry.js +1 -1
- package/dist/esm/z-skip-to-content.entry.js +1 -1
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table.entry.js +8 -8
- package/dist/esm/z-table.entry.js.map +1 -1
- package/dist/esm/z-tbody.entry.js +1 -1
- package/dist/esm/z-td.entry.js +1 -1
- package/dist/esm/z-tfoot.entry.js +1 -1
- package/dist/esm/z-th.entry.js +1 -1
- package/dist/esm/z-thead.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +3 -3
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/esm/z-tr.entry.js +3 -3
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/components/table/cells/z-th/index.d.ts +7 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/web-components-library/{p-e1852de3.entry.js → p-03f14ac3.entry.js} +2 -2
- package/dist/web-components-library/{p-8c9f7cef.entry.js → p-04f1d3a0.entry.js} +2 -2
- package/{www/build/p-af856537.entry.js → dist/web-components-library/p-1397aa99.entry.js} +2 -2
- package/dist/web-components-library/{p-f74f9f3c.entry.js → p-13e5e524.entry.js} +2 -2
- package/{www/build/p-85f84e55.entry.js → dist/web-components-library/p-16d5331a.entry.js} +2 -2
- package/dist/web-components-library/{p-05e9ae1e.entry.js → p-1a0825e3.entry.js} +2 -2
- package/dist/web-components-library/{p-63e970ee.entry.js → p-1faaf16d.entry.js} +2 -2
- package/dist/web-components-library/p-217b9261.entry.js +2 -0
- package/dist/web-components-library/{p-2a7e4988.entry.js.map → p-217b9261.entry.js.map} +1 -1
- package/dist/web-components-library/p-24dc95a0.js +2 -0
- package/dist/web-components-library/p-2bd90f9d.js +2 -0
- package/dist/web-components-library/p-2bd90f9d.js.map +1 -0
- package/dist/web-components-library/{p-33eea921.entry.js → p-2cbf1b2e.entry.js} +2 -2
- package/dist/web-components-library/p-2f26fb87.entry.js +2 -0
- package/dist/web-components-library/p-2f26fb87.entry.js.map +1 -0
- package/dist/web-components-library/p-30209b8a.js +2 -0
- package/dist/web-components-library/p-30209b8a.js.map +1 -0
- package/dist/web-components-library/p-37bff43b.js +2 -0
- package/dist/web-components-library/{p-fe87b081.entry.js → p-3d3f38e9.entry.js} +2 -2
- package/dist/web-components-library/{p-8499a29d.entry.js → p-4888964e.entry.js} +2 -2
- package/dist/web-components-library/p-4d1827ea.entry.js +2 -0
- package/dist/web-components-library/p-50141aa4.entry.js +2 -0
- package/dist/web-components-library/{p-21b85c7f.entry.js → p-5598a37a.entry.js} +2 -2
- package/dist/web-components-library/p-57ca10b2.entry.js +2 -0
- package/dist/web-components-library/{p-6319b5e2.entry.js → p-67ac6b9f.entry.js} +2 -2
- package/{www/build/p-ad76b8ff.entry.js → dist/web-components-library/p-6e49f78e.entry.js} +2 -2
- package/dist/web-components-library/{p-97b0c3b3.entry.js → p-6e56ce77.entry.js} +2 -2
- package/dist/web-components-library/{p-324ef970.entry.js → p-76f18b6d.entry.js} +2 -2
- package/dist/web-components-library/{p-8d7323f7.entry.js → p-7fc503ef.entry.js} +2 -2
- package/dist/web-components-library/{p-77d8ad7e.entry.js → p-816500b1.entry.js} +2 -2
- package/dist/web-components-library/p-82d3b0ad.entry.js +2 -0
- package/dist/web-components-library/{p-a5781264.entry.js → p-840b267b.entry.js} +2 -2
- package/dist/web-components-library/p-88df10c9.entry.js +2 -0
- package/dist/web-components-library/{p-8b309268.entry.js → p-8b348f60.entry.js} +2 -2
- package/{www/build/p-8c517cd7.entry.js → dist/web-components-library/p-8f386b8b.entry.js} +2 -2
- package/dist/web-components-library/p-91421a63.entry.js +2 -0
- package/{www/build/p-df05727f.entry.js → dist/web-components-library/p-97b0d9af.entry.js} +2 -2
- package/dist/web-components-library/{p-c90249e5.entry.js → p-9b636084.entry.js} +2 -2
- package/dist/web-components-library/{p-e5dc0719.entry.js → p-a887e64a.entry.js} +2 -2
- package/dist/web-components-library/{p-6a664748.entry.js → p-ad3cac33.entry.js} +2 -2
- package/dist/web-components-library/p-aedb0435.entry.js +2 -0
- package/dist/web-components-library/p-b8e5fe52.entry.js +2 -0
- package/dist/web-components-library/{p-89584f19.entry.js.map → p-b8e5fe52.entry.js.map} +1 -1
- package/dist/web-components-library/{p-862f5338.entry.js → p-bf61ebd9.entry.js} +2 -2
- package/dist/web-components-library/{p-a4ada10b.entry.js → p-bfd03521.entry.js} +2 -2
- package/{www/build/p-49e4ce84.entry.js → dist/web-components-library/p-c4094f39.entry.js} +2 -2
- package/{www/build/p-609c11d6.entry.js → dist/web-components-library/p-c4b6ada9.entry.js} +2 -2
- package/dist/web-components-library/p-c58dc6d8.entry.js +2 -0
- package/dist/web-components-library/{p-ae96bc09.entry.js → p-c7172768.entry.js} +2 -2
- package/dist/web-components-library/p-cc7cb25a.js +2 -0
- package/dist/web-components-library/{p-f21bc3a9.entry.js → p-cd68bcb2.entry.js} +2 -2
- package/dist/web-components-library/p-d1a658f6.entry.js +2 -0
- package/dist/web-components-library/p-d2544111.entry.js +2 -0
- package/{www/build/p-57eee056.entry.js.map → dist/web-components-library/p-d2544111.entry.js.map} +1 -1
- package/dist/web-components-library/{p-4552744b.entry.js → p-d9ce7691.entry.js} +2 -2
- package/dist/web-components-library/p-db831d3e.entry.js +2 -0
- package/dist/web-components-library/{p-6f4dd02b.entry.js.map → p-db831d3e.entry.js.map} +1 -1
- package/dist/web-components-library/{p-91c04edc.entry.js → p-dc85021e.entry.js} +2 -2
- package/dist/web-components-library/p-df2457c2.js +2 -0
- package/dist/web-components-library/p-df2457c2.js.map +1 -0
- package/{www/build/p-83350b5f.entry.js → dist/web-components-library/p-e59ada26.entry.js} +2 -2
- package/dist/web-components-library/{p-be4878f2.entry.js → p-e5ea2279.entry.js} +2 -2
- package/dist/web-components-library/{p-6586441a.entry.js → p-ee797508.entry.js} +2 -2
- package/dist/web-components-library/{p-b84fa3b6.entry.js → p-f1b42fa3.entry.js} +2 -2
- package/{www/build/p-57ecb5a7.entry.js → dist/web-components-library/p-f4f45044.entry.js} +2 -2
- package/dist/web-components-library/{p-e366782c.entry.js → p-f9762109.entry.js} +2 -2
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/dist/web-components-library/web-components-library.esm.js.map +1 -1
- package/package.json +1 -1
- package/www/build/{p-e1852de3.entry.js → p-03f14ac3.entry.js} +2 -2
- package/www/build/{p-8c9f7cef.entry.js → p-04f1d3a0.entry.js} +2 -2
- package/{dist/web-components-library/p-af856537.entry.js → www/build/p-1397aa99.entry.js} +2 -2
- package/www/build/{p-f74f9f3c.entry.js → p-13e5e524.entry.js} +2 -2
- package/{dist/web-components-library/p-85f84e55.entry.js → www/build/p-16d5331a.entry.js} +2 -2
- package/www/build/{p-05e9ae1e.entry.js → p-1a0825e3.entry.js} +2 -2
- package/www/build/{p-63e970ee.entry.js → p-1faaf16d.entry.js} +2 -2
- package/www/build/p-217b9261.entry.js +2 -0
- package/www/build/{p-2a7e4988.entry.js.map → p-217b9261.entry.js.map} +1 -1
- package/www/build/p-24dc95a0.js +2 -0
- package/www/build/p-2bd90f9d.js +2 -0
- package/www/build/p-2bd90f9d.js.map +1 -0
- package/www/build/{p-33eea921.entry.js → p-2cbf1b2e.entry.js} +2 -2
- package/www/build/p-2f26fb87.entry.js +2 -0
- package/www/build/p-2f26fb87.entry.js.map +1 -0
- package/www/build/p-30209b8a.js +2 -0
- package/www/build/p-30209b8a.js.map +1 -0
- package/www/build/p-37bff43b.js +2 -0
- package/www/build/{p-fe87b081.entry.js → p-3d3f38e9.entry.js} +2 -2
- package/www/build/{p-8499a29d.entry.js → p-4888964e.entry.js} +2 -2
- package/www/build/p-4d1827ea.entry.js +2 -0
- package/www/build/p-50141aa4.entry.js +2 -0
- package/www/build/{p-21b85c7f.entry.js → p-5598a37a.entry.js} +2 -2
- package/www/build/p-57ca10b2.entry.js +2 -0
- package/www/build/{p-6319b5e2.entry.js → p-67ac6b9f.entry.js} +2 -2
- package/{dist/web-components-library/p-ad76b8ff.entry.js → www/build/p-6e49f78e.entry.js} +2 -2
- package/www/build/{p-97b0c3b3.entry.js → p-6e56ce77.entry.js} +2 -2
- package/www/build/{p-324ef970.entry.js → p-76f18b6d.entry.js} +2 -2
- package/www/build/{p-8d7323f7.entry.js → p-7fc503ef.entry.js} +2 -2
- package/www/build/{p-77d8ad7e.entry.js → p-816500b1.entry.js} +2 -2
- package/www/build/p-82d3b0ad.entry.js +2 -0
- package/www/build/{p-a5781264.entry.js → p-840b267b.entry.js} +2 -2
- package/www/build/p-88df10c9.entry.js +2 -0
- package/www/build/{p-8b309268.entry.js → p-8b348f60.entry.js} +2 -2
- package/{dist/web-components-library/p-8c517cd7.entry.js → www/build/p-8f386b8b.entry.js} +2 -2
- package/www/build/p-91421a63.entry.js +2 -0
- package/{dist/web-components-library/p-df05727f.entry.js → www/build/p-97b0d9af.entry.js} +2 -2
- package/www/build/{p-c90249e5.entry.js → p-9b636084.entry.js} +2 -2
- package/www/build/{p-1ad8ebce.js → p-a1671480.js} +1 -1
- package/www/build/{p-e5dc0719.entry.js → p-a887e64a.entry.js} +2 -2
- package/www/build/{p-6a664748.entry.js → p-ad3cac33.entry.js} +2 -2
- package/www/build/p-aedb0435.entry.js +2 -0
- package/www/build/p-b8e5fe52.entry.js +2 -0
- package/www/build/{p-89584f19.entry.js.map → p-b8e5fe52.entry.js.map} +1 -1
- package/www/build/{p-862f5338.entry.js → p-bf61ebd9.entry.js} +2 -2
- package/www/build/{p-a4ada10b.entry.js → p-bfd03521.entry.js} +2 -2
- package/{dist/web-components-library/p-49e4ce84.entry.js → www/build/p-c4094f39.entry.js} +2 -2
- package/{dist/web-components-library/p-609c11d6.entry.js → www/build/p-c4b6ada9.entry.js} +2 -2
- package/www/build/p-c58dc6d8.entry.js +2 -0
- package/www/build/{p-ae96bc09.entry.js → p-c7172768.entry.js} +2 -2
- package/www/build/p-cc7cb25a.js +2 -0
- package/www/build/{p-f21bc3a9.entry.js → p-cd68bcb2.entry.js} +2 -2
- package/www/build/p-d1a658f6.entry.js +2 -0
- package/www/build/p-d2544111.entry.js +2 -0
- package/{dist/web-components-library/p-57eee056.entry.js.map → www/build/p-d2544111.entry.js.map} +1 -1
- package/www/build/{p-4552744b.entry.js → p-d9ce7691.entry.js} +2 -2
- package/www/build/p-db831d3e.entry.js +2 -0
- package/www/build/{p-6f4dd02b.entry.js.map → p-db831d3e.entry.js.map} +1 -1
- package/www/build/{p-91c04edc.entry.js → p-dc85021e.entry.js} +2 -2
- package/www/build/p-df2457c2.js +2 -0
- package/www/build/p-df2457c2.js.map +1 -0
- package/{dist/web-components-library/p-83350b5f.entry.js → www/build/p-e59ada26.entry.js} +2 -2
- package/www/build/{p-be4878f2.entry.js → p-e5ea2279.entry.js} +2 -2
- package/www/build/{p-6586441a.entry.js → p-ee797508.entry.js} +2 -2
- package/www/build/{p-b84fa3b6.entry.js → p-f1b42fa3.entry.js} +2 -2
- package/{dist/web-components-library/p-57ecb5a7.entry.js → www/build/p-f4f45044.entry.js} +2 -2
- package/www/build/{p-e366782c.entry.js → p-f9762109.entry.js} +2 -2
- package/www/build/web-components-library.esm.js +1 -1
- package/www/build/web-components-library.esm.js.map +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/index-3a070c6b.js +0 -47
- package/dist/cjs/index-3a070c6b.js.map +0 -1
- package/dist/cjs/index-597156d1.js +0 -65
- package/dist/cjs/index-597156d1.js.map +0 -1
- package/dist/cjs/index-f0159789.js +0 -59
- package/dist/cjs/index-f0159789.js.map +0 -1
- package/dist/esm/index-230d44a5.js +0 -45
- package/dist/esm/index-230d44a5.js.map +0 -1
- package/dist/esm/index-7a28ff39.js +0 -63
- package/dist/esm/index-7a28ff39.js.map +0 -1
- package/dist/esm/index-fd7edd22.js +0 -57
- package/dist/esm/index-fd7edd22.js.map +0 -1
- package/dist/web-components-library/p-0794ae16.entry.js +0 -2
- package/dist/web-components-library/p-2672e36f.entry.js +0 -2
- package/dist/web-components-library/p-26b5c84d.js +0 -2
- package/dist/web-components-library/p-26b5c84d.js.map +0 -1
- package/dist/web-components-library/p-2a7e4988.entry.js +0 -2
- package/dist/web-components-library/p-304eeab0.js +0 -2
- package/dist/web-components-library/p-385bf4ca.entry.js +0 -2
- package/dist/web-components-library/p-4f7dd068.entry.js +0 -2
- package/dist/web-components-library/p-4f7dd068.entry.js.map +0 -1
- package/dist/web-components-library/p-57eee056.entry.js +0 -2
- package/dist/web-components-library/p-68822fbc.entry.js +0 -2
- package/dist/web-components-library/p-6b2cd695.entry.js +0 -2
- package/dist/web-components-library/p-6f4dd02b.entry.js +0 -2
- package/dist/web-components-library/p-74a65c6f.entry.js +0 -2
- package/dist/web-components-library/p-7d7c5344.js +0 -2
- package/dist/web-components-library/p-7d7c5344.js.map +0 -1
- package/dist/web-components-library/p-7d827c11.js +0 -2
- package/dist/web-components-library/p-89584f19.entry.js +0 -2
- package/dist/web-components-library/p-a7292e1c.entry.js +0 -2
- package/dist/web-components-library/p-aa0f083b.js +0 -2
- package/dist/web-components-library/p-aa0f083b.js.map +0 -1
- package/dist/web-components-library/p-d9e1d8c7.js +0 -2
- package/dist/web-components-library/p-ed2c8484.entry.js +0 -2
- package/dist/web-components-library/p-f8d45aa4.entry.js +0 -2
- package/www/build/p-0794ae16.entry.js +0 -2
- package/www/build/p-2672e36f.entry.js +0 -2
- package/www/build/p-26b5c84d.js +0 -2
- package/www/build/p-26b5c84d.js.map +0 -1
- package/www/build/p-2a7e4988.entry.js +0 -2
- package/www/build/p-304eeab0.js +0 -2
- package/www/build/p-385bf4ca.entry.js +0 -2
- package/www/build/p-4f7dd068.entry.js +0 -2
- package/www/build/p-4f7dd068.entry.js.map +0 -1
- package/www/build/p-57eee056.entry.js +0 -2
- package/www/build/p-68822fbc.entry.js +0 -2
- package/www/build/p-6b2cd695.entry.js +0 -2
- package/www/build/p-6f4dd02b.entry.js +0 -2
- package/www/build/p-74a65c6f.entry.js +0 -2
- package/www/build/p-7d7c5344.js +0 -2
- package/www/build/p-7d7c5344.js.map +0 -1
- package/www/build/p-7d827c11.js +0 -2
- package/www/build/p-89584f19.entry.js +0 -2
- package/www/build/p-a7292e1c.entry.js +0 -2
- package/www/build/p-aa0f083b.js +0 -2
- package/www/build/p-aa0f083b.js.map +0 -1
- package/www/build/p-d9e1d8c7.js +0 -2
- package/www/build/p-ed2c8484.entry.js +0 -2
- package/www/build/p-f8d45aa4.entry.js +0 -2
- /package/dist/web-components-library/{p-e1852de3.entry.js.map → p-03f14ac3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8c9f7cef.entry.js.map → p-04f1d3a0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-af856537.entry.js.map → p-1397aa99.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f74f9f3c.entry.js.map → p-13e5e524.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-85f84e55.entry.js.map → p-16d5331a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-05e9ae1e.entry.js.map → p-1a0825e3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-63e970ee.entry.js.map → p-1faaf16d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-d9e1d8c7.js.map → p-24dc95a0.js.map} +0 -0
- /package/dist/web-components-library/{p-33eea921.entry.js.map → p-2cbf1b2e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7d827c11.js.map → p-37bff43b.js.map} +0 -0
- /package/dist/web-components-library/{p-fe87b081.entry.js.map → p-3d3f38e9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8499a29d.entry.js.map → p-4888964e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2672e36f.entry.js.map → p-4d1827ea.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-385bf4ca.entry.js.map → p-50141aa4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-21b85c7f.entry.js.map → p-5598a37a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0794ae16.entry.js.map → p-57ca10b2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6319b5e2.entry.js.map → p-67ac6b9f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ad76b8ff.entry.js.map → p-6e49f78e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-97b0c3b3.entry.js.map → p-6e56ce77.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-324ef970.entry.js.map → p-76f18b6d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8d7323f7.entry.js.map → p-7fc503ef.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-77d8ad7e.entry.js.map → p-816500b1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6b2cd695.entry.js.map → p-82d3b0ad.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a5781264.entry.js.map → p-840b267b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-68822fbc.entry.js.map → p-88df10c9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8b309268.entry.js.map → p-8b348f60.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8c517cd7.entry.js.map → p-8f386b8b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-74a65c6f.entry.js.map → p-91421a63.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-df05727f.entry.js.map → p-97b0d9af.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c90249e5.entry.js.map → p-9b636084.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e5dc0719.entry.js.map → p-a887e64a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6a664748.entry.js.map → p-ad3cac33.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a7292e1c.entry.js.map → p-aedb0435.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-862f5338.entry.js.map → p-bf61ebd9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a4ada10b.entry.js.map → p-bfd03521.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-49e4ce84.entry.js.map → p-c4094f39.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-609c11d6.entry.js.map → p-c4b6ada9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ed2c8484.entry.js.map → p-c58dc6d8.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ae96bc09.entry.js.map → p-c7172768.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-304eeab0.js.map → p-cc7cb25a.js.map} +0 -0
- /package/dist/web-components-library/{p-f21bc3a9.entry.js.map → p-cd68bcb2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f8d45aa4.entry.js.map → p-d1a658f6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4552744b.entry.js.map → p-d9ce7691.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-91c04edc.entry.js.map → p-dc85021e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-83350b5f.entry.js.map → p-e59ada26.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-be4878f2.entry.js.map → p-e5ea2279.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6586441a.entry.js.map → p-ee797508.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b84fa3b6.entry.js.map → p-f1b42fa3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-57ecb5a7.entry.js.map → p-f4f45044.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e366782c.entry.js.map → p-f9762109.entry.js.map} +0 -0
- /package/www/build/{p-e1852de3.entry.js.map → p-03f14ac3.entry.js.map} +0 -0
- /package/www/build/{p-8c9f7cef.entry.js.map → p-04f1d3a0.entry.js.map} +0 -0
- /package/www/build/{p-af856537.entry.js.map → p-1397aa99.entry.js.map} +0 -0
- /package/www/build/{p-f74f9f3c.entry.js.map → p-13e5e524.entry.js.map} +0 -0
- /package/www/build/{p-85f84e55.entry.js.map → p-16d5331a.entry.js.map} +0 -0
- /package/www/build/{p-05e9ae1e.entry.js.map → p-1a0825e3.entry.js.map} +0 -0
- /package/www/build/{p-63e970ee.entry.js.map → p-1faaf16d.entry.js.map} +0 -0
- /package/www/build/{p-d9e1d8c7.js.map → p-24dc95a0.js.map} +0 -0
- /package/www/build/{p-33eea921.entry.js.map → p-2cbf1b2e.entry.js.map} +0 -0
- /package/www/build/{p-7d827c11.js.map → p-37bff43b.js.map} +0 -0
- /package/www/build/{p-fe87b081.entry.js.map → p-3d3f38e9.entry.js.map} +0 -0
- /package/www/build/{p-8499a29d.entry.js.map → p-4888964e.entry.js.map} +0 -0
- /package/www/build/{p-2672e36f.entry.js.map → p-4d1827ea.entry.js.map} +0 -0
- /package/www/build/{p-385bf4ca.entry.js.map → p-50141aa4.entry.js.map} +0 -0
- /package/www/build/{p-21b85c7f.entry.js.map → p-5598a37a.entry.js.map} +0 -0
- /package/www/build/{p-0794ae16.entry.js.map → p-57ca10b2.entry.js.map} +0 -0
- /package/www/build/{p-6319b5e2.entry.js.map → p-67ac6b9f.entry.js.map} +0 -0
- /package/www/build/{p-ad76b8ff.entry.js.map → p-6e49f78e.entry.js.map} +0 -0
- /package/www/build/{p-97b0c3b3.entry.js.map → p-6e56ce77.entry.js.map} +0 -0
- /package/www/build/{p-324ef970.entry.js.map → p-76f18b6d.entry.js.map} +0 -0
- /package/www/build/{p-8d7323f7.entry.js.map → p-7fc503ef.entry.js.map} +0 -0
- /package/www/build/{p-77d8ad7e.entry.js.map → p-816500b1.entry.js.map} +0 -0
- /package/www/build/{p-6b2cd695.entry.js.map → p-82d3b0ad.entry.js.map} +0 -0
- /package/www/build/{p-a5781264.entry.js.map → p-840b267b.entry.js.map} +0 -0
- /package/www/build/{p-68822fbc.entry.js.map → p-88df10c9.entry.js.map} +0 -0
- /package/www/build/{p-8b309268.entry.js.map → p-8b348f60.entry.js.map} +0 -0
- /package/www/build/{p-8c517cd7.entry.js.map → p-8f386b8b.entry.js.map} +0 -0
- /package/www/build/{p-74a65c6f.entry.js.map → p-91421a63.entry.js.map} +0 -0
- /package/www/build/{p-df05727f.entry.js.map → p-97b0d9af.entry.js.map} +0 -0
- /package/www/build/{p-c90249e5.entry.js.map → p-9b636084.entry.js.map} +0 -0
- /package/www/build/{p-e5dc0719.entry.js.map → p-a887e64a.entry.js.map} +0 -0
- /package/www/build/{p-6a664748.entry.js.map → p-ad3cac33.entry.js.map} +0 -0
- /package/www/build/{p-a7292e1c.entry.js.map → p-aedb0435.entry.js.map} +0 -0
- /package/www/build/{p-862f5338.entry.js.map → p-bf61ebd9.entry.js.map} +0 -0
- /package/www/build/{p-a4ada10b.entry.js.map → p-bfd03521.entry.js.map} +0 -0
- /package/www/build/{p-49e4ce84.entry.js.map → p-c4094f39.entry.js.map} +0 -0
- /package/www/build/{p-609c11d6.entry.js.map → p-c4b6ada9.entry.js.map} +0 -0
- /package/www/build/{p-ed2c8484.entry.js.map → p-c58dc6d8.entry.js.map} +0 -0
- /package/www/build/{p-ae96bc09.entry.js.map → p-c7172768.entry.js.map} +0 -0
- /package/www/build/{p-304eeab0.js.map → p-cc7cb25a.js.map} +0 -0
- /package/www/build/{p-f21bc3a9.entry.js.map → p-cd68bcb2.entry.js.map} +0 -0
- /package/www/build/{p-f8d45aa4.entry.js.map → p-d1a658f6.entry.js.map} +0 -0
- /package/www/build/{p-4552744b.entry.js.map → p-d9ce7691.entry.js.map} +0 -0
- /package/www/build/{p-91c04edc.entry.js.map → p-dc85021e.entry.js.map} +0 -0
- /package/www/build/{p-83350b5f.entry.js.map → p-e59ada26.entry.js.map} +0 -0
- /package/www/build/{p-be4878f2.entry.js.map → p-e5ea2279.entry.js.map} +0 -0
- /package/www/build/{p-6586441a.entry.js.map → p-ee797508.entry.js.map} +0 -0
- /package/www/build/{p-b84fa3b6.entry.js.map → p-f1b42fa3.entry.js.map} +0 -0
- /package/www/build/{p-57ecb5a7.entry.js.map → p-f4f45044.entry.js.map} +0 -0
- /package/www/build/{p-e366782c.entry.js.map → p-f9762109.entry.js.map} +0 -0
|
@@ -35,7 +35,7 @@ const ZMyzCardComponent = class {
|
|
|
35
35
|
return elemClasses;
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h("div", { key: '
|
|
38
|
+
return (h("div", { key: '48a2a07ad23fbf01767831f4188f5eb21f419e0a', class: this.retrieveClass(), tabindex: "0" }, h("slot", { key: 'bb4b9232622e05b43c1a54f3d0ea50744d105bdd' })));
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
ZMyzCardComponent.style = ZMyzCardStyle0;
|
|
@@ -48,7 +48,7 @@ const ZMyzCardBody = class {
|
|
|
48
48
|
registerInstance(this, hostRef);
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (h("div", { key: '
|
|
51
|
+
return (h("div", { key: '430ffad6fa736fd224aa853f928db552c749370b' }, h("slot", { key: '22ce4f13eb33fe95df591691fb32848574fb20ac', name: "alert" }), h("slot", { key: 'b8ba716a22e4bf34e29a889b20db27c4a0817a49', name: "cover" })));
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
ZMyzCardBody.style = ZMyzCardBodyStyle0;
|
|
@@ -68,7 +68,7 @@ const ZMyzCardCover = class {
|
|
|
68
68
|
this.img = this.defaultimg;
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h("img", { key: '
|
|
71
|
+
return (h("img", { key: '5ef21f3e4b7b038ce9e1117860fcec9e409475b0', class: this.faded && "faded", onError: this.hadleOnImageError.bind(this), alt: this.titolo, src: this.img }));
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
ZMyzCardCover.style = ZMyzCardCoverStyle0;
|
|
@@ -104,7 +104,7 @@ const ZMyzCardHeader = class {
|
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
render() {
|
|
107
|
-
return (h("header", { key: '
|
|
107
|
+
return (h("header", { key: '151ac81e1e9d733d7e04be046da0b7ed4ed2c0fb', class: this.retrieveClass() }, h("slot", { key: '47c4e64c81665687a1cebc19486acb8bf90ecf27', name: "aria-heading" }), h("span", { key: '58f9775e406a9135babab5eb47e7b4c8561b8b87', class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), h("slot", { key: 'b6b835f82b17f1212f1c080cf5b7c1780c89fd2f', name: "icon" })));
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
110
|
ZMyzCardHeader.style = ZMyzCardHeaderStyle0;
|
|
@@ -29,7 +29,7 @@ const ZMyzListItem = class {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
const linkId = this.listitemid ? `link_${this.listitemid}` : "";
|
|
32
|
-
return (h("li", { key: '
|
|
32
|
+
return (h("li", { key: 'ee32f76bcef47656b332109a9f0c614b83765811', role: "button", id: this.listitemid, "data-action": this.action, onClick: (e) => this.emitZListItemClick(e, this.listitemid), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.emitZListItemClick, this.listitemid) }, h("span", { key: '4e022ad294175a404118f16785c23418747e356e', class: this.underlined && "border" }, this.icon && h("z-icon", { key: '0fcb029b8ddda592319257f03d78eeec08679184', name: this.icon }), this.link ? (h("a", { href: this.link ? this.link : null, target: this.linktarget, id: linkId, onClick: (e) => this.emitZListItemLinkClick(e, linkId), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.emitZListItemLinkClick, linkId), role: this.link ? "link" : "button", tabindex: "0" }, this.text)) : (h("span", { innerHTML: this.text })), h("slot", { key: '16cd39d4d507dc69441f41b11723602b1c26c324' }))));
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
ZMyzListItem.style = ZMyzListItemStyle0;
|
|
@@ -22,7 +22,7 @@ const ZMyzList = class {
|
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
24
|
const lastElem = this.list ? this.list.length - 1 : -1;
|
|
25
|
-
return (h("ul", { key: '
|
|
25
|
+
return (h("ul", { key: '01d3d301598e389a0f5ad0470d9aae9a66c686ea' }, this.list &&
|
|
26
26
|
this.list.map((bean, i) => (h("z-myz-list-item", { listitemid: bean.listitemid, text: bean.text, link: bean.link, linktarget: bean.linktarget, icon: bean.icon, underlined: lastElem != i })))));
|
|
27
27
|
}
|
|
28
28
|
static get watchers() { return {
|
|
@@ -203,10 +203,10 @@ const ZNavigationTabs = class {
|
|
|
203
203
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
204
204
|
}
|
|
205
205
|
render() {
|
|
206
|
-
return (h(Host, { key: '
|
|
206
|
+
return (h(Host, { key: 'ae7391eaa15885cd386f3f827d37aa4ce0731953', class: {
|
|
207
207
|
"interactive-2": this.size === NavigationTabsSize.SMALL,
|
|
208
208
|
"interactive-1": this.size !== NavigationTabsSize.SMALL,
|
|
209
|
-
}, scrollable: this.canNavigate }, h("button", { key: '
|
|
209
|
+
}, scrollable: this.canNavigate }, h("button", { key: '28bb7a93ec75f0fc2222c850942051923ab1d3fd', class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabIndex: -1, disabled: !this.canNavigatePrev, "aria-label": "Mostra elementi precedenti", hidden: !this.canNavigate }, h("z-icon", { key: 'de86cb71cc1872e6682becab4e4f622545cf9196', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { key: 'ad94db8f78f2a309be068ba03a95fcca7638fe4f', role: "tablist", "aria-label": this.ariaLabel, ref: (el) => (this.nav = el !== null && el !== void 0 ? el : this.nav), onScroll: this.checkScrollEnabled.bind(this), "aria-orientation": this.orientation }, h("slot", { key: 'e9fcd5ffce6dd6dffd395bec1360484237729b5b' })), h("button", { key: '3a4e9adc13675fd42e73697a524485de7c9bc979', class: "navigation-button", onClick: this.navigateForward.bind(this), tabIndex: -1, disabled: !this.canNavigateNext, "aria-label": "Mostra elementi successivi", hidden: !this.canNavigate }, h("z-icon", { key: 'b29ee5895abebd8b57f318844382f4c3f9976f8d', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
|
|
210
210
|
}
|
|
211
211
|
get host() { return getElement(this); }
|
|
212
212
|
static get watchers() { return {
|
|
@@ -27,7 +27,7 @@ const ZNotification = class {
|
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
var _a;
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'a83d76d7012095d81697ef62719a0f8b664d7ed0' }, this.contenticonname && (h("z-icon", { key: '6f8d1bf7f3dd8bf734539173824035893cdb9b4d', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: 'a4a3991986cac69b7cf750d3e66a50e95968823a', class: "content-container" }, h("div", { key: 'b6b6e15cc0b6f1046d9066e7e0fe7675b6cad3f7', class: "content-text" }, h("slot", { key: 'e299ced2ddce517d717efa264adf18f71462ef5a' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: 'dac15b3c39c250d174e04f6b7b607b086f910489', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: '00a7987f33b378453e87caa0901ff6655ae950dd', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: '49bc4ee4893dc3276f2d90740c1b26ec70e96872', name: "multiply-circle", width: 16, height: 16 })))));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
ZNotification.style = ZNotificationStyle0;
|
package/dist/esm/z-otp.entry.js
CHANGED
|
@@ -20,7 +20,7 @@ const ZOtp = class {
|
|
|
20
20
|
this.otpRef = [...Array(this.inputNum)];
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h("div", { key: '
|
|
23
|
+
return (h("div", { key: 'c7e2f3524c431a82734ae67049026a24179eb02d', class: "otp-container" }, h("div", { key: 'fa002c9fcb6c094c18babd41b45a5b8ac9ade5bd', class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status == InputStatus.ERROR ? "error" : null, onKeyDown: (e) => {
|
|
24
24
|
if (e.keyCode > 47) {
|
|
25
25
|
this.otpRef[i].value = "";
|
|
26
26
|
}
|
|
@@ -31,7 +31,7 @@ const ZOtp = class {
|
|
|
31
31
|
}, onInput: (e) => {
|
|
32
32
|
this.otp[i] = e.target.value;
|
|
33
33
|
this.emitInputChange(this.otp.join(""));
|
|
34
|
-
}, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: (el) => (this.otpRef[i] = el) })))), h("z-input-message", { key: '
|
|
34
|
+
}, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: (el) => (this.otpRef[i] = el) })))), h("z-input-message", { key: 'b3e2d60da92ef2760ce41094c37d13ff7731d384', message: this.message, status: this.status })));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
ZOtp.style = ZOtpStyle0;
|
|
@@ -18,11 +18,11 @@ const ZPanelElem = class {
|
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
const elemId = this.elemid ? this.elemid : "";
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: 'ffc9d90a411fab23a38386de29655fcc355c251d', class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { key: 'df96598ec5bcd0f432eb11b3e8bcd7d884a694db', "aria-hidden": "true", class: "panel-elem-icon" }, h("img", { key: '4bc2253fea37705ab0c7310d7b62b85e09965190', src: this.imgurl, alt: this.imgalt }))), h("div", { key: '093cc6f1db0d6b84db3edd40347966cfe41ebb94', class: "panel-elem-link" }, h("a", { key: 'dcab33f3e048262f5addb07c77e8dfae8016062d', class: {
|
|
22
22
|
"z-link": true,
|
|
23
23
|
"z-link-disabled": this.isdisabled,
|
|
24
24
|
"z-link-icon": true,
|
|
25
|
-
}, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: '
|
|
25
|
+
}, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: '114030874b442d986b042800c6f036afee0bec6b', height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { key: '132c5ee65444c12e358aedbc96054362685459f4', class: "panel-elem-desc" }, h("slot", { key: '6c60f9548a4a0b96746035c29de6ecaebccb970a', name: this.descrSlotName })))));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
ZPanelElem.style = ZPanelElemStyle0;
|
|
@@ -300,7 +300,7 @@ const ZPopover = class {
|
|
|
300
300
|
this.onOpen();
|
|
301
301
|
}
|
|
302
302
|
render() {
|
|
303
|
-
return h("slot", { key: '
|
|
303
|
+
return h("slot", { key: '1f4365b6b42a465af2a167933028dd63430d765f' });
|
|
304
304
|
}
|
|
305
305
|
get host() { return getElement(this); }
|
|
306
306
|
static get watchers() { return {
|
|
@@ -14,7 +14,7 @@ const ZSectionTitle = class {
|
|
|
14
14
|
this.hasSecondaryTitle = !!this.host.querySelector("[slot=secondary-title]");
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '79982a4d5218655409fb67d05bd3a0e4094fc523' }, h("slot", { key: '5d2e6fcca1fb5b31b468af87c570e0303c6b3aa0', name: "secondary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.BEFORE && (h("z-divider", { key: 'abc3d1506d9271a9825961d48e29aba5585e35c2', size: DividerSize.LARGE, color: "z-section-title--divider-color" })), h("slot", { key: '8d8b5138dab2c81b27295aed69c0de56b103984a', name: "primary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.AFTER && (h("z-divider", { key: 'adf5cd985f5bca328d20ea4bdfdc845999df97d9', size: DividerSize.LARGE, color: "z-section-title--divider-color" }))));
|
|
18
18
|
}
|
|
19
19
|
get host() { return getElement(this); }
|
|
20
20
|
};
|
|
@@ -322,7 +322,7 @@ const ZSelect = class {
|
|
|
322
322
|
return (h("z-input-message", { message: boolean(this.message) === true ? undefined : this.message, status: this.status, class: this.size }));
|
|
323
323
|
}
|
|
324
324
|
render() {
|
|
325
|
-
return (h("div", { key: '
|
|
325
|
+
return (h("div", { key: 'bf5901fb075e4f39bd23c0ac38d30177926b5b52', class: "select-wrapper" }, this.renderInput(), this.renderSelectUl(), this.renderMessage()));
|
|
326
326
|
}
|
|
327
327
|
get element() { return getElement(this); }
|
|
328
328
|
static get watchers() { return {
|
|
@@ -48,7 +48,7 @@ const ZSkipToContent = class {
|
|
|
48
48
|
this.visible = false;
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'a4bf8e0dff1ee41acd3f525939794eab6353c7fe', class: {
|
|
52
52
|
[this.variant]: true,
|
|
53
53
|
"skip-to-content-visible": this.visible,
|
|
54
54
|
} }, this.links.map((link, i) => {
|
|
@@ -20,7 +20,7 @@ const ZStepperItem = class {
|
|
|
20
20
|
return Object.assign(Object.assign(Object.assign(Object.assign({}, href), role), current), tabindex);
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: 'cd7109d3ec2aff9db9759c402ecf3045b7dcbc8d', role: "listitem" }, h("button", Object.assign({ key: 'fa228a22c7385c77babc49e23fc3e2aab1f931eb', class: "stepper-item", disabled: this.disabled }, this.getAttributes()), h("div", { key: 'a79d447f22e1367608fca6a83c130391e274519d', class: "indicator" }, this.checked ? h("z-icon", { name: "checkmark" }) : this.index), h("span", { key: '0b0e6fbec54afc1e22a41b4cbfd2a345c3ff027f' }, h("slot", { key: '2ef10c4f77a638a6bbd35e65875cdb9b73f5701c' })))));
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
ZStepperItem.style = ZStepperItemStyle0;
|
|
@@ -8,7 +8,7 @@ const ZStepper = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'd3508aadb8fc7974f7c02389c9e8ab6cf9de1300', role: "list" }, h("slot", { key: 'f5fc87bbc47a895b87ee1fed85f9f43112c6195d' })));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
ZStepper.style = ZStepperStyle0;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-a2130b6a.js';
|
|
2
|
-
import './index-
|
|
3
|
-
import './index-
|
|
4
|
-
import './index-
|
|
5
|
-
import './index-
|
|
2
|
+
import './index-af907695.js';
|
|
3
|
+
import './index-87f1f803.js';
|
|
4
|
+
import './index-7704e472.js';
|
|
5
|
+
import './index-6ef0b716.js';
|
|
6
6
|
import './utils-8ade9e2d.js';
|
|
7
7
|
import './index-b7dbacb4.js';
|
|
8
8
|
import './breakpoints-680e0e56.js';
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
9
|
+
import './index-b8299b2f.js';
|
|
10
|
+
import './index-8e0cd06e.js';
|
|
11
11
|
|
|
12
|
-
const stylesCss = ":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;max-width:100%;box-sizing:border-box;background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}
|
|
12
|
+
const stylesCss = ":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;max-width:100%;box-sizing:border-box;background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}";
|
|
13
13
|
const ZTableStyle0 = stylesCss;
|
|
14
14
|
|
|
15
15
|
const ZTable = class {
|
|
@@ -41,7 +41,7 @@ const ZTable = class {
|
|
|
41
41
|
(_a = this.expandableMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '6fa1464a9d96267c0a1a45078a7b19e15930b2be', expandable: this.expandable }, h("div", { key: '9436f4627cab2b6c474bbfc803b64514cd152fb3', class: "table", role: "table" }, h("slot", { key: 'b9cf927ccd915cf55f4bb2e5a8943ceff347f9f7' }))));
|
|
45
45
|
}
|
|
46
46
|
get host() { return getElement(this); }
|
|
47
47
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"z-table.entry.js","mappings":";;;;;;;;;;;AAAA,MAAM,SAAS,GAAG,
|
|
1
|
+
{"file":"z-table.entry.js","mappings":";;;;;;;;;;;AAAA,MAAM,SAAS,GAAG,8TAA8T,CAAC;AACjV,qBAAe,SAAS;;MCeX,MAAM;;;wBAON,KAAK;0BAMH,KAAK;;IAEV,gBAAgB;QACtB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;KAC7E;;;;IAOD,iBAAiB;QACf,IAAI,CAAC,0BAA0B,GAAG,IAAI,gBAAgB,CAAC;YACrD,IAAI,CAAC,gBAAgB,EAAE,CAAC;SACzB,CAAC,CAAC;QACH,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE;YACjD,SAAS,EAAE,IAAI;YACf,OAAO,EAAE,IAAI;YACb,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,YAAY,CAAC;YAC/B,iBAAiB,EAAE,KAAK;SACzB,CAAC,CAAC;KACJ;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,0BAA0B,0CAAE,UAAU,EAAE,CAAC;KAC/C;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,UAAU,EAAE,IAAI,CAAC,UAAU,IAC/B,4DACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,OAAO,IAEZ,8DAAa,CACT,CACD,EACP;KACH;;;;;;;","names":[],"sources":["src/components/table/z-table/styles.css?tag=z-table&encapsulation=shadow","src/components/table/z-table/index.tsx"],"sourcesContent":[":host {\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n\n position: relative;\n display: block;\n overflow: auto;\n max-width: 100%;\n box-sizing: border-box;\n background-color: var(--color-surface01);\n}\n\n:host([expandable]) {\n --z-table--expand-button-size: 40px;\n}\n\n:host([bordered]) {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n","import {Component, Element, Host, Prop, State, h} from \"@stencil/core\";\nimport \"../z-tbody/index\";\nimport \"../z-tfoot/index\";\nimport \"../z-thead/index\";\nimport \"../z-tr/index\";\n\n/**\n * ZTable component.\n * @slot - Table content (`z-thead`, `z-tbody`, `z-tfoot`, `z-tr`).\n * @cssprop --z-table--cells-padding - Padding of the cells.\n */\n@Component({\n tag: \"z-table\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTable {\n @Element() host: HTMLZTableElement;\n\n /**\n * Whether the table cells should show a border between them.\n */\n @Prop({reflect: true})\n bordered = false;\n\n /**\n * Whether the table contains some expandable rows.\n */\n @State()\n expandable = false;\n\n private updateExpandable(): void {\n this.expandable = this.host.querySelectorAll(\"z-tr[expandable]\").length > 0;\n }\n\n private expandableMutationObserver: MutationObserver;\n\n /**\n * Setup the table creating a mutation observer for the expandable attribute.\n */\n componentWillLoad(): void {\n this.expandableMutationObserver = new MutationObserver(() => {\n this.updateExpandable();\n });\n this.expandableMutationObserver.observe(this.host, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: [\"expandable\"],\n attributeOldValue: false,\n });\n }\n\n disconnectedCallback(): void {\n this.expandableMutationObserver?.disconnect();\n }\n\n render(): HTMLZTableElement {\n return (\n <Host expandable={this.expandable}>\n <div\n class=\"table\"\n role=\"table\"\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
package/dist/esm/z-td.entry.js
CHANGED
package/dist/esm/z-th.entry.js
CHANGED
|
@@ -41,7 +41,7 @@ const ZToastNotificationList = class {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return h("slot", { key: '
|
|
44
|
+
return h("slot", { key: '3b8abce2e592da172647ed3749e4684309fd36b3', name: "toasts" });
|
|
45
45
|
}
|
|
46
46
|
get hostElement() { return getElement(this); }
|
|
47
47
|
static get watchers() { return {
|
|
@@ -2826,7 +2826,7 @@ const ZToastNotification = class {
|
|
|
2826
2826
|
} }, h("div", { id: "flex-container", ref: (el) => (this.container = el) }, this.renderText(), this.renderButton()), this.renderCloseIcon()));
|
|
2827
2827
|
}
|
|
2828
2828
|
render() {
|
|
2829
|
-
return (h(Host, { key: '
|
|
2829
|
+
return (h(Host, { key: 'fc14386173191f376698195eaf4943b8ec77d615', style: {
|
|
2830
2830
|
"--percentuale": `${this.percentage}%`,
|
|
2831
2831
|
}, class: this.transition ? this.transition : ToastNotificationTransition.SLIDE_IN_DOWN, onAnimationEnd: (e) => {
|
|
2832
2832
|
if (this.autoclose && e.animationName.includes("slidein")) {
|
|
@@ -21,10 +21,10 @@ const ZToggleButton = class {
|
|
|
21
21
|
this.toggleClick.emit(this.opened);
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h("button", { key: '
|
|
24
|
+
return (h("button", { key: 'b4fe3dfabe37b1ea8bb6248156e63e78be798221', tabindex: this.avoidclick ? "-1" : "0", class: {
|
|
25
25
|
"isopen": this.opened,
|
|
26
26
|
"avoid-clicks": this.avoidclick,
|
|
27
|
-
}, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: '
|
|
27
|
+
}, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: '367b01aa8c2e781a00a6002066c35a10b96c14a4', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
ZToggleButton.style = ZToggleButtonStyle0;
|
|
@@ -29,14 +29,14 @@ const ZToggleSwitch = class {
|
|
|
29
29
|
this.emitToggleClick();
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'fab0151063975249271623aabe0da3cc16042335' }, h("input", { key: 'd00d540adcae4bdf6ec7178a69b0d588d9d6477c', id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), h("label", { key: '2ff2cf3eb4d60e0f86cba4bef95b190d69e0efa8', htmlFor: this.htmlid, class: {
|
|
33
33
|
[this.labelPosition]: true,
|
|
34
34
|
disabled: this.disabled,
|
|
35
|
-
} }, h("span", { key: '
|
|
35
|
+
} }, h("span", { key: 'd5ad5d2e9865451fda68fe555dbb4cb6eea25d79' }, h("slot", { key: '2e4185edaf71ed269d1c72004426b262757c4e15' })), h("span", { key: '4bca0076f735e5607c731cd5881f039a54286f22', class: {
|
|
36
36
|
container: true,
|
|
37
37
|
disabled: this.disabled,
|
|
38
38
|
checked: this.checked,
|
|
39
|
-
} }, h("span", { key: '
|
|
39
|
+
} }, h("span", { key: '1213b07c0ce31854966bc624099bbc5ba18556f5', class: "circle" }, this.checked && (h("z-icon", { key: '03917612e313fc02156ae713c4d49b51bf2b2b9f', width: 12, height: 12, name: "checkmark" })))))));
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
ZToggleSwitch.style = ZToggleSwitchStyle0;
|
|
@@ -17,7 +17,7 @@ const ZTooltip = class {
|
|
|
17
17
|
this.open = this.popoverEl.open;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("z-popover", { key: '
|
|
20
|
+
return (h("z-popover", { key: '914790620e6dc9c36a66e9877dac2037db365d64', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true }, h("slot", { key: 'd59baa68ae6c928881908d363d10bc6b4ea14567' })));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
ZTooltip.style = ZTooltipStyle0;
|
package/dist/esm/z-tr.entry.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { Z as z_tr } from './index-
|
|
1
|
+
export { Z as z_tr } from './index-6ef0b716.js';
|
|
2
2
|
import './index-a2130b6a.js';
|
|
3
3
|
import './utils-8ade9e2d.js';
|
|
4
4
|
import './index-b7dbacb4.js';
|
|
5
5
|
import './breakpoints-680e0e56.js';
|
|
6
|
-
import './index-
|
|
7
|
-
import './index-
|
|
6
|
+
import './index-b8299b2f.js';
|
|
7
|
+
import './index-8e0cd06e.js';
|
|
8
8
|
|
|
9
9
|
//# sourceMappingURL=z-tr.entry.js.map
|
|
@@ -8,7 +8,7 @@ const ZVisuallyHidden = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("slot", { key: '
|
|
11
|
+
return h("slot", { key: '6ccf878976faa5d3d80bd5554e8619bc26f6dccc' });
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
ZVisuallyHidden.style = ZVisuallyHiddenStyle0;
|
|
@@ -16,6 +16,12 @@ export declare class ZTh {
|
|
|
16
16
|
* Set a nullish value to hide the menu button.
|
|
17
17
|
*/
|
|
18
18
|
showMenu: VisibilityCondition;
|
|
19
|
+
/**
|
|
20
|
+
* Enables the sorting button.
|
|
21
|
+
* Can be set to "hover" or "always" to show the button only on cell hover or always.
|
|
22
|
+
* Set a nullish value to hide the sort button.
|
|
23
|
+
*/
|
|
24
|
+
showSorting: VisibilityCondition;
|
|
19
25
|
/**
|
|
20
26
|
* Whether the cell should stick.
|
|
21
27
|
*/
|
|
@@ -47,6 +53,7 @@ export declare class ZTh {
|
|
|
47
53
|
private get ariaSortDirection();
|
|
48
54
|
/**
|
|
49
55
|
* Handle the click on the sort button.
|
|
56
|
+
* This method will also handle the z-index logic.
|
|
50
57
|
* @fires sort
|
|
51
58
|
*/
|
|
52
59
|
private handleSort;
|
|
@@ -1852,6 +1852,10 @@ export namespace Components {
|
|
|
1852
1852
|
* Enables the contextual menu. Can be set to "hover" or "always" to show the button only on cell hover or always. Set a nullish value to hide the menu button.
|
|
1853
1853
|
*/
|
|
1854
1854
|
"showMenu": VisibilityCondition;
|
|
1855
|
+
/**
|
|
1856
|
+
* Enables the sorting button. Can be set to "hover" or "always" to show the button only on cell hover or always. Set a nullish value to hide the sort button.
|
|
1857
|
+
*/
|
|
1858
|
+
"showSorting": VisibilityCondition;
|
|
1855
1859
|
/**
|
|
1856
1860
|
* Current sorting direction. Set `SortDirection.ASC` or `SortDirection.DESC` to show the sort icon.
|
|
1857
1861
|
*/
|
|
@@ -5404,6 +5408,10 @@ declare namespace LocalJSX {
|
|
|
5404
5408
|
* Enables the contextual menu. Can be set to "hover" or "always" to show the button only on cell hover or always. Set a nullish value to hide the menu button.
|
|
5405
5409
|
*/
|
|
5406
5410
|
"showMenu"?: VisibilityCondition;
|
|
5411
|
+
/**
|
|
5412
|
+
* Enables the sorting button. Can be set to "hover" or "always" to show the button only on cell hover or always. Set a nullish value to hide the sort button.
|
|
5413
|
+
*/
|
|
5414
|
+
"showSorting"?: VisibilityCondition;
|
|
5407
5415
|
/**
|
|
5408
5416
|
* Current sorting direction. Set `SortDirection.ASC` or `SortDirection.DESC` to show the sort icon.
|
|
5409
5417
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-cfa39bd3.js";const n=".sc-z-panel-elem-h{width:inherit;font-family:var(--font-family sans);font-weight:var(--font-rg)}.panel-elem-container.sc-z-panel-elem{width:100%}.panel-elem-icon.sc-z-panel-elem{margin:auto calc(var(--space-unit) * 3)}.panel-elem-icon.sc-z-panel-elem img.sc-z-panel-elem{display:block;max-width:96px;height:32px;margin:auto;object-fit:contain}.panel-elem-link.sc-z-panel-elem{display:flex;align-items:center;justify-content:center;margin:var(--space-unit) auto 0;border-radius:var(--border-no-radius);font-size:12px}.panel-elem-link.sc-z-panel-elem>a.z-link.sc-z-panel-elem{padding:calc(var(--space-unit) * 0.5) 0;font-weight:var(--font-sb)}.panel-elem-desc.sc-z-panel-elem{padding-top:var(--space-unit);margin:0;letter-spacing:0.16px;text-align:center}a.sc-z-panel-elem>z-icon.sc-z-panel-elem{margin-right:var(--space-unit)}";const i=n;const t=class{constructor(a){e(this,a);this.elemid=undefined;this.imgurl=undefined;this.imgalt=undefined;this.linkicon=undefined;this.linklabel=undefined;this.url=undefined;this.target="_blank";this.isdisabled=false;this.descrSlotName=undefined}render(){const e=this.elemid?this.elemid:"";return a("div",{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,h as a}from"./p-cfa39bd3.js";const n=".sc-z-panel-elem-h{width:inherit;font-family:var(--font-family sans);font-weight:var(--font-rg)}.panel-elem-container.sc-z-panel-elem{width:100%}.panel-elem-icon.sc-z-panel-elem{margin:auto calc(var(--space-unit) * 3)}.panel-elem-icon.sc-z-panel-elem img.sc-z-panel-elem{display:block;max-width:96px;height:32px;margin:auto;object-fit:contain}.panel-elem-link.sc-z-panel-elem{display:flex;align-items:center;justify-content:center;margin:var(--space-unit) auto 0;border-radius:var(--border-no-radius);font-size:12px}.panel-elem-link.sc-z-panel-elem>a.z-link.sc-z-panel-elem{padding:calc(var(--space-unit) * 0.5) 0;font-weight:var(--font-sb)}.panel-elem-desc.sc-z-panel-elem{padding-top:var(--space-unit);margin:0;letter-spacing:0.16px;text-align:center}a.sc-z-panel-elem>z-icon.sc-z-panel-elem{margin-right:var(--space-unit)}";const i=n;const t=class{constructor(a){e(this,a);this.elemid=undefined;this.imgurl=undefined;this.imgalt=undefined;this.linkicon=undefined;this.linklabel=undefined;this.url=undefined;this.target="_blank";this.isdisabled=false;this.descrSlotName=undefined}render(){const e=this.elemid?this.elemid:"";return a("div",{key:"ffc9d90a411fab23a38386de29655fcc355c251d",class:"panel-elem-container"},(this.imgurl||this.imgalt)&&a("div",{key:"df96598ec5bcd0f432eb11b3e8bcd7d884a694db","aria-hidden":"true",class:"panel-elem-icon"},a("img",{key:"4bc2253fea37705ab0c7310d7b62b85e09965190",src:this.imgurl,alt:this.imgalt})),a("div",{key:"093cc6f1db0d6b84db3edd40347966cfe41ebb94",class:"panel-elem-link"},a("a",{key:"dcab33f3e048262f5addb07c77e8dfae8016062d",class:{"z-link":true,"z-link-disabled":this.isdisabled,"z-link-icon":true},id:e+"link_id",href:this.url,target:this.target},a("z-icon",{key:"114030874b442d986b042800c6f036afee0bec6b",height:14,width:14,name:this.linkicon}),this.linklabel)),this.descrSlotName&&a("div",{key:"132c5ee65444c12e358aedbc96054362685459f4",class:"panel-elem-desc"},a("slot",{key:"6c60f9548a4a0b96746035c29de6ecaebccb970a",name:this.descrSlotName})))}};t.style=i;export{t as z_panel_elem};
|
|
2
|
+
//# sourceMappingURL=p-03f14ac3.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as i,h as L,a as t}from"./p-cfa39bd3.js";const
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as i,h as L,a as t}from"./p-cfa39bd3.js";const o=":host{display:inline-block;width:255px;height:64px;vertical-align:top}img{display:block;width:100%;height:100%;margin:auto;content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='255px' height='64px' viewBox='0 0 255 64'%3E%3Cg id='Logo/Zanichelli/Centered-(reworked)' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Group'%3E%3Cpolygon id='Background' fill='%23E2001A' points='1.70530257e-13 64 254.39 64 254.39 0 1.70530257e-13 0'%3E%3C/polygon%3E%3Cpath d='M233.36,51.3553859 L242.390252,51.3553859 L242.390252,12.6427292 L233.36,12.6427292 L233.36,51.3553859 Z M211.120346,51.3553859 L230.477617,51.3553859 L230.477617,44.5040053 L220.685891,44.5040053 L220.685891,12.6427292 L211.120346,12.6427292 L211.120346,51.3553859 Z M188.880124,51.3553859 L208.23551,51.3553859 L208.23551,44.5040053 L198.445669,44.5040053 L198.445669,12.6427292 L188.880124,12.6427292 L188.880124,51.3553859 Z M165.354444,12.6427292 L165.354444,51.3553859 L185.999058,51.3553859 L185.999058,44.5021204 L175.027425,44.5021204 L175.027425,35.1778343 L185.377062,35.1778343 L185.377062,28.2699086 L175.027425,28.2699086 L175.027425,19.4978796 L185.999058,19.4978796 L185.999058,12.6427292 L165.354444,12.6427292 Z M136.666196,51.3553859 L146.239281,51.3553859 L146.239281,35.1778343 L152.902178,35.1778343 L152.902178,51.3553859 L162.473377,51.3553859 L162.473377,12.6427292 L152.902178,12.6427292 L152.902178,28.2717934 L146.239281,28.2717934 L146.239281,12.6427292 L136.666196,12.6427292 L136.666196,51.3553859 Z M96.064744,51.3553859 L105.098765,51.3553859 L105.098765,12.6427292 L96.064744,12.6427292 L96.064744,51.3553859 Z M53.2364527,36.5160682 L50.6824993,19.7429083 L48.0757704,36.5160682 L53.2364527,36.5160682 Z M65.4935444,51.3553859 L56.2710395,51.3553859 L54.9441146,42.5286966 L47.7101121,42.5286966 L46.3304118,51.3553859 L37.1060221,51.3553859 L45.0053718,12.6427292 L57.5960795,12.6427292 L65.4935444,51.3553859 Z M85.0468382,37.7581755 L76.7969089,12.6427292 L67.3764961,12.6427292 L67.3764961,51.3553859 L75.4040147,51.3553859 L75.4040147,26.132504 L83.5955141,51.3553859 L93.1855622,51.3553859 L93.1855622,12.6427292 L85.0468382,12.6427292 L85.0468382,37.7581755 Z M107.977948,32 C107.977948,34.5200264 107.977948,36.7893695 108.187165,39.1246819 C108.396382,41.4713034 108.818585,43.6878711 109.678071,45.6009801 C111.423429,49.487513 114.932995,52 121.708982,52 C129.508435,52 133.787014,48.4753558 133.787014,38.0220526 L133.787014,37.5640373 L124.937707,37.5640373 L124.922628,38.0050891 C124.894356,38.7571388 124.884931,39.6185091 124.826501,40.4855339 C124.769956,41.3431345 124.66629,42.1875412 124.460843,42.9301668 C124.048064,44.3965696 123.279051,45.3559514 121.708982,45.3559514 C117.743286,45.3559514 117.057205,42.0574875 117.057205,32 C117.057205,21.9425125 117.743286,18.6440486 121.708982,18.6440486 C123.605127,18.6440486 124.547546,20.0030157 124.547546,25.1806616 L124.547546,25.6424465 L133.344077,25.6424465 L133.361041,25.1995099 C133.689003,16.7855998 130.235982,12 121.708982,12 C114.934879,12 111.427199,14.4823297 109.678071,18.3594383 C108.818585,20.265008 108.396382,22.4778061 108.187165,24.830082 C107.977948,27.1710489 107.977948,29.4554707 107.977948,32 L107.977948,32 Z M34.9007634,12.6446141 L34.9007634,20.3196683 L21.6051268,44.5040053 L35.2268401,44.5040053 L35.2268401,51.3553859 L12,51.3553859 L12,43.7915371 L25.2975214,19.4997644 L13.683159,19.4997644 L13.683159,12.6446141 L34.9007634,12.6446141 Z' id='Logotipo-(reworked)' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}a{display:block;width:100%;height:100%}:host(.mobile){width:31px;height:40px}:host(.mobile) img{content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31px' height='40px' viewBox='0 0 31 40'%3E%3Cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Topbar/Mobile/Logged' transform='translate(-16.000000, -4.000000)'%3E%3Cg id='Group' transform='translate(16.000000, 4.000000)'%3E%3Cpolygon id='Fill-1' fill='%23E2001A' points='0 40 30.625 40 30.625 0 0 0'%3E%3C/polygon%3E%3Cpolygon id='Fill-2' fill='%23FEFEFE' points='8.17111587 6.20689655 23.4311708 6.20689655 23.4311708 11.671267 13.8691261 28.9163861 23.6647727 28.9163861 23.6647727 33.7931034 6.96022727 33.7931034 6.96022727 28.408218 16.522272 11.0831673 8.17111587 11.0831673'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}";const e=o;const l=class{constructor(L){i(this,L);this.width=undefined;this.height=undefined;this.imageAlt=undefined;this.link=undefined;this.targetBlank=undefined;this.mobileLogo=undefined}render(){const i={};if(this.width){i["width"]=i["max-width"]=`${this.width}px`}if(this.height){i["height"]=i["max-height"]=`${this.height}px`}return L(t,{key:"8cfbe8c165affd6a2f036e823f90fca7b72231d9",style:i,class:{mobile:!!this.mobileLogo}},this.link?L("a",{href:this.link,target:this.targetBlank?"_blank":"_self"},L("img",{alt:this.imageAlt})):L("img",{alt:this.imageAlt}))}};l.style=e;export{l as z_logo};
|
|
2
|
+
//# sourceMappingURL=p-04f1d3a0.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as o,h as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as o,h as n,a as e}from"./p-cfa39bd3.js";const i=':host{--z-notification--top-offset:0;display:flex;width:100%;box-sizing:border-box;align-items:flex-start;padding:calc(var(--space-unit) * 2);border-bottom:var(--border-size-medium) solid var(--color-surface03);font-family:var(--font-family-sans);outline:none}:host[sticky]{position:sticky;top:var(--z-notification--top-offset)}:host[sticky],:host([showshadow]){box-shadow:var(--shadow-3)}:host([type="success"]){background:var(--color-success-inverse)}:host([type="warning"]){background:var(--color-warning-inverse)}:host([type="error"]){background:var(--color-error-inverse)}.status-icon,.close-button{display:flex;height:20px;align-items:center}:host([type="success"]) .status-icon{fill:var(--color-success01)}:host([type="warning"]) .status-icon{fill:var(--color-warning02)}:host([type="error"]) .status-icon{fill:var(--color-error01)}:host>button,.content-container>button{padding:0;border:none;margin:0;background:transparent;cursor:pointer;font-family:inherit}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;flex:1 auto;flex-wrap:wrap;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2)}.content-text{max-width:800px;color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:20px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:16px}.action-button:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media only screen and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}';const a=i;const s=class{handleActionButtonClick(t){t.preventDefault();this.notificationAction.emit()}handleCloseButtonClick(t){t.preventDefault();this.notificationClose.emit()}constructor(n){t(this,n);this.notificationAction=o(this,"notificationAction",7);this.notificationClose=o(this,"notificationClose",7);this.contenticonname=undefined;this.actiontext=undefined;this.type=undefined;this.showclose=false;this.showshadow=false;this.sticky=false;this.handleActionButtonClick=this.handleActionButtonClick.bind(this);this.handleCloseButtonClick=this.handleCloseButtonClick.bind(this)}render(){var t;return n(e,{key:"a83d76d7012095d81697ef62719a0f8b664d7ed0"},this.contenticonname&&n("z-icon",{key:"6f8d1bf7f3dd8bf734539173824035893cdb9b4d",class:"status-icon",name:this.contenticonname,width:16,height:16}),n("div",{key:"a4a3991986cac69b7cf750d3e66a50e95968823a",class:"content-container"},n("div",{key:"b6b6e15cc0b6f1046d9066e7e0fe7675b6cad3f7",class:"content-text"},n("slot",{key:"e299ced2ddce517d717efa264adf18f71462ef5a"})),!!((t=this.actiontext)===null||t===void 0?void 0:t.trim())&&n("button",{key:"dac15b3c39c250d174e04f6b7b607b086f910489",class:"action-button",type:"button",onClick:this.handleActionButtonClick},this.actiontext)),this.showclose&&n("button",{key:"00a7987f33b378453e87caa0901ff6655ae950dd",class:"close-button",type:"button",onClick:this.handleCloseButtonClick},n("z-icon",{key:"49bc4ee4893dc3276f2d90740c1b26ec70e96872",name:"multiply-circle",width:16,height:16})))}};s.style=a;export{s as z_notification};
|
|
2
|
+
//# sourceMappingURL=p-1397aa99.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r,c as o,h as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r,c as o,h as a}from"./p-cfa39bd3.js";const i="button{display:flex;height:36px;align-items:center;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--color-surface01);border-radius:var(--border-radius);box-shadow:0 0 4px 0 rgb(0 0 0 / 20%);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase}button::-moz-focus-inner{border:0}button:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{box-shadow:var(--shadow-focus-primary)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button:disabled{color:var(--color-disabled03);fill:var(--color-disabled03)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";const t=i;const e=class{constructor(a){r(this,a);this.toggleClick=o(this,"toggleClick",7);this.label=undefined;this.isdisabled=false;this.avoidclick=undefined;this.opened=false;this.ariaLabel=""}emitToggleClick(){if(this.isdisabled){return}this.opened=!this.opened;this.toggleClick.emit(this.opened)}render(){return a("button",{key:"b4fe3dfabe37b1ea8bb6248156e63e78be798221",tabindex:this.avoidclick?"-1":"0",class:{isopen:this.opened,"avoid-clicks":this.avoidclick},disabled:this.isdisabled,"aria-expanded":this.opened?"true":"false","aria-label":this.ariaLabel,onClick:()=>this.emitToggleClick()},a("z-icon",{key:"367b01aa8c2e781a00a6002066c35a10b96c14a4",name:this.opened?"chevron-down":"chevron-up",width:16,height:16}),this.label)}};e.style=t;export{e as z_toggle_button};
|
|
2
|
+
//# sourceMappingURL=p-13e5e524.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,g as r}from"./p-cfa39bd3.js";import{X as o}from"./p-6037cdf3.js";import{m as a}from"./p-2c886e8b.js";import{r as s}from"./p-2c184714.js";const n=':host{--z-book-card-ribbon-background-color:var(--avatar-C08);--z-book-card-ribbon-shadow-color:var(--green950);--z-book-card-compact-width:262px;--z-book-card-compact-height:568px}:host>article{display:block;width:100%;max-width:360px;box-sizing:border-box;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>article div.cover{position:relative}:host>article div.cover div.img-wrapper{display:flex;overflow:hidden;border:var(--border-size-small) solid var(--color-surface03);line-height:0}:host>article div.cover div.img-wrapper img{width:auto;max-width:100%;height:auto;max-height:100%;align-self:flex-end}:host>article div.cover .ribbon{position:absolute;z-index:10;top:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * -2);display:flex;max-width:100%;height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-medium) solid var(--color-surface01);background:var(--z-book-card-ribbon-background-color);border-radius:0 var(--border-radius) var(--border-radius) 0;box-shadow:var(--shadow-2);color:var(--color-text-inverse);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:var(--font-sb);line-height:initial}:host>article div.cover .ribbon.interactive:hover{cursor:pointer}:host>article div.cover .ribbon.interactive:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}:host>article div.cover .ribbon span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.cover .ribbon::before{position:absolute;bottom:-12px;left:-2px;width:0;height:0;border-top:10px solid var(--z-book-card-ribbon-shadow-color);border-left:16px solid transparent;content:""}:host>article div.cover .ribbon z-icon{margin-right:var(--space-unit)}:host>article div.content{margin:var(--space-unit) 0;border-radius:var(--border-radius)}:host>article .title{display:flex;height:100%;align-self:center;color:var(--color-default-text);font-size:var(--font-size-4);font-weight:var(--font-sb);line-height:1.5}:host>article .title *{all:unset}:host>article div.subtitle{color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:1.4}:host>article div.authors{color:var(--color-default-text);font-size:var(--font-size-1);font-weight:var(--font-rg);line-height:1.33}:host>article div.isbn{overflow:hidden;color:var(--color-default-text);font-size:var(--font-size-2);line-height:1.33;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.isbn>.code{font-weight:var(--font-sb)}:host>article div.tags{display:flex;overflow:hidden;max-height:32px;flex-flow:row wrap;align-content:stretch;align-items:stretch;justify-content:flex-start;gap:calc(var(--space-unit) / 2)}:host>article ::slotted([slot="tags"]){margin-bottom:var(--space-unit)}:host>article ::slotted([slot="header-cta"]){--z-icon-width:20px;--z-icon-height:20px;padding:var(--space-unit);cursor:pointer;fill:var(--color-primary01-icon)}:host>article ::slotted([slot="header-cta"]:focus){box-shadow:var(--shadow-focus-primary);outline:none !important}:host>article.expanded{width:100%;min-width:328px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.header{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:top;justify-content:space-between;margin-bottom:var(--space-unit);white-space:nowrap}:host>article.expanded div.cover div.img-wrapper{border-radius:var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:100%}:host>article.expanded .title,:host>article.expanded .subtitle,:host>article.expanded .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}:host>article.expanded div.footer{border-top:var(--border-size-small) solid var(--color-surface03);margin-bottom:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open{padding-top:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open div.resources{display:initial}:host>article.expanded div.footer.close div.resources{display:none}:host>article.expanded button.show-resources{--z-icon-height:16px;--z-icon-width:16px;all:unset;display:flex;width:100%;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 1) 0;color:var(--color-link-primary);cursor:pointer;fill:var(--color-link-primary);font-size:var(--font-size-2);font-weight:var(--font-sb);gap:var(--space-unit)}:host>article.expanded button.show-resources:focus{box-shadow:var(--shadow-focus-primary)}:host>article.search{width:262px;height:616px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.search .wrapper-container{display:flex;height:100%;flex-direction:column;justify-content:space-between}:host>article.search .wrapper-container .wrapper{height:451px}:host>article.search .wrapper-container .action-container{padding-bottom:calc(var(--space-unit) * 2)}:host>article.search div.header{display:flex;height:24px;flex-flow:row nowrap;align-content:stretch;align-items:center;justify-content:space-between;margin-bottom:calc(var(--space-unit) * 1.5);white-space:nowrap}:host>article.search div.cover div.img-wrapper{height:314px;border-radius:var(--border-radius)}:host>article.search .title{display:block;height:initial;align-self:unset;font-size:var(--font-size-3)}:host>article.search .title,:host>article.search .subtitle,:host>article.search .authors{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host>article.compact{width:var(--z-book-card-compact-width);height:var(--z-book-card-compact-height)}:host>article.compact.borderless{border:none}:host>article.compact div.cover div.img-wrapper{width:100%;height:calc(var(--z-book-card-compact-width) * 1.36);box-sizing:border-box;border:none;background:var(--color-white);border-radius:var(--border-radius) var(--border-radius) 0 0;box-shadow:var(--shadow-2)}:host>article.compact div.wrapper{display:flex;height:100%;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.compact div.content{display:flex;box-sizing:border-box;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;padding:calc(var(--space-unit) * 2);padding-top:var(--space-unit);margin:0}:host>article.compact div.action-container{padding:calc(var(--space-unit) * 2);padding-top:0;margin-top:auto}:host>article.compact.borderless div.cover div.img-wrapper{width:var(--z-book-card-compact-width)}:host>article.compact.borderless div.content{padding:0;padding-top:var(--space-unit)}:host>article.compact.borderless div.action-container{padding:0;padding-bottom:calc(var(--space-unit) * 2)}:host>article.compact .title{display:block;height:initial;align-self:unset}:host>article.compact .title,:host>article.compact .subtitle,:host>article.compact .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}@media (min-width: 768px){:host>article{width:100%;max-width:initial}:host>article .title{display:block;height:initial;align-self:unset}:host>article.expanded{width:100%;min-width:initial;max-width:initial;height:360px;padding:0;border:0}:host>article.expanded div.wrapper{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.expanded div.cover div.img-wrapper{width:262px;height:356px;border:0;border:var(--border-size-medium) solid var(--color-surface03);border-right:none;background:var(--color-surface01);border-radius:var(--border-radius) 0 0 var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:auto;border-radius:0}:host>article.expanded div.content{display:flex;overflow:hidden;width:100%;height:356px;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;border:var(--border-size-medium) solid var(--color-surface03);border-left:none;margin:0;background:var(--color-surface01);border-radius:0 var(--border-radius) var(--border-radius) 0}:host>article.expanded div.content div.top{padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.content div.top div.info{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;margin-bottom:calc(var(--space-unit) / 2)}:host>article.expanded div.content div.top div.info>div.left{width:100%}:host>article.expanded div.content div.bottom{padding:calc(var(--space-unit) * 2);padding-bottom:0}}@media (min-width: 1152px){:host>article{width:fit-content;max-width:initial}}@media (min-width: 1366px){:host>article.expanded{width:635px}:host>article.expanded div.content{width:369px}}';const d=n;const c=class{constructor(i){t(this,i);this.ribbonClick=e(this,"ribbonClick",7);this.variant=undefined;this.cover=undefined;this.operaTitle=undefined;this.volumeTitle=undefined;this.authors=undefined;this.isbn=undefined;this.isbnLabel="";this.ribbon=undefined;this.ribbonIcon=undefined;this.ribbonInteractive=undefined;this.borderless=undefined;this.fallbackCover=undefined;this.operaTitleTag=undefined;this.isMobile=false;this.hasResources=false;this.showResources=false}emitRibbonClick(){this.ribbonClick.emit()}componentWillLoad(){this.id=`id-${s()}`;const t=window.matchMedia(`(max-width: ${a}px)`);this.isMobile=t.matches;t.onchange=t=>this.isMobile=t.matches}componentDidLoad(){this.handleResources()}handleResources(){var t;if(this.variant!==o.EXPANDED||!this.isMobile){return}this.hasResources=((t=this.hostElement.querySelectorAll("[slot=resources]"))===null||t===void 0?void 0:t.length)>0}toggleResources(){this.showResources=!this.showResources}renderCard(){switch(this.variant){case o.EXPANDED:return this.isMobile?this.renderMobileExpandedCard():this.renderExpandedCard();case o.COMPACT:return this.renderCompactCard();case o.SEARCH:return this.renderSearchCard()}}renderExpandedCard(){return i("div",{class:"wrapper"},this.renderCover(),i("div",{class:"content"},i("div",{class:"top"},i("div",{class:"info"},i("div",{class:"left"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),i("div",{class:"right"},this.renderHeaderCtaSlot())),this.renderTagsSlot()),i("div",{class:"bottom"},this.renderResourcesSlot())))}renderMobileExpandedCard(){return i("div",{class:"wrapper"},i("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),i("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn()),this.hasResources&&i("div",{class:{footer:true,open:this.showResources,close:!this.showResources}},!this.showResources&&this.renderShowResources(),this.renderResourcesSlot(),this.showResources&&this.renderShowResources()))}renderSearchCard(){return i("div",{class:"wrapper-container"},i("div",{class:"wrapper"},i("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),i("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn())),this.renderFooterCtaSlot())}renderCompactCard(){return i("div",{class:"wrapper"},this.renderCover(),i("div",{class:"content"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),this.renderFooterCtaSlot())}renderCover(){return i("div",{class:"cover"},this.ribbon&&this.variant!==o.COMPACT&&this.renderRibbon(),i("div",{class:"img-wrapper"},i("img",{src:this.cover,onError:()=>{if(this.fallbackCover){this.cover=this.fallbackCover}},"aria-hidden":"true"})))}renderRibbon(){const t=[this.ribbonIcon&&i("z-icon",{name:this.ribbonIcon,width:16,height:16,fill:"color-inverse-icon"}),i("span",null,this.ribbon)];return this.ribbonInteractive?i("button",{class:"ribbon interactive",onClick:()=>this.emitRibbonClick()},t):i("div",{class:"ribbon"},t)}renderOperaTitle(){const t=this.operaTitleTag?`<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`:this.operaTitle;return i("div",{class:"title",innerHTML:t})}renderVolumeTitle(){return this.volumeTitle?i("div",{class:"subtitle"},this.volumeTitle):null}renderAuthors(){return this.authors?i("div",{class:"authors","aria-description":"Autori"},this.authors):null}renderIsbn(){return this.isbn?i("div",{class:"isbn"},i("span",{class:"code","aria-description":`ISBN ${this.isbnLabel}`},this.isbn),this.isbnLabel?i("span",{class:"label"}," ",this.isbnLabel):null):null}renderShowResources(){return i("button",{class:"show-resources","aria-label":`Risorse del libro ${this.operaTitle}`,"aria-expanded":this.showResources.toString(),"aria-controls":`resources-${this.id}`,onClick:()=>this.toggleResources()},this.showResources?"Chiudi":"Vedi tutto",i("z-icon",{name:this.showResources?"chevron-up":"chevron-down"}))}renderTagsSlot(){return i("div",{class:"tags"},i("slot",{name:"tags"}))}renderHeaderCtaSlot(){return i("slot",{name:"header-cta"})}renderResourcesSlot(){return i("div",{id:`resources-${this.id}`,class:"resources"},i("slot",{name:"resources",onSlotchange:()=>this.handleResources()}))}renderFooterCtaSlot(){return i("div",{class:"action-container"},i("slot",{name:"footer-cta"}))}render(){return i("article",{key:"00cfaf1ddd32ce35c1e4db212332470941d7774e",class:{[this.variant]:true,borderless:!!this.borderless}},this.renderCard())}get hostElement(){return r(this)}};c.style=d;export{c as z_book_card};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as i,h as e,g as r}from"./p-cfa39bd3.js";import{X as a}from"./p-6037cdf3.js";import{m as o}from"./p-2c886e8b.js";import{r as s}from"./p-2c184714.js";const n=':host{--z-book-card-ribbon-background-color:var(--avatar-C08);--z-book-card-ribbon-shadow-color:var(--green950);--z-book-card-compact-width:262px;--z-book-card-compact-height:568px}:host>article{display:block;width:100%;max-width:360px;box-sizing:border-box;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>article div.cover{position:relative}:host>article div.cover div.img-wrapper{display:flex;overflow:hidden;border:var(--border-size-small) solid var(--color-surface03);line-height:0}:host>article div.cover div.img-wrapper img{width:auto;max-width:100%;height:auto;max-height:100%;align-self:flex-end}:host>article div.cover .ribbon{position:absolute;z-index:10;top:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * -2);display:flex;max-width:100%;height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-medium) solid var(--color-surface01);background:var(--z-book-card-ribbon-background-color);border-radius:0 var(--border-radius) var(--border-radius) 0;box-shadow:var(--shadow-2);color:var(--color-text-inverse);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:var(--font-sb);line-height:initial}:host>article div.cover .ribbon.interactive:hover{cursor:pointer}:host>article div.cover .ribbon.interactive:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}:host>article div.cover .ribbon span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.cover .ribbon::before{position:absolute;bottom:-12px;left:-2px;width:0;height:0;border-top:10px solid var(--z-book-card-ribbon-shadow-color);border-left:16px solid transparent;content:""}:host>article div.cover .ribbon z-icon{margin-right:var(--space-unit)}:host>article div.content{margin:var(--space-unit) 0;border-radius:var(--border-radius)}:host>article .title{display:flex;height:100%;align-self:center;color:var(--color-default-text);font-size:var(--font-size-4);font-weight:var(--font-sb);line-height:1.5}:host>article .title *{all:unset}:host>article div.subtitle{color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:1.4}:host>article div.authors{color:var(--color-default-text);font-size:var(--font-size-1);font-weight:var(--font-rg);line-height:1.33}:host>article div.isbn{overflow:hidden;color:var(--color-default-text);font-size:var(--font-size-2);line-height:1.33;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.isbn>.code{font-weight:var(--font-sb)}:host>article div.tags{display:flex;overflow:hidden;max-height:32px;flex-flow:row wrap;align-content:stretch;align-items:stretch;justify-content:flex-start;gap:calc(var(--space-unit) / 2)}:host>article ::slotted([slot="tags"]){margin-bottom:var(--space-unit)}:host>article ::slotted([slot="header-cta"]){--z-icon-width:20px;--z-icon-height:20px;padding:var(--space-unit);cursor:pointer;fill:var(--color-primary01-icon)}:host>article ::slotted([slot="header-cta"]:focus){box-shadow:var(--shadow-focus-primary);outline:none !important}:host>article.expanded{width:100%;min-width:328px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.header{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:top;justify-content:space-between;margin-bottom:var(--space-unit);white-space:nowrap}:host>article.expanded div.cover div.img-wrapper{border-radius:var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:100%}:host>article.expanded .title,:host>article.expanded .subtitle,:host>article.expanded .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}:host>article.expanded div.footer{border-top:var(--border-size-small) solid var(--color-surface03);margin-bottom:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open{padding-top:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open div.resources{display:initial}:host>article.expanded div.footer.close div.resources{display:none}:host>article.expanded button.show-resources{--z-icon-height:16px;--z-icon-width:16px;all:unset;display:flex;width:100%;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 1) 0;color:var(--color-link-primary);cursor:pointer;fill:var(--color-link-primary);font-size:var(--font-size-2);font-weight:var(--font-sb);gap:var(--space-unit)}:host>article.expanded button.show-resources:focus{box-shadow:var(--shadow-focus-primary)}:host>article.search{width:262px;height:616px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.search .wrapper-container{display:flex;height:100%;flex-direction:column;justify-content:space-between}:host>article.search .wrapper-container .wrapper{height:451px}:host>article.search .wrapper-container .action-container{padding-bottom:calc(var(--space-unit) * 2)}:host>article.search div.header{display:flex;height:24px;flex-flow:row nowrap;align-content:stretch;align-items:center;justify-content:space-between;margin-bottom:calc(var(--space-unit) * 1.5);white-space:nowrap}:host>article.search div.cover div.img-wrapper{height:314px;border-radius:var(--border-radius)}:host>article.search .title{display:block;height:initial;align-self:unset;font-size:var(--font-size-3)}:host>article.search .title,:host>article.search .subtitle,:host>article.search .authors{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host>article.compact{width:var(--z-book-card-compact-width);height:var(--z-book-card-compact-height)}:host>article.compact.borderless{border:none}:host>article.compact div.cover div.img-wrapper{width:100%;height:calc(var(--z-book-card-compact-width) * 1.36);box-sizing:border-box;border:none;background:var(--color-white);border-radius:var(--border-radius) var(--border-radius) 0 0;box-shadow:var(--shadow-2)}:host>article.compact div.wrapper{display:flex;height:100%;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.compact div.content{display:flex;box-sizing:border-box;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;padding:calc(var(--space-unit) * 2);padding-top:var(--space-unit);margin:0}:host>article.compact div.action-container{padding:calc(var(--space-unit) * 2);padding-top:0;margin-top:auto}:host>article.compact.borderless div.cover div.img-wrapper{width:var(--z-book-card-compact-width)}:host>article.compact.borderless div.content{padding:0;padding-top:var(--space-unit)}:host>article.compact.borderless div.action-container{padding:0;padding-bottom:calc(var(--space-unit) * 2)}:host>article.compact .title{display:block;height:initial;align-self:unset}:host>article.compact .title,:host>article.compact .subtitle,:host>article.compact .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}@media (min-width: 768px){:host>article{width:100%;max-width:initial}:host>article .title{display:block;height:initial;align-self:unset}:host>article.expanded{width:100%;min-width:initial;max-width:initial;height:360px;padding:0;border:0}:host>article.expanded div.wrapper{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.expanded div.cover div.img-wrapper{width:262px;height:356px;border:0;border:var(--border-size-medium) solid var(--color-surface03);border-right:none;background:var(--color-surface01);border-radius:var(--border-radius) 0 0 var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:auto;border-radius:0}:host>article.expanded div.content{display:flex;overflow:hidden;width:100%;height:356px;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;border:var(--border-size-medium) solid var(--color-surface03);border-left:none;margin:0;background:var(--color-surface01);border-radius:0 var(--border-radius) var(--border-radius) 0}:host>article.expanded div.content div.top{padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.content div.top div.info{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;margin-bottom:calc(var(--space-unit) / 2)}:host>article.expanded div.content div.top div.info>div.left{width:100%}:host>article.expanded div.content div.bottom{padding:calc(var(--space-unit) * 2);padding-bottom:0}}@media (min-width: 1152px){:host>article{width:fit-content;max-width:initial}}@media (min-width: 1366px){:host>article.expanded{width:635px}:host>article.expanded div.content{width:369px}}';const d=n;const c=class{constructor(e){t(this,e);this.ribbonClick=i(this,"ribbonClick",7);this.variant=undefined;this.cover=undefined;this.operaTitle=undefined;this.volumeTitle=undefined;this.authors=undefined;this.isbn=undefined;this.isbnLabel="";this.ribbon=undefined;this.ribbonIcon=undefined;this.ribbonInteractive=undefined;this.borderless=undefined;this.fallbackCover=undefined;this.operaTitleTag=undefined;this.isMobile=false;this.hasResources=false;this.showResources=false}emitRibbonClick(){this.ribbonClick.emit()}componentWillLoad(){this.id=`id-${s()}`;const t=window.matchMedia(`(max-width: ${o}px)`);this.isMobile=t.matches;t.onchange=t=>this.isMobile=t.matches}componentDidLoad(){this.handleResources()}handleResources(){var t;if(this.variant!==a.EXPANDED||!this.isMobile){return}this.hasResources=((t=this.hostElement.querySelectorAll("[slot=resources]"))===null||t===void 0?void 0:t.length)>0}toggleResources(){this.showResources=!this.showResources}renderCard(){switch(this.variant){case a.EXPANDED:return this.isMobile?this.renderMobileExpandedCard():this.renderExpandedCard();case a.COMPACT:return this.renderCompactCard();case a.SEARCH:return this.renderSearchCard()}}renderExpandedCard(){return e("div",{class:"wrapper"},this.renderCover(),e("div",{class:"content"},e("div",{class:"top"},e("div",{class:"info"},e("div",{class:"left"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),e("div",{class:"right"},this.renderHeaderCtaSlot())),this.renderTagsSlot()),e("div",{class:"bottom"},this.renderResourcesSlot())))}renderMobileExpandedCard(){return e("div",{class:"wrapper"},e("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),e("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn()),this.hasResources&&e("div",{class:{footer:true,open:this.showResources,close:!this.showResources}},!this.showResources&&this.renderShowResources(),this.renderResourcesSlot(),this.showResources&&this.renderShowResources()))}renderSearchCard(){return e("div",{class:"wrapper-container"},e("div",{class:"wrapper"},e("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),e("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn())),this.renderFooterCtaSlot())}renderCompactCard(){return e("div",{class:"wrapper"},this.renderCover(),e("div",{class:"content"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),this.renderFooterCtaSlot())}renderCover(){return e("div",{class:"cover"},this.ribbon&&this.variant!==a.COMPACT&&this.renderRibbon(),e("div",{class:"img-wrapper"},e("img",{src:this.cover,onError:()=>{if(this.fallbackCover){this.cover=this.fallbackCover}},"aria-hidden":"true"})))}renderRibbon(){const t=[this.ribbonIcon&&e("z-icon",{name:this.ribbonIcon,width:16,height:16,fill:"color-inverse-icon"}),e("span",null,this.ribbon)];return this.ribbonInteractive?e("button",{class:"ribbon interactive",onClick:()=>this.emitRibbonClick()},t):e("div",{class:"ribbon"},t)}renderOperaTitle(){const t=this.operaTitleTag?`<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`:this.operaTitle;return e("div",{class:"title",innerHTML:t})}renderVolumeTitle(){return this.volumeTitle?e("div",{class:"subtitle"},this.volumeTitle):null}renderAuthors(){return this.authors?e("div",{class:"authors","aria-description":"Autori"},this.authors):null}renderIsbn(){return this.isbn?e("div",{class:"isbn"},e("span",{class:"code","aria-description":`ISBN ${this.isbnLabel}`},this.isbn),this.isbnLabel?e("span",{class:"label"}," ",this.isbnLabel):null):null}renderShowResources(){return e("button",{class:"show-resources","aria-label":`Risorse del libro ${this.operaTitle}`,"aria-expanded":this.showResources.toString(),"aria-controls":`resources-${this.id}`,onClick:()=>this.toggleResources()},this.showResources?"Chiudi":"Vedi tutto",e("z-icon",{name:this.showResources?"chevron-up":"chevron-down"}))}renderTagsSlot(){return e("div",{class:"tags"},e("slot",{name:"tags"}))}renderHeaderCtaSlot(){return e("slot",{name:"header-cta"})}renderResourcesSlot(){return e("div",{id:`resources-${this.id}`,class:"resources"},e("slot",{name:"resources",onSlotchange:()=>this.handleResources()}))}renderFooterCtaSlot(){return e("div",{class:"action-container"},e("slot",{name:"footer-cta"}))}render(){return e("article",{key:"a8a900644a8ed11205248958a146c327088a1b95",class:{[this.variant]:true,borderless:!!this.borderless}},this.renderCard())}get hostElement(){return r(this)}};c.style=d;export{c as z_book_card};
|
|
2
|
+
//# sourceMappingURL=p-16d5331a.entry.js.map
|