@zanichelli/delta_share 4.0.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/react/components.d.ts +0 -0
- package/dist/react/components.js +0 -0
- package/dist/react/components.js.map +0 -0
- package/dist/react/index.d.ts +0 -0
- package/dist/react/index.js +0 -0
- package/dist/react/index.js.map +0 -0
- package/dist/react/react-component-lib/createComponent.d.ts +0 -0
- package/dist/react/react-component-lib/createComponent.js +0 -0
- package/dist/react/react-component-lib/createComponent.js.map +0 -0
- package/dist/react/react-component-lib/createOverlayComponent.d.ts +0 -0
- package/dist/react/react-component-lib/createOverlayComponent.js +0 -0
- package/dist/react/react-component-lib/createOverlayComponent.js.map +0 -0
- package/dist/react/react-component-lib/index.d.ts +0 -0
- package/dist/react/react-component-lib/index.js +0 -0
- package/dist/react/react-component-lib/index.js.map +0 -0
- package/dist/react/react-component-lib/interfaces.d.ts +0 -0
- package/dist/react/react-component-lib/interfaces.js +0 -0
- package/dist/react/react-component-lib/interfaces.js.map +0 -0
- package/dist/react/react-component-lib/utils/attachProps.d.ts +0 -0
- package/dist/react/react-component-lib/utils/attachProps.js +0 -0
- package/dist/react/react-component-lib/utils/attachProps.js.map +0 -0
- package/dist/react/react-component-lib/utils/case.d.ts +0 -0
- package/dist/react/react-component-lib/utils/case.js +0 -0
- package/dist/react/react-component-lib/utils/case.js.map +0 -0
- package/dist/react/react-component-lib/utils/dev.d.ts +0 -0
- package/dist/react/react-component-lib/utils/dev.js +0 -0
- package/dist/react/react-component-lib/utils/dev.js.map +0 -0
- package/dist/react/react-component-lib/utils/index.d.ts +0 -0
- package/dist/react/react-component-lib/utils/index.js +0 -0
- package/dist/react/react-component-lib/utils/index.js.map +0 -0
- package/dist/wc/cjs/delta_share.cjs.js +1 -1
- package/dist/wc/cjs/{index-405a1782.js → index-376d9f31.js} +1 -1
- package/dist/wc/cjs/index-48ad79ef.js +12 -4
- package/dist/wc/cjs/{index-c22b1079.js → index-49643807.js} +1 -1
- package/dist/wc/cjs/{index-ce49a372.js → index-bdde15d7.js} +2 -2
- package/dist/wc/cjs/{index-5854a783.js → index-c56dd0b3.js} +3 -3
- package/dist/wc/cjs/{index-a1571f05.js → index-dca3e969.js} +2 -2
- package/dist/wc/cjs/{index-f209baa4.js → index-ee150627.js} +5 -5
- package/dist/wc/cjs/{index-9c3aec20.js → index-f043c44c.js} +14 -3
- package/dist/wc/cjs/license-activation_10.cjs.entry.js +34 -29
- package/dist/wc/cjs/loader.cjs.js +1 -1
- package/dist/wc/cjs/{utils-ff107ab4.js → utils-19feebcd.js} +1 -1
- package/dist/wc/cjs/{utils-1b80375b.js → utils-e18cc609.js} +1 -1
- package/dist/wc/cjs/z-accordion.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-anchor-navigation.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-app-header.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-aria-alert.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-avatar.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-book-card-app.cjs.entry.js +36 -0
- package/dist/wc/cjs/z-book-card-deprecated.cjs.entry.js +135 -0
- package/dist/wc/cjs/z-book-card.cjs.entry.js +82 -96
- package/dist/wc/cjs/z-breadcrumb.cjs.entry.js +5 -5
- package/dist/wc/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-card.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-chip.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-combobox.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-cover-hero.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-date-picker.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-divider.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-dragdrop-area.cjs.entry.js +12 -16
- package/dist/wc/cjs/z-file-upload.cjs.entry.js +78 -102
- package/dist/wc/cjs/z-file.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-ghost-loading.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-info-reveal.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-list_4.cjs.entry.js +8 -8
- package/dist/wc/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-menu-deprecated.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-menu-section-deprecated.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-menu-section.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-menu.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-myz-card-footer.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +7 -7
- package/dist/wc/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-myz-list.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-offcanvas_2.cjs.entry.js +51 -12
- package/dist/wc/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-panel-elem.cjs.entry.js +3 -2
- package/dist/wc/cjs/z-popover.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-range-picker.cjs.entry.js +5 -5
- package/dist/wc/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-select.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +4 -5
- package/dist/wc/cjs/z-slideshow.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-table.cjs.entry.js +9 -9
- package/dist/wc/cjs/z-tbody.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-td.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-th.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-thead.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +5 -5
- package/dist/wc/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-tr.cjs.entry.js +5 -5
- package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/wc/collection/collection-manifest.json +2 -0
- package/dist/wc/collection/components/license-activation/license-activation.js +3 -7
- package/dist/wc/collection/components/license-activation-form/license-activation-form.css +19 -18
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +5 -3
- package/dist/wc/custom-elements/index.d.ts +0 -0
- package/dist/wc/custom-elements/index.js +452 -275
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- package/dist/wc/delta_share/index.esm.js +0 -0
- package/dist/wc/delta_share/p-013e4409.entry.js +1 -0
- package/dist/wc/delta_share/{p-148ce1f3.entry.js → p-018ee9d6.entry.js} +1 -1
- package/dist/wc/delta_share/{p-2df15f43.entry.js → p-02ebcfea.entry.js} +1 -1
- package/dist/wc/delta_share/p-0ae2c3f2.entry.js +1 -0
- package/dist/wc/delta_share/{p-6b0f653f.entry.js → p-19676cde.entry.js} +1 -1
- package/dist/wc/delta_share/{p-903067b4.entry.js → p-1d029eee.entry.js} +1 -1
- package/dist/wc/delta_share/{p-f1c47fff.entry.js → p-262ab797.entry.js} +2 -2
- package/dist/wc/delta_share/{p-f002c0bd.entry.js → p-28cf49f6.entry.js} +1 -1
- package/dist/wc/delta_share/p-295518af.entry.js +1 -0
- package/dist/wc/delta_share/{p-8ff9652b.entry.js → p-29f14555.entry.js} +1 -1
- package/dist/wc/delta_share/p-29fc3a79.entry.js +1 -0
- package/dist/wc/delta_share/{p-bab3d1cb.entry.js → p-2a01a3f3.entry.js} +1 -1
- package/dist/wc/delta_share/{p-e0973089.entry.js → p-2b97cd87.entry.js} +1 -1
- package/dist/wc/delta_share/{p-576def78.entry.js → p-3104a139.entry.js} +1 -1
- package/dist/wc/delta_share/{p-0a67ed21.entry.js → p-3870dbe2.entry.js} +1 -1
- package/dist/wc/delta_share/p-3b354b80.entry.js +1 -0
- package/dist/wc/delta_share/{p-c0ca33be.entry.js → p-3b4d4f00.entry.js} +1 -1
- package/dist/wc/delta_share/{p-cb11c710.entry.js → p-3d013235.entry.js} +1 -1
- package/dist/wc/delta_share/p-4449733f.entry.js +1 -0
- package/dist/wc/delta_share/{p-5ef85199.js → p-444db53b.js} +1 -1
- package/dist/wc/delta_share/{p-b724df69.entry.js → p-44ceafee.entry.js} +1 -1
- package/dist/wc/delta_share/p-4cfc333d.js +1 -0
- package/dist/wc/delta_share/{p-193ddfc3.entry.js → p-5212008a.entry.js} +1 -1
- package/dist/wc/delta_share/{p-f90ae8fc.entry.js → p-566c9267.entry.js} +1 -1
- package/dist/wc/delta_share/p-59f14c8d.entry.js +1 -0
- package/dist/wc/delta_share/{p-2e8f2b22.entry.js → p-5adb7aa8.entry.js} +1 -1
- package/dist/wc/delta_share/{p-adf4d729.entry.js → p-620a959a.entry.js} +1 -1
- package/dist/wc/delta_share/p-62a61516.js +1 -0
- package/dist/wc/delta_share/{p-069cc2de.entry.js → p-63d78af3.entry.js} +1 -1
- package/dist/wc/delta_share/{p-ee09fc8d.entry.js → p-6653b9a1.entry.js} +1 -1
- package/dist/wc/delta_share/{p-b307c221.js → p-6c8159ea.js} +1 -1
- package/dist/wc/delta_share/{p-4e7c6413.entry.js → p-707c5585.entry.js} +1 -1
- package/dist/wc/delta_share/{p-c9c8b659.entry.js → p-7fda0bed.entry.js} +1 -1
- package/dist/wc/delta_share/p-8134fe51.entry.js +1 -0
- package/dist/wc/delta_share/p-866f8a49.entry.js +1 -0
- package/dist/wc/delta_share/{p-9c968734.entry.js → p-86964f3b.entry.js} +2 -2
- package/dist/wc/delta_share/{p-93a18eb7.entry.js → p-87332b01.entry.js} +1 -1
- package/dist/wc/delta_share/p-8c81d9b2.entry.js +1 -0
- package/dist/wc/delta_share/{p-f6075d7c.entry.js → p-8f9ed094.entry.js} +1 -1
- package/dist/wc/delta_share/{p-2fc2aa62.entry.js → p-99acd07f.entry.js} +1 -1
- package/dist/wc/delta_share/p-9c18160e.entry.js +1 -0
- package/dist/wc/delta_share/{p-baff4861.entry.js → p-9ed10859.entry.js} +1 -1
- package/dist/wc/delta_share/{p-7c207e2e.entry.js → p-a21fd966.entry.js} +1 -1
- package/dist/wc/delta_share/{p-3b183716.entry.js → p-a74a2ea7.entry.js} +1 -1
- package/dist/wc/delta_share/{p-841f8f71.entry.js → p-a85812cb.entry.js} +1 -1
- package/dist/wc/delta_share/p-b0a69730.entry.js +1 -0
- package/dist/wc/delta_share/p-b0c09e8c.entry.js +1 -0
- package/dist/wc/delta_share/p-ba1facc4.entry.js +1 -0
- package/dist/wc/delta_share/{p-152e098e.js → p-bcbf4111.js} +1 -1
- package/dist/wc/delta_share/{p-873f0f34.js → p-c2331325.js} +1 -1
- package/dist/wc/delta_share/p-c804a012.entry.js +1 -0
- package/dist/wc/delta_share/p-c8bbe9e8.entry.js +1 -0
- package/dist/wc/delta_share/p-ca0c9c66.entry.js +3 -0
- package/dist/wc/delta_share/p-ca9baa11.entry.js +1 -0
- package/dist/wc/delta_share/p-cb91ed58.entry.js +1 -0
- package/dist/wc/delta_share/p-ce5a0e4a.js +1 -0
- package/dist/wc/delta_share/p-cee50bb2.entry.js +1 -0
- package/dist/wc/delta_share/p-d0c5e474.entry.js +1 -0
- package/dist/wc/delta_share/p-d46bf9a5.js +1 -0
- package/dist/wc/delta_share/p-ddde8778.entry.js +1 -0
- package/dist/wc/delta_share/p-de08796d.entry.js +1 -0
- package/dist/wc/delta_share/p-e04a44e2.entry.js +1 -0
- package/dist/wc/delta_share/{p-20a0d980.entry.js → p-e070058d.entry.js} +1 -1
- package/dist/wc/delta_share/{p-93ad6bbd.entry.js → p-e1e28def.entry.js} +1 -1
- package/dist/wc/delta_share/{p-ccf2fd6c.entry.js → p-e433303b.entry.js} +1 -1
- package/dist/wc/delta_share/{p-ea23ec67.entry.js → p-e4fd3b00.entry.js} +1 -1
- package/dist/wc/delta_share/p-e642c65b.entry.js +1 -0
- package/dist/wc/delta_share/p-e8902ced.entry.js +1 -0
- package/dist/wc/delta_share/{p-133d17f0.entry.js → p-e90554fa.entry.js} +1 -1
- package/dist/wc/delta_share/{p-a03a7dbd.entry.js → p-e9369c2c.entry.js} +1 -1
- package/dist/wc/delta_share/p-ecc6113d.entry.js +1 -0
- package/dist/wc/delta_share/{p-21c82b99.entry.js → p-f44c8791.entry.js} +1 -1
- package/dist/wc/delta_share/p-fb066b3f.entry.js +1 -0
- package/dist/wc/delta_share/{p-5dcbb1d5.entry.js → p-fc5a8411.entry.js} +1 -1
- package/dist/wc/delta_share/p-fc6c2cae.entry.js +1 -0
- package/dist/wc/delta_share/{p-f685348b.js → p-ff64ac0d.js} +1 -1
- package/dist/wc/delta_share/{p-89879344.entry.js → p-ff7ff884.entry.js} +1 -1
- package/dist/wc/esm/delta_share.js +1 -1
- package/dist/wc/esm/{index-cd166cda.js → index-022ca053.js} +2 -2
- package/dist/wc/esm/{index-74e0ef99.js → index-2f04648d.js} +15 -4
- package/dist/wc/esm/{index-db80adda.js → index-46586cb9.js} +1 -1
- package/dist/wc/esm/{index-f98b91fa.js → index-65a6f17d.js} +2 -2
- package/dist/wc/esm/{index-02968d97.js → index-68d2aa41.js} +5 -5
- package/dist/wc/esm/{index-65780d25.js → index-a0e81965.js} +1 -1
- package/dist/wc/esm/index-b69e88d4.js +12 -4
- package/dist/wc/esm/{index-477f3c77.js → index-df47a432.js} +3 -3
- package/dist/wc/esm/license-activation_10.entry.js +34 -29
- package/dist/wc/esm/loader.js +1 -1
- package/dist/wc/esm/{utils-9550bfa1.js → utils-098de0ea.js} +1 -1
- package/dist/wc/esm/{utils-1f351a57.js → utils-aa5e2546.js} +1 -1
- package/dist/wc/esm/z-accordion.entry.js +3 -3
- package/dist/wc/esm/z-alert.entry.js +1 -1
- package/dist/wc/esm/z-anchor-navigation.entry.js +3 -3
- package/dist/wc/esm/z-app-header-deprecated.entry.js +2 -2
- package/dist/wc/esm/z-app-header.entry.js +4 -4
- package/dist/wc/esm/z-aria-alert.entry.js +2 -2
- package/dist/wc/esm/z-avatar.entry.js +3 -3
- package/dist/wc/esm/z-book-card-app.entry.js +32 -0
- package/dist/wc/esm/z-book-card-deprecated.entry.js +131 -0
- package/dist/wc/esm/z-book-card.entry.js +82 -96
- package/dist/wc/esm/z-breadcrumb.entry.js +5 -5
- package/dist/wc/esm/z-button-sort.entry.js +1 -1
- package/dist/wc/esm/z-card.entry.js +1 -1
- package/dist/wc/esm/z-carousel.entry.js +1 -1
- package/dist/wc/esm/z-chip.entry.js +3 -3
- package/dist/wc/esm/z-combobox.entry.js +4 -4
- package/dist/wc/esm/z-cover-hero.entry.js +3 -3
- package/dist/wc/esm/z-date-picker.entry.js +3 -3
- package/dist/wc/esm/z-divider.entry.js +2 -2
- package/dist/wc/esm/z-dragdrop-area.entry.js +13 -17
- package/dist/wc/esm/z-file-upload.entry.js +78 -102
- package/dist/wc/esm/z-file.entry.js +2 -2
- package/dist/wc/esm/z-ghost-loading.entry.js +2 -2
- package/dist/wc/esm/z-info-reveal.entry.js +3 -3
- package/dist/wc/esm/z-list_4.entry.js +8 -8
- package/dist/wc/esm/z-logo.entry.js +1 -1
- package/dist/wc/esm/z-menu-deprecated.entry.js +2 -2
- package/dist/wc/esm/z-menu-section-deprecated.entry.js +2 -2
- package/dist/wc/esm/z-menu-section.entry.js +3 -3
- package/dist/wc/esm/z-menu.entry.js +3 -3
- package/dist/wc/esm/z-myz-card-alert.entry.js +3 -3
- package/dist/wc/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/wc/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/wc/esm/z-myz-card-footer.entry.js +2 -2
- package/dist/wc/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/wc/esm/z-myz-card-info.entry.js +4 -4
- package/dist/wc/esm/z-myz-card-list.entry.js +1 -1
- package/dist/wc/esm/z-myz-card_4.entry.js +7 -7
- package/dist/wc/esm/z-myz-list-item.entry.js +3 -3
- package/dist/wc/esm/z-myz-list.entry.js +1 -1
- package/dist/wc/esm/z-navigation-tabs.entry.js +4 -4
- package/dist/wc/esm/z-notification.entry.js +1 -1
- package/dist/wc/esm/z-offcanvas_2.entry.js +51 -12
- package/dist/wc/esm/z-otp.entry.js +3 -3
- package/dist/wc/esm/z-pagination.entry.js +1 -1
- package/dist/wc/esm/z-panel-elem.entry.js +3 -2
- package/dist/wc/esm/z-popover.entry.js +2 -2
- package/dist/wc/esm/z-range-picker.entry.js +5 -5
- package/dist/wc/esm/z-section-title.entry.js +2 -2
- package/dist/wc/esm/z-select.entry.js +3 -3
- package/dist/wc/esm/z-skip-to-content.entry.js +4 -5
- package/dist/wc/esm/z-slideshow.entry.js +3 -3
- package/dist/wc/esm/z-stepper-item.entry.js +1 -1
- package/dist/wc/esm/z-stepper.entry.js +1 -1
- package/dist/wc/esm/z-table.entry.js +9 -9
- package/dist/wc/esm/z-tbody.entry.js +1 -1
- package/dist/wc/esm/z-td.entry.js +2 -2
- package/dist/wc/esm/z-tfoot.entry.js +1 -1
- package/dist/wc/esm/z-th.entry.js +2 -2
- package/dist/wc/esm/z-thead.entry.js +1 -1
- package/dist/wc/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/wc/esm/z-toast-notification.entry.js +2 -2
- package/dist/wc/esm/z-toggle-button.entry.js +2 -2
- package/dist/wc/esm/z-toggle-switch.entry.js +5 -5
- package/dist/wc/esm/z-tooltip.entry.js +2 -2
- package/dist/wc/esm/z-tr.entry.js +5 -5
- package/dist/wc/esm/z-visually-hidden.entry.js +1 -1
- package/dist/wc/types/beans/index.d.ts +0 -0
- package/dist/wc/types/components/license-activation/license-activation.d.ts +0 -0
- package/dist/wc/types/components/license-activation-box/license-activation-box.d.ts +0 -0
- package/dist/wc/types/components/license-activation-form/license-activation-form.d.ts +0 -0
- package/dist/wc/types/components/license-activation-modal/license-activation-modal.d.ts +0 -0
- package/dist/wc/types/components.d.ts +0 -0
- package/dist/wc/types/index.d.ts +0 -0
- package/dist/wc/types/stencil-public-runtime.d.ts +0 -0
- package/dist/wc/types/store/CMS/index.d.ts +0 -0
- package/dist/wc/types/store/index.d.ts +0 -0
- package/dist/wc/types/utils/env.d.ts +0 -0
- package/dist/wc/types/utils/request.d.ts +0 -0
- package/dist/wc/types/utils/utils.d.ts +0 -0
- package/package.json +1 -1
- package/dist/wc/delta_share/p-03cc4be4.entry.js +0 -1
- package/dist/wc/delta_share/p-146386e4.entry.js +0 -1
- package/dist/wc/delta_share/p-160b3aa1.js +0 -1
- package/dist/wc/delta_share/p-185c06b2.js +0 -1
- package/dist/wc/delta_share/p-18f180f7.entry.js +0 -1
- package/dist/wc/delta_share/p-2d2b2bb4.entry.js +0 -1
- package/dist/wc/delta_share/p-33e298a6.entry.js +0 -1
- package/dist/wc/delta_share/p-3a21c604.js +0 -1
- package/dist/wc/delta_share/p-423a64c4.js +0 -1
- package/dist/wc/delta_share/p-47c9e381.entry.js +0 -1
- package/dist/wc/delta_share/p-4f085f30.entry.js +0 -1
- package/dist/wc/delta_share/p-63351f72.entry.js +0 -1
- package/dist/wc/delta_share/p-63a90675.entry.js +0 -1
- package/dist/wc/delta_share/p-6c56754f.entry.js +0 -1
- package/dist/wc/delta_share/p-6f585df9.entry.js +0 -1
- package/dist/wc/delta_share/p-72dfd888.entry.js +0 -1
- package/dist/wc/delta_share/p-7768e58a.entry.js +0 -1
- package/dist/wc/delta_share/p-7e79bb6e.entry.js +0 -1
- package/dist/wc/delta_share/p-a8e34ef2.entry.js +0 -1
- package/dist/wc/delta_share/p-b0edd600.entry.js +0 -1
- package/dist/wc/delta_share/p-cf6f7c96.entry.js +0 -3
- package/dist/wc/delta_share/p-d0444907.entry.js +0 -1
- package/dist/wc/delta_share/p-d1724071.entry.js +0 -1
- package/dist/wc/delta_share/p-d23fb987.entry.js +0 -1
- package/dist/wc/delta_share/p-e237572d.entry.js +0 -1
- package/dist/wc/delta_share/p-e3eb4863.entry.js +0 -1
- package/dist/wc/delta_share/p-e7d0cdcf.entry.js +0 -1
- package/dist/wc/delta_share/p-e9ec361e.entry.js +0 -1
- package/dist/wc/delta_share/p-efd9e806.entry.js +0 -1
- package/dist/wc/delta_share/p-f7a0336e.entry.js +0 -1
- package/dist/wc/delta_share/p-fd19aa4b.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-9943807e.js';
|
|
2
|
-
import {
|
|
2
|
+
import { q as ZDatePickerPosition, p as ZDatePickerMode, r as ZDatePickerModeValue } from './index-2f04648d.js';
|
|
3
3
|
|
|
4
4
|
var HOOKS = [
|
|
5
5
|
"onChange",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-b69e88d4.js';
|
|
2
|
-
import { C as ControlSize, A as AccordionVariant } from './index-
|
|
2
|
+
import { C as ControlSize, A as AccordionVariant } from './index-2f04648d.js';
|
|
3
3
|
|
|
4
|
-
const stylesCss = ":host,:host *,:host ::slotted(*){box-sizing:border-box}:host{--z-accordion-highlight-color:transparent;--z-accordion-bg:var(--color-surface01);--z-accordion-label-color:var(--color-default-text);--z-accordion-disabled-label-color:var(--color-text03);--z-accordion-content-bg:var(--color-surface01);--z-accordion-content-fg:var(--color-default-text);--z-accordion-hover-color:var(--color-surface03);--z-accordion-left-padding:calc(var(--space-unit) * 2);--z-accordion-right-padding:var(--space-unit);--z-accordion-label-font-weight:var(--font-sb);display:block;border-top:var(--border-size-small) solid var(--color-surface03);border-bottom:var(--border-size-small) solid var(--color-surface03);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host([variant=\"background\"]){border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius)}:host([variant=\"background\"][shadow]){box-shadow:var(--shadow-2)}details{background-color:transparent}summary{--summary-x-small-height:32px;--summary-small-height:36px;--summary-big-height:44px;--summary-height:var(--summary-big-height);--summary-y-padding:var(--space-unit);position:relative;display:flex;height:var(--summary-height);align-items:center;padding:var(--summary-y-padding) var(--z-accordion-right-padding) var(--summary-y-padding)\n var(--z-accordion-left-padding);background-color:var(--z-accordion-bg);column-gap:var(--space-unit);cursor:pointer;list-style:none}:host([size=\"x-small\"]) summary{--summary-height:var(--summary-x-small-height)}:host([size=\"small\"]) summary{--summary-height:var(--summary-small-height)}:host(:is([size=\"x-small\"],[size=\"small\"])) summary{--summary-y-padding:calc(var(--space-unit) / 2)}:host([variant=\"background\"]) summary{padding-right:calc(var(--space-unit) * 2);border-radius:calc(var(--border-radius) - var(--border-size-small))}:host([variant=\"background\"][open]) summary{border-bottom-left-radius:0;border-bottom-right-radius:0}:host([is-disabled]) summary{cursor:default}summary:focus:focus-visible{background-color:var(--z-accordion-hover-color);box-shadow:var(--shadow-focus-primary);outline:none}summary::before,:host([highlight][variant=\"background\"]) .z-accordion-content::before{position:absolute;top:0;left:0;display:block;width:var(--space-unit);height:100%;content:\"\"}:host([highlight][variant=\"background\"]) summary::before{border-top-left-radius:calc(var(--border-radius) - var(--border-size-small))}:host([highlight][variant=\"background\"]:not([open])) summary::before,:host([highlight][variant=\"background\"][open]) .z-accordion-content::before{border-bottom-left-radius:calc(var(--border-radius) - var(--border-size-small))}:host([highlight]) summary::before,:host([highlight][variant=\"background\"]) .z-accordion-content::before{background-color:var(--z-accordion-highlight-color, transparent)}:host([is-disabled][highlight]) summary::before,:host([is-disabled][highlight][variant=\"background\"]) .z-accordion-content::before{background-color:var(--z-accordion-disabled-label-color)}summary>z-icon{fill:var(--z-accordion-label-color)}:host([is-disabled]) summary>z-icon{fill:var(--z-accordion-disabled-label-color)}.z-accordion-label{color:var(--z-accordion-label-color);font-size:var(--font-size-3);font-weight:var(--z-accordion-label-font-weight)}:host([size=\"x-small\"]) .z-accordion-label{font-size:var(--font-size-2)}:host([size=\"x-small\"]) :is(.z-accordion-label-icon,.z-accordion-chevron){--z-icon-width:16px;--z-icon-height:16px}.z-accordion-tags{display:flex;align-items:center;column-gap:calc(var(--space-unit) / 2)}summary z-icon.z-accordion-chevron{margin-left:auto}.z-accordion-content{position:relative;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);background-color:var(--z-accordion-content-bg);color:var(--z-accordion-content-fg);font-size:var(--font-size-2);}:host(:is([size=\"x-small\"],[size=\"small\"])) .z-accordion-content{padding-bottom:var(--space-unit)}:host([size=\"x-small\"]) .z-accordion-content{font-size:var(--font-size-1)}:host([variant=\"background\"]) .z-accordion-content{padding-right:calc(var(--space-unit) * 2)}:host([is-disabled]) .z-accordion-label{color:var(--z-accordion-disabled-label-color)}:host([is-disabled]) .z-accordion-tags ::slotted(z-tag[slot=\"tag\"]){--z-tag-bg:var(--z-accordion-disabled-label-color) !important;--z-tag-text-color:var(--color-text-inverse) !important}@media (hover: hover){summary:focus:focus-visible{position:relative;z-index:1}:host(:not([is-disabled])) summary:hover{background-color:var(--z-accordion-hover-color)}:host(:not([is-disabled])) summary:hover .z-accordion-label{text-decoration:underline}}@media (hover: none){:host([size]) summary{--summary-height:var(--summary-big-height);--summary-y-padding:var(--space-unit)}:host([size]) .z-accordion-label{font-size:var(--font-size-3)}:host([size]) .z-accordion-content{font-size:var(--font-size-2)}:host([size]) :is(.z-accordion-label-icon,.z-accordion-chevron){--z-icon-width:18px;--z-icon-height:18px}}z-accordion+z-accordion{border-top:none}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]{border-radius:0}z-accordion[variant=\"background\"]:first-of-type:not(:last-of-type){border-bottom-left-radius:0;border-bottom-right-radius:0}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]:last-of-type{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}z-accordion[variant=\"background\"]:first-of-type:not(:last-of-type)::part(summary){border-bottom-left-radius:0;border-bottom-right-radius:0}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]::part(summary){border-radius:0}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]:last-of-type:not([open])::part(summary){border-bottom-left-radius:calc(var(--border-radius) - var(--border-size-small));border-bottom-right-radius:calc(var(--border-radius) - var(--border-size-small))}";
|
|
4
|
+
const stylesCss = ":host,:host *,:host ::slotted(*){box-sizing:border-box}:host{--z-accordion-highlight-color:transparent;--z-accordion-bg:var(--color-surface01);--z-accordion-label-color:var(--color-default-text);--z-accordion-disabled-label-color:var(--color-text03);--z-accordion-content-bg:var(--color-surface01);--z-accordion-content-fg:var(--color-default-text);--z-accordion-hover-color:var(--color-surface03);--z-accordion-left-padding:calc(var(--space-unit) * 2);--z-accordion-right-padding:var(--space-unit);--z-accordion-label-font-weight:var(--font-sb);display:block;border-top:var(--border-size-small) solid var(--color-surface03);border-bottom:var(--border-size-small) solid var(--color-surface03);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host([variant=\"background\"]){border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius)}:host([variant=\"background\"][shadow]){box-shadow:var(--shadow-2)}details{background-color:transparent}summary{--summary-x-small-height:32px;--summary-small-height:36px;--summary-big-height:44px;--summary-height:var(--summary-big-height);--summary-y-padding:var(--space-unit);position:relative;display:flex;min-height:var(--summary-height);align-items:center;padding:var(--summary-y-padding) var(--z-accordion-right-padding) var(--summary-y-padding)\n var(--z-accordion-left-padding);background-color:var(--z-accordion-bg);column-gap:var(--space-unit);cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}:host([size=\"x-small\"]) summary{--summary-height:var(--summary-x-small-height)}:host([size=\"small\"]) summary{--summary-height:var(--summary-small-height)}:host(:is([size=\"x-small\"],[size=\"small\"])) summary{--summary-y-padding:calc(var(--space-unit) / 2)}:host([variant=\"background\"]) summary{padding-right:calc(var(--space-unit) * 2);border-radius:calc(var(--border-radius) - var(--border-size-small))}:host([variant=\"background\"][open]) summary{border-bottom-left-radius:0;border-bottom-right-radius:0}:host([is-disabled]) summary{cursor:default}summary:focus:focus-visible{background-color:var(--z-accordion-hover-color);box-shadow:var(--shadow-focus-primary);outline:none}summary::before,:host([highlight][variant=\"background\"]) .z-accordion-content::before{position:absolute;top:0;left:0;display:block;width:var(--space-unit);height:100%;content:\"\"}:host([highlight][variant=\"background\"]) summary::before{border-top-left-radius:calc(var(--border-radius) - var(--border-size-small))}:host([highlight][variant=\"background\"]:not([open])) summary::before,:host([highlight][variant=\"background\"][open]) .z-accordion-content::before{border-bottom-left-radius:calc(var(--border-radius) - var(--border-size-small))}:host([highlight]) summary::before,:host([highlight][variant=\"background\"]) .z-accordion-content::before{background-color:var(--z-accordion-highlight-color, transparent)}:host([is-disabled][highlight]) summary::before,:host([is-disabled][highlight][variant=\"background\"]) .z-accordion-content::before{background-color:var(--z-accordion-disabled-label-color)}summary>z-icon{fill:var(--z-accordion-label-color)}:host([is-disabled]) summary>z-icon{fill:var(--z-accordion-disabled-label-color)}.z-accordion-label{color:var(--z-accordion-label-color);font-size:var(--font-size-3);font-weight:var(--z-accordion-label-font-weight)}:host([size=\"x-small\"]) .z-accordion-label{font-size:var(--font-size-2)}:host([size=\"x-small\"]) :is(.z-accordion-label-icon,.z-accordion-chevron){--z-icon-width:16px;--z-icon-height:16px}.z-accordion-tags{display:flex;align-items:center;column-gap:calc(var(--space-unit) / 2)}summary z-icon.z-accordion-chevron{margin-left:auto}.z-accordion-content{position:relative;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);background-color:var(--z-accordion-content-bg);color:var(--z-accordion-content-fg);font-size:var(--font-size-2);}:host(:is([size=\"x-small\"],[size=\"small\"])) .z-accordion-content{padding-bottom:var(--space-unit)}:host([size=\"x-small\"]) .z-accordion-content{font-size:var(--font-size-1)}:host([variant=\"background\"]) .z-accordion-content{padding-right:calc(var(--space-unit) * 2)}:host([is-disabled]) .z-accordion-label{color:var(--z-accordion-disabled-label-color)}:host([is-disabled]) .z-accordion-tags ::slotted(z-tag[slot=\"tag\"]){--z-tag-bg:var(--z-accordion-disabled-label-color) !important;--z-tag-text-color:var(--color-text-inverse) !important}@media (hover: hover){summary:focus:focus-visible{position:relative;z-index:1}:host(:not([is-disabled])) summary:hover{background-color:var(--z-accordion-hover-color)}:host(:not([is-disabled])) summary:hover .z-accordion-label{text-decoration:underline}}@media (hover: none){:host([size]) summary{--summary-height:var(--summary-big-height);--summary-y-padding:var(--space-unit)}:host([size]) .z-accordion-label{font-size:var(--font-size-3)}:host([size]) .z-accordion-content{font-size:var(--font-size-2)}:host([size]) :is(.z-accordion-label-icon,.z-accordion-chevron){--z-icon-width:18px;--z-icon-height:18px}}z-accordion+z-accordion{border-top:none}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]{border-radius:0}z-accordion[variant=\"background\"]:first-of-type:not(:last-of-type){border-bottom-left-radius:0;border-bottom-right-radius:0}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]:last-of-type{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}z-accordion[variant=\"background\"]:first-of-type:not(:last-of-type)::part(summary){border-bottom-left-radius:0;border-bottom-right-radius:0}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]::part(summary){border-radius:0}z-accordion[variant=\"background\"]+z-accordion[variant=\"background\"]:last-of-type:not([open])::part(summary){border-bottom-left-radius:calc(var(--border-radius) - var(--border-size-small));border-bottom-right-radius:calc(var(--border-radius) - var(--border-size-small))}";
|
|
5
5
|
|
|
6
6
|
const ZAccordion = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -36,7 +36,7 @@ const ZAccordion = class {
|
|
|
36
36
|
this.toggled.emit(this.open);
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h("details", { key: '
|
|
39
|
+
return (h("details", { key: '91b7f482ab659db2ce2c194d6c0e000a474b8fbc', ref: (elm) => (this.detailsElm = elm), onToggle: this.onDetailsToggle.bind(this), open: this.open }, h("summary", { key: 'dec93f741b0bf720f2e3ca27d80721924f7e96c0', tabIndex: this.isDisabled ? -1 : null, part: "summary" }, this.icon && (h("z-icon", { key: '8943eca3e953b29025e17c15b9092538d2246442', class: "z-accordion-label-icon", name: this.icon })), h("span", { key: '2e6ba1c7a24fc12e07b159004f09d43e8f7938ae', class: "z-accordion-label" }, this.label), h("span", { key: '165e5f2d9ca85454017ca9a93e672c9a31aa0951', class: "z-accordion-tags" }, h("slot", { key: '5793cda10680845f990c279e8f4987b93a5d3b95', name: "tag" })), h("z-icon", { key: 'e2fd79cf10045f11006eb6a5a996dba0b85fdc08', class: "z-accordion-chevron", name: this.open ? "chevron-up" : "chevron-down" })), !this.isDisabled && (h("div", { key: '98aff9373f60e83162ac5e13c92041c97f24803a', class: "z-accordion-content", part: "content" }, h("slot", { key: 'd663ae67768932cbdfce8b3e01d6d9ad5f37c41d' })))));
|
|
40
40
|
}
|
|
41
41
|
static get watchers() { return {
|
|
42
42
|
"isDisabled": ["onDisabledChange"]
|
|
@@ -8,7 +8,7 @@ const ZAlert = class {
|
|
|
8
8
|
this.type = undefined;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '5fd2b297a4ab7e426d50f8ef36d5729df579786f', class: this.type }, h("slot", { key: 'cd24f83bcb38d4bbbce5f3b115aa18e217c402b2' })));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
ZAlert.style = stylesCss;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement } from './index-b69e88d4.js';
|
|
2
|
-
import { B as ButtonVariant } from './index-
|
|
2
|
+
import { B as ButtonVariant } from './index-2f04648d.js';
|
|
3
3
|
|
|
4
|
-
const stylesCss = "html{scroll-behavior:smooth}z-anchor-navigation nav{display:none;flex-direction:column;justify-content:flex-start;row-gap:calc(var(--space-unit) / 2)}z-anchor-navigation[collapsed] nav{display:flex;margin-top:var(--space-unit)}z-anchor-navigation nav a{display:-webkit-box;overflow:clip;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);-webkit-box-orient:vertical;color:inherit;font-weight:inherit;-webkit-line-clamp:2;overflow-clip-margin:content-box;text-decoration:none}z-anchor-navigation nav * a:not(:only-child){padding-right:calc(var(--space-unit) * 5)}@supports not (overflow-clip-margin: content-box){z-anchor-navigation nav a{display:inline-block;overflow:hidden;-webkit-line-clamp:none;text-overflow:ellipsis;white-space:nowrap}}z-anchor-navigation nav>*{position:relative;border-left:var(--border-size-large) solid var(--color-
|
|
4
|
+
const stylesCss = "html{scroll-behavior:smooth}z-anchor-navigation nav{display:none;flex-direction:column;justify-content:flex-start;row-gap:calc(var(--space-unit) / 2)}z-anchor-navigation[collapsed] nav{display:flex;margin-top:var(--space-unit)}z-anchor-navigation nav a{display:-webkit-box;overflow:clip;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);-webkit-box-orient:vertical;color:inherit;font-weight:inherit;-webkit-line-clamp:2;line-clamp:2;overflow-clip-margin:content-box;text-decoration:none}z-anchor-navigation nav * a:not(:only-child){padding-right:calc(var(--space-unit) * 5)}@supports not (overflow-clip-margin: content-box){z-anchor-navigation nav a{display:inline-block;overflow:hidden;-webkit-line-clamp:none;line-clamp:none;text-overflow:ellipsis;white-space:nowrap}}z-anchor-navigation nav>*{position:relative;border-left:var(--border-size-large) solid var(--color-surface05);color:var(--color-default-text);font-family:var(--font-family-sans);transition:background-color 0.3s ease-in-out,\n border-color 0.3s ease-in-out,\n color 0.3s ease-in-out}z-anchor-navigation nav>[data-current]{border-left-color:var(--color-primary01);color:var(--color-text-link-blue);font-weight:var(--font-sb)}z-anchor-navigation nav>*>*:is(z-button,button){position:absolute;top:50%;right:0;transform:translateY(-50%);transition:opacity 0.3s ease-in-out}z-anchor-navigation nav>*:focus:focus-visible,z-anchor-navigation nav>*>*:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}z-anchor-navigation nav button{padding:0;border:none;margin:0;background-color:transparent}@media (min-width: 768px){z-anchor-navigation z-button.toggle{display:none !important}z-anchor-navigation nav{display:flex}z-anchor-navigation nav>*>:is(z-button,button){opacity:0;pointer-events:none}@media (hover: hover){z-anchor-navigation nav>:is([data-current],:hover,:focus,:focus-within)>:is(z-button,button){opacity:1;pointer-events:unset}z-anchor-navigation nav>*:hover{border-left-color:var(--color-hover-primary);background-color:var(--color-hover-surface);color:var(--color-text-link-blue-hover)}}z-anchor-navigation[hide-unselected] nav>*:not([data-current],:hover,:focus,:focus-within){color:transparent;fill:transparent}}";
|
|
5
5
|
|
|
6
6
|
const ZAnchorNavigation = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -38,7 +38,7 @@ const ZAnchorNavigation = class {
|
|
|
38
38
|
window.removeEventListener("hashchange", this.setCurrent);
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '13b73e5270d20ed2fe6993c36bcc67b462e906c6', collapsed: this.collapsed }, h("z-button", { key: 'e30c82721fc47924bcea1d16d0df1809ce8bf9e5', class: "toggle", variant: ButtonVariant.SECONDARY, icon: this.collapsed ? "chevron-up" : "chevron-down", onClick: this.toggleCollapsed.bind(this) }, "salta a"), h("nav", { key: '2947b460bbaa7df8d2a8a9a50c51d1b4aa9230d4', ref: (el) => (this.nav = el) }, h("slot", { key: '9db93583f854c9a6ca57da4d7efeebca6c88836e' }))));
|
|
42
42
|
}
|
|
43
43
|
get host() { return getElement(this); }
|
|
44
44
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-b69e88d4.js';
|
|
2
|
-
import { O as OffCanvasVariant, T as TransitionDirection, B as ButtonVariant, C as ControlSize } from './index-
|
|
2
|
+
import { O as OffCanvasVariant, T as TransitionDirection, B as ButtonVariant, C as ControlSize } from './index-2f04648d.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--app-header-typography-1-size:24px;--app-header-typography-2-size:28px;--app-header-typography-3-size:32px;--app-header-typography-4-size:36px;--app-header-typography-5-size:42px;--app-header-typography-6-size:48px;--app-header-typography-7-size:54px;--app-header-typography-8-size:60px;--app-header-typography-9-size:68px;--app-header-typography-10-size:76px;--app-header-typography-11-size:84px;--app-header-typography-12-size:92px;--app-header-typography-1-lineheight:1.33;--app-header-typography-2-lineheight:1.29;--app-header-typography-3-lineheight:1.25;--app-header-typography-4-lineheight:1.24;--app-header-typography-5-lineheight:1.24;--app-header-typography-6-lineheight:1.25;--app-header-typography-7-lineheight:1.2;--app-header-typography-8-lineheight:1.26;--app-header-typography-9-lineheight:1.24;--app-header-typography-10-lineheight:1.26;--app-header-typography-11-lineheight:1.2;--app-header-typography-12-lineheight:1.2;--app-header-typography-1-tracking:calc(-0.2 / 1em);--app-header-typography-2-tracking:calc(-0.4 / 1em);--app-header-typography-3-tracking:calc(-0.6 / 1em);--app-header-typography-4-tracking:calc(-0.8 / 1em);--app-header-typography-5-tracking:calc(-1 / 1em);--app-header-typography-6-tracking:calc(-1.2 / 1em);--app-header-typography-7-tracking:calc(-1.4 / 1em);--app-header-typography-8-tracking:calc(-1.6 / 1em);--app-header-typography-9-tracking:calc(-1.8 / 1em);--app-header-typography-10-tracking:calc(-2 / 1em);--app-header-typography-11-tracking:calc(-2.2 / 1em);--app-header-typography-12-tracking:calc(-2.4 / 1em);--app-header-content-max-width:100%;--app-header-height:auto;--app-header-top-offset:48px;--app-header-drawer-trigger-size:calc(var(--space-unit) * 4);--app-header-bg:var(--color-surface01);--app-header-stucked-bg:var(--color-surface01);--app-header-text-color:var(--color-default-text);--app-header-title-font-size:var(--app-header-typography-3-size);--app-header-title-lineheight:var(--app-header-typography-3-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-3-tracking);--app-header-stucked-text-color:var(--color-default-text);position:relative;display:block;height:var(--app-header-height);color:var(--app-header-text-color)}:host,*{box-sizing:border-box}.heading-panel{position:relative;display:flex;width:100%;max-width:var(--app-header-content-max-width);flex-direction:column;flex-grow:0;flex-shrink:0;align-items:baseline;padding:var(--grid-margin);margin:0 auto;background:var(--app-header-bg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5)}.hero-container+.heading-panel{background:transparent}:host(:empty) .heading-panel{padding:0}.heading-container{position:relative;z-index:1;display:flex;width:100%;max-width:100%;flex:1 auto;flex-direction:column;justify-content:flex-start}.heading-title{display:flex;max-width:100%;flex-direction:row;align-items:flex-start;column-gap:calc(var(--space-unit) * 2)}::slotted([slot=\"title\"]),.heading-stuck .heading-title>*,::slotted([slot=\"stucked-title\"]){margin:0;font-family:\"IBM Plex Serif\", serif;font-weight:var(--font-bd)}::slotted([slot=\"title\"]){font-size:var(--app-header-title-font-size);letter-spacing:var(--app-header-title-letter-spacing);line-height:var(--app-header-title-lineheight)}.heading-stuck .heading-title>*,::slotted([slot=\"stucked-title\"]){font-size:var(--app-header-typography-3-size);letter-spacing:var(--app-header-typography-3-tracking);line-height:var(--app-header-typography-3-lineheight)}:host(:not([menu-length=\"0\"])) .heading-subtitle{padding-left:calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 2))}::slotted([slot=\"top-subtitle\"]),::slotted([slot=\"subtitle\"]){margin:0;font-family:var(--font-family-sans);font-size:20px;font-style:italic;line-height:26px}::slotted([slot=\"subtitle\"]){font-weight:500}::slotted([slot=\"top-subtitle\"]){font-weight:400}.menu-container{display:flex;width:100%;flex:1 auto;flex-flow:row wrap}:host([menu-length=\"0\"]:not([enable-search])) .menu-container,.menu-container:empty{display:none}.menu-container ::slotted([open]){position:relative;z-index:3}z-searchbar{z-index:0;display:flex;width:auto;min-width:calc(var(--space-unit) * 32);flex:1 auto;align-items:center;margin-left:auto}.heading-stuck{position:fixed;z-index:20;top:var(--app-header-top-offset);left:0;width:100%;max-width:100%;animation:slide-stuck-heading-in 250ms ease-out;background:var(--app-header-stucked-bg);box-shadow:var(--shadow-2);color:var(--app-header-stucked-text-color)}.heading-stuck-content{display:flex;max-width:var(--app-header-content-max-width);align-items:center;padding:var(--space-unit) var(--grid-margin);margin:0 auto;column-gap:calc(var(--space-unit) * 2)}.heading-stuck .heading-title{overflow:hidden}.heading-stuck .heading-title>*,.heading-stuck .heading-title ::slotted([slot=\"stucked-title\"]){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.heading-stuck-content z-button{margin-left:auto}.drawer-trigger{padding:0;border:0;margin:0;appearance:none;background:none;border-radius:0;color:inherit;cursor:pointer}.drawer-trigger z-icon{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);fill:currentcolor}.heading-container :is(.drawer-trigger,z-button.search-page-button){display:flex;height:calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight));align-items:center}.heading-container z-button.search-page-button{margin-left:auto}.drawer-content{display:none}z-offcanvas[open] .drawer-content{display:flex;width:100%;flex:1 auto;flex-direction:column;row-gap:calc(var(--space-unit) * 2.5)}z-offcanvas[open] .drawer-content ::slotted(z-menu){width:100%}.drawer-close{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);padding:0;border:0;margin:var(--space-unit) 0 calc(var(--space-unit) * 2.5);appearance:none;background:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-size:inherit;outline:none}.drawer-close:focus-visible{box-shadow:var(--shadow-focus-primary)}.hero-container{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%}:host([overlay]) .heading-panel .drawer-trigger z-icon,:host([overlay]) .heading-panel .heading-container,:host([overlay]) .heading-panel .menu-container{color:var(--color-white);fill:var(--color-white)}:host([overlay]) .heading-panel .menu-container ::slotted(z-menu){--z-menu-label-color:var(--color-white)}:host([overlay]) .hero-container::after{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%;background:var(--color-black);content:\"\";opacity:0.5}.hero-container img,.hero-container ::slotted(*){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center;-webkit-user-drag:none}@media (min-width: 768px){:host{--app-header-title-font-size:var(--app-header-typography-6-size);--app-header-title-lineheight:var(--app-header-typography-6-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-6-tracking)}.heading-panel{flex-flow:row wrap;align-items:center;padding-bottom:calc(var(--space-unit) * 2)}.heading-container{margin-right:auto}:host(:is([flow=\"offcanvas\"],[menu-length=\"0\"])) :is(.heading-container,.menu-container){width:auto}:host(:not([flow=\"offcanvas\"])) .heading-subtitle{padding-left:0}.menu-container{flex:initial;align-items:center}:host([menu-length=\"0\"]) .menu-container:not(:empty){height:calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight))}:host(:not([flow=\"offcanvas\"])) .menu-container{gap:var(--space-unit) calc(var(--space-unit) * 5)}:host(:not([flow=\"offcanvas\"])) .heading-container .drawer-trigger{display:none}}@media (min-width: 1152px){:host{--app-header-title-font-size:var(--app-header-typography-7-size);--app-header-title-lineheight:var(--app-header-typography-7-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-7-tracking)}.heading-panel{justify-content:flex-start;padding-bottom:calc(var(--space-unit) * 3)}.heading-container,.menu-container{width:auto}:host([flow=\"stack\"]) .heading-panel{flex-flow:column;align-items:flex-start}:host([flow=\"stack\"]) .menu-container{width:100%}:host(:not([flow=\"offcanvas\"],[menu-length=\"0\"])) .heading-panel{row-gap:calc(var(--space-unit) * 3)}z-searchbar{min-width:calc(var(--space-unit) * 45);flex:initial}}@media (min-width: 1366px){:host{--app-header-title-font-size:var(--app-header-typography-9-size);--app-header-title-lineheight:var(--app-header-typography-9-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-9-tracking)}}@keyframes slide-stuck-heading-in{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}";
|
|
5
5
|
|
|
@@ -137,7 +137,7 @@ const ZAppHeaderDeprecated = class {
|
|
|
137
137
|
this.evaluateViewport();
|
|
138
138
|
}
|
|
139
139
|
render() {
|
|
140
|
-
return (h(Host, { key: '
|
|
140
|
+
return (h(Host, { key: '9d009092baa5440c64867357cc550c9d6fdacce1', "menu-length": this.menuLength }, this.hasHero && (h("div", { key: '2b80ce5c787a36367bfb17484bdc6f220c86a777', class: "hero-container" }, h("slot", { key: '17c9b8f58edfc1957eb5a214d28ca7d7fdc5447e', name: "hero" }, this.hero && (h("img", { key: '912d28a9ff5ddc4c7c8c1c0da78e9d0ef481a7f1', alt: "", src: this.hero }))))), h("div", { key: 'b9de719a0ef65548780edc641f39b973610739fb', class: "heading-panel", ref: (el) => (this.container = el) }, h("div", { key: '21329c398320f4c5347e95de6fad7c5db0f4bcce', class: "heading-container" }, h("div", { key: 'f0e7a5177e5e9d04ac3498ac9906ba7ec8eaac8a', class: "heading-subtitle" }, h("slot", { key: 'd82e20ef24bd1bc1cb872393ef815f62fcdd89a2', name: "top-subtitle" })), h("div", { key: '63723a91c793dac124ca46b85562f43dce0938d2', class: "heading-title" }, this.menuLength > 0 && (h("button", { key: 'ae59df90a5f5470adefd9cd4a30886588f183af1', class: "drawer-trigger", "aria-label": "Apri menu", onClick: this.openDrawer }, h("z-icon", { key: '39e84ffff8b58cfc992bbc09e0e3fa15d065fa3c', name: "burger-menu" }))), h("slot", { key: '5445402288fd6bab67cf74752a4cb69d61d074d5', name: "title" }), this.renderSearchLinkButton()), h("div", { key: '261b5f7af1997f311b1c16f42a495fa3504c3d74', class: "heading-subtitle" }, h("slot", { key: '5c3ac0a56b60dcdd4f4dbe126f762f1151ba8665', name: "subtitle" }))), (this.canShowMenu || this.canShowSearchbar) && (h("div", { key: '067d28e686929a99db35e55a5c9158c1511c4375', class: "menu-container" }, this.canShowMenu && (h("slot", { key: '55bb1e7157f50932a33cdef0027594cb7f7ef22a', name: "menu", onSlotchange: this.collectMenuElements })), this.canShowSearchbar && this.renderSeachbar(this.currentViewport !== "desktop")))), h("z-offcanvas", { key: '32f7f11db2090caf1795f7995b964936568e47df', variant: OffCanvasVariant.OVERLAY, transitiondirection: TransitionDirection.RIGHT, open: this.drawerOpen, onCanvasOpenStatusChanged: (ev) => (this.drawerOpen = ev.detail) }, h("button", { key: '6e97d87d6013ac24d0a740928675898b3a4ef74f', class: "drawer-close", "aria-label": "Chiudi menu", onClick: this.closeDrawer, slot: "canvasContent", "aria-hidden": `${!this.drawerOpen}`, disabled: !this.drawerOpen }, h("z-icon", { key: 'a11508289586e803276f678927da961c4f27ec91', name: "close" })), h("div", { key: '3879116f51a33406b533efe932b4afbd76df40f9', class: "drawer-content", slot: "canvasContent", "aria-hidden": `${!this.drawerOpen}` }, h("slot", { key: '66350be6f46065bbdebb42e09299d184f07999ac', name: "menu", onSlotchange: this.collectMenuElements }))), this._stuck && (h("div", { key: 'b88c18b30cd65643960f48b6b2c347f9e104aa58', class: "heading-stuck" }, h("div", { key: 'af99af52a70f27252ed368ef23df23285ab5dee2', class: "heading-stuck-content" }, this.menuLength > 0 && (h("button", { key: '466db4b9863655df70f8d88b6cf2eddc78afdcde', class: "drawer-trigger", "aria-label": "Apri menu", onClick: this.openDrawer }, h("z-icon", { key: '22ddcc33c76b1ba4c27132f7259036e3ef009126', name: "burger-menu" }))), h("div", { key: '3d8ce06f82b665dce25fa9cb00ad3ba5f37d7275', class: "heading-title" }, h("slot", { key: 'd0bd1f72c6ac814ccc4a84dd38216be97f9bf49f', name: "stucked-title" }, this.title)), this.renderSearchLinkButton(), this.canShowSearchbar && this.currentViewport === "desktop" && this.renderSeachbar(false))))));
|
|
141
141
|
}
|
|
142
142
|
get hostElement() { return getElement(this); }
|
|
143
143
|
static get watchers() { return {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance, c as createEvent, H as Host, a as getElement } from './index-b69e88d4.js';
|
|
2
|
-
import { K as KeyboardCode, O as OffCanvasVariant, T as TransitionDirection, B as ButtonVariant, C as ControlSize } from './index-
|
|
2
|
+
import { K as KeyboardCode, O as OffCanvasVariant, T as TransitionDirection, B as ButtonVariant, C as ControlSize } from './index-2f04648d.js';
|
|
3
3
|
import { B as Breakpoints } from './breakpoints-9229197d.js';
|
|
4
|
-
import { c as containsElement } from './utils-
|
|
4
|
+
import { c as containsElement } from './utils-aa5e2546.js';
|
|
5
5
|
|
|
6
|
-
const stylesCss = ":host{position:relative;display:block;box-shadow:var(--shadow-2)}:host,*{box-sizing:border-box}.heading-panel{--title-line-height:1.333;--title-font-size:var(--font-size-6);position:relative;display:flex;width:100%;max-width:var(--app-header-content-max-width, 100%);flex-direction:column;flex-grow:0;flex-shrink:0;align-items:baseline;padding:calc(var(--space-unit) * 2);margin:0 auto;background:var(--app-header-bg, var(--color-surface01))}:host(:empty) .heading-panel{padding:0}.heading-container{position:relative;z-index:1;display:flex;width:100%;max-width:100%;flex:1 auto;flex-direction:column;justify-content:flex-start}.heading-panel.has-menubar{padding-bottom:0}.heading-panel .heading-container{flex-direction:column-reverse}:host([enable-search]) .heading-panel .heading-container{flex-direction:column}:host([enable-search][search-page-url]) .heading-panel .heading-container{flex-direction:row}.heading-title{display:flex;width:100%;flex-direction:row;align-items:flex-start}.heading-title:not(:last-child){margin-right:var(--space-unit)}.z-logo,.search-page-button{display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center}.z-logo img{height:24px;margin:0 var(--space-unit) 0 0;content:url('data:image/svg+xml,<svg width=\"61\" height=\"32\" viewBox=\"0 0 61 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15.9874 32C7.1595 32 0 24.8349 0 16C0 7.16513 7.1595 0 15.9874 0H45.0126C53.8405 0 61 7.16513 61 16C61 24.8349 53.8405 32 45.0126 32H15.9874Z\" fill=\"%23E2011A\"/><path d=\"M58.5435 15.9992C58.5435 23.4743 52.4892 29.5403 45.0129 29.5403C37.5367 29.5403 31.4824 23.4813 31.4824 15.9992C31.4824 8.51701 37.5367 2.45801 45.0129 2.45801C52.4892 2.45801 58.5435 8.51701 58.5435 15.9992Z\" fill=\"white\"/><path d=\"M40.7107 8.01862H49.8976V11.3158L44.139 21.7077H50.0384V24.6457H39.9785V21.4048L45.7371 10.9636H40.7107V8.01862Z\" fill=\"%23E2011A\"/><path d=\"M12.2914 24.6449C10.982 24.6449 10.271 23.8136 10.271 22.6722V7.04565H12.1718V22.9822H13.981V24.6449H12.2914Z\" fill=\"white\"/><path d=\"M25.6461 24.6448C24.2452 24.6448 23.675 23.7853 23.5342 22.6439H23.4145C22.8935 24.1446 21.5841 24.9266 19.8735 24.9266C17.2828 24.9266 15.7622 23.4964 15.7622 21.2137C15.7622 18.931 17.4236 17.6206 20.9928 17.6206H23.4145V16.4088C23.4145 14.6756 22.4641 13.7245 20.5141 13.7245C19.0428 13.7245 18.0642 14.4361 17.4025 15.5563L16.262 14.4854C16.9308 13.175 18.4021 12.0829 20.6126 12.0829C23.5623 12.0829 25.3152 13.6259 25.3152 16.2186V22.9751H26.7162V24.6378H25.6461V24.6448ZM23.4145 21.0799V19.0578H20.8942C18.733 19.0578 17.7545 19.7272 17.7545 20.9108V21.411C17.7545 22.6228 18.7049 23.3132 20.1762 23.3132C22.0558 23.3132 23.4074 22.341 23.4074 21.0799H23.4145Z\" fill=\"white\"/></svg>')}.product-logo{display:none}.product-logo ::slotted([slot=\"product-logo\"]){width:32px;height:32px;margin-right:var(--space-unit)}.product-logo ::slotted([slot=\"product-logo\"]) img{width:100%;height:100%;object-fit:cover}::slotted([slot=\"title\"]),::slotted([slot=\"stucked-title\"]),.stucked-title{margin:0;color:var(--app-header-text-color, var(--color-default-text));font-family:var(--font-family-serif);font-weight:var(--font-sb)}::slotted([slot=\"title\"]){display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;font-size:var(--title-font-size);-webkit-line-clamp:2;line-clamp:2;line-height:var(--title-line-height);text-overflow:ellipsis}::slotted(a:is([slot=\"title\"],[slot=\"stucked-title\"])){text-decoration:none}:host([enable-search]) ::slotted([slot=\"title\"])+*{margin-left:calc(var(--space-unit) * 2)}:host([enable-offcanvas]:not([menu-length=\"0\"])) .top-subtitle{padding-left:calc(var(--space-unit) * 4 + var(--space-unit))}::slotted([slot=\"top-subtitle\"]){display:-webkit-box;overflow:hidden;max-width:80%;margin:0;-webkit-box-orient:vertical;color:var(--color-default-text);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-style:italic;font-weight:var(--font-rg);-webkit-line-clamp:2;line-clamp:2}.search-page-button{margin-left:auto}.menu-container{display:flex;flex:1 auto;column-gap:calc(var(--space-unit) * 4)}.menu-container:focus:focus-visible{outline:none}:host([menu-length=\"0\"]) .menu-container,.menu-container:empty{display:none}.menu-container ::slotted([open]){position:relative;z-index:3}.menu-container ::slotted([slot=\"menu\"]:not(:last-child))::after{position:absolute;top:calc(1.5em / 2);right:calc(var(--space-unit) * -2);width:var(--border-size-small);height:1em;background-color:currentcolor;content:\"\";transform:translateY(-50%)}z-searchbar{z-index:0;display:flex;width:100%;align-items:center}.heading-stuck{position:fixed;z-index:20;top:var(--app-header-top-offset, 48px);left:0;width:100%;max-width:100%;animation:slide-stuck-heading-in 250ms ease-out;background:var(--app-header-stucked-bg, var(--color-surface01));box-shadow:var(--shadow-2);color:var(--app-header-stucked-text-color, var(--color-default-text))}.heading-stuck-content{display:flex;max-width:var(--app-header-content-max-width, 100%);align-items:center;padding:var(--space-unit) var(--grid-margin);margin:0 auto}.heading-stuck .heading-title{--title-font-size:var(--font-size-5);--title-line-height:1.4;overflow:hidden;align-items:center}.heading-stuck .stucked-title{overflow:hidden;font-size:var(--title-font-size);line-height:var(--title-line-height);text-overflow:ellipsis;white-space:nowrap}.drawer-trigger{display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center;padding:0;border:0;margin-right:var(--space-unit);appearance:none;background:none;border-radius:0;color:inherit;cursor:pointer;outline:none}.drawer-trigger:focus:focus-visible z-icon{box-shadow:var(--shadow-focus-primary)}.drawer-trigger z-icon{--z-icon-width:calc(var(--space-unit) * 4);--z-icon-height:calc(var(--space-unit) * 4);fill:var(--color-default-icon)}.drawer-content{display:none}z-offcanvas{--z-offcanvas--top-space:var(--app-header-top-offset)}z-offcanvas[open] .drawer-content{display:flex;width:100%;flex:1 auto;flex-direction:column}z-offcanvas[open] .drawer-content ::slotted(z-menu){width:100%}.drawer-close{--z-icon-width:calc(var(--space-unit) * 4);--z-icon-height:calc(var(--space-unit) * 4);padding:0;border:0;margin:var(--space-unit) 0 calc(var(--space-unit) * 2.5);appearance:none;background:transparent;border-radius:0;cursor:pointer;outline:none}.drawer-close z-icon{fill:var(--color-default-icon)}.drawer-close:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}@media (max-width: 767px){:host([enable-search]) .heading-panel .heading-container{row-gap:calc(var(--space-unit) * 1.5)}}@media (min-width: 768px){.heading-panel{--title-font-size:var(--font-size-9);padding:calc(var(--space-unit) * 1.5) var(--grid-margin) calc(var(--space-unit) * 1.25)}:host([enable-search][search-page-url]) .heading-panel .heading-container{flex-direction:column}.heading-panel .heading-container{flex-direction:column;margin-right:auto}.z-logo img{height:32px}.product-logo{display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center}z-searchbar{width:30%;height:calc(var(--title-font-size) * var(--title-line-height));margin-left:auto}.menu-container{flex:initial}.menu-container>[role=\"menubar\"]{display:contents}:host(:not([enable-offcanvas])) .menu-container{margin-top:calc((var(--space-unit) * 1.75))}:host(:not([enable-offcanvas])) .heading-container .drawer-trigger{display:none}.heading-stuck .heading-title{--title-font-size:var(--font-size-8);--title-line-height:1.5}.heading-stuck-content{padding:6px var(--grid-margin)}:host(:not([enable-offcanvas],[menu-length=\"0\"])){padding-left:0}}@media (min-width: 1152px){z-searchbar{min-width:calc(var(--space-unit) * 45)}}@keyframes slide-stuck-heading-in{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}";
|
|
6
|
+
const stylesCss = ":host{position:relative;display:block;box-shadow:var(--shadow-2)}:host,*{box-sizing:border-box}.heading-panel{--title-line-height:1.333;--title-font-size:var(--font-size-6);position:relative;display:flex;width:100%;max-width:var(--app-header-content-max-width, 100%);flex-direction:column;flex-grow:0;flex-shrink:0;align-items:baseline;padding:calc(var(--space-unit) * 2);margin:0 auto;background:var(--app-header-bg, var(--color-surface01))}:host(:empty) .heading-panel{padding:0}.heading-container{position:relative;z-index:1;display:flex;width:100%;max-width:100%;flex:1 auto;flex-direction:column;justify-content:flex-start}.heading-panel.has-menubar{padding-bottom:0}.heading-panel .heading-container{flex-direction:column-reverse}:host([enable-search]) .heading-panel .heading-container{flex-direction:column}:host([enable-search][search-page-url]) .heading-panel .heading-container{flex-direction:row}.heading-title{display:flex;width:100%;flex-direction:row;align-items:flex-start}.heading-title:not(:last-child){margin-right:var(--space-unit)}.z-logo,.search-page-button{display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center}.z-logo img{height:24px;margin:0 var(--space-unit) 0 0;content:url('data:image/svg+xml,<svg width=\"61\" height=\"32\" viewBox=\"0 0 61 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15.9874 32C7.1595 32 0 24.8349 0 16C0 7.16513 7.1595 0 15.9874 0H45.0126C53.8405 0 61 7.16513 61 16C61 24.8349 53.8405 32 45.0126 32H15.9874Z\" fill=\"%23E2011A\"/><path d=\"M58.5435 15.9992C58.5435 23.4743 52.4892 29.5403 45.0129 29.5403C37.5367 29.5403 31.4824 23.4813 31.4824 15.9992C31.4824 8.51701 37.5367 2.45801 45.0129 2.45801C52.4892 2.45801 58.5435 8.51701 58.5435 15.9992Z\" fill=\"white\"/><path d=\"M40.7107 8.01862H49.8976V11.3158L44.139 21.7077H50.0384V24.6457H39.9785V21.4048L45.7371 10.9636H40.7107V8.01862Z\" fill=\"%23E2011A\"/><path d=\"M12.2914 24.6449C10.982 24.6449 10.271 23.8136 10.271 22.6722V7.04565H12.1718V22.9822H13.981V24.6449H12.2914Z\" fill=\"white\"/><path d=\"M25.6461 24.6448C24.2452 24.6448 23.675 23.7853 23.5342 22.6439H23.4145C22.8935 24.1446 21.5841 24.9266 19.8735 24.9266C17.2828 24.9266 15.7622 23.4964 15.7622 21.2137C15.7622 18.931 17.4236 17.6206 20.9928 17.6206H23.4145V16.4088C23.4145 14.6756 22.4641 13.7245 20.5141 13.7245C19.0428 13.7245 18.0642 14.4361 17.4025 15.5563L16.262 14.4854C16.9308 13.175 18.4021 12.0829 20.6126 12.0829C23.5623 12.0829 25.3152 13.6259 25.3152 16.2186V22.9751H26.7162V24.6378H25.6461V24.6448ZM23.4145 21.0799V19.0578H20.8942C18.733 19.0578 17.7545 19.7272 17.7545 20.9108V21.411C17.7545 22.6228 18.7049 23.3132 20.1762 23.3132C22.0558 23.3132 23.4074 22.341 23.4074 21.0799H23.4145Z\" fill=\"white\"/></svg>')}.product-logo{display:none}.product-logo ::slotted([slot=\"product-logo\"]){width:32px;height:32px;margin-right:var(--space-unit)}.product-logo ::slotted([slot=\"product-logo\"]) img{width:100%;height:100%;object-fit:cover}::slotted([slot=\"title\"]),::slotted([slot=\"stucked-title\"]),.stucked-title{margin:0;color:var(--app-header-text-color, var(--color-default-text));font-family:var(--font-family-serif);font-weight:var(--font-sb)}::slotted([slot=\"title\"]){display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;font-size:var(--title-font-size);-webkit-line-clamp:2;line-clamp:2;line-height:var(--title-line-height);text-overflow:ellipsis}::slotted(a:is([slot=\"title\"],[slot=\"stucked-title\"])){text-decoration:none}:host([enable-search]) ::slotted([slot=\"title\"])+*{margin-left:calc(var(--space-unit) * 2)}:host([enable-offcanvas]:not([menu-length=\"0\"])) .top-subtitle{padding-left:calc(var(--space-unit) * 4 + var(--space-unit))}::slotted([slot=\"top-subtitle\"]){display:-webkit-box;overflow:hidden;max-width:80%;margin:0;-webkit-box-orient:vertical;color:var(--color-default-text);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-style:italic;font-weight:var(--font-rg);-webkit-line-clamp:2;line-clamp:2}.search-page-button{margin-left:auto}.menu-container{display:flex;flex:1 auto;column-gap:calc(var(--space-unit) * 4)}.menu-container:focus:focus-visible{outline:none}:host([menu-length=\"0\"]) .menu-container,.menu-container:empty{display:none}.menu-container ::slotted([open]){position:relative;z-index:3}.menu-container ::slotted([slot=\"menu\"]:not(:last-child))::after{position:absolute;top:calc(1.5em / 2);right:calc(var(--space-unit) * -2);width:var(--border-size-small);height:1em;background-color:currentcolor;content:\"\";font-size:var(--font-size-3);transform:translateY(-50%)}z-searchbar{z-index:0;display:flex;width:100%;align-items:center}.heading-stuck{position:fixed;z-index:20;top:var(--app-header-top-offset, 48px);left:0;width:100%;max-width:100%;animation:slide-stuck-heading-in 250ms ease-out;background:var(--app-header-stucked-bg, var(--color-surface01));box-shadow:var(--shadow-2);color:var(--app-header-stucked-text-color, var(--color-default-text))}.heading-stuck-content{display:flex;max-width:var(--app-header-content-max-width, 100%);align-items:center;padding:var(--space-unit) var(--grid-margin);margin:0 auto}.heading-stuck .heading-title{--title-font-size:var(--font-size-5);--title-line-height:1.4;overflow:hidden;align-items:center}.heading-stuck .stucked-title{overflow:hidden;font-size:var(--title-font-size);line-height:var(--title-line-height);text-overflow:ellipsis;white-space:nowrap}.drawer-trigger{display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center;padding:0;border:0;margin-right:var(--space-unit);appearance:none;background:none;border-radius:0;color:inherit;cursor:pointer;outline:none}.drawer-trigger:focus:focus-visible z-icon{box-shadow:var(--shadow-focus-primary)}.drawer-trigger z-icon{--z-icon-width:calc(var(--space-unit) * 4);--z-icon-height:calc(var(--space-unit) * 4);fill:var(--color-default-icon)}.drawer-content{display:none}z-offcanvas{--z-offcanvas--top-space:var(--app-header-top-offset)}z-offcanvas[open] .drawer-content{display:flex;width:100%;flex:1 auto;flex-direction:column}z-offcanvas[open] .drawer-content ::slotted(z-menu){width:100%}.drawer-close{--z-icon-width:calc(var(--space-unit) * 4);--z-icon-height:calc(var(--space-unit) * 4);padding:0;border:0;margin:var(--space-unit) 0 calc(var(--space-unit) * 2.5);appearance:none;background:transparent;border-radius:0;cursor:pointer;outline:none}.drawer-close z-icon{fill:var(--color-default-icon)}.drawer-close:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}@media (max-width: 767px){:host([enable-search]) .heading-panel .heading-container{row-gap:calc(var(--space-unit) * 1.5)}}@media (min-width: 768px){.heading-panel{--title-font-size:var(--font-size-9);padding:calc(var(--space-unit) * 1.5) var(--grid-margin) calc(var(--space-unit) * 1.25)}:host([enable-search][search-page-url]) .heading-panel .heading-container{flex-direction:column}.heading-panel .heading-container{flex-direction:column;margin-right:auto}.z-logo img{height:32px}.product-logo{display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center}z-searchbar{width:30%;height:calc(var(--title-font-size) * var(--title-line-height));margin-left:auto}.menu-container{flex:initial}.menu-container>[role=\"menubar\"]{display:contents}:host(:not([enable-offcanvas])) .menu-container{margin-top:calc((var(--space-unit) * 1.75))}:host(:not([enable-offcanvas])) .heading-container .drawer-trigger{display:none}.heading-stuck .heading-title{--title-font-size:var(--font-size-8);--title-line-height:1.5}.heading-stuck-content{padding:6px var(--grid-margin)}:host(:not([enable-offcanvas],[menu-length=\"0\"])){padding-left:0}}@media (min-width: 1152px){z-searchbar{min-width:calc(var(--space-unit) * 45)}}@keyframes slide-stuck-heading-in{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}";
|
|
7
7
|
|
|
8
8
|
const SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== "undefined";
|
|
9
9
|
const ZAppHeader = class {
|
|
@@ -249,7 +249,7 @@ const ZAppHeader = class {
|
|
|
249
249
|
}
|
|
250
250
|
render() {
|
|
251
251
|
const hasTopSubtitle = this.hasSlot("top-subtitle");
|
|
252
|
-
return (h(Host, { key: '
|
|
252
|
+
return (h(Host, { key: '5b7118a2f2aceeb8dd523f3514d5e3279ffa5b65', "menu-length": this.menuLength }, h("div", { key: '2d0b9f769636f8119febbc88cb85194d4dc86fea', class: { "heading-panel": true, "has-menubar": this.menuLength > 0 && !this.enableOffcanvas }, ref: (el) => (this.container = el) }, h("div", { key: '29c5d63484289d6edaaf4f0d28b382efea5e58a3', class: "heading-container" }, ((!this.enableSearch && this.isMobile) || !this.isMobile) && (h("div", { key: '4e30176102f7197af4bbeb015b46c4b3ce3045c8', class: "top-subtitle" }, h("slot", { key: '190f26a229b6dc2030fadead848dde3c706cf930', name: "top-subtitle" }))), h("div", { key: '3ac5b57fb62edf2a0a69e373a454529c16610d0b', class: "heading-title" }, this.renderMenuButton(), !hasTopSubtitle && !this._stuck && this.renderProductLogos(), h("slot", { key: '759ef8df1d93f911a11f3e39dcc90da0b62d0573', name: "title" }), this.enableSearch && !this.isMobile && this.renderSeachbar()), this.enableSearch && this.isMobile && this.renderSeachbar()), h("nav", { key: '4d742d71fa66f39098ffbf68a18dcd7daba26774', class: "menu-container", "aria-label": this.title || undefined }, this.canShowMenu && (h("div", { key: 'deb19086d893eeaceacd512803a62780679220e5', role: "menubar", "aria-label": this.title || undefined }, h("slot", { key: 'b08ab1c973b3ee270c8c89c79f9a0be0d6d45dca', name: "menu", onSlotchange: this.collectMenuElements }))))), this.renderOffcanvas(), this._stuck && this.renderStuck()));
|
|
253
253
|
}
|
|
254
254
|
get hostElement() { return getElement(this); }
|
|
255
255
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-b69e88d4.js';
|
|
2
|
-
import { Z as ZAriaAlertMode } from './index-
|
|
2
|
+
import { Z as ZAriaAlertMode } from './index-2f04648d.js';
|
|
3
3
|
|
|
4
4
|
const ZAriaAlert = class {
|
|
5
5
|
constructor(hostRef) {
|
|
@@ -7,7 +7,7 @@ const ZAriaAlert = class {
|
|
|
7
7
|
this.mode = ZAriaAlertMode.POLITE;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'dc1e0e9c0c7647c5a31dca6356c6ab016b2a07cf', "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", { key: '3b1bcd618c4f1b45e2ae7e717a3c7e223d4faec6' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-b69e88d4.js';
|
|
2
|
-
import { b as AvatarSize } from './index-
|
|
2
|
+
import { b as AvatarSize } from './index-2f04648d.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--gray700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";
|
|
5
5
|
|
|
@@ -28,10 +28,10 @@ const ZAvatar = class {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '77ef834dbf6ba1e73562dea4e1011196d8decee4', class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
|
|
32
32
|
color: `var(--${this.textColor})`,
|
|
33
33
|
backgroundColor: `var(--${this.backgroundColor})`,
|
|
34
|
-
} }, this.text && !this.image && h("span", { key: '
|
|
34
|
+
} }, this.text && !this.image && h("span", { key: '41eab447479aa532c45f39aae303d7388928aedf' }, this.text.substring(0, 2)), this.image && (h("img", { key: 'e6ebedad5e2bf6c73107b174dad478ba0dd4c9d2', src: this.image, onError: () => (this.image = "") }))));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
ZAvatar.style = stylesCss;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-b69e88d4.js';
|
|
2
|
+
import { C as ControlSize, e as InfoRevealPosition } from './index-2f04648d.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":host{display:block;width:inherit;min-width:300px;height:inherit;min-height:32px;background-color:var(--color-surface01)}:host>div{display:flex;width:100%;height:100%;box-sizing:border-box;align-items:center;justify-content:space-between;padding:var(--z-book-card-app-padding-y, calc(var(--space-unit) * 1.5))\n var(--z-book-card-app-padding-x, var(--space-unit));gap:calc(var(--space-unit) * 2)}:host>div .app{display:flex;flex:1;align-items:center;gap:var(--space-unit)}:host>div .app.z-link{color:inherit;text-decoration:none}:host>div .app.z-link:focus{text-decoration:none}:host>div .app img{width:24px;height:24px}:host>div .app .name{display:-webkit-box;overflow:hidden;height:20px;-webkit-box-orient:vertical;font-family:var(--font-family-serif);-webkit-line-clamp:1;line-clamp:1;text-overflow:ellipsis;word-break:break-all}:host>div .app .name .laz{color:var(--red500)}:host>div z-info-reveal{--z-info-reveal-panel-width:250px;font-family:var(--font-family-sans);--color-surface05:var(--color-surface01);--color-text-inverse:var(--color-default-text);--color-inverse-icon:var(--color-primary01)}";
|
|
5
|
+
|
|
6
|
+
const ZBookCardApp = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.appClick = createEvent(this, "appClick", 7);
|
|
10
|
+
this.logo = undefined;
|
|
11
|
+
this.name = undefined;
|
|
12
|
+
this.link = undefined;
|
|
13
|
+
this.laz = true;
|
|
14
|
+
this.info = undefined;
|
|
15
|
+
}
|
|
16
|
+
emitAppClick() {
|
|
17
|
+
this.appClick.emit();
|
|
18
|
+
}
|
|
19
|
+
renderLaz() {
|
|
20
|
+
if (this.laz) {
|
|
21
|
+
return h("span", { class: "laz" }, "laZ ");
|
|
22
|
+
}
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
return (h("div", { key: 'e2bac004a35f7e5959ff55345a348d5abb02904f' }, h("a", { key: '42e4a549cf32b1ebe08ab73d79a2d61a3d90e66d', class: "app z-link", href: this.link, "aria-label": `vai a ${this.laz ? "laz" : ""} ${this.name}`, onClick: () => this.emitAppClick(), target: "_blank" }, this.logo && (h("img", { key: '4c7add8e362fc0cc2e6dfac9e705bfd3fa15b85c', src: this.logo, alt: "" })), h("div", { key: 'ce6a811f5688a04a3881612c731edbc02ab76a3f', class: "name body-4-sb" }, this.renderLaz(), this.name)), this.info && (h("z-info-reveal", { key: '5c560813db506113ceb38eb629a95dc98a757920', icon: "info", size: ControlSize.X_SMALL, position: InfoRevealPosition.TOP_RIGHT, class: "info body-5" }, h("div", { key: 'adffe6242bc25944d92e996952afe11ff8888c35' }, this.info))), h("a", { key: '816c5fdc2e3506f7f7b10e3e7bf35d38b1ba4857', class: "z-link z-link-icon", href: this.link, "aria-label": `vai a ${this.laz ? "laz" : ""} ${this.name}`, onClick: () => this.emitAppClick(), target: "_blank" }, h("z-icon", { key: '4ee25aca2744712aa70fba66d0487111acea3776', name: "chevron-right", width: 16, height: 16, fill: "color-primary01-icon" }))));
|
|
27
|
+
}
|
|
28
|
+
get hostElement() { return getElement(this); }
|
|
29
|
+
};
|
|
30
|
+
ZBookCardApp.style = stylesCss;
|
|
31
|
+
|
|
32
|
+
export { ZBookCardApp as z_book_card_app };
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-b69e88d4.js';
|
|
2
|
+
import { f as BookCardDeprecatedVariant } from './index-2f04648d.js';
|
|
3
|
+
import { B as Breakpoints } from './breakpoints-9229197d.js';
|
|
4
|
+
import { r as randomId } from './utils-aa5e2546.js';
|
|
5
|
+
|
|
6
|
+
const stylesCss = ":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-text-link-blue);cursor:pointer;fill:var(--color-text-link-blue);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}}";
|
|
7
|
+
|
|
8
|
+
const ZBookCardDeprecated = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.ribbonClick = createEvent(this, "ribbonClick", 7);
|
|
12
|
+
this.variant = undefined;
|
|
13
|
+
this.cover = undefined;
|
|
14
|
+
this.operaTitle = undefined;
|
|
15
|
+
this.volumeTitle = undefined;
|
|
16
|
+
this.authors = undefined;
|
|
17
|
+
this.isbn = undefined;
|
|
18
|
+
this.isbnLabel = "";
|
|
19
|
+
this.ribbon = undefined;
|
|
20
|
+
this.ribbonIcon = undefined;
|
|
21
|
+
this.ribbonInteractive = undefined;
|
|
22
|
+
this.borderless = undefined;
|
|
23
|
+
this.fallbackCover = undefined;
|
|
24
|
+
this.operaTitleTag = undefined;
|
|
25
|
+
this.isMobile = false;
|
|
26
|
+
this.hasResources = false;
|
|
27
|
+
this.showResources = false;
|
|
28
|
+
}
|
|
29
|
+
emitRibbonClick() {
|
|
30
|
+
this.ribbonClick.emit();
|
|
31
|
+
}
|
|
32
|
+
componentWillLoad() {
|
|
33
|
+
this.id = `id-${randomId()}`;
|
|
34
|
+
const mobileMediaQuery = window.matchMedia(`(max-width: ${Breakpoints.MOBILE}px)`);
|
|
35
|
+
this.isMobile = mobileMediaQuery.matches;
|
|
36
|
+
mobileMediaQuery.onchange = (mql) => (this.isMobile = mql.matches);
|
|
37
|
+
}
|
|
38
|
+
componentDidLoad() {
|
|
39
|
+
this.handleResources();
|
|
40
|
+
}
|
|
41
|
+
handleResources() {
|
|
42
|
+
var _a;
|
|
43
|
+
if (this.variant !== BookCardDeprecatedVariant.EXPANDED || !this.isMobile) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
this.hasResources = ((_a = this.hostElement.querySelectorAll("[slot=resources]")) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
47
|
+
}
|
|
48
|
+
toggleResources() {
|
|
49
|
+
this.showResources = !this.showResources;
|
|
50
|
+
}
|
|
51
|
+
renderCard() {
|
|
52
|
+
switch (this.variant) {
|
|
53
|
+
case BookCardDeprecatedVariant.EXPANDED:
|
|
54
|
+
return this.isMobile ? this.renderMobileExpandedCard() : this.renderExpandedCard();
|
|
55
|
+
case BookCardDeprecatedVariant.COMPACT:
|
|
56
|
+
return this.renderCompactCard();
|
|
57
|
+
case BookCardDeprecatedVariant.SEARCH:
|
|
58
|
+
return this.renderSearchCard();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
renderExpandedCard() {
|
|
62
|
+
return (h("div", { class: "wrapper" }, this.renderCover(), h("div", { class: "content" }, h("div", { class: "top" }, h("div", { class: "info" }, h("div", { class: "left" }, this.renderAuthors(), this.renderOperaTitle(), this.renderVolumeTitle(), this.renderIsbn()), h("div", { class: "right" }, this.renderHeaderCtaSlot())), this.renderTagsSlot()), h("div", { class: "bottom" }, this.renderResourcesSlot()))));
|
|
63
|
+
}
|
|
64
|
+
renderMobileExpandedCard() {
|
|
65
|
+
return (h("div", { class: "wrapper" }, h("div", { class: "header" }, this.renderOperaTitle(), this.renderHeaderCtaSlot()), this.renderCover(), h("div", { class: "content" }, this.renderTagsSlot(), this.renderAuthors(), this.renderVolumeTitle(), this.renderIsbn()), this.hasResources && (h("div", { class: {
|
|
66
|
+
footer: true,
|
|
67
|
+
open: this.showResources,
|
|
68
|
+
close: !this.showResources,
|
|
69
|
+
} }, !this.showResources && this.renderShowResources(), this.renderResourcesSlot(), this.showResources && this.renderShowResources()))));
|
|
70
|
+
}
|
|
71
|
+
renderSearchCard() {
|
|
72
|
+
return (h("div", { class: "wrapper-container" }, h("div", { class: "wrapper" }, h("div", { class: "header" }, this.renderOperaTitle(), this.renderHeaderCtaSlot()), this.renderCover(), h("div", { class: "content" }, this.renderTagsSlot(), this.renderAuthors(), this.renderVolumeTitle(), this.renderIsbn())), this.renderFooterCtaSlot()));
|
|
73
|
+
}
|
|
74
|
+
renderCompactCard() {
|
|
75
|
+
return (h("div", { class: "wrapper" }, this.renderCover(), h("div", { class: "content" }, this.renderAuthors(), this.renderOperaTitle(), this.renderVolumeTitle(), this.renderIsbn()), this.renderFooterCtaSlot()));
|
|
76
|
+
}
|
|
77
|
+
renderCover() {
|
|
78
|
+
return (h("div", { class: "cover" }, this.ribbon && this.variant !== BookCardDeprecatedVariant.COMPACT && this.renderRibbon(), h("div", { class: "img-wrapper" }, h("img", { src: this.cover, onError: () => {
|
|
79
|
+
if (this.fallbackCover) {
|
|
80
|
+
this.cover = this.fallbackCover;
|
|
81
|
+
}
|
|
82
|
+
}, "aria-hidden": "true" }))));
|
|
83
|
+
}
|
|
84
|
+
renderRibbon() {
|
|
85
|
+
const content = [
|
|
86
|
+
this.ribbonIcon && (h("z-icon", { name: this.ribbonIcon, width: 16, height: 16, fill: "color-inverse-icon" })),
|
|
87
|
+
h("span", null, this.ribbon),
|
|
88
|
+
];
|
|
89
|
+
return this.ribbonInteractive ? (h("button", { class: "ribbon interactive", onClick: () => this.emitRibbonClick() }, content)) : (h("div", { class: "ribbon" }, content));
|
|
90
|
+
}
|
|
91
|
+
renderOperaTitle() {
|
|
92
|
+
const title = this.operaTitleTag
|
|
93
|
+
? `<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`
|
|
94
|
+
: this.operaTitle;
|
|
95
|
+
return (h("div", { class: "title", innerHTML: title }));
|
|
96
|
+
}
|
|
97
|
+
renderVolumeTitle() {
|
|
98
|
+
return this.volumeTitle ? h("div", { class: "subtitle" }, this.volumeTitle) : null;
|
|
99
|
+
}
|
|
100
|
+
renderAuthors() {
|
|
101
|
+
return this.authors ? (h("div", { class: "authors", "aria-description": "Autori" }, this.authors)) : null;
|
|
102
|
+
}
|
|
103
|
+
renderIsbn() {
|
|
104
|
+
return this.isbn ? (h("div", { class: "isbn" }, h("span", { class: "code", "aria-description": `ISBN ${this.isbnLabel}` }, this.isbn), this.isbnLabel ? h("span", { class: "label" }, " ", this.isbnLabel) : null)) : null;
|
|
105
|
+
}
|
|
106
|
+
renderShowResources() {
|
|
107
|
+
return (h("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", h("z-icon", { name: this.showResources ? "chevron-up" : "chevron-down" })));
|
|
108
|
+
}
|
|
109
|
+
renderTagsSlot() {
|
|
110
|
+
return (h("div", { class: "tags" }, h("slot", { name: "tags" })));
|
|
111
|
+
}
|
|
112
|
+
renderHeaderCtaSlot() {
|
|
113
|
+
return h("slot", { name: "header-cta" });
|
|
114
|
+
}
|
|
115
|
+
renderResourcesSlot() {
|
|
116
|
+
return (h("div", { id: `resources-${this.id}`, class: "resources" }, h("slot", { name: "resources", onSlotchange: () => this.handleResources() })));
|
|
117
|
+
}
|
|
118
|
+
renderFooterCtaSlot() {
|
|
119
|
+
return (h("div", { class: "action-container" }, h("slot", { name: "footer-cta" })));
|
|
120
|
+
}
|
|
121
|
+
render() {
|
|
122
|
+
return (h("article", { key: 'a2248d9206aec07d317dddb8cb8d6061eccc7a53', class: {
|
|
123
|
+
[this.variant]: true,
|
|
124
|
+
borderless: !!this.borderless,
|
|
125
|
+
} }, this.renderCard()));
|
|
126
|
+
}
|
|
127
|
+
get hostElement() { return getElement(this); }
|
|
128
|
+
};
|
|
129
|
+
ZBookCardDeprecated.style = stylesCss;
|
|
130
|
+
|
|
131
|
+
export { ZBookCardDeprecated as z_book_card_deprecated };
|