@zanichelli/delta_share 2.0.13 → 2.0.15
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/icons-9d7fe21e.js +751 -0
- package/dist/wc/cjs/index-1112cdb1.js +311 -0
- package/dist/wc/cjs/{license-activation_13.cjs.entry.js → license-activation_11.cjs.entry.js} +193 -143
- package/dist/wc/cjs/loader.cjs.js +1 -1
- package/dist/wc/cjs/utils-2bfaab77.js +2706 -0
- package/dist/wc/cjs/{utils-8a10bba9.js → utils-3ac19501.js} +9 -10
- package/dist/wc/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-anchor-navigation.cjs.entry.js +53 -0
- package/dist/wc/cjs/z-app-header.cjs.entry.js +21 -19
- package/dist/wc/cjs/z-app-switcher.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-aria-alert.cjs.entry.js +3 -2
- package/dist/wc/cjs/z-avatar.cjs.entry.js +8 -7
- package/dist/wc/cjs/z-body.cjs.entry.js +18 -0
- package/dist/wc/cjs/z-button-sort.cjs.entry.js +4 -5
- package/dist/wc/cjs/z-card.cjs.entry.js +15 -18
- package/dist/wc/cjs/z-carousel.cjs.entry.js +126 -4
- package/dist/wc/cjs/z-chip.cjs.entry.js +6 -6
- package/dist/wc/cjs/z-combobox.cjs.entry.js +66 -37
- package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +13 -7
- package/dist/wc/cjs/z-cover-hero.cjs.entry.js +40 -0
- package/dist/wc/cjs/z-date-picker.cjs.entry.js +104 -2731
- package/dist/wc/cjs/z-divider.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-dragdrop-area.cjs.entry.js +37 -0
- package/dist/wc/cjs/z-file-upload.cjs.entry.js +50 -37
- package/dist/wc/cjs/z-file.cjs.entry.js +11 -10
- package/dist/wc/cjs/z-ghost-loading.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-heading.cjs.entry.js +18 -0
- package/dist/wc/cjs/z-info-reveal.cjs.entry.js +65 -0
- package/dist/wc/cjs/z-list_3.cjs.entry.js +261 -0
- package/dist/wc/cjs/z-logo.cjs.entry.js +2 -4
- package/dist/wc/cjs/z-menu-section.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-menu.cjs.entry.js +9 -12
- package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +6 -6
- package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +7 -7
- package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +3 -3
- 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 +10 -9
- package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +3 -1
- package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +26 -16
- package/dist/wc/cjs/z-myz-card-list.cjs.entry.js +3 -2
- package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +17 -13
- package/dist/wc/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-myz-list.cjs.entry.js +35 -0
- package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +10 -10
- package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +11 -11
- package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +20 -20
- package/dist/wc/cjs/z-notification.cjs.entry.js +2 -7
- package/dist/wc/cjs/z-offcanvas.cjs.entry.js +21 -14
- package/dist/wc/cjs/z-otp.cjs.entry.js +17 -17
- package/dist/wc/cjs/z-pagination.cjs.entry.js +14 -14
- package/dist/wc/cjs/z-panel-elem.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-pocket-message.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-pocket_3.cjs.entry.js +18 -18
- package/dist/wc/cjs/z-popover.cjs.entry.js +293 -98
- package/dist/wc/cjs/z-range-picker.cjs.entry.js +343 -0
- package/dist/wc/cjs/z-searchbar.cjs.entry.js +235 -0
- package/dist/wc/cjs/z-section-title.cjs.entry.js +4 -13
- package/dist/wc/cjs/z-select.cjs.entry.js +325 -0
- package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +18 -20
- package/dist/wc/cjs/z-slideshow.cjs.entry.js +28 -11
- package/dist/wc/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-stepper.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-cell.cjs.entry.js +10 -10
- package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +5 -6
- package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-table-header-row.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-table-header.cjs.entry.js +20 -26
- package/dist/wc/cjs/z-table-row.cjs.entry.js +9 -9
- package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table.cjs.entry.js +7 -9
- package/dist/wc/cjs/z-tag.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +16 -16
- package/dist/wc/cjs/z-toast-notification.cjs.entry.js +37 -40
- package/dist/wc/cjs/z-toggle-button.cjs.entry.js +7 -9
- package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +18 -16
- package/dist/wc/cjs/z-tooltip.cjs.entry.js +8 -251
- package/dist/wc/cjs/z-typography.cjs.entry.js +30 -0
- package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/wc/collection/collection-manifest.json +5 -20
- package/dist/wc/collection/components/license-activation-form/license-activation-form.css +2 -1
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +11 -6
- package/dist/wc/collection/components/license-activation-modal/license-activation-modal.js +4 -13
- package/dist/wc/custom-elements/index.js +3401 -3332
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- package/dist/wc/delta_share/{p-cfc122de.entry.js → p-0434c900.entry.js} +1 -1
- package/dist/wc/delta_share/p-063881e2.entry.js +1 -0
- package/dist/wc/delta_share/p-0667e9cd.entry.js +1 -0
- package/dist/wc/delta_share/p-0aa553ea.entry.js +1 -0
- package/dist/wc/delta_share/p-0bb97b61.js +1 -0
- package/dist/wc/delta_share/p-0bff6d57.entry.js +1 -0
- package/dist/wc/delta_share/p-1009b417.entry.js +1 -0
- package/dist/wc/delta_share/p-1c2d7c30.entry.js +1 -0
- package/dist/wc/delta_share/p-1d2cb6f9.entry.js +1 -0
- package/dist/wc/delta_share/p-23905d08.entry.js +1 -0
- package/dist/wc/delta_share/p-29310a24.entry.js +1 -0
- package/dist/wc/delta_share/p-2f289949.entry.js +1 -0
- package/dist/wc/delta_share/p-3cf0c6a5.entry.js +1 -0
- package/dist/wc/delta_share/p-3fa29874.entry.js +1 -0
- package/dist/wc/delta_share/p-42dd4f36.entry.js +1 -0
- package/dist/wc/delta_share/p-42e9c740.entry.js +1 -0
- package/dist/wc/delta_share/p-45dcece4.entry.js +1 -0
- package/dist/wc/delta_share/p-4eb940ca.entry.js +1 -0
- package/dist/wc/delta_share/p-500ff0dd.entry.js +1 -0
- package/dist/wc/delta_share/p-5530ca81.entry.js +1 -0
- package/dist/wc/delta_share/p-578f4d61.entry.js +1 -0
- package/dist/wc/delta_share/p-57f2b8d8.entry.js +1 -0
- package/dist/wc/delta_share/p-5e503d5f.entry.js +1 -0
- package/dist/wc/delta_share/{p-43ae8e0a.entry.js → p-61264c72.entry.js} +1 -1
- package/dist/wc/delta_share/p-64decd7d.entry.js +1 -0
- package/dist/wc/delta_share/p-65be6de6.entry.js +1 -0
- package/dist/wc/delta_share/p-6c54d53f.entry.js +1 -0
- package/dist/wc/delta_share/p-6cb8def6.entry.js +1 -0
- package/dist/wc/delta_share/p-6d853df0.entry.js +1 -0
- package/dist/wc/delta_share/{p-6a39042b.entry.js → p-702dd7b4.entry.js} +1 -1
- package/dist/wc/delta_share/p-74b71f61.entry.js +1 -0
- package/dist/wc/delta_share/p-7546c464.entry.js +1 -0
- package/dist/wc/delta_share/p-78d71789.js +1 -0
- package/dist/wc/delta_share/{p-91a4ef35.js → p-7ae0c21f.js} +1 -1
- package/dist/wc/delta_share/p-81ddcb87.entry.js +1 -0
- package/dist/wc/delta_share/p-829539a5.entry.js +1 -0
- package/dist/wc/delta_share/p-8710e686.entry.js +1 -0
- package/dist/wc/delta_share/p-8794c0c7.entry.js +1 -0
- package/dist/wc/delta_share/p-8825d8e4.entry.js +1 -0
- package/dist/wc/delta_share/p-8876b438.entry.js +16 -0
- package/dist/wc/delta_share/p-8cc7c2c7.entry.js +1 -0
- package/dist/wc/delta_share/{p-06543221.entry.js → p-8d532866.entry.js} +1 -1
- package/dist/wc/delta_share/{p-cccef23b.entry.js → p-8d91a5b7.entry.js} +1 -1
- package/dist/wc/delta_share/p-90fdd23f.entry.js +1 -0
- package/dist/wc/delta_share/p-925fc6c3.entry.js +1 -0
- package/dist/wc/delta_share/p-950aa417.entry.js +1 -0
- package/dist/wc/delta_share/p-963999a8.entry.js +1 -0
- package/dist/wc/delta_share/p-963f64a8.entry.js +1 -0
- package/dist/wc/delta_share/p-99ffd017.entry.js +1 -0
- package/dist/wc/delta_share/{p-94df01a9.entry.js → p-9ad5616e.entry.js} +1 -1
- package/dist/wc/delta_share/p-9e5596cd.entry.js +1 -0
- package/dist/wc/delta_share/p-a2b564ef.entry.js +1 -0
- package/dist/wc/delta_share/{p-06b89fb4.entry.js → p-a64544de.entry.js} +1 -1
- package/dist/wc/delta_share/p-a6b403f9.entry.js +1 -0
- package/dist/wc/delta_share/p-a77930ad.entry.js +3 -0
- package/dist/wc/delta_share/{p-e7932e20.entry.js → p-a815651c.entry.js} +1 -1
- package/dist/wc/delta_share/p-afb5bfe5.entry.js +1 -0
- package/dist/wc/delta_share/p-b16fd965.entry.js +1 -0
- package/dist/wc/delta_share/p-b38b27f2.entry.js +1 -0
- package/dist/wc/delta_share/{p-dec6ab35.entry.js → p-bc10cf1a.entry.js} +1 -1
- package/dist/wc/delta_share/p-bcb29c7a.entry.js +1 -0
- package/dist/wc/delta_share/p-be7f8da0.entry.js +1 -0
- package/dist/wc/delta_share/p-c229c90e.entry.js +1 -0
- package/dist/wc/delta_share/p-c31b160e.entry.js +1 -0
- package/dist/wc/delta_share/p-c436e1af.entry.js +1 -0
- package/dist/wc/delta_share/p-c51ebb01.entry.js +1 -0
- package/dist/wc/delta_share/p-c885d25c.entry.js +1 -0
- package/dist/wc/delta_share/p-c9df8e5d.entry.js +1 -0
- package/dist/wc/delta_share/p-cb16715b.entry.js +1 -0
- package/dist/wc/delta_share/p-cf58d833.js +1 -0
- package/dist/wc/delta_share/p-d586adfc.entry.js +1 -0
- package/dist/wc/delta_share/{p-91af6142.entry.js → p-d69c3b08.entry.js} +1 -1
- package/dist/wc/delta_share/p-d8e80ee8.entry.js +1 -0
- package/dist/wc/delta_share/p-ddab353c.entry.js +1 -0
- package/dist/wc/delta_share/p-ea6c67f2.entry.js +1 -0
- package/dist/wc/delta_share/p-ee0a8f1f.entry.js +1 -0
- package/dist/wc/delta_share/p-fc49c455.entry.js +1 -0
- package/dist/wc/esm/delta_share.js +1 -1
- package/dist/wc/esm/icons-7a34b033.js +749 -0
- package/dist/wc/esm/index-4f1e2705.js +311 -0
- package/dist/wc/esm/{license-activation_13.entry.js → license-activation_11.entry.js} +194 -142
- package/dist/wc/esm/loader.js +1 -1
- package/dist/wc/esm/{utils-417652d9.js → utils-5a24a17b.js} +10 -11
- package/dist/wc/esm/utils-711517a4.js +2700 -0
- package/dist/wc/esm/z-alert.entry.js +1 -1
- package/dist/wc/esm/z-anchor-navigation.entry.js +49 -0
- package/dist/wc/esm/z-app-header.entry.js +21 -19
- package/dist/wc/esm/z-app-switcher.entry.js +3 -3
- package/dist/wc/esm/z-aria-alert.entry.js +3 -2
- package/dist/wc/esm/z-avatar.entry.js +8 -7
- package/dist/wc/esm/z-body.entry.js +14 -0
- package/dist/wc/esm/z-button-sort.entry.js +4 -5
- package/dist/wc/esm/z-card.entry.js +16 -19
- package/dist/wc/esm/z-carousel.entry.js +127 -5
- package/dist/wc/esm/z-chip.entry.js +6 -6
- package/dist/wc/esm/z-combobox.entry.js +66 -37
- package/dist/wc/esm/z-contextual-menu.entry.js +13 -7
- package/dist/wc/esm/z-cover-hero.entry.js +36 -0
- package/dist/wc/esm/z-date-picker.entry.js +103 -2730
- package/dist/wc/esm/z-divider.entry.js +3 -3
- package/dist/wc/esm/z-dragdrop-area.entry.js +33 -0
- package/dist/wc/esm/z-file-upload.entry.js +51 -38
- package/dist/wc/esm/z-file.entry.js +11 -10
- package/dist/wc/esm/z-ghost-loading.entry.js +2 -2
- package/dist/wc/esm/z-heading.entry.js +14 -0
- package/dist/wc/esm/z-info-reveal.entry.js +61 -0
- package/dist/wc/esm/z-list_3.entry.js +255 -0
- package/dist/wc/esm/z-logo.entry.js +2 -4
- package/dist/wc/esm/z-menu-section.entry.js +2 -2
- package/dist/wc/esm/z-menu.entry.js +10 -13
- package/dist/wc/esm/z-messages-pocket.entry.js +6 -6
- package/dist/wc/esm/z-myz-card-alert.entry.js +7 -7
- package/dist/wc/esm/z-myz-card-dictionary.entry.js +3 -3
- package/dist/wc/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/wc/esm/z-myz-card-footer.entry.js +10 -9
- package/dist/wc/esm/z-myz-card-icon.entry.js +3 -1
- package/dist/wc/esm/z-myz-card-info.entry.js +26 -16
- package/dist/wc/esm/z-myz-card-list.entry.js +3 -2
- package/dist/wc/esm/z-myz-card_4.entry.js +17 -13
- package/dist/wc/esm/z-myz-list-item.entry.js +3 -3
- package/dist/wc/esm/z-myz-list.entry.js +31 -0
- package/dist/wc/esm/z-navigation-tab-link.entry.js +10 -10
- package/dist/wc/esm/z-navigation-tab.entry.js +11 -11
- package/dist/wc/esm/z-navigation-tabs.entry.js +20 -20
- package/dist/wc/esm/z-notification.entry.js +3 -8
- package/dist/wc/esm/z-offcanvas.entry.js +22 -15
- package/dist/wc/esm/z-otp.entry.js +17 -17
- package/dist/wc/esm/z-pagination.entry.js +15 -15
- package/dist/wc/esm/z-panel-elem.entry.js +3 -3
- package/dist/wc/esm/z-pocket-message.entry.js +2 -2
- package/dist/wc/esm/z-pocket_3.entry.js +18 -18
- package/dist/wc/esm/z-popover.entry.js +294 -99
- package/dist/wc/esm/z-range-picker.entry.js +339 -0
- package/dist/wc/esm/z-searchbar.entry.js +231 -0
- package/dist/wc/esm/z-section-title.entry.js +5 -14
- package/dist/wc/esm/z-select.entry.js +321 -0
- package/dist/wc/esm/z-skip-to-content.entry.js +18 -20
- package/dist/wc/esm/z-slideshow.entry.js +28 -11
- package/dist/wc/esm/z-stepper-item.entry.js +1 -1
- package/dist/wc/esm/z-stepper.entry.js +2 -2
- package/dist/wc/esm/z-table-cell.entry.js +10 -10
- package/dist/wc/esm/z-table-empty-box.entry.js +5 -6
- package/dist/wc/esm/z-table-expanded-row.entry.js +1 -1
- package/dist/wc/esm/z-table-header-row.entry.js +3 -3
- package/dist/wc/esm/z-table-header.entry.js +20 -26
- package/dist/wc/esm/z-table-row.entry.js +9 -9
- package/dist/wc/esm/z-table-sticky-footer.entry.js +2 -2
- package/dist/wc/esm/z-table.entry.js +7 -9
- package/dist/wc/esm/z-tag.entry.js +2 -2
- package/dist/wc/esm/z-toast-notification-list.entry.js +17 -17
- package/dist/wc/esm/z-toast-notification.entry.js +37 -40
- package/dist/wc/esm/z-toggle-button.entry.js +7 -9
- package/dist/wc/esm/z-toggle-switch.entry.js +19 -17
- package/dist/wc/esm/z-tooltip.entry.js +9 -252
- package/dist/wc/esm/z-typography.entry.js +26 -0
- package/dist/wc/esm/z-visually-hidden.entry.js +1 -1
- package/dist/wc/types/components/license-activation-form/license-activation-form.d.ts +2 -2
- package/dist/wc/types/components/license-activation-modal/license-activation-modal.d.ts +2 -3
- package/package.json +1 -1
- package/dist/wc/cjs/icons-2aca6c75.js +0 -513
- package/dist/wc/cjs/index-1fda0714.js +0 -60
- package/dist/wc/cjs/index-9c6fd1db.js +0 -315
- package/dist/wc/cjs/z-app-topbar.cjs.entry.js +0 -41
- package/dist/wc/cjs/z-button-deprecated.cjs.entry.js +0 -38
- package/dist/wc/cjs/z-button-filter.cjs.entry.js +0 -49
- package/dist/wc/cjs/z-candybar.cjs.entry.js +0 -19
- package/dist/wc/cjs/z-chip-deprecated.cjs.entry.js +0 -24
- package/dist/wc/cjs/z-cookiebar.cjs.entry.js +0 -42
- package/dist/wc/cjs/z-dragdrop-area_2.cjs.entry.js +0 -48
- package/dist/wc/cjs/z-footer-link_3.cjs.entry.js +0 -49
- package/dist/wc/cjs/z-footer.cjs.entry.js +0 -107
- package/dist/wc/cjs/z-icon-package.cjs.entry.js +0 -23
- package/dist/wc/cjs/z-input-deprecated.cjs.entry.js +0 -271
- package/dist/wc/cjs/z-input-label_2.cjs.entry.js +0 -272
- package/dist/wc/cjs/z-list-group.cjs.entry.js +0 -54
- package/dist/wc/cjs/z-list_2.cjs.entry.js +0 -179
- package/dist/wc/cjs/z-menu-dropdown_2.cjs.entry.js +0 -89
- package/dist/wc/cjs/z-modal-login.cjs.entry.js +0 -82
- package/dist/wc/cjs/z-myz-topbar.cjs.entry.js +0 -194
- package/dist/wc/cjs/z-pagination-bar.cjs.entry.js +0 -128
- package/dist/wc/cjs/z-pagination-page.cjs.entry.js +0 -25
- package/dist/wc/cjs/z-status-tag.cjs.entry.js +0 -29
- package/dist/wc/cjs/z-user-dropdown.cjs.entry.js +0 -95
- package/dist/wc/delta_share/p-0b0179c7.js +0 -1
- package/dist/wc/delta_share/p-103f926c.entry.js +0 -1
- package/dist/wc/delta_share/p-11b446d7.entry.js +0 -1
- package/dist/wc/delta_share/p-13093633.entry.js +0 -1
- package/dist/wc/delta_share/p-20c14e4e.entry.js +0 -1
- package/dist/wc/delta_share/p-243df9e5.entry.js +0 -1
- package/dist/wc/delta_share/p-244accd2.entry.js +0 -1
- package/dist/wc/delta_share/p-261611b1.js +0 -1
- package/dist/wc/delta_share/p-286363e2.js +0 -7
- package/dist/wc/delta_share/p-29729c73.entry.js +0 -1
- package/dist/wc/delta_share/p-29cb5018.entry.js +0 -1
- package/dist/wc/delta_share/p-29d111de.entry.js +0 -1
- package/dist/wc/delta_share/p-2b05751b.entry.js +0 -1
- package/dist/wc/delta_share/p-32975e01.entry.js +0 -1
- package/dist/wc/delta_share/p-32d34db1.entry.js +0 -1
- package/dist/wc/delta_share/p-3341f25e.entry.js +0 -1
- package/dist/wc/delta_share/p-33fb12fc.entry.js +0 -1
- package/dist/wc/delta_share/p-36955fc5.entry.js +0 -1
- package/dist/wc/delta_share/p-39440988.entry.js +0 -1
- package/dist/wc/delta_share/p-3bb7f110.entry.js +0 -1
- package/dist/wc/delta_share/p-3f61bc0d.entry.js +0 -1
- package/dist/wc/delta_share/p-422f29e8.entry.js +0 -1
- package/dist/wc/delta_share/p-44eba966.entry.js +0 -1
- package/dist/wc/delta_share/p-464dc49d.entry.js +0 -1
- package/dist/wc/delta_share/p-5374191c.entry.js +0 -16
- package/dist/wc/delta_share/p-5559856c.entry.js +0 -1
- package/dist/wc/delta_share/p-55ecb7aa.entry.js +0 -1
- package/dist/wc/delta_share/p-5af0e3cd.entry.js +0 -1
- package/dist/wc/delta_share/p-5b320481.entry.js +0 -1
- package/dist/wc/delta_share/p-5d085d01.entry.js +0 -1
- package/dist/wc/delta_share/p-5e9898dd.entry.js +0 -1
- package/dist/wc/delta_share/p-6422731e.entry.js +0 -1
- package/dist/wc/delta_share/p-64ffaf7b.entry.js +0 -1
- package/dist/wc/delta_share/p-6613eeee.entry.js +0 -1
- package/dist/wc/delta_share/p-6a9fb59c.entry.js +0 -1
- package/dist/wc/delta_share/p-6f7064dc.entry.js +0 -1
- package/dist/wc/delta_share/p-767a8d6e.entry.js +0 -1
- package/dist/wc/delta_share/p-76cfb0be.entry.js +0 -1
- package/dist/wc/delta_share/p-7f71c41e.entry.js +0 -1
- package/dist/wc/delta_share/p-8b6617d8.entry.js +0 -1
- package/dist/wc/delta_share/p-8fb4a4ea.entry.js +0 -1
- package/dist/wc/delta_share/p-94b8f342.entry.js +0 -1
- package/dist/wc/delta_share/p-9656b290.entry.js +0 -1
- package/dist/wc/delta_share/p-97e4d621.entry.js +0 -1
- package/dist/wc/delta_share/p-98853ba5.entry.js +0 -1
- package/dist/wc/delta_share/p-9c147330.entry.js +0 -1
- package/dist/wc/delta_share/p-9d35fb61.entry.js +0 -1
- package/dist/wc/delta_share/p-a0663266.entry.js +0 -1
- package/dist/wc/delta_share/p-a823768b.entry.js +0 -1
- package/dist/wc/delta_share/p-b1b05625.entry.js +0 -1
- package/dist/wc/delta_share/p-b1c1f030.entry.js +0 -1
- package/dist/wc/delta_share/p-bb38e604.entry.js +0 -1
- package/dist/wc/delta_share/p-bcb49d1a.entry.js +0 -1
- package/dist/wc/delta_share/p-c2dde3b3.entry.js +0 -1
- package/dist/wc/delta_share/p-c750a121.entry.js +0 -3
- package/dist/wc/delta_share/p-cd42e0b5.entry.js +0 -1
- package/dist/wc/delta_share/p-d282ce22.entry.js +0 -1
- package/dist/wc/delta_share/p-d610565d.entry.js +0 -1
- package/dist/wc/delta_share/p-da0b941f.entry.js +0 -1
- package/dist/wc/delta_share/p-da8144e5.entry.js +0 -1
- package/dist/wc/delta_share/p-dafefe1f.entry.js +0 -1
- package/dist/wc/delta_share/p-dc148f92.entry.js +0 -1
- package/dist/wc/delta_share/p-dd50dd54.entry.js +0 -1
- package/dist/wc/delta_share/p-de117646.entry.js +0 -1
- package/dist/wc/delta_share/p-e37c7b62.entry.js +0 -1
- package/dist/wc/delta_share/p-e9412ef0.entry.js +0 -1
- package/dist/wc/delta_share/p-ea6c7be0.entry.js +0 -1
- package/dist/wc/delta_share/p-ebb9a3f9.entry.js +0 -1
- package/dist/wc/delta_share/p-ee76ecea.entry.js +0 -1
- package/dist/wc/delta_share/p-f2323f2a.entry.js +0 -1
- package/dist/wc/delta_share/p-f441efc3.entry.js +0 -1
- package/dist/wc/delta_share/p-f531a563.entry.js +0 -1
- package/dist/wc/delta_share/p-fa3d96ab.entry.js +0 -1
- package/dist/wc/delta_share/p-fd83d815.entry.js +0 -1
- package/dist/wc/delta_share/p-ff2508eb.entry.js +0 -1
- package/dist/wc/esm/icons-74713b55.js +0 -511
- package/dist/wc/esm/index-654849a7.js +0 -315
- package/dist/wc/esm/index-abb47b30.js +0 -58
- package/dist/wc/esm/z-app-topbar.entry.js +0 -37
- package/dist/wc/esm/z-button-deprecated.entry.js +0 -34
- package/dist/wc/esm/z-button-filter.entry.js +0 -45
- package/dist/wc/esm/z-candybar.entry.js +0 -15
- package/dist/wc/esm/z-chip-deprecated.entry.js +0 -20
- package/dist/wc/esm/z-cookiebar.entry.js +0 -38
- package/dist/wc/esm/z-dragdrop-area_2.entry.js +0 -43
- package/dist/wc/esm/z-footer-link_3.entry.js +0 -43
- package/dist/wc/esm/z-footer.entry.js +0 -103
- package/dist/wc/esm/z-icon-package.entry.js +0 -19
- package/dist/wc/esm/z-input-deprecated.entry.js +0 -267
- package/dist/wc/esm/z-input-label_2.entry.js +0 -267
- package/dist/wc/esm/z-list-group.entry.js +0 -50
- package/dist/wc/esm/z-list_2.entry.js +0 -174
- package/dist/wc/esm/z-menu-dropdown_2.entry.js +0 -84
- package/dist/wc/esm/z-modal-login.entry.js +0 -78
- package/dist/wc/esm/z-myz-topbar.entry.js +0 -190
- package/dist/wc/esm/z-pagination-bar.entry.js +0 -124
- package/dist/wc/esm/z-pagination-page.entry.js +0 -21
- package/dist/wc/esm/z-status-tag.entry.js +0 -25
- package/dist/wc/esm/z-user-dropdown.entry.js +0 -91
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-1112cdb1.js');
|
|
4
4
|
const breakpoints = require('./breakpoints-a55736d0.js');
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -30,16 +30,17 @@ function boolean(value) {
|
|
|
30
30
|
function randomId() {
|
|
31
31
|
return Math.random().toString(36).replace("0.", "");
|
|
32
32
|
}
|
|
33
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
33
34
|
function handleKeyboardSubmit(ev, callback, ...args) {
|
|
34
|
-
if (ev.code === index.
|
|
35
|
-
ev.code === index.KeyboardCodeEnum.SPACE) {
|
|
35
|
+
if (ev.code === index.KeyboardCode.ENTER || ev.code === index.KeyboardCode.SPACE) {
|
|
36
36
|
ev.preventDefault();
|
|
37
37
|
callback(...args);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
function getClickedElement(elem = null) {
|
|
41
|
-
if (!elem)
|
|
41
|
+
if (!elem) {
|
|
42
42
|
elem = document.activeElement;
|
|
43
|
+
}
|
|
43
44
|
if (elem && elem.shadowRoot && elem.shadowRoot.activeElement) {
|
|
44
45
|
elem = elem.shadowRoot.activeElement;
|
|
45
46
|
return getClickedElement(elem);
|
|
@@ -51,10 +52,8 @@ function getElementTree(elem, tree = []) {
|
|
|
51
52
|
if (elem.parentElement) {
|
|
52
53
|
elem = elem.parentElement;
|
|
53
54
|
return getElementTree(elem, tree);
|
|
54
|
-
// @ts-ignore
|
|
55
55
|
}
|
|
56
56
|
else if (elem.parentNode && elem.parentNode.host) {
|
|
57
|
-
// @ts-ignore
|
|
58
57
|
elem = elem.parentNode.host;
|
|
59
58
|
return getElementTree(elem, tree);
|
|
60
59
|
}
|
|
@@ -63,18 +62,18 @@ function getElementTree(elem, tree = []) {
|
|
|
63
62
|
function getDevice() {
|
|
64
63
|
switch (true) {
|
|
65
64
|
case window.innerWidth <= breakpoints.mobileBreakpoint:
|
|
66
|
-
return index.
|
|
65
|
+
return index.Device.MOBILE;
|
|
67
66
|
case window.innerWidth <= breakpoints.tabletBreakpoint:
|
|
68
|
-
return index.
|
|
67
|
+
return index.Device.TABLET;
|
|
69
68
|
default:
|
|
70
|
-
return index.
|
|
69
|
+
return index.Device.DESKTOP;
|
|
71
70
|
}
|
|
72
71
|
}
|
|
73
72
|
function convertJson(data) {
|
|
74
73
|
try {
|
|
75
74
|
return JSON.parse(data);
|
|
76
75
|
}
|
|
77
|
-
catch (
|
|
76
|
+
catch (_a) {
|
|
78
77
|
return false;
|
|
79
78
|
}
|
|
80
79
|
}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
6
|
|
|
7
|
-
const stylesCss = ":host{display:block;font-family:var(--font-family-sans);font-weight:var(--font-rg);
|
|
7
|
+
const stylesCss = ":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-success-inverse);fill:var(--color-success01)}:host>.warning{background:var(--color-warning-inverse);fill:var(--color-warning01)}:host>.error{background:var(--color-error-inverse);fill:var(--color-error01)}";
|
|
8
8
|
|
|
9
9
|
const ZAlert = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-9ca7d5e5.js');
|
|
6
|
+
const index$1 = require('./index-1112cdb1.js');
|
|
7
|
+
|
|
8
|
+
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-surface04);color:var(--color-text01);font-family:var(--font-family-sans);transition:background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out}z-anchor-navigation nav>[current]{border-left-color:var(--color-primary01);color:var(--color-link-primary);font-weight:var(--font-sb)}z-anchor-navigation nav>*>*:is(z-button,button,z-icon){position:absolute;top:50%;right:0;transform:translateY(-50%);transition:opacity 0.3s ease-in-out}z-anchor-navigation nav button{padding:0;border:none;margin:0;background-color:transparent}z-anchor-navigation nav z-icon{--z-icon-width:16px;--z-icon-height:16px;display:flex;padding:calc(var(--space-unit) * 1.5);fill:var(--color-icon02)}@media (min-width: 768px){z-anchor-navigation z-button.toggle{display:none !important}z-anchor-navigation nav{display:flex}z-anchor-navigation nav a{outline:none}@media (hover: hover){z-anchor-navigation nav>*:hover{border-left-color:var(--color-hover-secondary);background-color:var(--color-hover-surface);color:var(--color-hover-link)}}z-anchor-navigation nav>*:is(:focus,:focus-within),z-anchor-navigation nav :is(z-icon,button):focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}z-anchor-navigation[hide-unselected] nav>*:not([current],:hover,:focus,:focus-within){color:transparent}z-anchor-navigation nav>*:not([current],:hover,:focus,:focus-within)>*:is(z-button,button,z-icon):not(:focus:focus-visible){opacity:0;pointer-events:none}@media (hover: none){z-anchor-navigation:not([hide-unselected]) nav>*>*:is(z-button,button,z-icon){opacity:1;pointer-events:all}}}";
|
|
9
|
+
|
|
10
|
+
const ZAnchorNavigation = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
/**
|
|
14
|
+
* If enabled, the text of each anchor will be hidden unless
|
|
15
|
+
* for the current one or the one the user is hovering.
|
|
16
|
+
*/
|
|
17
|
+
this.hideUnselected = false;
|
|
18
|
+
/**
|
|
19
|
+
* Whether the mobile list is collapsed.
|
|
20
|
+
*/
|
|
21
|
+
this.collapsed = false;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Set aria-current attribute to the anchors and `current` to nav children.
|
|
25
|
+
*/
|
|
26
|
+
setAriaCurrent() {
|
|
27
|
+
Array.from(this.nav.children).forEach((item) => {
|
|
28
|
+
const anchor = item instanceof HTMLAnchorElement ? item : item.querySelector("a");
|
|
29
|
+
const isCurrent = window.location.href === anchor.href;
|
|
30
|
+
anchor.setAttribute("aria-current", isCurrent.toString());
|
|
31
|
+
item.toggleAttribute("current", isCurrent);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Toggle collapsed state.
|
|
36
|
+
*/
|
|
37
|
+
toggleCollapsed() {
|
|
38
|
+
this.collapsed = !this.collapsed;
|
|
39
|
+
}
|
|
40
|
+
componentDidLoad() {
|
|
41
|
+
window.addEventListener("hashchange", this.setAriaCurrent.bind(this));
|
|
42
|
+
this.setAriaCurrent();
|
|
43
|
+
}
|
|
44
|
+
disconnectedCallback() {
|
|
45
|
+
window.removeEventListener("hashchange", this.setAriaCurrent);
|
|
46
|
+
}
|
|
47
|
+
render() {
|
|
48
|
+
return (index.h(index.Host, { collapsed: this.collapsed }, index.h("z-button", { class: "toggle", variant: index$1.ButtonVariant.SECONDARY, icon: this.collapsed ? "chevron-up" : "chevron-down", onClick: this.toggleCollapsed.bind(this) }, "salta a"), index.h("nav", { ref: (el) => (this.nav = el) }, index.h("slot", null))));
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
ZAnchorNavigation.style = stylesCss;
|
|
52
|
+
|
|
53
|
+
exports.z_anchor_navigation = ZAnchorNavigation;
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
6
|
|
|
7
|
-
const stylesCss = ":host{--app-header-height:auto;--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-top-offset:48px;--app-header-drawer-trigger-size:calc(var(--space-unit) * 4);--app-header-bg:var(--color-white);--app-header-stucked-bg:var(--color-white);--app-header-text-color:var(--gray800);--app-header-stucked-text-color:var(--gray800);display:block;color:var(--app-header-text-color)}:host,*{box-sizing:border-box}.heading-panel{position:relative;display:flex;
|
|
7
|
+
const stylesCss = ":host{--app-header-content-max-width:100%;--app-header-height:auto;--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-top-offset:48px;--app-header-drawer-trigger-size:calc(var(--space-unit) * 4);--app-header-bg:var(--color-white);--app-header-stucked-bg:var(--color-white);--app-header-text-color:var(--gray800);--app-header-stucked-text-color:var(--gray800);display:block;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);height:var(--app-header-height);flex-direction:column;flex-grow:0;flex-shrink:0;align-items:baseline;justify-content:flex-start;padding:var(--grid-margin);margin:0 auto;background:var(--app-header-bg)}:host(:empty) .heading-panel{padding:0}.heading-title{display:flex;max-width:100%;flex-direction:row;align-items:center}:host(:not([menu-length=\"0\"])) .heading-subtitle{padding-left:calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 1.5))}.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);padding:var(--space-unit) var(--grid-margin);margin:0 auto}.heading-stuck .heading-title,.heading-stuck .heading-title>*,.heading-stuck .heading-title ::slotted([slot=\"stucked-title\"]){display:block;overflow:hidden;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.heading-stuck .heading-title>*,::slotted([slot=\"title\"]),::slotted([slot=\"stucked-title\"]){margin:0;font-family:\"IBM Plex Serif\", serif;font-size:var(--app-header-typography-3-size);font-weight:700;letter-spacing:var(--app-header-typography-3-tracking)}::slotted([slot=\"title\"]){line-height:1}::slotted([slot=\"subtitle\"]){margin:var(--space-unit) 0 0;font-family:var(--font-family-sans);font-size:20px;font-style:italic;font-weight:500;line-height:1.2}.heading-container{position:relative;z-index:1;display:flex;max-width:100%;flex-direction:column;align-items:flex-start;justify-content:flex-start;margin-right:auto}.menu-container{display:none;flex-flow:row wrap;align-items:baseline}.menu-container ::slotted([open]){position:relative;z-index:3}.menu-container ::slotted(*:not(:last-of-type)){margin-right:calc(var(--space-unit) * 4.5)}.drawer-trigger{padding:0;border:0;margin:0 calc(var(--space-unit) * 1.5) 0 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}.drawer-container{position:fixed;z-index:100;top:var(--app-header-top-offset);left:0;width:100%;height:100%;pointer-events:none}.drawer-container .drawer-overlay{position:absolute;z-index:1;top:0;left:0;display:block;width:100%;height:100%;background:var(--gray900);opacity:0;pointer-events:none;transition:opacity 400ms ease-out}.drawer-panel{position:absolute;z-index:2;top:0;left:0;display:flex;width:375px;max-width:100%;height:100%;flex-direction:column;align-items:flex-start;padding:calc(var(--space-unit) * 2) var(--space-unit);background:var(--color-white);color:var(--gray800);pointer-events:none;transform:translate3d(-100%, 0, 0);transition:transform 400ms ease-out}.drawer-content{display:flex;overflow:auto;width:100%;flex:1 auto;flex-direction:column;padding:calc(var(--space-unit) * 0.5) var(--space-unit)}.drawer-content::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.drawer-content::-webkit-scrollbar-track{background-color:transparent}.drawer-content::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.drawer-content::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.drawer-content ::slotted(z-menu){width:100%}.drawer-content ::slotted(z-menu:not(:last-of-type)){margin-bottom:calc(var(--space-unit) * 2.5)}.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:0 0 calc(var(--space-unit) * 2.5) var(--space-unit);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)}:host([drawer-open]) .drawer-container .drawer-overlay{opacity:0.7;pointer-events:all}:host([drawer-open]) .drawer-container .drawer-panel{pointer-events:all;transform:none}.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:not([open])){--color-surface05: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(:not([flow=\"offcanvas\"])) .heading-subtitle{padding-left:0}:host(:not([flow=\"offcanvas\"])) .menu-container{display:flex}:host(:not([flow=\"offcanvas\"])) .heading-container .drawer-trigger{display:none}:host(:not([flow=\"offcanvas\"],[menu-length=\"0\"])) .heading-container:not(:last-child){margin-bottom:calc(var(--space-unit) * 3)}::slotted([slot=\"title\"]){font-size:var(--app-header-typography-6-size);letter-spacing:var(--app-header-typography-6-tracking)}::slotted([slot=\"subtitle\"]){margin-top:calc(var(--space-unit) * 1.5)}}@media (min-width: 1152px){:host(:not([flow=\"stack\"])) .heading-panel{flex-flow:row wrap}::slotted([slot=\"title\"]){margin-right:var(--grid-gutter);font-size:var(--app-header-typography-7-size);letter-spacing:var(--app-header-typography-7-tracking)}:host(:not([flow=\"offcanvas\"],[menu-length=\"0\"])) .heading-container:not(:last-child){margin-bottom:calc(var(--space-unit) * 2)}.menu-container{margin-top:var(--space-unit)}}@media (min-width: 1366px){::slotted([slot=\"title\"]){font-size:var(--app-header-typography-9-size);letter-spacing:var(--app-header-typography-9-tracking)}:host(:not([flow=\"offcanvas\"],[menu-length=\"0\"])) .heading-container:not(:last-child){margin-bottom:0}}@keyframes slide-stuck-heading-in{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}";
|
|
8
8
|
|
|
9
|
-
const SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !==
|
|
9
|
+
const SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== "undefined";
|
|
10
10
|
const ZAppHeader = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
@@ -31,25 +31,27 @@ const ZAppHeader = class {
|
|
|
31
31
|
*
|
|
32
32
|
* **Optional**
|
|
33
33
|
*/
|
|
34
|
-
this.flow =
|
|
34
|
+
this.flow = "auto";
|
|
35
35
|
/**
|
|
36
36
|
* The opening state of the drawer.
|
|
37
37
|
*/
|
|
38
38
|
this.drawerOpen = false;
|
|
39
39
|
/**
|
|
40
|
-
* The
|
|
40
|
+
* The stuck state of the bar.
|
|
41
41
|
*/
|
|
42
|
-
this.
|
|
43
|
-
this.observer = SUPPORT_INTERSECTION_OBSERVER &&
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
this._stuck = false;
|
|
43
|
+
this.observer = SUPPORT_INTERSECTION_OBSERVER &&
|
|
44
|
+
new IntersectionObserver(([entry]) => {
|
|
45
|
+
this._stuck = !entry.isIntersecting;
|
|
46
|
+
}, {
|
|
47
|
+
threshold: 0.5,
|
|
48
|
+
});
|
|
48
49
|
this.openDrawer = this.openDrawer.bind(this);
|
|
49
50
|
this.closeDrawer = this.closeDrawer.bind(this);
|
|
51
|
+
this.collectMenuElements.bind(this);
|
|
50
52
|
}
|
|
51
53
|
emitStickingEvent() {
|
|
52
|
-
this.sticking.emit(this.
|
|
54
|
+
this.sticking.emit(this._stuck);
|
|
53
55
|
}
|
|
54
56
|
componentDidLoad() {
|
|
55
57
|
this.collectMenuElements();
|
|
@@ -57,8 +59,8 @@ const ZAppHeader = class {
|
|
|
57
59
|
}
|
|
58
60
|
get title() {
|
|
59
61
|
const titleElement = this.hostElement.querySelector('[slot="title"]');
|
|
60
|
-
if (
|
|
61
|
-
return
|
|
62
|
+
if (titleElement === null) {
|
|
63
|
+
return "";
|
|
62
64
|
}
|
|
63
65
|
return titleElement.textContent.trim();
|
|
64
66
|
}
|
|
@@ -70,7 +72,7 @@ const ZAppHeader = class {
|
|
|
70
72
|
return parent;
|
|
71
73
|
}
|
|
72
74
|
collectMenuElements() {
|
|
73
|
-
const menuElements = this.menuElements = this.hostElement.querySelectorAll('[slot="menu"]');
|
|
75
|
+
const menuElements = (this.menuElements = this.hostElement.querySelectorAll('[slot="menu"]'));
|
|
74
76
|
this.menuLength = menuElements.length;
|
|
75
77
|
this.setMenuFloatingMode();
|
|
76
78
|
}
|
|
@@ -88,12 +90,12 @@ const ZAppHeader = class {
|
|
|
88
90
|
}
|
|
89
91
|
}
|
|
90
92
|
disableStuckMode() {
|
|
91
|
-
this.
|
|
93
|
+
this._stuck = false;
|
|
92
94
|
if (this.observer) {
|
|
93
95
|
this.observer.unobserve(this.container);
|
|
94
96
|
}
|
|
95
97
|
}
|
|
96
|
-
|
|
98
|
+
onStuck() {
|
|
97
99
|
const scrollParent = this.scrollParent;
|
|
98
100
|
if (!scrollParent) {
|
|
99
101
|
return;
|
|
@@ -101,7 +103,7 @@ const ZAppHeader = class {
|
|
|
101
103
|
this.emitStickingEvent();
|
|
102
104
|
}
|
|
103
105
|
setMenuFloatingMode() {
|
|
104
|
-
if (
|
|
106
|
+
if (this.menuElements.length === 0) {
|
|
105
107
|
return;
|
|
106
108
|
}
|
|
107
109
|
const elements = this.menuElements;
|
|
@@ -111,7 +113,7 @@ const ZAppHeader = class {
|
|
|
111
113
|
}
|
|
112
114
|
}
|
|
113
115
|
render() {
|
|
114
|
-
return index.h(index.Host, { "menu-length": this.menuLength }, index.h("div", { class: "heading-panel", ref: (el) => this.container = el }, index.h("div", { class: "hero-container" }, index.h("slot", { name: "hero" }, this.hero && index.h("img", { alt: "", src: this.hero }))), index.h("div", { class: "heading-container" }, index.h("div", { class: "heading-title" }, this.menuLength > 0 && index.h("button", { class: "drawer-trigger", "aria-label": "Apri menu", onClick: this.openDrawer }, index.h("z-icon", { name: "burger-menu" })), index.h("slot", { name: "title" })), index.h("div", { class: "heading-subtitle" }, index.h("slot", { name: "subtitle" }))), index.h("div", { class: "menu-container" }, !this.drawerOpen && this.flow !==
|
|
116
|
+
return (index.h(index.Host, { "menu-length": this.menuLength }, index.h("div", { class: "heading-panel", ref: (el) => (this.container = el) }, index.h("div", { class: "hero-container" }, index.h("slot", { name: "hero" }, this.hero && (index.h("img", { alt: "", src: this.hero })))), index.h("div", { class: "heading-container" }, index.h("div", { class: "heading-title" }, this.menuLength > 0 && (index.h("button", { class: "drawer-trigger", "aria-label": "Apri menu", onClick: this.openDrawer }, index.h("z-icon", { name: "burger-menu" }))), index.h("slot", { name: "title" })), index.h("div", { class: "heading-subtitle" }, index.h("slot", { name: "subtitle" }))), index.h("div", { class: "menu-container" }, !this.drawerOpen && this.flow !== "offcanvas" && (index.h("slot", { name: "menu", onSlotchange: () => this.collectMenuElements() })))), index.h("div", { class: "drawer-container" }, index.h("div", { class: "drawer-overlay", onClick: this.closeDrawer }), index.h("div", { class: "drawer-panel" }, index.h("button", { class: "drawer-close", "aria-label": "Chiudi menu", onClick: this.closeDrawer }, index.h("z-icon", { name: "close" })), index.h("div", { class: "drawer-content" }, this.drawerOpen && (index.h("slot", { name: "menu", onSlotchange: () => this.collectMenuElements() }))))), this._stuck && (index.h("div", { class: "heading-stuck" }, index.h("div", { class: "heading-stuck-content" }, this.menuLength > 0 && (index.h("button", { class: "drawer-trigger", "aria-label": "Apri menu", onClick: this.openDrawer }, index.h("z-icon", { name: "burger-menu" }))), index.h("div", { class: "heading-title" }, index.h("slot", { name: "stucked-title" }, this.title)))))));
|
|
115
117
|
}
|
|
116
118
|
openDrawer() {
|
|
117
119
|
this.drawerOpen = true;
|
|
@@ -122,7 +124,7 @@ const ZAppHeader = class {
|
|
|
122
124
|
get hostElement() { return index.getElement(this); }
|
|
123
125
|
static get watchers() { return {
|
|
124
126
|
"stuck": ["onStuckMode"],
|
|
125
|
-
"
|
|
127
|
+
"_stuck": ["onStuck"],
|
|
126
128
|
"drawerOpen": ["setMenuFloatingMode"]
|
|
127
129
|
}; }
|
|
128
130
|
};
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-1112cdb1.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}button{display:flex;
|
|
8
|
+
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}button{display:flex;align-content:center;justify-content:center;padding:0;border:none;background-color:transparent}button>z-icon{color:var(--bg-white);fill:currentcolor}button>z-icon.light{color:var(--bg-grey-900);fill:currentcolor}";
|
|
9
9
|
|
|
10
10
|
const ZAppSwitcher = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.appButtonClick = index.createEvent(this, "appButtonClick", 7);
|
|
14
14
|
/** theme variant, default 'dark' */
|
|
15
|
-
this.theme = index$1.ThemeVariant.
|
|
15
|
+
this.theme = index$1.ThemeVariant.DARK;
|
|
16
16
|
this.isopen = false;
|
|
17
17
|
this.emitAppButtonClick = this.emitAppButtonClick.bind(this);
|
|
18
18
|
}
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-1112cdb1.js');
|
|
7
7
|
|
|
8
8
|
const ZAriaAlert = class {
|
|
9
9
|
constructor(hostRef) {
|
|
10
10
|
index.registerInstance(this, hostRef);
|
|
11
|
-
|
|
11
|
+
/** Aria live mode */
|
|
12
|
+
this.mode = index$1.ZAriaAlertMode.POLITE;
|
|
12
13
|
}
|
|
13
14
|
render() {
|
|
14
15
|
return (index.h(index.Host, { "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, index.h("slot", null)));
|
|
@@ -3,31 +3,32 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-1112cdb1.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = ":host{
|
|
8
|
+
const stylesCss = ":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--bg-grey-700);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}";
|
|
9
9
|
|
|
10
10
|
const ZAvatar = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
|
+
var _a, _b;
|
|
13
14
|
/** [optional] Avatar size */
|
|
14
|
-
this.size = index$1.AvatarSize.
|
|
15
|
+
this.size = index$1.AvatarSize.MEDIUM;
|
|
15
16
|
/** [optional] Avatar text color */
|
|
16
17
|
this.textColor = "text-white";
|
|
17
18
|
/** [optional] Avatar background color */
|
|
18
19
|
this.backgroundColor = "bg-grey-700";
|
|
19
|
-
if (
|
|
20
|
+
if (((_a = this.text) === null || _a === void 0 ? void 0 : _a.length) === 0 && ((_b = this.image) === null || _b === void 0 ? void 0 : _b.length) === 0) {
|
|
20
21
|
console.warn("z-avatar must contain at least one prop between text and image");
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
getTextSize() {
|
|
24
|
-
if (this.size === index$1.AvatarSize.
|
|
25
|
+
if (this.size === index$1.AvatarSize.SMALL) {
|
|
25
26
|
return "5";
|
|
26
27
|
}
|
|
27
|
-
else if (this.size === index$1.AvatarSize.
|
|
28
|
+
else if (this.size === index$1.AvatarSize.MEDIUM) {
|
|
28
29
|
return "4";
|
|
29
30
|
}
|
|
30
|
-
else if (this.size === index$1.AvatarSize.
|
|
31
|
+
else if (this.size === index$1.AvatarSize.LARGE) {
|
|
31
32
|
return "2";
|
|
32
33
|
}
|
|
33
34
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-9ca7d5e5.js');
|
|
6
|
+
|
|
7
|
+
const ZBody = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
/** Font weight variant */
|
|
11
|
+
this.variant = "regular";
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (index.h("z-typography", { tabIndex: 0, component: this.component || "span", level: `b${this.level}`, variant: this.variant }, index.h("slot", null)));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
exports.z_body = ZBody;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
6
|
const breakpoints = require('./breakpoints-a55736d0.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = ":host,button{max-width:100%}button{height:36px;border:var(--border-size-medium) solid var(--myz-blue);border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);
|
|
8
|
+
const stylesCss = ":host,button{max-width:100%}button{height:36px;padding:0 var(--space-unit);border:var(--border-size-medium) solid var(--myz-blue);background-color:var(--bg-white);border-radius:var(--border-radius);color:var(--myz-blue);cursor:pointer;fill:var(--myz-blue);outline:none}button::-moz-focus-inner{border:0}button:hover{border-color:var(--myz-blue-dark);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);box-shadow:0 0 2px 2px var(--accent-dark);color:var(--myz-blue);fill:var(--myz-blue)}button:active{border-color:var(--myz-blue-light);box-shadow:0 2px 4px 0 rgb(0 0 0 / 40%);color:var(--myz-blue-light);fill:var(--myz-blue-light)}button.selected{border-color:var(--myz-blue-dark);background-color:var(--myz-blue-dark);color:var(--bg-white);fill:var(--bg-white)}button>label{display:flex;align-items:center;cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}button>label>span.ellipsis{overflow:hidden;padding:0;margin:0;text-overflow:ellipsis;white-space:nowrap}button>label>span.counter{margin-right:calc(var(--space-unit) * 2);margin-left:calc(var(--space-unit) / 2)}button>label>span.sort{margin-right:var(--half-x1);white-space:nowrap}button>span{margin-right:calc(var(--space-unit) * 0.5);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-rg)}button>z-icon{padding-top:calc(var(--space-unit) * 0.5)}@media only screen and (min-width: 768px){:host,button{max-width:325px}}@media only screen and (min-width: 1025px){:host,button{max-width:490px}}";
|
|
9
9
|
|
|
10
10
|
const ZButtonSort = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -34,13 +34,12 @@ const ZButtonSort = class {
|
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
componentDidLoad() {
|
|
37
|
-
if (this.elementHasEllipsis() && window.innerWidth > breakpoints.tabletBreakpoint)
|
|
37
|
+
if (this.elementHasEllipsis() && window.innerWidth > breakpoints.tabletBreakpoint) {
|
|
38
38
|
this.allowTooltip = true;
|
|
39
|
+
}
|
|
39
40
|
}
|
|
40
41
|
setButtonTitle() {
|
|
41
|
-
return this.allowTooltip
|
|
42
|
-
? `${this.sortasc ? this.label : this.desclabel}`
|
|
43
|
-
: "";
|
|
42
|
+
return this.allowTooltip ? `${this.sortasc ? this.label : this.desclabel}` : "";
|
|
44
43
|
}
|
|
45
44
|
elementHasEllipsis() {
|
|
46
45
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-1112cdb1.js');
|
|
7
7
|
|
|
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;position:relative;display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}*,::slotted(*){box-sizing:border-box}:host(:not([variant
|
|
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;position:relative;display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}*,::slotted(*){box-sizing:border-box}:host(:not([variant=\"overlay\"])) .cover-container{position:relative;width:100%}.cover-container{padding-bottom:calc(100% / var(--aspect-ratio))}::slotted([slot=\"cover\"]),.color-cover{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.cover-container>z-icon{--z-icon-width:calc(var(--space-unit) * 11);--z-icon-height:var(--z-icon-width);position:absolute;top:calc(50% - calc(var(--z-icon-height) / 2));left:calc(50% - calc(var(--z-icon-width) / 2));fill:var(--color-primary01)}.color-cover{background-color:var(--z-card--color-cover-background)}.content{display:flex;flex-direction:column;padding-top:var(--space-unit)}.color-cover .cover-content{display:flex;height:100%;flex-direction:column;justify-content:flex-end;padding:var(--space-unit)}::slotted([slot=\"metadata\"]),::slotted([slot=\"title\"]),::slotted([slot=\"text\"]){display: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=\"text\"]),::slotted([slot=\"actions\"]){margin:0}::slotted([slot=\"metadata\"]:not(:last-child)){margin:0 0 calc(var(--space-unit) * 0.25);-webkit-line-clamp:1;text-transform:uppercase}::slotted([slot=\"title\"]){margin:0;font-weight:var(--font-sb);-webkit-line-clamp:2}::slotted([slot=\"text\"]){-webkit-line-clamp:3}.actions{display:flex;flex-direction:row;align-items:center}::slotted([slot=\"action\"]:not(:last-child)){margin-right:calc(var(--space-unit) * 1.5)}:host([clickable]){cursor:pointer}:host([clickable]:focus:focus-visible){outline:none}:host(:not([variant])[clickable]:focus:focus-visible){padding:calc(var(--space-unit) * 0.5);box-shadow:var(--shadow-focus-primary)}:host([variant=\"text\"]){border:var(--z-card--text-border);background-color:var(--z-card--text-background);border-radius:var(--z-card--text-border-radius)}:host([showshadow])>.content,:host([variant=\"border\"])>.content,:host([variant=\"shadow\"])>.content{height:100%;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2)}:host([variant=\"text\"])>.content{padding:calc(var(--space-unit) * 2) var(--space-unit)}:host([variant=\"border\"]) .actions,:host([variant=\"shadow\"]) .actions{margin-top:auto}:host([variant=\"border\"]){border:var(--border-size-small) solid var(--z-card--border-color)}:host([variant=\"border\"][clickable]:hover)>.content{background:var(--color-background)}:host([variant=\"border\"][clickable]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant=\"border\"][clickable]:active){border-color:transparent}:host([variant=\"shadow\"]),:host([showshadow]){box-shadow:var(--shadow-2)}:host([variant=\"shadow\"][clickable]:hover),:host([clickable][showshadow]:hover){box-shadow:var(--shadow-4)}:host([variant=\"shadow\"][clickable]:focus:focus-visible),:host([clickable][showshadow]:focus:focus-visible){box-shadow:var(--shadow-4)}:host([variant=\"shadow\"][clickable]:active),:host([clickable][showshadow]:active){box-shadow:none}:host([variant=\"overlay\"]) .content{position:absolute;top:0;right:0;bottom:0;left:0;justify-content:flex-end;padding:var(--space-unit);background-image:linear-gradient(to top, rgb(0 0 0 / 100%), rgb(0 0 0 / 0%));color:var(--color-text-inverse);fill:var(--color-text-inverse)}";
|
|
9
9
|
|
|
10
10
|
const ZCard = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -18,7 +18,7 @@ const ZCard = class {
|
|
|
18
18
|
}
|
|
19
19
|
onClick(ev) {
|
|
20
20
|
// Do nothing for clicks on actions.
|
|
21
|
-
if (ev.target.getAttribute(
|
|
21
|
+
if (ev.target.getAttribute("slot") === "action") {
|
|
22
22
|
return;
|
|
23
23
|
}
|
|
24
24
|
if (!this.clickable) {
|
|
@@ -29,7 +29,7 @@ const ZCard = class {
|
|
|
29
29
|
this.cardClicked.emit();
|
|
30
30
|
}
|
|
31
31
|
componentWillLoad() {
|
|
32
|
-
this.hasCoverImage =
|
|
32
|
+
this.hasCoverImage = this.host.querySelector('[slot="cover"]') !== null;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Template for a card without image cover.
|
|
@@ -38,29 +38,26 @@ const ZCard = class {
|
|
|
38
38
|
renderColorCoverCard() {
|
|
39
39
|
return [
|
|
40
40
|
index.h("div", { class: "cover-container" }, index.h("div", { class: "color-cover" }, index.h("div", { class: "cover-content" }, index.h("slot", { name: "metadata" }), index.h("slot", { name: "title" })))),
|
|
41
|
-
index.h("div", { class: "content" }, index.h("slot", { name: "text" }), index.h("div", { class: "actions" }, index.h("slot", { name: "action" })))
|
|
41
|
+
index.h("div", { class: "content" }, index.h("slot", { name: "text" }), index.h("div", { class: "actions" }, index.h("slot", { name: "action" }))),
|
|
42
42
|
];
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
* Template for the content div.
|
|
46
|
+
*/
|
|
47
47
|
renderContentDiv() {
|
|
48
48
|
return (index.h("div", { class: "content" }, index.h("slot", { name: "metadata" }), index.h("slot", { name: "title" }), index.h("slot", { name: "text" }), index.h("div", { class: "actions" }, index.h("slot", { name: "action" }))));
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
if (this.variant === index$1.
|
|
52
|
-
return this.renderContentDiv();
|
|
51
|
+
if (this.variant === index$1.CardVariant.TEXT) {
|
|
52
|
+
return index.h(index.Host, null, this.renderContentDiv());
|
|
53
53
|
}
|
|
54
|
-
if (this.variant === index$1.
|
|
55
|
-
return [
|
|
56
|
-
index.h("
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
], !this.hasCoverImage && index.h("div", { class: "color-cover" })),
|
|
60
|
-
this.renderContentDiv()
|
|
61
|
-
];
|
|
54
|
+
if (this.variant === index$1.CardVariant.OVERLAY || this.hasCoverImage) {
|
|
55
|
+
return (index.h(index.Host, null, index.h("div", { class: "cover-container" }, this.hasCoverImage && [
|
|
56
|
+
index.h("slot", { name: "cover" }),
|
|
57
|
+
this.variant !== index$1.CardVariant.OVERLAY && this.coverIcon && index.h("z-icon", { name: this.coverIcon }),
|
|
58
|
+
], !this.hasCoverImage && index.h("div", { class: "color-cover" })), this.renderContentDiv()));
|
|
62
59
|
}
|
|
63
|
-
return this.renderColorCoverCard();
|
|
60
|
+
return index.h(index.Host, null, this.renderColorCoverCard());
|
|
64
61
|
}
|
|
65
62
|
get host() { return index.getElement(this); }
|
|
66
63
|
};
|