@zanichelli/delta_share 4.0.0 → 4.1.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/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 +27 -20
- 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-form/license-activation-form.css +2 -2
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +1 -1
- package/dist/wc/custom-elements/index.js +445 -266
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- 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-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-eab0941b.entry.js +3 -0
- 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 +27 -20
- 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/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
|
@@ -3,132 +3,118 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-48ad79ef.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const breakpoints = require('./breakpoints-7770f79c.js');
|
|
8
|
-
const utils = require('./utils-ff107ab4.js');
|
|
6
|
+
const index$1 = require('./index-f043c44c.js');
|
|
9
7
|
|
|
10
|
-
const stylesCss = ":host{
|
|
8
|
+
const stylesCss = ":host{display:block;max-width:fit-content;border-radius:var(--border-radius)}:host>article{width:304px;min-height:686px;box-sizing:border-box;padding:var(--space-unit) 0;border:solid var(--border-size-medium) var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);color:var(--color-default-text);font-family:var(--font-family-sans)}:host>article .main-content{display:flex;flex-direction:column;gap:calc(var(--space-unit) * 2)}:host>article .main-content .cover{display:flex;overflow:hidden;height:378px;margin:0 var(--space-unit);border-radius:var(--border-radius)}:host>article .main-content .cover img{max-width:100%;max-height:100%;align-self:end}:host>article .main-content .card-info{display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:calc(var(--space-unit) * 2)}:host>article .main-content .card-info .book-data{display:flex;flex:1;flex-direction:column;justify-content:space-between;margin:0 var(--space-unit);gap:var(--space-unit)}:host>article .main-content .card-info .book-data .authors-title-cta-section{display:grid;column-gap:var(--space-unit);grid-template-areas:\"authors authors\"\n \"title cta\";grid-template-columns:auto 24px}:host>article .main-content .card-info .book-data .authors-title-cta-section .authors{display:-webkit-box;overflow:hidden;height:20px;margin-bottom:calc(var(--space-unit) / 2);-webkit-box-orient:vertical;grid-area:authors;-webkit-line-clamp:1;line-clamp:1;text-overflow:ellipsis;word-break:break-all}:host>article .main-content .card-info .book-data .authors-title-cta-section .opera-title{display:-webkit-box;overflow:hidden;height:54px;-webkit-box-orient:vertical;grid-area:title;-webkit-line-clamp:2;line-clamp:2;text-overflow:ellipsis}:host>article .main-content .card-info .book-data .authors-title-cta-section .opera-title *{all:unset}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section{margin-bottom:var(--space-unit)}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .volume-title{display:-webkit-box;overflow:hidden;height:20px;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;text-overflow:ellipsis;word-break:break-all}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .isbn{display:-webkit-box;overflow:hidden;height:20px;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;text-overflow:ellipsis;word-break:break-all}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .tags{display:flex;overflow:hidden;height:22px;flex-flow:wrap;align-items:center;padding:var(--space-unit);margin:calc(calc(var(--space-unit) / 2) * -1) calc(var(--space-unit) * -1) 0;gap:var(--space-unit)}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .tags z-tag.active{--z-tag-bg:var(--color-primary03);--z-tag-text-color:var(--color-default-text)}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .tags z-tag.disabled{--z-tag-bg:var(--color-surface03);--z-tag-text-color:var(--color-default-text)}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .tags z-tag.interactive{cursor:pointer}:host>article .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .tags z-tag:focus{box-shadow:var(--shadow-focus-primary);outline:none}:host>article .main-content .card-info .book-data .isbn-tags-link-section .link-section{display:flex;height:24px;align-items:center;justify-content:space-between;gap:var(--space-unit)}:host>article .main-content .card-info .book-data .isbn-tags-link-section .link-section .adoption-tag{padding:calc(var(--space-unit) / 2) var(--space-unit);background-color:var(--green100);border-radius:100px;text-transform:uppercase}:host>article .main-content .card-info .ebook-container{height:64px}:host>article .main-content .card-info .ebook-container .ebook{display:flex;align-items:center;justify-content:space-between;padding:calc(var(--space-unit) * 2) var(--space-unit);background-color:var(--color-primary02);border-radius:var(--border-radius);gap:var(--space-unit)}:host>article .main-content .card-info .ebook-container .ebook .app-name{display:flex;align-items:center;padding:calc(var(--space-unit) / 2) 0;font-family:var(--font-family-serif);gap:calc(var(--space-unit) / 2)}:host>article .main-content .card-info .ebook-container .ebook .app-name .ebook-logo{content:url(\"data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22 fill=%22none%22 aria-hidden=%22true%22%3E%3Cg clip-path=%22url(%23clip0_11996_224)%22%3E%3Cpath d=%22M14.6644 0.469604H5.00141C2.33305 0.469604 0.169922 2.63274 0.169922 5.3011V14.9641C0.169922 17.6324 2.33305 19.7956 5.00141 19.7956H14.6644C17.3328 19.7956 19.4959 17.6324 19.4959 14.9641V5.3011C19.4959 2.63274 17.3328 0.469604 14.6644 0.469604Z%22 fill=%22%23E2011A%22/%3E%3Cpath d=%22M15.9523 13.3536H12.7313C11.6861 13.3536 10.6683 13.6934 9.83241 14.3199C8.99657 13.6934 7.97873 13.3536 6.93352 13.3536H3.71252V5.30115H6.93352C7.97873 5.30115 8.99657 5.64096 9.83241 6.26745C10.6683 5.64096 11.6861 5.30115 12.7313 5.30115H15.9523V13.3536Z%22 fill=%22white%22/%3E%3Cpath d=%22M15.9523 14.3201H3.71252V14.9643H15.9523V14.3201Z%22 fill=%22black%22/%3E%3Cpath d=%22M8.22229 10.732V8.24543C8.22229 7.97165 8.51057 7.79449 8.75375 7.91689L11.2404 9.16019C11.5109 9.29548 11.5109 9.682 11.2404 9.81728L8.75375 11.0606C8.50896 11.183 8.22229 11.0058 8.22229 10.732Z%22 fill=%22black%22/%3E%3Cpath d=%22M4.35704 7.87826C5.42438 7.87826 6.28963 7.013 6.28963 5.94566C6.28963 4.87831 5.42438 4.01306 4.35704 4.01306C3.28969 4.01306 2.42444 4.87831 2.42444 5.94566C2.42444 7.013 3.28969 7.87826 4.35704 7.87826Z%22 fill=%22black%22/%3E%3Cpath d=%22M5.6454 5.62354H3.0686V6.26773H5.6454V5.62354Z%22 fill=%22white%22/%3E%3Cpath d=%22M4.67917 4.65723H4.03497V7.23402H4.67917V4.65723Z%22 fill=%22white%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id=%22clip0_11996_224%22%3E%3Crect width=%2219.326%22 height=%2219.326%22 fill=%22white%22 transform=%22translate(0.169922 0.469604)%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E\")}:host>article .main-content .card-info .ebook-container .ebook .app-name .laz{color:var(--red500)}::slotted([slot=\"cta\"]){grid-area:cta}:host>article.landscape{width:635px;min-height:332px;max-height:428px;padding:0}:host>article.landscape .main-content{height:296px;flex-direction:row;padding:calc(var(--space-unit) * 2)}:host>article.landscape .main-content .cover{display:flex;overflow:hidden;width:221px;height:auto;margin:0}:host>article.landscape .main-content .card-info .book-data{margin:0;gap:unset}:host>article.landscape .main-content .card-info .book-data .authors-title-cta-section{column-gap:calc(var(--space-unit) * 2);grid-template-areas:\"authors cta\"\n \"title title\"}:host>article.landscape .main-content .card-info .book-data .isbn-tags-link-section .isbn-tags-section .tags{margin:calc(calc(var(--space-unit) / 2) * -1) calc(var(--space-unit) * -1)}:host>article.landscape .main-content .card-info .ebook-container{height:76px}:host>article.landscape .main-content .card-info .ebook-container .ebook{padding:var(--space-unit)}";
|
|
11
9
|
|
|
12
10
|
const ZBookCard = class {
|
|
13
11
|
constructor(hostRef) {
|
|
14
12
|
index.registerInstance(this, hostRef);
|
|
15
|
-
this.
|
|
16
|
-
this.
|
|
13
|
+
this.tagClick = index.createEvent(this, "tagClick", 7);
|
|
14
|
+
this.catalogClick = index.createEvent(this, "catalogClick", 7);
|
|
15
|
+
this.ebookClick = index.createEvent(this, "ebookClick", 7);
|
|
16
|
+
this.immersiveReaderClick = index.createEvent(this, "immersiveReaderClick", 7);
|
|
17
|
+
this.variant = index$1.BookCardVariant.PORTRAIT;
|
|
17
18
|
this.cover = undefined;
|
|
19
|
+
this.authors = undefined;
|
|
18
20
|
this.operaTitle = undefined;
|
|
19
21
|
this.volumeTitle = undefined;
|
|
20
|
-
this.authors = undefined;
|
|
21
22
|
this.isbn = undefined;
|
|
22
23
|
this.isbnLabel = "";
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
24
|
+
this.edi = undefined;
|
|
25
|
+
this.annotated = undefined;
|
|
26
|
+
this.teacherVersion = undefined;
|
|
27
|
+
this.adoption = false;
|
|
28
|
+
this.catalogUrl = undefined;
|
|
29
|
+
this.ebookUrl = undefined;
|
|
27
30
|
this.fallbackCover = undefined;
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
31
|
+
this.operaTitleHtmlTag = undefined;
|
|
32
|
+
this.ediTag = undefined;
|
|
33
|
+
this.annotatedTag = undefined;
|
|
34
|
+
this.teacherVersionTag = undefined;
|
|
32
35
|
}
|
|
33
|
-
|
|
34
|
-
this.
|
|
36
|
+
watchEdi() {
|
|
37
|
+
this.ediTag = typeof this.edi === "string" ? JSON.parse(this.edi) : this.edi;
|
|
35
38
|
}
|
|
36
|
-
|
|
37
|
-
this.
|
|
38
|
-
const mobileMediaQuery = window.matchMedia(`(max-width: ${breakpoints.Breakpoints.MOBILE}px)`);
|
|
39
|
-
this.isMobile = mobileMediaQuery.matches;
|
|
40
|
-
mobileMediaQuery.onchange = (mql) => (this.isMobile = mql.matches);
|
|
39
|
+
watchAnnotated() {
|
|
40
|
+
this.annotatedTag = typeof this.annotated === "string" ? JSON.parse(this.annotated) : this.annotated;
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
this.
|
|
42
|
+
watchTeacherVersion() {
|
|
43
|
+
this.teacherVersionTag =
|
|
44
|
+
typeof this.teacherVersion === "string" ? JSON.parse(this.teacherVersion) : this.teacherVersion;
|
|
44
45
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
this.hasResources = ((_a = this.hostElement.querySelectorAll("[slot=resources]")) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
51
|
-
}
|
|
52
|
-
toggleResources() {
|
|
53
|
-
this.showResources = !this.showResources;
|
|
46
|
+
componentWillLoad() {
|
|
47
|
+
this.watchEdi();
|
|
48
|
+
this.watchAnnotated();
|
|
49
|
+
this.watchTeacherVersion();
|
|
54
50
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
case index$1.BookCardVariant.EXPANDED:
|
|
58
|
-
return this.isMobile ? this.renderMobileExpandedCard() : this.renderExpandedCard();
|
|
59
|
-
case index$1.BookCardVariant.COMPACT:
|
|
60
|
-
return this.renderCompactCard();
|
|
61
|
-
case index$1.BookCardVariant.SEARCH:
|
|
62
|
-
return this.renderSearchCard();
|
|
63
|
-
}
|
|
51
|
+
emitTagClick(e) {
|
|
52
|
+
this.tagClick.emit(e);
|
|
64
53
|
}
|
|
65
|
-
|
|
66
|
-
|
|
54
|
+
emitCatalogClick() {
|
|
55
|
+
this.catalogClick.emit();
|
|
67
56
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
footer: true,
|
|
71
|
-
open: this.showResources,
|
|
72
|
-
close: !this.showResources,
|
|
73
|
-
} }, !this.showResources && this.renderShowResources(), this.renderResourcesSlot(), this.showResources && this.renderShowResources()))));
|
|
57
|
+
emitEbookClick() {
|
|
58
|
+
this.ebookClick.emit();
|
|
74
59
|
}
|
|
75
|
-
|
|
76
|
-
|
|
60
|
+
emitImmersiveReaderClick() {
|
|
61
|
+
this.immersiveReaderClick.emit();
|
|
77
62
|
}
|
|
78
|
-
|
|
79
|
-
|
|
63
|
+
renderOperaTitle() {
|
|
64
|
+
const title = this.operaTitleHtmlTag
|
|
65
|
+
? `<${this.operaTitleHtmlTag}>${this.operaTitle}</${this.operaTitleHtmlTag}>`
|
|
66
|
+
: this.operaTitle;
|
|
67
|
+
return (index.h("div", { class: "opera-title body-2-sb", innerHTML: title }));
|
|
68
|
+
}
|
|
69
|
+
renderIsbnLabel() {
|
|
70
|
+
return this.isbnLabel ? index.h("span", { class: "body-4" }, this.isbnLabel) : null;
|
|
71
|
+
}
|
|
72
|
+
renderTag(label, tag, id) {
|
|
73
|
+
return (index.h("z-tag", { class: { [tag.status]: true, interactive: tag.interactive }, role: tag.interactive ? "button" : undefined, tabIndex: tag.interactive ? 0 : undefined, onClick: () => tag.interactive &&
|
|
74
|
+
this.emitTagClick({
|
|
75
|
+
tag: id,
|
|
76
|
+
state: tag.status,
|
|
77
|
+
}), onKeyUp: (e) => tag.interactive &&
|
|
78
|
+
e.key === "Enter" &&
|
|
79
|
+
this.emitTagClick({
|
|
80
|
+
tag: id,
|
|
81
|
+
state: tag.status,
|
|
82
|
+
}) }, label));
|
|
83
|
+
}
|
|
84
|
+
renderTags() {
|
|
85
|
+
const tags = [];
|
|
86
|
+
if (this.edi && Object.values(index$1.BookCardTagStatus).includes(this.ediTag.status)) {
|
|
87
|
+
tags.push(this.renderTag("edi", this.ediTag, "edi"));
|
|
88
|
+
}
|
|
89
|
+
if (this.annotated && Object.values(index$1.BookCardTagStatus).includes(this.annotatedTag.status)) {
|
|
90
|
+
tags.push(this.renderTag("annotata", this.annotatedTag, "annotated"));
|
|
91
|
+
}
|
|
92
|
+
if (this.teacherVersion && Object.values(index$1.BookCardTagStatus).includes(this.teacherVersionTag.status)) {
|
|
93
|
+
tags.push(this.renderTag("versione insegnante", this.teacherVersionTag, "teacherVersion"));
|
|
94
|
+
}
|
|
95
|
+
if (tags.length > 0) {
|
|
96
|
+
return tags;
|
|
97
|
+
}
|
|
98
|
+
return null;
|
|
80
99
|
}
|
|
81
100
|
renderCover() {
|
|
82
|
-
return (index.h("div", { class: "cover" },
|
|
101
|
+
return (index.h("div", { class: "cover" }, index.h("img", { src: this.cover, onError: () => {
|
|
83
102
|
if (this.fallbackCover) {
|
|
84
103
|
this.cover = this.fallbackCover;
|
|
85
104
|
}
|
|
86
|
-
}, "aria-hidden": "true" })))
|
|
87
|
-
}
|
|
88
|
-
renderRibbon() {
|
|
89
|
-
const content = [
|
|
90
|
-
this.ribbonIcon && (index.h("z-icon", { name: this.ribbonIcon, width: 16, height: 16, fill: "color-inverse-icon" })),
|
|
91
|
-
index.h("span", null, this.ribbon),
|
|
92
|
-
];
|
|
93
|
-
return this.ribbonInteractive ? (index.h("button", { class: "ribbon interactive", onClick: () => this.emitRibbonClick() }, content)) : (index.h("div", { class: "ribbon" }, content));
|
|
94
|
-
}
|
|
95
|
-
renderOperaTitle() {
|
|
96
|
-
const title = this.operaTitleTag
|
|
97
|
-
? `<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`
|
|
98
|
-
: this.operaTitle;
|
|
99
|
-
return (index.h("div", { class: "title", innerHTML: title }));
|
|
100
|
-
}
|
|
101
|
-
renderVolumeTitle() {
|
|
102
|
-
return this.volumeTitle ? index.h("div", { class: "subtitle" }, this.volumeTitle) : null;
|
|
103
|
-
}
|
|
104
|
-
renderAuthors() {
|
|
105
|
-
return this.authors ? (index.h("div", { class: "authors", "aria-description": "Autori" }, this.authors)) : null;
|
|
106
|
-
}
|
|
107
|
-
renderIsbn() {
|
|
108
|
-
return this.isbn ? (index.h("div", { class: "isbn" }, index.h("span", { class: "code", "aria-description": `ISBN ${this.isbnLabel}` }, this.isbn), this.isbnLabel ? index.h("span", { class: "label" }, " ", this.isbnLabel) : null)) : null;
|
|
109
|
-
}
|
|
110
|
-
renderShowResources() {
|
|
111
|
-
return (index.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", index.h("z-icon", { name: this.showResources ? "chevron-up" : "chevron-down" })));
|
|
112
|
-
}
|
|
113
|
-
renderTagsSlot() {
|
|
114
|
-
return (index.h("div", { class: "tags" }, index.h("slot", { name: "tags" })));
|
|
115
|
-
}
|
|
116
|
-
renderHeaderCtaSlot() {
|
|
117
|
-
return index.h("slot", { name: "header-cta" });
|
|
118
|
-
}
|
|
119
|
-
renderResourcesSlot() {
|
|
120
|
-
return (index.h("div", { id: `resources-${this.id}`, class: "resources" }, index.h("slot", { name: "resources", onSlotchange: () => this.handleResources() })));
|
|
121
|
-
}
|
|
122
|
-
renderFooterCtaSlot() {
|
|
123
|
-
return (index.h("div", { class: "action-container" }, index.h("slot", { name: "footer-cta" })));
|
|
105
|
+
}, "aria-hidden": "true" })));
|
|
124
106
|
}
|
|
125
107
|
render() {
|
|
126
|
-
return (index.h("article", { key: '
|
|
108
|
+
return (index.h("article", { key: 'a2b8d8a72f3868b6e846e552aa6b48012334b15b', class: {
|
|
127
109
|
[this.variant]: true,
|
|
128
|
-
|
|
129
|
-
} }, this.renderCard()));
|
|
110
|
+
} }, index.h("div", { key: '24c08d9d84dc669395b1c255f6730a7a9d536886', class: "main-content" }, this.renderCover(), index.h("div", { key: '91389d7afb5971377c098cf8fb2dee3c870e870c', class: "card-info" }, index.h("div", { key: '3802460d92d4324c032ec3de0b978ce346b46827', class: "book-data" }, index.h("div", { key: 'e901801f93e778721b5def9c2cea89e4ae86a500', class: "authors-title-cta-section" }, index.h("div", { key: '44367ab6d0cdbe447133018b5dc3a6b77c6a6a51', class: "authors body-4", "aria-description": "autori" }, this.authors), this.renderOperaTitle(), index.h("slot", { key: '50b0ac7e8dfbc13601e9e89077b8f42345af6633', name: "cta" })), index.h("div", { key: '8a537e6ceb34a39ff9b0c2402e0d0a8ca09fda36', class: "isbn-tags-link-section" }, index.h("div", { key: '8fe9ab44fe6023b1c4239a0df7af05b93d9e6684', class: "isbn-tags-section" }, index.h("div", { key: '718d0984d6b8b856e784ba910327a91b160b915e', class: "volume-title body-4" }, this.volumeTitle), index.h("div", { key: 'db66e0b7d648cae395ed29eb010d568a181f5544', class: "isbn body-4-sb", "aria-description": `isbn ${this.isbnLabel}` }, this.isbn, " ", this.renderIsbnLabel()), index.h("div", { key: '70aeccbe9e186547b4b750a99e5509c2efa927d4', class: "tags" }, this.renderTags())), index.h("div", { key: '6764f5d95bf2ebf570087bb625bbda046578549a', class: "link-section" }, index.h("div", { key: '07bca683d50d1c8982b1904f856b37acbb2a94bd', class: "catalog-link" }, this.catalogUrl && (index.h("a", { key: '6faca33c8d1f2173135105befc9b4fbee5855c52', href: this.catalogUrl, target: "_blank", class: "z-link z-link-blue z-link-icon body-4-sb", onClick: () => this.emitCatalogClick() }, "Scheda catalogo", index.h("z-icon", { key: '22cddd865dddf80e9a650a607ce6d64ca6d948f9', name: "arrow-quad-north-east", height: 16, width: 16, fill: "color-primary01-icon" })))), this.adoption && index.h("div", { key: '995c42cf714d22b150e8e02a6268cef1d3574541', class: "adoption-tag body-5-sb" }, "adottato")))), index.h("div", { key: '6fc66aefd3283743ec694bada263ffd8983b7eb8', class: "ebook-container" }, index.h("slot", { key: 'd9abf1a8dc88aaea97f71c549494e659429ee8a2', name: "ebook" }, this.ebookUrl && (index.h("div", { key: '908353624cc50d5c8aea7e8c57f99e377a179fca', class: "ebook" }, index.h("div", { key: 'f0958bbf194b6fb6feed8fcc6ab9505706d15010' }, index.h("div", { key: '3db12530a458250e7307fd9d33eb48e1f3cc8d18', class: "app-name" }, index.h("img", { key: 'ada52e2efaa84e29e8ba790572a88ee3b4b23166', class: "ebook-logo", "aria-hidden": "true" }), index.h("div", { key: '9c56a0a269f6b41486ea4e88482f2e160a381f47', class: "body-4-sb" }, index.h("span", { key: 'db6def7b5672dc9877711e275ebee9a8fece0e82', class: "laz" }, "laZ"), " Ebook")), this.variant === index$1.BookCardVariant.LANDSCAPE && (index.h("div", { key: '5daa3a7f9a261c189387e13d6b41d8bbb5db4c63', class: "body-5" }, "Anche nella versione libro liquido con", " ", index.h("button", { key: '1e5359de3842dd1d609aef58b7dfa9d64ca13692', class: "body-5-sb immersive-reader z-link", onClick: () => this.emitImmersiveReaderClick(), tabIndex: 0 }, "strumento di lettura immersiva")))), index.h("z-button", { key: 'b4f8f376351891c9ff4ef1ee13f6afb26e24713d', size: index$1.ControlSize.X_SMALL, href: this.ebookUrl, target: "_blank", onClick: () => this.emitEbookClick(), role: "link", "aria-description": `leggi l'ebook ${this.operaTitle} su laZ Ebook` }, "leggi ebook"))))))), index.h("slot", { key: '98f64442f263ad3bb1f596d87194b78dc091e782', name: "apps" })));
|
|
130
111
|
}
|
|
131
112
|
get hostElement() { return index.getElement(this); }
|
|
113
|
+
static get watchers() { return {
|
|
114
|
+
"edi": ["watchEdi"],
|
|
115
|
+
"annotated": ["watchAnnotated"],
|
|
116
|
+
"teacherVersion": ["watchTeacherVersion"]
|
|
117
|
+
}; }
|
|
132
118
|
};
|
|
133
119
|
ZBookCard.style = stylesCss;
|
|
134
120
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-48ad79ef.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
6
|
+
const index$1 = require('./index-f043c44c.js');
|
|
7
|
+
const utils = require('./utils-19feebcd.js');
|
|
8
8
|
require('./breakpoints-7770f79c.js');
|
|
9
9
|
|
|
10
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--line-clamp-popover:0;--line-clamp-mobile:1}*{box-sizing:border-box}button{padding:0;border:none;margin:0;background-color:transparent}nav{display:flex;align-items:center}ol{display:flex;align-items:center;padding:0;margin:0;column-gap:var(--space-unit);list-style:none}li{display:flex;align-items:center;justify-content:flex-start;column-gap:var(--space-unit)}ol li>a,ol li>button{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}a:focus,button:focus{box-shadow:var(--shadow-focus-primary);outline:none}a{color:var(--color-link-
|
|
10
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--line-clamp-popover:0;--line-clamp-mobile:1}*{box-sizing:border-box}button{padding:0;border:none;margin:0;background-color:transparent}nav{display:flex;align-items:center}ol{display:flex;align-items:center;padding:0;margin:0;column-gap:var(--space-unit);list-style:none}li{display:flex;align-items:center;justify-content:flex-start;column-gap:var(--space-unit)}ol li>a,ol li>button{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}a:focus,button:focus{box-shadow:var(--shadow-focus-primary);outline:none}a{color:var(--color-text-link-blue);white-space:nowrap}a.missing-path{color:var(--color-default-text)}.text-ellipsis{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:var(--line-clamp-mobile);text-overflow:ellipsis;white-space:initial}nav.semibold>ol>li>a:not(.missing-path),nav.semibold>ol>li>button{font-weight:var(--font-sb);text-decoration:none}nav.underlined a,nav.underlined button{text-decoration:underline}z-icon{--z-icon-width:16px;--z-icon-height:16px;display:block;fill:var(--color-text-link-blue)}z-icon.separator{--z-icon-width:10px;--z-icon-height:10px;fill:var(--gray500)}button.dots{display:inline-block;color:var(--color-text-link-blue);cursor:pointer}.hidden-paths-popover .popover-content{max-width:302px;padding:calc(var(--space-unit) / 2) var(--space-unit);text-align:left}.hidden-paths-popover .popover-content a{font-weight:var(--font-rg);text-decoration:none}.hidden-paths-popover{--z-popover-theme--surface:var(--color-background);--z-popover-padding:0}.hidden-paths-popover::before,.full-path-tooltip::before{--arrow-edge-offset:calc(100% - (var(--space-unit) * 2.55))}.full-path-tooltip{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse);--z-popover-padding:0}.tooltip-content{padding:0 var(--space-unit);font-size:var(--font-size-2)}@media (min-width: 768px){.text-ellipsis{-webkit-line-clamp:var(--line-clamp-popover)}}@media (max-width: 767px){li a{display:flex;align-items:center;column-gap:var(--space-unit)}}";
|
|
11
11
|
|
|
12
12
|
const ZBreadcrumb = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -203,10 +203,10 @@ const ZBreadcrumb = class {
|
|
|
203
203
|
];
|
|
204
204
|
}
|
|
205
205
|
render() {
|
|
206
|
-
return (index.h(index.Host, { key: '
|
|
206
|
+
return (index.h(index.Host, { key: '3d0996a611fe483de9a015c3ac5b25b06d5e302c', style: { "--line-clamp-popover": `${this.overflowMenuItemRows}` } }, index.h("nav", { key: '8c45a561fcdebb6c7685010dc7105b6c756025e1', ref: (val) => (this.wrapElement = val), "aria-label": "Breadcrumb", class: {
|
|
207
207
|
semibold: this.pathStyle === index$1.BreadcrumbPathStyle.SEMIBOLD,
|
|
208
208
|
underlined: this.pathStyle === index$1.BreadcrumbPathStyle.UNDERLINED,
|
|
209
|
-
} }, index.h("ol", { key: '
|
|
209
|
+
} }, index.h("ol", { key: '5cbdbcb8a14a471ae6dbad1d5d7eeb4ca3c8482b' }, this.viewPortWidth === index$1.Device.MOBILE ? this.renderMobileItems() : this.renderItems()))));
|
|
210
210
|
}
|
|
211
211
|
get hostElement() { return index.getElement(this); }
|
|
212
212
|
static get watchers() { return {
|
|
@@ -45,7 +45,7 @@ const ZButtonSort = class {
|
|
|
45
45
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (index.h("button", { key: '
|
|
48
|
+
return (index.h("button", { key: '6f2fdeea8f8d8c233d6b06ce6a77a550ca003c43', title: this.setButtonTitle(), id: this.buttonid, class: { selected: this.isselected }, onClick: () => this.emitButtonSortClick() }, index.h("span", { key: '2b73a9480490742c954d9f9319a035092e857313', ref: (el) => (this.ellipsis = el), class: "ellipsis" }, !this.sortasc && this.desclabel ? this.desclabel : this.label), index.h("span", { key: 'ffabdef711dfc8489d816c34fd7c52254ac8c89f', class: "counter" }, this.counter && ` (${this.counter})`), index.h("span", { key: '7086a8caa5146d54b93affa0d901dbb60248d64b', class: "sort" }, this.sortasc ? this.sortlabelasc : this.sortlabeldesc), index.h("z-icon", { key: '17d0cce1ca76cc916bf8ff2af67570b755d5a12d', name: "caret-up-down", width: 16, height: 16 })));
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
ZButtonSort.style = stylesCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-48ad79ef.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-f043c44c.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{--aspect-ratio:1.62;--z-card--border-color:var(--gray200);--z-card--color-cover-background:var(--color-surface01);--z-card--text-background:var(--color-surface01);--z-card--text-border-radius:none;--z-card--text-border:none;--z-card--text-padding:calc(var(--space-unit) * 2) var(--space-unit);position:relative;display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}*,::slotted(*){box-sizing:border-box}*:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host(:not([variant=\"overlay\"])) .cover-container{position:relative;width:100%}.cover-container{padding-bottom:calc(100% / var(--aspect-ratio))}::slotted([slot=\"cover\"]),.color-cover{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.cover-container>z-icon{--z-icon-width:calc(var(--space-unit) * 11);--z-icon-height:var(--z-icon-width);position:absolute;top:calc(50% - calc(var(--z-icon-height) / 2));left:calc(50% - calc(var(--z-icon-width) / 2));fill:var(--color-primary01)}.color-cover{background-color:var(--z-card--color-cover-background)}.content{display:flex;flex-direction:column;padding-top:var(--space-unit)}.color-cover .cover-content{display:flex;height:100%;flex-direction:column;justify-content:flex-end;padding:var(--space-unit)}::slotted([slot=\"metadata\"]),::slotted([slot=\"title\"]),::slotted([slot=\"text\"]){display:-webkit-inline-box;overflow:hidden;-webkit-box-orient:vertical}::slotted([slot=\"title\"]:not(:last-child)),::slotted([slot=\"text\"]:not(:last-child)){margin-bottom:var(--space-unit)}::slotted([slot=\"title\"])::before{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;content:\"\"}::slotted([slot=\"metadata\"]:not(:last-child)){margin:0 0 calc(var(--space-unit) * 0.25);-webkit-line-clamp:1;line-clamp:1;text-transform:uppercase}::slotted([slot=\"title\"]){margin:0;color:inherit;font-size:inherit;font-weight:var(--font-sb);-webkit-line-clamp:2;line-clamp:2;text-decoration:none}::slotted([slot=\"title\"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary);outline:none}::slotted([slot=\"text\"]){margin:0;-webkit-line-clamp:3;line-clamp:3}.actions{position:relative;z-index:2;display:flex;flex-direction:row;align-items:center}::slotted([slot=\"action\"]:not(:last-child)){margin-right:calc(var(--space-unit) * 2)}::slotted([slot=\"action\"]:focus){box-shadow:var(--shadow-focus-primary);outline:none !important}:host([clickable]) ::slotted([slot=\"title\"]:focus:focus-visible)::before{box-shadow:var(--shadow-focus-primary)}:host([clickable]) ::slotted([slot=\"title\"]:focus:focus-visible){box-shadow:none !important;outline:none !important}:host([variant=\"text\"]){border:var(--z-card--text-border);background-color:var(--z-card--text-background);border-radius:var(--z-card--text-border-radius)}:host([show-shadow])>.content,:host([variant=\"border\"])>.content,:host([variant=\"shadow\"])>.content{height:100%;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2)}:host([variant=\"text\"])>.content{padding:var(--z-card--text-padding)}:host([variant=\"border\"]) .actions,:host([variant=\"shadow\"]) .actions{margin-top:auto}:host([variant=\"border\"]){border:var(--border-size-small) solid var(--z-card--border-color)}:host([variant=\"border\"][clickable]:hover)>.content{background:var(--color-background)}:host([variant=\"border\"][clickable]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant=\"border\"][clickable]:active){border-color:transparent}:host([variant=\"shadow\"]),:host([show-shadow]){box-shadow:var(--shadow-2)}:host([variant=\"shadow\"][clickable]:hover),:host([clickable][show-shadow]:hover){box-shadow:var(--shadow-4)}:host([variant=\"shadow\"][clickable]:focus:focus-visible),:host([clickable][show-shadow]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant=\"shadow\"][clickable]:active),:host([clickable][show-shadow]:active){box-shadow:none}:host([variant=\"overlay\"]) .content{position:absolute;top:0;right:0;bottom:0;left:0;justify-content:flex-end;padding:var(--space-unit);background-image:linear-gradient(to top, rgb(0 0 0 / 100%), rgb(0 0 0 / 0%));color:var(--color-text-inverse);fill:var(--color-text-inverse)}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-48ad79ef.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-f043c44c.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-carousel-gutter:0;}:host([single]){display:flex;flex-direction:column;align-items:center;justify-content:center}:host([single]) .z-carousel-container{width:fit-content;max-width:100%}.z-carousel-container{display:flex;flex-direction:column}.z-carousel-title{margin-bottom:calc(var(--space-unit) * 2)}.z-carousel-wrapper{position:relative}.z-carousel-items-container{display:flex;max-width:100%;flex-direction:row;margin:0;box-shadow:var(--z-carousel-items-shadow, none);column-gap:var(--z-carousel-gutter);list-style:none;-ms-overflow-style:none;overflow-x:scroll;padding-inline-start:0;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;}.z-carousel-items-container::-webkit-scrollbar{display:none}.z-carousel-items-container ::slotted(*){scroll-snap-align:center}.z-carousel-navigation-arrow[hidden]{display:none}.z-carousel-navigation-arrow[data-direction]{position:absolute;z-index:1;bottom:50%;transform:translateY(50%)}.z-carousel-navigation-arrow[data-direction=\"next\"]{right:0}:host(:not([fixed-arrows])) .z-carousel-wrapper .z-carousel-navigation-arrow{display:none}.z-carousel-footer{display:flex;flex-direction:row;align-items:center;justify-content:center;column-gap:calc(var(--space-unit) * 3)}:host([arrows-position=\"bottom\"]) .z-carousel-footer{margin-top:calc(var(--space-unit) * 0.75)}.z-carousel-footer .numbers-progress,.z-carousel-footer .dots-progress{display:flex;align-items:center;justify-content:center}.z-carousel-footer .dots-progress{column-gap:calc(var(--space-unit) * 3)}:host(:not([arrows-position=\"bottom\"])) .z-carousel-footer .dots-progress{margin-top:calc(var(--space-unit) * 2)}.z-carousel-footer .dots-progress button{display:flex;width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3);align-items:center;padding:0;border:none;margin:0;background-color:var(--color-surface03);border-radius:calc(var(--space-unit) * 3)}.z-carousel-footer .dots-progress button.current{background-color:var(--color-primary01)}.z-carousel-footer .dots-progress button:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.z-carousel-footer .dots-progress button:not(.current){cursor:pointer}.z-carousel-footer .numbers-progress{column-gap:calc(var(--space-unit) / 2)}:host(:not([arrows-position=\"bottom\"])) .z-carousel-footer .numbers-progress{margin-top:var(--space-unit)}.z-carousel-footer .numbers-progress .current{font-weight:var(--font-sb)}@media (min-width: 768px){:host(:not([fixed-arrows])) .z-carousel-wrapper:hover .z-carousel-navigation-arrow:not([hidden]){display:flex}}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-48ad79ef.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-f043c44c.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ".sc-z-chip-h>.z-chip-container.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--gray400);background-color:var(--color-surface01);border-radius:14px;color:var(--color-default-text);fill:var(--color-default-text);font-family:var(--font-family-sans);font-size:14px;line-height:28px}.sc-z-chip-h>.z-chip-interactive.sc-z-chip{font-weight:var(--font-sb)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip{padding:0;border:none;margin-left:var(--space-unit);background-color:transparent;cursor:pointer}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip:first-child{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]):hover>z-icon.sc-z-chip:first-child{fill:var(--color-default-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{fill:var(--color-primary01)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]) .interactive-icon.sc-z-chip:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip,.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip z-icon.sc-z-chip{color:var(--color-disabled03);cursor:auto;fill:var(--color-disabled03)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip:focus:focus-visible{border-radius:100%;box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:not([disabled]):active:hover .interactive-icon.sc-z-chip{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:22px;--z-icon-height:22px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media (min-width: 1152px){.sc-z-chip-h>.z-chip-container.sc-z-chip{font-size:12px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:14px;--z-icon-height:14px}}";
|
|
9
9
|
|
|
@@ -18,11 +18,11 @@ const ZChip = class {
|
|
|
18
18
|
this.ariaLabel = "";
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (index.h("div", { key: '
|
|
21
|
+
return (index.h("div", { key: 'fcd35190df7a13ddacf41430d0b47ab6484110a9', class: {
|
|
22
22
|
"z-chip-container": true,
|
|
23
23
|
"z-chip-interactive": !!this.interactiveIcon,
|
|
24
24
|
[this.type]: true,
|
|
25
|
-
}, "aria-disabled": this.disabled }, this.icon && index.h("z-icon", { key: '
|
|
25
|
+
}, "aria-disabled": this.disabled }, this.icon && index.h("z-icon", { key: 'd9eb68585be8533bb44ba769b34fa8a7163e17fc', name: this.icon }), index.h("slot", { key: '7ae9a9993086e2dc0489806bbc79bae8b0db20f7' }), this.interactiveIcon && (index.h("button", { key: 'e02544ca3661c6527a915bfdaa6578c64d284b6f', type: "button", onClick: () => this.interactiveIconClick.emit(), "aria-label": this.ariaLabel, disabled: this.disabled }, index.h("z-icon", { key: '844d3269ee9f2c0206a4aec3554a4b6581351f10', class: "interactive-icon", name: this.interactiveIcon })))));
|
|
26
26
|
}
|
|
27
27
|
get el() { return index.getElement(this); }
|
|
28
28
|
};
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-48ad79ef.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
6
|
+
const index$1 = require('./index-f043c44c.js');
|
|
7
|
+
const utils = require('./utils-19feebcd.js');
|
|
8
8
|
require('./breakpoints-7770f79c.js');
|
|
9
9
|
|
|
10
|
-
const stylesCss = ":host{display:block;font-family:var(--font-family-sans)}:host>div.fixed{position:relative}:host>div>.header{position:relative;z-index:10;display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--color-surface04);margin:0;background-color:var(--color-
|
|
10
|
+
const stylesCss = ":host{display:block;font-family:var(--font-family-sans)}:host>div.fixed{position:relative}:host>div>.header{position:relative;z-index:10;display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--color-surface04);margin:0;background-color:var(--color-form-background);border-radius:var(--border-radius-small);cursor:pointer}:host([size=\"small\"])>div>.header{min-height:34px;font-size:var(--font-size-2)}:host([size=\"x-small\"])>div>.header{min-height:30px;font-size:var(--font-size-2)}:host([size=\"x-small\"])>div>.header p.body-3{padding:calc(var(--space-unit) * 0.5) 0}:host>div>.header:hover{outline:var(--border-size-medium) solid var(--color-surface04);outline-offset:-2px}:host>div>div.header:focus:focus-visible{z-index:16;box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>p.body-3{padding:var(--space-unit) 0;margin:0;color:var(--color-default-text)}:host>div>.header>p.body-3>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--color-default-icon);transform:rotate(360deg);transition:all 200ms linear}:host>div>.header>z-icon.small,:host>div>.header>z-icon.x-small{--z-icon-width:16px;--z-icon-height:16px}:host>div.open>.header{border:var(--border-size-small) solid var(--color-primary01);border-radius:var(--border-radius-small) var(--border-radius-small) 0 0}:host>div.disabled{pointer-events:none}:host>div.disabled .header{border-color:var(--color-disabled01);fill:var(--color-disabled01)}:host>div.disabled .header>p.body-3{color:var(--color-disabled03)}:host>div.disabled .header>z-icon:last-child{fill:var(--color-disabled01)}:host>div.open>.header>z-icon{fill:var(--color-default-icon);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.open-combo-data{position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--gray200);border-top:0;background-color:var(--color-form-background);border-radius:0}:host>div.open>div.open-combo-data>div>div{overflow:auto;max-height:235px;padding:0;scrollbar-color:var(--color-primary01) transparent}:host>div.open>div.open-combo-data>z-input{width:100%;margin-bottom:calc(var(--space-unit) * 2)}:host>div.open>div.open-combo-data>div>div>ul{max-height:235px;padding:0 3px;margin:0}::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01)}:host>div.open>z-input{position:relative;z-index:1;width:238px;margin:0 calc(var(--space-unit) * 2);color:var(--color-primary01)}:host>div.open>div.open-combo-data>div>div.search{overflow:hidden;max-height:auto;margin-top:0;box-shadow:1px 1px 4px 2px rgb(217 222 227 / 50%)}:host>div.open>div.open-combo-data>div>div.search>ul{overflow:auto;max-height:180px;padding:var(--space-unit) calc(var(--space-unit) * 2);scrollbar-color:var(--color-primary01) transparent}:host>div.open>div.open-combo-data>div>div.search>div{display:flex;justify-content:center}:host>div.open>div.open-combo-data>div>div.search>div>a{display:inline-block;height:44px;color:var(--color-primary01);cursor:pointer;font-size:14px;font-weight:var(--font-sb);line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.open-combo-data>div>div.search>div>a:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host>div.open>div.open-combo-data>div>div.check-all-wrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--gray800);margin-bottom:var(--space-unit);text-align:left}:host([size=\"small\"])>div.open>div.open-combo-data>div>div.check-all-wrapper{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 0.5)}:host([size=\"x-small\"])>div.open>div.open-combo-data>div>div.check-all-wrapper{padding:var(--space-unit) calc(var(--space-unit) * 0.5)}";
|
|
11
11
|
|
|
12
12
|
const ZCombobox = class {
|
|
13
13
|
watchItems() {
|
|
@@ -261,7 +261,7 @@ const ZCombobox = class {
|
|
|
261
261
|
return (index.h("div", { class: "check-all-wrapper" }, index.h("z-input", { type: index$1.InputType.CHECKBOX, checked: allChecked, htmlid: checkAllId, class: this.getCheckboxClass(), label: allChecked ? this.uncheckalltext : this.checkalltext, disabled: this.maxcheckableitems && this.maxcheckableitems < this.itemsList.length, size: this.size === index$1.ControlSize.X_SMALL ? index$1.ControlSize.SMALL : this.size, role: "option", "aria-selected": allChecked ? "true" : "false", onKeyDown: (e) => this.handleSelectArrowsNavigation(e, checkAllId), onInputCheck: (e) => this.checkAll(e.detail.checked), onInputFocus: (e) => this.handleCheckboxFocus(e.detail.id) })));
|
|
262
262
|
}
|
|
263
263
|
render() {
|
|
264
|
-
return (index.h("div", { key: '
|
|
264
|
+
return (index.h("div", { key: '69b13355a675561cb0748a743e7509f8b944615e', "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed, disabled: this.disabled }, id: this.inputid }, this.renderHeader(), !this.disabled && this.renderContent()));
|
|
265
265
|
}
|
|
266
266
|
get element() { return index.getElement(this); }
|
|
267
267
|
static get watchers() { return {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-48ad79ef.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-f043c44c.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{--cover-hero-overlay:linear-gradient(270deg, #0000 0%, #000000e6 100%);--cover-hero-text-color:var(--color-text-inverse);display:block;overflow:hidden}:host,*{box-sizing:border-box}:host .main-container{position:relative;width:100%;align-items:baseline}:host .content-container{color:var(--cover-hero-text-color);fill:var(--cover-hero-text-color)}:host .main-container .cover-container{position:relative;width:100%;padding-top:calc(100% / (var(--cover-hero-aspect-ratio, var(--image-aspect-ratio, 16/9))));background-color:var(--gray600)}::slotted([slot=\"cover\"]){position:absolute;display:block;width:100%;height:100%;inset:0;object-fit:cover;object-position:top center}::slotted(z-info-reveal){position:absolute;z-index:1;right:var(--grid-margin);bottom:var(--grid-margin)}:host([variant=\"overlay\"]:not([preserve-aspect-ratio=\"\"],[preserve-aspect-ratio=\"true\"])) .main-container{height:100%}:host([variant=\"overlay\"]:not([preserve-aspect-ratio=\"\"],[preserve-aspect-ratio=\"true\"])) .main-container .cover-container{position:absolute;z-index:-1;height:100%;padding:0}:host([variant=\"overlay\"]) .main-container .cover-container::after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--cover-hero-overlay);content:\"\"}:host([variant=\"overlay\"]:is([preserve-aspect-ratio=\"\"],[preserve-aspect-ratio=\"true\"])) .main-container .content-container{position:absolute;inset:0}:host([variant=\"overlay\"]) .main-container .content-container{height:100%;padding:var(--grid-margin)}:host([variant=\"stacked\"]){--cover-hero-text-color:var(--color-default-text)}:host([variant=\"stacked\"]) .content-container ::slotted(*){padding:var(--grid-margin) 0}";
|
|
9
9
|
|
|
@@ -32,9 +32,9 @@ const ZCoverHero = class {
|
|
|
32
32
|
return (index.h("div", { class: "content-container" }, index.h("slot", { name: "content" })));
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (index.h(index.Host, { key: '
|
|
35
|
+
return (index.h(index.Host, { key: '15c2c9a401700c3503e74f74637c2cbf3b474805' }, this.variant === index$1.CoverHeroVariant.STACKED &&
|
|
36
36
|
this.contentPosition === index$1.CoverHeroContentPosition.TOP &&
|
|
37
|
-
this.renderContent(), index.h("div", { key: '
|
|
37
|
+
this.renderContent(), index.h("div", { key: '269c88ee41679ea7730c202f4ca927a1868c5506', class: "main-container" }, index.h("div", { key: '67b039d0ba87fdb8a3520035104d9c6263ca5dc1', class: "cover-container" }, index.h("slot", { key: '3c330cafa143f57e9b4d6615d966c4d62cedd9c8', name: "cover" })), index.h("slot", { key: 'c092503e4d24f52535182e570edb67428d7a8aa9', name: "info-reveal" }), this.variant === index$1.CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === index$1.CoverHeroVariant.STACKED &&
|
|
38
38
|
this.contentPosition === index$1.CoverHeroContentPosition.BOTTOM &&
|
|
39
39
|
this.renderContent()));
|
|
40
40
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-48ad79ef.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-e18cc609.js');
|
|
7
7
|
const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
8
|
+
const index$1 = require('./index-f043c44c.js');
|
|
9
9
|
|
|
10
10
|
var monthSelect = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
11
11
|
(function (global, factory) {
|
|
@@ -461,7 +461,7 @@ const ZDatePicker = class {
|
|
|
461
461
|
} })));
|
|
462
462
|
}
|
|
463
463
|
render() {
|
|
464
|
-
return (index.h("div", { key: '
|
|
464
|
+
return (index.h("div", { key: '5008fbf943acb8f5ad3575646938266579d59e90', class: {
|
|
465
465
|
"flatpickr-toggle-container": true,
|
|
466
466
|
[this.flatpickrPosition]: true,
|
|
467
467
|
[this.mode]: true,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-48ad79ef.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-f043c44c.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ".sc-z-divider-h{display:block;padding:0;margin:0}.divider-horizontal.sc-z-divider-h{width:100%}.divider-vertical.sc-z-divider-h{height:100%}.divider-small.divider-horizontal.sc-z-divider-h{height:var(--border-size-small)}.divider-medium.divider-horizontal.sc-z-divider-h{height:var(--border-size-medium)}.divider-large.divider-horizontal.sc-z-divider-h{height:var(--border-size-large)}.divider-small.divider-vertical.sc-z-divider-h{width:var(--border-size-small)}.divider-medium.divider-vertical.sc-z-divider-h{width:var(--border-size-medium)}.divider-large.divider-vertical.sc-z-divider-h{width:var(--border-size-large)}";
|
|
9
9
|
|
|
@@ -15,7 +15,7 @@ const ZDivider = class {
|
|
|
15
15
|
this.orientation = index$1.DividerOrientation.HORIZONTAL;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (index.h(index.Host, { key: '
|
|
18
|
+
return (index.h(index.Host, { key: '78cfa2818529a8e9b9895a0a3d98df31850534dd', class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
ZDivider.style = stylesCss;
|
|
@@ -4,33 +4,29 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-48ad79ef.js');
|
|
6
6
|
|
|
7
|
-
const stylesCss = ":host{
|
|
7
|
+
const stylesCss = ":host{position:relative;display:flex;width:772px;max-width:100%;height:232px;flex-direction:column;align-items:center;padding:calc(var(--space-unit) * 3);background-color:var(--color-surface02);background-image:repeating-linear-gradient(\n 0deg,\n var(--color-surface03),\n var(--color-surface03) 12px,\n transparent 12px,\n transparent 20px\n ),\n repeating-linear-gradient(\n 90deg,\n var(--color-surface03),\n var(--color-surface03) 12px,\n transparent 12px,\n transparent 20px\n ),\n repeating-linear-gradient(\n 180deg,\n var(--color-surface03),\n var(--color-surface03) 12px,\n transparent 12px,\n transparent 20px\n ),\n repeating-linear-gradient(\n 270deg,\n var(--color-surface03),\n var(--color-surface03) 12px,\n transparent 12px,\n transparent 20px\n );background-position:0 0,\n 0 0,\n 100% 0,\n 0 100%;background-repeat:no-repeat;background-size:2px 100%,\n 100% 2px,\n 2px 100%,\n 100% 2px;border-radius:var(--border-radius-small);color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,*{box-sizing:border-box}:host(.dragover) *{pointer-events:none}.dragover-container{position:absolute;z-index:1;top:0;left:0;display:none;width:100%;height:100%;background-color:var(--color-primary03);box-shadow:var(--shadow-focus-primary)}:host(.dragover) .dragover-container{display:flex;align-items:center;justify-content:center}";
|
|
8
8
|
|
|
9
9
|
const ZDragdropArea = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.fileDropped = index.createEvent(this, "fileDropped", 7);
|
|
13
13
|
this.dragAndDropLabel = undefined;
|
|
14
|
+
this.dragging = false;
|
|
14
15
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
onDrop(e) {
|
|
17
|
+
e.preventDefault();
|
|
18
|
+
this.dragging = false;
|
|
19
|
+
if (e.dataTransfer.files.length) {
|
|
20
|
+
this.fileDropped.emit(e.dataTransfer.files);
|
|
21
|
+
}
|
|
20
22
|
}
|
|
21
23
|
render() {
|
|
22
|
-
return (index.h(
|
|
24
|
+
return (index.h(index.Host, { key: '5dd259e74cca7c7fa1278d9cdc11062efaaf34b2', class: { dragover: this.dragging }, onDragOver: (e) => {
|
|
23
25
|
e.preventDefault();
|
|
24
|
-
this.
|
|
26
|
+
this.dragging = true;
|
|
25
27
|
}, onDragLeave: () => {
|
|
26
|
-
this.
|
|
27
|
-
}, onDrop: (
|
|
28
|
-
e.preventDefault();
|
|
29
|
-
if (e.dataTransfer.files.length) {
|
|
30
|
-
this.dragDropContainer.classList.remove("dragover");
|
|
31
|
-
this.fileDroppedHandler(e.dataTransfer.files);
|
|
32
|
-
}
|
|
33
|
-
} }, this.renderOnDragOverMessage(), index.h("slot", { key: '45848602ab9f4c3318f506386d174cf8ec2fc84b' })));
|
|
28
|
+
this.dragging = false;
|
|
29
|
+
}, onDrop: this.onDrop.bind(this) }, index.h("div", { key: '2c8607ad99edd4ad3a59b9b2511222b4fced829d', class: "dragover-container" }, index.h("z-button", { key: '8cc6efce06a0df6d5473d2a6e1920e1e38952906' }, this.dragAndDropLabel)), index.h("slot", { key: '969e228a60b69c7eed7f287c3a5b35b8e82bbe07' })));
|
|
34
30
|
}
|
|
35
31
|
};
|
|
36
32
|
ZDragdropArea.style = stylesCss;
|